diff options
author | Alan Modra <amodra@gmail.com> | 2001-11-15 12:51:42 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-11-15 12:51:42 +0000 |
commit | 7dc9bd67ad681f9070873f4148bbcda1aa0ea762 (patch) | |
tree | c5b9cc3b39d1f9cf149af6bdf632dab760453725 | |
parent | c56feb2b8c5a2d4a3dc92317d7f547e2c89feb8a (diff) | |
download | gdb-7dc9bd67ad681f9070873f4148bbcda1aa0ea762.zip gdb-7dc9bd67ad681f9070873f4148bbcda1aa0ea762.tar.gz gdb-7dc9bd67ad681f9070873f4148bbcda1aa0ea762.tar.bz2 |
* binutils-all/objcopy.exp: Allow '? main', to suit powerpc64.
-rw-r--r-- | binutils/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/objcopy.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index e3f99a8..e6f0d94 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 972013d..7c16a51 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 |