PR ld/3805

* ld-elf/sec64k.exp: Expect the relocatable version of this test to fail for
  the m32r because it creates both .rel and .rela sections.
This commit is contained in:
Nick Clifton 2007-02-06 15:26:53 +00:00
parent 4b78141aa2
commit cc9fe4437e
2 changed files with 41 additions and 28 deletions

View file

@ -1,3 +1,10 @@
2007-02-06 Nick Clifton <nickc@redhat.com>
PR ld/3805
* ld-elf/sec64k.exp: Expect the relocatable version of this test
to fail for the m32r because it creates both .rel and .rela
sections.
2007-02-05 Dave Brolley <brolley@redhat.com>
* ld-undefined/undefined.exp: XFAIL the undefined test

View file

@ -91,6 +91,11 @@ if [catch { set ofd [open "tmpdir/$test1.d" w] } x] {
# The ld-r linked file will contain relocation-sections too, so make it
# half the size in order to try and keep the test-time down.
# The m32r target generates both REL and RELA relocs (for historical
# reasons) so the expected number of sections will be much more than
# 68000, which throws this particular test right off.
if {![istarget "m32r-*-*"]} then {
foreach sfile [lrange $sfiles 0 [expr [llength $sfiles] / 2]] {
puts $ofd "#source: $sfile"
}
@ -120,6 +125,7 @@ puts $ofd ".* (\[0-9\] foo_1|68... foo_34000)$"
puts $ofd "#pass"
close $ofd
run_dump_test "tmpdir/$test1"
}
if [catch { set ofd [open "tmpdir/$test2.d" w] } x] {
perror "$x"