Merge pull request #2879 from Ingenic-community/X1000_lds
X1000: x1000_ram.lds: 修复调试时崩溃的问题/Fix crash when debugging.
This commit is contained in:
commit
9ce43c5d58
|
@ -1,23 +1,12 @@
|
||||||
/*
|
/*
|
||||||
* File : x1000_ram.lds
|
* Copyright (c) 2006-2019, RT-Thread Development Team
|
||||||
* COPYRIGHT (C) 2015, RT-Thread Development Team
|
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
* 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.
|
|
||||||
*
|
*
|
||||||
* Change Logs:
|
* 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")
|
OUTPUT_FORMAT("elf32-tradlittlemips", "elf32-tradlittlemips", "elf32-tradlittlemips")
|
||||||
|
@ -43,6 +32,11 @@ SECTIONS
|
||||||
|
|
||||||
.text :
|
.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 */
|
||||||
*(.text.*) /* remaining code */
|
*(.text.*) /* remaining code */
|
||||||
*(.rodata) /* read-only data (constants) */
|
*(.rodata) /* read-only data (constants) */
|
||||||
|
@ -87,6 +81,12 @@ SECTIONS
|
||||||
} > DRAM
|
} > DRAM
|
||||||
.eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } > DRAM
|
.eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } > DRAM
|
||||||
|
|
||||||
|
. = ALIGN(4);
|
||||||
|
.gnu_extab :
|
||||||
|
{
|
||||||
|
*(.gnu_extab.*)
|
||||||
|
} > DRAM
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
.ctors :
|
.ctors :
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue