aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/testsuite/ld-elf/eh4.d2
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f09a6f1..628c278 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/22845
+ * ld-elf/eh4.d: Pass -z max-page-size=0x200000 -z noseparate-code
+ to ld.
+
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z
diff --git a/ld/testsuite/ld-elf/eh4.d b/ld/testsuite/ld-elf/eh4.d
index 6c1cb32..391efb8 100644
--- a/ld/testsuite/ld-elf/eh4.d
+++ b/ld/testsuite/ld-elf/eh4.d
@@ -1,7 +1,7 @@
#source: eh4.s
#source: eh4a.s
#as: --64
-#ld: -melf_x86_64 -shared -Ttext 0x400
+#ld: -melf_x86_64 -shared -Ttext 0x400 -z max-page-size=0x200000 -z noseparate-code
#readelf: -wf
#target: x86_64-*-*