ELF2: Use -soname to create a test .so file. Remove the .so binary from repository.

llvm-svn: 249059
This commit is contained in:
Rui Ueyama 2015-10-01 19:39:02 +00:00
parent 7de3f3719a
commit b9287b1fba
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -1,5 +1,6 @@
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: lld -flavor gnu2 %t.o %p/Inputs/soname.so -o %t
// RUN: lld -flavor gnu2 %t.o -shared -soname=bar -o %t.so
// RUN: lld -flavor gnu2 %t.o %t.so -o %t
// RUN: llvm-readobj --dynamic-table %t | FileCheck %s
// CHECK: 0x0000000000000001 NEEDED SharedLibrary (bar)