| fix: resolve aarch64 assembly compatibility on macOS fix: add macOS AArch64 build support - Introduce CRYPT_AARCH64_* macros (crypt_arm.h) to abstract ELF/Mach-O differences in assembly (symbol declarations, section directives, and PC-relative addressing with adrp+add vs. adrp+lo12). - Prefix bsl_module_list.h list macros with BSL_ (LIST_INIT → BSL_LIST_INIT, etc.) to resolve name conflicts with macOS sys/queue.h definitions. - Add macOS-specific ARM CPU feature detection via sysctlbyname as an alternative to Linux getauxval/HWCAP, and fix register x18 usage in x25519_armv8.S (x18 is reserved by macOS ABI). | 2 个月前 |