mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-20 04:43:48 +08:00
[BSP] Update lpc176x GNU link script
This commit is contained in:
parent
ab05daf4ef
commit
82ef447e44
@ -43,6 +43,21 @@ SECTIONS
|
|||||||
__rt_init_end = .;
|
__rt_init_end = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
|
||||||
|
PROVIDE(__ctors_start__ = .);
|
||||||
|
/* old GCC version uses .ctors */
|
||||||
|
KEEP(*(SORT(.ctors.*)))
|
||||||
|
KEEP(*(.ctors))
|
||||||
|
/* new GCC version uses .init_array */
|
||||||
|
KEEP (*(SORT(.init_array.*)))
|
||||||
|
KEEP (*(.init_array))
|
||||||
|
PROVIDE(__ctors_end__ = .);
|
||||||
|
|
||||||
|
/* section information for modules */
|
||||||
|
. = ALIGN(4);
|
||||||
|
__rtmsymtab_start = .;
|
||||||
|
KEEP(*(RTMSymTab))
|
||||||
|
__rtmsymtab_end = .;
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
_etext = .;
|
_etext = .;
|
||||||
} > CODE = 0
|
} > CODE = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user