* gas/cfi/reloc-pe-i386.d, gas/cfi/reloc-pe-i386.s: New test.
authorRichard Henderson <rth@redhat.com>
Thu, 2 Sep 2010 22:44:09 +0000 (22:44 +0000)
committerRichard Henderson <rth@redhat.com>
Thu, 2 Sep 2010 22:44:09 +0000 (22:44 +0000)
gas/testsuite/gas/cfi/reloc-pe-i386.d [new file with mode: 0644]
gas/testsuite/gas/cfi/reloc-pe-i386.s [new file with mode: 0644]

diff --git a/gas/testsuite/gas/cfi/reloc-pe-i386.d b/gas/testsuite/gas/cfi/reloc-pe-i386.d
new file mode 100644 (file)
index 0000000..4970319
--- /dev/null
@@ -0,0 +1,9 @@
+#objdump: -r
+#name: reloc-pe-i386
+#...
+RELOCATION RECORDS FOR \[.debug_frame\]:
+OFFSET           TYPE              VALUE 
+000000000000001c secrel32          .debug_frame
+0000000000000020 .* .text
+
+
diff --git a/gas/testsuite/gas/cfi/reloc-pe-i386.s b/gas/testsuite/gas/cfi/reloc-pe-i386.s
new file mode 100644 (file)
index 0000000..4433c44
--- /dev/null
@@ -0,0 +1,6 @@
+       .text
+       .cfi_sections .debug_frame
+       .cfi_startproc
+foo:
+       ret
+       .cfi_endproc