aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2010-09-02 22:44:09 +0000
committerRichard Henderson <rth@redhat.com>2010-09-02 22:44:09 +0000
commitf917d7a192c7134e09717e09f1316bf397b5d25b (patch)
tree08605fc5829a0cae58a05c6630f47c173bbfdfc8
parent3251495bd703dad0798b68acb17205f02b293f4b (diff)
downloadgdb-f917d7a192c7134e09717e09f1316bf397b5d25b.zip
gdb-f917d7a192c7134e09717e09f1316bf397b5d25b.tar.gz
gdb-f917d7a192c7134e09717e09f1316bf397b5d25b.tar.bz2
* gas/cfi/reloc-pe-i386.d, gas/cfi/reloc-pe-i386.s: New test.
-rw-r--r--gas/testsuite/gas/cfi/reloc-pe-i386.d9
-rw-r--r--gas/testsuite/gas/cfi/reloc-pe-i386.s6
2 files changed, 15 insertions, 0 deletions
diff --git a/gas/testsuite/gas/cfi/reloc-pe-i386.d b/gas/testsuite/gas/cfi/reloc-pe-i386.d
new file mode 100644
index 0000000..4970319
--- /dev/null
+++ b/gas/testsuite/gas/cfi/reloc-pe-i386.d
@@ -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
index 0000000..4433c44
--- /dev/null
+++ b/gas/testsuite/gas/cfi/reloc-pe-i386.s
@@ -0,0 +1,6 @@
+ .text
+ .cfi_sections .debug_frame
+ .cfi_startproc
+foo:
+ ret
+ .cfi_endproc