]> granicus.if.org Git - clang/commit
[PowerPC] Fix ELF interpreter name for powerpc64le-linux
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 20 Jun 2014 14:19:02 +0000 (14:19 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 20 Jun 2014 14:19:02 +0000 (14:19 +0000)
commitfed94e680c885aae7c008075951410793f9cbf79
tree9c4f38c94d44e6f0c700d95d2fec5d2b561fe51c
parent0616bd1bc5cecb43490013e19d79874b998eacdf
[PowerPC] Fix ELF interpreter name for powerpc64le-linux

On PowerPC LE the system uses the /lib64/ld64.so.2 dynamic linker name
instead of /lib64/ld64.so.1 (to indicate the ELFv2 ABI version).

This fixes the clang driver to pass the appropriate -dynamic-linker
setting, and adds some more tests to linux-ld.c.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211360 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/Inputs/ubuntu_14.04_multiarch_tree/usr/lib/powerpc64le-linux-gnu/crt1.o [new file with mode: 0644]
test/Driver/Inputs/ubuntu_14.04_multiarch_tree/usr/lib/powerpc64le-linux-gnu/crti.o [new file with mode: 0644]
test/Driver/Inputs/ubuntu_14.04_multiarch_tree/usr/lib/powerpc64le-linux-gnu/crtn.o [new file with mode: 0644]
test/Driver/linux-ld.c