* elf-bfd.h (_bfd_elf_section_from_bfd_section): Declare.
authorIan Lance Taylor <ian@airs.com>
Fri, 12 Jan 1996 20:48:14 +0000 (20:48 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 12 Jan 1996 20:48:14 +0000 (20:48 +0000)
* elfcode.h (_bfd_elf_section_from_bfd_section): Don't declare.

bfd/ChangeLog
bfd/elf-bfd.h
bfd/elfcode.h

index 3637a4e..a0d55eb 100644 (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.
index ee4d46c..0cd42b5 100644 (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)
 \f
-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 *,
index 48e6d0b..378d0af 100644 (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 **));