summaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-11-15 12:51:42 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-11-15 12:51:42 +0000
commitd97bcb75f8f7d42829113a1d1553d74048451b5a (patch)
tree8e35b1cf5d654ca99bd89a0160aefd19854e2b9e /binutils
parentdc3cdb21bf61b2cb2839f59d7d441f8f48ed94e3 (diff)
downloadbinutils-redhat-d97bcb75f8f7d42829113a1d1553d74048451b5a.tar.gz
* binutils-all/objcopy.exp: Allow '? main', to suit powerpc64.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/testsuite/ChangeLog4
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index e3f99a87f2..e6f0d94575 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -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.
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index 972013d8aa..7c16a515a1 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -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