⛏️ index : buildtools.git

author Alexander von Gluck IV <kallisti5@unixzen.com> 2023-03-12 9:51:55.0 -05:00:00
committer Alex von Gluck IV <kallisti5@unixzen.com> 2023-03-13 18:21:45.0 +00:00:00
commit
a370f9b4e07f19e20b1a23c30a0092492039a35c [patch]
tree
3d97705c37ab705f2d667b99f2b616efd4ee9109
parent
934127e8f171c26242a8d5ad3e8f871ca5a48a29
download
a370f9b4e07f19e20b1a23c30a0092492039a35c.tar.gz

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 <danger_mail@list.ru>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>

Diff

 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 205c8fd..0dfb3c5 100644
--- a/gcc/gcc/config/riscv/haiku.h
+++ a/gcc/gcc/config/riscv/haiku.h
@@ -22,12 +22,6 @@
  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"); \