From: Niels Möller Date: Wed, 6 Oct 2004 15:27:08 +0000 (+0200) Subject: Ignore __i686.get_pc_thunk.bx and X-Git-Tag: nettle_1.11_release_20041026~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=864948a9a90ec8adb1cb9c0b0fe270687d484504;p=thirdparty%2Fnettle.git Ignore __i686.get_pc_thunk.bx and similar symbols. Rev: src/nettle/testsuite/symbols-test:1.6 --- diff --git a/testsuite/symbols-test b/testsuite/symbols-test index 71056438..b992f153 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