summaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2013-02-08 07:04:48 +0000
committerAlan Modra <amodra@bigpond.net.au>2013-02-08 07:04:48 +0000
commit18eeaa2fc4d5505675e6b2bdf8570954f5b65763 (patch)
treefad34bd36c19642e5b0e13142fdb8907b72b0404 /bfd/elf-bfd.h
parenta9fdcae883de81048b970b54371cf286779c2f34 (diff)
downloadbinutils-redhat-18eeaa2fc4d5505675e6b2bdf8570954f5b65763.tar.gz
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 9b38317582..e3876257d9 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. */