Blame SOURCES/binutils-2.25.1-aarch64-pagesize.patch

4910d4
--- binutils-2.25.1.orig/bfd/elfnn-aarch64.c	2016-02-09 13:03:23.324434201 +0000
4910d4
+++ binutils-2.25.1/bfd/elfnn-aarch64.c	2016-02-09 13:03:33.811490824 +0000
4910d4
@@ -7975,7 +7975,7 @@ const struct elf_size_info elfNN_aarch64
4910d4
 #define ELF_MACHINE_CODE		EM_AARCH64
4910d4
 #define ELF_MAXPAGESIZE			0x10000
4910d4
 #define ELF_MINPAGESIZE			0x1000
4910d4
-#define ELF_COMMONPAGESIZE		0x1000
4910d4
+#define ELF_COMMONPAGESIZE		0x10000
4910d4
 
4910d4
 #define bfd_elfNN_close_and_cleanup             \
4910d4
   elfNN_aarch64_close_and_cleanup
4910d4
--- binutils-2.25.1.orig/gold/aarch64.cc	2016-02-09 13:03:23.772436620 +0000
4910d4
+++ binutils-2.25.1/gold/aarch64.cc	2016-02-09 13:04:15.178714178 +0000
4910d4
@@ -791,7 +791,7 @@ const Target::Target_info Target_aarch64
4910d4
   "/lib/ld.so.1",	// program interpreter
4910d4
   0x400000,		// default_text_segment_address
4910d4
   0x1000,		// abi_pagesize (overridable by -z max-page-size)
4910d4
-  0x1000,		// common_pagesize (overridable by -z common-page-size)
4910d4
+  0x10000,		// common_pagesize (overridable by -z common-page-size)
4910d4
   false,                // isolate_execinstr
4910d4
   0,                    // rosegment_gap
4910d4
   elfcpp::SHN_UNDEF,	// small_common_shndx
4910d4
@@ -818,7 +818,7 @@ const Target::Target_info Target_aarch64
4910d4
   "/lib/ld.so.1",	// program interpreter
4910d4
   0x400000,		// default_text_segment_address
4910d4
   0x1000,		// abi_pagesize (overridable by -z max-page-size)
4910d4
-  0x1000,		// common_pagesize (overridable by -z common-page-size)
4910d4
+  0x10000,		// common_pagesize (overridable by -z common-page-size)
4910d4
   false,                // isolate_execinstr
4910d4
   0,                    // rosegment_gap
4910d4
   elfcpp::SHN_UNDEF,	// small_common_shndx
4910d4
@@ -845,7 +845,7 @@ const Target::Target_info Target_aarch64
4910d4
   "/lib/ld.so.1",	// program interpreter
4910d4
   0x400000,		// default_text_segment_address
4910d4
   0x1000,		// abi_pagesize (overridable by -z max-page-size)
4910d4
-  0x1000,		// common_pagesize (overridable by -z common-page-size)
4910d4
+  0x10000,		// common_pagesize (overridable by -z common-page-size)
4910d4
   false,                // isolate_execinstr
4910d4
   0,                    // rosegment_gap
4910d4
   elfcpp::SHN_UNDEF,	// small_common_shndx
4910d4
@@ -872,7 +872,7 @@ const Target::Target_info Target_aarch64
4910d4
   "/lib/ld.so.1",	// program interpreter
4910d4
   0x400000,		// default_text_segment_address
4910d4
   0x1000,		// abi_pagesize (overridable by -z max-page-size)
4910d4
-  0x1000,		// common_pagesize (overridable by -z common-page-size)
4910d4
+  0x10000,		// common_pagesize (overridable by -z common-page-size)
4910d4
   false,                // isolate_execinstr
4910d4
   0,                    // rosegment_gap
4910d4
   elfcpp::SHN_UNDEF,	// small_common_shndx