+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*-*-*.
return\r
}\r
\r
-set pe_tests {\r
+if {[istarget x86_64-*-mingw*] } {\r
+ set pe_tests {\r
+ {".secrel32" "" "" {secrel1.s secrel2.s}\r
+ {{objdump -s secrel_64.d}} "secrel.x"}\r
+ }\r
+} else {\r
+ set pe_tests {\r
{".secrel32" "" "" {secrel1.s secrel2.s}\r
{{objdump -s secrel.d}} "secrel.x"}\r
+ }\r
}\r
\r
run_ld_link_tests $pe_tests\r
--- /dev/null
+\r
+tmpdir/secrel\.x: +file format pei-.*\r
+\r
+Contents of section \.text:\r
+ .*1000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c >>>><<<<>>>>><<<\r
+ .*1010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c >>>>>><<>>>>>>><\r
+ .*1020 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c >>>><<<<>>>>><<<\r
+ .*1030 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c >>>>>><<>>>>>>><\r
+ .*1040 ffffffff ffffffff 00000000 00000000 ................\r
+ .*1050 ffffffff ffffffff 00000000 00000000 ................\r
+Contents of section \.data:\r
+ .*2000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c >>>><<<<>>>>><<<\r
+ .*2010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c >>>>>><<>>>>>>><\r
+ .*2020 3e3e3e3e 04000000 110d0000 00111600 >>>>............\r
+ .*2030 0000111f 00000011 3c3c3c3c 3c3c3c3c ........<<<<<<<<\r
+ .*2040 3e3e3e3e 04000000 110d0000 00111600 >>>>............\r
+ .*2050 0000111f 00000011 3c3c3c3c 3c3c3c3c ........<<<<<<<<\r
+ .*2060 3e3e3e3e 04000000 110d0000 00111600 >>>>............\r
+ .*2070 0000111f 00000011 3c3c3c3c 3c3c3c3c ........<<<<<<<<\r
+ .*2080 3e3e3e3e 24000000 112d0000 00113600 >>>>\$....-....6.\r
+ .*2090 0000113f 00000011 3c3c3c3c 3c3c3c3c ...\?....<<<<<<<<\r
+Contents of section \.rdata:\r
+ .*3000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c >>>><<<<>>>>><<<\r
+ .*3010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c >>>>>><<>>>>>>><\r
+ .*3020 3e3e3e3e 00000000 00000000 00000000 >>>>............\r
+Contents of section \.idata:\r
+ .*4000 00000000 00000000 00000000 00000000 ................\r
+ .*4010 00000000 .... \r