Mercurial > hg > CbC > CbC_llvm
view lld/test/ELF/i386-reloc8-reloc16-addend.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 |
line wrap: on
line source
# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=i386-pc-linux-gnu %s -o %t1.o # RUN: ld.lld -Ttext=0x0 %t1.o -o %t.out # RUN: llvm-objdump -s -t %t.out | FileCheck %s ## 0x3 + addend(-1) = 0x02 ## 0x3 + addend(-2) = 0x0100 # CHECK: SYMBOL TABLE: # CHECK-NEXT: 00000003 l .und 00000000 und # CHECK: Contents of section .text: # CHECK-NEXT: 0000 020100 .byte und-1 .short und-2 .section .und, "ax" und: