From: John David Anglin Date: Sun, 5 Oct 2025 16:52:28 +0000 (-0400) Subject: hppa: Fix over alignment of 64-bit functions X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1fcdf214335fe047e42016a5915177f754a4f263;p=thirdparty%2Fgcc.git hppa: Fix over alignment of 64-bit functions Both 32 and 64-bit assembly code needs 32-bit alignment. 2025-10-05 John David Anglin gcc/ChangeLog: * config/pa/pa.h (FUNCTION_BOUNDARY): Set to 32. --- diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index be845c83690..6972faae8ec 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -292,7 +292,7 @@ typedef struct GTY(()) machine_function #define PREFERRED_STACK_BOUNDARY (TARGET_64BIT ? 128 : 512) /* Allocation boundary (in *bits*) for the code of a function. */ -#define FUNCTION_BOUNDARY BITS_PER_WORD +#define FUNCTION_BOUNDARY 32 /* Alignment of field after `int : 0' in a structure. */ #define EMPTY_FIELD_BOUNDARY 32