bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug of ld 2.20.1


From: 徐超
Subject: bug of ld 2.20.1
Date: Thu, 2 Sep 2010 13:25:11 +0800

         Recently, I update the toolchain(binutils 2.20.1) I meet one issue on LD.

         When I use LD to link the object with  options “�Coformat binary “ and “--start-group   �Cend-group” simultaneously,

LD fail to find the symbol.

 

When I remove “―oformat”, it can build the ELF file. I try to write some simple case to reproduce it, but in the simple

Case, it is OK.

         (host i686-pc-linux-gnu  target i686-cm-linux)

 

         The log file is as follow:

Linking: elf/rom.bin

../..//lib/elf/libcore.a(bios_keybd.o): In function `biosKeybdShiftStatus':

bios_keybd.c:(.text+0x67): undefined reference to `kbdmgrGetShiftFlagStatusByte'

../..//lib/elf/libcore.a(bios_keybd.o): In function `biosKeybdExtendedShiftStatus':

bios_keybd.c:(.text+0x8b): undefined reference to `kbdmgrGetShiftFlagStatusByte'

         I use readelf and objdump to check the symbol, the symbol can be found in the libcore.a.

         At the same time the LD (2.17.50, 2.18.50) both can work under this situation.

         So it should be bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]