Mercurial > hg > CbC > CbC_llvm
view lld/test/ELF/i386-relax-reloc.s @ 192:d7606dcf6fce
Added tag llvm10 for changeset 0572611fdcc8
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 18:01:34 +0900 |
parents | 0572611fdcc8 |
children | c4bab56944e8 |
line wrap: on
line source
// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o -relax-relocations // RUN: ld.lld -shared %t.o -o %t.so // RUN: llvm-readelf -S %t.so | FileCheck --check-prefix=SEC %s // RUN: llvm-objdump -d --no-show-raw-insn %t.so | FileCheck %s // SEC: .got PROGBITS 000021f0 // SEC-NEXT: .got.plt PROGBITS 000031f4 // CHECK: <foo>: // CHECK-NEXT: 1194: movl -4100(%ebx), %eax // CHECK-NEXT: movl -4092(%ebx), %eax foo: movl bar@GOT(%ebx), %eax movl bar+8@GOT(%ebx), %eax