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` - [x] on ARM, all the functions in the `.s` assembly files are visible but none should be visible (solved by https://github.com/bitcoin-core/secp256k1/pull/1242) - [x] Should we make all test functions static? (solved by https://github.com/bitcoin-core/secp256k1/pull/1190) - [ ] How to ensure correct visibility going forward (e.g., #1135)
In certain cases, we export too many symbols:
CFLAGS=-fvisibility=default, there's a few exported variables :secp256k1_ecmult_gen_prec_table,secp256k1_pre_g,secp256k1_pre_g_128.sassembly files are visible but none should be visible (solved by Set ARM ASM symbol visibility tohidden#1242)tools/symbol-check.py#1135)