[all-commits] [llvm/llvm-project] 284c2e: [clang][MIPS] Fix search path for Debian multilib O32
YunQiang Su via All-commits
all-commits at lists.llvm.org
Thu Oct 28 00:24:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 284c2ebc5e057a0fda23257b899260d274e69a27
https://github.com/llvm/llvm-project/commit/284c2ebc5e057a0fda23257b899260d274e69a27
Author: YunQiang Su <wzssyqa at gmail.com>
Date: 2021-10-28 (Thu, 28 Oct 2021)
Changed paths:
M clang/lib/Driver/ToolChains/Gnu.cpp
M clang/lib/Driver/ToolChains/Linux.cpp
A clang/test/Driver/Inputs/debian_6_mips64_tree/libo32/.keep
A clang/test/Driver/Inputs/debian_6_mips64_tree/usr/lib/gcc/mips64-linux-gnuabi64/4.9/32/crtbegin.o
A clang/test/Driver/Inputs/debian_6_mips64_tree/usr/lib/gcc/mips64-linux-gnuabi64/4.9/32/crtend.o
A clang/test/Driver/Inputs/debian_6_mips64_tree/usr/lib/gcc/mips64-linux-gnuabi64/4.9/n32/crtbegin.o
A clang/test/Driver/Inputs/debian_6_mips64_tree/usr/lib/gcc/mips64-linux-gnuabi64/4.9/n32/crtend.o
A clang/test/Driver/Inputs/debian_6_mips64_tree/usr/lib/gcc/mips64el-linux-gnuabi64/4.9/32/crtbegin.o
A clang/test/Driver/Inputs/debian_6_mips64_tree/usr/lib/gcc/mips64el-linux-gnuabi64/4.9/32/crtend.o
A clang/test/Driver/Inputs/debian_6_mips64_tree/usr/lib/gcc/mips64el-linux-gnuabi64/4.9/n32/crtbegin.o
A clang/test/Driver/Inputs/debian_6_mips64_tree/usr/lib/gcc/mips64el-linux-gnuabi64/4.9/n32/crtend.o
A clang/test/Driver/Inputs/debian_6_mips64_tree/usr/libo32/crt1.o
A clang/test/Driver/Inputs/debian_6_mips64_tree/usr/libo32/crti.o
A clang/test/Driver/Inputs/debian_6_mips64_tree/usr/libo32/crtn.o
M clang/test/Driver/linux-ld.c
Log Message:
-----------
[clang][MIPS] Fix search path for Debian multilib O32
In the situation of multilib, the gcc objects are in a /32 directory. On
Debian, the libraries is under /libo32 to avoid confliction. This patch
enables clang find gcc in /32, and C lib in /libo32.
Differential Revision: https://reviews.llvm.org/D112158
More information about the All-commits
mailing list