summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2019-06-27 23:00:30 +0000
committerLang Hames <lhames@gmail.com>2019-06-27 23:00:30 +0000
commitc29abb50f29d4acccbc72113f3e58816ff629316 (patch)
treef6fca990681e75aa32c9a1e8d8c6db08a27d6bff /llvm/test/ExecutionEngine
parent13fde7a89a53d5a9ed77579b038eb39bcf8975a1 (diff)
downloadbcm5719-llvm-c29abb50f29d4acccbc72113f3e58816ff629316.tar.gz
bcm5719-llvm-c29abb50f29d4acccbc72113f3e58816ff629316.zip
Revert "[JITLink][MachO/x86-64] Add a testcase for X86_64_RELOC_GOT."
Reverts commit r364600 while I investigate bot failures. llvm-svn: 364606
Diffstat (limited to 'llvm/test/ExecutionEngine')
-rw-r--r--llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_relocations.s12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_relocations.s b/llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_relocations.s
index 7f206cc90e1..c1792f65b8b 100644
--- a/llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_relocations.s
+++ b/llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_relocations.s
@@ -129,18 +129,6 @@ Lanon_minuend_quad:
Lanon_minuend_long:
.long Lanon_minuend_long - named_data + 2
-# Check X86_64_RELOC_GOT handling.
-# X86_64_RELOC_GOT is the data-section counterpart to X86_64_RELOC_GOTLD. It is
-# handled exactly the same way, including having an implicit PC-rel offset of -4
-# (despite this not making sense in a data section, and requiring an explicit
-# +4 addend to cancel it out and get the correct result).
-#
-# jitlink-check: *{4}test_got = got_addr(macho_reloc.o, external_data) - test_got
- .globl test_got
- .p2align 2
-test_got:
- .long external_data@GOTPCREL + 4
-
# Named quad storage target (first named atom in __data).
.globl named_data
.p2align 3
OpenPOWER on IntegriCloud