Commit 33519b31 authored by Niels Möller's avatar Niels Möller

Allow leading underscore on mini-gmp symbols.

parent 882b1bc1
......@@ -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 <nisse@diamant.hack.org>
......
......@@ -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)" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment