Closed
Description
In certain cases, we export too many symbols:
- With
CFLAGS=-fvisibility=default
, there's a few exported variables :secp256k1_ecmult_gen_prec_table
,secp256k1_pre_g
,secp256k1_pre_g_128
- on ARM, all the functions in the
.s
assembly files are visible but none should be visible (solved by Set ARM ASM symbol visibility tohidden
#1242) - Should we make all test functions static? (solved by Make all non-API functions (except main) static #1190)
- How to ensure correct visibility going forward (e.g., Add
tools/symbol-check.py
#1135)