1 // RUN: echo -e ".text\ncallq foo\n" | llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %t1.o
2 // RUN: ld.lld --defsym foo=0x100 %t1.o -o %t2
3 // RUN: llvm-objdump --disassemble %t2 | FileCheck %s
4 CHECK: 201000: e8 fb f0 df ff callq -2100997 <foo>