]> granicus.if.org Git - clang/commit
Support cross linking to arm on ubuntu.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 28 Oct 2013 18:52:30 +0000 (18:52 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 28 Oct 2013 18:52:30 +0000 (18:52 +0000)
commitba37ef953253e537147aaba68ee449dd63c67963
tree6092b406b8a4c3b82b1dc510a4b65067a1e48164
parent0e7a1cf16c361cd247e31472c253663f6ae32feb
Support cross linking to arm on ubuntu.

With this patch we correctly determine that ubuntu's ARM tree is not biarch
and use "lib" istead of "lib32".

Without this patch the search inside the arm tree for the crt files was failing
and we would end up trying to use the i686 ones in lib32.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193528 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
lib/Driver/ToolChains.cpp
test/Driver/Inputs/fedora_18_tree/etc/redhat-release [new file with mode: 0644]
test/Driver/Inputs/x86-64_ubuntu_13.10/etc/debian_version [new file with mode: 0644]
test/Driver/Inputs/x86-64_ubuntu_13.10/lib/.keep [new file with mode: 0644]
test/Driver/Inputs/x86-64_ubuntu_13.10/usr/arm-linux-gnueabi/lib/crt1.o [new file with mode: 0644]
test/Driver/Inputs/x86-64_ubuntu_13.10/usr/arm-linux-gnueabi/lib/crti.o [new file with mode: 0644]
test/Driver/Inputs/x86-64_ubuntu_13.10/usr/arm-linux-gnueabi/lib/crtn.o [new file with mode: 0644]
test/Driver/Inputs/x86-64_ubuntu_13.10/usr/arm-linux-gnueabihf/lib/crt1.o [new file with mode: 0644]
test/Driver/Inputs/x86-64_ubuntu_13.10/usr/arm-linux-gnueabihf/lib/crti.o [new file with mode: 0644]
test/Driver/Inputs/x86-64_ubuntu_13.10/usr/arm-linux-gnueabihf/lib/crtn.o [new file with mode: 0644]
test/Driver/Inputs/x86-64_ubuntu_13.10/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/crtbegin.o [new file with mode: 0644]
test/Driver/Inputs/x86-64_ubuntu_13.10/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/crtend.o [new file with mode: 0644]
test/Driver/Inputs/x86-64_ubuntu_13.10/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/crtbegin.o [new file with mode: 0644]
test/Driver/Inputs/x86-64_ubuntu_13.10/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/crtend.o [new file with mode: 0644]
test/Driver/cross-linux.c
test/Driver/linux-ld.c