Commit a67a7286 authored by Niels Möller's avatar Niels Möller

Tweak symbols-test regexps.

parent f064ef39
2014-08-28 Niels Möller <nisse@lysator.liu.se> 2014-08-28 Niels Möller <nisse@lysator.liu.se>
* testsuite/symbols-test: Regexp fixes, to better filter out
get_pc_thunk functions.
* ecc-generic-redc.c (ecc_generic_redc): Deleted file and * ecc-generic-redc.c (ecc_generic_redc): Deleted file and
function. Split into... function. Split into...
* ecc-pp1-redc.c (ecc_pp1_redc): New file and function. * ecc-pp1-redc.c (ecc_pp1_redc): New file and function.
......
...@@ -8,7 +8,7 @@ fi ...@@ -8,7 +8,7 @@ fi
: ${NM:=nm} : ${NM:=nm}
# * nm on aix seems to generate bogus outbut including random binary # * nm on aix seems to generate bogus output including random binary
# data. Using -g is a workaround to get rid of that. But nm -g # data. Using -g is a workaround to get rid of that. But nm -g
# doesn't work on Solaris-2.4, so try nm -g first, and plain nm if # doesn't work on Solaris-2.4, so try nm -g first, and plain nm if
# -g isn't recognized. # -g isn't recognized.
...@@ -17,7 +17,7 @@ fi ...@@ -17,7 +17,7 @@ fi
# code. # code.
( $NM -g ../libnettle.a || $NM ../libnettle.a ) \ ( $NM -g ../libnettle.a || $NM ../libnettle.a ) \
| grep ' [DRT] ' | egrep -v '( |^)\.?_?(_?nettle_)|get_pc_thunk' \ | grep ' [DRT] ' | egrep -v '( |^|\.)(\.?_?(_?nettle_)|get_pc_thunk)' \
| sort -k3 > test1.out | sort -k3 > test1.out
if [ -s test1.out ] ; then if [ -s test1.out ] ; then
...@@ -32,7 +32,7 @@ if [ -s ../libhogweed.a ] ; then ...@@ -32,7 +32,7 @@ if [ -s ../libhogweed.a ] ; then
PATTERN="$PATTERN|mp_|mpz_|mpn_" PATTERN="$PATTERN|mp_|mpz_|mpn_"
fi fi
( $NM -g ../libhogweed.a || $NM ../libhogweed.a ) \ ( $NM -g ../libhogweed.a || $NM ../libhogweed.a ) \
| grep ' [DRT] ' | egrep -v "( |^)($PATTERN)" \ | grep ' [DRT] ' | egrep -v "( |^|\.)($PATTERN)" \
| sort -k3 > test1.out | sort -k3 > test1.out
if [ -s test1.out ] ; then if [ -s test1.out ] ; then
......
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