zig/deps/lld/test/ELF/i386-pc8.s
Andrew Kelley 4794281d64 embed LLD 5.0.0
This is 48aaa9f66120f72b5d7e4a90b32fee40a3386ce9 from the
git monorepo.
2017-08-27 17:46:59 -04:00

16 lines
346 B
ArmAsm

# 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: