aboutsummaryrefslogtreecommitdiff
path: root/bfd/libelf.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-07-13 14:46:06 +0000
committerIan Lance Taylor <ian@airs.com>1995-07-13 14:46:06 +0000
commitc3246d9b00ee6626c79eced991d3b669aa4846ab (patch)
treec848743cf5324d8649724550d7b3d6449f5bedaf /bfd/libelf.h
parentac7530a8958a2d871bf5967b58f7e3283883d567 (diff)
downloadgdb-c3246d9b00ee6626c79eced991d3b669aa4846ab.zip
gdb-c3246d9b00ee6626c79eced991d3b669aa4846ab.tar.gz
gdb-c3246d9b00ee6626c79eced991d3b669aa4846ab.tar.bz2
* targets.c (bfd_target): Add fields _read_minisymbols and
_minisymbol_to_symbol. (BFD_JUMP_TABLE_SYMBOLS): Add _read_minisymbols and _minisymbol_to_symbol. (bfd_read_minisymbols): Define. (bfd_minisymbol_to_symbol): Define. * syms.c (_bfd_generic_read_minisymbols): Define. (_bfd_generic_minisymbol_to_symbol): Define. * libbfd-in.h (_bfd_nosymbols_read_minisymbols): Define. (_bfd_nosymbols_minisymbol_to_symbol): Define. (_bfd_generic_read_minisymbols): Declare. (_bfd_generic_minisymbol_to_symbol): Declare. * bfd-in2.h: Rebuild. * libbfd.h: Rebuild. * aoutx.h (MINISYM_THRESHOLD): Define. (NAME(aout,read_minisymbols)): New function. (NAME(aout,minisymbol_to_symbol)): New function. * libaout.h (NAME(aout,read_minisymbols)): Declare. (NAME(aout,minisymbol_to_symbol)): Declare. * aout-target.h (MY_read_minisymbols): Define. (MY_minisymbol_to_symbol): Define. * All targets: Define read_minisymbols and minisymbol_to_symbol. PR 5332.
Diffstat (limited to 'bfd/libelf.h')
-rw-r--r--bfd/libelf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/libelf.h b/bfd/libelf.h
index d0aa970..c0d2f7e 100644
--- a/bfd/libelf.h
+++ b/bfd/libelf.h
@@ -601,6 +601,8 @@ extern boolean _bfd_elf_find_nearest_line PARAMS ((bfd *, asection *,
bfd_vma, CONST char **,
CONST char **,
unsigned int *));
+#define _bfd_elf_read_minisymbols _bfd_generic_read_minisymbols
+#define _bfd_elf_minisymbol_to_symbol _bfd_generic_minisymbol_to_symbol
extern int _bfd_elf_sizeof_headers PARAMS ((bfd *, boolean));
extern boolean _bfd_elf_new_section_hook PARAMS ((bfd *, asection *));