forked from OSchip/llvm-project
13 lines
306 B
ArmAsm
13 lines
306 B
ArmAsm
# 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
|