diff --git a/testsuite/symbols-test b/testsuite/symbols-test index 710564386c16699ae4dd09c3fc3cc31bee5ec59b..b992f1532d2c076249b6453ee5affdfe54925ac1 100755 --- a/testsuite/symbols-test +++ b/testsuite/symbols-test @@ -6,9 +6,14 @@ if [ -z "$srcdir" ] ; then srcdir=`pwd` fi -# nm on aix seems to generate bogus outbut including random binary data. -# Using -g is a workaround to get rid of that. Hope nm -g is portable enough. -nm -g ../libnettle.a | grep ' [DRT] ' | egrep -v '( |^)\.?_?(_?nettle_|memxor)' \ +# * nm on aix seems to generate bogus outbut including random binary +# data. Using -g is a workaround to get rid of that. Hope nm -g is +# portable enough. + +# * gcc on x86 generates functions like __i686.get_pc_thunk.bx in pic +# code. + +nm -g ../libnettle.a | grep ' [DRT] ' | egrep -v '( |^)\.?_?(_?nettle_|memxor)|get_pc_thunk' \ | sort -k3 > test1.out if [ -s test1.out ] ; then