mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
PR 7093
* elf32-arm.c (bfd_elf32_arm_init_maps): Only process ARM ELF object files.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2008-12-23 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR 7093
|
||||||
|
* elf32-arm.c (bfd_elf32_arm_init_maps): Only process ARM ELF
|
||||||
|
object files.
|
||||||
|
|
||||||
2008-12-23 Tristan Gingold <gingold@adacore.com>
|
2008-12-23 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* mach-o.c (bfd_mach_o_make_bfd_section): Use the standard ELF name
|
* mach-o.c (bfd_mach_o_make_bfd_section): Use the standard ELF name
|
||||||
|
@ -4608,6 +4608,10 @@ bfd_elf32_arm_init_maps (bfd *abfd)
|
|||||||
Elf_Internal_Shdr *hdr;
|
Elf_Internal_Shdr *hdr;
|
||||||
unsigned int i, localsyms;
|
unsigned int i, localsyms;
|
||||||
|
|
||||||
|
/* PR 7093: Make sure that we are dealing with an arm elf binary. */
|
||||||
|
if (! is_arm_elf (abfd))
|
||||||
|
return;
|
||||||
|
|
||||||
if ((abfd->flags & DYNAMIC) != 0)
|
if ((abfd->flags & DYNAMIC) != 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user