mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
This target triple was weird on multiple levels: * The `ilp32` ABI is the soft float ABI. This is not the main ABI we want to support on RISC-V; rather, we want `ilp32d`. * `gnuilp32` is a bespoke tag that was introduced in Zig. The rest of the world just uses `gnu` for RISC-V target triples. * `gnu_ilp32` is already the name of an ILP32 ABI used on AArch64. `gnuilp32` is too easy to confuse with this. * We don't use this convention for `riscv64-linux-gnu`. * Supporting all RISC-V ABIs with this convention will result in combinatorial explosion; see #20690.
22 lines
No EOL
656 B
C
Vendored
22 lines
No EOL
656 B
C
Vendored
/* This file is automatically generated.
|
|
It defines macros to allow user program to find the shared
|
|
library files which come as part of GNU libc. */
|
|
#ifndef __GNU_LIB_NAMES_H
|
|
#define __GNU_LIB_NAMES_H 1
|
|
|
|
#include <bits/wordsize.h>
|
|
|
|
#if __WORDSIZE == 32 && defined __riscv_float_abi_soft
|
|
# include <gnu/lib-names-ilp32.h>
|
|
#endif
|
|
#if __WORDSIZE == 32 && defined __riscv_float_abi_double
|
|
# include <gnu/lib-names-ilp32d.h>
|
|
#endif
|
|
#if __WORDSIZE == 64 && defined __riscv_float_abi_soft
|
|
# include <gnu/lib-names-lp64.h>
|
|
#endif
|
|
#if __WORDSIZE == 64 && defined __riscv_float_abi_double
|
|
# include <gnu/lib-names-lp64d.h>
|
|
#endif
|
|
|
|
#endif /* gnu/lib-names.h */ |