binutils problem

Andreas Schwab schwab@suse.de
Sun Aug 25 14:29:00 GMT 2002


Richard Zidlicky <rz@linux-m68k.org> writes:

|> Hi,
|> 
|> The assembler problem is now definitively gone, however it appears 
|> something else is still wrong on m68k. I keep getting problems like 
|> this on various occassions with new binutils:
|> 
|> # objdump
|> objdump: error while loading shared libraries: unexpected PLT reloc type 0x00pïÿô@À

It's a bug in glibc that it prints garbage after the number, it should
print just 0x00.  This is R_68K_NONE, which should not happen.  In this
case the error is detected in
sysdeps/m68k/dl-machine.h:elf_machine_lazy_rel, where only R_68K_JMP_SLOT
relocations are expected.  This function is called for reloc entries
covered by DT_JMPREL, ie. .rela.plt.

Note that this has nothing to do with any particular symbol, it is just an
incident that optind was the last symbol to be searched for.  The error
happens when all symbols for non-lazy relocations are resolved and the
lazy relocations are executed.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Binutils mailing list