OSDN Git Service

I've found the bug! A BSS link-once section was missing in elf2flt.ld.
authorDavid McCullough <davidm@snapgear.com>
Sun, 17 Aug 2003 23:41:40 +0000 (23:41 +0000)
committerDavid McCullough <davidm@snapgear.com>
Sun, 17 Aug 2003 23:41:40 +0000 (23:41 +0000)
The old version of GCC probably didn't ever generate this kind of
section because it was placing everything in the data link-once section.

Patch from Bernardo Innocenti <bernie@develer.com>

elf2flt.ld

index fd02352..23e9cb1 100644 (file)
@@ -112,6 +112,7 @@ R_RODAT             *(.rodata.*)
                *(.bss)
                *(.bss.*)
                *(.bss*)
+               *(.gnu.linkonce.b*)
                *(COMMON)
                . = ALIGN(0x10) ;
                _ebss = . ;