Commit 864948a9 authored by Niels Möller's avatar Niels Möller
Browse files

Ignore __i686.get_pc_thunk.bx and

similar symbols.

Rev: src/nettle/testsuite/symbols-test:1.6
parent 16866320
...@@ -6,9 +6,14 @@ if [ -z "$srcdir" ] ; then ...@@ -6,9 +6,14 @@ if [ -z "$srcdir" ] ; then
srcdir=`pwd` srcdir=`pwd`
fi fi
# nm on aix seems to generate bogus outbut including random binary data. # * nm on aix seems to generate bogus outbut including random binary
# Using -g is a workaround to get rid of that. Hope nm -g is portable enough. # data. Using -g is a workaround to get rid of that. Hope nm -g is
nm -g ../libnettle.a | grep ' [DRT] ' | egrep -v '( |^)\.?_?(_?nettle_|memxor)' \ # 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 | 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