[all-commits] [llvm/llvm-project] 9816e7: [Driver][RISCV] Add RedHat Linux RISC-V triple

Luís Marques via All-commits all-commits at lists.llvm.org
Fri Feb 14 05:47:12 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9816e726e747d72e0c5ac92aa20e652031a10448
      https://github.com/llvm/llvm-project/commit/9816e726e747d72e0c5ac92aa20e652031a10448
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

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

  Log Message:
  -----------
  [Driver][RISCV] Add RedHat Linux RISC-V triple

Summary: Adds the RedHat Linux triple to the list of 64-bit RISC-V triples.
Without this the gcc libraries wouldn't be found by clang on a redhat/fedora
system, as the search list included `/usr/lib/gcc/riscv64-redhat-linux-gnu`
but the correct path didn't include the `-gnu` suffix.

Reviewers: lenary, asb, dlj
Reviewed By: lenary
Tags: #clang
Differential Revision: https://reviews.llvm.org/D74399




More information about the All-commits mailing list