* ld-pe/pe.exp: Special diff file for x86_64-mingw target.

* ld-pe/secrel_64.d: New.
This commit is contained in:
Nick Clifton 2007-08-06 14:41:51 +00:00
parent 880383ca96
commit fdca102738
3 changed files with 41 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-08-06 Kai Tietz <kai.tietz@onevision.com>
* ld-pe/pe.exp: Special diff file for x86_64-mingw target.
* ld-pe/secrel_64.d: New.
2007-08-03 Daniel Jacobowitz <dan@codesourcery.com>
* ld-srec/srec.exp: XFAIL for powerpc*-*-*.

View File

@ -29,9 +29,16 @@ if { ![istarget i*86-*-cygwin*]
return
}
set pe_tests {
if {[istarget x86_64-*-mingw*] } {
set pe_tests {
{".secrel32" "" "" {secrel1.s secrel2.s}
{{objdump -s secrel_64.d}} "secrel.x"}
}
} else {
set pe_tests {
{".secrel32" "" "" {secrel1.s secrel2.s}
{{objdump -s secrel.d}} "secrel.x"}
}
}
run_ld_link_tests $pe_tests

View File

@ -0,0 +1,28 @@
tmpdir/secrel\.x: +file format pei-.*
Contents of section \.text:
.*1000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c >>>><<<<>>>>><<<
.*1010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c >>>>>><<>>>>>>><
.*1020 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c >>>><<<<>>>>><<<
.*1030 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c >>>>>><<>>>>>>><
.*1040 ffffffff ffffffff 00000000 00000000 ................
.*1050 ffffffff ffffffff 00000000 00000000 ................
Contents of section \.data:
.*2000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c >>>><<<<>>>>><<<
.*2010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c >>>>>><<>>>>>>><
.*2020 3e3e3e3e 04000000 110d0000 00111600 >>>>............
.*2030 0000111f 00000011 3c3c3c3c 3c3c3c3c ........<<<<<<<<
.*2040 3e3e3e3e 04000000 110d0000 00111600 >>>>............
.*2050 0000111f 00000011 3c3c3c3c 3c3c3c3c ........<<<<<<<<
.*2060 3e3e3e3e 04000000 110d0000 00111600 >>>>............
.*2070 0000111f 00000011 3c3c3c3c 3c3c3c3c ........<<<<<<<<
.*2080 3e3e3e3e 24000000 112d0000 00113600 >>>>\$....-....6.
.*2090 0000113f 00000011 3c3c3c3c 3c3c3c3c ...\?....<<<<<<<<
Contents of section \.rdata:
.*3000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c >>>><<<<>>>>><<<
.*3010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c >>>>>><<>>>>>>><
.*3020 3e3e3e3e 00000000 00000000 00000000 >>>>............
Contents of section \.idata:
.*4000 00000000 00000000 00000000 00000000 ................
.*4010 00000000 ....