diff options
| -rw-r--r-- | ChangeLog | 84 | ||||
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | README-alpha (renamed from SNAP) | 0 | ||||
| -rw-r--r-- | elf/Makefile | 7 | ||||
| -rw-r--r-- | libc.map | 4 | ||||
| -rw-r--r-- | malloc/obstack.h | 172 | ||||
| -rw-r--r-- | math/test-reduce.c | 207 | ||||
| -rw-r--r-- | nss/getXXent_r.c | 7 | ||||
| -rw-r--r-- | nss/nss_files/files-alias.c | 2 | ||||
| -rw-r--r-- | nss/nss_files/files-parse.c | 2 | ||||
| -rw-r--r-- | nss/nsswitch.c | 7 | ||||
| -rw-r--r-- | socket/sys/socket.h | 4 | ||||
| -rw-r--r-- | stdio-common/vfscanf.c | 46 | ||||
| -rw-r--r-- | stdlib/Makefile | 2 | ||||
| -rw-r--r-- | sysdeps/generic/Dist | 2 | ||||
| -rw-r--r-- | sysdeps/generic/getresgid.c | 34 | ||||
| -rw-r--r-- | sysdeps/generic/getresuid.c | 34 | ||||
| -rw-r--r-- | sysdeps/generic/s_exp2.c | 15 | ||||
| -rw-r--r-- | sysdeps/generic/s_exp2f.c | 15 | ||||
| -rw-r--r-- | sysdeps/generic/stdint.h | 1 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/bits/socket.h | 6 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/errlist.c | 4 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/getresgid.c | 6 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/getresuid.c | 6 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/poll.c | 8 | ||||
| -rw-r--r-- | sysdeps/wordsize-32/inttypes.h | 425 | ||||
| -rw-r--r-- | sysdeps/wordsize-32/stdint.h | 214 | ||||
| -rw-r--r-- | sysdeps/wordsize-64/inttypes.h | 423 | ||||
| -rw-r--r-- | sysdeps/wordsize-64/stdint.h | 214 | ||||
| -rw-r--r-- | time/Makefile | 181 | ||||
| -rw-r--r-- | time/tzfile.c | 4 | ||||
| -rw-r--r-- | time/tzset.c | 6 | ||||
| -rw-r--r-- | timezone/Makefile | 196 | ||||
| -rw-r--r-- | timezone/README (renamed from time/README) | 0 | ||||
| -rw-r--r-- | timezone/africa (renamed from time/africa) | 0 | ||||
| -rw-r--r-- | timezone/antarctica (renamed from time/antarctica) | 0 | ||||
| -rw-r--r-- | timezone/asia (renamed from time/asia) | 0 | ||||
| -rw-r--r-- | timezone/australasia (renamed from time/australasia) | 0 | ||||
| -rw-r--r-- | timezone/backward (renamed from time/backward) | 0 | ||||
| -rw-r--r-- | timezone/checktab.awk (renamed from time/checktab.awk) | 0 | ||||
| -rw-r--r-- | timezone/etcetera (renamed from time/etcetera) | 0 | ||||
| -rw-r--r-- | timezone/europe (renamed from time/europe) | 0 | ||||
| -rw-r--r-- | timezone/factory (renamed from time/factory) | 0 | ||||
| -rw-r--r-- | timezone/ialloc.c (renamed from time/ialloc.c) | 0 | ||||
| -rw-r--r-- | timezone/iso3166.tab (renamed from time/iso3166.tab) | 0 | ||||
| -rw-r--r-- | timezone/leapseconds (renamed from time/leapseconds) | 0 | ||||
| -rw-r--r-- | timezone/northamerica (renamed from time/northamerica) | 0 | ||||
| -rw-r--r-- | timezone/pacificnew (renamed from time/pacificnew) | 0 | ||||
| -rw-r--r-- | timezone/private.h (renamed from time/private.h) | 0 | ||||
| -rw-r--r-- | timezone/scheck.c (renamed from time/scheck.c) | 0 | ||||
| -rw-r--r-- | timezone/solar87 (renamed from time/solar87) | 0 | ||||
| -rw-r--r-- | timezone/solar88 (renamed from time/solar88) | 0 | ||||
| -rw-r--r-- | timezone/solar89 (renamed from time/solar89) | 0 | ||||
| -rw-r--r-- | timezone/southamerica (renamed from time/southamerica) | 0 | ||||
| -rw-r--r-- | timezone/systemv (renamed from time/systemv) | 0 | ||||
| -rw-r--r-- | timezone/test-tz.c (renamed from time/test-tz.c) | 0 | ||||
| -rw-r--r-- | timezone/tzfile.h (renamed from time/tzfile.h) | 0 | ||||
| -rw-r--r-- | timezone/tzselect.ksh (renamed from time/tzselect.ksh) | 0 | ||||
| -rwxr-xr-x | timezone/yearistype (renamed from time/yearistype) | 0 | ||||
| -rw-r--r-- | timezone/zdump.c (renamed from time/zdump.c) | 0 | ||||
| -rw-r--r-- | timezone/zic.c (renamed from time/zic.c) | 0 | ||||
| -rw-r--r-- | timezone/zone.tab (renamed from time/zone.tab) | 0 | ||||
| -rw-r--r-- | wctype/wctype.h | 4 |
63 files changed, 1174 insertions, 1170 deletions
@@ -1,3 +1,86 @@ +1998-02-15 Ulrich Drepper <drepper@cygnus.com> + + * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last + module. + + * nss/getXXent_r.c: If no more module is found don't try to call + setXXent functions but leave unsuccessfully. + + * malloc/obstack.h: Cleanups. + + * sysdeps/wordsize-32/stdint.h: New file. + * sysdeps/wordsize-64/stdint.h: New file. + * sysdeps/generic/stdint.h: New file. + * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h. + * sysdeps/wordsize-64/inttypes.h: Likewise. + * stdlib/Makefile (headers): Add stdint.h. + +1998-02-03 Paul Eggert <eggert@twinsun.com> + + * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available. + +1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu> + + * timezone: New directory. + * time/README, time/africa, time/antarctica, time/asia, + time/australasia, time/backward, time/checktab.awk, + time/etcetera, time/europe, time/factory, time/ialloc.c, + time/iso3166.tab, time/leapseconds, time/northamerica, + time/pacificnew, time/private.h, time/scheck.c, + time/solar87, time/solar88, time/solar89, time/southamerica, + time/systemv, time/test-tz.c, time/tzfile.h, + time/tzselect.ksh, time/yearistype, time/zdump.c, + time/zic.c, time/zone.tab: Moved to timezone. + * time/tzfile.c: Include tzfile.h from timezone subdir. + * time/tzset.c: Likewise. + * time/Makefile: Cut out all code relating to timezones... + * timezone/Makefile: ...and paste it in here. + * Makefile (subdirs): Add timezone. + +1998-02-13 18:45 H.J. Lu <hjl@gnu.org> + + * libc.map (_sys_nerr): Added. + + * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it + versioned symbol. + +1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and + pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY. + Reported by Craig Metz <cmetz@inner.net>. + +1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp + instead of strcasecmp. + * nss/nss_files/files-alias.c (get_next_alias): Likewise. + + * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8. + +1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com> + + * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const. + Patch by Dean Gaudet <dgaudet@arctic.org>. + +1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com> + + * sysdeps/generic/Dist: Add getresgid.c and getresuid.c. + +1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu> + + * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel + with no poll syscall, just include the BSD version. + * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a + kernel without the syscall, include the stub version. + * sysdeps/unix/sysv/linux/getresgid.c: Likewise. + * sysdeps/generic/getresuid.c: New file. + * sysdeps/generic/getresgid.c: New file. + +1998-02-15 Ulrich Drepper <drepper@cygnus.com> + + * stdio-common/vfscanf.c: Correct last change a bit. + 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile: Don't use --version-script parameter to link ld.so @@ -27,7 +110,6 @@ * stdlib/strfmon.c: char is unsigned, sometimes. - *sysdeps/powerpc * sysdeps/powerpc/Makefile: Remove quad float support. * sysdeps/powerpc/q_*.c: Remove, they will become an add-on. * sysdeps/powerpc/quad_float.h: Likewise. @@ -64,7 +64,7 @@ subdirs = csu assert ctype db2 locale intl catgets math setjmp signal stdlib \ stdio-common $(stdio) malloc string wcsmbs time dirent grp pwd \ posix io termios resource misc socket sysvipc gmon gnulib iconv \ iconvdata wctype manual shadow md5-crypt po argp $(add-ons) nss \ - localedata $(rt) $(sysdep-subdirs) $(binfmt-subdir) + localedata timezone $(rt) $(sysdep-subdirs) $(binfmt-subdir) export subdirs := $(subdirs) # Benign, useless in GNU make before 3.63. # The mach and hurd subdirectories have many generated header files which diff --git a/elf/Makefile b/elf/Makefile index 5fe73e7171..093fc09369 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -87,6 +87,11 @@ $(objpfx)librtld.os: $(objpfx)dl-allobjs.os $(common-objpfx)libc_pic.a # Do we need a linker script? rtld-ldscript-in := $(firstword $(wildcard $(+sysdep_dirs:%=%/rtld-ldscript.in))) + +ifeq ($(versioning),yes) +RTLD-VERSIONS = -Wl,--version-script=$(libc-map) +endif + ifneq (,$(rtld-ldscript-in)) LDFLAGS-rtld = -T $(objpfx)rtld-ldscript @@ -103,8 +108,6 @@ $(objpfx)rtld-ldscript: $(rtld-ldscript-in) $(rtld-parms) $(objpfx)ld.so: $(objpfx)librtld.os $(objpfx)rtld-ldscript $(rtld-link) -Wl,-soname=$(rtld-installed-name) -RTLD-VERSIONS=$(addprefix -Wl,--version-script=,$(libc-map)) - define rtld-link $(LINK.o) -nostdlib -nostartfiles -shared -o $@ \ -Wl,-rpath=$(default-rpath) $(LDFLAGS-rtld) \ @@ -5,7 +5,7 @@ GLIBC_2.0 { __ctype_b; __ctype_tolower; __ctype_toupper; _nl_msg_cat_cntr; __environ; _environ; _res; ___brk_addr; __curbrk; _nl_current_LC_CTYPE; _libc_intl_domainname; - _sys_errlist; _sys_siglist; __progname; _nl_default_dirname; + _sys_errlist; _sys_nerr; _sys_siglist; __progname; _nl_default_dirname; _nl_domain_bindings; __timezone; __daylight; __tzname; _nl_current_LC_COLLATE; __collate_element_hash; __collate_element_strings; __collate_symbol_classes; @@ -465,7 +465,7 @@ GLIBC_2.1 { wait4; # New errlist. - _sys_errlist; sys_errlist; sys_nerr; + _sys_errlist; sys_errlist; _sys_nerr; sys_nerr; # New special glibc functions. gnu_get_libc_release; gnu_get_libc_version; diff --git a/malloc/obstack.h b/malloc/obstack.h index e7ae6959e5..edbcd264df 100644 --- a/malloc/obstack.h +++ b/malloc/obstack.h @@ -1,5 +1,5 @@ /* obstack.h - object stack macros - Copyright (C) 1988,89,90,91,92,93,94,96,97 Free Software Foundation, Inc. + Copyright (C) 1988,89,90,91,92,93,94,96,97,98 Free Software Foundation, Inc. This file is part of the GNU C Library. Its master source is NOT part of the C library, however. The master source lives in /gd/gnu/lib. @@ -116,45 +116,39 @@ extern "C" { may ignore the byte-within-word field of the pointer. */ #ifndef __PTR_TO_INT -#define __PTR_TO_INT(P) ((P) - (char *) 0) +# define __PTR_TO_INT(P) ((P) - (char *) 0) #endif #ifndef __INT_TO_PTR -#define __INT_TO_PTR(P) ((P) + (char *) 0) +# define __INT_TO_PTR(P) ((P) + (char *) 0) #endif -/* We need the type of the resulting object. In ANSI C it is ptrdiff_t - but in traditional C it is usually long. If we are in ANSI C and - don't already have ptrdiff_t get it. */ - -#if defined (__STDC__) && __STDC__ && ! defined (offsetof) -#if defined (__GNUC__) && defined (IN_GCC) -/* On Next machine, the system's stddef.h screws up if included - after we have defined just ptrdiff_t, so include all of stddef.h. - Otherwise, define just ptrdiff_t, which is all we need. */ -#ifndef __NeXT__ -#define __need_ptrdiff_t -#endif -#endif +/* We need the type of the resulting object. If __PTRDIFF_TYPE__ is + defined, as with GNU C, use that; that way we don't pollute the + namespace with <stddef.h>'s symbols. Otherwise, if <stddef.h> is + available, include it and use ptrdiff_t. In traditional C, long is + the best that we can do. */ -#include <stddef.h> -#endif - -#if defined (__STDC__) && __STDC__ -#define PTR_INT_TYPE ptrdiff_t +#ifdef __PTRDIFF_TYPE__ +# define PTR_INT_TYPE __PTRDIFF_TYPE__ #else -#define PTR_INT_TYPE long +# ifdef HAVE_STDDEF_H +# include <stddef.h> +# define PTR_INT_TYPE ptrdiff_t +# else +# define PTR_INT_TYPE long +# endif #endif -#if defined (_LIBC) || defined (HAVE_STRING_H) -#include <string.h> -#define _obstack_memcpy(To, From, N) memcpy ((To), (From), (N)) -#else -#ifdef memcpy -#define _obstack_memcpy(To, From, N) memcpy ((To), (From), (N)) +#if defined _LIBC || defined HAVE_STRING_H +# include <string.h> +# define _obstack_memcpy(To, From, N) memcpy ((To), (From), (N)) #else -#define _obstack_memcpy(To, From, N) bcopy ((From), (To), (N)) -#endif +# ifdef memcpy +# define _obstack_memcpy(To, From, N) memcpy ((To), (From), (N)) +# else +# define _obstack_memcpy(To, From, N) bcopy ((From), (To), (N)) +# endif #endif struct _obstack_chunk /* Lives at front of each chunk. */ @@ -173,7 +167,7 @@ struct obstack /* control current object in current chunk */ char *chunk_limit; /* address of char after current chunk */ PTR_INT_TYPE temp; /* Temporary for some macros. */ int alignment_mask; /* Mask of alignment for each object. */ |
