+2005-02-22 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * ld-elfvsb/hidden2.d: Expect OBJECT.
+ * ld-elfvsb/hidden2.s: Force type OBJECT.
+ * ld-elfvsb/hidden2.ld: Place .dynamic explicitly.
+ * ld-elf/start.s: Provide __start for MIPS.
+ * ld-elfcomm/elfcomm.exp: Accept MIPS common section. XFAIL size change
+ test.
+ * ld-elf/warn1.d: Use group.ld instead of -Ttext.
+
2005-02-21 Alan Modra <amodra@bigpond.net.au>
* lib/ld-lib.exp (run_dump_test): Don't require a dump program if
send_log "$READELF -s tmpdir/common1.o | grep foo\n"
catch "exec $READELF -s tmpdir/common1.o | grep foo" exec_output
- if { ![regexp "(\[ \]*)(\[0-9\]+):(\[ \]*)(\[0\]*)80(\[ \]+)4(\[ \]+)OBJECT(\[ \]+)GLOBAL(\[ \]+)DEFAULT(\[ \]+)COM(\[ \]+)_?foo2" $exec_output]
+ if { ![regexp "(\[ \]*)(\[0-9\]+):(\[ \]*)(\[0\]*)80(\[ \]+)4(\[ \]+)OBJECT(\[ \]+)GLOBAL(\[ \]+)DEFAULT(\[ \]+)(PRC\\\[0xff03\\\]|COM)(\[ \]+)_?foo2" $exec_output]
|| ![regexp "(\[ \]*)(\[0-9\]+):(\[ \]*)(\[0-9\]+)(\[ \]+)21(\[ \]+)OBJECT(\[ \]+)GLOBAL(\[ \]+)DEFAULT(\[ \]+)(\[0-9\]+)(\[ \]+)_?foo1" $exec_output] } {
send_log "$exec_output\n"
verbose $exec_output
if { ![regexp "Warning: alignment (\[0-9\]+) of symbol \`_?foo1\' in tmpdir/common1b.o is smaller than 64 in tmpdir/common1a.o" $link_output]
|| ![regexp "Warning: size of symbol \`_?foo1\' changed from 2 in tmpdir/common1a.o to 21 in tmpdir/common1b.o" $link_output] } {
- fail $test1w1
+ if { [istarget mips*-*-*] } {
+ # This test fails on MIPS because the backend sets type_change_ok. The
+ # size change warning is suppressed.
+ xfail $test1w1
+ } else {
+ fail $test1w1
+ }
} else {
pass $test1w1
}