3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
4 # RUN: ld.lld %t.o -o %t1.exe -Ttext=0x10000
6 # RUN: ld.lld -just-symbols=%t1.exe -o %t2.exe
7 # RUN: llvm-readelf -s %t2.exe | FileCheck %s
9 # CHECK: 0000000000010000 0 NOTYPE GLOBAL DEFAULT ABS foo
10 # CHECK: 0000000000011001 40 OBJECT GLOBAL DEFAULT ABS bar