From 2fe0fd0638dafee893dcb791036a49e5a6988954 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 22 May 2012 14:05:21 +0000 Subject: Always create PLT eh_frame section for i386/x86-64 bfd/ 2012-05-22 H.J. Lu PR ld/14105 * elf32-i386.c (elf_i386_create_dynamic_sections): Always create PLT eh_frame section with SEC_LINKER_CREATED. * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. ld/testsuite/ 2012-05-20 H.J. Lu PR ld/14105 * ld-elf/eh4.d: Add PLT eh_frame. * ld-i386/i386.exp: Run pr12570a and pr12570b. * ld-x86-64/x86-64.exp: Likewise. * ld-i386/pr12570a.d: New file. * ld-i386/pr12570a.s: Likewise. * ld-i386/pr12570b.s: Likewise. * ld-i386/pr12570b.s: Likewise. * ld-x86-64/pr12570a.d: Likewise. * ld-x86-64/pr12570a.s: Likewise. * ld-x86-64/pr12570b.d: Likewise. * ld-x86-64/pr12570b.s: Likewise. --- ld/testsuite/ld-x86-64/pr12570b.d | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ld/testsuite/ld-x86-64/pr12570b.d (limited to 'ld/testsuite/ld-x86-64/pr12570b.d') diff --git a/ld/testsuite/ld-x86-64/pr12570b.d b/ld/testsuite/ld-x86-64/pr12570b.d new file mode 100644 index 0000000..d65f8da --- /dev/null +++ b/ld/testsuite/ld-x86-64/pr12570b.d @@ -0,0 +1,9 @@ +#name: PR ld/12570 +#as: --64 +#ld: -melf_x86_64 -shared +#readelf: -wf --wide + +#failif +#... + DW_CFA_def_cfa_expression \(DW_OP_breg7 \(rsp\): 8; DW_OP_breg16 \(rip\): 0; DW_OP_lit15; DW_OP_and; DW_OP_lit11; DW_OP_ge; DW_OP_lit3; DW_OP_shl; DW_OP_plus\) +#... -- cgit v1.1