Subject: CVS commit: basesrc/usr.bin/xlint
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 01/03/2002 06:25:19
Module Name:	basesrc
Committed By:	thorpej
Date:		Thu Jan  3 04:25:19 UTC 2002

Modified Files:
	basesrc/usr.bin/xlint/lint1: decl.c externs1.h func.c scan.l
	basesrc/usr.bin/xlint/lint1/arch/alpha: targparam.h
	basesrc/usr.bin/xlint/lint1/arch/arm: targparam.h
	basesrc/usr.bin/xlint/lint1/arch/i386: targparam.h
	basesrc/usr.bin/xlint/lint1/arch/m68k: targparam.h
	basesrc/usr.bin/xlint/lint1/arch/mips: targparam.h
	basesrc/usr.bin/xlint/lint1/arch/ns32k: targparam.h
	basesrc/usr.bin/xlint/lint1/arch/powerpc: targparam.h
	basesrc/usr.bin/xlint/lint1/arch/sh3: targparam.h
	basesrc/usr.bin/xlint/lint1/arch/sparc: targparam.h
	basesrc/usr.bin/xlint/lint1/arch/sparc64: targparam.h
	basesrc/usr.bin/xlint/lint1/arch/vax: targparam.h
	basesrc/usr.bin/xlint/lint1/arch/x86_64: targparam.h
	basesrc/usr.bin/xlint/xlint: lint.1
Added Files:
	basesrc/usr.bin/xlint/lint1: ilp32.h lp64.h

Log Message:
* Add header files (ilp32.h and lp64.h) that describe the two
  models of type sizes that we currently support, and include
  the appropriate one in each arch's targparam.h.
* Use the type size constants provided by targparam.h in the
  type table, rather than using "sizeof(type) * CHAR_BIT" (which
  would get the host's type size, not the target's).  XXX Not
  yet done for floating point types.
* Add a new BITFIELDTYPE lint comment that suppresses illegal
  bitfield type errors if the type is an integer type (e.g.
  long, long long), and also suppresses non-portable bitfield
  type warnings.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 basesrc/usr.bin/xlint/lint1/decl.c
cvs rdiff -r1.11 -r1.12 basesrc/usr.bin/xlint/lint1/externs1.h
cvs rdiff -r1.15 -r1.16 basesrc/usr.bin/xlint/lint1/func.c
cvs rdiff -r0 -r1.1 basesrc/usr.bin/xlint/lint1/ilp32.h \
    basesrc/usr.bin/xlint/lint1/lp64.h
cvs rdiff -r1.21 -r1.22 basesrc/usr.bin/xlint/lint1/scan.l
cvs rdiff -r1.1 -r1.2 basesrc/usr.bin/xlint/lint1/arch/alpha/targparam.h
cvs rdiff -r1.2 -r1.3 basesrc/usr.bin/xlint/lint1/arch/arm/targparam.h
cvs rdiff -r1.1 -r1.2 basesrc/usr.bin/xlint/lint1/arch/i386/targparam.h
cvs rdiff -r1.1 -r1.2 basesrc/usr.bin/xlint/lint1/arch/m68k/targparam.h
cvs rdiff -r1.1 -r1.2 basesrc/usr.bin/xlint/lint1/arch/mips/targparam.h
cvs rdiff -r1.1 -r1.2 basesrc/usr.bin/xlint/lint1/arch/ns32k/targparam.h
cvs rdiff -r1.1 -r1.2 basesrc/usr.bin/xlint/lint1/arch/powerpc/targparam.h
cvs rdiff -r1.1 -r1.2 basesrc/usr.bin/xlint/lint1/arch/sh3/targparam.h
cvs rdiff -r1.1 -r1.2 basesrc/usr.bin/xlint/lint1/arch/sparc/targparam.h
cvs rdiff -r1.1 -r1.2 basesrc/usr.bin/xlint/lint1/arch/sparc64/targparam.h
cvs rdiff -r1.1 -r1.2 basesrc/usr.bin/xlint/lint1/arch/vax/targparam.h
cvs rdiff -r1.1 -r1.2 basesrc/usr.bin/xlint/lint1/arch/x86_64/targparam.h
cvs rdiff -r1.20 -r1.21 basesrc/usr.bin/xlint/xlint/lint.1

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