From 98bb57ad8ef6ccee13f05fbba4c70d944c5ad79d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 12 Jan 1996 20:48:14 +0000 Subject: [PATCH] * elf-bfd.h (_bfd_elf_section_from_bfd_section): Declare. * elfcode.h (_bfd_elf_section_from_bfd_section): Don't declare. --- bfd/ChangeLog | 3 +++ bfd/elf-bfd.h | 6 ++++-- bfd/elfcode.h | 2 -- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3637a4e86c..a0d55eb024 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -5,6 +5,9 @@ Fri Jan 12 15:27:59 1996 Michael Meissner Fri Jan 12 13:59:16 1996 Ian Lance Taylor + * 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. diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index ee4d46cb3f..0cd42b5a4f 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -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 *, diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 48e6d0b980..378d0afd3a 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -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 **));