FASL_PPC64,
FASL_IA64,
FASL_ARM,
+ FASL_AARCH64,
} fasl_arch_t;
/* Possible values for COMPILER_PROCESSOR_TYPE. This identifies the
# define MACHINE_TYPE "arm"
# define CURRENT_FASL_ARCH FASL_ARM
#endif
+
+#ifdef __aarch64__
+# define MACHINE_TYPE "aarch64"
+# define CURRENT_FASL_ARCH FASL_AARCH64
+#endif
\f
#ifdef sonyrisc
/* On the Sony NEWS 3250, this procedure initializes the
#endif
#if defined(__linux__) || defined(__NetBSD__)
+# if defined(__NetBSD__) && defined(__aarch64__)
+/* NetBSD/aarch64 doesn't provide _init. Maybe we should just always
+ use __executable_start on NetBSD. */
+# define _init __executable_start
+# endif
extern unsigned int _init;
extern unsigned int etext;
# define ADDRESS_UCODE_P(addr) \