[PATCH 0/5] x32 support

Ahelenia Ziemiańska nabijaczleweli at nabijaczleweli.xyz
Fri Oct 9 11:39:18 EDT 2020


This patchset essentially boils down to:
  (a) disabling -mcmodel=large, and
  (b) allowing ELFCLASS32 in x86_64.

I've also updated the autotools scripts so they detect x32 correctly
and fixed some warnings.

Ahelenia Ziemiańska (5):
  config: update to latest config.{sub,guess}, install-sh
  configure.ac, arch/x86_64: handle x32 as subarch of x86_64 and don't
    specify -mcmodel=large there
  i386/kexec-mb2-x86.c: cast ints to uintptr_t before pointers to avoid
    warnings
  i386: fix string formatting-related warnings
  x86_64: allow ELFCLASS32 for x32 support

 config/config.guess                      | 1048 +++++----
 config/config.sub                        | 2603 +++++++++++-----------
 config/install-sh                        |  401 ++--
 configure.ac                             |    8 +
 kexec/arch/i386/kexec-mb2-x86.c          |    6 +-
 kexec/arch/i386/x86-linux-setup.c        |   16 +-
 kexec/arch/x86_64/kexec-elf-rel-x86_64.c |    3 +-
 purgatory/arch/x86_64/Makefile           |    2 +
 8 files changed, 2157 insertions(+), 1930 deletions(-)

-- 
2.28.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/kexec/attachments/20201009/3ccf3ac5/attachment-0001.sig>


More information about the kexec mailing list