aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/testsuite/lib/binutils-common.exp7
2 files changed, 12 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 140a9853..212ea48 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,10 @@
2016-01-17 Alan Modra <amodra@gmail.com>
+ * testsuite/lib/binutils-common.exp (is_elf_format): Return true
+ for m68hc11/12 and xgate triples.
+
+2016-01-17 Alan Modra <amodra@gmail.com>
+
* readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
2016-01-01 Alan Modra <amodra@gmail.com>
diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp
index 64b66a4..dbbbc79 100644
--- a/binutils/testsuite/lib/binutils-common.exp
+++ b/binutils/testsuite/lib/binutils-common.exp
@@ -20,6 +20,13 @@
# True if the object format is known to be ELF.
#
proc is_elf_format {} {
+ # config.sub for these targets curiously transforms a target doublet
+ # ending in -elf to -none. eg. m68hc12-elf to m68hc12-unknown-none
+ # They are always elf.
+ if { [istarget m68hc1*-*] || [istarget xgate-*] } {
+ return 1;
+ }
+
if { ![istarget *-*-sysv4*]
&& ![istarget *-*-unixware*]
&& ![istarget *-*-elf*]