]> granicus.if.org Git - clang/commit
[RISCV] Default to ilp32d/lp64d in RISC-V Linux
authorRoger Ferrer Ibanez <rofirrim@gmail.com>
Tue, 10 Sep 2019 07:57:36 +0000 (07:57 +0000)
committerRoger Ferrer Ibanez <rofirrim@gmail.com>
Tue, 10 Sep 2019 07:57:36 +0000 (07:57 +0000)
commiteb06b4f75e856bb4196c9625a52492dad28cbac1
tree17e22a8c8e8529c3d8c1e06bcb612405f4c4c40b
parentfeeefa0c46345234f1e5527efe0140d6699ef8ab
[RISCV] Default to ilp32d/lp64d in RISC-V Linux

When running clang as a native compiler in RISC-V Linux the flag
-mabi=ilp32d / -mabi=lp64d is always mandatory. This change makes it the
default there.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371494 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Arch/RISCV.cpp
test/Driver/riscv32-toolchain.c
test/Driver/riscv64-toolchain.c
test/Preprocessor/riscv-target-features.c