about summary refs log tree commit diff
path: root/math/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-15 22:51:30 +0000
committerRoland McGrath <roland@gnu.org>2002-11-15 22:51:30 +0000
commit92712dee6828b76b2646d853328cf030eacd36b1 (patch)
treec47fb508e31e6fdd4fef2bea5f1e9808632ff402 /math/Makefile
parent53da80ab8870138b81b212c540c32b5c1eeccaf4 (diff)
downloadglibc-92712dee6828b76b2646d853328cf030eacd36b1.tar.gz
glibc-92712dee6828b76b2646d853328cf030eacd36b1.tar.xz
glibc-92712dee6828b76b2646d853328cf030eacd36b1.zip
* sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
	* sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.

2002-11-15  Roland McGrath  <roland@redhat.com>

	* math/Makefile (libm-calls): Change s_ldexp to m_ldexp.
	* Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc]
	from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep).
	(+make-include-of-dep): New canned sequence.

	* stdlib/canonicalize.c (__realpath): Check for malloc failure.
	From Dmitry V. Levin <ldv@altlinux.org>.
Diffstat (limited to 'math/Makefile')
-rw-r--r--math/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/Makefile b/math/Makefile
index 045cdb2a6a..b710c372e0 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -46,7 +46,7 @@ libm-calls = e_acos e_acosh e_asin e_atan2 e_atanh e_cosh e_exp e_fmod	\
 	     e_rem_pio2 e_remainder e_scalb e_sinh e_sqrt e_gamma_r	\
 	     k_cos k_rem_pio2 k_sin k_tan s_asinh s_atan s_cbrt		\
 	     s_ceil s_copysign s_cos s_erf s_expm1 s_fabs s_finite	\
-	     s_floor s_frexp s_ilogb s_ldexp s_log1p s_logb		\
+	     s_floor s_frexp s_ilogb m_ldexp s_log1p s_logb		\
 	     s_modf s_nextafter s_nexttoward s_rint s_scalbn s_scalbln	\
 	     s_significand s_sin s_tan s_tanh w_acos w_acosh w_asin	\
 	     w_atan2 w_atanh w_cosh w_drem w_exp w_exp2 w_exp10 w_fmod	\
@@ -74,6 +74,8 @@ distribute += $(long-m-yes:=.c)
 # These functions are in libc instead of libm because __printf_fp
 # calls them, so any program using printf will need them linked in,
 # and we don't want to have to link every program with -lm.
+# In libm-calls (above), list m_foo in place of s_foo for any
+# routine that should be compiled separately for its libc and libm versions.
 calls = s_isinf s_isnan s_finite s_copysign s_modf s_scalbn s_frexp s_ldexp \
 	s_signbit
 routines = $(calls) $(calls:=f) $(long-c-$(long-double-fcts))