From: Niels Möller Date: Mon, 30 Mar 2015 21:34:42 +0000 (+0200) Subject: Allow leading underscore on mini-gmp symbols. X-Git-Tag: nettle_3.1rc2^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33519b3189d2c425c8c0c67f587978004e215a45;p=thirdparty%2Fnettle.git Allow leading underscore on mini-gmp symbols. --- diff --git a/ChangeLog b/ChangeLog index 9a4d62f9..2555f889 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,7 +8,8 @@ (Installation): Document some more configure options. * testsuite/symbols-test: Look for NETTLE_USE_MINI_GMP in - version.h, not bignum.h. + version.h, not bignum.h. Allow leading underscore on mini-gmp + symbols. 2015-03-26 Niels Möller diff --git a/testsuite/symbols-test b/testsuite/symbols-test index 41def8f8..051d3d22 100755 --- a/testsuite/symbols-test +++ b/testsuite/symbols-test @@ -29,7 +29,7 @@ fi if [ -s ../libhogweed.a ] ; then PATTERN='\.?_?_?nettle_|get_pc_thunk' if grep '^#define.*NETTLE_USE_MINI_GMP.*1$' ../version.h >/dev/null ; then - PATTERN="$PATTERN|mp_|mpz_|mpn_" + PATTERN="$PATTERN|_?(mp_|mpz_|mpn_)" fi ( $NM -g ../libhogweed.a || $NM ../libhogweed.a ) \ | grep ' [DRT] ' | egrep -v "( |^|\.)($PATTERN)" \