summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-elf/eh2.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-elf/eh2.d')
-rw-r--r--binutils-2.21/ld/testsuite/ld-elf/eh2.d33
1 files changed, 33 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-elf/eh2.d b/binutils-2.21/ld/testsuite/ld-elf/eh2.d
new file mode 100644
index 0000000..1a05d7f
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-elf/eh2.d
@@ -0,0 +1,33 @@
+#source: eh1.s
+#source: eh2a.s
+#ld:
+#readelf: -wf
+#target: x86_64-*-*
+
+Contents of the .eh_frame section:
+
+00000000 00000014 00000000 CIE
+ Version: 1
+ Augmentation: ""
+ Code alignment factor: 1
+ Data alignment factor: -8
+ Return address column: 16
+
+ DW_CFA_def_cfa: r7 \(rsp\) ofs 8
+ DW_CFA_offset: r16 \(rip\) at cfa-8
+ DW_CFA_nop
+ DW_CFA_nop
+ DW_CFA_nop
+ DW_CFA_nop
+ DW_CFA_nop
+ DW_CFA_nop
+
+00000018 0000001c 0000001c FDE cie=00000000 pc=00400078..00400078
+ DW_CFA_advance_loc: 0 to 00400078
+ DW_CFA_def_cfa_offset: 16
+ DW_CFA_offset: r6 \(rbp\) at cfa-16
+ DW_CFA_advance_loc: 0 to 00400078
+ DW_CFA_def_cfa_register: r6 \(rbp\)
+
+00000038 ZERO terminator
+