brintos

brintos / llvm-project-archived public Read only

0
0
Text · 395 B · 25c969d Raw
13 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3// RUN: ld.lld %t.o -shared -soname=bar -o %t.so4// RUN: ld.lld %t.o -shared --soname=bar -o %t2.so5// RUN: ld.lld %t.o %t.so %t2.so -o %t6// RUN: llvm-readobj --dynamic-table %t | FileCheck %s7 8// CHECK:  0x0000000000000001 NEEDED               Shared library: [bar]9// CHECK-NOT: NEEDED10 11.global _start12_start:13