linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] move arch-specific builtins to their own table
@ 2020-06-10 20:27 Luc Van Oostenryck
  2020-06-10 20:27 ` [PATCH 1/7] builtin: can be initialized later Luc Van Oostenryck
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Luc Van Oostenryck @ 2020-06-10 20:27 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

The goal of this to avoid the declaration of arch-specific builtins
when the architecture doesn't match. As nice side-effects it also:
* add support for arch-specific builtins in their target-<arch>.c
* let these builtins declarations be done via a table (it was done
  via a serie of function calls, one by builtin).
* add minimal support for the architectures Alpha, Blackfin & Nios2.

These changes are motivated by a recent report from the kbuild test
bot (which seems to find lately much more sparse-related issues
in the kernel than it used to, often address-space & endianness
problems).


Luc Van Oostenryck (7):
  builtin: can be initialized later
  builtin: use a table for the builtins
  builtin: unify the 2 tables of builtins
  builtin: add support for arch-specific builtins
  arch: add specificities for Nios2
  arch: add specificities for Blackfin
  arch: add specificities for Alpha

 Makefile       |   3 +
 builtin.c      | 439 ++++++++++++++++++++++---------------------------
 builtin.h      |  15 ++
 lib.c          |   2 +-
 machine.h      |   5 +
 symbol.c       |   1 -
 symbol.h       |   1 -
 target-alpha.c |  30 ++++
 target-bfin.c  |  26 +++
 target-nios2.c |  31 ++++
 target.c       |   6 +
 target.h       |   7 +
 12 files changed, 321 insertions(+), 245 deletions(-)
 create mode 100644 builtin.h
 create mode 100644 target-alpha.c
 create mode 100644 target-bfin.c
 create mode 100644 target-nios2.c


base-commit: 42323db3955557b223268ec4196acb77308ab204
-- 
2.27.0

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

end of thread, other threads:[~2020-06-12 17:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-10 20:27 [PATCH 0/7] move arch-specific builtins to their own table Luc Van Oostenryck
2020-06-10 20:27 ` [PATCH 1/7] builtin: can be initialized later Luc Van Oostenryck
2020-06-12  0:50   ` Ramsay Jones
2020-06-10 20:27 ` [PATCH 2/7] builtin: use a table for the builtins Luc Van Oostenryck
2020-06-12  0:56   ` Ramsay Jones
2020-06-12 16:48     ` Luc Van Oostenryck
2020-06-10 20:27 ` [PATCH 3/7] builtin: unify the 2 tables of builtins Luc Van Oostenryck
2020-06-12  1:01   ` Ramsay Jones
2020-06-10 20:27 ` [PATCH 4/7] builtin: add support for arch-specific builtins Luc Van Oostenryck
2020-06-10 20:27 ` [PATCH 5/7] arch: add specificities for Nios2 Luc Van Oostenryck
2020-06-12  1:04   ` Ramsay Jones
2020-06-12 17:04     ` Luc Van Oostenryck
2020-06-10 20:27 ` [PATCH 6/7] arch: add specificities for Blackfin Luc Van Oostenryck
2020-06-10 20:27 ` [PATCH 7/7] arch: add specificities for Alpha 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).