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:
Gedare Bloom
2011-12-12 18:52:18 +00:00
parent b1345b2494
commit e17789bf3d
2 changed files with 10 additions and 6 deletions

View File

@@ -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>
* shared/console/conscfg.c: Whitespace and style fixes.

View File

@@ -94,6 +94,9 @@ SECTIONS
*(BOOTSTRAP);
*(.text*)
KEEP (*(.init))
KEEP (*(.fini))
/*
* Special FreeBSD sysctl sections.
*/
@@ -142,17 +145,12 @@ SECTIONS
*(.gnu.linkonce.r*)
_erodata = ALIGN( 0x10 ) ;
etext = ALIGN(2);
_etext = . ;
*(.init)
PROVIDE (_fini = .);
KEEP (*(.fini))
*(.lit)
*(.shdata)
. = ALIGN (16);
_endtext = . ;
_etext = . ;
} > ram
.data : AT (ADDR (.text) + SIZEOF (.text))