This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Add support for the mips*-img-elf* target triple to the objcopy and readelf testsuites.
- From: Andrew Bennett <Andrew dot Bennett at imgtec dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: "rdsandiford at googlemail dot com" <rdsandiford at googlemail dot com>, Matthew Fortune <Matthew dot Fortune at imgtec dot com>, Rich Fuhler <Rich dot Fuhler at imgtec dot com>, "Saeed Ghazanfar" <Saeed dot Ghazanfar at imgtec dot com>
- Date: Tue, 13 May 2014 14:37:20 +0000
- Subject: [PATCH] Add support for the mips*-img-elf* target triple to the objcopy and readelf testsuites.
- Authentication-results: sourceware.org; auth=none
Hi,
This patch adds support for the mips*-img-elf* target triple to the
objcopy and readelf testsuites.
The patch and ChangeLog are below.
Ok to commit?
Many thanks,
Andrew
Andrew Bennett
Software Design Engineer, MIPS Processor IP
Imagination Technologies Limited
t: +44 (0)113 2429814
www.imgtec.com
ChangeLog:
binutils/testsuite/
* binutils-all/objcopy.exp: Add mips*-img-elf* triple.
* binutils-all/readelf.exp: Likewise.
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index a7e1396..34fb01b 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -986,6 +986,7 @@ if [is_elf_format] {
# targ_defvec=mips_elf32_n_le_vec in config.bfd. When syncing,
# don't forget that earlier case-matches trump later ones.
if { ![istarget "mips*-sde-elf*"] && ![istarget "mips*-mti-elf*"]
+ && ![istarget "mips*-img-elf*"]
&& ![istarget "mips64*-*-openbsd*"] } {
setup_xfail "mips*-*-irix5*" "mips*-*-irix6*" "mips*-*-elf*" \
"mips*-*-rtems*" "mips*-*-windiss" "mips*-*-none" \
diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp
index 2a6bc6a..e45d6ea 100644
--- a/binutils/testsuite/binutils-all/readelf.exp
+++ b/binutils/testsuite/binutils-all/readelf.exp
@@ -103,6 +103,7 @@ proc readelf_test { options binary_file regexp_file xfails } {
if { [istarget "mips*-*-*linux*"]
|| [istarget "mips*-sde-elf*"]
|| [istarget "mips*-mti-elf*"]
+ || [istarget "mips*-img-elf*"]
|| [istarget "mips*-*freebsd*"] } then {
set target_machine tmips
} else