diff options
| author | Rui Ueyama <ruiu@google.com> | 2015-10-01 19:39:02 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2015-10-01 19:39:02 +0000 |
| commit | b9287b1fba572370eeb83f81e1d5aef8a3c5ba3b (patch) | |
| tree | f532e7535b15eded247a4cda0f6859a2bfa4237c | |
| parent | 7de3f3719a51e883d55de2bcffc1b8506f326b99 (diff) | |
| download | bcm5719-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-x | lld/test/elf2/Inputs/soname.so | bin | 1704 -> 0 bytes | |||
| -rw-r--r-- | lld/test/elf2/soname.s | 3 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lld/test/elf2/Inputs/soname.so b/lld/test/elf2/Inputs/soname.so Binary files differdeleted file mode 100755 index 475b0cf554d..00000000000 --- a/lld/test/elf2/Inputs/soname.so +++ /dev/null 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) |

