* sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
[glibc.git] / ChangeLog
blob16dd6f93b174e6a48048ed23b845f90448a20db4
1 2000-04-05  Andreas Schwab  <schwab@suse.de>
3         * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
4         entry point, used on Hurd.
6 2000-04-04  Andreas Jaeger  <aj@suse.de>
8         * intl/Makefile: Only run the gettext test with shared libraries.
10 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
12         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
13         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
15 2000-04-05  Roland McGrath  <roland@baalperazim.frob.com>
17         * Makeconfig: Undo last change.
18         * configure.in: If --disable-shared was given, don't set VERSIONING,
19         don't define DO_VERSIONING, and don't give scare warning for no
20         versioning.
21         * configure: Regenerated.
23 2000-04-04  Roland McGrath  <roland@baalperazim.frob.com>
25         * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
27 2000-04-04  Andreas Jaeger  <aj@suse.de>
29         * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
31 2000-04-04  Ulrich Drepper  <drepper@redhat.com>
33         * elf/dl-runtime.c (fixup): Correct handling of symbols marked
34         STV_HIDDEN and STV_INTERNAL during lookup.
35         (profile_fixup): Likewise.
36         * elf/dl-reloc.c (RESOLVE): Likewise.
38         * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
39         unaligned so that it compiles for system which need unaligned
40         access handling.
42 2000-04-04  Andreas Schwab  <schwab@suse.de>
44         * elf/cache.c (print_entry): Only look at the type field when
45         printing the type.
47 2000-04-04  Andreas Schwab  <schwab@suse.de>
49         * iconvdata/big5.c (BODY): Fix typo.
51 2000-04-04  Andreas Schwab  <schwab@suse.de>
53         * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
54         function interface.  Remove unused _dl_start_user entry point.
56 2000-04-03  Andreas Jaeger  <aj@suse.de>
58         * include/arpa/inet.h (__inet_aton): Add protoype.
60 2000-04-01  Andreas Jaeger  <aj@suse.de>
62         * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
64         * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
65         * sysdeps/mach/mips/thread_state.h: Likewise.
67         * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
68         * sysdeps/generic/fegetenv.c: Likewise.
69         * sysdeps/generic/fesetenv.c: Likewise.
70         * sysdeps/generic/feupdateenv.c: Likewise.
71         * sysdeps/generic/fraiseexcpt.c: Likewise.
72         * sysdeps/generic/fsetexcptflg.c: Likewise.
73         * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
74         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
75         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
76         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
78 2000-04-02  H.J. Lu  <hjl@gnu.org>
80         * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
82 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
84         * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
85         (add_name_to_object): Add cast in malloc call.
86         (fillin_rpath): Optimize loop to initialize ->status a bit.
88         * sysdeps/i386/dl-machine.h: Undo last change.
89         * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
90         Restore %edx register after call here.
92         * sysdeps/arm/atomicity.h: New file.
93         Contributed by Jesper Skov <jskov@redhat.com>.
95 2000-04-03  Roland McGrath  <roland@baalperazim.frob.com>
97         * Makeconfig (preprocess-versions): Undo last change.
98         Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
100         * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
101         here, before we might move the stack.
102         (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
103         (init1): And not here.
105         * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
106         change, to restore argc value in call-clobbered register after
107         RTLD_START_SPECIAL_INIT, which will contain a call.
109         * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
110         allocating and initializing L->l_initfini.
112         * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
114 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
116         * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
117         RUNPATH, RPATH, and LD_LIBRARY_PATH.
118         (open_path): Change type of fourth parameter.  Make pointer to array
119         of pointers.  Create variable dirs with original type.
120         Track whether any directory for the object exists and if not,
121         change *DIRSP to (void*) -1 to signal there is no such search path.
122         (_dl_map_object): Change all calls of open_path.
123         Rewrite decompose_rpath calls.
125 2000-03-31  Andreas Schwab  <schwab@suse.de>
127         * string/strfry.c: Declare STATE as array of char instead of int
128         and do not initialize it (done by initstate_r).  Pass correct
129         size.
131 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
133         * sysdeps/generic/ldsodefs.h: Fix typo in comment.
135         * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
136         instruction out of the code.
138 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
140         * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
141         element at this position.
143         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
144         * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
145         l_reldeps elements.
146         * elf/dl-lookup.c (add_dependency): New function.
147         (_dl_lookup_symbol): Use it whenever symbol was found in a global,
148         dynamically loaded object.
149         (_dl_lookup_symbol_skip): Likewise.
150         (_dl_lookup_versioned_symbol): Likewise.
151         (_dl_lookup_versioned_symbol_skip): Likewise.
152         * elf/dl-open.c: Don't define _dl_load_lock here...
153         * elf/rtld.c: ...but here...
154         * elf/dl-support.c: ...and here.
155         * elf/dl-close.c (_dl_close): Close also dependent objects introduce
156         through relocation.
157         * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
158         relocations.
159         * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
160         anymore.
161         * dlfcn/glrefmain.c: Add one more debug message.
163         * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
164         command line.
165         * Makerules (sysd-versions): Use ( ) instead of { }.
167         * elf/dl-load.c: Use __builtin_expect to signal that compiler should
168         optimize for the non-debugging case.
169         * elf/dl-lookup.c: Likewise.
170         * sysdeps/generic/libc-start.c: Likewise.
172 2000-04-02  Roland McGrath  <roland@baalperazim.frob.com>
174         * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
175         (init1): Don't initialize __environ here, since init already does it.
176         (first_init): New function, broken out of _init.
177         (_hurd_stack_setup): Use it.
178         [SHARED] (_dl_init_first): New function, renamed from old _init.
179         (init1) [SHARED]: Don't call posixland_init here.
180         (posixland_init): Take ENVP arg, so signature is usual for initializer.
181         [SHARED] (_init): Define as alias for posixland_init.
182         [! SHARED] (__libc_first_init): Define as alias for posixland_init.
183         * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
184         RTLD_START_SPECIAL_INIT before calling initializers.
185         (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
186         * sysdeps/mach/hurd/i386/dl-machine.h: New file.
187         * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
188         * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
190         * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
191         since we define the function with the name `tmpfile'.
193         * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
194         * hurd/Versions: Likewise.
196 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
198         * elf/dl-runtime.c (fixup): Fix typo in comment.
200         * resolv/netdb.h (getnameinfo): All length parameters are of type
201         socklen_t.
202         * inet/getnameinfo.c: Likewise.
204 2000-04-01  Ulrich Drepper  <drepper@redhat.com>
206         * posix/unistd.h (socklen_t): Define if it has not yet happened.
207         (gethostname): Change type of second parameter to socklen_t.
208         * include/unistd.h (__gethostname): Change type of second
209         parameter to socklen_t.
210         * sysdeps/generic/gethostname.c (__gethostname): Likewise.
211         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
212         * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
213         * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
214         Likewise.
215         * sysdeps/unix/sysv/linux/gethostname.c: Removed.
216         * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
217         Allow definition elsewhere.
218         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
219         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
220         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
221         * sysdeps/generic/bits/types.h: Define __socklen_t.
222         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
223         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
224         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
225         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
226         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
227         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
228         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
230         * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
231         (inet_lnaof): Likewise.
232         (inet_netof): Likewise.
233         (inet_network): Likewise.
234         (inet_aton): Likewise.
235         (inet_makeaddr): Change parameter types to in_addr_t.
236         (inet_neta): Likewise.
237         (inet_ntop): Change type of last parameter to socklen_t.
238         (inet_aton): Only make available if __USE_MISC.
239         (inet_neta): Likewise.
240         (inet_net_ntop): Likewise.
241         (inet_net_pton): Likewise.
242         (inet_nsap_ntoa): Likewise.
244         * inet/in.h: Define in_port_t type.
245         Define in_addr_t type.
246         (struct in_addr): Use in_addr_t in definition.
247         (IN_CLASSA): Use cast to in_addr_t.
248         (IN_CLASSB): Likewise.
249         (IN_CLASSC): Likewise.
250         (IN_CLASSD): Likewise.
251         (IN_EXPERIMENTAL): Likewise.
252         (IN_BADCLASS): Likewise.
253         (INADDR_ANY): Likewise.
254         (INADDR_BROADCAST): Likewise.
255         (INADDR_NONE): Likewise.
256         (INADDR_LOOPBACK): Likewise.
257         (INADDR_UNSPEC_GROUP): Likewise.
258         (INADDR_ALLHOSTS_GROUP): Likewise.
259         (INADDR_ALLRTRS_GROUP): Likewise.
260         (INADDR_MAX_LOCAL_GROUP): Likewise.
261         (struct sockaddr_in): Use in_port_t for sin_port element.
262         (struct sockaddr_in6): Use in_port_t for sin6_port element.
263         Use uint8_t instead of u_int8_t.
265         * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
266         Call __inet_aton instead of inet_aton.
267         (__inet_aton): Renamed from inet_aton.  Add weak alias under old name.
269         * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
270         (innetgr): Likewise.
271         (struct addrinfo): Use socklen_t for ai_addrlen element.
273         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
274         IPV6_RECVERR): New defines.
276         * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
277         * inet/getnetbyad.c: Likewise.
278         * inet/getnetbyad_r.c: Likewise.
279         * nis/nss_nis/nis-network.c: Likewise.
280         * nis/nssplus_nis/nisplus-network.c: Likewise.
281         * nss/nss_files/files-network.c: Likewise.
282         * resolv/netdb.h: Define uint32_t if not already happened.
283         Include bits/netdb.h.  Remove definition of struct netent.
284         Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
285         * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
286         * sysdeps/generic/bits/netdb.h: New file.
287         * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
289         * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
290         (tests): Add glrefmain.
291         Add rules to build modules and run tests.  Ignore result of glrefmain
292         for now since it fails.
293         * dlfcn/glrefmain.c: New file.
294         * dlfcn/glreflib1.c: New file.
295         * dlfcn/glreflib2.c: New file.
297         * test-skeleton.c: Include <string.h> for strsignal prototype.
299         * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
300         to be missing.
302         * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
303         former init-first.h.  Initialize __libc_multiple_libcs.
305 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
307         * iconv/skeleton.c: Define access macros with u suffix.  Adjust
308         #if expression for use of unaligned function to the one used in
309         the definition of these functions.
310         * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
311         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
312         (internal_ucs4le_loop_unaligned): New function.
314         * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
315         (tests): Add order.
316         (module-names): Add dep1, dep2, dep3, and dep4.
317         Add dependencies for dep* modules and order.
318         Define rule for order.out which checks the result.
319         * elf/dep1.c: New file.
320         * elf/dep2.c: New file.
321         * elf/dep3.c: New file.
322         * elf/dep4.c: New file.
323         * elf/order.c: New file.
325         * elf/dl-init.c: Fix typo in comment.
327 2000-03-31  Andreas Jaeger  <aj@suse.de>
329         * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
330         init function interface.
331         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
333 2000-03-31  Andreas Jaeger  <aj@suse.de>
335         * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
336         * sysdeps/mips/fpu/fegetenv.c: Likewise.
337         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
338         * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
339         * sysdeps/mips/fpu/fesetenv.c: Likewise.
341         * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
342         anymore, update comment.
344         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
346         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
347         SHLIB_COMPAT - the struct is always needed.
349 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
351         * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
352         * elf/dl-support.c: Define _dl_starting_up.
354 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
356         * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
357         * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
359         * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
361         * elf/Makefile (dl-routines): Remove preinit.
362         * elf/Versions: Remove _dl_preinit.
363         * elf/dl-preinit.c: Removed.  Move content into...
364         * elf/dl-init.c: ...here.
365         * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
367         * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
368         elements.
370 2000-03-29  Geoff Clare  <gwc@unisoft.com>
372         * stdlib/strfmon.c: Corrected problems with the code that
373         sets default values for [np]_sep_by_space and
374         [np]_sign_posn; also the new positive/negative alignment
375         code from the previous patch was not quite right for
376         [np]_sign_posn = 0.
378         * localedata/tst-fmon.data: Changes corresponding to the
379         two sets of fixes made to stdlib/strfmon.c.
381 2000-03-29  Jes Sorensen  <jes@pcatls01.cern.ch>
383         * malloc/malloc.c: Declare bit flags UL so that they will not
384         default to int size when being inverted.
386 2000-03-29  Andreas Jaeger  <aj@suse.de>
388         * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
389         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
391 2000-03-29  Andreas Jaeger  <aj@suse.de>,
392             Ralf Baechle <ralf@uni-koblenz.de>
394         * Makeconfig: Introduce new variable SHARED to mark code used in
395         the shared library.
396         * elf/dl-close.c: Use it instead of PIC.
397         * elf/dl-load.c: Likewise.
398         * elf/dl-open.c: Likewise.
399         * hurd/geteuids.c: Likewise.
400         * include/libc-symbols.h: Likewise.
401         * include/shlib-compat.h: Likewise.
402         * libio/freopen.c: Likewise.
403         * linuxthreads/cancel.c: Likewise.
404         * linuxthreads/pthread.c: Likewise.
405         * linuxthreads/wrapsyscall.c: Likewise.
406         * nss/nsswitch.c: Likewise.
407         * stdio-common/vfprintf.c: Likewise.
408         * sysdeps/arm/init-first.c: Likewise.
409         * sysdeps/i386/init-first.c: Likewise
410         * sysdeps/generic/init-first.c: Likewise.
411         * sysdeps/generic/libc-start.c: Likewise.
412         * sysdeps/mips/init-first.c: Likewise.
413         * sysdeps/powerpc/elf/libc-start.c: Likewise.
414         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
415         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
416         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
417         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
419         * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
421 2000-03-29  Andreas Jaeger  <aj@suse.de>
423         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
424         Use D_PTR to access relocated entries in l_info.
425         (elf_machine_rela): Likewise.
427         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
428         Likewise.
429         (elf_machine_rela): Likewise.
431         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
432         Likewise.
433         (__elf_machine_fixup_plt): Likewise.
434         (__process_machine_rela): Likewise.
436         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
437         (elf_machine_rela): Likewise.
439         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
440         (elf_machine_rel): Likewise.
442         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
443         (elf_machine_fixup_plt): Likewise.
444         (elf_machine_rela): Likewise.
446 2000-03-29  Andreas Jaeger  <aj@suse.de>
448         * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
449         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
450         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
451         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
452         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
453         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
454         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
455         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
456         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
457         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
458         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
459         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
460         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
461         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
462         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
464         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
465         macros, remove K&R prototypes.
467 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
469         * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
470         Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
471         (PR libc/1677).
473 2000-03-30  Andreas Jaeger  <aj@suse.de>
475         * misc/sys/cdefs.h: Remove K&R support.
477 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
479         * iconv/skeleton.c: Avoid compiling unaligned versions in some
480         with size of dynamic sectionmore cases.
481         * iconv/loop.c: Likewise.
483 2000-03-29  Bruno Haible  <haible@clisp.cons.org>
485         * iconv/loop.c (put16): Remove __const. Fix access index.
486         (put32): Remove __const. Use uint32_t instead of uint16_t.
487         * iconv/skeleton.c: Likewise.
489 2000-03-30  Roland McGrath  <roland@baalperazim.frob.com>
491         * mach/Versions (libc: GLIBC_2.0)
492         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
493         __vm_allocate on this.
494         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
495         mutex- and spinlock-related symbols on this.
496         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
497         New version set.  Lock-related symbols go here instead in this case.
498         * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
499         _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
500         cthread_getspecific, cthread_setspecific, __libc_getspecific.
501         * hurd/Versions
502         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
503         Put them here instead.
504         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
505         New version set.  Those cthreads symbols go here instead in this case.
506         * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
508 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
510         * elf/dl-init.c (_dl_init): We don't need to call constructors
511         recursively.  Fold _dl_init_rec in _dl_init and optimize a bit more.
513         Implement dynamic determination of constructor/destructor order in
514         the dynamic linker.
515         * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
516         (GLIBC_2.2): Add _dl_init.
517         * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
518         r_duplist is not anymore allocated separately.  l_initfini is and
519         therefore free it if necessary.
520         * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
521         malloc block.  Otherwise allocate l_initfini list only.
522         Put dependencies for the object in l_initfini list.
523         Sort dependencies for the object to be loaded topologically.
524         * elf/dl-fini.c: Before running the destructors sort the topologically.
525         * elf/dl-init.c (_dl_init): Renamed from _dl_init_next.  Rewrite to
526         call constructors instead of iterating over the pointers.  Get list of
527         objects for which to run constructors from l_initfini element. Accept
528         argc, argv, and env as parameters and pass them to the constructors.
529         * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
530         with size of dynamic section.
531         * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
532         _dl_init_next and calling constructors ourself.
533         * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
534         Take argc, argv, and env as parameters and pass them to the
535         constructors.  Rewrite to call all constructors and not iterate over
536         the pointers.
537         * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry.  Don't
538         precompute l_initcount and l_preinitcount.
539         * elf/link.h (struct link_map): Add l_ldnum member.
540         Make l_phdr_allocated part of the bitfield.  Remove l_runcount,
541         l_initcount, and l_preinitcount.  Add l_initfini.
542         * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
543         one for _dl_init.
544         * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
545         function interface.
546         * sysdeps/unix/sysv/linux/init-first.h: Removed.
547         * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
548         * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
549         SYSDEP_CALL_INIT.  Make _init a strong alias of init.  The calling
550         conventions now match.
552         * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
553         effect for shared objects.  Don't emit message and call only for
554         static library.
556 2000-03-29  Ulrich Drepper  <drepper@redhat.com>
558         * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
559         CSA_Z243.4-1985-1..UCS2.
560         * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
561         ISO-8859-10..UCS2.
563 2000-03-29  Andreas Jaeger  <aj@suse.de>
565         * include/unistd.h: Remove duplicate entry for __rmdir.
566         Remove declaration of __mkdir since __mkdir is declared in
567         sys/stat.h.
569         * manual/creature.texi (Feature Test Macros): Fix typo, reported
570         by Michael Deutschmann <michael@talamasca.ocis.net>.
572         * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
573         * sysdeps/mips/fpu/fegetenv.c: Likewise.
574         * sysdeps/mips/fpu/fesetenv.c: Likewise.
575         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
576         * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
578 2000-03-28  Andreas Jaeger  <aj@suse.de>
580         * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
581         declaration, the prototype is defined via bits/mathcalls.h.
582         (__sincosf): Likewise.
583         (__sincosl): Likewise.
584         (ldexp): Likewise.
585         (ldexpf): Likewise.
586         (ldexpl): Likewise.
587         (__finite): Likewise.
588         (__inline_mathcodeNP): New macro without prototype
589         declarations.
590         (__inline_mathcodeNP2): Likewise.
591         (__inline_mathcodeNP3): Likewise.
592         (__inline_mathcodeNP_): Likewise.
593         (__inline_mathcodeNP2_): Likewise.
594         (__inline_mathcodeNP3_): Likewise.
595         (__inline_mathopNP): Likewise.
596         (__inline_mathop_declNP): Likewise.
597         (__inline_mathop_declNP_): Likewise.
598         (__inline_mathcode_): Use __inline_mathcodeNP_.
599         (__inline_mathcode2_): Use __inline_mathcodeNP2_.
600         (__inline_mathcode3_): Use __inline_mathcodeNP3_.
601         (__inline_mathop_decl_): Use __inline_mathop_declNP__.
602         (__expm1l): Don't define prototype, the prototype is defined via
603         bits/mathcalls.h.
604         (exp): Likewise.
605         (__expl): Likewise.
606         (tan): Likewise.
607         (atan2): Likewise.
608         (__atan2l): Likewise.
609         (fmod): Likewise.
610         (pow): Likewise.
611         (fabsf): Likewise.
612         (fabsl): Likewise.
613         (__fabsl): Likewise.
614         (asin): Likewise.
615         (acos): Likewise.
616         (sinh): Likewise.
617         (cosh): Likewise.
618         (tanh): Likewise.
619         (floor): Likewise.
620         (ceil): Likewise.
621         (expm1): Likewise.
622         (log1p): Likewise.
623         (asinh): Likewise.
624         (acosh): Likewise.
625         (atanh): Likewise.
626         (hypot): Likewise.
627         (logb): Likewise.
628         (fma): Likewise.
629         (drem): Likewise.
630         (sqrt): Likewise.
631         (__sqrtl): Likewise.
632         (sin): Likewise.
633         (cos): Likewise.
634         (atan): Likewise.
635         (log): Likewise.
636         (log10): Likewise.
637         (asinh): Likewise.
638         (log2): Likewise.
639         (rint): Likewise.
641 2000-03-28  Ulrich Drepper  <drepper@redhat.com>
643         * Makerules: If make variable md5 is defined to yes after
644         generating dependencies generate MD5 sum for the object.
646         * iconv/gconv_builtin.h: Fix length in transformation definition
647         for UNICODEBIG.
649         * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
651         * iconv/loop.c: Define get16, get32, put16, and put32 macros to
652         allow as well reading from/writing to unaligned addresses on machines
653         which don't support this in hardware.  Use FCTNAME macro to define
654         function name.  Include the file a second time for platforms which
655         need special unaligned handling.
656         * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
657         to access potentially unaligned addresses.  These macros are intended
658         to be used only outside the loops.
659         (unaligned): New definition.  In case the machine can handle unaligned
660         access define as zero.  Otherwise as a variable which is initialized
661         as nonzero in case the buffer passed in at runtime is unaligned with
662         respect to the character set encoding involved.
663         Call aligned or unaligned looop functions according to unaligned
664         variable.
665         * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
666         of direct casting pointer to potentially handle unaligned memory
667         accesses.
668         * iconvdata/8bit-generic.c: Likewise.
669         * iconvdata/ansi_x3.110.c: Likewise.
670         * iconvdata/big5.c: Likewise.
671         * iconvdata/euc-cn.c: Likewise.
672         * iconvdata/euc-jp.c: Likewise.
673         * iconvdata/euc-kr.c: Likewise.
674         * iconvdata/euc-tw.c: Likewise.
675         * iconvdata/gbk.c: Likewise.
676         * iconvdata/iso-2022-cn.c: Likewise.
677         * iconvdata/iso-2022-jp.c: Likewise.
678         * iconvdata/iso-2022-kr.c: Likewise.
679         * iconvdata/iso646.c: Likewise.
680         * iconvdata/iso_6937-2.c: Likewise.
681         * iconvdata/iso_6937.c: Likewise.
682         * iconvdata/johab.c: Likewise.
683         * iconvdata/sjis.c: Likewise.
684         * iconvdata/t.61.c: Likewise.
685         * iconvdata/uhc.c: Likewise.
686         * iconvdata/unicode.c: Likewise.
687         * iconvdata/utf-16.c: Likewise.
689         * locale/programs/simple-hash.c: Little optimizations.  Remove K&R
690         prototypes.
692         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
693         * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
694         public.
695         * malloc/mcheck.h (mcheck_check_all): Declare.
697         * stdio-common/Makefile (tests): Add tst-obprintf.
699 2000-03-28  Roland McGrath  <roland@baalperazim.frob.com>
701         * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
702         Declare pthread_sigmask.
704         * csu/version.c: Add 2000 to copyright years.
705         Remove Emacs local variables section.
707 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
709         * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
710         __gconv_transform_internal_ucs2little): Remove declarations.
711         * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
712         __gconv_transform_internal_ucs2): Never need to bswap_16.
713         (__gconv_transform_ucs2reverse_internal,
714         __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
716 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
718         * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
719         obsoleting version not being defined at all, in which case the
720         result is always true.
722         * Makeconfig (preprocess-versions): New canned sequence for running
723         cpp on shlib-versions and the like.
724         (soversions.i): Use it.
725         * Makerules (Versions.all, sysd-versions): Use it to preprocess the
726         Versions.def and Versions files.
728 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
730         * stdio-common/tst-obprintf.c (main): Add another check to see
731         obstack_printf handling all possible beginnings of the block
732         inside an obstack chunk.
734         * locale/programs/localedef.c: Use __malloc_initialize_hook to
735         install mcheck handler.
737         * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
738         handling problem.
740 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
742         * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
744         * include/shlib-compat.h: Conditionalize <abi-versions.h> include
745         on [HAVE_ELF && DO_VERSIONING].
747 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
749         * stdio-common/tst-obprintf.c: New file.
751 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
753         * libio/genops.c (_IO_default_xsputn): Little optimization.  Call
754         _IO_OVERFLOW directly instead through __overflow.
756         * locale/programs/localedef.c (construct_output_path): If path
757         contains a / compute the end of the directory name correctly.
759         * include/features.h: Undef and document __USE_XOPEN2K.
761         * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
762         whenever a function is called.  Initiated by calling mcheck_pedantic
763         instead of mcheck.
764         * malloc/mcheck.h: Declare mcheck_pedantic.
765         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
766         * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
767         for now.
769 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
771         * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
772         * dlfcn/dlopenold.c: Likewise.
773         * nss/getXXbyYY_r.c: Likewise.
774         * nss/getXXent_r.c: Likewise.
775         * hurd/hurdinit.c: Likewise.
776         * hurd/compat-20.c: Likewise.
777         * libio/oldiofopen.c: Likewise.
778         * libio/oldiofclose.c: Likewise.
779         * libio/oldiofdopen.c: Likewise.
780         * libio/oldfileops.c: Likewise.
781         * libio/oldstdfiles.c: Likewise.
782         * libio/oldiofsetpos.c: Likewise.
783         * libio/oldiofgetpos.c: Likewise.
784         * libio/oldiofgetpos64.c: Likewise.
785         * libio/oldiofsetpos64.c: Likewise.
786         * libio/oldiopopen.c: Likewise.
787         * libio/oldpclose.c: Likewise.
788         * libio/oldtmpfile.c: Likewise.
789         * libio/freopen.c (freopen): Likewise.
790         * libio/iofclose.c (_IO_new_fclose): Likewise.
792         * sysdeps/mach/sys/reboot.h: Include <features.h>.
793         (reboot): Declare it.
795         * libio/Makefile (headers): Add bits/stdio-lock.h here.
797         * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
799         * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
801         * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
802         __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
803         We need this for the sbrk decl, which can be included without Unix98.
805 2000-03-20  Richard Henderson  <rth@cygnus.com>
807         * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
808         argument to yperr2nss is an int, not size_t.
809         * posix/regex.c (print_partial_compiled_pattern): Cast all
810         ptrdiff_t to long for printing.
811         (print_compiled_pattern): Use Z for printing size_t.
812         * posix/testfnm.c (tests): Avoid trigraphs.
813         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
814         Use a C comment, not an assembly comment.
816         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
817         of __ASSUME_32BITUIDS.
819 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
821         * libio/iofopncook.c: Remove K&R prototypes.
823 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
825         * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
826         an initial value of 1024 instead of RLIM_INFINITY.
828         * Versions.def (libmachuser, libhurduser): Remove these sections,
829         since these libraries do not presently use symbol versions.
831         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
832         is RLIM_INFINITY, return -1 instead.
834 2000-03-24  Andreas Jaeger  <aj@suse.de>
836         * Makefile (postclean): Added soversions.i.
838 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
840         * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
841         _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
842         and _FPU_IEEE.  Change _FPU_RESERVED.
844 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
846         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
848 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
850         * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
851         (gaih_inet): Remove unused duplicate variable.
853         * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
854         Don't use __libc_sa_len, which only exists for Linux.  Just handle
855         AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
856         only flavors supported by this function anyway.
858 2000-03-24  Geoff Clare  <gwc@unisoft.com>
860         * stdlib/strfmon.c: corrected problems with missing signs and
861         missing or extra spaces; allow for sign strings longer than
862         one character; add padding to ensure positive and negative
863         formats are aligned when a left precision is used.
865 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
867         * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
868         Patch by John Mizel <John.Mizel@msdw.com>.
870 2000-03-25  Ulrich Drepper  <drepper@redhat.com>
872         * manual/install.texi: Remove references to crypt add-on.
874 2000-03-25  Roland McGrath  <roland@baalperazim.frob.com>
876         * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
877         section while taking the _hurd_rlimit_lock.
878         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
880 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
882         * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
883         using $(LN_S).
885         * sysdeps/mach/hurd/if_index.c: New file.
887         * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
888         * sysdeps/gnu/net/if.h: here.
889         (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
890         * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
891         * sysdeps/generic/net/if.h: New file.  Declares just the standard
892         functions and `struct if_nameindex' type.
893         * socket/Makefile (headers): Add net/if.h here.
894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
895         * sysdeps/mach/hurd/Dist: Remove it here.
896         * sysdeps/unix/sysv/linux/Dist: And here.
897         * sysdeps/generic/if_index.c: Include <net/if.h>.
899 2000-03-24  Andreas Jaeger  <aj@suse.de>
901         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
902         access relocated entries in l_info.
903         (elf_machine_got_rel): Likewise.
904         (elf_machine_runtime_setup): Likewise.
905         * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
906         (elf_machine_runtime_setup): Likewise.
907         (__dl_runtime_resolve): Likewise.
909 2000-03-23  Ulrich Drepper  <drepper@redhat.com>
911         * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
912         * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
913         according to RFC 2553.
914         * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
915         * inet/getnameinfo.c: Likewise.
916         Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
918 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
920         * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
921         Remove no-op pointer increment.
923 2000-03-23  Andreas Jaeger  <aj@suse.de>
925         * stdio-common/tst-cookie.c (cookieseek): Change prototype to
926         follow change for libio.h from 2000-03-10.
928 2000-03-23  Andreas Jaeger  <aj@suse.de>
930         * elf/dl-addr.c: Adjust include paths for ldsodefs location
931         change.
932         * elf/dl-debug.c: Likewise.
933         * elf/dl-deps.c: Likewise.
934         * elf/dl-error.c: Likewise.
935         * elf/dl-fini.c: Likewise.
936         * elf/dl-init.c: Likewise.
937         * elf/dl-load.c: Likewise.
938         * elf/dl-lookup.c: Likewise.
939         * elf/dl-minimal.c: Likewise.
940         * elf/dl-object.c: Likewise.
941         * elf/dl-open.c: Likewise.
942         * elf/dl-preinit.c: Likewise.
943         * elf/dl-profile.c: Likewise.
944         * elf/dl-profstub.c: Likewise.
945         * elf/dl-reloc.c: Likewise.
946         * elf/dl-runtime.c: Likewise.
947         * elf/dl-support.c: Likewise.
948         * elf/dl-symbol.c: Likewise.
949         * elf/dl-version.c: Likewise.
950         * elf/rtld.c: Likewise.
951         * elf/sprof.c: Likewise.
952         * sysdeps/generic/dl-cache.c: Likewise.
953         * sysdeps/generic/dl-origin.c: Likewise.
954         * sysdeps/generic/dl-sysdep.c: Likewise.
955         * sysdeps/generic/elf/backtracesyms.c: Likewise.
956         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
957         * sysdeps/generic/libc-start.c: Likewise.
958         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
959         * sysdeps/powerpc/dl-machine.c: Likewise.
960         * sysdeps/powerpc/elf/libc-start.c: Likewise.
961         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
962         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
963         * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
965         * elf/ldsodefs.h: Move file to ...
966         * sysdeps/generic/ldsodefs.h: ... here.
968         * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
970         * sysdeps/mips/elf/ldsodefs.h: New file.
972         * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
973         entries in l_info.
974         (_dl_check_map_versions): Likewise.
975         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
976         * elf/dl-load.c (_dl_init_paths): Likewise.
977         (_dl_map_object): Likewise.
978         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
979         (elf_get_dynamic_info): Likewise.
980         * elf/do-lookup.h (FCT): Likewise.
981         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
982         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
983         * elf/dl-addr.c (_dl_addr): Likewise.
984         * elf/dl-runtime.c (profile_fixup): Likewise.
985         (fixup): Likewise.
986         * elf/dl-init.c (_dl_init_next): Likewise.
987         * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
988         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
989         (DISTINGUISH_LIB_VERSIONS): Likewise.
990         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
991         (elf_machine_rel): Likewise.
993         * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
994         for writable dynamic section.
996 2000-03-22  Ulrich Drepper  <drepper@redhat.com>
998         * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
999         large enough.  Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
1001 2000-03-22  Andreas Jaeger  <aj@suse.de>
1003         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
1004         from latest Linux kernel.
1006 2000-03-21  Andreas Jaeger  <aj@suse.de>
1008         * Versions.def: Add version 2.1.4.
1010 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
1012         * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
1013         * libio/oldiofopen.c: Likewise.
1014         * libio/oldiofclose.c: Likewise.
1015         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1017 2000-03-22  Roland McGrath  <roland@baalperazim.frob.com>
1019         * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
1020         indicating the first version set to obsolete the conditionalized code.
1021         (compat_symbol): New macro.
1022         * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
1023         rhs be the ABI_* macro for the subsuming version.  Assign increasing
1024         integer values to the ABI_* macros for supported versions.
1025         * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
1026         compat_symbol macro.
1028 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
1030         * nscd/connections.c (nscd_run): Pretty print.
1031         * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
1033         * manual/charset.texi: Fix typos.  Rephrase.
1034         * manual/process.texi: Likewise.
1035         * manual/signal.texi: Likewise.
1036         Patches by Mike Coleman <mkc@kc.net>.
1038         * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
1039         versions.
1040         * libio/iofdopen.c: Likewise.
1041         * libio/iofgetpos.c: Likewise.
1042         * libio/iofgetpos64.c: Likewise.
1043         * libio/iofopen.c: Likewise.
1044         * libio/iofsetpos.c: Likewise.
1045         * libio/iofsetpos64.c: Likewise.
1046         * libio/iopopen.c: Likewise.
1047         * libio/oldiofopen.c: Likewise.
1048         * libio/pclose.c: Likewise.
1049         * sysdeps/gnu/siglist.c: Likewise.
1050         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1052         * include/shlib-compat.h (versioned_symbol): Give preprocessor the
1053         chance to expand VERSION_##lib##_##version.
1055         * libio/fileops.c: Use new macros from shlib-compat.h to define
1056         versions.
1057         * libio/iofclose.c: Likewise.
1058         * libio/oldiofclose.c: Likewise.
1059         Patch by Roland McGrath <roland@frob.com>.
1061 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
1063         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
1064         Lay out struct sigcontext according to what really gets passed on
1065         the stack.
1066         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
1067         (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
1068         (prgregset_t, prfpregset_t): Define to elf_* types.
1069         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
1070         Define to correct value.
1071         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
1072         sigcontext.
1073         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1075 2000-03-21  Roland McGrath  <roland@baalperazim.frob.com>
1077         * scripts/firstversions.awk: Allow multiple version sets in the
1078         "earliest version" specification, meaning that version sets in the
1079         gaps between listed versions should be folded into the earliest later
1080         version that is explicitly listed.
1081         * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
1082         we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
1084 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
1086         * iconv/gconv_builtin.c: Include <endian.h>.
1087         * iconv/gconv_builtin.h: Add UCS-BE aliases.
1088         Add UCS-4LE transformation.  Define UNICODEBIG and UNICODELITTLE
1089         according to current platform.
1090         * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
1091         __gconv_transform_internal_ucs2reverse, and
1092         __gconv_transform_internal_ucs4le.
1093         * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
1094         __gconv_transform_ucs2reverse_internal and
1095         __gconv_transform_internal_ucs2reverse.
1096         * iconvdata/Makefile (modules): Add UNICODE.
1097         (distribute): Add unicode.c.
1098         * iconvdata/gconv-modules: Add definitions for UNICODE module.
1099         * iconvdata/unicode.c: New file.
1101         * iconvdata/utf-16.c: Rewrite code to emit BOM.  Correct code to
1102         determine byte order of input and convert accordingly.
1104         * iconvdata/utf-16.c (gconv_init): Fix typo.
1106 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
1108         * iconvdata/gconv-modules: Fix typo.
1110         * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
1111         more messages.
1113         * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
1115 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
1117         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
1119 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
1121         * misc/Makefile (routines): Add mincore.
1123 2000-03-20  Andreas Jaeger  <aj@suse.de>
1125         * sysdeps/generic/mincore.c: New stub file.
1127         * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
1128         from latest Linux kernel.
1130 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
1132         * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
1133         _SC_GETPW_R_SIZE_MAX.
1135 2000-03-20  Richard Henderson  <rth@cygnus.com>
1137         * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
1138         in GLIBC_2.1.4.
1140 2000-03-20  Richard Henderson  <rth@cygnus.com>
1142         * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
1143         of arithmetic instructions.
1145         * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
1146         with the fpcr.  Protect from INV exception.
1147         * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
1148         * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
1149         * sysdeps/alpha/fpu/s_floorf.c: Likewise.
1151         * sysdeps/alpha/fpu/s_copysign.c: New.
1152         * sysdeps/alpha/fpu/s_copysignf.c: New.
1153         * sysdeps/alpha/fpu/s_fabs.c: New.
1154         * sysdeps/alpha/fpu/s_fabsf.c: New.
1155         * sysdeps/alpha/fpu/s_rint.c: New.
1156         * sysdeps/alpha/fpu/s_rintf.c: New.
1158         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
1160         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
1161         Kill sethae.
1162         * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
1163         * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
1164         Use physical addresses not KSEG addresses.
1165         (io_system): Add PYXIS.
1166         (io): Remove hae.reg, sys, hae_shift.
1167         (stb_mb, stw_mb, stl_mb, __sethae): New.
1168         (inline_outb, inline_outw, inline_outl): Don't set hae.
1169         (inline_inb, inline_inw, inline_inl): Likewise.
1170         (dense_sethae): New null function.
1171         (struct cpuinfo_data): New.
1172         (process_cpuinfo): Use local and stack variables, not static.
1173         Move readlink check here from init_iosys.
1174         (init_iosys): Use __pciconfig_iobase first.  Know SX and LX as PYXIS.
1175         (_iopl): Simplify.
1176         (_hae_shift): Calculate it here.
1177         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
1178         add pciconfig_iobase.
1180 2000-03-20  Roland McGrath  <roland@baalperazim.frob.com>
1182         * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
1183         * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
1185         * scripts/versions.awk: Fixed version renaming code to distinguish
1186         libraries properly.
1188 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
1190         * include/stdlib.h: Add prototype for __cxa_atexit.
1192         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
1193         _SLOWDOWN flags.  Patch by Jim Blandy <jimb@cygnus.com>.
1195 2000-03-17  Cristian Gafton  <gafton@redhat.com>
1197         * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
1198         existing rtld-installed-name.
1199         ($(rtld-installed-name)): Request libc-$(version) be installed too.
1200         replace existing rtld-installed-name using $(symbolic-link-prog).
1202 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
1204         * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
1205         (insert_value, handle_ellipsis, collate_read): Replace %zu in format
1206         strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
1207         but not the former.
1209 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
1211         * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
1212         glob64.  Since there is no glob64 in the LFS proposal applications
1213         can assume that glob handles LFS situations.  glob64 is only needed
1214         if alternative filesystem functions are used.
1216 2000-03-19  Geoff Clare  <gwc@unisoft.com>
1218         * sysdeps/generic/glob.c: Correct gl_pathc value returned
1219         when GLOB_DOOFFS is set; correct handling of patterns
1220         containing escaped wildcards (and no unescaped ones);
1221         GLOB_ERR flag was being ignored in some situations.
1223         * posix/globtest.c, posix/globtest.sh: Updated to include
1224         tests for the problems fixed by the above changes to glob.c.
1226         * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
1228 2000-03-19  Roland McGrath  <roland@baalperazim.frob.com>
1230         * Makeconfig (soversion.i): Use only first match for each lib.
1232         * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
1234         * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
1235         rather than $(sysd-dirs-done) to protect these rules.
1237         * Makerules (version-renames.def): Target removed.
1238         (Versions.all): Depend on soversions.i directly and parse it.
1240         * Makeconfig (soversions.i): New target, input-reading parts of
1241         soversions.mk generation moved here; result is a canonicalized
1242         list "LIB VERSION [SET]" for this configuration.
1243         (soversions.mk): Use that as input.  Don't emit map-firstversions.
1244         * Makerules (version-renames.def): New target, generated from
1245         soversions.i with contents that was in $(map-firstversions).
1246         (Versions.all): Don't depend on soversions.mk, depend on
1247         version-renames.def instead; just cat it into the input.
1249         * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
1250         for $(map-firstversions), which better handles it being empty.
1252         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
1253         supported version for libc 0.2.90.libio to GLIBC_2.2.
1255         * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
1256         and use it to emit new variable `map-firstversions'.
1257         * scripts/firstversions.awk: New file.
1258         * Makerules (Versions.all): Use scripts/firstversions.awk and
1259         the $(map-firstversions) value to generate a modified versions list
1260         that includes renames in "A = B" syntax for each version set earlier
1261         than the "earliest symbol version" named in shlib-versions.
1262         * scripts/versions.awk: Recognize "A = B" lines in the input to mean
1263         rename version set A to B in the output to the intermediate file.
1264         * scripts/abi-versions.awk: New file.
1265         * Makerules (abi-versions.h): New target, generated by that script.
1266         [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
1267         * include/shlib-compat.h: New file, uses that generated header.
1269 2000-03-18  Roland McGrath  <roland@baalperazim.frob.com>
1271         * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
1272         after stripping # comments, and then run it through cpp.
1273         This allows things like "%ifdef FOO" based on config.h settings.
1274         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
1276         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
1277         and other errors that indicate a pseudo-receive happened, grok through
1278         the message buffer for port rights that need references fixed up.
1280 2000-03-16  Andreas Jaeger  <aj@suse.de>
1282         * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
1284         * sysdeps/unix/sysv/linux/madvise.c: Remove.
1286         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
1287         from latest Linux kernel.
1288         * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
1290         * misc/sys/mman.h: Add prototype for mincore.
1292 2000-03-17  Ulrich Drepper  <drepper@redhat.com>
1294         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
1295         entry for GLIBC_2.0 version of setrlimit.
1296         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1298 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
1300         * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
1301         * nis/nss_compat/compat-initgroups.c: Likewise.
1302         * nis/nss_nis/nis-initgroups.c: Likewise.
1303         * nis/nss_nis/nis-netgrp.c: Likewise.
1304         * nis/nss_nis/nis-proto.c: Likewise.
1305         * nis/nss_nis/nis-rpc.c: Likewise.
1306         * nis/nss_nis/nis-service.c: Likewise.
1307         * nis/ypclnt.c: Likewise.
1309 2000-03-16  Andreas Jaeger  <aj@suse.de>
1311         * manual/Makefile: MAKEINFO is set to `:' from configure if it
1312         doesn't exist, correct checks.  Fixes PR libc/1649.
1314 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
1316         * nscd/hstcache.c: Restore correct UID.
1317         * nscd/pwdcache.c: Likewise.
1318         Patch from Gabor Gombas <gombasg@inf.elte.hu>.
1320 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
1322         * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
1323         macros for register names, in line with 2000-03-14 linux change.
1325         * sysdeps/mach/sched_yield.c: New file.
1327 2000-03-13  Roland McGrath  <roland@baalperazim.frob.com>
1329         * sysdeps/generic/lockfile.c: Include <stdio.h>
1330         (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
1331         case <libio.h> defined them.
1332         (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
1333         from __internal_*.
1334         (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
1335         ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
1337         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
1338         for more pleasing parse error.
1340 2000-03-16  Ulrich Drepper  <drepper@redhat.com>
1342         * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
1343         memory for eras.
1344         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1346         * elf/Makefile: Add rules to compile and run constload1 test.
1347         * elf/constload1.c: New file.
1348         * elf/constload2.c: New file.
1349         * elf/constload3.c: New file.
1351 2000-03-15  Ulrich Drepper  <drepper@redhat.com>
1353         * sysdeps/posix/open64.c: Make __open64 weak alias.
1354         * sysdeps/posix/pread64.c: Make __pread64 weak alias.
1355         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1356         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1357         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1358         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1359         * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
1360         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1361         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1362         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1363         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1365 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
1367         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
1368         Nautilus.  Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
1370 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
1372         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
1373         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
1375 2000-03-08  Andreas Jaeger  <aj@suse.de>
1377         * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
1379 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
1381         * timezone/africa: Update from tzdata2000d.
1382         * timezone/asia: Likewise.
1383         * timezone/australasia: Likewise.
1384         * timezone/europe: Likewise.
1385         * timezone/northamerica: Likewise.
1386         * timezone/southamerica: Likewise.
1388         * po/fr.po: Update from translation team.
1389         * po/de.po: Likewise.
1391         * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
1392         last parameter.  Move code to add map to global scope from here...
1393         * elf/dl-open.c (dl_open_worker): ...here.
1394         * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
1395         * elf/rtld.c: Adjust call to _dl_map_object_deps.
1397         * locale/programs/ld-collate.c (collate_read): Fix warning.
1399         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
1400         values and macros for register names.
1402         * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
1403         returned by seek cookie function is -1.
1405 2000-03-14  Andreas Jaeger  <aj@suse.de>
1407         * locale/localeconv.c (localeconv): Fix typo.
1408         Reported by Andre Charbonneau <andrec@corel.com>.
1410 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
1412         * iconv/skeleton.c: Increment __invocation_counter in inner loop
1413         since modules depend on it counting the number of times the conversion
1414         function got called.
1416         * iconv/gconv_open.c: Optimize loop to setup step data structure.
1418         * iconv/gconv.h: Pretty print.
1420 2000-03-04  Ulrich Drepper  <drepper@redhat.com>
1422         * posix/wordexp-test.c: Correct one of the tests added in the last
1423         change.  Really get the root passwd entry to check again ~root.
1425 2000-03-10  Andreas Jaeger  <aj@suse.de>
1427         * manual/filesys.texi (Working Directory): Fix last patch.
1428         Patch by Martin Buchholz  <martin@xemacs.org>.
1430 2000-03-10  Andreas Jaeger  <aj@suse.de>
1432         * manual/creature.texi (Feature Test Macros): Fix language.
1434 2000-03-10  Roland McGrath  <roland@baalperazim.frob.com>
1436         * mach/devstream.c (devstream_write, devstream_read): New functions.
1437         (input, output): Functions removed.
1438         (mach_open_devstream): Use devstream_{read,write} as cookie functions,
1439         using only the vanilla fopencookie interface.
1441         * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
1442         as macro for __io_functions.
1443         (funcsio): Use cookie_io_functions_t type name.
1444         (fopenport): Renamed from __fopenport.  Rewrite to call fopencookie.
1446         * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
1447         fopencookie.
1448         (fopencookie): Use it.
1449         * libio/libio.h: Declare _IO_cookie_init.
1450         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
1451         _IO_cookie_init.
1453         * libio/libio.h (__io_seek_fn): Fix second argument type
1454         to be a pointer, in line with the manual and the old stdio.
1455         * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
1457         * sysdeps/generic/bits/stdio-lock.h: New file.
1458         This is a stub with #error, but that's better than no file at all.
1460 2000-03-09  Martin Buchholz  <martin@xemacs.org>
1462         * sysdeps/unix/sysv/linux/alpha/syscall.S:
1463         * manual/message.texi (Using gettextized software):
1464         * manual/message.texi (Message Translation): Doc Fixes.
1465         * manual/filesys.texi (File Size):
1466         * manual/charset.texi (glibc iconv Implementation):
1467         * locale/programs/ld-collate.c (collate_output):
1468         * iconv/gconv_db.c (find_derivation):
1469         * manual/install.texi:
1470         * manual/search.texi (Hash Search Function):
1471         * manual/stdio.texi (Output Conversion Syntax):
1472         * FAQ.in:
1473         * config.h.in:
1474         * sysdeps/generic/dl-sysdep.c:
1475         Doc Fixes.  `allows to' is not correct English.
1477         * elf/rtld.c: Doc fixes.
1478         * manual/creature.texi (Feature Test Macros): Doc fixes.
1479         * manual/memory.texi (Hooks for Malloc): Doc Fixes.
1481         * manual/filesys.texi (Working Directory): Check for ERANGE to
1482         avoid infloop.
1484 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
1486         * string/argz-stringify.c (__argz_stringify): Fix loop termination
1487         conditions so as not to clobber the final '\0' when there is only one
1488         element in the vector.
1490 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
1492         * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
1493         broken by 2000-02-27 change.
1495         * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
1497 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
1499         * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
1500         argument type, for 2000-02-22 change in signal/signal.h declaration.
1502 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
1504         * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
1505         to getdirentries64 (no __), since the Linux implementation
1506         has no __ name, and there is no declaration for the __ name.
1508         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
1510         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
1511         sed regexp so as not to break directory names including /../ within.
1513         * sysdeps/unix/bsd/bits/waitflags.h: File removed.
1514         The sysdeps/generic file is right for BSD.  This file was in fact the
1515         Hurd file, but the only difference was the WNOREAP flag that was never
1516         actually implemented or used anywhere.
1518         * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
1519         since AC_PATH_PROG already does it for us.
1520         (PERL): Rewrite check added in 2000-02-29 change for syntactic
1521         correctness and sh portability.  I replaced the broken check
1522         with a more sensible implementation of the apparently intended
1523         semantics, which might still be questionable.  Using expr causes
1524         a non-numeric value for `perl -V:apiversion` to be accepted,
1525         refusing to use only a perl that reports a number less than 5;
1526         on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
1527         * configure: Regenerated.
1529 2000-03-08  Andreas Jaeger  <aj@suse.de>
1531         * manual/crypt.texi: Fix paths.
1533 2000-03-07  Andreas Jaeger  <aj@suse.de>
1535         * resolv/netdb.h: The descriptions of rresvport and rresvport_af
1536         were swapped.
1537         Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
1538         libc/1636.
1540 2000-03-06  Andreas Jaeger  <aj@suse.de>
1542         * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
1543         in __sgn1l, otherwise g++ fails to parse this.
1544         Reported by Sean Chen <sean.chen@turbolinux.com>.
1546 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
1548         * configure.in: Compute sizeof-long-double.
1549         * configure: Regenerated.
1550         * config.make.in: Make sizeof-long-double available to sub-makes.
1552 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
1554         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
1555         call.
1557 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
1559         * Makeconfig (rpath-dirs): Add crypt.
1560         (all-subdirs): Remove md5crypt.
1561         * crypt/sysdeps/unix/crypt.c: Move to crypt/.
1562         * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
1563         * sysdeps/generic/crypt-entry.c: Delete.
1564         * crypt/sysdeps/unix/crypt.h: Move to crypt/.
1565         * sysdeps/generic/crypt.h: Delete.
1566         * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
1567         * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
1568         * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
1569         * sysdeps/generic/des_impl.c: Delete.
1570         * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
1571         * crypt/sysdeps: Delete.
1572         * crypt/crypt_util.c: Don't use `patchlevel.h'.
1573         * md5-crypt/Versions: Move to crypt/.
1574         * md5-crypt/md5-crypt.c: Move to crypt/.
1575         * md5-crypt/md5.c: Move to crypt/.
1576         * md5-crypt/md5c-test.c: Move to crypt/.
1577         * md5-crypt/md5test.c: Move to crypt/.
1578         * md5-crypt: Delete.
1579         * crypt/Makefile: Adjust for new structure.
1581 2000-03-03  Paul Eggert  <eggert@twinsun.com>
1583         * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
1584         define to 1 if not defined.
1586 2000-03-03  Andreas Jaeger  <aj@suse.de>
1588         * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
1590 2000-03-03  Andreas Jaeger  <aj@suse.de>
1592         * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
1593         cases.
1594         (xdr_int64_t): Correctly handle lower half.
1595         Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
1597 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
1599         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
1600         call.
1602 2000-03-02  Andreas Jaeger  <aj@suse.de>
1604         * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
1605         2.3.43.
1607 2000-03-02  Andreas Jaeger  <aj@suse.de>
1609         * resolv/Makefile (headers): Add arpa/nameser_compat.h.
1611 2000-03-01  Andreas Jaeger  <aj@suse.de>
1613         * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
1614         (tests): Added tst-getdate.
1616         * time/tst-getdate.c: New file.
1618         * time/datemsk: New file, needed for tst-getdate.
1620 2000-02-29  Cristian Gafton  <gafton@redhat.com>
1622         * configure.in (CCVERSION): Require at least veersion 5 of perl API.
1624 2000-02-17  H.J. Lu  <hjl@gnu.org>
1626         * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
1628         * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
1629         available.
1630         (svcudp_recv): Set up message with the new "xp_pad" field for
1631         IP_PKTINFO.
1632         (svcudp_reply): Support IP_PKTINFO if available.
1634 2000-03-01  Andreas Jaeger  <aj@suse.de>
1636         * time/getdate.c (check_mday): Fix check for february.
1637         Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
1638         <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
1640 2000-03-02  Andreas Jaeger  <aj@suse.de>
1642         * posix/unistd.h: __THROW has to precede __attribute__, otherwise
1643         g++ fails to parse this.
1644         Reported by Sean Chen <sean.chen@turbolinux.com>.
1646 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
1648         * io/creat.c: Moved to...
1649         * sysdeps/generic/creat.c: ...here.
1650         * io/creat64.c: Moved to...
1651         * sysdeps/generic/creat64.c: ...here.
1652         * io/lockf.c: Moved to...
1653         * sysdeps/generic/lockf.c: ...here.
1655         * crypt/crypt.texi: Moved to...
1656         * manual/crypt.texi: ...here.
1657         * crypt/examples/genpass.c: Moved to...
1658         * manual/examples/genpass.c: ...here.
1659         * crypt/examples/mygenpass.c: Moved to...
1660         * manual/examples/mygenpass.c: ...here.
1661         * crypt/examples/testpass.c: Moved to...
1662         * manual/examples/testpass.c: ...here.
1664         * manual/Makefile (chapters): Add crypt.
1665         * manual/conf.texi: Add usual header for not-last chapter.
1666         * manual/crypt.texi: Add special header for last chapter.
1668 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
1670         * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
1671         * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
1672         complain if there is no crypt add-on.
1673         * crypt/configure: Removed.
1675         * crypt/crypt.texi: Update documentation of US export restrictions
1676         to match the 14 Jan 2000 regulations.
1678 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
1680         * crypt: New subdirectory, merged in from the crypt add-on.
1682 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
1684         * include/unistd.h: Add __rmdir and __mkdir prototypes.
1687 See ChangeLog.10 for earlier changes.