Skip to content

Commit 4ff0f6d

Browse files
committed
try dropping hidden symbol workaround
1 parent 8f79259 commit 4ff0f6d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

libressl.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,11 @@ _VER="$1"
4343
CPPFLAGS+=' -DS2N_BN_HIDE_SYMBOLS'
4444

4545
if [ "${_OS}" = 'mac' ]; then
46-
CPPFLAGS+=' -Dglobl=private_extern' # make assembly symbols hidden
47-
4846
# Workaround for mis-detecting 'strtonum' successfully despite targeting
4947
# older OS version, then using it.
5048
if [ "${_OSVER}" -lt '1100' ]; then
5149
options+=' -DHAVE_STRTONUM=0'
5250
fi
53-
elif [ "${_OS}" = 'linux' ] && [ "${_CPU}" = 'x64' ]; then
54-
# Add a `.hidden <func>` next to each `.globl <func>` one:
55-
find . -name '*-elf-x86_64.S' | sort | while read -r f; do
56-
awk '/^\.globl\t/ {s=$0; sub("^.globl", ".hidden", s); print s}; {print}' < "${f}" > "${f}.tmp"
57-
mv "${f}.tmp" "${f}"
58-
done
5951
fi
6052

6153
if [ "${CW_DEV_CMAKE_PREFILL:-}" = '1' ] && [ "${_OS}" = 'win' ]; then

0 commit comments

Comments
 (0)