head	1.5;
access;
symbols
	netbsd-11-0-RC5:1.5
	netbsd-11-0-RC4:1.5
	netbsd-11-0-RC3:1.5
	netbsd-11-0-RC2:1.5
	netbsd-11-0-RC1:1.5
	perseant-exfatfs-base-20250801:1.5
	netbsd-11:1.5.0.2
	netbsd-11-base:1.5
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.2
	perseant-exfatfs-base:1.4;
locks; strict;
comment	@# @;


1.5
date	2024.11.21.18.16.15;	author riastradh;	state Exp;
branches;
next	1.4;
commitid	ztrJqLMtvcZpExyF;

1.4
date	2024.06.09.14.10.05;	author riastradh;	state Exp;
branches
	1.4.2.1;
next	1.3;
commitid	Ew4Inig6fNEMAjdF;

1.3
date	2024.06.09.13.33.36;	author riastradh;	state Exp;
branches;
next	1.2;
commitid	2Yl6tL6CJyKgojdF;

1.2
date	2024.05.08.01.40.27;	author riastradh;	state Exp;
branches;
next	1.1;
commitid	C5RVll2MTW4ot89F;

1.1
date	2024.05.07.20.58.33;	author riastradh;	state Exp;
branches;
next	;
commitid	jPTqxolCZJTGU69F;

1.4.2.1
date	2025.08.02.05.54.50;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;


desc
@@


1.5
log
@bsd.lib.mk: Exclude MD linker-generated crud from expected symbols.

Not entirely sure why these symbols like _init/_fini/_end on x86 or
__bss_start__/__bss_end__ on aarch64 or _GLOBAL_OFFSET_TABLE_ on hppa
are exported at all, but it's something the linker is doing
automatically -- and unnecessarily, since libraries with explicit
version scripts don't export these -- and I'm not sure there's any way
to suppress it.

This way, most *.expsym lists can be machine-independent, which will
help keep maintenance burden much lower.

Currently we have only one *.expsym file for a library that _doesn't_
use a version script, libm -- fix that up to reduce the crud.  (That
one already happens to have a lot of machine-dependent exports
because of differences in floating-point ABIs so the linker-generated
MD symbol crud wasn't much more of a maintenance burden in this case,
but this maintenance burden is why I haven't aggressively gone around
creating *.expsym files for other libraries.)
@
text
@__divxc3
__mulxc3
fma
fmaf
fmal
@


1.4
log
@libm: Factor out common expected symbol list.

Should substantially reduce the maintenance burden.
@
text
@a2 2
_fini
_init
@


1.4.2.1
log
@Sync with HEAD
@
text
@d3 2
@


1.3
log
@libm: Do the weak alias dance for asin, acos, atan.

