aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64
diff options
context:
space:
mode:
authorWalfred Tedeschi <walfred.tedeschi@intel.com>2016-02-09 11:36:15 +0100
committerWalfred Tedeschi <walfred.tedeschi@intel.com>2016-02-09 11:36:15 +0100
commit0635c8759326e9431604b3359185cbf96740521d (patch)
tree7c4fbae9fde2f975bfc77a87fc3f592d154336b0 /ld/testsuite/ld-aarch64
parent222cab58b7ed37df6e01dacb0932f400a2588137 (diff)
downloadgdb-0635c8759326e9431604b3359185cbf96740521d.zip
gdb-0635c8759326e9431604b3359185cbf96740521d.tar.gz
gdb-0635c8759326e9431604b3359185cbf96740521d.tar.bz2
Revert "Add a more helpful warning message to explain why some AArch64 relocations can overflow."
This reverts commit 2ea53e003163338a403d5afbb2046cafb8f3abe9.
Diffstat (limited to 'ld/testsuite/ld-aarch64')
-rw-r--r--ld/testsuite/ld-aarch64/aarch64-elf.exp6
-rw-r--r--ld/testsuite/ld-aarch64/reloc-overflow-1.s14
-rw-r--r--ld/testsuite/ld-aarch64/reloc-overflow-2.s5
-rw-r--r--ld/testsuite/ld-aarch64/reloc-overflow-bad.d4
4 files changed, 2 insertions, 27 deletions
diff --git a/ld/testsuite/ld-aarch64/aarch64-elf.exp b/ld/testsuite/ld-aarch64/aarch64-elf.exp
index d0b33cf..939539e 100644
--- a/ld/testsuite/ld-aarch64/aarch64-elf.exp
+++ b/ld/testsuite/ld-aarch64/aarch64-elf.exp
@@ -159,8 +159,6 @@ run_dump_test "emit-relocs-537"
run_dump_test "emit-relocs-537-overflow"
run_dump_test "emit-relocs-538"
-run_dump_test "reloc-overflow-bad"
-
# test addend correctness when --emit-relocs specified for non-relocatable obj.
run_dump_test "emit-relocs-local-addend"
# test addend correctness when -r specified.
@@ -283,9 +281,9 @@ run_dump_test "plt_mapping_symbol"
set aarch64elflinktests {
{"ld-aarch64/so with global symbol" "-shared" "" "" {copy-reloc-so.s}
- {} "copy-reloc-so.so"}
+ {} "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"}
+ {copy-reloc-exe.s} {{objdump -R copy-reloc.d}} "copy-reloc"}
}
run_ld_link_tests $aarch64elflinktests
diff --git a/ld/testsuite/ld-aarch64/reloc-overflow-1.s b/ld/testsuite/ld-aarch64/reloc-overflow-1.s
deleted file mode 100644
index 9f85fd8..0000000
--- a/ld/testsuite/ld-aarch64/reloc-overflow-1.s
+++ /dev/null
@@ -1,14 +0,0 @@
- .file "1.c"
- .text
- .align 2
- .p2align 3,,7
- .global dec
- .arch armv8-a+fp+simd
- //.tune generic
- .type dec, %function
-dec:
- adrp x0, var_2
- ldr w0, [x0, #:lo12:var_2]
- ret
- .size dec, .-dec
- .ident "GCC: (GNU) 6.0.0 20160208 (experimental) [trunk revision 233206]"
diff --git a/ld/testsuite/ld-aarch64/reloc-overflow-2.s b/ld/testsuite/ld-aarch64/reloc-overflow-2.s
deleted file mode 100644
index 4956f01..0000000
--- a/ld/testsuite/ld-aarch64/reloc-overflow-2.s
+++ /dev/null
@@ -1,5 +0,0 @@
- .file "2.c"
- .comm var_3,1,1
- .comm var_2,1,1
- .comm var_1,1,1
- .ident "GCC: (GNU) 6.0.0 20160208 (experimental) [trunk revision 233206]"
diff --git a/ld/testsuite/ld-aarch64/reloc-overflow-bad.d b/ld/testsuite/ld-aarch64/reloc-overflow-bad.d
deleted file mode 100644
index 39f7e31..0000000
--- a/ld/testsuite/ld-aarch64/reloc-overflow-bad.d
+++ /dev/null
@@ -1,4 +0,0 @@
-#source: reloc-overflow-1.s
-#source: reloc-overflow-2.s
-#ld: -e0
-#error: .*One possible cause.*