forked from OSchip/llvm-project
Some targets don't have lld built, so just use a binary copy
of the input file. llvm-svn: 335908
This commit is contained in:
parent
82e9ea5b49
commit
052ce120d5
Binary file not shown.
|
@ -1,4 +1,2 @@
|
|||
// RUN: echo -e ".text\ncallq foo\n" | llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %t1.o
|
||||
// RUN: ld.lld --defsym foo=0x100 %t1.o -o %t2
|
||||
// RUN: llvm-objdump --disassemble %t2 | FileCheck %s
|
||||
// RUN: llvm-objdump --disassemble %p/Inputs/call-absolute-symbol.elf-x86_64 | FileCheck %s
|
||||
CHECK: 201000: e8 fb f0 df ff callq -2100997 <foo>
|
||||
|
|
Loading…
Reference in New Issue