]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
hppa: Fix over alignment of 64-bit functions
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 5 Oct 2025 16:52:28 +0000 (12:52 -0400)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 5 Oct 2025 16:52:28 +0000 (12:52 -0400)
Both 32 and 64-bit assembly code needs 32-bit alignment.

2025-10-05  John David Anglin  <danglin@gcc.gnu.org>

gcc/ChangeLog:

* config/pa/pa.h (FUNCTION_BOUNDARY): Set to 32.

gcc/config/pa/pa.h

index be845c83690be370012ec0fe4f071a3d2a8355c1..6972faae8ec445945e8ae73f88e7d1547b260de2 100644 (file)
@@ -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