From dbb2bcd0059f8d91de5a792f8684c8908c316720 Mon Sep 17 00:00:00 2001 From: Jiong Wang Date: Fri, 9 Jun 2017 12:02:05 +0100 Subject: Revert "[AArch64] Allow COPY relocation elimination" This reverts commit bc327528fd2ccdc6c29ab6ae608085dddbad5cc8. This patch can only be committed after PC-relative relocation types support on copy relocation elimination is also completed. --- ld/ChangeLog | 6 ------ ld/testsuite/ld-aarch64/aarch64-elf.exp | 2 -- ld/testsuite/ld-aarch64/copy-reloc-eliminate.d | 4 ---- ld/testsuite/ld-aarch64/copy-reloc-exe-eliminate.s | 7 ------- 4 files changed, 19 deletions(-) delete mode 100644 ld/testsuite/ld-aarch64/copy-reloc-eliminate.d delete mode 100644 ld/testsuite/ld-aarch64/copy-reloc-exe-eliminate.s (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 2cbe09d..50c7813 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -12,12 +12,6 @@ * testsuite/ld-ifunc/ifunc-1-local-x86.map: New file. * testsuite/ld-ifunc/ifunc-1-x86.map: Likewise. -2017-06-08 Jiong Wang - - * testsuite/ld-aarch64/copy-reloc-eliminate.d: New test. - * testsuite/ld-aarch64/copy-reloc-exe-eliminate.s: New test source file. - * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase. - 2017-06-07 Alan Modra * testsuite/ld-unique/pr21529.d: xfail aarch64, arm, hppa, ia64, diff --git a/ld/testsuite/ld-aarch64/aarch64-elf.exp b/ld/testsuite/ld-aarch64/aarch64-elf.exp index 66e7e64..ca21e17 100644 --- a/ld/testsuite/ld-aarch64/aarch64-elf.exp +++ b/ld/testsuite/ld-aarch64/aarch64-elf.exp @@ -335,8 +335,6 @@ set aarch64elflinktests { {} "copy-reloc-so.so"} {"ld-aarch64/exe with copy relocation" "-e0 tmpdir/copy-reloc-so.so" "" "" {copy-reloc-exe.s} {{objdump -R copy-reloc.d}} "copy-reloc"} - {"ld-aarch64/exe with copy relocation elimination" "-e0 tmpdir/copy-reloc-so.so" "" "" - {copy-reloc-exe-eliminate.s} {{objdump -R copy-reloc-eliminate.d}} "copy-reloc-elimination"} {"ld-aarch64/so with global func" "-shared" "" "" {func-in-so.s} {} "func-in-so.so"} {"ld-aarch64/func sym hash opt for exe" diff --git a/ld/testsuite/ld-aarch64/copy-reloc-eliminate.d b/ld/testsuite/ld-aarch64/copy-reloc-eliminate.d deleted file mode 100644 index 9657d65..0000000 --- a/ld/testsuite/ld-aarch64/copy-reloc-eliminate.d +++ /dev/null @@ -1,4 +0,0 @@ -.* -DYNAMIC RELOCATION RECORDS -OFFSET.*TYPE.*VALUE.* -.*R_AARCH64_ABS64.*global_a diff --git a/ld/testsuite/ld-aarch64/copy-reloc-exe-eliminate.s b/ld/testsuite/ld-aarch64/copy-reloc-exe-eliminate.s deleted file mode 100644 index 33227aa..0000000 --- a/ld/testsuite/ld-aarch64/copy-reloc-exe-eliminate.s +++ /dev/null @@ -1,7 +0,0 @@ - .global p - .section .data.rel.ro,"aw",%progbits - .align 3 - .type p, %object - .size p, 8 -p: - .xword global_a -- cgit v1.1