diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-05-25 20:39:21 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-05-25 20:39:21 +0000 |
commit | 875607cb0d5ff94e2b5593b8f3fdadd16cd90da1 (patch) | |
tree | 35c7a13ea4bce921acc80166ff74788e85f7ced8 /binutils | |
parent | cb9914277d30059ea2346ab8d4603d864e0c25a7 (diff) | |
download | gdb-875607cb0d5ff94e2b5593b8f3fdadd16cd90da1.zip gdb-875607cb0d5ff94e2b5593b8f3fdadd16cd90da1.tar.gz gdb-875607cb0d5ff94e2b5593b8f3fdadd16cd90da1.tar.bz2 |
elf32 updates
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 2 | ||||
-rw-r--r-- | binutils/objdump.c | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0c78ef8..3e95d31 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,6 +1,8 @@ Tue May 25 00:26:47 1993 Ken Raeburn (raeburn@cygnus.com) * objdump.c (slurp_symtab): Print warning for bad symbol table. + (bfd_elf32_find_section, Elf32_Internal_Shdr): Updated + declarations and uses. * Makefile.in (DISTSTUFF): Don't build binutils.mm. diff --git a/binutils/objdump.c b/binutils/objdump.c index fb63668..80d259d 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -39,7 +39,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define BYTES_IN_WORD 32 #include "aout/aout64.h" #include "elf/internal.h" -extern Elf_Internal_Shdr *bfd_elf_find_section(); +extern Elf32_Internal_Shdr *bfd_elf32_find_section(); #endif /* ELF_STAB_DISPLAY */ extern char *xmalloc (); @@ -587,20 +587,20 @@ dump_elf_stabs_1 (abfd, name1, name2) char *name1; /* Section name of .stab */ char *name2; /* Section name of its string section */ { - Elf_Internal_Shdr *stab_hdr, *stabstr_hdr; + Elf32_Internal_Shdr *stab_hdr, *stabstr_hdr; char *strtab; struct internal_nlist *stabs, *stabs_end; int i; unsigned file_string_table_offset, next_file_string_table_offset; - stab_hdr = bfd_elf_find_section (abfd, name1); + stab_hdr = bfd_elf32_find_section (abfd, name1); if (0 == stab_hdr) { printf ("Contents of %s section: none.\n\n", name1); return; } - stabstr_hdr = bfd_elf_find_section (abfd, name2); + stabstr_hdr = bfd_elf32_find_section (abfd, name2); if (0 == stabstr_hdr) { fprintf (stderr, "%s: %s has no %s section.\n", program_name, |