From: H.J. Lu Date: Fri, 16 Feb 2018 17:54:56 +0000 (-0800) Subject: mpx.exp: Add -z max-page-size=0x200000 -z noseparate-code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=197741f19d8e6304f45efd8e960ffce4712e3ea0;p=binutils-gdb.git 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 58b505442dd..7012160b249 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2018-02-16 H.J. Lu + + * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000 + -z noseparate-code. + 2018-02-16 H.J. Lu * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code diff --git a/ld/testsuite/ld-x86-64/mpx.exp b/ld/testsuite/ld-x86-64/mpx.exp index 15140151f51..753f7ca2cfc 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"} }