* elf-bfd.h (_bfd_elf_section_from_bfd_section): Declare.

* elfcode.h (_bfd_elf_section_from_bfd_section): Don't declare.
This commit is contained in:
Ian Lance Taylor 1996-01-12 20:48:14 +00:00
parent 927d05b5a3
commit 98bb57ad8e
3 changed files with 7 additions and 4 deletions

View File

@ -5,6 +5,9 @@ Fri Jan 12 15:27:59 1996 Michael Meissner <meissner@tiktok.cygnus.com>
Fri Jan 12 13:59:16 1996 Ian Lance Taylor <ian@cygnus.com>
* elf-bfd.h (_bfd_elf_section_from_bfd_section): Declare.
* elfcode.h (_bfd_elf_section_from_bfd_section): Don't declare.
* elf.c (_bfd_elf_print_private_bfd_data): Dump contents of
dynamic section, if there is one.
* elf-bfd.h (struct elf_size_info): Add swap_dyn_in field.

View File

@ -566,8 +566,10 @@ struct elf_obj_tdata
#define elf_bad_symtab(bfd) (elf_tdata(bfd) -> bad_symtab)
#define elf_flags_init(bfd) (elf_tdata(bfd) -> flags_init)
extern char * bfd_elf_string_from_elf_section PARAMS ((bfd *, unsigned, unsigned));
extern char * bfd_elf_get_str_section PARAMS ((bfd *, unsigned));
extern int _bfd_elf_section_from_bfd_section PARAMS ((bfd *, asection *));
extern char *bfd_elf_string_from_elf_section
PARAMS ((bfd *, unsigned, unsigned));
extern char *bfd_elf_get_str_section PARAMS ((bfd *, unsigned));
extern boolean _bfd_elf_print_private_bfd_data PARAMS ((bfd *, PTR));
extern void bfd_elf_print_symbol PARAMS ((bfd *, PTR, asymbol *,

View File

@ -146,8 +146,6 @@ extern struct bfd_strtab_hash *_bfd_elf_stringtab_init PARAMS ((void));
extern boolean bfd_section_from_phdr PARAMS ((bfd *, Elf_Internal_Phdr *,
int));
int _bfd_elf_section_from_bfd_section PARAMS ((bfd *, struct sec *));
static long elf_slurp_symbol_table PARAMS ((bfd *, asymbol **, boolean));
static boolean elf_slurp_reloc_table PARAMS ((bfd *, asection *, asymbol **));