1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=i386-pc-linux-gnu %s -o %t1.o 3 4# RUN: ld.lld -Ttext=0x0 %t1.o -o %t.out 5# RUN: llvm-objdump -s -t %t.out | FileCheck %s 6## 0x3 + addend(-1) = 0x02 7## 0x3 + addend(-2) = 0x0100 8# CHECK: SYMBOL TABLE: 9# CHECK-NEXT: 00000003 l .und 00000000 und 10# CHECK: Contents of section .text: 11# CHECK-NEXT: 0000 020100 12 13.byte und-1 14.short und-2 15 16.section .und, "ax" 17und: 18