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

11 lines
259 B
ArmAsm

# REQUIRES: x86
# RUN: rm -f %t.a
# RUN: llvm-ar rc %t.a
# RUN: ld.lld -m elf_x86_64 %t.a -o %t -r
# RUN: llvm-readobj -file-headers %t | FileCheck %s
# CHECK: Format: ELF64-x86-64
# CHECK: Arch: x86_64
# CHECK: AddressSize: 64bit
# CHECK: Type: Relocatable