aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2023-01-11 16:34:04 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-04-02 14:07:29 +0200
commit6f7eb23227f8d20d0201bb4f1392993c770c6898 (patch)
treee7cee0a0fdfdc706efaec673c597a2f5cb597608 /ld/testsuite/ld-arm/non-contiguous-arm5.d
parentIBM zSystems: Fix offset relative to static TLS (diff)
downloadbinutils-gdb-6f7eb23227f8d20d0201bb4f1392993c770c6898.tar.gz
binutils-gdb-6f7eb23227f8d20d0201bb4f1392993c770c6898.tar.bz2
binutils-gdb-6f7eb23227f8d20d0201bb4f1392993c770c6898.zip
ld/testsuite: Adjust for ELF_MAXPAGESIZE 0x1000
Many tests reflect a setting of ELF_MAXPAGESIZE to 64 KiB. With ELF_MAXPAGESIZE changed to 4 KiB, layout is sometimes different and symbols end up in other places. Avoid churn and regexpification of old test patterns by passing the max-page-size setting active at the time. ld/testsuite: * testsuite/ld-arm/arm-elf.exp, testsuite/ld-arm/non-contiguous-arm2.d, testsuite/ld-arm/non-contiguous-arm3.d, testsuite/ld-arm/non-contiguous-arm5.d, testsuite/ld-arm/non-contiguous-arm6.d, testsuite/ld-arm/thumb-plt-got.d, testsuite/ld-arm/thumb-plt.d: Pass -z max-page-size=0x10000 explicitly to test that rely on that value in output-matching patterns. (cherry picked from commit 23b52b0ab4f7fdab81a197ea57c98b8c49730a26)
Diffstat (limited to 'ld/testsuite/ld-arm/non-contiguous-arm5.d')
-rw-r--r--ld/testsuite/ld-arm/non-contiguous-arm5.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-arm/non-contiguous-arm5.d b/ld/testsuite/ld-arm/non-contiguous-arm5.d
index 60b6f56157c..89c1ee4edec 100644
--- a/ld/testsuite/ld-arm/non-contiguous-arm5.d
+++ b/ld/testsuite/ld-arm/non-contiguous-arm5.d
@@ -1,6 +1,6 @@
#name: non-contiguous-arm5
#source: non-contiguous-arm.s
-#ld: --enable-non-contiguous-regions -T non-contiguous-arm5.ld
+#ld: --enable-non-contiguous-regions -T non-contiguous-arm5.ld -z max-page-size=0x10000
#objdump: -rdth
#xfail: [is_generic]