forked from pool/binutils
e79c7d734f
- gold-arm64-abi-pagesize.patch: fix ABI pagesize for aarch64 in gold OBS-URL: https://build.opensuse.org/request/show/335624 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=194
41 lines
2.0 KiB
Diff
41 lines
2.0 KiB
Diff
Index: binutils-2.25.0/gold/aarch64.cc
|
|
===================================================================
|
|
--- binutils-2.25.0.orig/gold/aarch64.cc
|
|
+++ binutils-2.25.0/gold/aarch64.cc
|
|
@@ -790,7 +790,7 @@ const Target::Target_info Target_aarch64
|
|
'\0', // wrap_char
|
|
"/lib/ld.so.1", // program interpreter
|
|
0x400000, // default_text_segment_address
|
|
- 0x1000, // abi_pagesize (overridable by -z max-page-size)
|
|
+ 0x10000, // abi_pagesize (overridable by -z max-page-size)
|
|
0x1000, // common_pagesize (overridable by -z common-page-size)
|
|
false, // isolate_execinstr
|
|
0, // rosegment_gap
|
|
@@ -817,7 +817,7 @@ const Target::Target_info Target_aarch64
|
|
'\0', // wrap_char
|
|
"/lib/ld.so.1", // program interpreter
|
|
0x400000, // default_text_segment_address
|
|
- 0x1000, // abi_pagesize (overridable by -z max-page-size)
|
|
+ 0x10000, // abi_pagesize (overridable by -z max-page-size)
|
|
0x1000, // common_pagesize (overridable by -z common-page-size)
|
|
false, // isolate_execinstr
|
|
0, // rosegment_gap
|
|
@@ -844,7 +844,7 @@ const Target::Target_info Target_aarch64
|
|
'\0', // wrap_char
|
|
"/lib/ld.so.1", // program interpreter
|
|
0x400000, // default_text_segment_address
|
|
- 0x1000, // abi_pagesize (overridable by -z max-page-size)
|
|
+ 0x10000, // abi_pagesize (overridable by -z max-page-size)
|
|
0x1000, // common_pagesize (overridable by -z common-page-size)
|
|
false, // isolate_execinstr
|
|
0, // rosegment_gap
|
|
@@ -871,7 +871,7 @@ const Target::Target_info Target_aarch64
|
|
'\0', // wrap_char
|
|
"/lib/ld.so.1", // program interpreter
|
|
0x400000, // default_text_segment_address
|
|
- 0x1000, // abi_pagesize (overridable by -z max-page-size)
|
|
+ 0x10000, // abi_pagesize (overridable by -z max-page-size)
|
|
0x1000, // common_pagesize (overridable by -z common-page-size)
|
|
false, // isolate_execinstr
|
|
0, // rosegment_gap
|