]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bfd/
authorRoland McGrath <roland@gnu.org>
Mon, 17 Dec 2012 19:14:11 +0000 (19:14 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 17 Dec 2012 19:14:11 +0000 (19:14 +0000)
* elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are
not ARM ELF.

bfd/ChangeLog
bfd/elf32-arm.c

index 235a7538bd3b89fd0f0b7895f5a141d4e2dbbf97..d6281e55730f059e11b28ff6ebf4083b22f46e6b 100644 (file)
@@ -1,3 +1,9 @@
+2012-12-17  Roland McGrath  <mcgrathr@google.com>
+           Alan Modra  <amodra@gmail.com>
+
+       * elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are
+       not ARM ELF.
+
 2012-12-09  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR binutils/14933
index 01ca11b154713cbaaa0db90c4e8d730787ce3060..2acf84cf2d6932b12e891768851ca0215b58bcc2 100644 (file)
@@ -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.  */