mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-24 10:59:29 +01:00
Add AArch64 ILP32 support to nlist()
Closes: !7 Signed-off-by: Guillem Jover <guillem@hadrons.org>
This commit is contained in:
parent
4997efa59a
commit
a4323f2b16
@ -74,7 +74,11 @@
|
|||||||
#elif defined(__aarch64__)
|
#elif defined(__aarch64__)
|
||||||
|
|
||||||
#define ELF_TARG_MACH EM_AARCH64
|
#define ELF_TARG_MACH EM_AARCH64
|
||||||
|
#if defined(__ILP32__)
|
||||||
|
#define ELF_TARG_CLASS ELFCLASS32
|
||||||
|
#else
|
||||||
#define ELF_TARG_CLASS ELFCLASS64
|
#define ELF_TARG_CLASS ELFCLASS64
|
||||||
|
#endif
|
||||||
#if defined(__AARCH64EB__)
|
#if defined(__AARCH64EB__)
|
||||||
#define ELF_TARG_DATA ELFDATA2MSB
|
#define ELF_TARG_DATA ELFDATA2MSB
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user