llvm-for-llvmta/test/ExecutionEngine/RuntimeDyld/X86/ELF-relaxed.s

10 lines
393 B
ArmAsm

# RUN: rm -rf %t && mkdir -p %t
# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %t/file.o %p/Inputs/ELF_STT_FILE_GLOBAL.s
# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %t/relaxed.o %s
# RUN: llvm-rtdyld -triple=x86_64-pc-linux -verify %t/file.o %t/relaxed.o
# Test that RTDyldELF does not crash with 'unimplemented relocation'
_main:
movq foo.c@GOTPCREL(%rip), %rax