forked from Imagelibrary/rtems
2011-12-12 Gedare Bloom <gedare@rtems.org>
PR bsps/1988 * shared/startup/linkcmds: Relocate .init and .fini sections closer to .text.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2011-12-12 Gedare Bloom <gedare@rtems.org>
|
||||||
|
|
||||||
|
PR bsps/1988
|
||||||
|
* shared/startup/linkcmds: Relocate .init and .fini sections closer to
|
||||||
|
.text.
|
||||||
|
|
||||||
2011-11-06 Gedare Bloom <gedare@rtems.org>
|
2011-11-06 Gedare Bloom <gedare@rtems.org>
|
||||||
|
|
||||||
* shared/console/conscfg.c: Whitespace and style fixes.
|
* shared/console/conscfg.c: Whitespace and style fixes.
|
||||||
|
|||||||
@@ -94,6 +94,9 @@ SECTIONS
|
|||||||
*(BOOTSTRAP);
|
*(BOOTSTRAP);
|
||||||
*(.text*)
|
*(.text*)
|
||||||
|
|
||||||
|
KEEP (*(.init))
|
||||||
|
KEEP (*(.fini))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Special FreeBSD sysctl sections.
|
* Special FreeBSD sysctl sections.
|
||||||
*/
|
*/
|
||||||
@@ -142,17 +145,12 @@ SECTIONS
|
|||||||
*(.gnu.linkonce.r*)
|
*(.gnu.linkonce.r*)
|
||||||
_erodata = ALIGN( 0x10 ) ;
|
_erodata = ALIGN( 0x10 ) ;
|
||||||
|
|
||||||
etext = ALIGN(2);
|
|
||||||
_etext = . ;
|
|
||||||
|
|
||||||
*(.init)
|
|
||||||
PROVIDE (_fini = .);
|
|
||||||
KEEP (*(.fini))
|
|
||||||
*(.lit)
|
*(.lit)
|
||||||
*(.shdata)
|
*(.shdata)
|
||||||
|
|
||||||
. = ALIGN (16);
|
. = ALIGN (16);
|
||||||
_endtext = . ;
|
_endtext = . ;
|
||||||
|
_etext = . ;
|
||||||
} > ram
|
} > ram
|
||||||
|
|
||||||
.data : AT (ADDR (.text) + SIZEOF (.text))
|
.data : AT (ADDR (.text) + SIZEOF (.text))
|
||||||
|
|||||||
Reference in New Issue
Block a user