linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] OS-specific small fixes & cleanup
@ 2020-07-08 23:41 Luc Van Oostenryck
  2020-07-08 23:41 ` [PATCH 1/9] x86: reorg the target file Luc Van Oostenryck
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Luc Van Oostenryck @ 2020-07-08 23:41 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

This series contains a few small fixes concerning OS-specific
predefined macros or builtin types. For this, a new option
is added: '--os=$OS', mainly to facilitate testing but also
to avoid duplicated definition in cgcc.
Finally, the now unneeded arguments are removed in cgcc.

Luc Van Oostenryck (9):
  x86: reorg the target file
  arch: add an option to specify the OS: --os=$OS
  predefine: add __linux__ & __linux
  predefine: no __unix__ for Darwin
  x86: fixes types for NetBSD & OpenBSD
  sparc: char are unsigned on Solaris
  arch: add predefines for OS identification
  cygwin: add the predefines '__cdecl', ...
  cgcc: remove now unneeded options & defines

 cgcc           | 32 +++++++------------------
 machine.h      |  1 +
 options.c      | 11 +++++++++
 predefine.c    | 38 ++++++++++++++++++++++++++++--
 sparse.1       | 10 ++++++++
 target-sparc.c |  2 ++
 target-x86.c   | 63 ++++++++++++++++++++++++++++++++++++--------------
 target.c       | 29 +++++++++++++++++++++++
 target.h       |  1 +
 9 files changed, 144 insertions(+), 43 deletions(-)

-- 
2.27.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-07-08 23:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 23:41 [PATCH 0/9] OS-specific small fixes & cleanup Luc Van Oostenryck
2020-07-08 23:41 ` [PATCH 1/9] x86: reorg the target file Luc Van Oostenryck
2020-07-08 23:41 ` [PATCH 2/9] arch: add an option to specify the OS: --os=$OS Luc Van Oostenryck
2020-07-08 23:41 ` [PATCH 3/9] predefine: add __linux__ & __linux Luc Van Oostenryck
2020-07-08 23:41 ` [PATCH 4/9] predefine: no __unix__ for Darwin Luc Van Oostenryck
2020-07-08 23:41 ` [PATCH 5/9] x86: fixes types for NetBSD & OpenBSD Luc Van Oostenryck
2020-07-08 23:41 ` [PATCH 6/9] sparc: char are unsigned on Solaris Luc Van Oostenryck
2020-07-08 23:41 ` [PATCH 7/9] arch: add predefines for OS identification Luc Van Oostenryck
2020-07-08 23:41 ` [PATCH 8/9] cygwin: add the predefines '__cdecl', Luc Van Oostenryck
2020-07-08 23:41 ` [PATCH 9/9] cgcc: remove now unneeded options & defines Luc Van Oostenryck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).