1 # RUN: llvm-mc -triple=x86_64-unknown-linux -position-independent \
2 # RUN: -filetype=obj -o %t.o %s
3 # RUN: llvm-jitlink -noexec -check=%s %t.o
5 # jitlink-check: decode_operand(main, 4) = _GLOBAL_OFFSET_TABLE_ - next_pc(main)
8 .section .text.main,"ax",@progbits
13 leal _GLOBAL_OFFSET_TABLE_
(%rip
), %ebx
17 .size main, .Lfunc_end0-main