aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-11-30 19:03:57 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-11-30 19:03:57 +0000
commitfaec63238fc58d7c055aa2394d2500e20565dbbf (patch)
tree3e4bfd781f7d4d351f6d14c4f9a3f9893fae432b
parent9e2279a0e91af29b9b6e367b9e1d13c8d491b7e6 (diff)
downloadglibc-faec63238fc58d7c055aa2394d2500e20565dbbf.zip
glibc-faec63238fc58d7c055aa2394d2500e20565dbbf.tar.gz
glibc-faec63238fc58d7c055aa2394d2500e20565dbbf.tar.bz2
Use declare_mgen_alias in m68k templates.
Some m68k libm functions have their own templates replacing the generic math/ ones but using the type-generic template machinery. These currently define function aliases directly using weak_alias. In preparation for additional _FloatN / _FloatNx function aliases, this patch changes them to use declare_mgen_alias for creating aliases instead. Tested with build-many-glibcs.py that installed stripped shared libraries for m68k-linux-gnu are unchanged by the patch. * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use declare_mgen_alias instead of weak_alias. * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise. * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise. * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/m68k/m680x0/fpu/s_ccosh_template.c2
-rw-r--r--sysdeps/m68k/m680x0/fpu/s_cexp_template.c2
-rw-r--r--sysdeps/m68k/m680x0/fpu/s_csin_template.c2
-rw-r--r--sysdeps/m68k/m680x0/fpu/s_csinh_template.c2
5 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f791db8..d2aaf5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2017-11-30 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
+ declare_mgen_alias instead of weak_alias.
+ * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
+ * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
+ * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
+
2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
diff --git a/sysdeps/m68k/m680x0/fpu/s_ccosh_template.c b/sysdeps/m68k/m680x0/fpu/s_ccosh_template.c
index 26d11fc..502679b 100644
--- a/sysdeps/m68k/m680x0/fpu/s_ccosh_template.c
+++ b/sysdeps/m68k/m680x0/fpu/s_ccosh_template.c
@@ -65,4 +65,4 @@ s(__ccosh) (CFLOAT x)
return retval;
}
-weak_alias (s(__ccosh), s(ccosh))
+declare_mgen_alias (__ccosh, ccosh)
diff --git a/sysdeps/m68k/m680x0/fpu/s_cexp_template.c b/sysdeps/m68k/m680x0/fpu/s_cexp_template.c
index 17cf145..755e724 100644
--- a/sysdeps/m68k/m680x0/fpu/s_cexp_template.c
+++ b/sysdeps/m68k/m680x0/fpu/s_cexp_template.c
@@ -126,4 +126,4 @@ s(__cexp) (CFLOAT x)
return retval;
}
-weak_alias (s(__cexp), s(cexp))
+declare_mgen_alias (__cexp, cexp)
diff --git a/sysdeps/m68k/m680x0/fpu/s_csin_template.c b/sysdeps/m68k/m680x0/fpu/s_csin_template.c
index be72208..bfcba12 100644
--- a/sysdeps/m68k/m680x0/fpu/s_csin_template.c
+++ b/sysdeps/m68k/m680x0/fpu/s_csin_template.c
@@ -56,4 +56,4 @@ s(__csin) (CFLOAT x)
return retval;
}
-weak_alias (s(__csin), s(csin))
+declare_mgen_alias (__csin, csin)
diff --git a/sysdeps/m68k/m680x0/fpu/s_csinh_template.c b/sysdeps/m68k/m680x0/fpu/s_csinh_template.c
index f518045..c4915cb 100644
--- a/sysdeps/m68k/m680x0/fpu/s_csinh_template.c
+++ b/sysdeps/m68k/m680x0/fpu/s_csinh_template.c
@@ -59,4 +59,4 @@ s(__csinh) (CFLOAT x)
return retval;
}
-weak_alias (s(__csinh), s(csinh))
+declare_mgen_alias (__csinh, csinh)