[mips][mips64r6] Add support for mips-img-linux-gnu GCC toolchains
authorDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 10 Jul 2014 14:40:57 +0000 (14:40 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 10 Jul 2014 14:40:57 +0000 (14:40 +0000)
commit2bf1366ca64a22d29bac1c29b099e135d656dd9b
tree2ef447a27af3a7409d356471226b1d3a77c0e0e4
parentfee2adefbac0d10c79d86de4b9bb0ba1c491345a
[mips][mips64r6] Add support for mips-img-linux-gnu GCC toolchains

Summary:
* Support the multilib layout used by the mips-img-linux-gnu
* Recognize mips{,64}{,el}-img-linux-gnu as being aliases of mips-img-linux-gnu
* Use the correct dynamic linker for mips-img-linux-gnu
* Make mips32r6/mips64r6 the default CPU for mips-img-linux-gnu

Subscribers: mpf

Differential Revision: http://reviews.llvm.org/D4436

llvm-svn: 212719
57 files changed:
clang/lib/Driver/ToolChains.cpp
clang/lib/Driver/Tools.cpp
clang/lib/Driver/Tools.h
clang/test/Driver/Inputs/mips_img_tree/bin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/crtbegin.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/crtend.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/el/crtbegin.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/el/crtend.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/include-fixed/el/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/include-fixed/mips64r6/64/el/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/include-fixed/mips64r6/el/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/include/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/mips64r6/64/crtbegin.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/mips64r6/64/crtend.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/mips64r6/64/el/crtbegin.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/mips64r6/64/el/crtend.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/mips64r6/crtbegin.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/mips64r6/crtend.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/mips64r6/el/crtbegin.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/mips64r6/el/crtend.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/mips-img-linux-gnu/bin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/mips-img-linux-gnu/include/c++/4.9.0/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/mips-img-linux-gnu/lib/el/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/mips-img-linux-gnu/lib/mips64r6/64/el/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/mips-img-linux-gnu/lib/mips64r6/el/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/el/usr/bin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/el/usr/lib/crt1.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/el/usr/lib/crti.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/el/usr/lib/crtn.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/el/usr/sbin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/el/usr/bin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/el/usr/lib/crt1.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/el/usr/lib/crti.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/el/usr/lib/crtn.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/el/usr/sbin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/usr/bin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/usr/lib/crt1.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/usr/lib/crti.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/usr/lib/crtn.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/usr/sbin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/el/usr/bin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/el/usr/lib/crt1.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/el/usr/lib/crti.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/el/usr/lib/crtn.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/el/usr/sbin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/usr/bin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/usr/lib/crt1.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/usr/lib/crti.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/usr/lib/crtn.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/usr/sbin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/usr/bin/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/usr/include/.keep [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/usr/lib/crt1.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/usr/lib/crti.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/usr/lib/crtn.o [new file with mode: 0644]
clang/test/Driver/Inputs/mips_img_tree/sysroot/usr/sbin/.keep [new file with mode: 0644]
clang/test/Driver/mips-img.cpp [new file with mode: 0644]