x86-64: Move LP_SIZE definition to its own header
authorFlorian Weimer <fweimer@redhat.com>
Tue, 18 Oct 2022 15:00:07 +0000 (17:00 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 18 Oct 2022 15:02:08 +0000 (17:02 +0200)
commit246f37d6b1c4c6c0a6365df8783e62e3adf208e8
tree5c6201f208e8d04c3b2680a1dc4b4c4879bfef6d
parent7363a9a9a097c455a7ddb9386b4c6f7bdf91065f
x86-64: Move LP_SIZE definition to its own header

This way, we can define the pointer guard macros without including
<sysdep.h> on x86-64.  Other architectures will not have such an
inclusion dependency, and the implied header file inclusion would
create a porting hazard.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/x86_64/sysdep.h
sysdeps/x86_64/x32/sysdep.h
sysdeps/x86_64/x32/x86-lp_size.h [new file with mode: 0644]
sysdeps/x86_64/x86-lp_size.h [new file with mode: 0644]