brintos

brintos / llvm-project-archived public Read only

0
0
Text · 527 B · 1db4939 Raw
17 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o3// RUN: ld.lld -shared %t.o -o %t.so4// RUN: llvm-readelf -S %t.so | FileCheck --check-prefix=SEC %s5// RUN: llvm-objdump --no-print-imm-hex -d --no-show-raw-insn %t.so | FileCheck %s6 7// SEC:      .got PROGBITS 000021f08// SEC:      .got.plt PROGBITS 000031f49 10// CHECK: <foo>:11// CHECK-NEXT: 1194: movl    -4100(%ebx), %eax12// CHECK-NEXT:       movl    -4092(%ebx), %eax13 14foo:15        movl bar@GOT(%ebx), %eax16        movl bar+8@GOT(%ebx), %eax17