From: Niels Möller Date: Sat, 4 Jan 2014 21:36:57 +0000 (+0100) Subject: Use --partial-loads-ok=yes with valgrind. X-Git-Tag: nettle_3.0_release_20140607~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adb8eea955b7bff630bccb369688e2ba963c918e;p=thirdparty%2Fnettle.git Use --partial-loads-ok=yes with valgrind. --- diff --git a/ChangeLog b/ChangeLog index f50ef031..c53cc94f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-01-04 Niels Möller + + * testsuite/Makefile.in (VALGRIND): Added --partial-loads-ok=yes, + needed for the way unaligned data is handled in, e.g., memxor. + 2014-01-03 Niels Möller * shadata.c (main): Zero-pad output values to 8 hex digits. diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in index 0ad950db..d63fd1ab 100644 --- a/testsuite/Makefile.in +++ b/testsuite/Makefile.in @@ -104,7 +104,9 @@ $(TARGETS) $(EXTRA_TARGETS): testutils.$(OBJEXT) ../nettle-internal.$(OBJEXT) \ # make check EMULATOR='$(VALGRIND)' # make check EMULATOR='$(VALGRIND) --log-fd=3' 3>valgrind.log -VALGRIND = valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes +# --partial-loads-ok=yes is needed for memxor's handling of unaligned +# data. +VALGRIND = valgrind --error-exitcode=1 --leak-check=full --partial-loads-ok=yes --show-reachable=yes # The PATH update is for locating dlls on w*ndows. check: $(TS_ALL)