aboutsummaryrefslogtreecommitdiff
path: root/lld/test/ELF/i386-pc8.s
blob: db3bcac2aa632afd2464d7b4221f454c8cb2ff61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 --section=.text %t.out | FileCheck %s

# CHECK:      Contents of section .text:
# CHECK-NEXT:  0000 15253748

.byte und-.+0x11
.byte und-.+0x22
.byte und+0x33
.byte und+0x44

.section .und, "ax"
und: