zig/deps/lld/test/ELF/chroot.s

13 lines
306 B
ArmAsm
Raw Normal View History

2018-01-18 06:29:21 +08:00
# REQUIRES: x86
# RUN: rm -rf %t.dir
# RUN: mkdir %t.dir
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.dir/chroot.o
# RUN: ld.lld --chroot %t.dir -o %t.exe /chroot.o
# RUN: echo 'INPUT(/chroot.o)' > %t.dir/scr
# RUN: ld.lld --chroot %t.dir -o %t.exe /scr
.globl _start
_start:
ret