[PATCH] Indicate dependency on personality routines for ARM EHABI
Paul Brook
paul@codesourcery.com
Wed Feb 9 17:24:00 GMT 2005
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
More information about the Binutils
mailing list