* binutils-all/objcopy.exp: Allow '? main', to suit powerpc64.
This commit is contained in:
parent
c56feb2b8c
commit
7dc9bd67ad
|
@ -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>
|
2001-11-14 Geoffrey Keating <geoffk@redhat.com>
|
||||||
|
|
||||||
* binutils-all/readelf.exp: powerpc-*-eabi* is an ELF target.
|
* binutils-all/readelf.exp: powerpc-*-eabi* is an ELF target.
|
||||||
|
|
|
@ -383,7 +383,7 @@ proc strip_test_with_saving_a_symbol { } {
|
||||||
}
|
}
|
||||||
|
|
||||||
set exec_output [binutils_run $NM "$NMFLAGS $objfile"]
|
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]} {
|
&& ![regexp {^([0-9a-fA-F]+)?[ ]+T _main} $exec_output]} {
|
||||||
fail $test
|
fail $test
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue