diff options
author | Andrew Bennett <andrew.bennett@imgtec.com> | 2014-09-10 12:41:28 +0100 |
---|---|---|
committer | Andrew Bennett <andrew.bennett@imgtec.com> | 2014-09-12 14:25:15 +0100 |
commit | a9d58c068ccfa66fd94fffc001bbaf996ec53a7d (patch) | |
tree | 2772354d570e95cd8333975ddfa38c41d29f0079 | |
parent | 9d9bf2df89db515958b429a1aeb1db38884ba488 (diff) | |
download | gdb-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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/config.bfd | 2 | ||||
-rw-r--r-- | binutils/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/objcopy.exp | 1 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/readelf.exp | 1 | ||||
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/configure.tgt | 3 | ||||
-rw-r--r-- | gas/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 4 | ||||
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/configure.tgt | 2 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/mips-elf.exp | 5 |
16 files changed, 47 insertions, 10 deletions
@@ -1,3 +1,8 @@ +2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com> + + * configure.ac: Add mips*-img-elf* target triple. + * configure: Regenerate. + 2014-09-06 Kuan-Lin Chen <kuanlinchentw@gmail.com> * configure: Disable gdb for nds32*-*-* until supported. * configure.ac: Disable gdb for nds32*-*-* until supported. diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0bdebfc..64448ec 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com> + + * config.bfd: Add mips*-img-elf* target triple. + 2014-09-12 Alan Modra <amodra@gmail.com> * elf-bfd.h (struct eh_frame_array_ent): Add "range". diff --git a/bfd/config.bfd b/bfd/config.bfd index 4468e4a..7bcb92a 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -1033,7 +1033,7 @@ case "${targ}" in targ_defvec=mips_elf32_trad_le_vec targ_selvecs="mips_elf32_trad_be_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" ;; - mips*-sde-elf* | mips*-mti-elf*) + mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*) targ_defvec=mips_elf32_trad_be_vec targ_selvecs="mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" ;; diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 8471e47..2a4185e 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com> + + * binutils-all/objcopy.exp: Add mips*-img-elf* target triple. + * binutils-all/readelf.exp: Likewise + 2014-09-06 Matthew Fortune <matthew.fortune@imgtec.com> * binutils-all/readelf.ss-mips: Account for new sections. diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index f4fa0b2..49d466d 100644 --- a/binutils/testsuite/binutils-all/objcopy.exp +++ b/binutils/testsuite/binutils-all/objcopy.exp @@ -988,6 +988,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 { @@ -3782,7 +3782,7 @@ case "${target}" in microblaze*) noconfigdirs="$noconfigdirs gprof" ;; - mips*-sde-elf* | mips*-mti-elf*) + mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*) if test x$with_newlib = xyes; then noconfigdirs="$noconfigdirs gprof" fi @@ -6993,7 +6993,7 @@ case "${target}" in spu-*-*) target_makefile_frag="config/mt-spu" ;; - mips*-sde-elf* | mips*-mti-elf*) + mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*) target_makefile_frag="config/mt-sde" ;; mipsisa*-*-elfoabi*) diff --git a/configure.ac b/configure.ac index dada090..fe2fda3 100644 --- a/configure.ac +++ b/configure.ac @@ -1110,7 +1110,7 @@ case "${target}" in microblaze*) noconfigdirs="$noconfigdirs gprof" ;; - mips*-sde-elf* | mips*-mti-elf*) + mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*) if test x$with_newlib = xyes; then noconfigdirs="$noconfigdirs gprof" fi @@ -2371,7 +2371,7 @@ case "${target}" in spu-*-*) target_makefile_frag="config/mt-spu" ;; - mips*-sde-elf* | mips*-mti-elf*) + mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*) target_makefile_frag="config/mt-sde" ;; mipsisa*-*-elfoabi*) 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 { diff --git a/ld/ChangeLog b/ld/ChangeLog index ac85c63..ba4ad97 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com> + + * configure.tgt: Add mips*-img-elf* target triple. + 2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk> * emultempl/pe.em (write_build_id, setup_build_id): Change pe/coff diff --git a/ld/configure.tgt b/ld/configure.tgt index fc99a54..24e36d1 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -459,7 +459,7 @@ mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;; mips*vr5000-*-elf*) targ_emul=elf32b4300 ;; mips*el-sde-elf*) targ_emul=elf32ltsmip targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" ;; -mips*-sde-elf* | mips*-mti-elf*) +mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*) targ_emul=elf32btsmip targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" ;; mips64*el-ps2-elf*) targ_emul=elf32lr5900n32 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*] } { |