* binutils-all/objcopy.exp: Allow '? main', to suit powerpc64.
authorAlan Modra <amodra@gmail.com>
Thu, 15 Nov 2001 12:51:42 +0000 (12:51 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 15 Nov 2001 12:51:42 +0000 (12:51 +0000)
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/objcopy.exp

index e3f99a87f2c1d51754b231249e522ecd7b69453c..e6f0d9457528c4e2d3beb928a47be7c7aeda49fe 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * binutils-all/objcopy.exp: Allow '? main', to suit powerpc64.
+
 2001-11-14  Geoffrey Keating  <geoffk@redhat.com>
 
        * binutils-all/readelf.exp: powerpc-*-eabi* is an ELF target.
index 972013d8aa51f7cce64273e212fa9d14354d1974..7c16a515a1bea9d18f3e3caa0200b7ecdaed210c 100644 (file)
@@ -383,7 +383,7 @@ proc strip_test_with_saving_a_symbol { } {
     }
 
     set exec_output [binutils_run $NM "$NMFLAGS $objfile"]
-    if {![regexp {^([0-9a-fA-F]+)?[ ]+T main} $exec_output] \
+    if {![regexp {^([0-9a-fA-F]+)?[ ]+[T\?] main} $exec_output] \
          && ![regexp {^([0-9a-fA-F]+)?[ ]+T _main} $exec_output]} {
        fail $test
        return