diff options
author | Alan Modra <amodra@gmail.com> | 2013-02-08 07:04:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-02-08 07:04:50 +0000 |
commit | 619a703ea3e1ef4463c168e96b17802b6aa480a0 (patch) | |
tree | 0d8ebb8fe17e5311dec2cddefad0ba4f0d83fe78 /bfd/elf-bfd.h | |
parent | 02acbe2250b647ae693a88fa30056f80aee514d9 (diff) | |
download | gdb-619a703ea3e1ef4463c168e96b17802b6aa480a0.zip gdb-619a703ea3e1ef4463c168e96b17802b6aa480a0.tar.gz gdb-619a703ea3e1ef4463c168e96b17802b6aa480a0.tar.bz2 |
PR binutils/15106
* elf-bfd.h (struct elf_obj_tdata): Add elf_find_function_cache.
* elf.c (elf_find_function): Revert last change. Use new
tdata field rather than static vars for cache.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 9b38317..e387625 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1598,6 +1598,9 @@ struct elf_obj_tdata /* A place to stash dwarf2 info for this bfd. */ void *dwarf2_find_line_info; + /* Stash away info for yet another find line/function variant. */ + void *elf_find_function_cache; + /* An array of stub sections indexed by symbol number, used by the MIPS ELF linker. FIXME: We should figure out some way to only include this field for a MIPS ELF target. */ |