aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@arm.com>2017-06-09 12:02:05 +0100
committerJiong Wang <jiong.wang@arm.com>2017-06-09 12:04:44 +0100
commitdbb2bcd0059f8d91de5a792f8684c8908c316720 (patch)
tree4e5991d93fe69c0905e5a154d064305867edb951 /ld
parentfe7bb2d5ab1f47163f38d2070dc1e62c1920bb44 (diff)
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/testsuite/ld-aarch64/aarch64-elf.exp2
-rw-r--r--ld/testsuite/ld-aarch64/copy-reloc-eliminate.d4
-rw-r--r--ld/testsuite/ld-aarch64/copy-reloc-exe-eliminate.s7
4 files changed, 0 insertions, 19 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 2cbe09d911..50c78132f4 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 <jiong.wang@arm.com>
-
- * 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 <amodra@gmail.com>
* 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 66e7e64696..ca21e171a1 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 9657d65113..0000000000
--- 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 33227aad3e..0000000000
--- 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