+2013-08-21 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * binutils-all/nm.exp: Revert last change. Instead use nm-elf-1.s
+ for mmix-knuth-mmixware.
+
2013-08-20 Hans-Peter Nilsson <hp@bitrange.com>
* binutils-all/nm.exp: Xfail test for nm --size-sort for
# Test nm --size-sort
-if [is_elf_format] {
+# The target exceptions here are intended for targets that have ELF as
+# an intermediate format or otherwise require the ELF-variant syntax
+# for proper size annotation.
+if {[is_elf_format] || [istarget "mmix-knuth-mmixware"]} {
set nm_1_src "nm-elf-1.s"
} else {
set nm_1_src "nm-1.s"
setup_xfail "mips*-*-ultrix*" "mips*-*-ecoff*" "mips*-*-irix4*"
setup_xfail "mips*-*-riscos*" "mips*-*-sysv3*" "mips*-sony-bsd*"
-# It also doesn't work with the MMO object format, because a MMO
-# symbol has no size information.
-setup_xfail "mmix-knuth-mmixware"
-
set got [binutils_run $NM "$NMFLAGS --size-sort $tempfile"]
set want "0*4 T text_symbol3.*0*8 T text_symbol2.*0*c T text_symbol1"