summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2016-03-29 22:10:58 +0000
committerkettenis <kettenis@openbsd.org>2016-03-29 22:10:58 +0000
commit408960cd6934741a568f2ce5b26a02bf39f9b12d (patch)
tree8f73f23101fbe69b39d6dfea86b076f4d9258b4b
parentSome sparc64 pci frame buffers incorrectly have the `depth' property (diff)
downloadwireguard-openbsd-408960cd6934741a568f2ce5b26a02bf39f9b12d.tar.xz
wireguard-openbsd-408960cd6934741a568f2ce5b26a02bf39f9b12d.zip
Fix fallout from the switch to binutils 2.17: the binaries created by 2.17
aren't recognized by the in-tree gdb because it's built with the bfd code from 2.15. From miod@.
-rw-r--r--gnu/usr.bin/binutils/bfd/elf32-sh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/bfd/elf32-sh.c b/gnu/usr.bin/binutils/bfd/elf32-sh.c
index d46ceb61ddf..cea5e10b61e 100644
--- a/gnu/usr.bin/binutils/bfd/elf32-sh.c
+++ b/gnu/usr.bin/binutils/bfd/elf32-sh.c
@@ -6849,6 +6849,7 @@ sh_elf_set_mach_from_flags (bfd *abfd)
break;
case EF_SH_UNKNOWN:
case EF_SH4:
+ case 23: /* EF_SH2A_SH4 */
bfd_default_set_arch_mach (abfd, bfd_arch_sh, bfd_mach_sh4);
break;
case EF_SH4_NOFPU: