about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2018-08-08 21:16:07 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2018-08-08 22:47:17 +0530
commitbe64b1946b47087fda2e48cfba759cbb4fdfaada (patch)
tree0827221cc6f7c9edde635e631a456396ab6fb53c /sysdeps
parent140137fb2d16bd362ef57a879145fc1f8240fca6 (diff)
downloadglibc-be64b1946b47087fda2e48cfba759cbb4fdfaada.tar.gz
glibc-be64b1946b47087fda2e48cfba759cbb4fdfaada.tar.xz
glibc-be64b1946b47087fda2e48cfba759cbb4fdfaada.zip
[aarch64] Fix value of MIN_PAGE_SIZE for testing
MIN_PAGE_SIZE is normally set to 4096 but for testing it can be set to
16 so that it exercises the page crossing code for every misaligned
access.  The value was set to 15, which is obviously wrong, so fixed
as obvious and tested.

	* sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
	Fix value.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/aarch64/strlen.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/aarch64/strlen.S b/sysdeps/aarch64/strlen.S
index 32292e3b6e..eb773ef532 100644
--- a/sysdeps/aarch64/strlen.S
+++ b/sysdeps/aarch64/strlen.S
@@ -54,7 +54,7 @@
 #define REP8_80 0x8080808080808080
 
 #ifdef TEST_PAGE_CROSS
-# define MIN_PAGE_SIZE 15
+# define MIN_PAGE_SIZE 16
 #else
 # define MIN_PAGE_SIZE 4096
 #endif