mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 21:19:54 +00:00
* 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>
|
||||
|
||||
* 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"]
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user