mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-15 20:05:46 +08:00
* ld-elfcomm/elfcomm.exp: Enable the alignment test for
mips*-*-*.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2006-09-18 Thiemo Seufer <ths@networkno.de>
|
||||||
|
|
||||||
|
* ld-elfcomm/elfcomm.exp: Enable the alignment test for
|
||||||
|
mips*-*-*.
|
||||||
|
|
||||||
2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
|
2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
|
||||||
|
|
||||||
* ld-elf/merge.d: Add special case for Score target.
|
* ld-elf/merge.d: Add special case for Score target.
|
||||||
|
@ -77,17 +77,22 @@ if { [ld_simple_link $ld tmpdir/common1.o "-r tmpdir/common1a.o tmpdir/common1b.
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if { ![regexp "Warning: alignment (\[0-9\]+) of symbol \`_?foo1\' in tmpdir/common1b.o is smaller than 64 in tmpdir/common1a.o" $link_output]
|
# This test fails on MIPS because the backend sets type_change_ok.
|
||||||
|| ![regexp "Warning: size of symbol \`_?foo1\' changed from 2 in tmpdir/common1a.o to 21 in tmpdir/common1b.o" $link_output] } {
|
# The size change warning is suppressed.
|
||||||
if { [istarget mips*-*-*] } {
|
if {[istarget mips*-*-*]} {
|
||||||
# This test fails on MIPS because the backend sets type_change_ok. The
|
if { ![regexp "Warning: alignment (\[0-9\]+) of symbol \`_?foo1\' in tmpdir/common1b.o is smaller than 64 in tmpdir/common1a.o" $link_output] } {
|
||||||
# size change warning is suppressed.
|
fail $test1w1
|
||||||
xfail $test1w1
|
|
||||||
} else {
|
} else {
|
||||||
fail $test1w1
|
pass $test1w1
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
pass $test1w1
|
pass $test1w1
|
||||||
|
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
|
||||||
|
} else {
|
||||||
|
pass $test1w1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if { [dump_common1 $test1c1] } {
|
if { [dump_common1 $test1c1] } {
|
||||||
|
Reference in New Issue
Block a user