This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/bfd ChangeLog elf-bfd.h elf.c elf64-ppc.c
- From: amodra at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 3 Jun 2012 04:08:07 -0000
- Subject: src/bfd ChangeLog elf-bfd.h elf.c elf64-ppc.c
CVSROOT: /cvs/src
Module name: src
Changes by: amodra@sourceware.org 2012-06-03 04:08:07
Modified files:
bfd : ChangeLog elf-bfd.h elf.c elf64-ppc.c
Log message:
PR binutils/13897
* elf.c (elf_find_function): Cache last function sym info.
(_bfd_elf_maybe_function_sym): Return function size, pass in
section of interest.
* elf-bfd.h (struct elf_backend_data <maybe_function_sym>): Likewise.
(_bfd_elf_maybe_function_sym): Likewise.
* elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise.
(opd_entry_value): Add in_code_sec param. Revert caching code.
Return -1 if in_code_sec and function found in wrong section.
Update all calls.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.5718&r2=1.5719
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf-bfd.h.diff?cvsroot=src&r1=1.340&r2=1.341
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=src&r1=1.556&r2=1.557
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf64-ppc.c.diff?cvsroot=src&r1=1.386&r2=1.387