Files
clang-p2996/lld/test/ELF/linkerscript/linkerscript-undef.s
2016-07-24 23:29:18 +00:00

12 lines
328 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: echo "SECTIONS { patatino = 0x1234; }" > %t.script
# RUN: ld.lld -o %t1 --script %t.script %t
# RUN: llvm-objdump -t %t1 | FileCheck %s
# CHECK: 0000000000001234 *ABS* 00000000 patatino
.global _start
_start:
call patatino