summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-10-01 19:39:02 +0000
committerRui Ueyama <ruiu@google.com>2015-10-01 19:39:02 +0000
commitb9287b1fba572370eeb83f81e1d5aef8a3c5ba3b (patch)
treef532e7535b15eded247a4cda0f6859a2bfa4237c
parent7de3f3719a51e883d55de2bcffc1b8506f326b99 (diff)
downloadbcm5719-llvm-b9287b1fba572370eeb83f81e1d5aef8a3c5ba3b.tar.gz
bcm5719-llvm-b9287b1fba572370eeb83f81e1d5aef8a3c5ba3b.zip
ELF2: Use -soname to create a test .so file. Remove the .so binary from repository.
llvm-svn: 249059
-rwxr-xr-xlld/test/elf2/Inputs/soname.sobin1704 -> 0 bytes
-rw-r--r--lld/test/elf2/soname.s3
2 files changed, 2 insertions, 1 deletions
diff --git a/lld/test/elf2/Inputs/soname.so b/lld/test/elf2/Inputs/soname.so
deleted file mode 100755
index 475b0cf554d..00000000000
--- a/lld/test/elf2/Inputs/soname.so
+++ /dev/null
Binary files differ
diff --git a/lld/test/elf2/soname.s b/lld/test/elf2/soname.s
index f07d2468e46..ef87d51a847 100644
--- a/lld/test/elf2/soname.s
+++ b/lld/test/elf2/soname.s
@@ -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)
OpenPOWER on IntegriCloud