From a370f9b4e07f19e20b1a23c30a0092492039a35c Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Sun, 12 Mar 2023 09:51:55 -0500 Subject: [PATCH] gcc/config/riscv64: Drop custom architecture defines for Haiku * We decided to go with the more standadard __riscv, __riscv_xlen * No references to these in Haiku source code Change-Id: Ia3aa9c239a5313f404fad1163fac3334a10f0eb4 Reviewed-on: https://review.haiku-os.org/c/buildtools/+/6199 Reviewed-by: X512 Reviewed-by: Fredrik Holmqvist Reviewed-by: waddlesplash --- gcc/gcc/config/riscv/haiku.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gcc/gcc/config/riscv/haiku.h b/gcc/gcc/config/riscv/haiku.h index 205c8fddd2..0dfb3c544e 100644 --- a/gcc/gcc/config/riscv/haiku.h +++ b/gcc/gcc/config/riscv/haiku.h @@ -22,12 +22,6 @@ along with GCC; see the file COPYING3. If not see do \ { \ builtin_define ("__HAIKU__"); \ - if (POINTER_SIZE == 64) \ - builtin_define ("__riscv64__"); \ - else \ - builtin_define ("__riscv32__"); \ - builtin_define ("__RISCV__"); \ - builtin_define ("__riscv__"); \ builtin_define ("__stdcall=__attribute__((__stdcall__))"); \ builtin_define ("__cdecl=__attribute__((__cdecl__))"); \ builtin_define ("__STDC_ISO_10646__=201103L"); \