[PATCH 0/8] add support for x86-64's x32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series contains the changes needed to compile and use
sparse on x86-64's x32 variant, including the selfcheck.
As a side-effect, for x86 & x86-64, cgcc is now much lighter
because spasre's own logic & defines are now used.

Note: The selfcheck still contains warnings like:
	"constant 0x...u is so big it is unsigned long long"
      These warnings are legit and these headers should be fixed.


This series is also available for testing in the Git repository at:
  git://github.com/lucvoo/sparse-dev.git build-x32

---

Luc Van Oostenryck (8):
  use an enum for ARCH_LP32 & friends
  add a flag -mx32 ILP32 env on 64 bit archs
  use also __x86_64 when __x86_64__ is used
  build: use a variable for $(shell uname -m)
  build: use 'filter' to do pattern matching inside the Makefile
  build: disable LLVM on x86-64-x32
  let cgcc use sparse's predefines for i386 & x86-64
  teach sparse about _Floatn and _Floatnx

 Makefile |  8 ++++++--
 cgcc     | 11 ++---------
 lib.c    | 23 +++++++++++++++++++----
 parse.c  |  5 +++++
 symbol.c | 14 ++++++++++++++
 symbol.h |  3 +++
 6 files changed, 49 insertions(+), 15 deletions(-)

-- 
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux