+2004-03-30 Jakub Jelinek <jakub@redhat.com>
+
+ * binutils-all/objcopy.exp: Accept main as a data symbol as well.
+
2004-02-27 Andreas Schwab <schwab@suse.de>
* binutils-all/ar.exp (argument_parsing): New test.
regsub "^\[0-9a-fA-F\]+\[ \]+T Main\[\n\r\]+" $exec_output "" exec_output
}
- if {![regexp {^[0-9a-fA-F]+ T main} $exec_output] \
- && ![regexp {^[0-9a-fA-F]+ T _main} $exec_output]} {
+ if {![regexp {^([0-9a-fA-F]+)?[ ]+[TD] main} $exec_output] \
+ && ![regexp {^([0-9a-fA-F]+)?[ ]+[TD] _main} $exec_output]} {
fail $test
return
}