diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-09-29 20:36:24 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-09-29 20:36:24 +0000 |
commit | 64e21e0fd7957a9a60915a5ed7e68aca4a60ab36 (patch) | |
tree | e6b90f55ba471088431df506f0f27ca6b7bc427d /bfd/libelf.h | |
parent | 9afa408e4f0a1c38e5a13cb6ca8e41de46254097 (diff) | |
download | gdb-64e21e0fd7957a9a60915a5ed7e68aca4a60ab36.zip gdb-64e21e0fd7957a9a60915a5ed7e68aca4a60ab36.tar.gz gdb-64e21e0fd7957a9a60915a5ed7e68aca4a60ab36.tar.bz2 |
* elf.c (bfd_elf_print_symbol): Moved here from elf_print_symbol in elfcode.h.
(case bfd_print_symbol_all): Print symbol's size field, except for common
symbols; print their alignment.
* elfcode.h (elf_print_symbol): Deleted.
* libelf.h (bfd_elf_print_symbol): Declare.
(bfd_elf{32,64}_print_symbol): Replace declarations with macros.
Diffstat (limited to 'bfd/libelf.h')
-rw-r--r-- | bfd/libelf.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bfd/libelf.h b/bfd/libelf.h index eeac23b..6edc9a3 100644 --- a/bfd/libelf.h +++ b/bfd/libelf.h @@ -512,6 +512,11 @@ struct elf_obj_tdata extern char * elf_string_from_elf_section PARAMS ((bfd *, unsigned, unsigned)); extern char * elf_get_str_section PARAMS ((bfd *, unsigned)); +extern void bfd_elf_print_symbol PARAMS ((bfd *, PTR, asymbol *, + bfd_print_symbol_type)); + +#define bfd_elf32_print_symbol bfd_elf_print_symbol +#define bfd_elf64_print_symbol bfd_elf_print_symbol #define bfd_elf32_mkobject bfd_elf_mkobject #define bfd_elf64_mkobject bfd_elf_mkobject #define elf_mkobject bfd_elf_mkobject @@ -560,8 +565,6 @@ extern long bfd_elf32_get_reloc_upper_bound PARAMS ((bfd *, sec_ptr)); extern long bfd_elf32_canonicalize_reloc PARAMS ((bfd *, sec_ptr, arelent **, asymbol **)); extern asymbol *bfd_elf32_make_empty_symbol PARAMS ((bfd *)); -extern void bfd_elf32_print_symbol PARAMS ((bfd *, PTR, asymbol *, - bfd_print_symbol_type)); extern void bfd_elf32_get_symbol_info PARAMS ((bfd *, asymbol *, symbol_info *)); extern alent *bfd_elf32_get_lineno PARAMS ((bfd *, asymbol *)); @@ -625,8 +628,6 @@ extern long bfd_elf64_get_reloc_upper_bound PARAMS ((bfd *, sec_ptr)); extern long bfd_elf64_canonicalize_reloc PARAMS ((bfd *, sec_ptr, arelent **, asymbol **)); extern asymbol *bfd_elf64_make_empty_symbol PARAMS ((bfd *)); -extern void bfd_elf64_print_symbol PARAMS ((bfd *, PTR, asymbol *, - bfd_print_symbol_type)); extern void bfd_elf64_get_symbol_info PARAMS ((bfd *, asymbol *, symbol_info *)); extern alent *bfd_elf64_get_lineno PARAMS ((bfd *, asymbol *)); |