+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.
 
 # 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*]
 
+2016-01-17  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
+
 2016-01-14  Nick Clifton  <nickc@redhat.com>
 
        * testsuite/gas/rl78/sp-relative-movw.s: New test.
 
        run_dump_test "cfi-s390x-1"
     }
 
-} elseif { [istarget "m68*-*"] } then {
+} elseif { [istarget "m68*-*"] && ![istarget "m68hc1*-*"] } then {
     run_dump_test "cfi-m68k"
 
 } elseif { [istarget sparc*-*-*] } then {
 
+2016-01-17  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
+       * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
+       * testsuite/ld-elf/pr14156a.d: Likewise.
+       * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
+       * testsuite/ld-elf/sec64k.exp: Likewise.
+
 2016-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
 
        * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
 
 #ld: --sort-common
 #nm: -n
 #notarget: hppa*-*-hpux*
+#xfail: m68hc1*-* xgate-*
 
 #...
 .* end
 
 #source: initn.s
 #ld: --sort-section=alignment
 #nm: -n
+#xfail: m68hc1*-* xgate-*
 
 #...
 [0-9a-f]+ T foo
 
 #ld: -Ttext=0x60
 #readelf: -S --wide
-#notarget: d10v-*-* msp*-*-* visium-*-* xstormy*-*-*
+#notarget: d10v-* m68hc1*-* msp*-* visium-* xgate-* xstormy*-*
 # the above targets use memory regions that don't allow 0x60 for .text
 
 #...
 
     return
 }
 
+# m68hc11, m68hc12 and xgate run out of address space.
+if { [istarget "m68hc1*-*"] || [istarget "xgate-*"] } {
+    return
+}
+
 # Test >64k sections, with and without -r.  First, create the assembly
 # files.  Have a relocation to another section and one within the local
 # section.
 
         && ![istarget spu-*-*]
         && ![istarget v850*-*-*]
         && ![istarget visium-*-*]
+        && ![istarget xgate-*-*]
         && ![istarget xstormy16-*-*]
         && ![istarget *-*-irix*]
         && ![istarget *-*-rtems] } {