File aarch64-common-pagesize.patch of Package binutils

Change default common-page-size to 64K on aarch64.  This enables the use
of RELRO since we are using 64K pages.

Index: binutils-2.44/bfd/elfnn-aarch64.c
===================================================================
--- binutils-2.44.orig/bfd/elfnn-aarch64.c	2025-03-20 17:14:13.571772130 +0100
+++ binutils-2.44/bfd/elfnn-aarch64.c	2025-03-20 17:14:49.386359040 +0100
@@ -10622,7 +10622,7 @@ const struct elf_size_info elfNN_aarch64
 #define ELF_TARGET_ID			AARCH64_ELF_DATA
 #define ELF_MACHINE_CODE		EM_AARCH64
 #define ELF_MAXPAGESIZE			0x10000
-#define ELF_COMMONPAGESIZE		0x1000
+#define ELF_COMMONPAGESIZE		0x10000
 
 #define bfd_elfNN_bfd_is_target_special_symbol	\
   elfNN_aarch64_is_target_special_symbol
openSUSE Build Service is sponsored by