mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Update.
1997-06-21 17:35 Ulrich Drepper <drepper@cygnus.com> * argp/argp.h: Remove extra #endif. Pretty print. * md5-crypt/md5.h: Likewise. * ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>. * wctype/wctype.h: Likewise. * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct directory. * sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result. * sysdeps/libm-i387/s_ilogbf.S: Likewise. * sysdeps/libm-i387/s_ilogbl.S: Likewise. * sysdeps/libm-i387/s_lrint.S: Likewise. * sysdeps/libm-i387/s_llrint.S: Likewise.
This commit is contained in:
parent
5107cf1d7d
commit
36775c3ba3
33
ChangeLog
33
ChangeLog
@ -1,3 +1,20 @@
|
|||||||
|
1997-06-21 17:35 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* argp/argp.h: Remove extra #endif. Pretty print.
|
||||||
|
* md5-crypt/md5.h: Likewise.
|
||||||
|
|
||||||
|
* ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>.
|
||||||
|
* wctype/wctype.h: Likewise.
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct
|
||||||
|
directory.
|
||||||
|
|
||||||
|
* sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result.
|
||||||
|
* sysdeps/libm-i387/s_ilogbf.S: Likewise.
|
||||||
|
* sysdeps/libm-i387/s_ilogbl.S: Likewise.
|
||||||
|
* sysdeps/libm-i387/s_lrint.S: Likewise.
|
||||||
|
* sysdeps/libm-i387/s_llrint.S: Likewise.
|
||||||
|
|
||||||
1997-06-21 02:48 Ulrich Drepper <drepper@cygnus.com>
|
1997-06-21 02:48 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* config.h.in: Add DO_STATIC_NSS.
|
* config.h.in: Add DO_STATIC_NSS.
|
||||||
@ -166,21 +183,13 @@
|
|||||||
* xlocale.h: Likewise.
|
* xlocale.h: Likewise.
|
||||||
* xopen_lim.h: Likewise.
|
* xopen_lim.h: Likewise.
|
||||||
|
|
||||||
* linuxthreads/sysdeps/alpha/semaphorebits.h: -> .../bits/semaphore.h.
|
|
||||||
* linuxthreads/sysdeps/powerpc/semaphorebits.h: Likewise.
|
|
||||||
* linuxthreads/sysdeps/pthread/cmpxchg/semaphorebits.h: Likewise.
|
|
||||||
* linuxthreads/sysdeps/pthread/no-cmpxchg/semaphorebits.h: Likewise.
|
|
||||||
* linuxthreads/sysdeps/pthread/libc-lock.h: -> bits/
|
|
||||||
* sysdeps/mach/libc-lock.h: Likewise.
|
* sysdeps/mach/libc-lock.h: Likewise.
|
||||||
* sysdeps/stub/libc-lock.h: Likewise.
|
* sysdeps/stub/libc-lock.h: Likewise.
|
||||||
* linuxthreads/sysdeps/pthread/stdio-lock.h: Likewise.
|
|
||||||
* linuxthreads/sysdeps/unix/sysv/linux/local_lim.h: Likewise.
|
|
||||||
* sysdeps/mach/hurd/local_lim.h: Likewise.
|
* sysdeps/mach/hurd/local_lim.h: Likewise.
|
||||||
* sysdeps/stub/local_lim.h: Likewise.
|
* sysdeps/stub/local_lim.h: Likewise.
|
||||||
* sysdeps/unix/sysv/linux/local_lim.h: Likewise.
|
* sysdeps/unix/sysv/linux/local_lim.h: Likewise.
|
||||||
* sysdeps/unix/sysv/local_lim.h: Likewise.
|
* sysdeps/unix/sysv/local_lim.h: Likewise.
|
||||||
* sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
|
* sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
|
||||||
* linuxthreads/sysdeps/unix/sysv/linux/posix_opt.h: Likewise.
|
|
||||||
* sysdeps/mach/hurd/posix_opt.h: Likewise.
|
* sysdeps/mach/hurd/posix_opt.h: Likewise.
|
||||||
* sysdeps/stub/posix_opt.h: Likewise.
|
* sysdeps/stub/posix_opt.h: Likewise.
|
||||||
* sysdeps/unix/bsd/posix_opt.h: Likewise.
|
* sysdeps/unix/bsd/posix_opt.h: Likewise.
|
||||||
@ -405,8 +414,6 @@
|
|||||||
* io/sys/stat.h: Likewise.
|
* io/sys/stat.h: Likewise.
|
||||||
* io/sys/statfs.h: Likewise.
|
* io/sys/statfs.h: Likewise.
|
||||||
* io/utime.h: Likewise.
|
* io/utime.h: Likewise.
|
||||||
* linuxthreads/semaphore.h: Likewise.
|
|
||||||
* linuxthreads/sysdeps/pthread/pthread.h: Likewise.
|
|
||||||
* locale/locale.h: Likewise.
|
* locale/locale.h: Likewise.
|
||||||
* login/pty.h: Likewise.
|
* login/pty.h: Likewise.
|
||||||
* login/utmp.h: Likewise.
|
* login/utmp.h: Likewise.
|
||||||
@ -490,8 +497,6 @@
|
|||||||
* libio/libio.h: Likewise.
|
* libio/libio.h: Likewise.
|
||||||
* libio/libioP.h: Likewise.
|
* libio/libioP.h: Likewise.
|
||||||
* libio/stdio.h: Likewise.
|
* libio/stdio.h: Likewise.
|
||||||
* linuxthreads/lockfile.c: Likewise.
|
|
||||||
* linuxthreads/semaphore.h: Likewise.
|
|
||||||
* locale/duplocale.c: Likewise.
|
* locale/duplocale.c: Likewise.
|
||||||
* locale/freelocale.c: Likewise.
|
* locale/freelocale.c: Likewise.
|
||||||
* locale/lc-time.c: Likewise.
|
* locale/lc-time.c: Likewise.
|
||||||
@ -642,8 +647,6 @@
|
|||||||
* dirent/Makefile: Likewise.
|
* dirent/Makefile: Likewise.
|
||||||
* elf/Makefile: Likewise.
|
* elf/Makefile: Likewise.
|
||||||
* io/Makefile: Likewise.
|
* io/Makefile: Likewise.
|
||||||
* linuxthreads/Makefile: Likewise.
|
|
||||||
* linuxthreads/sysdeps/pthread/Makefile: Likewise.
|
|
||||||
* login/Makefile: Likewise.
|
* login/Makefile: Likewise.
|
||||||
* math/Makefile: Likewise.
|
* math/Makefile: Likewise.
|
||||||
* misc/Makefile: Likewise.
|
* misc/Makefile: Likewise.
|
||||||
@ -4826,8 +4829,6 @@
|
|||||||
|
|
||||||
1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
1997-03-19 15:13 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
* linuxthreads/sysdeps/sparc/pt-machine (RELEASE): Fix.
|
|
||||||
|
|
||||||
* stdlib/tst-strtol.c: Save the value of errno, printf may modify
|
* stdlib/tst-strtol.c: Save the value of errno, printf may modify
|
||||||
it.
|
it.
|
||||||
|
|
||||||
|
39
argp/argp.h
39
argp/argp.h
@ -29,16 +29,16 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#ifndef __const
|
#ifndef __const
|
||||||
#define __const const
|
# define __const const
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __error_t_defined
|
#ifndef __error_t_defined
|
||||||
typedef int error_t;
|
typedef int error_t;
|
||||||
#define __error_t_defined
|
# define __error_t_defined
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __P
|
#ifndef __P
|
||||||
# if (defined (__STDC__) && __STDC__) || defined (__cplusplus)
|
# if (defined __STDC__ && __STDC__) || defined __cplusplus
|
||||||
# define __P(args) args
|
# define __P(args) args
|
||||||
# else
|
# else
|
||||||
# define __P(args) ()
|
# define __P(args) ()
|
||||||
@ -510,16 +510,16 @@ extern void *__argp_input __P ((__const struct argp *argp,
|
|||||||
|
|
||||||
#ifdef __OPTIMIZE__
|
#ifdef __OPTIMIZE__
|
||||||
|
|
||||||
#if !_LIBC
|
# if !_LIBC
|
||||||
# define __argp_usage argp_usage
|
# define __argp_usage argp_usage
|
||||||
# define __argp_state_help argp_state_help
|
# define __argp_state_help argp_state_help
|
||||||
# define __option_is_short _option_is_short
|
# define __option_is_short _option_is_short
|
||||||
# define __option_is_end _option_is_end
|
# define __option_is_end _option_is_end
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
#ifndef ARGP_EI
|
# ifndef ARGP_EI
|
||||||
# define ARGP_EI extern inline
|
# define ARGP_EI extern inline
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
ARGP_EI void
|
ARGP_EI void
|
||||||
__argp_usage (__const struct argp_state *__state)
|
__argp_usage (__const struct argp_state *__state)
|
||||||
@ -545,17 +545,16 @@ __option_is_end (__const struct argp_option *__opt)
|
|||||||
return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
|
return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !_LIBC
|
# if !_LIBC
|
||||||
# undef __argp_usage
|
# undef __argp_usage
|
||||||
# undef __argp_state_help
|
# undef __argp_state_help
|
||||||
# undef __option_is_short
|
# undef __option_is_short
|
||||||
# undef __option_is_end
|
# undef __option_is_end
|
||||||
#endif
|
# endif
|
||||||
#endif /* argp.h */
|
|
||||||
#endif /* __OPTIMIZE__ */
|
#endif /* __OPTIMIZE__ */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __ARGP_H__ */
|
#endif /* argp.h */
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#define _CTYPE_H 1
|
#define _CTYPE_H 1
|
||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
#include <gnu/types.h>
|
#include <bits/types.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
|
@ -72,9 +72,9 @@ typedef u_int32_t md5_uint32;
|
|||||||
|
|
||||||
#undef __P
|
#undef __P
|
||||||
#if defined (__STDC__) && __STDC__
|
#if defined (__STDC__) && __STDC__
|
||||||
#define __P(x) x
|
# define __P(x) x
|
||||||
#else
|
#else
|
||||||
#define __P(x) ()
|
# define __P(x) ()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Structure to save state of computation between the single steps. */
|
/* Structure to save state of computation between the single steps. */
|
||||||
@ -143,7 +143,6 @@ extern void *md5_read_ctx __P ((const struct md5_ctx *ctx, void *resbuf));
|
|||||||
resulting message digest number will be written into the 16 bytes
|
resulting message digest number will be written into the 16 bytes
|
||||||
beginning at RESBLOCK. */
|
beginning at RESBLOCK. */
|
||||||
extern int __md5_stream __P ((FILE *stream, void *resblock));
|
extern int __md5_stream __P ((FILE *stream, void *resblock));
|
||||||
#endif /* md5.h */
|
|
||||||
|
|
||||||
/* Compute MD5 message digest for LEN bytes beginning at BUFFER. The
|
/* Compute MD5 message digest for LEN bytes beginning at BUFFER. The
|
||||||
result is always in little endian byte order, so that a byte-wise
|
result is always in little endian byte order, so that a byte-wise
|
||||||
@ -154,4 +153,4 @@ extern void *__md5_buffer __P ((const char *buffer, size_t len,
|
|||||||
extern void *md5_buffer __P ((const char *buffer, size_t len,
|
extern void *md5_buffer __P ((const char *buffer, size_t len,
|
||||||
void *resblock));
|
void *resblock));
|
||||||
|
|
||||||
#endif
|
#endif /* md5.h */
|
||||||
|
@ -14,6 +14,7 @@ ENTRY(__ilogb)
|
|||||||
fstpl %st
|
fstpl %st
|
||||||
|
|
||||||
fistpl (%esp)
|
fistpl (%esp)
|
||||||
|
fwait
|
||||||
popl %eax
|
popl %eax
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
@ -14,6 +14,7 @@ ENTRY(__ilogbf)
|
|||||||
fstpl %st
|
fstpl %st
|
||||||
|
|
||||||
fistpl (%esp)
|
fistpl (%esp)
|
||||||
|
fwait
|
||||||
popl %eax
|
popl %eax
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
@ -15,6 +15,7 @@ ENTRY(__ilogbl)
|
|||||||
fstp %st
|
fstp %st
|
||||||
|
|
||||||
fistpl (%esp)
|
fistpl (%esp)
|
||||||
|
fwait
|
||||||
popl %eax
|
popl %eax
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
@ -26,6 +26,7 @@ ENTRY(__llrint)
|
|||||||
fldt 4(%esp)
|
fldt 4(%esp)
|
||||||
subl $8, %esp
|
subl $8, %esp
|
||||||
fistpll (%esp)
|
fistpll (%esp)
|
||||||
|
fwait
|
||||||
popl %eax
|
popl %eax
|
||||||
popl %edx
|
popl %edx
|
||||||
ret
|
ret
|
||||||
|
@ -26,6 +26,7 @@ ENTRY(__lrint)
|
|||||||
fldt 4(%esp)
|
fldt 4(%esp)
|
||||||
subl $4, %esp
|
subl $4, %esp
|
||||||
fistpl (%esp)
|
fistpl (%esp)
|
||||||
|
fwait
|
||||||
popl %eax
|
popl %eax
|
||||||
ret
|
ret
|
||||||
END(__lrint)
|
END(__lrint)
|
||||||
|
@ -826,10 +826,7 @@ static double zero = 0.0; /* used as const */
|
|||||||
exc.type = OVERFLOW;
|
exc.type = OVERFLOW;
|
||||||
exc.name = type < 100 ? "gamma" : (type < 200
|
exc.name = type < 100 ? "gamma" : (type < 200
|
||||||
? "gammaf" : "gammal");
|
? "gammaf" : "gammal");
|
||||||
if (_LIB_VERSION == _SVID_)
|
exc.retval = HUGE_VAL;
|
||||||
exc.retval = HUGE;
|
|
||||||
else
|
|
||||||
exc.retval = HUGE_VAL;
|
|
||||||
if (_LIB_VERSION == _POSIX_)
|
if (_LIB_VERSION == _POSIX_)
|
||||||
__set_errno (ERANGE);
|
__set_errno (ERANGE);
|
||||||
else if (!matherr(&exc)) {
|
else if (!matherr(&exc)) {
|
||||||
@ -843,10 +840,7 @@ static double zero = 0.0; /* used as const */
|
|||||||
exc.type = SING;
|
exc.type = SING;
|
||||||
exc.name = type < 100 ? "gamma" : (type < 200
|
exc.name = type < 100 ? "gamma" : (type < 200
|
||||||
? "gammaf" : "gammal");
|
? "gammaf" : "gammal");
|
||||||
if (_LIB_VERSION == _SVID_)
|
exc.retval = HUGE_VAL;
|
||||||
exc.retval = HUGE;
|
|
||||||
else
|
|
||||||
exc.retval = NAN;
|
|
||||||
if (_LIB_VERSION == _POSIX_)
|
if (_LIB_VERSION == _POSIX_)
|
||||||
__set_errno (EDOM);
|
__set_errno (EDOM);
|
||||||
else if (!matherr(&exc)) {
|
else if (!matherr(&exc)) {
|
||||||
|
@ -68,7 +68,7 @@ inhibit-glue = yes
|
|||||||
# Tell sysdeps/posix/Makefile that we create stdio_lim.h differently.
|
# Tell sysdeps/posix/Makefile that we create stdio_lim.h differently.
|
||||||
inhibit-stdio_lim = yes
|
inhibit-stdio_lim = yes
|
||||||
|
|
||||||
$(common-objpfx)stdio_%.h $(common-objpfx)stdio_%.d: \
|
$(common-objpfx)bits/stdio_%.h $(common-objpfx)bits/stdio_%.d: \
|
||||||
$(..)sysdeps/unix/sysv/linux/stdio_%.h.in
|
$(..)sysdeps/unix/sysv/linux/stdio_%.h.in
|
||||||
rm -f $(@:.h=.d) $(@:.d=.h)-t
|
rm -f $(@:.h=.d) $(@:.d=.h)-t
|
||||||
echo '#include <linux/limits.h>' | \
|
echo '#include <linux/limits.h>' | \
|
||||||
@ -88,6 +88,6 @@ $(common-objpfx)stdio_%.h $(common-objpfx)stdio_%.d: \
|
|||||||
rm -f $(@:.d=.h)-t
|
rm -f $(@:.d=.h)-t
|
||||||
ifndef no_deps
|
ifndef no_deps
|
||||||
# Get the list of dependencies (probably /usr/include/linux/limits.h).
|
# Get the list of dependencies (probably /usr/include/linux/limits.h).
|
||||||
-include $(common-objpfx)stdio_lim.d
|
-include $(common-objpfx)bits/stdio_lim.d
|
||||||
endif
|
endif
|
||||||
common-generated += stdio_lim.h stdio_lim.d
|
common-generated += bits/stdio_lim.h bits/stdio_lim.d
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#define _WCTYPE_H 1
|
#define _WCTYPE_H 1
|
||||||
|
|
||||||
#include <features.h>
|
#include <features.h>
|
||||||
#include <gnu/types.h>
|
#include <bits/types.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user