freebsd-dev/usr.bin/xlint/lint1
Ruslan Bukin ca20f8ec29 o Replace __riscv__ with __riscv
o Replace __riscv64 with (__riscv && __riscv_xlen == 64)

This is required to support new GCC 7.1 compiler.
This is compatible with current GCC 6.1 compiler.

RISC-V is extensible ISA and the idea here is to have built-in define
per each extension, so together with __riscv we will have some subset
of these as well (depending on -march string passed to compiler):

__riscv_compressed
__riscv_atomic
__riscv_mul
__riscv_div
__riscv_muldiv
__riscv_fdiv
__riscv_fsqrt
__riscv_float_abi_soft
__riscv_float_abi_single
__riscv_float_abi_double
__riscv_cmodel_medlow
__riscv_cmodel_medany
__riscv_cmodel_pic
__riscv_xlen

Reviewed by:	ngie
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D11901
2017-08-07 14:09:57 +00:00
..
cgram.y
decl.c Use roundup2() macro from sys/param.h. 2016-04-22 06:23:23 +00:00
emit1.c
emit.c
err.c
externs1.h
func.c Cleanup unnecessary semicolons from utilities we all love. 2016-04-15 22:31:22 +00:00
init.c xlint(1): Fix some typos in comments and translate some german 2015-08-11 02:58:33 +00:00
lint1.h xlint(1): Fix some typos in comments and translate some german 2015-08-11 02:58:33 +00:00
lint.h xlint(1): Fix some typos in comments and translate some german 2015-08-11 02:58:33 +00:00
main1.c
Makefile Use LIBEXECDIR for /usr/libexec. 2015-11-26 01:14:40 +00:00
Makefile.depend DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
makeman
mem1.c
op.h
param.h o Replace __riscv__ with __riscv 2017-08-07 14:09:57 +00:00
scan.l xlint(1): Fix some typos in comments and translate some german 2015-08-11 02:58:33 +00:00
tree.c xlint(1): Fix some typos in comments and translate some german 2015-08-11 02:58:33 +00:00