2000-06-07  Andreas Jaeger  <aj@suse.de>

	* elf/Makefile: Build ldconfig only when building shared libraries.

2000-06-07  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
	__USE_ISOC99.
	(fdimf, __fdim, fdim): Likewise.
This commit is contained in:
Ulrich Drepper 2000-06-07 16:53:48 +00:00
parent 345f9ac0db
commit 99ac5e47c0
3 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,13 @@
2000-06-07 Andreas Jaeger <aj@suse.de>
* elf/Makefile: Build ldconfig only when building shared libraries.
2000-06-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
__USE_ISOC99.
(fdimf, __fdim, fdim): Likewise.
2000-06-07 Ulrich Drepper <drepper@redhat.com>
* locale/findlocale.c: Add __builtin_expect in many places.

View File

@ -67,6 +67,7 @@ others-static = sln
install-rootsbin = sln
ifeq (yes,$(use-ldconfig))
ifeq (yes,$(build-shared))
others-static += ldconfig
others += ldconfig
install-rootsbin += ldconfig
@ -77,6 +78,7 @@ extra-objs += $(ldconfig-modules:=.o)
# To find xmalloc.c and xstrdup.c
vpath %.c ../locale/programs
endif
endif
ifeq (yes,$(build-shared))

View File

@ -152,6 +152,8 @@ __MATH_INLINE float floorf (float __x) __THROW { return __floorf(__x); }
__MATH_INLINE double floor (double __x) __THROW { return __floor(__x); }
#ifdef __USE_ISOC99
__MATH_INLINE float __fdimf (float __x, float __y) __THROW
{
return __x < __y ? 0.0f : __x - __y;
@ -171,3 +173,5 @@ __MATH_INLINE double fdim (double __x, double __y) __THROW
{
return __x < __y ? 0.0 : __x - __y;
}
#endif