Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc riscv wants netbsd-stdint.h's CHA...



details:   https://anonhg.NetBSD.org/src/rev/bde8b32bb1c9
branches:  trunk
changeset: 996850:bde8b32bb1c9
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 10 07:55:57 2019 +0000

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

diffstat:

 external/gpl3/gcc/dist/gcc/config.gcc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 28e7bde25e25 -r bde8b32bb1c9 external/gpl3/gcc/dist/gcc/config.gcc
--- a/external/gpl3/gcc/dist/gcc/config.gcc     Sun Feb 10 07:28:06 2019 +0000
+++ b/external/gpl3/gcc/dist/gcc/config.gcc     Sun Feb 10 07:55:57 2019 +0000
@@ -2157,8 +2157,8 @@
        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" ;;



Home | Main Index | Thread Index | Old Index