This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [rfc, v3] Fix ELF synthetic symbol size bug (affects PPC64)
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: binutils at sourceware dot org, gdb-patches at sourceware dot org
- Date: Fri, 16 Nov 2007 00:49:26 +0100 (CET)
- Subject: Re: [rfc, v3] Fix ELF synthetic symbol size bug (affects PPC64)
> 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