-# Copyright 1995, 1997, 2002, 2004, 2007, 2008, 2009, 2010
+# Copyright 1995, 1997, 2002, 2004, 2007, 2008, 2009, 2010, 2012
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
remote_file host delete $file2
}
- verbose -log "$AR x $dest"
set exec_output [binutils_run $AR "x $dest"]
set exec_output [prune_warnings $exec_output]
if ![string match "" $exec_output] {
return
}
- verbose -log "$bfdtest1 $dest"
set exec_output [binutils_run $bfdtest1 "$dest"]
if ![string match "" $exec_output] {
verbose -log $exec_output
return
}
- verbose -log "$bfdtest1 $archive"
set exec_output [binutils_run $bfdtest1 "$archive"]
if ![string match "" $exec_output] {
verbose -log $exec_output
return
}
- verbose -log "$bfdtest1 $archive"
set exec_output [binutils_run $bfdtest1 "$archive"]
if ![string match "" $exec_output] {
verbose -log $exec_output
return
}
+ set exec_output [binutils_run $bfdtest1 "$archive2"]
+ if ![string match "" $exec_output] {
+ verbose -log $exec_output
+ fail "$testname (bfdtest1)"
+ return
+ }
+
set got [binutils_run $NM "--print-armap $archive"]
if { ![string match "*text_symbol in *bintest.o*" $got] \
|| ![string match "*data_symbol in *bintest.o*" $got] \