[rfc, v2] Fix ELF synthetic symbol size bug (affects PPC64)
Daniel Jacobowitz
drow@false.org
Tue Nov 6 21:44:00 GMT 2007
On Tue, Nov 06, 2007 at 10:33:04PM +0100, Ulrich Weigand wrote:
> Alan suggested a way to pass that information: have the udata.p
> member of the synthetic symbol point back to the full ELF symbol
> structure of the original symbol used to derive the synthetic
> symbol from. The patch below implements this.
>
> Tested (GDB) on powerpc64-linux, fixes another 12 FAILs on top
> of the ones already fixed by the original patch.
>
> Is the bfd part OK?
The elf.c part of this does not make sense to me. Why should we have
the same size as that symbol? The @plt entry is only a couple of
instructions. To figure out its size you need to ask the backend
plt_sym_val routine.
--
Daniel Jacobowitz
CodeSourcery
More information about the Binutils
mailing list