3 ## Don't relax R_X86_64_GOTPCRELX to an absolute symbol.
4 ## In -no-pie mode, it can be relaxed, but it may not worth it.
6 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
7 # RUN: ld.lld %t.o -o %t.so -shared
8 # RUN: llvm-objdump --no-print-imm-hex -d %t.so | FileCheck %s
10 # CHECK: movq 4209(%rip), %rax
12 movq bar@GOTPCREL
(%rip
), %rax