Mercurial > hg > CbC > CbC_llvm
view lld/test/ELF/i386-gotpc-dynamic.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 | 1d019706d866 |
children | c4bab56944e8 |
line wrap: on
line source
# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o # RUN: ld.lld --hash-style=sysv %t.o -o %t.so -shared # RUN: llvm-readelf -S %t.so | FileCheck %s # RUN: llvm-objdump -d %t.so | FileCheck --check-prefix=DISASM %s # CHECK: .got.plt PROGBITS 00003190 ## 0x3190 - 0x1158 = 8248 # DISASM: 1158: {{.*}} movl $8248, %eax .section .foo,"ax",@progbits foo: movl $bar@got-., %eax # R_386_GOTPC .local bar bar: