aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2017-09-19 15:20:41 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2017-09-19 15:20:41 +0100
commitb7f54058d9cd409ada192bfefd4c99c98caaef2e (patch)
tree42109796baca316ea61e7569cda5e7b388551f0b /ld
parentaa70c9f1950b25b48f8fd6770f5d38a8252c24a4 (diff)
downloadgdb-b7f54058d9cd409ada192bfefd4c99c98caaef2e.zip
gdb-b7f54058d9cd409ada192bfefd4c99c98caaef2e.tar.gz
gdb-b7f54058d9cd409ada192bfefd4c99c98caaef2e.tar.bz2
MIPS/LD: Add OpenBSD/mips64 support
Complement commit 26eebcf553d7 ("Update OpenBSD/mips64 support"), <https://sourceware.org/ml/binutils/2005-04/msg00382.html>, which added OpenBSD/mips64 support to GAS, and also add it to LD, avoiding a build failure at the configuration stage, like: *** ld does not support target mips64-unknown-openbsd *** see ld/configure.tgt for supported targets make[1]: *** [configure-ld] Error 1 As per OS support only include n64 MIPS emulations, and use the traditional ones, matching the choice already made with the addition of GAS support. ld/ * configure.tgt <mips64el-*-openbsd*, mips64-*-openbsd*>: New targets.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/configure.tgt6
2 files changed, 11 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3eb13f0..3bfa92c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2017-09-19 Maciej W. Rozycki <macro@imgtec.com>
+
+ * configure.tgt <mips64el-*-openbsd*, mips64-*-openbsd*>: New
+ targets.
+
2017-09-15 Alan Modra <amodra@gmail.com>
PR 22118
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 47c719c..3193844 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -504,6 +504,12 @@ mips*el-*-netbsd*) targ_emul=elf32ltsmip
mips*-*-netbsd*) targ_emul=elf32btsmip
targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip"
;;
+mips64el-*-openbsd*) targ_emul=elf64ltsmip
+ targ_extra_emuls=elf64btsmip
+ ;;
+mips64-*-openbsd*) targ_emul=elf64btsmip
+ targ_extra_emuls=elf64ltsmip
+ ;;
mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;;
mips*vr4300-*-elf*) targ_emul=elf32b4300 ;;
mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;;