2006-02-08 Joel Sherrill <joel@OARcorp.com>

* shared/startup/linkcmds: Add sections required by newer gcc versions.
This commit is contained in:
Joel Sherrill
2006-02-08 12:27:45 +00:00
parent 6ffb898bac
commit c177d27283
2 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2006-02-08 Joel Sherrill <joel@OARcorp.com>
* shared/startup/linkcmds: Add sections required by newer gcc versions.
2006-01-08 Joel Sherrill <joel@OARcorp.com> 2006-01-08 Joel Sherrill <joel@OARcorp.com>
* acinclude.m4: Add gen5200 to list of BSPs. * acinclude.m4: Add gen5200 to list of BSPs.

View File

@@ -58,7 +58,7 @@ SECTIONS
.text : .text :
{ {
*(.text) *(.text*)
/* /*
* Special FreeBSD sysctl sections. * Special FreeBSD sysctl sections.
@@ -198,14 +198,14 @@ _SDA2_BASE_ = __SDATA2_START__ + 0x8000;
can access them all, and initialized data all before uninitialized, so can access them all, and initialized data all before uninitialized, so
we can shorten the on-disk segment size. */ we can shorten the on-disk segment size. */
_SDA_BASE_ = __SDATA_START__ + 0x8000; _SDA_BASE_ = __SDATA_START__ + 0x8000;
.sdata : { *(.sdata) *(.gnu.linkonce.s.*) } >CODE .sdata : { *(.sdata*) *(.gnu.linkonce.s.*) } >CODE
_edata = .; _edata = .;
PROVIDE (edata = .); PROVIDE (edata = .);
.sbss : .sbss :
{ {
PROVIDE (__sbss_start = .); PROVIDE (__sbss_start = .);
*(.dynsbss) *(.dynsbss)
*(.sbss .sbss.* .gnu.linkonce.sb.*) *(.sbss* .gnu.linkonce.sb.*)
*(.scommon) *(.scommon)
/* avoid empty sdata/sbss area -- __eabi would not set up r13 /* avoid empty sdata/sbss area -- __eabi would not set up r13
* which may be important if run-time loading is used * which may be important if run-time loading is used
@@ -218,7 +218,7 @@ _SDA_BASE_ = __SDATA_START__ + 0x8000;
{ {
PROVIDE (__bss_start = .); PROVIDE (__bss_start = .);
*(.dynbss) *(.dynbss)
*(.bss .bss.* .gnu.linkonce.b.*) *(.bss* .gnu.linkonce.b.*)
*(COMMON) *(COMMON)
. = ALIGN(16); . = ALIGN(16);
} > CODE } > CODE