aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
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 /ld/testsuite
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 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-mips-elf/mips-elf.exp5
2 files changed, 8 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 8f38ff5..f5aef2a 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com>
+
+ * ld-mips-elf/mips-elf.exp: Add support for mips*-img-elf* target
+ triple.
+
2014-09-10 Alan Modra <amodra@gmail.com>
* ld-aarch64/emit-relocs-local-addend.d: Adjust for changed
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index 27108d4..92ab4b3 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -55,7 +55,8 @@ if {![istarget mips*-*-*] || ![is_elf_format]} {
set has_newabi [expr [istarget *-*-irix6*] \
|| [istarget mips*-*-linux*] \
|| [istarget mips*-sde-elf*] \
- || [istarget mips*-mti-elf*]]
+ || [istarget mips*-mti-elf*] \
+ || [istarget mips*-img-elf*]]
set linux_gnu [expr [istarget mips*-*-linux*]]
set embedded_elf [expr [istarget mips*-*-elf]]
@@ -79,7 +80,7 @@ if { [istarget *-*-irix6*] } {
set abi_ldflags(o32) -melf32btsmip_fbsd
}
if { [istarget mips*-*-linux*] || [istarget mips*-sde-elf*]
- || [istarget mips*-mti-elf*] } {
+ || [istarget mips*-mti-elf*] || [istarget mips*-img-elf*]} {
set abi_ldflags(n32) -melf32btsmipn32
set abi_ldflags(n64) -melf64btsmip
} elseif { [istarget mips64*-*freebsd*] } {