This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Mon, Jan 24, 2005 at 04:51:12PM -0500, Andrew Cagney wrote:
> $ nm --synthetic ...
> BFD: /home/cagney/tmp/a.out(.rela.plt): relocation 0 has invalid symbol 
> index 1
> 10010900 ? *ABS*@plt
> 10010918 B bar

It's a bug.  _bfd_elf_get_synthetic_symtab is trying to slurp dynamic
relocs before the dynamic symbol table has been read.

"nm -D --synthetic" works.  It looks like "nm --synthetic" is supposed
to work too.  Oh well, fixing.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]