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.
+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):
return retval;
}
-weak_alias (s(__ccosh), s(ccosh))
+declare_mgen_alias (__ccosh, ccosh)
return retval;
}
-weak_alias (s(__cexp), s(cexp))
+declare_mgen_alias (__cexp, cexp)
return retval;
}
-weak_alias (s(__csin), s(csin))
+declare_mgen_alias (__csin, csin)
return retval;
}
-weak_alias (s(__csinh), s(csinh))
+declare_mgen_alias (__csinh, csinh)