Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
ba765922
Commit
ba765922
authored
Nov 17, 2004
by
Niels Möller
Browse files
Try plain nm if nm -g doesn't work.
Rev: src/nettle/testsuite/symbols-test:1.7
parent
88b00363
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/nettle/testsuite/symbols-test
View file @
ba765922
...
...
@@ -7,13 +7,15 @@ if [ -z "$srcdir" ] ; then
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.
# 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
# -g isn't recognized.
#
# * 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'
\
(
nm
-g
../libnettle.a
||
nm ../libnettle.a
)
\
|
grep
' [DRT] '
| egrep
-v
'( |^)\.?_?(_?nettle_|memxor)|get_pc_thunk'
\
|
sort
-k3
>
test1.out
if
[
-s
test1.out
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment