2019-05-30 Alan Modra <amodra@gmail.com>
+ * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
+ s12z to targets not supporting this feature.
+
+2019-05-30 Alan Modra <amodra@gmail.com>
+
* testsuite/lib/binutils-common.exp (run_dump_test): Support
tcl procedures for xfail args.
# and Visium targets set OSABI to ELFOSABI_STANDALONE and cannot
# support STB_GNU_UNIQUE. Likewise non-EABI ARM targets set OSABI to
# ELFOSABI_ARM, and TI C6X targets to ELFOSABI_C6000_*. Finally
-# rather than `bfd_elf_final_link' AM33/2.0, D30V, DLX, and
-# picoJava targets use `_bfd_generic_final_link', which does not
-# support STB_GNU_UNIQUE symbol binding causing assertion failures.
+# rather than `bfd_elf_final_link' a number of targets use
+# `_bfd_generic_final_link', which does not support STB_GNU_UNIQUE
+# symbol binding causing assertion failures.
#
proc supports_gnu_unique {} {
if { [istarget *-*-gnu*]
|| [istarget "d30v-*-*"]
|| [istarget "dlx-*-*"]
|| [istarget "pj*-*-*"]
+ || [istarget "s12z-*-*"]
|| [istarget "xgate-*-*"] } {
return 0
}
2019-05-30 Alan Modra <amodra@gmail.com>
+ PR 24596
+ * emulparams/m9s12zelf.sh (TEMPLATE_NAME): Set to generic.
+ (EXTRA_EM_FILE): Define to genelf.
+ * testsuite/lib/ld-lib.exp (uses_genelf): Add s12z.
+
+2019-05-30 Alan Modra <amodra@gmail.com>
+
* testsuite/lib/ld-lib.exp (run_ld_link_tests): Support procedure
calls in optional "xfail" args.
(run_ld_link_exec_tests): Likewise.
ARCH=s12z
EMBEDDED=yes
GENERIC_BOARD=no
-TEMPLATE_NAME=elf32
+TEMPLATE_NAME=generic
+EXTRA_EM_FILE=genelf
NOP=0x00
|| [istarget "msp430-*-*"]
|| [istarget "mt-*-*"]
|| [istarget "pj*-*-*"]
+ || [istarget "s12z-*-*"]
|| [istarget "xgate-*-*"] } {
return 1
}