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

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 12:59:18 PDT 2015


Thanks!

On 1 October 2015 at 15:39, Rui Ueyama via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: ruiu
> Date: Thu Oct  1 14:39:02 2015
> New Revision: 249059
>
> URL: http://llvm.org/viewvc/llvm-project?rev=249059&view=rev
> Log:
> ELF2: Use -soname to create a test .so file. Remove the .so binary from repository.
>
> Removed:
>     lld/trunk/test/elf2/Inputs/soname.so
> Modified:
>     lld/trunk/test/elf2/soname.s
>
> Removed: lld/trunk/test/elf2/Inputs/soname.so
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/Inputs/soname.so?rev=249058&view=auto
> ==============================================================================
> Binary files lld/trunk/test/elf2/Inputs/soname.so (original) and lld/trunk/test/elf2/Inputs/soname.so (removed) differ
>
> Modified: lld/trunk/test/elf2/soname.s
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/soname.s?rev=249059&r1=249058&r2=249059&view=diff
> ==============================================================================
> --- lld/trunk/test/elf2/soname.s (original)
> +++ lld/trunk/test/elf2/soname.s Thu Oct  1 14:39:02 2015
> @@ -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)
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list