19 lines · plain
1// REQUIRES: x862 3// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o4// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/shared.s -o %t2.o5// RUN: ld.lld -shared %t2.o -o %t2.so6// RUN: ld.lld %t.o %t2.so -o %t7// RUN: llvm-readobj -r %t | FileCheck %s8// RUN: ld.lld %t2.so %t.o -o %t9// RUN: llvm-readobj -r %t | FileCheck %s10 11// CHECK: Relocations [12// CHECK-NEXT: ]13 14.global _start15_start:16callq bar17.hidden bar18.weak bar19