ld is broken on ia64

Alan Modra amodra@bigpond.net.au
Fri Nov 9 03:52:00 GMT 2001
On Sun, Nov 18, 2001 at 10:59:38PM -0800, H . J . Lu wrote:
> 
> Are you sure under no other conditions r_symndx will be 0?

The only case I know of is a relocation that has no symbol, which is an
unusual situation for a relocatable object file.  It can happen, eg.
R_PPC64_TOC, but not for any of the R_IA64_SEGREL* relocs.

> Won't that
> make relocations against undefined symbols ok?

No.  If you have a symbol, it won't have an index of zero.



More information about the Binutils mailing list