* elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are
	not ARM ELF.
This commit is contained in:
Roland McGrath 2012-12-17 19:13:07 +00:00
parent 68dad382d9
commit adbcc655b4
2 changed files with 9 additions and 0 deletions

View 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-17 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Add copyright notice.

View 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. */