GNU toolchain for RISC-V, including GCC
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
1.0 KiB

--- original-glibc/scripts/config.sub
+++ glibc/scripts/config.sub
@@ -302,6 +302,7 @@ case $basic_machine in
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle \
| pyramid \
+ | riscv \
| rl78 | rx \
| score \
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
--- original-glibc/shlib-versions
+++ glibc/shlib-versions
@@ -25,6 +25,7 @@ s390x-.*-linux.* DEFAULT GLIBC_
powerpc64-.*-linux.* DEFAULT GLIBC_2.3
powerpc.*le-.*-linux.* DEFAULT GLIBC_2.17
.*-.*-gnu-gnu.* DEFAULT GLIBC_2.2.6
+riscv-.*-linux.* DEFAULT GLIBC_2.20
# Configuration Library=version Earliest symbol set (optional)
# ------------- --------------- ------------------------------
--- original-glibc/sunrpc/rpc_main.c
+++ glibc/sunrpc/rpc_main.c
@@ -38,7 +38,9 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#ifndef __APPLE__
#include <libintl.h>
+#endif
#include <locale.h>
#include <ctype.h>
#include <sys/types.h>