config.gcc (*-*-netbsd*): New variable nbsd_tm_file containing netbsd.h, netbsd-stdin...
authorKrister Walfridsson <krister.walfridsson@gmail.com>
Sat, 30 Sep 2017 20:45:59 +0000 (20:45 +0000)
committerKrister Walfridsson <kristerw@gcc.gnu.org>
Sat, 30 Sep 2017 20:45:59 +0000 (20:45 +0000)
commitdfe2677b2732a912adafd5afe5981dd52e24b05a
treefd840e06d11add91d8797b385d3fca1934d69d5b
parentae3f9c32ae1f80e52318318fd749c0237c19e4e8
config.gcc (*-*-netbsd*): New variable nbsd_tm_file containing netbsd.h, netbsd-stdint.h, and netbsd-elf.h.

2017-09-30  Krister Walfridsson  <krister.walfridsson@gmail.com>
    Maya Rashish  <coypu@sdf.org>

* config.gcc (*-*-netbsd*): New variable nbsd_tm_file containing
netbsd.h, netbsd-stdint.h, and netbsd-elf.h.
(alpha*-*-netbsd*) Use nbsd_tm_file.
(arm*-*-netbsdelf*) Likewise.
(i[34567]86-*-netbsdelf*) Likewise.
(x86_64-*-netbsd*) Likewise.
(mips*-*-netbsd*) Likewise.
(powerpc-*-netbsd*) Likewise.
(sh*-*-netbsd*) Likewise.
(sparc-*-netbsdelf*) Likewise.
(sparc64-*-netbsd*) Likewise.
(m68k*-*-netbsdelf*) Use nbsd_tm_file and add CHAR_FAST8/SHORT_FAST16
to tm_defines.
(vax-*-netbsdelf*) Likewise.
* config/netbsd-stdint.h (INT_FAST8_TYPE): Check CHAR_FAST8.
(UINT_FAST8_TYPE) Likewise.
(INT_FAST16_TYPE) Check CHAR_FAST16.
(UINT_FAST16_TYPE) Likewise.

Co-Authored-By: Maya Rashish <coypu@sdf.org>
From-SVN: r253323
gcc/ChangeLog
gcc/config.gcc
gcc/config/netbsd-stdint.h