]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
[aarch64] Fix value of MIN_PAGE_SIZE for testing
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 8 Aug 2018 15:46:07 +0000 (21:16 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 8 Aug 2018 17:17:17 +0000 (22:47 +0530)
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.

ChangeLog
sysdeps/aarch64/strlen.S

index d3bb06f596b536136308c581170601a605fdf34a..37fe532a68f35f8d54e5ad606297776888523dfc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-08-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
+       Fix value.
+
 2018-08-08  Joseph Myers  <joseph@codesourcery.com>
 
        * math/libm-test-nextdown.inc (do_test): Move comment to ....
index 32292e3b6ee073a9c35515fc2ff4d0fb2ace6385..eb773ef5326f244338963997cbebe53e6997093c 100644 (file)
@@ -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