2 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o
3 # RUN: ld.lld --hash-style=sysv %t.o -o %t.so -shared
4 # RUN: llvm-readelf -S %t.so | FileCheck %s
5 # RUN: llvm-objdump --no-print-imm-hex -d %t.so | FileCheck --check-prefix=DISASM %s
7 # CHECK: .got.plt PROGBITS 00003190
9 ## 0x3190 - 0x1158 = 8248
10 # DISASM: 1158: {{.*}} movl $8248, %eax
12 .section .foo,"ax",@progbits
14 movl $bar@got-
., %eax # R_386_GOTPC