aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2006-12-04 08:57:09 +0000
committerJan Beulich <jbeulich@novell.com>2006-12-04 08:57:09 +0000
commiteb3d5f3b94495740ddeedc7282baaa2b79de99cd (patch)
tree98d6cc69095979c67955ffdec6505554845b25d4 /ld/testsuite/ld-elf
parentd807a492c6640cad84bfba13c2266747b407b521 (diff)
downloadgdb-eb3d5f3b94495740ddeedc7282baaa2b79de99cd.zip
gdb-eb3d5f3b94495740ddeedc7282baaa2b79de99cd.tar.gz
gdb-eb3d5f3b94495740ddeedc7282baaa2b79de99cd.tar.bz2
bfd/
2006-12-04 Jan Beulich <jbeulich@novell.com> * elflink.c (_bfd_elf_link_create_dynamic_sections): Don't create .eh_frame_hdr section from here anymore. (bfd_elf_size_dynamic_sections): Call _bfd_elf_maybe_strip_eh_frame_hdr a little earlier. ld/ 2006-12-04 Jan Beulich <jbeulich@novell.com> * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create .eh_frame_hdr section here. ld/testsuite/ 2006-12-04 Jan Beulich <jbeulich@novell.com> * ld-elf/eh-frame-hdr.d: New. * ld-elf/eh-frame-hdr.s: New. * ld-ia64/tlsbin.dd, ld-ia64/tlsbin.sd: Don't depend on exact linkage table layout.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/eh-frame-hdr.d17
-rw-r--r--ld/testsuite/ld-elf/eh-frame-hdr.s6
2 files changed, 23 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/eh-frame-hdr.d b/ld/testsuite/ld-elf/eh-frame-hdr.d
new file mode 100644
index 0000000..b465e5d
--- /dev/null
+++ b/ld/testsuite/ld-elf/eh-frame-hdr.d
@@ -0,0 +1,17 @@
+#source: eh-frame-hdr.s
+#ld: -e _start --eh-frame-hdr
+#objdump: -hw
+#target: alpha*-*-*
+#target: arm*-*-*
+#target: i?86-*-*
+#target: m68k-*-*
+#target: mips*-*-*
+#target: powerpc*-*-*
+#target: s390*-*-*
+#target: sh*-*-*
+#xfail: sh*l*-*-*
+#target: sparc*-*-*
+#target: x86_64-*-*
+#...
+ [0-9] .eh_frame_hdr 0*[12][048c] .*
+#pass
diff --git a/ld/testsuite/ld-elf/eh-frame-hdr.s b/ld/testsuite/ld-elf/eh-frame-hdr.s
new file mode 100644
index 0000000..e5d3318
--- /dev/null
+++ b/ld/testsuite/ld-elf/eh-frame-hdr.s
@@ -0,0 +1,6 @@
+ .text
+ .global _start
+_start:
+ .cfi_startproc
+ .skip 16
+ .cfi_endproc