diff options
author | Roland McGrath <roland@gnu.org> | 2012-12-17 19:13:07 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2012-12-17 19:13:07 +0000 |
commit | adbcc655b44c10ec3f23d6387058bc70a125f127 (patch) | |
tree | 0f801297316cdd568fe6363425ef9603681cc4dd /bfd/elf32-arm.c | |
parent | 68dad382d98423432d9a0348e7a639c6d60eee51 (diff) | |
download | gdb-adbcc655b44c10ec3f23d6387058bc70a125f127.zip gdb-adbcc655b44c10ec3f23d6387058bc70a125f127.tar.gz gdb-adbcc655b44c10ec3f23d6387058bc70a125f127.tar.bz2 |
bfd/
* elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are
not ARM ELF.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r-- | bfd/elf32-arm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index fd7d26a..e2f8a96 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. */ |