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: [PATCH] Indicate dependency on personality routines for ARM EHABI


On Wednesday 09 February 2005 16:32, Ian Lance Taylor wrote:
> More generally, I think it's kind of dubious to use a zero reloc to
> mean anything at all.  And why do you need a relocation entry?  Why is
> it not sufficient to enter the symbol in the symbol table as an
> undefined symbol? 

Isn't a linker allowed to discard symbols if nothing uses them?

The symbols referenced by the relocation are only ever called via a weak 
reference from the unwinding library. The use of the routine is implicitly 
encoded in the unwinding tables.

> Is the use of a zero reloc mandated by the ARM ABI? 

Yes. The ABI defines and requires the use of a zero reloc (R_ARM_NONE).

Paul


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