mirror of
https://github.com/mirror/tinycc.git
synced 2025-04-01 12:30:08 +08:00
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:
parent
32c4df1497
commit
fd775d941d
@ -53,12 +53,11 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
ST_DATA const char * const target_machine_defs =
|
ST_DATA const char * const target_machine_defs =
|
||||||
|
"__aarch64__\0"
|
||||||
#if defined(TCC_TARGET_MACHO)
|
#if defined(TCC_TARGET_MACHO)
|
||||||
"__aarch64__\0"
|
|
||||||
"__arm64__\0"
|
"__arm64__\0"
|
||||||
#else
|
|
||||||
"__aarch64__\0"
|
|
||||||
#endif
|
#endif
|
||||||
|
"__AARCH64EL__\0"
|
||||||
;
|
;
|
||||||
|
|
||||||
ST_DATA const int reg_classes[NB_REGS] = {
|
ST_DATA const int reg_classes[NB_REGS] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user