diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-01-12 20:48:14 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-01-12 20:48:14 +0000 |
commit | 98bb57ad8ef6ccee13f05fbba4c70d944c5ad79d (patch) | |
tree | 2a851dd3ac6326f85b6b5987da4002461d9c6671 | |
parent | 927d05b5a3e822c37f3b0eea3f3f5e18a7417d29 (diff) | |
download | gdb-98bb57ad8ef6ccee13f05fbba4c70d944c5ad79d.zip gdb-98bb57ad8ef6ccee13f05fbba4c70d944c5ad79d.tar.gz gdb-98bb57ad8ef6ccee13f05fbba4c70d944c5ad79d.tar.bz2 |
* elf-bfd.h (_bfd_elf_section_from_bfd_section): Declare.
* elfcode.h (_bfd_elf_section_from_bfd_section): Don't declare.
-rw-r--r-- | bfd/ChangeLog | 3 | ||||
-rw-r--r-- | bfd/elf-bfd.h | 6 | ||||
-rw-r--r-- | bfd/elfcode.h | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3637a4e..a0d55eb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index ee4d46c..0cd42b5 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 48e6d0b..378d0af 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 **)); |