]> git.wh0rd.org Git - elf2flt.git/commitdiff
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 fd0235258ae66ddb6480ff177a10402346e8aaec..23e9cb186c7724c01abafbb6e3403552e930503e 100644 (file)
@@ -112,6 +112,7 @@ R_RODAT             *(.rodata.*)
                *(.bss)
                *(.bss.*)
                *(.bss*)
+               *(.gnu.linkonce.b*)
                *(COMMON)
                . = ALIGN(0x10) ;
                _ebss = . ;