brintos

brintos / llvm-project-archived public Read only

0
0
Text · 486 B · 9063b7f Raw
16 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o3// RUN: ld.lld %t.o -o %t.so -shared4// RUN: llvm-readelf -S %t.so | FileCheck %s5// RUN: llvm-objdump --no-print-imm-hex -d --no-show-raw-insn %t.so | FileCheck --check-prefix=DISASM %s6 7bar:8        movl    bar@GOTOFF(%ebx), %eax9        mov     bar@GOT, %eax10 11// CHECK: .got.plt          PROGBITS        000031e012 13// 0x1178 - 0x31e0 (.got.plt) = -829614 15// DISASM:  1178:       movl    -8296(%ebx), %eax16