head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.08.10.21.41.34; author wiz; state Exp; branches; next ; commitid 9JHloFc9ZlojD8RG; desc @@ 1.1 log @lang/gcc16: import gcc16-16.1.0 The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C, Fortran, and Go. @ text @$NetBSD: patch-gcc_config_aarch64_aarch64-netbsd.h,v 1.1 2025/07/14 17:44:53 wiz Exp $ Match what is in NetBSD src. Fixes at least aarch64eb, and probably several others. --- gcc/config/aarch64/aarch64-netbsd.h.orig 2021-04-08 04:56:28.033740243 -0700 +++ gcc/config/aarch64/aarch64-netbsd.h 2021-04-24 00:16:41.451665444 -0700 @@@@ -20,6 +20,10 @@@@ #ifndef GCC_AARCH64_NETBSD_H #define GCC_AARCH64_NETBSD_H +/* NetBSD malloc(3) does 64, not 128 bytes. */ +#undef MALLOC_ABI_ALIGNMENT +#define MALLOC_ABI_ALIGNMENT 64 + #define TARGET_LINKER_BIG_EMULATION "aarch64nbsdb" #define TARGET_LINKER_LITTLE_EMULATION "aarch64nbsd" @