alpha-openbsd build failure
authorAlan Modra <amodra@gmail.com>
Fri, 24 Jun 2016 01:24:50 +0000 (10:54 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 24 Jun 2016 13:35:48 +0000 (23:05 +0930)
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.

gas/ChangeLog
gas/configure.tgt

index 782dc8e3a6095512de4c92337efb2c9ff04e7fa6..221f925130d6029fce2027d28ef62c81b2f90bab 100644 (file)
@@ -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.
index eda38a295610fc7d84b8e53197f2079f7543ae1d..cda0e26e02cf45e8d0143d1951ba64ef7213bcf3 100644 (file)
@@ -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 ;;