diff options
| author | Bernard Xiong <[email protected]> | 2019-07-21 17:51:36 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-07-21 17:51:36 +0800 |
| commit | 9ce43c5d58cb1882b2c8fd95c69ec047cbecd1bc (patch) | |
| tree | c34c0ceed1d37afea2e33b7831d8f6161f26ef1d | |
| parent | 423544d1c3e94b453d417ce65ea1594240e23998 (diff) | |
| parent | b6e8269cd612c77d5f054e02dee86290c362e865 (diff) | |
Merge pull request #2879 from Ingenic-community/X1000_lds
X1000: x1000_ram.lds: 修复调试时崩溃的问题/Fix crash when debugging.
| -rw-r--r-- | bsp/x1000/x1000_ram.lds | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/bsp/x1000/x1000_ram.lds b/bsp/x1000/x1000_ram.lds index 8cab15bb57..45d5616fb0 100644 --- a/bsp/x1000/x1000_ram.lds +++ b/bsp/x1000/x1000_ram.lds @@ -1,23 +1,12 @@ /* - * File : x1000_ram.lds - * COPYRIGHT (C) 2015, RT-Thread Development Team + * Copyright (c) 2006-2019, RT-Thread Development Team * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * SPDX-License-Identifier: Apache-2.0 * * Change Logs: - * 2015-12-12 bernard first version + * Date Author Notes + * 2015-12-12 bernard first version + * 2019-04-04 Jean-Luc add support for large number of sections. */ OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradlittlemips", "elf32-tradlittlemips") @@ -43,6 +32,11 @@ SECTIONS .text : { + *(.text.unlikely .text.*_unlikely .text.unlikely.*) + *(.text.exit .text.exit.*) + *(.text.startup .text.startup.*) + *(.text.hot .text.hot.*) + *(.text .stub .text.* .gnu.linkonce.t.*) *(.text) /* remaining code */ *(.text.*) /* remaining code */ *(.rodata) /* read-only data (constants) */ @@ -88,6 +82,12 @@ SECTIONS .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } > DRAM . = ALIGN(4); + .gnu_extab : + { + *(.gnu_extab.*) + } > DRAM + + . = ALIGN(4); .ctors : { PROVIDE(__ctors_start__ = .); |
