Home | History | Annotate | only in /src/usr.bin/xlint/arch/vax
History log of /src/usr.bin/xlint/arch/vax
RevisionDateAuthorComments
 1.10 27-Jun-2021  rillig lint: fix typo in comment for target platform definitions
 1.9 24-Jan-2021  rillig lint: reduce preprocessor magic for platform target types
 1.8 09-Jan-2021  rillig lint: make target platform independent of host platform

If lint is run on a platform that has CHAR_BIT == 10, this doesn't
magically make an ILP32 platform have 40 bits per uint32_t.

At the moment, all of the supported platforms are either ILP32 or
I32LP64 anyway, and all of them have CHAR_BIT == 8 == CHAR_SIZE,
so nothing changes practically.
 1.7 09-Jan-2021  rillig lint: remove trailing whitespace
 1.6 27-Mar-2012  christos more cross lint friendlyness
XXX: needs more constants converted double/float
 1.5 11-Jul-2010  mrg branches: 1.5.6;
remove the remaining non-ELF code.
 1.4 20-Oct-2006  he The symbol to define to 1 if a pointer to an int fits in a long is
INTPTR_IS_LONG, not INTPTR_IS_ULONG -- the latter is unused in
other parts of lint's code. This stops vax's lint from complaining
about conversion of integer constants to 'unsigned long' in function
argument lists, via a proper define of INT_RSIZE in common/inittyp.c.
sh3 defined this to 0, so was actually not affected, but better to
eradicate the typo there as well.
 1.3 29-May-2003  christos - make all targparam.h files consistent with the arch includes
- add a new INTPTR_IS_LONG define and use it.

- XXX: the PTRDIFF, SIZEOF, INTPTR defines really make lint more relaxed
in some platforms than others. We should really be looking for the
particular tokens to enable this kind of checking. I.e.
now:

char *p;
int foo = (int)p;

does not produce a warning on INTPTR_IS_LONG == 0 platformas.
In reality it should only elide the warning if:

char *p;
int foo = (intptr_t)p;

but it is not that smart (yet).
 1.2 30-Jan-2002  thorpej Define FLOAT_SIZE, DOUBLE_SIZE, LDOUBLE_SIZE, and ENUM_SIZE in
target-specific headers, and use the definitions when initializing
the type table.
 1.1 18-Jan-2002  thorpej * Move stuff shared between lint1 and lint2 to the new common/ directory.
* Move the arch/ directory out of lint1/ into the top-level.
 1.5.6.1 17-Apr-2012  yamt sync with head

RSS XML Feed