Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
f3e2607f
Commit
f3e2607f
authored
Jun 17, 2018
by
Dominyk Tiller
Committed by
Niels Möller
Jun 17, 2018
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testsuite/symbols-test: Exclude ____chkstk_darwin symbols.
These are produced by Apple's Xcode 10 compiler.
parent
442e0438
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
ChangeLog
ChangeLog
+6
-0
testsuite/symbols-test
testsuite/symbols-test
+5
-2
No files found.
ChangeLog
View file @
f3e2607f
2018-06-17 Niels Möller <nisse@lysator.liu.se>
* testsuite/symbols-test: Exclude ____chkstk_darwin symbols,
produced by Apple's Xcode 10 compiler. Patch contributed by
Dominyk Tiller.
2018-03-25 Niels Möller <nisse@lysator.liu.se>
From Michael Weiser.
...
...
testsuite/symbols-test
View file @
f3e2607f
...
...
@@ -15,9 +15,12 @@ fi
#
# * gcc on x86 generates functions like __i686.get_pc_thunk.bx in pic
# code.
# * LLVM shipped with Xcode/CLT 10+ on macOS builds the symbol
# ____chkstk_darwin into the majority of binaries/libraries, including
# both the libraries checked here.
(
$NM
-g
../libnettle.a
||
$NM
../libnettle.a
)
\
|
grep
' [DRT] '
| egrep
-v
'( |^|\.)(\.?_?(_?nettle_)|get_pc_thunk)'
\
|
grep
' [DRT] '
| egrep
-v
'( |^|\.)(\.?_?(_?nettle_)|get_pc_thunk
|(_*chkstk_darwin)
)'
\
|
sort
-k3
>
test1.out
if
[
-s
test1.out
]
;
then
...
...
@@ -27,7 +30,7 @@ if [ -s test1.out ] ; then
fi
if
[
-s
../libhogweed.a
]
;
then
PATTERN
=
'\.?_?_?nettle_|get_pc_thunk'
PATTERN
=
'\.?_?_?nettle_|get_pc_thunk
|(_*chkstk_darwin)
'
if
grep
'^#define.*NETTLE_USE_MINI_GMP.*1$'
../version.h
>
/dev/null
;
then
PATTERN
=
"
$PATTERN
|_?(mp_|mpz_|mpn_)"
fi
...
...
Niels Möller
@nisse
mentioned in commit
1dd5dda6
·
Nov 18, 2018
mentioned in commit
1dd5dda6
mentioned in commit 1dd5dda6845442b1f135ab5160d2ddffcb9514d0
Toggle commit list
Write
Preview
Markdown
is supported
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