[all-commits] [llvm/llvm-project] 0010ea: [Driver] Fix incorrect GNU triplet for PowerPC on ...

Aaron Puchert via All-commits all-commits at lists.llvm.org
Sat Nov 23 07:02:46 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0010ea4224c7ff6b5aebeecacf10a7ced7d390b7
      https://github.com/llvm/llvm-project/commit/0010ea4224c7ff6b5aebeecacf10a7ced7d390b7
  Author: Aaron Puchert <aaronpuchert at alice-dsl.net>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M clang/lib/Driver/ToolChains/Gnu.cpp
    A clang/test/Driver/Inputs/opensuse_tumbleweed_ppc_tree/usr/lib/crt1.o
    A clang/test/Driver/Inputs/opensuse_tumbleweed_ppc_tree/usr/lib/crti.o
    A clang/test/Driver/Inputs/opensuse_tumbleweed_ppc_tree/usr/lib/crtn.o
    A clang/test/Driver/Inputs/opensuse_tumbleweed_ppc_tree/usr/lib/gcc/powerpc64-suse-linux/9/crtbegin.o
    A clang/test/Driver/Inputs/opensuse_tumbleweed_ppc_tree/usr/lib/gcc/powerpc64-suse-linux/9/crtend.o
    M clang/test/Driver/linux-ld.c

  Log Message:
  -----------
  [Driver] Fix incorrect GNU triplet for PowerPC on SUSE Linux

Summary:
On SUSE distributions for 32-bit PowerPC, gcc is configured
as a 64-bit compiler using the GNU triplet "powerpc64-suse-linux",
but invoked with "-m32" by default. Thus, the correct GNU triplet
for 32-bit PowerPC SUSE distributions is "powerpc64-suse-linux"
and not "powerpc-suse-linux".

Reviewers: jrtc27, nemanjai, glaubitz

Reviewed By: nemanjai

Differential Revision: https://reviews.llvm.org/D55326




More information about the All-commits mailing list