1
0
Fork 0

arm64-gen.c: Add __AARCH64EL__ target_machine_defs.

The Python headers require __AARCH64EL__ to be defined.
Also simplify ifdef to avoid duplicating __aarch64__ entry.
This commit is contained in:
Reimar Döffinger 2023-10-29 14:36:11 +01:00
parent 32c4df1497
commit fd775d941d
1 changed files with 2 additions and 3 deletions

View File

@ -53,12 +53,11 @@
#include <assert.h>
ST_DATA const char * const target_machine_defs =
"__aarch64__\0"
#if defined(TCC_TARGET_MACHO)
"__aarch64__\0"
"__arm64__\0"
#else
"__aarch64__\0"
#endif
"__AARCH64EL__\0"
;
ST_DATA const int reg_classes[NB_REGS] = {