http://sourceware.org/bugzilla/show_bug.cgi?id=13897

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2012-06-03 04:08:16 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    amo...@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

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to