From: Roland McGrath Date: Mon, 17 Dec 2012 19:14:11 +0000 (+0000) Subject: bfd/ X-Git-Tag: binutils-2_23_2~134 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=049563a63f9d553f636b7f44584e7fc2560387a8;p=thirdparty%2Fbinutils-gdb.git bfd/ * elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are not ARM ELF. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 235a7538bd3..d6281e55730 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2012-12-17 Roland McGrath + Alan Modra + + * elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are + not ARM ELF. + 2012-12-09 H.J. Lu PR binutils/14933 diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 01ca11b1547..2acf84cf2d6 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -4987,6 +4987,9 @@ elf32_arm_size_stubs (bfd *output_bfd, asection *section; Elf_Internal_Sym *local_syms = NULL; + if (!is_arm_elf (input_bfd)) + continue; + num_a8_relocs = 0; /* We'll need the symbol table in a second. */