This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] alpha-openbsd build failure
- From: Alan Modra <amodra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 24 Jun 2016 13:37:06 -0000
- Subject: [binutils-gdb] alpha-openbsd build failure
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5c0ff16372013f4865230b90344eff39c14fdc43
commit 5c0ff16372013f4865230b90344eff39c14fdc43
Author: Alan Modra <amodra@gmail.com>
Date: Fri Jun 24 10:54:50 2016 +0930
alpha-openbsd build failure
This target doesn't build, due to a missing gas/config/te-obsd.h file.
It's been that way since the commit switching to elf, in 2002.
https://lists.gnu.org/archive/html/bug-gnu-utils/2002-07/msg00128.html
* configure.tgt (alpha-*-openbsd*): Use em=nbsd.
Diff:
---
gas/ChangeLog | 4 ++++
gas/configure.tgt | 3 +--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 782dc8e..221f925 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-24 Alan Modra <amodra@gmail.com>
+
+ * configure.tgt (alpha-*-openbsd*): Use em=nbsd.
+
2016-06-23 Maciej W. Rozycki <macro@imgtec.com>
* config/tc-mips.c (b_reloc_p): New function.
diff --git a/gas/configure.tgt b/gas/configure.tgt
index eda38a2..cda0e26 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -127,8 +127,7 @@ case ${generic_target} in
alpha-*-osf*) fmt=ecoff ;;
alpha-*-linux*ecoff*) fmt=ecoff ;;
alpha-*-linux-*) fmt=elf em=linux ;;
- alpha-*-netbsd*) fmt=elf em=nbsd ;;
- alpha-*-openbsd*) fmt=elf em=obsd ;;
+ alpha-*-netbsd* | alpha-*-openbsd*) fmt=elf em=nbsd ;;
arc-*-elf*) fmt=elf ;;
arc*-*-linux*) fmt=elf bfd_gas=yes ;;