Commit Graph

10 Commits

Author SHA1 Message Date
matt fe3f7b90ff Can't use _LP64 because xlint is a host tool. We need a new define for
when building as a host tool.
2005-06-12 16:56:59 +00:00
matt f19d600803 Don't include the powerpc64 definitions in here. Since lint is a host
tool, the hosts definition of _LP64 will confuse things.
2005-02-19 17:15:56 +00:00
christos edf98457e5 sync with reality. 2005-01-26 09:04:49 +00:00
christos 7d2c2eeaea - 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).
2003-05-29 18:12:13 +00:00
scw caf50cac16 SH5 lint target params. 2002-07-11 18:55:13 +00:00
fredette 5b01583a40 Added hppa support to xlint. 2002-06-06 20:33:33 +00:00
thorpej a53ece1b64 On m68000, we need different target parameters than on m68k,
because "long double" is a different size on m68000.
2002-02-04 00:18:32 +00:00
he 1bf20079aa Typo correction. 2002-01-31 23:31:34 +00:00
thorpej 1e27695917 Define FLOAT_SIZE, DOUBLE_SIZE, LDOUBLE_SIZE, and ENUM_SIZE in
target-specific headers, and use the definitions when initializing
the type table.
2002-01-30 06:54:56 +00:00
thorpej 41d48940fa * Move stuff shared between lint1 and lint2 to the new common/ directory.
* Move the arch/ directory out of lint1/ into the top-level.
2002-01-18 20:39:17 +00:00