xref: /aosp_15_r20/external/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF-relaxed.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %T/file.o %p/Inputs/ELF_STT_FILE_GLOBAL.s
2# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj -o %T/relaxed.o %s
3# RUN: llvm-rtdyld -triple=x86_64-pc-linux -verify %T/file.o %T/relaxed.o
4
5# Test that RTDyldELF does not crash with 'unimplemented relocation'
6
7_main:
8    movq    foo.c@GOTPCREL(%rip), %rax
9