aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAndrew Bennett <andrew.bennett@imgtec.com>2014-09-10 12:41:28 +0100
committerAndrew Bennett <andrew.bennett@imgtec.com>2014-09-12 14:25:15 +0100
commita9d58c068ccfa66fd94fffc001bbaf996ec53a7d (patch)
tree2772354d570e95cd8333975ddfa38c41d29f0079 /gas
parent9d9bf2df89db515958b429a1aeb1db38884ba488 (diff)
downloadgdb-a9d58c068ccfa66fd94fffc001bbaf996ec53a7d.zip
gdb-a9d58c068ccfa66fd94fffc001bbaf996ec53a7d.tar.gz
gdb-a9d58c068ccfa66fd94fffc001bbaf996ec53a7d.tar.bz2
Add mips*-img-elf* target triple.
/ * configure.ac: Add mips*-img-elf* target triple. * configure: Regenerate. bfd/ * config.bfd: Add mips*-img-elf* target triple. gas/ * configure.tgt: Add mips*-img-elf* target triple. gas/testsuite/ * gas/mips/mips.exp: Add mips*-img-elf* target triple. binutils/testsuite/ * binutils-all/objcopy.exp: Add mips*-img-elf* target triple. * binutils-all/readelf.exp: Likewise. ld/ * configure.tgt: Add mips*-img-elf* target triple. ld/testsuite/ * ld-mips-elf/mips-elf.exp: Add support for mips*-img-elf* target triple.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/configure.tgt3
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/mips/mips.exp4
4 files changed, 13 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c5d7db6..4245679 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com>
+
+ * configure.tgt: Add mips*-img-elf* target triple.
+
2014-09-12 Alan Modra <amodra@gmail.com>
* config/tc-i386.c (match_template): Remove redundant "!!" testing
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 4b78908..d07d445 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -330,7 +330,8 @@ case ${generic_target} in
mips*-*-freebsd* | mips*-*-kfreebsd*-gnu)
fmt=elf em=freebsd ;;
mips-*-sysv4*MP* | mips-*-gnu*) fmt=elf em=tmips ;;
- mips*-sde-elf* | mips*-mti-elf*) fmt=elf em=tmips ;;
+ mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
+ fmt=elf em=tmips ;;
mips-*-elf* | mips-*-rtems*) fmt=elf ;;
mips-*-netbsd*) fmt=elf em=tmips ;;
mips-*-openbsd*) fmt=elf em=tmips ;;
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index f67448b..2981cef 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com>
+
+ * gas/mips/mips.exp: Add mips*-img-elf* target triple.
+
2014-09-10 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run suffix-intel, x86-64-suffix and
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp
index 8f36918..198d60e 100644
--- a/gas/testsuite/gas/mips/mips.exp
+++ b/gas/testsuite/gas/mips/mips.exp
@@ -487,11 +487,13 @@ if { [istarget mips*-*-vxworks*] } {
set addr32 [expr [istarget mipstx39*-*-*] || [istarget mips-*-linux*] || [istarget mipsel-*-linux*] \
|| [istarget mipsisa32-*-linux*] || [istarget mipsisa32el-*-linux*]]
set has_newabi [expr [istarget *-*-irix6*] || [istarget mips*-*-linux*] \
- || [istarget mips*-sde-elf*] || [istarget mips*-mti-elf*]]
+ || [istarget mips*-sde-elf*] || [istarget mips*-mti-elf*] \
+ || [istarget mips*-img-elf*]]
if { [istarget "mips*-*-*linux*"]
|| [istarget "mips*-sde-elf*"]
|| [istarget "mips*-mti-elf*"]
+ || [istarget "mips*-img-elf*"]
|| [istarget "mips*-*-*bsd*"] } then {
set tmips "t"
} else {