mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-24 03:40:09 +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>
|
||||
|
||||
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] = {
|
||||
|
Loading…
Reference in New Issue
Block a user