Module Name:    src
Committed By:   mrg
Date:           Sun Feb 10 07:55:57 UTC 2019

Modified Files:
        src/external/gpl3/gcc/dist/gcc: config.gcc

Log Message:
riscv wants netbsd-stdint.h's CHAR_FAST8=1 and SHORT_FAST16=1.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/external/gpl3/gcc/dist/gcc/config.gcc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config.gcc
diff -u src/external/gpl3/gcc/dist/gcc/config.gcc:1.50 src/external/gpl3/gcc/dist/gcc/config.gcc:1.51
--- src/external/gpl3/gcc/dist/gcc/config.gcc:1.50	Sat Feb  9 20:57:17 2019
+++ src/external/gpl3/gcc/dist/gcc/config.gcc	Sun Feb 10 07:55:57 2019
@@ -2157,8 +2157,8 @@ riscv*-*-elf* | riscv*-*-rtems*)
 	gcc_cv_initfini_array=yes
 	;;
 riscv*-*-netbsd*)				# NetBSD RISC-V
-	# XXXMRG not ported yet, copied from old config
 	tm_file="elfos.h ${tm_file} ${nbsd_tm_file} riscv/netbsd.h"
+	tm_defines="${tm_defines} CHAR_FAST8=1 SHORT_FAST16=1"
 	case ${target} in
 	  riscv32*) tm_defines="${tm_defines} TARGET_64BIT_DEFAULT=0" ;;
 	  *) tmake_file="${tmake_file} riscv/t-netbsd64" ;;

Reply via email to