aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/eh2.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-05-24 02:39:16 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-05-24 02:39:16 +0000
commitf607ec8858a8ce6a1a821257d657db95ee47af2a (patch)
treef934a96cd25e252e539eae57127f245e30766c6a /ld/testsuite/ld-elf/eh2.d
parenta34a056a10ca131c7392436a957cdee41758fa95 (diff)
downloadgdb-f607ec8858a8ce6a1a821257d657db95ee47af2a.zip
gdb-f607ec8858a8ce6a1a821257d657db95ee47af2a.tar.gz
gdb-f607ec8858a8ce6a1a821257d657db95ee47af2a.tar.bz2
2006-05-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2655 PR ld/2657 * ld-elf/eh1.d: New file. * ld-elf/eh1.s: Likewise. * ld-elf/eh1a.s: Likewise. * ld-elf/eh2.d: Likewise. * ld-elf/eh2a.s: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh3.s: Likewise. * ld-elf/eh3a.s: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/eh2.d')
-rw-r--r--ld/testsuite/ld-elf/eh2.d33
1 files changed, 33 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/eh2.d b/ld/testsuite/ld-elf/eh2.d
new file mode 100644
index 0000000..6f4f2c5
--- /dev/null
+++ b/ld/testsuite/ld-elf/eh2.d
@@ -0,0 +1,33 @@
+#source: eh1.s
+#source: eh2a.s
+#ld:
+#readelf: -wf
+#target: x86_64-*-*
+
+The section .eh_frame contains:
+
+00000000 00000014 00000000 CIE
+ Version: 1
+ Augmentation: ""
+ Code alignment factor: 1
+ Data alignment factor: -8
+ Return address column: 16
+
+ DW_CFA_def_cfa: r7 ofs 8
+ DW_CFA_offset: r16 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=004000b0..004000b0
+ DW_CFA_advance_loc: 0 to 004000b0
+ DW_CFA_def_cfa_offset: 16
+ DW_CFA_offset: r6 at cfa-16
+ DW_CFA_advance_loc: 0 to 004000b0
+ DW_CFA_def_cfa_reg: r6
+
+00000038 ZERO terminator
+