forked from ibphoenix/tomsfastmath
Add symbols files
Export only used symbols and keep implemetations details hidden. Stripped away symbols are: fp_mul_comba20, fp_mul_comba24, fp_mul_comba28, fp_mul_comba32, fp_mul_comba48, fp_mul_comba64, fp_mul_comba, fp_mul_comba_small, fp_prime_miller_rabin, fp_sqr_comba20, fp_sqr_comba24, fp_sqr_comba28, fp_sqr_comba32, fp_sqr_comba48, fp_sqr_comba64, fp_sqr_comba, fp_sqr_comba_small, s_fp_add, s_fp_sub, fp_reverse, fp_s_rmap Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
This commit is contained in:
parent
c7ce75f920
commit
f0f92f033e
49
libtfm.symbols
Normal file
49
libtfm.symbols
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
fp_2expt
|
||||||
|
fp_add
|
||||||
|
fp_add_d
|
||||||
|
fp_addmod
|
||||||
|
fp_cmp
|
||||||
|
fp_cmp_d
|
||||||
|
fp_cmp_mag
|
||||||
|
fp_cnt_lsb
|
||||||
|
fp_count_bits
|
||||||
|
fp_div
|
||||||
|
fp_div_2
|
||||||
|
fp_div_2d
|
||||||
|
fp_div_d
|
||||||
|
fp_exptmod
|
||||||
|
fp_gcd
|
||||||
|
fp_ident
|
||||||
|
fp_invmod
|
||||||
|
fp_isprime
|
||||||
|
fp_lcm
|
||||||
|
fp_lshd
|
||||||
|
fp_mod
|
||||||
|
fp_mod_2d
|
||||||
|
fp_mod_d
|
||||||
|
fp_montgomery_calc_normalization
|
||||||
|
fp_montgomery_reduce
|
||||||
|
fp_montgomery_setup
|
||||||
|
fp_mul
|
||||||
|
fp_mul_2
|
||||||
|
fp_mul_2d
|
||||||
|
fp_mul_d
|
||||||
|
fp_mulmod
|
||||||
|
fp_prime_random_ex
|
||||||
|
fp_radix_size
|
||||||
|
fp_read_radix
|
||||||
|
fp_read_signed_bin
|
||||||
|
fp_read_unsigned_bin
|
||||||
|
fp_rshd
|
||||||
|
fp_set
|
||||||
|
fp_signed_bin_size
|
||||||
|
fp_sqr
|
||||||
|
fp_sqrmod
|
||||||
|
fp_sub
|
||||||
|
fp_sub_d
|
||||||
|
fp_submod
|
||||||
|
fp_to_signed_bin
|
||||||
|
fp_to_unsigned_bin
|
||||||
|
fp_toradix
|
||||||
|
fp_toradix_n
|
||||||
|
fp_unsigned_bin_size
|
@ -88,7 +88,7 @@ $(OBJECTS): $(HEADERS)
|
|||||||
$(LTCOMPILE) $(CFLAGS) $(LDFLAGS) -o $@ -c $<
|
$(LTCOMPILE) $(CFLAGS) $(LDFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
$(LIBNAME): $(OBJECTS)
|
$(LIBNAME): $(OBJECTS)
|
||||||
libtool --silent --mode=link --tag=CC $(CC) $(CFLAGS) $(LDFLAGS) `find . -type f | grep "[.]lo" | xargs` -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
|
libtool --silent --mode=link --tag=CC $(CC) $(CFLAGS) $(LDFLAGS) `find . -type f | grep "[.]lo" | xargs` -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION) -export-symbols libtfm.symbols
|
||||||
|
|
||||||
install: $(LIBNAME)
|
install: $(LIBNAME)
|
||||||
install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
|
install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
|
||||||
|
Loading…
Reference in New Issue
Block a user