* binutils-all/nm.exp: Revert last change. Instead use nm-elf-1.s
authorHans-Peter Nilsson <hp@axis.com>
Tue, 20 Aug 2013 22:50:11 +0000 (22:50 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Tue, 20 Aug 2013 22:50:11 +0000 (22:50 +0000)
for mmix-knuth-mmixware.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/nm.exp

index 97c563052cc851b873003ded2ec9a5fd4e1e4311..25d66458ff53efbf89ab55d3da614a1ee9640987 100644 (file)
@@ -1,3 +1,8 @@
+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
index 9c79e4c110f9abb465815684025de391f6136adb..8b9b9af25c176a4f8ce52fc41f9cb4bffe3ba939 100644 (file)
@@ -157,7 +157,10 @@ if [regexp $want $got] then {
 
 # 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"
@@ -179,10 +182,6 @@ setup_xfail "alpha*-*-osf*" "alpha*-*-netware*"
 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"