[rfc, v3] Fix ELF synthetic symbol size bug (affects PPC64)
Ulrich Weigand
uweigand@de.ibm.com
Thu Nov 15 23:49:00 GMT 2007
> bfd/ChangeLog:
>
> * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Set udata.p of
> synthetic symbol to point to the ELF symbol it was derived from.
>
> gdb/ChangeLog:
>
> * elfread.c (ST_REGULAR, ST_DYNAMIC, ST_SYNTHETIC): New defines.
> (elf_symtab_read): Rename DYNAMIC argument to TYPE. Do not access
> ELF-private symbol data when processing synthetic symbols. Use
> udata.p to get at the size of ppc64 synthetic 'dot' symbols.
> (elf_symfile_read): Pass TYPE argument to elf_symtab_read.
I've checked this in now.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
More information about the Gdb-patches
mailing list