changeset 20676:e11820ed3165 draft

libm: remove unnecessary conditionals from mapfile
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Wed, 22 May 2019 14:58:51 -0400
parents 0d25868392c0
children 49442e728e01
files lib/libm/common/mapfile-vers
diffstat 1 files changed, 5 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/lib/libm/common/mapfile-vers	Wed May 22 13:32:40 2019 -0400
+++ b/lib/libm/common/mapfile-vers	Wed May 22 14:58:51 2019 -0400
@@ -54,18 +54,6 @@
 
 $mapfile_version 2
 
-$if _ELF32
-$add lf64
-$endif
-$if _sparc && _ELF32
-$add sparc32
-$endif
-$if _sparc && _ELF64
-$add sparcv9
-$endif
-$if _x86 && _ELF32
-$add i386
-$endif
 $if _x86 && _ELF64
 $add amd64
 $endif
@@ -180,18 +168,14 @@
 		__feclearexcept;
 		__fegetenv;
 		__fegetexceptflag;
-$if _x86
 		__fegetprec;			#LSARC/1996/175
-$endif
 		__fegetround;
 		__feholdexcept;
 		__fenv_dfl_env;			#LSARC/1996/175
 		__feraiseexcept;
 		__fesetenv;
 		__fesetexceptflag;
-$if _x86
 		__fesetprec;			#LSARC/1996/175
-$endif
 		__fesetround;
 		__fetestexcept;
 		__feupdateenv;
@@ -234,7 +218,7 @@
 		__lgammaf_r;			#LSARC/2003/279
 		__lgammal;
 		__lgammal_r;			#LSARC/2003/279
-$if amd64 || sparcv9
+$if amd64
 		__llrint	{ FLAGS = NODYNSORT };
 		__llrintf	{ FLAGS = NODYNSORT };
 		__llrintl	{ FLAGS = NODYNSORT };
@@ -256,7 +240,7 @@
 		__log2l;
 		__logbf;
 		__logbl;
-$if amd64 || sparcv9
+$if amd64
 		__lrint 	{ FLAGS = NODYNSORT };
 		__lrintf 	{ FLAGS = NODYNSORT };
 		__lrintl 	{ FLAGS = NODYNSORT };
@@ -429,17 +413,13 @@
 		feclearexcept;
 		fegetenv;
 		fegetexceptflag;
-$if _x86
 		fegetprec;			#LSARC/1996/175
-$endif
 		fegetround;
 		feholdexcept;
 		feraiseexcept;
 		fesetenv;
 		fesetexceptflag;
-$if _x86
 		fesetprec;			#LSARC/1996/175
-$endif
 		fesetround;
 		fetestexcept;
 		feupdateenv;
@@ -490,7 +470,7 @@
 		lgammaf_r;			#LSARC/2003/279
 		lgammal;
 		lgammal_r;			#LSARC/2003/279
-$if amd64 || sparcv9
+$if amd64
 		llrint 		{ FLAGS = NODYNSORT };
 		llrintf 	{ FLAGS = NODYNSORT };
 		llrintl 	{ FLAGS = NODYNSORT };
@@ -737,7 +717,7 @@
 		yn;
 };
 
-$if amd64 || sparcv9
+$if amd64
 SYMBOL_VERSION SUNWprivate_1.2 {
 $else
 SYMBOL_VERSION SUNWprivate_1.3 {
@@ -745,7 +725,7 @@
 	global:
 		__libm_mt_fex_sync;		# -lmtsk
 		__mt_fex_sync;			# -lmtsk
-$if amd64 || sparcv9
+$if amd64
 } SUNWprivate_1.1;
 $else
 } SUNWprivate_1.2;