From 872dd3fe1219b1c82d271e68d485641cad5a3167 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Fri, 25 Jun 1993 18:51:11 +0000 Subject: [PATCH] * elf_symfile_read (bfd_elf32_find_section): Revert back to calling bfd_elf_find_section to track bfd changes. --- gdb/ChangeLog | 5 +++++ gdb/elfread.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a550dd761c8..fd7e8b9d9df 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Fri Jun 25 11:16:31 1993 Fred Fish (fnf@cygnus.com) + + * elf_symfile_read (bfd_elf32_find_section): Revert back to + calling bfd_elf_find_section to track bfd changes. + Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define. diff --git a/gdb/elfread.c b/gdb/elfread.c index 4e1afe9bd8f..4a562e09ce7 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -442,7 +442,7 @@ elf_symfile_read (objfile, section_offsets, mainline) table. */ struct elf32_internal_shdr *elf_sect; - elf_sect = bfd_elf32_find_section (abfd, ".stabstr"); + elf_sect = bfd_elf_find_section (abfd, ".stabstr"); if (elf_sect) elfstab_build_psymtabs (objfile, section_offsets, -- 2.30.2