aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-02-16 09:54:56 -0800
committerH.J. Lu <hjl.tools@gmail.com>2018-02-16 09:55:09 -0800
commit197741f19d8e6304f45efd8e960ffce4712e3ea0 (patch)
tree373b4ab401dd9bdd5d2d09f8cbc25d0335e5de14 /ld
parent7c9f387aefaca3606975868c5953a0820afd0986 (diff)
downloadgdb-197741f19d8e6304f45efd8e960ffce4712e3ea0.zip
gdb-197741f19d8e6304f45efd8e960ffce4712e3ea0.tar.gz
gdb-197741f19d8e6304f45efd8e960ffce4712e3ea0.tar.bz2
mpx.exp: Add -z max-page-size=0x200000 -z noseparate-code
Add -z max-page-size=0x200000 -z noseparate-code since these tests check for exact addresses. * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000 -z noseparate-code.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-x86-64/mpx.exp9
2 files changed, 11 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 58b5054..7012160 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
+ * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000
+ -z noseparate-code.
+
+2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
+
* testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code
-z max-page-size=0x200000, excluding NaCl target.
diff --git a/ld/testsuite/ld-x86-64/mpx.exp b/ld/testsuite/ld-x86-64/mpx.exp
index 1514015..753f7ca 100644
--- a/ld/testsuite/ld-x86-64/mpx.exp
+++ b/ld/testsuite/ld-x86-64/mpx.exp
@@ -116,13 +116,16 @@ run_ld_link_tests {
"-m elf_x86_64 -shared -z bndplt" ""
"--64" {mpx4b.s} {} "libcall1.so"}
{"Build mpx4"
- "-m elf_x86_64 -z bndplt --hash-style=sysv tmpdir/libcall1.so" ""
+ "-m elf_x86_64 -z bndplt --hash-style=sysv tmpdir/libcall1.so \
+ -z max-page-size=0x200000 -z noseparate-code" ""
"--64" {mpx4a.s} {{objdump -dw mpx4.dd}} "mpx4"}
{"Build mpx3 (-z now)"
- "-z now -m elf_x86_64 -z bndplt --hash-style=sysv tmpdir/libcall.so" ""
+ "-z now -m elf_x86_64 -z bndplt --hash-style=sysv tmpdir/libcall.so \
+ -z max-page-size=0x200000 -z noseparate-code" ""
"--64" {mpx3a.s} {{objdump -dw mpx3n.dd}} "mpx3n"}
{"Build mpx4 (-z now)"
- "-z now -m elf_x86_64 -z bndplt --hash-style=sysv tmpdir/libcall1.so" ""
+ "-z now -m elf_x86_64 -z bndplt --hash-style=sysv tmpdir/libcall1.so \
+ -z max-page-size=0x200000 -z noseparate-code" ""
"--64" {mpx4a.s} {{objdump -dw mpx4n.dd}} "mpx4n"}
}