These are used internally by the complex trig functions, so they need
weak aliases.
@
text
@a0 5
__c99_cabs
__c99_cabsf
__c99_cabsl
__divdc3
__divsc3
a1 64
__exp__D
__ieee754_acos
__ieee754_acosf
__ieee754_acosh
__ieee754_acoshf
__ieee754_asin
__ieee754_asinf
__ieee754_atan2
__ieee754_atan2f
__ieee754_atanh
__ieee754_atanhf
__ieee754_cosh
__ieee754_coshf
__ieee754_exp
__ieee754_expf
__ieee754_fmod
__ieee754_fmodf
__ieee754_fmodl
__ieee754_hypot
__ieee754_hypotf
__ieee754_j0
__ieee754_j0f
__ieee754_j1
__ieee754_j1f
__ieee754_jn
__ieee754_jnf
__ieee754_lgamma_r
__ieee754_lgammaf_r
__ieee754_log
__ieee754_log10
__ieee754_log10f
__ieee754_log2
__ieee754_log2f
__ieee754_logf
__ieee754_pow
__ieee754_powf
__ieee754_rem_pio2
__ieee754_rem_pio2f
__ieee754_remainder
__ieee754_remainderf
__ieee754_scalb
__ieee754_scalbf
__ieee754_sinh
__ieee754_sinhf
__ieee754_sqrt
__ieee754_sqrtf
__ieee754_y0
__ieee754_y0f
__ieee754_y1
__ieee754_y1f
__ieee754_yn
__ieee754_ynf
__kernel_cos
__kernel_cosf
__kernel_rem_pio2
__kernel_rem_pio2f
__kernel_sin
__kernel_sinf
__kernel_standard
__kernel_tan
__kernel_tanf
__log__D
__muldc3
__mulsc3
a2 62
_acos
_acosf
_acoshl
_acosl
_asin
_asinf
_asinhl
_asinl
_atan
_atan2
_atan2f
_atan2l
_atanf
_atanhl
_atanl
_casin
_casinf
_casinl
_catan
_catanf
_catanl
_cbrtl
_cchsh
_cchshf
_cchshl
_ceill
_copysignl
_cos
_cosf
_cosh
_coshf
_coshl
_cosl
_cospi
_cospif
_cospil
_ctans
_ctansf
_ctansl
_end
_erfcl
_erfl
_exp
_exp2l
_expf
_expl
_expm1l
_fdlib_version
_feclearexcept
_fedisableexcept
_feenableexcept
_fegetenv
_fegetexcept
_fegetexceptflag
_fegetround
_feholdexcept
_feraiseexcept
_fesetenv
_fesetexceptflag
_fesetround
_fetestexcept
_feupdateenv
a3 7
_finite
_finitef
_floorl
_fmodl
_hypot
_hypotf
_hypotl
a4 189
_lgammal
_lgammal_r
_log
_log10l
_log1pl
_log2l
_logf
_logl
_modfl
_powl
_redupi
_redupif
_redupil
_remquo
_remquof
_remquol
_roundl
_scalbln
_scalblnf
_scalblnl
_scalbn
_scalbnf
_scalbnl
_sin
_sincos
_sincosf
_sincosl
_sinf
_sinh
_sinhf
_sinhl
_sinl
_sinpi
_sinpif
_sinpil
_sqrtl
_tan
_tanf
_tanhl
_tanl
_tanpi
_tanpif
_tanpil
_tgammal
_truncl
acos
acosf
acosh
acoshf
acoshl
acosl
asin
asinf
asinh
asinhf
asinhl
asinl
atan
atan2
atan2f
atan2l
atanf
atanh
atanhf
atanhl
atanl
cabs
cabsf
cacos
cacosf
cacosh
cacoshf
cacoshl
cacosl
carg
cargf
cargl
casin
casinf
casinh
casinhf
casinhl
casinl
catan
catanf
catanh
catanhf
catanhl
catanl
cbrt
cbrtf
cbrtl
ccos
ccosf
ccosh
ccoshf
ccoshl
ccosl
ceil
ceilf
ceill
cexp
cexpf
cexpl
cimag
cimagf
cimagl
clog
clogf
clogl
conj
conjf
conjl
copysign
copysignf
copysignl
cos
cosf
cosh
coshf
coshl
cosl
cospi
cospif
cospil
cpow
cpowf
cpowl
cproj
cprojf
cprojl
creal
crealf
creall
csin
csinf
csinh
csinhf
csinhl
csinl
csqrt
csqrtf
csqrtl
ctan
ctanf
ctanh
ctanhf
ctanhl
ctanl
drem
dremf
erf
erfc
erfcf
erfcl
erff
erfl
exp
exp2
exp2f
exp2l
expf
expl
expm1
expm1f
expm1l
fabsf
fdim
fdimf
fdiml
feclearexcept
fedisableexcept
feenableexcept
fegetenv
fegetexcept
fegetexceptflag
fegetround
feholdexcept
feraiseexcept
fesetenv
fesetexceptflag
fesetround
fetestexcept
feupdateenv
finite
finitef
floor
floorf
floorl
a7 144
fmax
fmaxf
fmaxl
fmin
fminf
fminl
fmod
fmodf
fmodl
frexp
frexpf
frexpl
gamma
gamma_r
gammaf
gammaf_r
hypot
hypotf
hypotl
ilogb
ilogbf
ilogbl
isinff
isnanf
j0
j0f
j1
j1f
jn
jnf
ldexp
ldexpf
ldexpl
lgamma
lgamma_r
lgammaf
lgammaf_r
lgammal
lgammal_r
llrint
llrintf
llrintl
llround
llroundf
llroundl
log
log10
log10f
log10l
log1p
log1pf
log1pl
log2
log2f
log2l
logb
logbf
logbl
logf
logl
lrint
lrintf
lrintl
lround
lroundf
lroundl
matherr
modf
modff
modfl
nan
nanf
nanl
nearbyint
nearbyintf
nearbyintl
nextafter
nextafterf
nextafterl
nexttoward
nexttowardf
nexttowardl
pow
powf
powl
remainder
remainderf
remainderl
remquo
remquof
remquol
rint
rintf
rintl
round
roundf
roundl
scalb
scalbf
scalbln
scalblnf
scalblnl
scalbn
scalbnf
scalbnl
signgam
significand
significandf
sin
sincos
sincosf
sincosl
sinf
sinh
sinhf
sinhl
sinl
sinpi
sinpif
sinpil
sqrt
sqrtf
sqrtl
tan
tanf
tanh
tanhf
tanhl
tanl
tanpi
tanpif
tanpil
tgamma
tgammaf
tgammal
trunc
truncf
truncl
y0
y0f
y1
y1f
yn
ynf
@


1.2
log
@libm: Do the weak alias dance for sin/cos/tan/finite{,f}.

tan isn't used internally, but it's confusing for it to be treated
differently from sin and cos, and there's no harm in doing the dance
unnecessarily.
@
text
@d72 2
d80 1
d84 1
@


1.1
log
@libm: Memorialize expected symbols on various architectures.

This will reduce the risk of accidentally adding or deleting the
wrong symbols while fixing the aliases.

(This is all the architectures I have a build tree for handy; can add
other architectures like m68k later.)
@
text
@d95 2
d131 2
d162 1
d166 1
d175 2
@

