summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/chroot.s
blob: 8c97e99af4dc55305fa1a8a3573400e3171980a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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
OpenPOWER on IntegriCloud