BFD: /home/cagney/tmp/a.out(.rela.plt): relocation 0 has invalid symbol index 1

Andrew Cagney cagney@gnu.org
Mon Jan 24 22:24:00 GMT 2005


Ian Lance Taylor wrote:
> Andrew Cagney <cagney@gnu.org> writes:
> 
> 
>>On 32-bit PPC GNU/Linux when running:
>>
>>$ nm --synthetic ...
>>BFD: /home/cagney/tmp/a.out(.rela.plt): relocation 0 has invalid
>>symbol index 1
>>10010900 ? *ABS*@plt
>>10010918 B bar
>>.
>>.
>>.
>>
>>I'm seeing the above (and similar on i386, ....).  Is this valid?
> 
> 
> Probably not.  However, you will get better information, and a more
> reliable answer, if you provide output from objdump -t and readelf -s.

Both attached (but they don't issue the warning :-).

Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: objdump-t
URL: <https://sourceware.org/pipermail/binutils/attachments/20050124/a12cef64/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: readelf-s
URL: <https://sourceware.org/pipermail/binutils/attachments/20050124/a12cef64/attachment-0001.ksh>


More information about the Binutils mailing list