2 # RUN: rm -rf %t && split-file %s %t && cd %t
3 # RUN: llvm-mc -filetype=obj -triple=x86_64 a.s -o a.o
4 # RUN: llvm-mc -filetype=obj -triple=x86_64 b.s -o b.o
5 # RUN: ld.lld b.o -o b.so -shared -soname=b.so
6 # RUN: ld.lld -T a.t a.o b.so -o a
7 # RUN: llvm-readelf -s a | FileCheck %s
9 # CHECK: 000000000000002a 0 NOTYPE GLOBAL DEFAULT ABS f1
10 # CHECK: 000000000000002a 0 NOTYPE GLOBAL DEFAULT ABS f2
30 . = . + SIZEOF_HEADERS;