1 2001-05-07 Andreas Jaeger <aj@suse.de>
3 * scripts/config.guess: Imported from gnu.org.
4 * scripts/config.sub: Likewise.
6 2001-05-05 Jakub Jelinek <jakub@redhat.com>
8 * include/features.h (__USE_EXTERN_INLINES): Don't define if
9 __NO_INLINE__ is defined.
10 * ctype/ctype.h (tolower, toupper): Change the guard condition to
11 __USE_EXTERN_INLINES check only.
12 * stdlib/stdlib.h (strtod, ...): Likewise.
13 * wcsmbs/wchar.h (mbrlen): Likewise.
14 * string/string.h: Only include bits/string.h and bits/string2.h
15 if __NO_INLINE__ is not defined.
17 2001-05-07 Andreas Jaeger <aj@suse.de>
19 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
22 2001-05-04 H.J. Lu <hjl@gnu.org>
24 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
27 2001-05-06 Andreas Jaeger <aj@suse.de>
29 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
30 * sysdeps/i386/fpu/e_fmodl.S: Removed.
31 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
32 * sysdeps/i386/fpu/e_atan2l.S: Removed.
33 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
34 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
35 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
36 * sysdeps/i386/fpu/e_acosl.S: Removed.
37 * sysdeps/i386/fpu/s_atanl.S: Removed.
38 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
40 2001-05-05 Mark Kettenis <kettenis@gnu.org>
42 * sysdeps/mach/hurd/bits/environments.h: Add comment from
43 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
45 2001-04-30 Jakub Jelinek <jakub@redhat.com>
47 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
48 that _CS_LFS_CFLAGS can fall through to the empty returned string
49 case. Add FALLTHROUGH comment.
51 2001-04-29 Ralf Baechle <ralf@gnu.org>
53 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
54 definitions match the kernel definitions.
55 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
56 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
58 2001-04-29 Ben Collins <bcollins@debian.org>
60 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
62 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
63 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
64 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
66 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
67 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
68 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
69 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
70 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
71 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
72 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
73 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
74 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
75 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
76 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
77 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
78 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
79 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
80 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
81 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
82 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
83 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
84 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
86 2001-04-29 Andreas Schwab <schwab@suse.de>
88 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
91 2001-04-29 Andreas Jaeger <aj@suse.de>
93 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
94 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
96 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
98 (AF_WANPIPE): Likewise.
101 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
102 for Linux generic version.
103 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
104 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
105 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
106 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
108 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
110 2001-04-27 Ulrich Drepper <drepper@redhat.com>
112 * nis/nss-nis.h: Correct test for invalid error number.
113 * nis/nss-nisplus.h: Likewise.
115 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
117 2001-04-26 Ulrich Drepper <drepper@redhat.com>
119 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
121 * string/strcoll.c: Fix two memory allocation problems.
122 * string/Makefile (tests): Add bug-strcoll1.
123 * string/bug-strcoll1.c: New file.
125 * malloc/mcheck.c (mcheck): Call malloc once before setting the
126 hooks to allow the internal check hooks to be set up if necessary.
128 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
129 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
131 * nis/nss-nis.c: New file.
132 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
133 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
135 * nis/nss-nisplus.c: New file.
136 * nis/Makefile (libnss_compat-routines): Add nss-nis.
137 (libnss_nis-routines): Likewise.
138 (libnss_nisplus-routines): Add nss-nisplus.
140 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
141 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
142 * nis/nss_nisplus/nisplus-grp.c: Likewise.
143 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
144 * nis/nss_nisplus/nisplus-network.c: Likewise.
145 * nis/nss_nisplus/nisplus-proto.c: Likewise.
146 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
147 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
148 * nis/nss_nisplus/nisplus-service.c: Likewise.
149 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
150 * nis/nss_nis/nis-alias.c: Likewise.
151 * nis/nss_nis/nis-ethers.c: Likewise.
152 * nis/nss_nis/nis-grp.c: Likewise.
153 * nis/nss_nis/nis-network.c: Likewise.
154 * nis/nss_nis/nis-proto.c: Likewise.
155 * nis/nss_nis/nis-pwd.c: Likewise.
156 * nis/nss_nis/nis-spwd.c: Likewise.
157 * nis/nss_compat/compat-grp.c: Likewise.
158 * nis/nss_compat/compat-initgroups.c: Likewise.
159 * nis/nss_compat/compat-pwd.c: Likewise.
160 * nis/nss_compat/compat-spwd.c: Likewise.
162 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
163 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
165 2001-04-26 Andreas Jaeger <aj@suse.de>
167 * po/zh_TW.po: Update.
168 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
170 2001-04-25 Ulrich Drepper <drepper@redhat.com>
172 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
173 compiler command line.
174 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
175 command line for malloc.c.
177 2001-04-25 Jakub Jelinek <jakub@redhat.com>
179 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
180 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
181 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
182 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
184 struct msghdr for __WORDSIZE == 32.
185 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
186 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
187 for __WORDSIZE == 32.
188 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
189 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
191 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
192 Rename from longjmp, make longjmp weak alias to it.
194 2001-04-24 David S. Miller <davem@redhat.com>
196 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
198 2001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
200 * sysdeps/hppa/stackinfo.h: New file.
201 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
202 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
203 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
204 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
205 of PA kernel features.
207 2001-04-25 Ulrich Drepper <drepper@redhat.com>
209 * locale/programs/localedef.c (main): Always set a file name for
211 * locale/programs/locfile.c (locfile_read): filename is allowed to
214 2001-04-12 Paul Bame <paul_bame@hp.com>
216 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
219 2001-04-24 Ulrich Drepper <drepper@redhat.com>
221 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
222 _XBS5_LPBIG_OFFBIG): Define to -1.
225 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
226 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
227 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
228 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
230 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
231 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
233 2001-03-21 Alan Modra <alan@one.net.au>
235 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
236 value from application so that constructors in non-PIC libs work.
238 2000-12-13 Jes Sorensen <jes@linuxcare.com>
240 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
241 function pointer, hence load the jump address and gp from the
242 function pointer before jumping.
244 2001-04-24 Andreas Jaeger <aj@suse.de>
246 * sysdeps/generic/send.c (__send): Return ssize_t.
247 * sysdeps/mach/hurd/send.c (__send): Likewise.
248 * sysdeps/mach/hurd/recv.c (recv): Likewise.
249 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
250 * sysdeps/generic/sendto.c (sendto): Likewise.
251 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
252 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
253 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
254 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
256 * socket/sys/socket.h: send* and recv* return ssize_t.
258 * include/sys/socket.h: send returns ssize_t.
260 * sysdeps/i386/fpu_control.h: Fix comments.
262 2001-04-24 Ulrich Drepper <drepper@redhat.com>
264 * sysdeps/ia64/Dist: Add hp-timing.c.
265 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
266 * posix/Makefile (distribute): Add tst-getconf.sh.
267 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
269 2001-04-23 Ulrich Drepper <drepper@redhat.com>
271 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
272 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
273 * sysdeps/ia64/hp-timing.c: New file.
274 * sysdeps/ia64/hp-timing.h: New file.
275 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
276 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
278 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
279 using #ifdef whether the clock is available.
280 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
282 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
283 it into data section.
285 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
286 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
287 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
288 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
289 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
290 * sysdeps/generic/cpuclock-init.h: Removed.
291 * sysdeps/unix/i386/i686/Implies: Removed.
292 * sysdeps/unix/i386/i686/tempname.c: Removed.
293 * sysdeps/i386/i686/Versions: New file.
294 * sysdeps/unix/i386/i586/Versions: Removed.
296 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
297 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
298 * sysdeps/unix/clock_gettime.c: Likewise.
299 * sysdeps/unix/clock_nanosleep.c: Likewise.
300 * sysdeps/unix/clock_settime.c: Likewise.
301 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
302 RANDOM_BITS use CPU clock.
304 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
305 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
306 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
307 * sysdeps/sparc/Versions: New file.
309 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
310 hp-timing.h definitions.
311 * sysdeps/generic/dl-sysdep.c: Likewise.
313 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
314 __get_clockfreq prototype.
316 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
317 Use hp_timing_t type.
318 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
320 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
322 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
323 whether named file is a regular file or a block device.
324 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
326 2001-04-23 Andreas Jaeger <aj@suse.de>
328 * nscd/nscd.h: Add noreturn attribute for start_threads.
330 2001-04-22 Ulrich Drepper <drepper@redhat.com>
332 * posix/getconf.c: Fix names of XBS5 LFS test variables.
333 Add missing configuration variables from XPG6.
334 * posix/tst-getconf.c: New file.
335 * posix/Makefile (generated): Add tst-getconf.out.
336 (tests): Add ($objpfx)tst-getconf.out.
337 Add rule to run tst-getconf.sh.
338 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
340 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
342 * sysdeps/posix/pathconf.c: Likewise.
343 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
346 2001-04-22 Philip Blundell <philb@gnu.org>
348 * sysdeps/arm/fpu/feenablxcpt.c: New file.
349 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
350 * sysdeps/arm/fpu/fegetexcpt.c: New file.
352 2001-04-22 Philip Blundell <philb@gnu.org>
354 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
355 Renamed from struct user_fp.
356 (struct user_regs): New.
357 (struct user): Use struct user_regs rather than struct pt_regs to
358 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
359 of struct user_fp and struct user_fp_struct.
360 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
363 2001-04-22 Philip Blundell <philb@gnu.org>
365 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
366 sys/procfs.h, and tell the user to include that file instead.
367 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
368 surrounded with #if 0.
369 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
371 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
372 elf_fpregset_t respectively.
374 2001-04-22 Philip Blundell <philb@gnu.org>
376 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
377 address that faulted.
379 2001-04-21 Ulrich Drepper <drepper@redhat.com>
381 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
383 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
384 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
385 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
386 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
388 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
389 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
390 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
391 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
393 2001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
395 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
398 2001-04-21 Ulrich Drepper <drepper@redhat.com>
400 * posix/getopt.h: Treat __cplusplus like __STDC__.
402 2001-04-20 John S. Marvin <jsm@fc.hp.com>
404 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
407 2001-04-20 Richard Hirst <rhirst@linuxcare.com>
409 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
410 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
412 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
413 entry so the ptrace.c wrapper is used.
415 2001-04-20 Alan Modra <amodra@one.net.au>
417 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
418 (DL_FUNCTION_ADDRESS): Define.
419 (DL_DT_INIT_ADDRESS): Define.
420 (DL_DT_FINI_ADDRESS): Define.
421 * sysdeps/hppa/Versions: Add _dl_function_address.
422 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
423 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
424 _dl_function_address.
426 2001-04-21 Andreas Jaeger <aj@suse.de>
428 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
429 * resolv/gai_misc.c (handle_requests): Likewise.
430 * malloc/obstack.c (print_and_abort): Likewise.
431 * malloc/mcheck.c (mabort): Likewise.
433 * sysdeps/unix/i386/i586/clock_settime.c: Include
434 "libc-internal.h" for __get_clockfreq declaration.
436 2001-04-21 Ulrich Drepper <drepper@redhat.com>
438 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
439 CPUCLOCK_INIT if defined.
440 * sysdeps/generic/dl-sysdep.c: Likewise.
441 * sysdeps/generic/cpuclock-init.h: New file.
442 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
443 * sysdeps/unix/i386/i586/Versions: New file.
444 * sysdeps/unix/i386/i586/clock_settime.c: New file.
445 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
446 separately by calling __pthread_clock_gettime if this function is
447 available. Subtract offset from tsc value before computing time value.
449 2001-04-20 Ulrich Drepper <drepper@redhat.com>
451 * iconv/iconv_prog.c (print_known_names): If printing goes not to
452 a tty print in a more machine-friendly way.
454 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
455 Contributed by Stephen L Moshier <moshier@mediaone.net>.
457 2001-04-20 Andreas Jaeger <aj@suse.de>
459 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
461 2001-04-20 Andreas Schwab <schwab@suse.de>
463 * sysdeps/m68k/fpu/libm-test-ulps: Update.
465 2001-04-19 Alan Modra <amodra@one.net.au>
467 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
468 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
469 (CFLAGS-.os): Remove.
471 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
473 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
474 gregset): Correct for new kernel definitions.
476 2001-04-19 Alan Modra <alan@linuxcare.com.au>
478 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
479 generate unwind info by hand.
481 2001-04-19 Ulrich Drepper <drepper@redhat.com>
483 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
485 * configure.in: Correct regular expression for msgfmt.
486 Patch by Bruno Haible <haible@ilog.fr>.
488 2001-04-19 Andreas Jaeger <aj@suse.de>
490 * po/el.po: Add comment explaining what's broken.
492 * po/Makefile (BROKEN_LINGUAS): New.
493 (ALL_LINGUAS): Don't add broken languages.
495 2001-04-19 Roland McGrath <roland@frob.com>
497 * sysdeps/mach/hurd/mlock.c: New file.
498 * sysdeps/mach/hurd/munlock.c: New file.
499 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
501 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
502 * sysdeps/generic/mlock.c: New file.
503 * sysdeps/generic/munlock.c: New file.
504 * sysdeps/generic/mlockall.c: New file.
505 * sysdeps/generic/munlockall.c: New file.
506 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
507 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
508 mlockall, munlockall): Change caller field to - from EXTRA.
509 Don't use __ names; not used (and not declared in include/sys/mman.h).
511 * hurd/privports.c (__get_privileged_ports): Renamed with __.
512 Use __ names for calls we make.
513 (get_privileged_ports): Add alias.
514 * hurd/hurd.h: Declare it with the __ name.
515 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
516 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
517 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
519 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
520 nothing if it's zero.
522 2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
524 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
525 Change to return a signed result for compatibility with other
526 architectures, and correctness.
528 2001-04-19 Ulrich Drepper <drepper@redhat.com>
530 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
531 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
533 2001-04-19 Andreas Jaeger <aj@suse.de>
535 * configure.in: Require gettext 0.10.36 or newer.
537 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
539 * po/zh_TW.po: Remove extraneous backslashes.
541 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
544 2001-04-18 Jakub Jelinek <jakub@redhat.com>
546 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
547 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
548 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
549 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
550 Copy first word of uc_sigmask into __uc_sigmask.
551 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
552 Save uc_link around trap. Copy __uc_sigmask into first word of
553 uc_sigmask, clear the rest. Make sure setcontext to the created
554 context doesn't do this though.
555 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
556 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
557 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
558 64bit version, make uc_sigmask __sigset_t in the 32bit version.
560 2001-04-19 Andreas Jaeger <aj@suse.de>
562 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
564 * rt/Makefile (otherlibs): Added for static NSS.
566 * glibcbug.in (BUGGLIBC): Send to new alias.
568 2001-04-02 Andreas Schwab <schwab@suse.de>
570 * Makerules (build-module): Make sure exit codes get checked
571 properly and remove unnecessary slashes.
573 2001-04-17 Ulrich Drepper <drepper@redhat.com>
575 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
576 Handle kernels which report only three digits after the decimal point.
577 Reported by Van Okamura <van.okamura@oracle.com>.
579 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
581 2001-04-17 David S. Miller <davem@redhat.com>
583 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
584 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
586 2001-04-17 Jakub Jelinek <jakub@redhat.com>
588 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
589 desired exceptions are raised for exceptional values.
590 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
591 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
592 clog_test, log_test, log1p_test, tan_test): Increase precision of
593 expected values to satisfy ldbl-128.
594 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
595 * sysdeps/arm/libm-test-ulps: Likewise.
596 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
597 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
598 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
599 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
600 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
601 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
602 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
603 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
604 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
606 2001-04-17 Andreas Jaeger <aj@suse.de>
608 * configure.in: Move test for critical programs up.
610 2001-04-16 Stephen L Moshier <moshier@mediaone.net>
612 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
613 Correct the values. (pSx, qSx): Replace by shorter approximation.
614 Use f suffix on float constants.
616 2001-04-16 Ulrich Drepper <drepper@redhat.com>
618 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
619 Contributed by Stephen L Moshier <moshier@mediaone.net>.
621 * string/string.h: Replace const in attribute list with __const__.
623 2001-04-16 Roland McGrath <roland@frob.com>
625 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
626 instead of the constant NGROUPS_MAX. That way, the limit can be
627 raised in the kernel configuration without having to recompile libc.
629 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
630 define NGROUPS_MAX; we don't use it here.
632 2001-04-16 Andreas Jaeger <aj@suse.de>
634 * math/libm-test.inc (atan2_test): Add more testcases.
636 * iconv/gconv_db.c: Include gconv_charset.h for
637 __gconv_lookup_alias prototype.
639 2001-04-13 Ulrich Drepper <drepper@redhat.com>
641 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
642 Contributed by Stephen L Moshier <moshier@mediaone.net>.
644 2001-04-13 Jes Sorensen <jes@linuxcare.com>
646 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
648 2001-04-13 Jes Sorensen <jes@linuxcare.com>
650 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
651 explicitly pad struct siginfo instead of relying on compiler padding.
653 2001-04-12 Ulrich Drepper <drepper@redhat.com>
655 * sysdeps/ia64/Dist: Add elf/entry.h.
657 * iconvdata/Makefile (distribute): Add TESTS2.
659 2001-04-13 Jakub Jelinek <jakub@redhat.com>
661 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
662 Calculate load address differently.
664 2001-04-12 Bruno Haible <haible@clisp.cons.org>
666 * iconvdata/TESTS2: New file.
667 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
668 * iconvdata/testdata/alfabeta..UTF-8: New file.
669 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
670 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
671 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
672 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
674 2001-04-11 Bruno Haible <haible@clisp.cons.org>
676 * iconvdata/utf-32.c: New file.
677 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
678 * iconvdata/Makefile (modules): Add UTF-32.
679 (distribute): Add utf-32.c.
681 2001-04-11 Bruno Haible <haible@clisp.cons.org>
683 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
684 changing it in the state. After incrementing 'inptr', store it back.
685 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
688 2001-04-11 Bruno Haible <haible@clisp.cons.org>
690 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
693 2001-04-11 David Mosberger <davidm@hpl.hp.com>
695 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
696 * sysdeps/ia64/htons.S: Likewise.
698 * sysdeps/ia64/memset.S: Add unwind directives.
699 * sysdeps/ia64/strncpy.S: Likewise.
700 * sysdeps/ia64/strcat.S: Likewise.
702 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
704 * sysdeps/ia64/strchr.S: Likewise.
705 * sysdeps/ia64/memmove.S: Likewise.
706 * sysdeps/ia64/memcpy.S: Likewise.
707 * sysdeps/ia64/memcmp.S: Likewise.
708 * sysdeps/ia64/memchr.S: Likewise.
709 * sysdeps/ia64/strcmp.S: Likewise.
710 * sysdeps/ia64/strlen.S: Likewise.
711 * sysdeps/ia64/strcpy.S: Likewise.
712 * sysdeps/ia64/strncmp.S: Likewise.
714 2001-04-11 Jakub Jelinek <jakub@redhat.com>
716 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
717 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
718 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
719 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
721 2001-04-11 Andreas Jaeger <aj@suse.de>
723 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
725 2001-04-11 Andreas Schwab <schwab@suse.de>
727 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
729 2001-04-11 Ulrich Drepper <drepper@redhat.com>
731 * sysdeps/arm/stackinfo.h: New file.
733 2001-04-08 Thorsten Kukuk <kukuk@suse.de>
735 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
736 rpcgen to generate thread safe code.
738 2001-04-10 Andreas Jaeger <aj@suse.de>
740 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
742 2001-04-10 Ulrich Drepper <drepper@redhat.com>
744 * elf/dl-minimal.c (__assert_fail): Change error string. It's
745 most of the time no bug in ld.so.
746 (__assert_perror_fail): Likewise.
748 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
750 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
751 from struct to unsigned int.
753 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
755 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
756 AT_IGNOREPPC): New defines.
757 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
758 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
759 Define for newer powerpc kernels.
760 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
761 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
763 2000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
765 * sysdeps/sh/stackinfo.h: New file.
767 2001-04-10 Ulrich Drepper <drepper@redhat.com>
769 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
770 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
771 __ctype_tolower, and __ctype_toupper elements.
773 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
774 Reported by Konstantin Osipov <rabid@spylog.ru>.
776 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
779 2001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
782 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
783 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
784 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
786 2001-04-10 Ulrich Drepper <drepper@redhat.com>
788 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
789 message. Based on a patch by HJ Lu.
791 2001-04-10 Andreas Schwab <schwab@suse.de>
793 * math/libm-test.inc (csinh_test): Don't require the invalid
794 exception for csinh (x + iNaN), but make it optional.
796 2001-04-09 David Mosberger <davidm@hpl.hp.com>
798 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
800 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
801 * sysdeps/ia64/elf/entry.h: New file.
802 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
804 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
806 * sysdeps/generic/dl-sysdep.c: Likewise.
807 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
808 * sysdeps/ia64/elf/start.S: Save base address of register backing
809 store in __libc_ia64_register_backing_store_base.
811 2001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
813 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
815 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
816 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
818 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
819 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
820 call by changing the saved context.
822 2001-04-10 Ulrich Drepper <drepper@redhat.com>
824 * sysdeps/alpha/stackinfo.h: New file.
825 * sysdeps/ia64/stackinfo.h: New file.
827 2001-04-10 Andreas Schwab <schwab@suse.de>
829 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
831 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
833 2001-04-09 Ulrich Drepper <drepper@redhat.com>
835 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
836 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
838 * libio/Makefile (distribute): Add fd_to_filename.h.
840 2001-04-05 David S. Miller <davem@redhat.com>
842 Add hp-timing support for sparcv9/sparc64 targets.
843 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
844 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
845 * sysdeps/sparc/sparc64/hp-timing.c: New file
846 * sysdeps/sparc/sparc64/hp-timing.h: New file
847 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
848 * sysdeps/sparc/sparc64/Makefile: Likewise.
850 2001-04-09 Jakub Jelinek <jakub@redhat.com>
852 * sysdeps/generic/fd_to_filename.h: New file.
853 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
854 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
855 filename from the open file descriptor.
856 * libio/freopen64.c (freopen64): Likewise.
858 2001-04-09 Bruno Haible <haible@clisp.cons.org>
860 * misc/error.c (error): fflush stdout also if
861 error_print_progname != NULL.
862 (error_at_line): Likewise.
864 2001-04-07 Bruno Haible <haible@clisp.cons.org>
866 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
867 (struct binding): Add codeset_cntr field.
868 (_nl_load_domain): Add domainbinding argument.
869 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
870 (_nl_find_msg): New declaration, moved here from loadinfo.h.
871 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
872 (_nl_make_l10nflist): Remove domainbinding argument.
873 (_nl_find_msg): Move declaration to gettextP.h.
874 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
875 to 0. Increment it when ->codeset is changed.
876 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
877 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
878 if domainbinding->codeset_cntr has been incremented.
879 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
880 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
881 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
882 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
883 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
884 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
885 (_nl_load_domain): Add domainbinding argument. Call
886 _nl_init_domain_conv.
887 (_nl_unload_domain): Call _nl_free_domain_conv.
888 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
889 (test-srcs): Add tst-codeset.
890 (tests): Depend on tst-codeset.out.
891 (tst-codeset.out): New rule.
892 (CFLAGS-tst-codeset.c): New variable.
893 * intl/tst-codeset.sh: New file.
894 * intl/tstcodeset.po: New file.
895 * intl/tst-codeset.c: New file.
896 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
899 2001-04-07 Roland McGrath <roland@frob.com>
901 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
903 2001-03-31 Roland McGrath <roland@frob.com>
905 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
906 copying send rights into child. When we hit our name for our proc
907 port, just copy NEWPROC directly instead of repeating proc_task2proc
908 to install the child's port.
910 2001-04-08 Roland McGrath <roland@frob.com>
912 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
913 in second column, to provide default values for third column.
914 * shlib-versions: Add comments about using DEFAULT in second column.
915 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
916 (cris-.*-linux.*): Likewise.
918 2001-04-09 Ulrich Drepper <drepper@redhat.com>
920 * Makefile (distribute): Add scripts/documented.sh.
921 * scripts/documented.sh: New file.
923 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
925 * sysdeps/unix/sysv/linux/cris/Dist: New file.
926 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
927 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
928 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
929 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
930 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
931 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
932 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
933 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
934 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
935 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
936 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
937 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
938 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
939 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
940 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
941 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
942 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
943 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
944 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
945 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
946 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
947 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
948 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
949 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
950 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
951 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
952 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
953 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
954 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
955 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
956 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
957 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
958 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
959 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
960 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
961 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
962 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
963 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
964 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
965 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
966 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
967 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
968 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
969 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
970 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
971 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
972 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
973 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
974 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
976 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
978 * sysdeps/cris/Dist: New file.
979 * sysdeps/cris/Implies: New file.
980 * sysdeps/cris/Makefile: New file.
981 * sysdeps/cris/__longjmp.S: New file.
982 * sysdeps/cris/_mcount.S: New file.
983 * sysdeps/cris/bits/endian.h: New file.
984 * sysdeps/cris/bits/setjmp.h: New file.
985 * sysdeps/cris/bits/string.h: New file.
986 * sysdeps/cris/dl-machine.h: New file.
987 * sysdeps/cris/elf/start.S: New file.
988 * sysdeps/cris/machine-gmon.h: New file.
989 * sysdeps/cris/memcopy.h: New file.
990 * sysdeps/cris/memusage.h: New file.
991 * sysdeps/cris/setjmp.S: New file.
992 * sysdeps/cris/sysdep.h: New file.
993 * sysdeps/cris/wordcopy.c: New file.
995 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
997 * elf/elf.h: Add new relocations for CRIS.
999 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1001 * shlib-versions: Add cases for Linux on CRIS.
1003 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1005 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
1006 ';' for comments and '@' for line separator.
1008 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1010 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
1011 typo; s/==/=/ for assignment.
1013 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1015 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
1017 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1019 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
1020 empty input before checking full output.
1022 2001-04-08 Hans-Peter Nilsson <hp@axis.com>
1024 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
1027 2001-04-08 Ulrich Drepper <drepper@redhat.com>
1029 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
1031 2001-04-07 Stephen L Moshier <moshier@mediaone.net>
1033 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
1036 2001-04-07 Ulrich Drepper <drepper@redhat.com>
1038 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
1040 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
1041 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
1042 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
1043 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
1044 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
1045 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
1047 2001-04-07 Andreas Jaeger <aj@suse.de>
1049 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
1050 instead of separate sin and cos.
1051 (__ieee754_j1l): Likewise.
1053 2001-04-06 Ulrich Drepper <drepper@redhat.com>
1055 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
1057 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
1059 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
1061 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
1063 * sysdeps/generic/e_scalbf.c: Likewise.
1064 * sysdeps/generic/e_scalbl.c: Likewise.
1065 Patch by Mark Hatle <fray@mvista.com>.
1067 2001-04-05 David S. Miller <davem@redhat.com>
1069 * sysdeps/sparc/abort-instr.h: New file.
1071 2001-04-05 Matt Wilson <msw@redhat.com>
1073 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
1074 added code to parse new 2.4 format.
1075 (GET_NPROCS_CONF_PARSER): Likewise.
1077 2001-04-05 David S. Miller <davem@redhat.com>
1079 * scripts/config.sub: Recognize sparcv9b like sparcv9.
1080 * configure.in: Add sparcv9b.
1081 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
1082 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
1083 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
1085 2001-04-06 David Mosberger <davidm@hpl.hp.com>
1087 * stdlib/tst-setcontext.c: Move st2[] to global scope.
1088 (f2): Verify that stack pointer is inside st2[].
1090 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
1091 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
1093 2001-04-06 Ulrich Drepper <drepper@redhat.com>
1095 * timezone/antarctica: Update from tzdata2001b.
1096 * timezone/asia: Likewise.
1097 * timezone/australasia: Likewise.
1098 * timezone/europe: Likewise.
1099 * timezone/northamerica: Likewise.
1101 * iconv/iconv_open.c: Move strip and upstr definitions...
1102 * iconv/gconv_charset.h: ...here. New file.
1103 * iconv/gconv_db.c (once): Move to file level.
1104 (do_lookup_alias): Split out from __gconv_find_transform.
1105 (__gconv_find_transform): Call do_lookup_alias.
1106 (__gconv_loopup_alias): New function.
1107 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
1109 * locale/categories.def: Add entries for new _NL_*_CODESET values.
1110 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
1111 * locale/C-address.c: Initialize _NL_*_CODESET element.
1112 * locale/C-collate.c: Likewise.
1113 * locale/C-identification.c: Likewise.
1114 * locale/C-measurement.c: Likewise.
1115 * locale/C-messages.c: Likewise.
1116 * locale/C-monetary.c: Likewise.
1117 * locale/C-name.c: Likewise.
1118 * locale/C-numeric.c: Likewise.
1119 * locale/C-paper.c: Likewise.
1120 * locale/C-telephone.c: Likewise.
1121 * locale/C-time.c: Likewise.
1122 * locale/localeinfo.h: Declare _nl_C_codeset.
1123 * locale/C_name.c: Define _nl_C_codeset.
1124 * locale/findlocale.c: Before accepting locale check that the used
1125 charset does not conflict with what the locale name said.
1126 * locale/programs/ld-address.c: Emit codeset information.
1127 * locale/programs/ld-collate.c: Likewise.
1128 * locale/programs/ld-identification.c: Likewise.
1129 * locale/programs/ld-measurement.c: Likewise.
1130 * locale/programs/ld-messages.c: Likewise.
1131 * locale/programs/ld-monetary.c: Likewise.
1132 * locale/programs/ld-name.c: Likewise.
1133 * locale/programs/ld-numeric.c: Likewise.
1134 * locale/programs/ld-paper.c: Likewise.
1135 * locale/programs/ld-telephone.c: Likewise.
1136 * locale/programs/ld-time.c: Likewise.
1138 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
1139 if the locale data couldn't be found.
1141 * string/Makefile: Define tst-strxfrm-ENV.
1143 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
1145 2001-04-06 Andreas Jaeger <aj@suse.de>
1147 * include/sys/profil.h: New file.
1149 * dlfcn/modatexit.c: Add prototypes to silence GCC.
1150 * dlfcn/modcxaatexit.c: Likewise.
1151 * elf/globalmod1.c: Likewise.
1153 2001-04-05 David S. Miller <davem@redhat.com>
1155 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
1156 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
1157 capability flags table and HWCAP_IMPORTANT, increase
1158 _DL_HWCAP_COUNT to 6.
1159 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
1161 2001-04-04 David Mosberger <davidm@hpl.hp.com>
1163 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
1164 initialization of stack_end (bug reported by Zheng Gengbin
1165 <gzheng@students.uiuc.edu>).
1167 2001-04-05 Ulrich Drepper <drepper@redhat.com>
1169 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
1171 2001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
1173 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
1175 2001-04-05 Ulrich Drepper <drepper@redhat.com>
1177 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
1178 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
1180 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
1182 2001-04-04 Ulrich Drepper <drepper@redhat.com>
1184 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
1185 define simple replacements here. Patch by Michael Keezer.
1187 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
1188 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
1189 Contributed by Stephen L Moshier <moshier@mediaone.net>.
1191 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
1194 2001-04-01 Andreas Jaeger <aj@suse.de>
1196 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
1199 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
1201 2001-04-04 Ulrich Drepper <drepper@redhat.com>
1203 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
1204 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
1206 2001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
1208 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
1209 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
1210 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
1211 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
1212 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
1213 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
1214 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
1215 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
1216 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
1218 2001-04-04 Andreas Jaeger <aj@suse.de>
1220 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
1223 2001-04-04 Ulrich Drepper <drepper@redhat.com>
1225 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
1226 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
1227 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
1228 (unsigned_dec): Likewise.
1229 Patch by atai@jezebel.dreamhost.com.
1231 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
1232 pointer to int as last parameter of yp_match.
1233 Patch by kanazawa@flab.fujitsu.co.jp.
1235 2001-04-03 Ulrich Drepper <drepper@redhat.com>
1237 * resolv/netdb.h (gai_strerror): Make return value const.
1238 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
1239 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
1240 Add strings for new error values.
1242 2001-03-29 Michael Keezer <mkeezer@redhat.com>
1244 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
1245 * login/tst-utmp.c: Handle case where ut_tv is not available but
1247 * sysdeps/unix/sysv/aix/utmpx.h: New file.
1248 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
1249 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
1250 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
1251 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
1252 to access RTCU timer reg.
1253 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
1254 added dl-libc, dl-open,dl-sym, dl-close to misc.
1255 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
1256 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
1257 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
1258 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
1259 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
1260 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
1261 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
1263 * sysdeps/generic/strtoull.c: Likewise.
1264 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
1265 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
1266 sysdeps/generic/memset.c.
1267 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
1269 2001-04-03 Ulrich Drepper <drepper@redhat.com>
1271 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
1272 * locale/programs/charmap.c: Define null_pointer if
1273 NEED_NULL_POINTER is defined.
1275 * misc/dirname.c (dirname): Handle multiple slashes correctly.
1277 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
1279 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
1281 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
1283 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
1284 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1285 * sysdeps/s390/s390-32/mempcy.S: Likewise.
1286 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1288 2001-04-02 Bruno Haible <haible@clisp.cons.org>
1290 * manual/message.texi (Advanced gettext functions): More specific
1291 syntax in the plural formula examples.
1293 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1295 * sysdeps/powerpc/atomicity.h: Silence warnings.
1296 * sysdeps/powerpc/dl-machine.h: Likewise.
1297 * sysdeps/powerpc/register-dump.h: Likewise.
1298 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
1300 2001-04-02 Andreas Jaeger <aj@suse.de>
1302 * misc/tst-dirname.c (main): Add more tests, derived from a bug
1303 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
1305 2001-04-01 Andreas Jaeger <aj@suse.de>
1307 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
1309 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
1311 2001-04-01 H.J. Lu <hjl@gnu.org>
1313 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
1315 * stdlib/isomac.c (macrofile): Likewise.
1317 2001-03-30 Thorsten Kukuk <kukuk@suse.de>
1319 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
1320 * nis/ypclnt.c (yp_all): Print error message only at last try,
1321 check for protocoll error only if we don't have a network error.
1323 2001-04-02 Andreas Schwab <schwab@suse.de>
1325 * resolv/res_data.c (res_isourserver): Fix cast.
1327 2001-04-02 Andreas Jaeger <aj@suse.de>
1329 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
1332 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
1334 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1336 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
1338 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
1340 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
1341 warning about unused variable.
1343 * string/string.h (strndupa): Add cast for C++ conformance.
1344 (strdupa): Likewise.
1345 Fixes PR libc/2173, reported by tbrowder@home.com.
1347 2001-03-30 Roland McGrath <roland@frob.com>
1349 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
1350 options after $(build-module), which is no longer a single command.
1351 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
1352 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
1353 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
1355 2001-03-11 Roland McGrath <roland@frob.com>
1357 * elf/rtld.c (dl_main): Add cast to quiet warning.
1358 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1359 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1360 (__gconv_read_conf): Likewise.
1361 * iconv/gconv_db.c (gen_steps): Likewise.
1362 (__gconv_find_transform): Likewise.
1363 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
1364 (fopen_uncompressed): Use const in second argument's type.
1366 2001-03-11 Roland McGrath <roland@frob.com>
1368 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
1370 * mach/mach_error.h: Fix ancient #endif syntax.
1371 * hurd/hurdmalloc.c: Likewise.
1373 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
1374 compare_and_swap): Add volatile qualifier to first arg, to bring
1375 these prototypes in line with all the other implementations.
1376 Add a #warning to remind the builder that these are not atomic.
1378 2001-03-04 Roland McGrath <roland@frob.com>
1380 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
1381 member of TEMP_F so its type is _IO_FILE * as expected.
1383 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
1384 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
1385 it might exceed off_t's range.
1387 2001-02-25 Roland McGrath <roland@frob.com>
1389 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
1390 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
1392 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
1393 macro instead of an inline function,
1394 (MSG_EXAMINE): Likewise.
1396 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
1398 * hurd/get-host.c: Include <string.h> for decls of built-ins.
1399 * hurd/hurdchdir.c: Likewise.
1400 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
1401 * sysdeps/mach/hurd/opendir.c: Likewise.
1403 * mach/mach_init.c: Include <unistd.h> for _exit decl.
1405 * mach/errsystems.awk: Give output file a trailing newline.
1407 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
1408 the script will use our compiler for the cpp stage.
1410 With --enable-all-warnings we get a whole bunch of warnings,
1411 and these are just a few fixes; there are more needed to silence it.
1412 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
1413 decls before extern inline defns to quiet gcc warning.
1414 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
1415 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
1417 2001-03-31 Andreas Jaeger <aj@suse.de>
1419 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
1420 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
1421 (ARPHRD_CISCO): New.
1422 Changes from Linux 2.4.3.
1424 2001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
1426 * posix/regex.c: Avoid an access violation if malloc failes.
1428 2001-03-30 Andreas Jaeger <aj@suse.de>
1430 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
1432 2001-03-29 Ulrich Drepper <drepper@redhat.com>
1434 * posix/regex.c: Remove unnecessary ifs.
1436 * math/bits/mathcalls.h: Remove infnan declaration.
1438 2001-03-29 H.J. Lu <hjl@gnu.org>
1440 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
1441 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
1442 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
1444 2001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
1446 * posix/regex.c: Fix typo and add a sentinel.
1448 2001-03-29 Ulrich Drepper <drepper@redhat.com>
1450 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
1451 O_NOFOLLOW. Suggested by Christoph Roland.
1453 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1455 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
1456 * sysdeps/s390/s390-32/bits/string.h: Remove.
1457 * sysdeps/s390/s390-64/bits/string.h: Remove.
1458 * sysdeps/s390/s390-32/strcmp.S: New file.
1459 * sysdeps/s390/s390-64/strcmp.S: New file.
1461 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1463 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
1464 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1466 2001-03-27 Ulrich Drepper <drepper@redhat.com>
1468 * version.h (VERSION): Bump to 2.2.3.
1470 * stdlib/isomac.c (fmt): Don't define _LIBC.
1471 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
1472 LOW_HALF only if _LIBC is defined.
1474 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
1476 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
1478 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
1480 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
1481 * include/endian.h: ...to here.
1483 2001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
1485 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
1486 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
1488 2001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1490 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
1492 2001-03-26 Ulrich Drepper <drepper@redhat.com>
1494 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
1495 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
1496 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
1498 * gmon/Makefile (headers): Add sys/profil.h.
1500 2001-03-18 Andreas Jaeger <aj@suse.de>
1502 * manual/install.texi (Tools for Compilation): Advise to use GCC
1504 (Supported Configurations): Mention s390x.
1506 2001-03-26 Ben Collins <bcollins@debian.org>
1508 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
1509 defines to match other architectures.
1511 2001-03-26 Ulrich Drepper <drepper@redhat.com>
1513 * libio/Makefile (tests): Add tst-ext.
1514 * libio/tst-ext.c: New file.
1516 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
1518 2001-03-25 Ulrich Drepper <drepper@redhat.com>
1520 Add changes which were in this form in the original patch by
1521 Eric Norum <eric.norum@usask.ca>.
1522 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
1524 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
1525 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1526 __rpc_thread_svc_max_pollfd.
1527 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
1529 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
1531 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
1532 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
1533 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
1534 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
1535 __rpc_thread_svc_max_pollfd.
1536 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
1538 * sunrpc/clnt_perr.c: Likewise.
1539 * sunrpc/clnt_simp.c: Likewise.
1540 * sunrpc/clnt_tcp.c: Likewise.
1541 * sunrpc/clnt_udp.c: Likewise.
1542 * sunrpc/clnt_unix.c: Likewise.
1543 * sunrpc/pm_getport.c: Likewise.
1545 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
1546 syscall checks for negative n so don't test here as well.
1548 2001-03-23 Jes Sorensen <jes@linuxcare.com>
1550 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
1551 * sysdeps/ia64/sysdep.h: ...here.
1553 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
1554 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
1556 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
1557 declare instead of LEAF(). Suggestion from David Mosberger.
1559 2001-03-21 David Mosberger <davidm@hpl.hp.com>
1561 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
1563 (PSEUDO): Drop .psr and .lsb directives.
1565 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
1567 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
1569 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
1571 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
1572 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
1573 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
1574 longer needed). Add unwind directives.
1576 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
1577 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
1579 2001-03-21 Paul Eggert <eggert@twinsun.com>
1581 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
1582 (RE_SYNTAX_POSIX_EGREP): Use it.
1583 * posix/regex.c (regex_compile): Implement it.
1585 2001-03-21 Paul Eggert <eggert@twinsun.com>
1587 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
1588 Rewrite to avoid duplicate code.
1590 2001-03-21 H.J. Lu <hjl@gnu.org>
1592 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
1593 for cross-compiling.
1594 ($(objpfx)tst-pathopt.out): Undo the last change.
1596 2001-03-24 Mark Kettenis <kettenis@gnu.org>
1598 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
1599 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
1601 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
1602 (_dl_argv): Declare.
1603 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
1605 2001-03-22 Andreas Jaeger <aj@suse.de>
1607 * iconvdata/Makefile (generated): Add iconv-test.xxx.
1609 * posix/Makefile (generated): Add bug-regex2.mtrace and
1612 2001-03-21 Ulrich Drepper <drepper@redhat.com>
1614 * csu/version.c (__gnu_get_libc_release): Add prototype.
1615 (__gnu_get_libc_version): Likewise.
1616 * include/gnu/libc-version.h: Remove prototypes for not exported
1619 2001-03-21 Jes Sorensen <jes@linuxcare.com>
1621 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
1622 for internationalized printfs to work.
1624 2001-03-09 Bruno Haible <haible@clisp.cons.org>
1626 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
1627 avoid compiler warning.
1628 (_nl_find_msg): Add casts to avoid compiler warnings.
1630 2001-03-21 Ulrich Drepper <drepper@redhat.com>
1632 * gmon/Makefile (routines): Add sprofil.
1633 (tests): Add tst-sprofil.
1634 (noprof): Add sprofil.
1635 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
1637 2001-03-20 David Mosberger <davidm@hpl.hp.com>
1639 * sysdeps/generic/sprofil.c: New file.
1640 * sysdeps/posix/sprofil.c: New file.
1641 * gmon/tst-sprofil.c: New file.
1642 * gmon/sys/profil.h: New file.
1644 2001-03-20 Andreas Schwab <schwab@suse.de>
1646 * include/unistd.h: Adjust prototype of __gethostname.
1648 2001-03-20 Jakub Jelinek <jakub@redhat.com>
1650 * sysdeps/sparc/stackinfo.h: New file.
1652 2001-03-21 Andreas Jaeger <aj@suse.de>
1654 * elf/global.c (main): Use proper prototype.
1656 2001-03-20 Ulrich Drepper <drepper@redhat.com>
1658 * sunrpc/Makefile (routines): Add rpc_thread.
1659 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
1660 * sunrpc/rpc_thread.c: New file.
1661 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
1662 * sunrpc/auth_none.c: Don't use global variables. Access state in
1663 thread-local storage.
1664 * sunrpc/clnt_perr.c: Likewise.
1665 * sunrpc/clnt_raw.c: Likewise.
1666 * sunrpc/clnt_simp.c: Likewise.
1667 * sunrpc/key_call.c: Likewise.
1668 * sunrpc/rpc_common.c: Likewise.
1669 * sunrpc/svc.c: Likewise.
1670 * sunrpc/svc_raw.c: Likewise.
1671 * sunrpc/svc_simple.c: Likewise.
1672 * sunrpc/svcauth_des.c: Likewise.
1673 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1674 _HURD_THREADVAR_RPC_VARS.
1675 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
1676 * include/rpc/rpc.h: Define data structures for internal thread-local
1678 Based on patches by Eric Norum <eric.norum@usask.ca>.
1680 * elf/dl-load.c: Various little optimizations.
1682 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
1683 LINUX_LINK_MAX only if the statfs function is not implemented for
1686 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
1687 LINUX_LINK_MAX only if the fstatfs function is not implemented for
1690 2001-03-19 Ulrich Drepper <drepper@redhat.com>
1692 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
1694 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
1695 (_dl_dst_substitute): Likewise.
1697 2001-03-17 Bruno Haible <haible@clisp.cons.org>
1699 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
1701 2001-03-17 Bruno Haible <haible@clisp.cons.org>
1703 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
1704 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
1705 union by a 'nargs' counter and an 'args[]' array.
1706 * intl/plural.y: Don't include stdarg.h.
1707 (new_exp): Take an array of arguments instead of varargs.
1708 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
1709 ('?' ':'): Make right-associative.
1710 (EQUOP2): New token, replaces '=' and '!'.
1711 (CMPOP2): New token.
1712 (ADDOP2): New token, replaces '+' and '-'.
1713 (MULOP2): New token, replaces '*', '/' and '%'.
1715 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
1716 (start): Call YYABORT here.
1717 (FREE_EXPRESSION): Update.
1718 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
1719 Update for new token symbols.
1720 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
1721 init_germanic_plural): Update.
1722 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
1723 (plural_eval): Recognize comparison and '!' operators. Optimize for
1726 2001-03-10 Bruno Haible <haible@clisp.cons.org>
1728 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
1731 2001-01-05 Bruno Haible <haible@clisp.cons.org>
1733 * intl/loadmsgcat.c: Include headers needed for alloca().
1735 (_nl_load_domain): Add fallback code for platforms lacking alloca.
1736 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
1738 (read_alias_file): Simplify fallback code for platforms lacking
1741 2001-01-07 Bruno Haible <haible@clisp.cons.org>
1743 * intl/gettextP.h (__gettextdebug): Remove declaration.
1744 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
1746 (gettext_free_exp__, gettextparse__): New non-libc declarations.
1747 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
1748 not __gettextparse, __gettext_free_exp.
1749 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
1751 2001-02-24 Bruno Haible <haible@clisp.cons.org>
1753 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
1755 2001-01-05 Bruno Haible <haible@clisp.cons.org>
1757 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
1758 lacking strtoul, like SunOS4.
1760 2001-01-05 Bruno Haible <haible@clisp.cons.org>
1762 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
1764 2001-01-05 Bruno Haible <haible@clisp.cons.org>
1766 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
1768 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
1769 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
1770 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
1773 2001-01-07 Bruno Haible <haible@clisp.cons.org>
1775 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
1776 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
1778 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
1779 * intl/dcgettext.c: Likewise.
1780 * intl/dcigettext.c: Likewise.
1781 * intl/dcngettext.c: Likewise.
1782 * intl/dngettext.c: Likewise.
1783 * intl/finddomain.c: Likewise.
1784 * intl/ngettext.c: Likewise.
1785 * intl/textdomain.c: Likewise.
1786 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
1788 * intl/gettext.c: Likewise. Don't include locale.h.
1790 2001-03-17 Bruno Haible <haible@clisp.cons.org>
1792 * intl/gettextP.h (ZERO): New macro.
1793 (struct binding): Always use ZERO.
1794 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
1795 lack it, like SunOS4.
1796 (set_binding_values): Use offsetof, not sizeof.
1797 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
1798 lack it, like SunOS4.
1799 (ZERO): Remove macro.
1800 (struct transmem_list): Use ZERO.
1801 (DCIGETTEXT): Use offsetof, not sizeof.
1803 2001-03-17 Bruno Haible <haible@clisp.cons.org>
1805 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
1807 * intl/bindtextdom.c: Don't include gettext.h.
1808 * intl/dcgettext.c: Likewise.
1809 * intl/dcigettext.c: Likewise.
1810 * intl/dcngettext.c: Likewise.
1811 * intl/dngettext.c: Likewise.
1812 * intl/finddomain.c: Likewise.
1813 * intl/localealias.c: Likewise.
1814 * intl/ngettext.c: Likewise.
1815 * intl/plural.y: Likewise.
1816 * intl/textdomain.c: Likewise.
1818 2001-03-17 Bruno Haible <haible@clisp.cons.org>
1820 * intl/gettext.h: Don't include <stdio.h>.
1822 2001-03-17 Bruno Haible <haible@clisp.cons.org>
1824 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
1825 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
1827 2001-03-19 Ulrich Drepper <drepper@redhat.com>
1829 * sysdeps/unix/i386/i686/tempname.c: New file.
1831 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
1832 defined use this macro to get some bits of randomness instead of
1833 the usual gettimeofday or time calls.
1835 2001-03-16 Paul Eggert <eggert@twinsun.com>
1837 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
1838 not defined, and if UINT64_MAX is not defined.
1840 2001-03-19 Ulrich Drepper <drepper@redhat.com>
1842 * elf/cache.c: Mark and have translated a few more messages.
1844 2001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1846 * elf/cache.c: Add case for FLAG_S390_LIB64.
1847 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
1848 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
1849 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
1851 2001-03-19 Ulrich Drepper <drepper@redhat.com>
1853 * string/Makefile (tests): Add tst-strxfrm.
1854 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
1855 * string/Depend: New file.
1857 2001-03-19 Paul Eggert <eggert@twinsun.com>
1859 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
1860 when given the empty string in nontrivial locales.
1862 2001-03-17 H.J. Lu <hjl@gnu.org>
1864 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
1865 cp to install `dir'.
1867 2001-03-19 Andreas Schwab <schwab@suse.de>
1869 * Makerules (build-shlib): Make sure exit codes get checked
1872 2001-03-18 Ulrich Drepper <drepper@redhat.com>
1874 * Makerules (build-shlib): Remove unnecessary slashes introduced in
1877 * configure.in: Test for -Bgroup option of linker.
1878 * config.make.in: Define have-Bgroup.
1880 * conform/data/unistd.h-data: Require gethostname.
1881 * posix/unistd.h: Make gethostname prototype available for
1884 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
1885 * debug/Makefile: Likewise.
1886 * dlfcn/Makefile: Likewise.
1887 * hesiod/Makefile: Likewise.
1888 * iconvdata/extra-module.mk: Likewise.
1889 * locale/Makefile: Likewise.
1890 * login/Makefile: Likewise.
1891 * math/Makefile: Likewise.
1892 * nis/Makefile: Likewise.
1893 * nss/Makefile: Likewise.
1894 * resolv/Makefile: Likewise.
1895 * rt/Makefile: Likewise.
1897 2001-03-17 Ulrich Drepper <drepper@redhat.com>
1899 * inet/Makefile (tests): Remove left-over comment.
1901 * posix/unistd.h (gethostname): Change type of second parameter
1902 back to size_t as per upcoming XPG6.
1903 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
1904 parameter back to size_t as per upcoming XPG6.
1905 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
1906 * sysdeps/unix/sysv/gethostname.c: Likewise.
1907 * sysdeps/mach/hurd/gethostname.c: Likewise.
1908 * sysdeps/generic/gethostname.c: Likewise.
1910 2001-03-16 Ulrich Drepper <drepper@redhat.com>
1912 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1915 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
1918 2001-02-06 Jakub Jelinek <jakub@redhat.com>
1920 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
1921 looking for name matches.
1923 2001-02-26 Jakub Jelinek <jakub@redhat.com>
1925 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
1926 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
1927 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
1928 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1929 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
1930 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
1931 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
1932 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
1933 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
1934 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
1935 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1936 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1938 2001-03-16 Ulrich Drepper <drepper@redhat.com>
1940 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
1941 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1943 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
1945 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1947 2001-03-16 David Mosberger <davidm@hpl.hp.com>
1949 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
1950 Drop hack that was needed for 2.1.1 kernel headers.
1952 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
1954 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
1955 overlay with kernel's "struct sigcontext".
1957 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
1958 sys/rse.h for "misc" subdir.
1959 (sysdep_routines): Add __start_context for "stdlib" subdir.
1961 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
1962 kernel file of the same name).
1964 * stdlib/Makefile (tests): Add tst-setcontext.
1965 * stdlib/tst-setcontext.c: New file (based on a sample program by
1968 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
1969 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
1970 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
1971 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
1972 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
1974 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
1975 instead of shift & and.
1977 2001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
1979 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
1980 * sysdeps/s390/bits/huge_val.h: ...here.
1981 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
1982 * sysdeps/s390/s390-64/ffs.c: Move to...
1983 * sysdeps/s390/ffs.c: ...here.
1984 * sysdeps/s390/s390-32/ffs.c: Remove.
1986 2001-03-16 Jakub Jelinek <jakub@redhat.com>
1988 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
1989 update osversion from more recent library.
1991 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
1993 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
1994 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
1995 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
1996 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
1997 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
1998 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
1999 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
2000 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
2001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
2002 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
2003 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
2004 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
2005 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
2006 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
2007 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
2008 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
2009 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
2010 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
2011 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
2012 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
2013 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
2014 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
2015 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
2016 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
2017 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
2018 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
2019 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
2020 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
2021 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
2022 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
2023 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
2024 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
2025 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
2026 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
2027 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
2028 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
2029 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
2030 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
2031 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
2032 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
2033 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
2034 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
2035 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
2036 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
2037 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
2038 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
2039 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
2040 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
2041 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
2042 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
2043 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
2044 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
2045 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
2046 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
2047 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
2048 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
2049 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
2050 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
2051 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
2052 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
2053 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
2054 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
2055 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
2056 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
2057 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
2058 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
2059 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
2060 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
2061 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
2062 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
2063 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
2064 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
2065 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
2066 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
2067 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
2068 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
2069 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
2070 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
2071 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
2072 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
2073 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
2074 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
2075 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
2076 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
2077 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
2078 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
2079 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
2080 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
2081 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
2082 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
2083 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
2084 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
2085 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
2086 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
2087 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
2088 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
2089 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
2090 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
2091 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
2092 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
2093 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
2094 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
2095 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
2096 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
2097 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
2098 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
2099 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
2100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
2101 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2102 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
2103 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
2104 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
2105 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
2106 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
2108 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2110 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
2111 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
2112 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
2113 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
2114 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
2115 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
2116 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
2117 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
2118 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
2119 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
2120 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
2121 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
2122 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
2123 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
2124 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
2125 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
2126 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
2127 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
2128 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
2129 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
2130 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
2131 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
2132 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
2133 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
2134 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
2135 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
2136 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
2137 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
2138 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
2139 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
2140 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
2141 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
2142 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
2143 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
2144 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
2145 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
2146 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
2147 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
2148 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
2149 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
2150 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
2151 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
2152 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
2153 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
2154 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
2155 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
2156 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
2157 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
2158 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
2159 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
2160 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
2161 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
2162 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
2164 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2166 * sysdeps/s390/Dist: Move to...
2167 * sysdeps/s390/390-32/Dist: ...here.
2168 * sysdeps/s390/Implies: Move to...
2169 * sysdeps/s390/s390-32/Implies: ...here.
2170 * sysdeps/s390/Makefile: Move to...
2171 * sysdeps/s390/s390-32/Makefile: ...here.
2172 * sysdeps/s390/Versions: Move to...
2173 * sysdeps/s390-32/s390/Versions: ...here.
2174 * sysdeps/s390/add_n.S: Move to...
2175 * sysdeps/s390/s390-32/add_n.S: ...here.
2176 * sysdeps/s390/addmul_1.S: Move to...
2177 * sysdeps/s390/s390-32/addmul_1.S: ...here.
2178 * sysdeps/s390/atomicity.h: Move to...
2179 * sysdeps/s390/s390-32/atomicity.h: ...here.
2180 * sysdeps/s390/backtrace.c: Move to...
2181 * sysdeps/s390/s390-32/backtrace.c: ...here.
2182 * sysdeps/s390/bcopy.S: Move to...
2183 * sysdeps/s390/s390-32/bcopy.S: ...here.
2184 * sysdeps/s390/bits/byteswap.h: Move to...
2185 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
2186 * sysdeps/s390/bits/huge_val.h: Move to...
2187 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
2188 * sysdeps/s390/bsd-_setjmp.S: Move to...
2189 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
2190 * sysdeps/s390/bsd-setjmp.S: Move to...
2191 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
2192 * sysdeps/s390/bzero.S: Move to...
2193 * sysdeps/s390/s390-32/bzero.S: ...here.
2194 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
2195 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
2196 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
2197 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
2198 * sysdeps/s390/elf/start.S: Move to...
2199 * sysdeps/s390/s390-32/elf/start.S: ...here.
2200 * sysdeps/s390/ffs.c: Move to...
2201 * sysdeps/s390/s390-32/ffs.c: ...here.
2202 * sysdeps/s390/memchr.S: Move to...
2203 * sysdeps/s390/s390-32/memchr.S: ...here.
2204 * sysdeps/s390/memcpy.S: Move to...
2205 * sysdeps/s390/s390-32/memcpy.S: ...here.
2206 * sysdeps/s390/memset.S: Move to...
2207 * sysdeps/s390/s390-32/memset.S: ...here.
2208 * sysdeps/s390/mul_1.S: Move to...
2209 * sysdeps/s390/s390-32/mul_1.S: ...here.
2210 * sysdeps/s390/s390-mcount.S: Move to...
2211 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
2212 * sysdeps/s390/strcpy.S: Move to...
2213 * sysdeps/s390/s390-32/strcpy.S: ...here.
2214 * sysdeps/s390/strncpy.S: Move to...
2215 * sysdeps/s390/s390-32/strncpy.S: ...here.
2216 * sysdeps/s390/sub_n.S: Move to...
2217 * sysdeps/s390/s390-32/sub_n.S: ...here.
2219 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2221 * sysdeps/s390/s390-64/Dist: New file.
2222 * sysdeps/s390/s390-64/Implies: New file.
2223 * sysdeps/s390/s390-64/Makefile: New file.
2224 * sysdeps/s390/s390-64/__longjmp.c: New file.
2225 * sysdeps/s390/s390-64/add_n.S: New file.
2226 * sysdeps/s390/s390-64/atomicity.h: New file.
2227 * sysdeps/s390/s390-64/backtrace.c: New file.
2228 * sysdeps/s390/s390-64/bcopy.S: New file.
2229 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
2230 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
2231 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
2232 * sysdeps/s390/s390-64/bits/string.h: New file.
2233 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
2234 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
2235 * sysdeps/s390/s390-64/bzero.S: New file.
2236 * sysdeps/s390/s390-64/dl-machine.h: New file.
2237 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
2238 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
2239 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
2240 * sysdeps/s390/s390-64/elf/start.S: New file.
2241 * sysdeps/s390/s390-64/ffs.c: New file.
2242 * sysdeps/s390/s390-64/initfini.c: New file.
2243 * sysdeps/s390/s390-64/memchr.S: New file.
2244 * sysdeps/s390/s390-64/memcpy.S: New file.
2245 * sysdeps/s390/s390-64/memset.S: New file.
2246 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
2247 * sysdeps/s390/s390-64/setjmp.S: New file.
2248 * sysdeps/s390/s390-64/strcpy.S: New file.
2249 * sysdeps/s390/s390-64/strncpy.S: New file.
2250 * sysdeps/s390/s390-64/sub_n.S: New file.
2251 * sysdeps/s390/s390-64/sysdep.h: New file.
2253 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2255 * scripts/config.guess: Add support for Linux on 64 bit S/390.
2256 * scripts/config.sub: Likewise.
2258 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2260 * configure.in: Add support for 64 bit S/390.
2262 * elf/elf.h: Add new relocations for 64 bit S/390.
2264 * shlib-versions: Add rules for Linux on 64 bit S/390.
2266 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2268 * sysdeps/s390/__longjmp.c: Move to...
2269 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
2270 to load the floating point registers that should be saved
2271 according to the ABI.
2273 * sysdeps/s390/bits/setjmp.h: Move to...
2274 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
2275 the use of long long in the __jmp_buf type definition.
2277 * sysdeps/s390/bits/string.h: Move to...
2278 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
2279 #ifndef _FORCE_INLINES.
2281 * sysdeps/s390/dl-machine.h: Move to...
2282 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
2283 executables EI_CLASS in elf_machine_matches_host.
2285 * sysdeps/s390/elf/setjmp.S: Move to...
2286 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
2287 branches to globally defined symbol __sigsetjmp by branches to
2288 a local label (this avoids the generation of a R_390_PC16DBL
2289 relocation in -fpic code).
2291 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
2292 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
2294 * sysdeps/s390/initfini.c: Move to...
2295 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
2298 * sysdeps/s390/setjmp.S: Move to...
2299 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
2300 floating point registers that should be saved according to the ABI.
2302 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
2304 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
2305 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
2306 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
2308 2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
2310 * configure.in: Change machine=s390 to machine=s390/s390-32.
2312 * elf/elf.h: Correct comment for R_390_PLT16DBL.
2314 2001-03-12 Jakub Jelinek <jakub@redhat.com>
2316 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
2317 version to be overriden from config.h.
2318 * csu/abi-note.S: Use OS and version separately, include config.h.
2319 * elf/dl-load.c (_dl_osversion): New.
2320 (_dl_map_object_from_fd): Kill some warnings.
2321 (open_verify): Check .note.ABI-tag of the library if present.
2322 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
2323 * elf/cache.c (struct cache_entry): Add osversion.
2324 (print_entry): Print osversion.
2325 (print_cache): Pass osversion to it.
2326 (compare): Sort according to osversion.
2327 (save_cache): Set osversion.
2328 (add_to_cache): Add osversion argument.
2329 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
2330 process_elf_file): Add osversion argument.
2331 * elf/readlib.c (process_file): Likewise.
2332 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
2333 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
2334 process_elf32_file, process_elf64_file): Likewise.
2335 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
2336 process_elf32_file, process_elf64_file): Likewise.
2337 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
2338 process_elf32_file, process_elf64_file): Likewise.
2339 * elf/ldconfig.c (manual_link): Pass it.
2340 (search_dir): Issue diagnostic if two libs with the same soname in
2341 the same directory have different .note.ABI-tag. Record osversion in
2342 dlib_entry and use it from there.
2343 (struct lib_entry): Remove.
2344 (struct dlib_entry): Add osversion.
2345 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
2347 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
2348 field with osversion.
2349 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
2350 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
2351 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
2352 version in _dl_osversion.
2353 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
2354 * Makerules (build-shlib-helper, build-module-helper): New.
2355 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
2357 * config.h.in (__ABI_TAG_VERSION): Add.
2358 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
2359 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
2360 Handle LD_ASSUME_KERNEL.
2361 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
2363 2001-03-15 Ulrich Drepper <drepper@redhat.com>
2365 * timezone/antarctica: Update from tzdata2001a.
2366 * timezone/asia: Likewise.
2367 * timezone/australasia: Likewise.
2368 * timezone/backward: Likewise.
2369 * timezone/etcetera: Likewise.
2370 * timezone/europe: Likewise.
2371 * timezone/leapseconds: Likewise.
2372 * timezone/northamerica: Likewise.
2373 * timezone/southamerica: Likewise.
2374 * timezone/systemv: Likewise.
2375 * timezone/yearistype: Likewise.
2376 * timezone/zone.tab: Likewise.
2377 * timezone/tzdump.c: Update from tzcode2001a.
2379 2001-03-15 H.J. Lu <hjl@gnu.org>
2381 * intl/Makefile: Fix a typo.
2383 2001-03-14 David Mosberger <davidm@hpl.hp.com>
2385 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
2386 writing arc structures.
2388 2001-03-15 H.J. Lu <hjl@gnu.org>
2390 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
2393 2001-03-13 Andreas Schwab <schwab@suse.de>
2395 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
2397 2001-03-15 Ulrich Drepper <drepper@redhat.com>
2399 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
2400 for control message fitting into message data.
2401 Patch by James Antill <james@and.org>.
2403 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
2406 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
2407 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
2409 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
2410 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
2411 avoid running binaries with libc versions without FNM_EXTMATCH support.
2413 * include/wchar.h: Add prototype for __wcscat.
2414 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
2416 * posix/fnmatch.h (FNM_EXTMATCH): Define.
2417 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
2418 (posixly_correct): Move global variable here.
2419 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
2420 (fnmatch): Pretty printing.
2421 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
2422 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
2423 * posix/tst-fnmatch.input: Add tests for extended matching.
2425 * posix/testfnm.c: Add test for patterns with multiple ** before /.
2426 * posix/fnmatch_loop.c: Fix problem with the test above.
2428 2001-03-14 Ulrich Drepper <drepper@redhat.com>
2430 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
2433 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
2435 2001-03-12 Andreas Jaeger <aj@suse.de>
2437 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2438 Use EM_X86_64 instead of EM_X8664.
2440 2001-03-12 Ulrich Drepper <drepper@redhat.com>
2442 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
2444 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
2447 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
2450 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
2454 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
2456 (__ieee754_acos): Likewise.
2458 2001-03-12 Andreas Jaeger <aj@suse.de>
2460 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
2461 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2463 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
2466 2001-03-11 Roland McGrath <roland@frob.com>
2468 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
2470 2001-03-11 Ulrich Drepper <drepper@redhat.com>
2472 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
2475 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
2478 Last-bit accurate math library implementation by IBM Haifa.
2479 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
2480 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
2481 Anna Reitman <reitman@il.ibm.com>.
2482 * math/Makefile (dbl-only-routines): New variable.
2483 (libm-routines): Add $(dbl-only-routines).
2484 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
2485 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
2487 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
2489 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
2491 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
2493 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
2495 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
2496 remainder implementation.
2497 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
2499 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
2501 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
2502 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
2503 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
2505 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
2506 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
2508 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
2510 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
2512 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
2513 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
2514 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
2515 * sysdeps/ieee754/dbl-64/atnat.h: New file.
2516 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
2517 * sysdeps/ieee754/dbl-64/branred.c: New file.
2518 * sysdeps/ieee754/dbl-64/branred.h: New file.
2519 * sysdeps/ieee754/dbl-64/dla.h: New file.
2520 * sysdeps/ieee754/dbl-64/doasin.c: New file.
2521 * sysdeps/ieee754/dbl-64/doasin.h: New file.
2522 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
2523 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
2524 * sysdeps/ieee754/dbl-64/endian.h: New file.
2525 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
2526 * sysdeps/ieee754/dbl-64/mpa.c: New file.
2527 * sysdeps/ieee754/dbl-64/mpa.h: New file.
2528 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
2529 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
2530 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
2531 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
2532 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
2533 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
2534 * sysdeps/ieee754/dbl-64/mplog.c: New file.
2535 * sysdeps/ieee754/dbl-64/mplog.h: New file.
2536 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
2537 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
2538 * sysdeps/ieee754/dbl-64/mptan.c: New file.
2539 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
2540 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
2541 * sysdeps/ieee754/dbl-64/root.tbl: New file.
2542 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
2543 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
2544 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
2545 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
2546 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
2547 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
2548 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
2549 * sysdeps/ieee754/dbl-64/uexp.h: New file.
2550 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
2551 * sysdeps/ieee754/dbl-64/ulog.h: New file.
2552 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
2553 * sysdeps/ieee754/dbl-64/upow.h: New file.
2554 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
2555 * sysdeps/ieee754/dbl-64/urem.h: New file.
2556 * sysdeps/ieee754/dbl-64/uroot.h: New file.
2557 * sysdeps/ieee754/dbl-64/usncs.h: New file.
2558 * sysdeps/ieee754/dbl-64/utan.h: New file.
2559 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
2560 * sysdeps/i386/fpu/branred.c: New file.
2561 * sysdeps/i386/fpu/doasin.c: New file.
2562 * sysdeps/i386/fpu/dosincos.c: New file.
2563 * sysdeps/i386/fpu/halfulp.c: New file.
2564 * sysdeps/i386/fpu/mpa.c: New file.
2565 * sysdeps/i386/fpu/mpatan.c: New file.
2566 * sysdeps/i386/fpu/mpatan2.c: New file.
2567 * sysdeps/i386/fpu/mpexp.c: New file.
2568 * sysdeps/i386/fpu/mplog.c: New file.
2569 * sysdeps/i386/fpu/mpsqrt.c: New file.
2570 * sysdeps/i386/fpu/mptan.c: New file.
2571 * sysdeps/i386/fpu/sincos32.c: New file.
2572 * sysdeps/i386/fpu/slowexp.c: New file.
2573 * sysdeps/i386/fpu/slowpow.c: New file.
2574 * sysdeps/ia64/fpu/branred.c: New file.
2575 * sysdeps/ia64/fpu/doasin.c: New file.
2576 * sysdeps/ia64/fpu/dosincos.c: New file.
2577 * sysdeps/ia64/fpu/halfulp.c: New file.
2578 * sysdeps/ia64/fpu/mpa.c: New file.
2579 * sysdeps/ia64/fpu/mpatan.c: New file.
2580 * sysdeps/ia64/fpu/mpatan2.c: New file.
2581 * sysdeps/ia64/fpu/mpexp.c: New file.
2582 * sysdeps/ia64/fpu/mplog.c: New file.
2583 * sysdeps/ia64/fpu/mpsqrt.c: New file.
2584 * sysdeps/ia64/fpu/mptan.c: New file.
2585 * sysdeps/ia64/fpu/sincos32.c: New file.
2586 * sysdeps/ia64/fpu/slowexp.c: New file.
2587 * sysdeps/ia64/fpu/slowpow.c: New file.
2588 * sysdeps/m68k/fpu/branred.c: New file.
2589 * sysdeps/m68k/fpu/doasin.c: New file.
2590 * sysdeps/m68k/fpu/dosincos.c: New file.
2591 * sysdeps/m68k/fpu/halfulp.c: New file.
2592 * sysdeps/m68k/fpu/mpa.c: New file.
2593 * sysdeps/m68k/fpu/mpatan.c: New file.
2594 * sysdeps/m68k/fpu/mpatan2.c: New file.
2595 * sysdeps/m68k/fpu/mpexp.c: New file.
2596 * sysdeps/m68k/fpu/mplog.c: New file.
2597 * sysdeps/m68k/fpu/mpsqrt.c: New file.
2598 * sysdeps/m68k/fpu/mptan.c: New file.
2599 * sysdeps/m68k/fpu/sincos32.c: New file.
2600 * sysdeps/m68k/fpu/slowexp.c: New file.
2601 * sysdeps/m68k/fpu/slowpow.c: New file.
2603 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
2606 2001-03-11 Andreas Jaeger <aj@suse.de>
2608 * elf/elf.h (EM_*): Synch with official list.
2610 2001-03-07 David Mosberger <davidm@hpl.hp.com>
2612 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
2614 2001-03-07 Jes Sorensen <jes@linuxcare.com>
2616 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
2617 variables addr & len.
2619 2001-02-22 Jes Sorensen <jes@linuxcare.com>
2621 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
2622 punctuation in asm constraint.
2624 2001-03-07 Mark Kettenis <kettenis@gnu.org>
2626 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
2627 <time.h> to get definition of `struct timespec'.
2629 2001-03-08 Jakub Jelinek <jakub@redhat.com>
2631 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
2632 LD_WARN=1, not if LD_WARN is unset.
2634 2001-03-07 Andreas Schwab <schwab@suse.de>
2636 * elf/ldconfig.h: Moved to ...
2637 * sysdeps/generic/ldconfig.h: ... here.
2638 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
2639 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
2640 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
2641 * elf/readlib.c (interpreters, known_libs): Use
2642 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
2643 instead of hard coding old names.
2645 2001-03-09 Ulrich Drepper <drepper@redhat.com>
2647 * catgets/Makefile (generated): Add test-gencat.h.
2648 (sample.SJIS.cat): Also generate header.
2649 * catgets/sample.SJIS: Add new set and message, both with symbolic
2651 * catgets/test-gencat.sh: Also compare generated header with what
2654 2001-03-07 Jakub Jelinek <jakub@redhat.com>
2656 * catgets/gencat.c (read_input_file): Preserve properly symbolic
2659 2001-03-06 Andreas Jaeger <aj@suse.de>
2661 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
2663 (elf_machine_pltrel_p): Likewise.
2664 * sysdeps/powerpc/dl-machine.h: Likewise.
2665 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
2667 2001-03-09 Ulrich Drepper <drepper@redhat.com>
2669 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
2672 2001-03-05 Philip Blundell <philb@gnu.org>
2674 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
2675 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
2676 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
2677 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
2680 2001-03-09 Ulrich Drepper <drepper@redhat.com>
2682 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
2684 * dlfcn/tstcxaatexit.c (main): Likewise.
2686 2001-03-10 Andreas Jaeger <aj@suse.de>
2688 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
2690 2001-03-09 Andreas Jaeger <aj@suse.de>
2692 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
2693 both new and old EM_S390 values.
2694 (EM_S390_OLD): New constant.
2696 * elf/elf.h (EM_S390): Use official value.
2698 2001-03-09 Ulrich Drepper <drepper@redhat.com>
2700 * conform/data/sys/socket.h-data: Allow SO* symbols.
2702 2001-03-07 Andreas Schwab <schwab@suse.de>
2704 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
2705 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
2707 2001-03-07 Andreas Jaeger <aj@suse.de>
2709 * resolv/Makefile (routines): Only build gai_sigqueue when threads
2712 2001-03-07 Jakub Jelinek <jakub@redhat.com>
2714 * elf/ldconfig.c (_dl_sysdep_message): Remove.
2715 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
2719 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
2720 _dl_error_printf instead of _dl_sysdep_error.
2721 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2722 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
2723 Use _dl_printf instead of _dl_sysdep_message.
2724 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
2727 2001-03-06 Ben Collins <bcollins@debian.org>
2729 * manual/arith.texi (Integers): Fix documentation of fast and
2730 least integer typedefs.
2732 2001-03-06 Jakub Jelinek <jakub@redhat.com>
2734 * resolv/Depend: New file.
2735 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
2736 when libpthread is built.
2738 2001-03-06 Andreas Jaeger <aj@suse.de>
2740 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
2742 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
2743 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
2745 2001-03-05 Ulrich Drepper <drepper@redhat.com>
2747 * stdlib/Versions: Remove __new_exitfn again. Not needed.
2749 2001-03-05 Andreas Jaeger <aj@suse.de>
2751 * stdlib/msort.c (qsort): Don't use alloca in a function call.
2753 2001-03-05 Ulrich Drepper <drepper@redhat.com>
2755 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
2756 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
2758 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2759 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2760 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2761 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
2762 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2763 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2764 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2766 2001-03-04 Andreas Jaeger <aj@suse.de>
2768 * stdlib/longlong.h: Don't use multi-line strings.
2769 * iconvdata/tst-loading.c: Likewise.
2771 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
2774 2001-03-04 Ulrich Drepper <drepper@redhat.com>
2776 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
2778 * rt/lio_listio.c: Add a few asserts.
2780 * elf/global.c: New file.
2781 * elf/globalmod1.c: New file.
2782 * elf/Makefile: Add rules to build and run global.
2784 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
2785 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2786 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2788 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2790 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
2791 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2793 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
2795 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
2796 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2798 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
2800 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
2802 2001-03-04 Andreas Jaeger <aj@suse.de>
2804 * resolv/tst-aton.c: Add testcase for IP with four periods.
2806 * resolv/inet_addr.c: Don't recognize an IP with four periods.
2807 Patch by Andre' Breiler <A.Breiler@gmx.net>.
2809 2001-02-27 Philip Blundell <pb@futuretv.com>
2811 * elf/elf.h: Add new ARM definitions from latest (B-01)
2812 specification. Correct naming of EF_ARM_ALIGN8 et al.
2814 2001-03-04 Ulrich Drepper <drepper@redhat.com>
2816 * stdio-common/tst-printf.sh: Remove bashisms.
2817 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
2819 2001-03-03 Ulrich Drepper <drepper@redhat.com>
2821 * Versions.def: Add libanl definition.
2822 * shlib-versions: Add entry for libanl.
2823 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
2824 (routines): Add gai_sigqueue.
2825 (extra-libs): Add libanl.
2826 (libanl-routines): New variable.
2827 Add rules to build libanl and ga_test.
2828 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
2829 [libanl]: New library.
2830 * resolv/netdb.h: Add definitions for libanl.
2831 * resolv/getaddrinfo_a.c: New file.
2832 * resolv/gai_cancel.c: New file.
2833 * resolv/gai_error.c: New file.
2834 * resolv/gai_misc.c: New file.
2835 * resolv/gai_misc.h: New file.
2836 * resolv/gai_notify.c: New file.
2837 * resolv/gai_suspend.c: New file.
2838 * resolv/ga_test.c: New file.
2839 * sysdeps/generic/gai_sigqueue.c: New file.
2840 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
2841 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
2842 and provide only that definition.
2843 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2844 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2845 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2846 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2847 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2848 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2850 * rt/aio_misc.c: Fix typos in comments.
2851 * rt/lio_listio.c: Pretty printing. Little optimization in request
2854 * elf/rtld.c: Remove commented out code.
2856 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
2857 Update for real 2.4 kernels.
2859 2001-03-01 Ulrich Drepper <drepper@redhat.com>
2861 * elf/dl-load.c: Pretty printing.
2863 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
2866 2001-02-28 Ulrich Drepper <drepper@redhat.com>
2868 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
2869 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
2871 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2873 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
2876 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
2878 2001-02-27 Ulrich Drepper <drepper@redhat.com>
2880 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
2883 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
2885 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
2886 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
2887 _dl_debug_printf_c, and _dl_printf.
2888 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
2889 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
2890 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
2891 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
2892 * elf/dl-close.c: Replace use of old output functions with the new
2894 * elf/dl-deps.c: Likewise.
2895 * elf/dl-error.c: Likewise.
2896 * elf/dl-fini.c: Likewise.
2897 * elf/dl-init.c: Likewise.
2898 * elf/dl-load.c: Likewise.
2899 * elf/dl-lookup.c: Likewise.
2900 * elf/dl-minimal.c: Likewise.
2901 * elf/dl-open.c: Likewise.
2902 * elf/dl-profile.c: Likewise.
2903 * elf/dl-reloc.c: Likewise.
2904 * elf/dl-version.c: Likewise.
2905 * elf/do-lookup.h: Likewise.
2906 * elf/rtld.c: Likewise.
2907 * sysdeps/generic/dl-cache.c: Likewise.
2908 * sysdeps/generic/dl-sysdep.c: Likewise.
2909 * sysdeps/generic/libc-start.c: Likewise.
2910 * sysdeps/i386/dl-machine.h: Likewise.
2911 * sysdeps/arm/dl-machine.h: Likewise.
2912 * sysdeps/hppa/dl-machine.h: Likewise.
2913 * sysdeps/m68k/dl-machine.h: Likewise.
2914 * sysdeps/powerpc/dl-machine.h: Likewise.
2915 * sysdeps/s390/dl-machine.h: Likewise.
2916 * sysdeps/sh/dl-machine.h: Likewise.
2917 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2918 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2919 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2921 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
2923 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
2924 supported by assembler.
2926 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
2929 * elf/rtld.c: Little optimizations in handling _dl_lazy.
2931 * elf/cache.c (save_cache): Portability changes.
2932 * elf/dl-profile.c (_dl_start_profile): Likewise.
2934 * elf/sln.c: Cleanups. Remove arbitrary limits.
2936 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
2937 * elf/dl-deps.c: Likewise.
2938 * elf/dl-fini.c: Likewise.
2939 * elf/dl-init.c: Likewise.
2940 * elf/dl-load.c: Likewise.
2941 * elf/dl-lookup.c: Likewise.
2942 * elf/dl-open.c: Likewise.
2943 * elf/dl-reloc.c: Likewise.
2944 * elf/dl-support.c: Likewise.
2945 * elf/dl-version.c: Likewise.
2946 * elf/do-lookup.h: Likewise.
2947 * elf/rtld.c: Likewise.
2948 * sysdeps/generic/dl-cache.c: Likewise.
2949 * sysdeps/generic/ldsodefs.h: Likewise.
2950 * sysdeps/generic/libc-start.c: Likewise.
2951 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
2952 Export _dl_debug_mask.
2953 * Versions.def: Define GLIBC_2.2.3 for ld.
2955 2001-02-26 Greg McGary <greg@mcgary.org>
2957 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
2959 2001-02-26 Paul Eggert <eggert@twinsun.com>
2961 Modify mkstemp.c and tempname.c so that they can be used by
2962 GNU applications on non-glibc platforms.
2964 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
2966 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
2967 Include <stddef.h>, <stdint.h>, <string.h> only if
2968 STDC_HEADERS || _LIBC.
2969 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
2970 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
2971 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
2972 (__set_errno): Define this macro if <errno.h> doesn't.
2973 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
2974 Define these macros if <stdio.h> doesn't.
2975 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
2976 Define these macros if <sys/stat.h> doesn't.
2977 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
2978 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
2979 lxstat64, __xstat64): Define if not _LIBC.
2980 (struct_stat64): New macro.
2981 (direxists, __gen_tempname): Use it, to avoid a
2982 portability problem with Solaris 8.
2983 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
2984 (__gen_tempname): Invoke gettimeofday only if
2985 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
2986 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
2987 octal values like 0600.
2989 2001-02-26 Ulrich Drepper <drepper@redhat.com>
2991 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
2992 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
2994 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
2995 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2997 * posix/wordexp-test.c (testit): Remove warnings.
2999 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
3000 (tests): Add tstatexit and tstcxaatexit.
3001 (module-names): Add modatexit and modcxaatexit.
3002 Add rules to build and run tstatexit and tstcxaatexit.
3003 * dlfcn/modatexit.c: New file.
3004 * dlfcn/modcxaatexit.c: New file.
3005 * dlfcn/tstatexit.c: New file.
3006 * dlfcn/tstcxaatexit.c: New file.
3008 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
3009 .hidden is available.
3010 * io/stat.c: If .hidden is available use it to avoid exporting
3012 * io/fstat.c: Likewise.
3013 * io/lstat.c: Likewise.
3014 * io/stat64.c: Likewise.
3015 * io/fstat64.c: Likewise.
3016 * io/lstat64.c: Likewise.
3017 * sysdeps/generic/mknod.c: Likewise.
3019 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
3020 * sysdeps/generic/bb_init_func.c: Likewise.
3021 * sysdeps/generic/libc-start.c: Likewise.
3023 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
3024 (atexit): Implement using __cxa_atexit.
3025 Use .hidden if availble to avoid exporting atexit.
3026 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
3027 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
3028 * stdlib/Makefile (routines): Add old_atexit.
3029 (static-only-routines): Add atexit.
3030 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
3031 * stdlib/old_atexit.c: New file.
3033 * intl/Makefile: Remove bogus endif.
3035 2001-02-26 Andreas Jaeger <aj@suse.de>
3037 * iconvdata/Makefile (tests): Fix typo in last patch.
3039 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
3041 Reported by Achim Gottinger <achim@gentoo.org>.
3043 2001-02-25 Andreas Jaeger <aj@suse.de>
3045 * intl/Makefile (plural.c): Reorder rules so that they work if
3046 BISON doesn't exist.
3048 2001-02-25 Ulrich Drepper <drepper@redhat.com>
3050 * intl/locale.alias: Don't use nb_NO but define aliases for it.
3052 2001-02-23 Ulrich Drepper <drepper@redhat.com>
3054 * sysdeps/i386/strtok.S: Continue to return NULL after the first
3057 2001-02-23 Andreas Jaeger <aj@suse.de>
3059 * string/tester.c (test_strtok_r): Add testcase.
3060 (test_strtok_r): Always initialize cp for proper checking.
3062 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
3063 returning NULL correctly.
3064 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
3065 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
3067 2001-02-23 Ulrich Drepper <drepper@redhat.com>
3069 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
3070 including <stddef.h>.
3071 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
3072 * include/libc-symbols.h (weak_alias): Don't use .weak if
3073 HAVE_ASM_GLOBAL_DOT_NAME is defined.
3074 Patches by Michael Keezer <mkeezer@redhat.com>.
3076 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
3077 Patch by Michael Keezer <mkeezer@redhat.com>.
3079 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
3080 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
3081 (sysdep_routines): Remove restf.S and savef.S.
3082 * sysdeps/unix/sysv/aix/restf.S. Removed.
3083 * sysdeps/unix/sysv/aix/savef.S. Removed.
3084 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
3085 alternative names used on some platforms.
3086 * sysdeps/powerpc/fprsave.S: Likewise.
3087 * sysdeps/powerpc/gprrest0.S: Likewise.
3088 * sysdeps/powerpc/gprrest1.S: Likewise.
3089 * sysdeps/powerpc/gprsave0.S: Likewise.
3090 * sysdeps/powerpc/gprsave1.S: Likewise.
3091 Patch by Michael Keezer <mkeezer@redhat.com>.
3093 2001-02-22 Ulrich Drepper <drepper@redhat.com>
3095 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
3097 2001-02-22 Andreas Jaeger <aj@suse.de>
3099 * string/tst-strtok.c (main): Fix error messages.
3101 2001-02-22 Andreas Jaeger <aj@suse.de>
3103 * math/Makefile: Remove omit-long-double-fcts.
3105 2001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3107 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
3108 avoid problems on MIPS I.
3109 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
3111 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
3114 2001-02-21 Ulrich Drepper <drepper@redhat.com>
3116 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
3118 * sysdeps/generic/ftime.c: Include <time.h>.
3120 * configure.in: Don't check for libgd if user passed --without-gd.
3121 Patch by Achim Gottinger <achim@gentoo.org>.
3123 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
3124 first time this happened.
3125 * string/Makefile (tests): Add tst-strtok.
3127 2001-02-21 Andreas Jaeger <aj@suse.de>
3129 * string/tst-strtok.c: New testcase, reported by
3130 Andrew Church <achurch@achurch.org>.
3132 2001-02-20 Ulrich Drepper <drepper@redhat.com>
3134 * libio/iofwide.c: Remove fwide alias.
3136 2001-02-20 Andreas Jaeger <aj@suse.de>
3138 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
3140 Reported by Achim Gottinger <achim@gentoo.org>.
3142 2001-02-19 Ulrich Drepper <drepper@redhat.com>
3144 * iconv/tst-iconv1.c (main): Remove debugging code.
3146 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
3147 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3149 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
3151 * sysdeps/generic/e_scalbf.c: Likewise.
3152 * sysdeps/generic/e_scalbl.c: Likewise.
3154 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
3155 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
3157 (routines): Replace libm_error with libc_libm_error.
3158 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
3159 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
3161 2001-02-18 Mark Kettenis <kettenis@gnu.org>
3163 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
3164 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
3166 2001-02-17 H.J. Lu <hjl@gnu.org>
3168 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
3169 scratch registers across the system call.
3171 2001-02-19 Andreas Jaeger <aj@suse.de>
3173 * malloc/Makefile (tests): Run mtrace only when perl is available.
3174 Reported by Achim Gottinger <achim@gentoo.org>.
3176 2001-02-19 Ulrich Drepper <drepper@redhat.com>
3178 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
3179 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3181 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
3182 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
3183 * math/libm-test.inc (j1_test): Mark constants as long double.
3184 (jn_test): Likewise.
3185 (y1_test): Likewise.
3186 (yn_test): Likewise.
3188 * libio/iogetline.c: Move return until after last statement.
3190 * localedata/show-ucs-data.c: Don't show < > for better readability.
3192 * sysdeps/ia64/fpu/Dist: New file.
3193 * sysdeps/ia64/fpu/Makefile: New file.
3194 * sysdeps/ia64/fpu/Versions: New file.
3195 * sysdeps/ia64/fpu/e_acos.S: New file.
3196 * sysdeps/ia64/fpu/e_acosf.S: New file.
3197 * sysdeps/ia64/fpu/e_acosl.S: New file.
3198 * sysdeps/ia64/fpu/e_asin.S: New file.
3199 * sysdeps/ia64/fpu/e_asinf.S: New file.
3200 * sysdeps/ia64/fpu/e_asinl.S: New file.
3201 * sysdeps/ia64/fpu/e_atan2.S: New file.
3202 * sysdeps/ia64/fpu/e_atan2f.S: New file.
3203 * sysdeps/ia64/fpu/e_atan2l.c: New file.
3204 * sysdeps/ia64/fpu/e_cosh.S: New file.
3205 * sysdeps/ia64/fpu/e_coshf.S: New file.
3206 * sysdeps/ia64/fpu/e_coshl.S: New file.
3207 * sysdeps/ia64/fpu/e_exp.S: New file.
3208 * sysdeps/ia64/fpu/e_expf.S: New file.
3209 * sysdeps/ia64/fpu/e_expl.c: New file.
3210 * sysdeps/ia64/fpu/e_fmod.S: New file.
3211 * sysdeps/ia64/fpu/e_fmodf.S: New file.
3212 * sysdeps/ia64/fpu/e_fmodl.S: New file.
3213 * sysdeps/ia64/fpu/e_hypot.S: New file.
3214 * sysdeps/ia64/fpu/e_hypotf.S: New file.
3215 * sysdeps/ia64/fpu/e_hypotl.S: New file.
3216 * sysdeps/ia64/fpu/e_log.S: New file.
3217 * sysdeps/ia64/fpu/e_log10.c: New file.
3218 * sysdeps/ia64/fpu/e_log10f.c: New file.
3219 * sysdeps/ia64/fpu/e_log10l.c: New file.
3220 * sysdeps/ia64/fpu/e_logf.S: New file.
3221 * sysdeps/ia64/fpu/e_logl.c: New file.
3222 * sysdeps/ia64/fpu/e_pow.S: New file.
3223 * sysdeps/ia64/fpu/e_powf.S: New file.
3224 * sysdeps/ia64/fpu/e_powl.S: New file.
3225 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
3226 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
3227 * sysdeps/ia64/fpu/e_remainder.S: New file.
3228 * sysdeps/ia64/fpu/e_remainderf.S: New file.
3229 * sysdeps/ia64/fpu/e_remainderl.S: New file.
3230 * sysdeps/ia64/fpu/e_scalb.S: New file.
3231 * sysdeps/ia64/fpu/e_scalbf.S: New file.
3232 * sysdeps/ia64/fpu/e_scalbl.S: New file.
3233 * sysdeps/ia64/fpu/e_sinh.S: New file.
3234 * sysdeps/ia64/fpu/e_sinhf.S: New file.
3235 * sysdeps/ia64/fpu/e_sinhl.S: New file.
3236 * sysdeps/ia64/fpu/e_sqrt.S: New file.
3237 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
3238 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
3239 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
3240 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
3241 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
3242 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
3243 * sysdeps/ia64/fpu/libm_error.c: New file.
3244 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
3245 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
3246 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
3247 * sysdeps/ia64/fpu/libm_reduce.S: New file.
3248 * sysdeps/ia64/fpu/libm_support.h: New file.
3249 * sysdeps/ia64/fpu/libm_tan.S: New file.
3250 * sysdeps/ia64/fpu/s_atan.S: New file.
3251 * sysdeps/ia64/fpu/s_atanf.S: New file.
3252 * sysdeps/ia64/fpu/s_atanl.S: New file.
3253 * sysdeps/ia64/fpu/s_cbrt.S: New file.
3254 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
3255 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
3256 * sysdeps/ia64/fpu/s_ceil.S: New file.
3257 * sysdeps/ia64/fpu/s_ceilf.S: New file.
3258 * sysdeps/ia64/fpu/s_ceill.S: New file.
3259 * sysdeps/ia64/fpu/s_cos.S: New file.
3260 * sysdeps/ia64/fpu/s_cosf.S: New file.
3261 * sysdeps/ia64/fpu/s_cosl.S: New file.
3262 * sysdeps/ia64/fpu/s_expm1.S: New file.
3263 * sysdeps/ia64/fpu/s_expm1f.S: New file.
3264 * sysdeps/ia64/fpu/s_expm1l.S: New file.
3265 * sysdeps/ia64/fpu/s_floor.S: New file.
3266 * sysdeps/ia64/fpu/s_floorf.S: New file.
3267 * sysdeps/ia64/fpu/s_floorl.S: New file.
3268 * sysdeps/ia64/fpu/s_frexp.c: New file.
3269 * sysdeps/ia64/fpu/s_frexpf.c: New file.
3270 * sysdeps/ia64/fpu/s_frexpl.c: New file.
3271 * sysdeps/ia64/fpu/s_ilogb.S: New file.
3272 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
3273 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
3274 * sysdeps/ia64/fpu/s_ldexp.S: New file.
3275 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
3276 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
3277 * sysdeps/ia64/fpu/s_log1p.S: New file.
3278 * sysdeps/ia64/fpu/s_log1pf.S: New file.
3279 * sysdeps/ia64/fpu/s_log1pl.S: New file.
3280 * sysdeps/ia64/fpu/s_logb.S: New file.
3281 * sysdeps/ia64/fpu/s_logbf.S: New file.
3282 * sysdeps/ia64/fpu/s_logbl.S: New file.
3283 * sysdeps/ia64/fpu/s_matherrf.c: New file.
3284 * sysdeps/ia64/fpu/s_matherrl.c: New file.
3285 * sysdeps/ia64/fpu/s_modf.S: New file.
3286 * sysdeps/ia64/fpu/s_modff.S: New file.
3287 * sysdeps/ia64/fpu/s_modfl.S: New file.
3288 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
3289 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
3290 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
3291 * sysdeps/ia64/fpu/s_rint.S: New file.
3292 * sysdeps/ia64/fpu/s_rintf.S: New file.
3293 * sysdeps/ia64/fpu/s_rintl.S: New file.
3294 * sysdeps/ia64/fpu/s_round.S: New file.
3295 * sysdeps/ia64/fpu/s_roundf.S: New file.
3296 * sysdeps/ia64/fpu/s_roundl.S: New file.
3297 * sysdeps/ia64/fpu/s_scalbn.S: New file.
3298 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
3299 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
3300 * sysdeps/ia64/fpu/s_significand.S: New file.
3301 * sysdeps/ia64/fpu/s_significandf.S: New file.
3302 * sysdeps/ia64/fpu/s_significandl.S: New file.
3303 * sysdeps/ia64/fpu/s_sin.c: New file.
3304 * sysdeps/ia64/fpu/s_sincos.c: New file.
3305 * sysdeps/ia64/fpu/s_sincosf.c: New file.
3306 * sysdeps/ia64/fpu/s_sincosl.c: New file.
3307 * sysdeps/ia64/fpu/s_sinf.c: New file.
3308 * sysdeps/ia64/fpu/s_sinl.c: New file.
3309 * sysdeps/ia64/fpu/s_tan.S: New file.
3310 * sysdeps/ia64/fpu/s_tanf.S: New file.
3311 * sysdeps/ia64/fpu/s_tanl.S: New file.
3312 * sysdeps/ia64/fpu/s_trunc.S: New file.
3313 * sysdeps/ia64/fpu/s_truncf.S: New file.
3314 * sysdeps/ia64/fpu/s_truncl.S: New file.
3315 * sysdeps/ia64/fpu/w_acos.c: New file.
3316 * sysdeps/ia64/fpu/w_acosf.c: New file.
3317 * sysdeps/ia64/fpu/w_acosl.c: New file.
3318 * sysdeps/ia64/fpu/w_asin.c: New file.
3319 * sysdeps/ia64/fpu/w_asinf.c: New file.
3320 * sysdeps/ia64/fpu/w_asinl.c: New file.
3321 * sysdeps/ia64/fpu/w_atan2.c: New file.
3322 * sysdeps/ia64/fpu/w_atan2f.c: New file.
3323 * sysdeps/ia64/fpu/w_atan2l.c: New file.
3324 * sysdeps/ia64/fpu/w_cosh.c: New file.
3325 * sysdeps/ia64/fpu/w_coshf.c: New file.
3326 * sysdeps/ia64/fpu/w_coshl.c: New file.
3327 * sysdeps/ia64/fpu/w_exp.c: New file.
3328 * sysdeps/ia64/fpu/w_expf.c: New file.
3329 * sysdeps/ia64/fpu/w_fmod.c: New file.
3330 * sysdeps/ia64/fpu/w_fmodf.c: New file.
3331 * sysdeps/ia64/fpu/w_fmodl.c: New file.
3332 * sysdeps/ia64/fpu/w_hypot.c: New file.
3333 * sysdeps/ia64/fpu/w_hypotf.c: New file.
3334 * sysdeps/ia64/fpu/w_hypotl.c: New file.
3335 * sysdeps/ia64/fpu/w_log.c: New file.
3336 * sysdeps/ia64/fpu/w_log10.c: New file.
3337 * sysdeps/ia64/fpu/w_log10f.c: New file.
3338 * sysdeps/ia64/fpu/w_log10l.c: New file.
3339 * sysdeps/ia64/fpu/w_logf.c: New file.
3340 * sysdeps/ia64/fpu/w_logl.c: New file.
3341 * sysdeps/ia64/fpu/w_pow.c: New file.
3342 * sysdeps/ia64/fpu/w_powf.c: New file.
3343 * sysdeps/ia64/fpu/w_powl.c: New file.
3344 * sysdeps/ia64/fpu/w_remainder.c: New file.
3345 * sysdeps/ia64/fpu/w_remainderf.c: New file.
3346 * sysdeps/ia64/fpu/w_remainderl.c: New file.
3347 * sysdeps/ia64/fpu/w_scalb.c: New file.
3348 * sysdeps/ia64/fpu/w_scalbf.c: New file.
3349 * sysdeps/ia64/fpu/w_scalbl.c: New file.
3350 * sysdeps/ia64/fpu/w_sqrt.c: New file.
3351 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
3352 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
3353 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
3355 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
3356 Change FP_ILOGBNAN for new implementation.
3357 * Verions.def: Add 2.2.3 versions.
3359 2001-02-18 Ulrich Drepper <drepper@redhat.com>
3361 * math/libm-test.inc (scalb_test): Require invalid exception being
3362 raised for invalid parameters.
3363 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
3364 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3365 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3367 2001-02-18 Mark Kettenis <kettenis@gnu.org>
3369 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
3371 (__get_avphys_pages): Likewise.
3373 2001-02-18 Ulrich Drepper <drepper@redhat.com>
3375 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
3376 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
3377 * sysdeps/i386/fpu/e_powf.S: Likewise.
3378 * sysdeps/i386/fpu/e_powl.S: Likewise.
3380 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
3382 2001-02-17 Ulrich Drepper <drepper@redhat.com>
3384 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
3386 * sysdeps/generic/s_exp2l.c: Renamed to...
3387 * sysdeps/generic/e_exp2l.c: ...this. New file.
3388 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
3389 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
3390 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
3391 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
3392 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
3393 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
3394 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
3395 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
3396 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
3397 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
3398 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
3399 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
3400 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
3401 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
3402 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
3403 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
3405 2001-02-17 Andreas Jaeger <aj@suse.de>
3407 * configure.in: Allow gcc 3.
3409 2001-02-16 Ulrich Drepper <drepper@redhat.com>
3411 * math/w_acos.c: Move to ...
3412 * sysdeps/generic/w_acos.c: ...here. New file.
3413 * math/w_acosf.c: Move to ...
3414 * sysdeps/generic/w_acosf.c: ...here. New file.
3415 * math/w_acosh.c: Move to ...
3416 * sysdeps/generic/w_acosh.c: ...here. New file.
3417 * math/w_acoshf.c: Move to ...
3418 * sysdeps/generic/w_acoshf.c: ...here. New file.
3419 * math/w_acoshl.c: Move to ...
3420 * sysdeps/generic/w_acoshl.c: ...here. New file.
3421 * math/w_acosl.c: Move to ...
3422 * sysdeps/generic/w_acosl.c: ...here. New file.
3423 * math/w_asin.c: Move to ...
3424 * sysdeps/generic/w_asin.c: ...here. New file.
3425 * math/w_asinf.c: Move to ...
3426 * sysdeps/generic/w_asinf.c: ...here. New file.
3427 * math/w_asinl.c: Move to ...
3428 * sysdeps/generic/w_asinl.c: ...here. New file.
3429 * math/w_atan2.c: Move to ...
3430 * sysdeps/generic/w_atan2.c: ...here. New file.
3431 * math/w_atan2f.c: Move to ...
3432 * sysdeps/generic/w_atan2f.c: ...here. New file.
3433 * math/w_atan2l.c: Move to ...
3434 * sysdeps/generic/w_atan2l.c: ...here. New file.
3435 * math/w_atanh.c: Move to ...
3436 * sysdeps/generic/w_atanh.c: ...here. New file.
3437 * math/w_atanhf.c: Move to ...
3438 * sysdeps/generic/w_atanhf.c: ...here. New file.
3439 * math/w_atanhl.c: Move to ...
3440 * sysdeps/generic/w_atanhl.c: ...here. New file.
3441 * math/w_cosh.c: Move to ...
3442 * sysdeps/generic/w_cosh.c: ...here. New file.
3443 * math/w_coshf.c: Move to ...
3444 * sysdeps/generic/w_coshf.c: ...here. New file.
3445 * math/w_coshl.c: Move to ...
3446 * sysdeps/generic/w_coshl.c: ...here. New file.
3447 * math/w_drem.c: Move to ...
3448 * sysdeps/generic/w_drem.c: ...here. New file.
3449 * math/w_dremf.c: Move to ...
3450 * sysdeps/generic/w_dremf.c: ...here. New file.
3451 * math/w_dreml.c: Move to ...
3452 * sysdeps/generic/w_dreml.c: ...here. New file.
3453 * math/w_exp10.c: Move to ...
3454 * sysdeps/generic/w_exp10.c: ...here. New file.
3455 * math/w_exp10f.c: Move to ...
3456 * sysdeps/generic/w_exp10f.c: ...here. New file.
3457 * math/w_exp10l.c: Move to ...
3458 * sysdeps/generic/w_exp10l.c: ...here. New file.
3459 * math/w_exp2.c: Move to ...
3460 * sysdeps/generic/w_exp2.c: ...here. New file.
3461 * math/w_exp2f.c: Move to ...
3462 * sysdeps/generic/w_exp2f.c: ...here. New file.
3463 * math/w_exp2l.c: Move to ...
3464 * sysdeps/generic/w_exp2l.c: ...here. New file.
3465 * math/w_fmod.c: Move to ...
3466 * sysdeps/generic/w_fmod.c: ...here. New file.
3467 * math/w_fmodf.c: Move to ...
3468 * sysdeps/generic/w_fmodf.c: ...here. New file.
3469 * math/w_fmodl.c: Move to ...
3470 * sysdeps/generic/w_fmodl.c: ...here. New file.
3471 * math/w_hypot.c: Move to ...
3472 * sysdeps/generic/w_hypot.c: ...here. New file.
3473 * math/w_hypotf.c: Move to ...
3474 * sysdeps/generic/w_hypotf.c: ...here. New file.
3475 * math/w_hypotl.c: Move to ...
3476 * sysdeps/generic/w_hypotl.c: ...here. New file.
3477 * math/w_j0.c: Move to ...
3478 * sysdeps/generic/w_j0.c: ...here. New file.
3479 * math/w_j0f.c: Move to ...
3480 * sysdeps/generic/w_j0f.c: ...here. New file.
3481 * math/w_j0l.c: Move to ...
3482 * sysdeps/generic/w_j0l.c: ...here. New file.
3483 * math/w_j1.c: Move to ...
3484 * sysdeps/generic/w_j1.c: ...here. New file.
3485 * math/w_j1f.c: Move to ...
3486 * sysdeps/generic/w_j1f.c: ...here. New file.
3487 * math/w_j1l.c: Move to ...
3488 * sysdeps/generic/w_j1l.c: ...here. New file.
3489 * math/w_jn.c: Move to ...
3490 * sysdeps/generic/w_jn.c: ...here. New file.
3491 * math/w_jnf.c: Move to ...
3492 * sysdeps/generic/w_jnf.c: ...here. New file.
3493 * math/w_jnl.c: Move to ...
3494 * sysdeps/generic/w_jnl.c: ...here. New file.
3495 * math/w_lgamma.c: Move to ...
3496 * sysdeps/generic/w_lgamma.c: ...here. New file.
3497 * math/w_lgammaf.c: Move to ...
3498 * sysdeps/generic/w_lgammaf.c: ...here. New file.
3499 * math/w_lgammaf_r.c: Move to ...
3500 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
3501 * math/w_lgammal.c: Move to ...
3502 * sysdeps/generic/w_lgammal.c: ...here. New file.
3503 * math/w_lgammal_r.c: Move to ...
3504 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
3505 * math/w_lgamma_r.c: Move to ...
3506 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
3507 * math/w_log10.c: Move to ...
3508 * sysdeps/generic/w_log10.c: ...here. New file.
3509 * math/w_log10f.c: Move to ...
3510 * sysdeps/generic/w_log10f.c: ...here. New file.
3511 * math/w_log10l.c: Move to ...
3512 * sysdeps/generic/w_log10l.c: ...here. New file.
3513 * math/w_log.c: Move to ...
3514 * sysdeps/generic/w_log.c: ...here. New file.
3515 * math/w_logf.c: Move to ...
3516 * sysdeps/generic/w_logf.c: ...here. New file.
3517 * math/w_logl.c: Move to ...
3518 * sysdeps/generic/w_logl.c: ...here. New file.
3519 * math/w_pow.c: Move to ...
3520 * sysdeps/generic/w_pow.c: ...here. New file.
3521 * math/w_powf.c: Move to ...
3522 * sysdeps/generic/w_powf.c: ...here. New file.
3523 * math/w_powl.c: Move to ...
3524 * sysdeps/generic/w_powl.c: ...here. New file.
3525 * math/w_remainder.c: Move to ...
3526 * sysdeps/generic/w_remainder.c: ...here. New file.
3527 * math/w_remainderf.c: Move to ...
3528 * sysdeps/generic/w_remainderf.c: ...here. New file.
3529 * math/w_remainderl.c: Move to ...
3530 * sysdeps/generic/w_remainderl.c: ...here. New file.
3531 * math/w_scalb.c: Move to ...
3532 * sysdeps/generic/w_scalb.c: ...here. New file.
3533 * math/w_scalbf.c: Move to ...
3534 * sysdeps/generic/w_scalbf.c: ...here. New file.
3535 * math/w_scalbl.c: Move to ...
3536 * sysdeps/generic/w_scalbl.c: ...here. New file.
3537 * math/w_sinh.c: Move to ...
3538 * sysdeps/generic/w_sinh.c: ...here. New file.
3539 * math/w_sinhf.c: Move to ...
3540 * sysdeps/generic/w_sinhf.c: ...here. New file.
3541 * math/w_sinhl.c: Move to ...
3542 * sysdeps/generic/w_sinhl.c: ...here. New file.
3543 * math/w_sqrtl.c: Move to ...
3544 * sysdeps/generic/w_sqrtl.c: ...here. New file.
3545 * math/w_tgamma.c: Move to ...
3546 * sysdeps/generic/w_tgamma.c: ...here. New file.
3547 * math/w_tgammaf.c: Move to ...
3548 * sysdeps/generic/w_tgammaf.c: ...here. New file.
3549 * math/w_tgammal.c: Move to ...
3550 * sysdeps/generic/w_tgammal.c: ...here. New file.
3552 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
3553 formats for postal_fmt.
3555 2001-02-16 Jakub Jelinek <jakub@redhat.com>
3557 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
3558 __ftruncate64 alias.
3559 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
3562 2001-02-15 David Mosberger <davidm@hpl.hp.com>
3564 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
3565 do "loadrs". Writing to bspstore already takes care of
3566 invalidating the "clean" partition.
3568 2001-02-16 Andreas Schwab <schwab@suse.de>
3570 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
3571 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
3573 2001-02-15 Jakub Jelinek <jakub@redhat.com>
3575 * posix/regex.c (init_syntax_once): Add prototype.
3576 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
3577 (re_search_2): Avoid warning.
3578 (count_mbs_length): Add prototype.
3579 * posix/tst-regex3.c: New file.
3580 * posix/Makefile (tests): Add bug-regex3.
3582 2001-02-15 Ulrich Drepper <drepper@redhat.com>
3584 * stdio-common/Makefile (tests): Add tst-gets.
3585 * stdio-common/tst-gets.c: New file.
3586 * stdio-common/tst-gets.input: New file.
3588 * elf/elf.h (DT_CHECKSUM): Define.
3590 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
3592 * sysdeps/generic/strtoull.c: Likewise.
3594 2001-02-14 Wolfram Gloger <wg@malloc.de>
3596 * malloc/malloc.c (new_heap): When allocating large chunk aligned
3597 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
3600 2001-02-14 Ulrich Drepper <drepper@redhat.com>
3602 * math/libm-test.inc (j0_test): Check whether sincos is available.
3603 (j1_test): Likewise.
3604 (jn_test): Likewise.
3605 (y0_test): Likewise.
3606 (y1_test): Likewise.
3607 (yn_test): Likewise.
3609 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
3610 fake filesystem routines to handle this.
3612 * time/sys/time.h: Make settimeofday and adjtime available if
3615 * time/sys/time.h: Make timer* macros available for BSD.
3617 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
3618 Patch by Yong Li <rigel863@yahoo.com>.
3620 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
3623 * posix/Makefile (tests): Add tst-gnuglob.
3624 * posix/tst-gnuglob.c: New file.
3626 2001-02-13 H.J. Lu <hjl@gnu.org>
3628 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
3630 2001-02-13 Ulrich Drepper <drepper@redhat.com>
3632 * locale/programs/ld-paper.c (paper_output): Pretty printing.
3634 * iconvdata/Makefile (modules): Add GBBIG5.
3635 (distribute): Add gbbig5.c.
3636 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
3638 * iconvdata/gbbig5.c: New file.
3639 Contributed by Yong Li <rigel863@yahoo.com>.
3641 2001-02-13 Philip Blundell <pb@futuretv.com>
3643 * manual/crypt.texi: Remove outdated references to crypt add-on.
3645 * manual/creature.texi: Improve wording slightly.
3647 2001-02-13 Ulrich Drepper <drepper@redhat.com>
3649 * io/ftw.c: Always use readdir64.
3650 * io/ftw64.c: Likewise.
3651 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3652 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3653 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
3654 callback to dirent. Still allow compiling outside glibc.
3655 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
3656 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3658 * malloc/mtrace.c: Use fopen64.
3659 * posix/spawni.c: Use __open64.
3660 * sysdeps/unix/opendir.c: Likewise.
3661 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
3663 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
3665 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
3666 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
3667 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3668 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
3670 * resolv/res_data.c: Add cast to avoid warning.
3672 * include/unistd.h: Declare __ftruncate64.
3674 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
3676 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
3679 2001-02-13 Andreas Jaeger <aj@suse.de>
3681 * login/getutent_r.c: Include <stdlib.h> for NULL.
3682 * login/getutid_r.c: Likewise.
3684 2001-02-12 Ulrich Drepper <drepper@redhat.com>
3686 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
3687 * sysdeps/dbl-64/e_j1.c: Likewise.
3688 * sysdeps/dbl-64/e_jn.c: Likewise.
3689 * sysdeps/flt-32/e_j0f.c: Likewise.
3690 * sysdeps/flt-32/e_j1f.c: Likewise.
3691 * sysdeps/ldbl-96/e_j0l.c: Likewise.
3693 2000-12-02 H.J. Lu <hjl@gnu.org>
3695 * resolv/res_libc.c (res_init): Don't make it default.
3697 2001-02-12 Ulrich Drepper <drepper@redhat.com>
3699 * manual/debug.texi: Improved the wording.
3700 Patch by Philip Blundell <pb@futuretv.com>.
3702 2001-02-12 Andreas Jaeger <aj@suse.de>
3704 * posix/Makefile (tests): Don't run bug-regex2 when
3707 * libio/Makefile (tests): Don't run test-freopen when
3710 * manual/stdio.texi (Streams and I18N): Fix typos.
3712 2001-02-12 Ulrich Drepper <drepper@redhat.com>
3714 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
3716 * math/libm-test.inc (j0_test): Make expected results long double
3718 (y0_test): Likewise.
3720 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
3721 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3723 2001-02-11 Jakub Jelinek <jakub@redhat.com>
3725 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
3726 which was exported from libc.
3727 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
3729 2001-02-12 Andreas Jaeger <aj@suse.de>
3731 * manual/arith.texi (Parsing of Integers): Fix some wordings.
3733 2001-02-11 Ulrich Drepper <drepper@redhat.com>
3735 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
3736 and get_avphys_page to long int.
3737 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
3738 * include/sys/sysinfo.h: Likewise.
3739 * sysdeps/generic/sys/sysinfo.h: Likewise.
3740 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
3742 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
3743 cannot return as many values as the user asked for.
3745 2001-02-11 Andreas Jaeger <aj@suse.de>
3747 * manual/resource.texi (Memory Resources): Fix typo.
3749 * libio/Makefile ($(objpfx)test-freopen.out): Pass
3752 * libio/test-freopen.sh: Use run_program_prefix.
3754 2001-02-10 Andreas Jaeger <aj@suse.de>
3756 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
3758 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
3760 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
3763 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
3765 * posix/Makefile: Fix typo, it's build-static-nss.
3767 * iconv/Makefile (extra-objs): New.
3769 2001-02-10 Mark Kettenis <kettenis@gnu.org>
3771 * sysdeps/unix/stime.c: Include <time.h>.
3773 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
3775 2001-02-10 Andreas Jaeger <aj@suse.de>
3777 * manual/string.texi (Search Functions): Fix typo.
3779 2001-02-10 Mark Kettenis <kettenis@gnu.org>
3781 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
3782 (timeval_to_clock_t): Add clk_tck argument and use that instead of
3784 (__times): Use __getclktck to get the number of clock ticks per
3785 second and use its return value instead of CLK_TCK.
3787 2001-02-10 Mark Kettenis <kettenis@gnu.org>
3789 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
3791 2001-02-10 Mark Kettenis <kettenis@gnu.org>
3793 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
3795 2001-02-10 Andreas Jaeger <aj@suse.de>
3797 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
3800 2001-02-09 Ulrich Drepper <drepper@redhat.com>
3802 * posix/Makefile: Add rules to build and run bug-regex2.
3803 * posix/bug-regex2.c: New file.
3805 2001-02-10 Jakub Jelinek <jakub@redhat.com>
3807 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
3808 (regex_compile): Likewise.
3809 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
3810 (re_match_2_internal): Use just is_binary instead of two variables.
3811 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
3813 2001-02-09 Ulrich Drepper <drepper@redhat.com>
3815 * version.h (VERSION): Bump to 2.2.2.
3817 * iconv/Makefile (distribute): Add iconv_charmap.c and
3819 * elf/Makefile (distribute): Add firstobj.c.
3820 * Makefile (distribute): Add include/pthread.h.
3822 * configure.in: Require makeinfo version 4.
3824 * libio/tst_wscanf.c (main): Add cast to avoid warning.
3825 * libio/tst_swscanf.c (main): Likewise..
3827 2001-02-09 Jakub Jelinek <jakub@redhat.com>
3829 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
3830 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
3832 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
3833 if not RTLD_BOOTSTRAP.
3834 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3837 2001-02-09 Ulrich Drepper <drepper@redhat.com>
3839 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
3840 lr_ungetc to push back last read character.
3841 * locale/programs/linereader.h (lr_ungetc): Don't push back is
3843 (lr_ignore_rest): Don't warn about garbage if it is really the end
3846 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
3849 2001-02-08 Ulrich Drepper <drepper@redhat.com>
3851 * Makerules (build-shlib): Work around different order of
3852 processing of -B option in different gcc versions.
3854 * posix/regex.c: Fix alignment problem.
3855 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3857 * sysdeps/alpha/strrchr.S: Little optimization.
3858 Patch by Richard Henderson <rth@redhat.com>.
3860 * sysdeps/alpha/alphaev67/strrchr.S: New file.
3861 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
3863 2001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
3865 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
3866 in the assembler end directive.
3868 2001-02-08 Andreas Jaeger <aj@suse.de>
3870 * manual/stdio.texi (Closing Streams): Fix typos.
3872 2001-02-07 Ulrich Drepper <drepper@redhat.com>
3874 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
3875 Patch by Richard Henderson <rth@redhat.com>.
3876 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
3878 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
3879 pointer in FILE structure before calling _IO_init.
3880 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
3881 strfmon_l if necessary.
3882 Reported by Jury Gerold <gjury@grips.com>.
3884 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
3885 Patch by Pekka.Pietikainen@cern.ch.
3887 * posix/regex.c: Correct several problems with 64-bit architectures
3888 introduced in the MBS changes.
3889 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3891 2001-02-07 Jakub Jelinek <jakub@redhat.com>
3893 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
3895 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
3897 2001-02-07 Andreas Jaeger <aj@suse.de>
3899 * manual/install.texi (Tools for Compilation): Fix typo.
3900 Reported by Pavel Machek <pavel@bug.ucw.cz>.
3902 2001-02-07 Ulrich Drepper <drepper@redhat.com>
3904 * stdlib/strtod.c: Never stop prematurely reading digits before the
3905 decimal point is found. Compute exponent limit for negative exponents
3906 correctly. For numbers ending in all zeros eat the zeros even before
3907 the decimal point if the exponent is negative [PR libc/2072].
3908 * stdlib/Makefile (tests): Add bug-strtod.
3909 * stdlib/bug-strtod.c: New file.
3911 2001-02-07 Andreas Jaeger <aj@suse.de>
3913 * posix/bug-regex1.c: Include <wchar.h> for fwide.
3915 2001-02-06 Ulrich Drepper <drepper@redhat.com>
3917 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
3919 (compile_range): Handle index being passed, not pointer.
3920 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
3922 * posix/regex.c: Fix a cast in the code for bracket handling which
3923 caused 8-bit uncleanliness.
3924 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
3926 * posix/Makefile (tests): Add bug-regex1.
3927 * posix/bug-regex1.c: New file.
3928 Contributed by Jim Meyering <jim@meyering.net>.
3930 * posix/regex.c: Many cleanups for incorrect format strings.
3932 2001-02-06 Andreas Jaeger <aj@suse.de>
3934 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
3936 2001-02-06 Ulrich Drepper <drepper@redhat.com>
3938 * locale/programs/locale.c (write_locales): Use scandir to read
3939 directory so that the entries are sorted.
3941 2001-02-06 Andreas Jaeger <aj@suse.de>
3943 * include/pthread.h: New file.
3945 * wctype/wctype.h: Move internal interfaces from here to...
3946 * include/wctype.h: ...here.
3948 * wcsmbs/wchar.h: Move __wcslen from here to...
3949 * include/wchar.h: ...here.
3951 * posix/sys/wait.h: Move __wait from here to...
3952 * include/sys/wait.h: ...here.
3954 * string/string.h: Move __ffs and __strerror_r from here to...
3955 * include/string.h: ...here.
3957 * stdlib/stdlib.h: Move __on_exit from here to...
3958 * include/stdlib.h: ...here.
3960 * libio/stdio.h: Move __vsnprintf from here to...
3961 * include/stdio.h: ...here.
3963 2001-02-06 Andreas Schwab <schwab@suse.de>
3965 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
3968 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
3971 2001-02-06 Ulrich Drepper <drepper@redhat.com>
3973 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
3975 2001-02-06 Andreas Jaeger <aj@suse.de>
3977 * elf/firstobj.c: Add prototype.
3979 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
3980 (truncate_wchar): Likewise.
3982 2001-02-06 Ulrich Drepper <drepper@redhat.com>
3984 * locale/programs/locale.c: Implement --verbose option for -a
3985 which prints detailed information about the locales.
3987 2001-02-05 Ulrich Drepper <drepper@redhat.com>
3989 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
3990 variable to uint32_t.
3991 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
3993 2001-02-04 Bruno Haible <haible@clisp.cons.org>
3995 * locale/C-translit.h.in: Add transliterations for CJK units of
3998 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4000 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
4001 string. Include <inttypes.h> instead of <stdint.h>.
4003 * localedata/Makefile (tests): Add bug-iconv-trans.
4004 Define bug-iconv-trans-ENV.
4005 * localedata/bug-iconv-trans.c: New file.
4007 2001-02-04 Bruno Haible <haible@clisp.cons.org>
4009 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
4010 pointer, to avoid accumulating output from incomplete (unsuccessful)
4011 transliteration attempts.
4013 2001-02-05 Ulrich Drepper <drepper@redhat.com>
4015 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
4016 string. Include <inttypes.h> instead of <stdint.h>.
4018 * configure.in: Add check for bison.
4019 * config.make.in: Define BISON variable.
4020 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
4021 Rename YFLAGS to BISONFLAGS.
4023 2001-02-05 Andreas Jaeger <aj@suse.de>
4025 * io/test-lfs.c (do_test): Test lseek64 return value, call
4027 (test_ftello): New function to test ftello64 and fseeko64.
4029 * signal/signal.h: Move __sigaction from here to...
4030 * include/signal.h: ...here.
4032 * io/fcntl.h: Move __fcntl and __open to...
4033 * include/fcntl.h: ...here.
4035 2001-02-04 Philip Blundell <philb@gnu.org>
4037 * configure.in: Distinguish ARM from Thumb.
4039 2001-02-04 Philip Blundell <philb@gnu.org>
4041 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
4042 PC24 relocs with negative value.
4044 2001-02-04 Ulrich Drepper <drepper@redhat.com>
4046 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
4047 files in locale/programs. Add CFLAGS definition to allow compiling
4049 * iconv/dummy-repertoire.c: New file.
4050 * iconv/iconv_charmap.c: New file.
4051 * iconv/iconv_prog.h: New file.
4052 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
4053 (main): If parameter for -f and -t contain slashes try first to resolve
4054 the strings as filenames of charmap files. Use them for conversion
4056 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
4057 iconv getting charmap names as parameters.
4058 * locale/programs/linereader.c (lr_token): Take extra parameters
4059 verbose and pass it to get_string.
4060 (get_string): Take extra parameters verbose.
4061 * locale/programs/charmap.c (parse_charmap): Take extra parameters
4062 verbose and be_quiet. Change all callers of lr_token and
4064 * locale/programs/charmap.h: Likewise.
4065 * locale/programs/ld-address.c: Likewise.
4066 * locale/programs/ld-collate.c: Likewise.
4067 * locale/programs/ld-ctype.c: Likewise.
4068 * locale/programs/ld-identification.c: Likewise.
4069 * locale/programs/ld-measurement.c: Likewise.
4070 * locale/programs/ld-messages.c: Likewise.
4071 * locale/programs/ld-monetary.c: Likewise.
4072 * locale/programs/ld-name.c: Likewise.
4073 * locale/programs/ld-numeric.c: Likewise.
4074 * locale/programs/ld-paper.c: Likewise.
4075 * locale/programs/ld-telephone.c: Likewise.
4076 * locale/programs/ld-time.c: Likewise.
4077 * locale/programs/linereader.c: Likewise.
4078 * locale/programs/linereader.h: Likewise.
4079 * locale/programs/localedef.c: Likewise.
4080 * locale/programs/locfile.c: Likewise.
4081 * locale/programs/locfile.h: Likewise.
4082 * locale/programs/repertoire.c: Likewise.
4084 2001-02-03 Ulrich Drepper <drepper@redhat.com>
4086 * iconv/iconv_prog.c (main): If output file name is "-" write to
4088 (main): If -f or -t argument is missing use charset of the current
4091 2001-02-03 Andreas Jaeger <aj@suse.de>
4093 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
4094 boundary for SSE/SSE-2 alignment.
4096 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
4099 2001-02-03 Ulrich Drepper <drepper@redhat.com>
4101 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
4102 Remove comma at end of enum.
4104 * elf/dl-init.c: Add a few __builtin_expect.
4106 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
4108 2001-02-02 Ulrich Drepper <drepper@redhat.com>
4110 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
4111 errno is ECONNREFUSED.
4113 * posix/Makefile: Define MBS_SUPPORT for regex.c.
4114 * posix/regex.c: Implement multibyte character handling.
4115 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
4117 * string/tst-svc.input: Add two more test cases.
4118 * string/tst-svc.expect: Modify to reflect new test cases.
4120 2001-02-01 Jakub Jelinek <jakub@redhat.com>
4122 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
4123 tp->name tests with tp->name[0] tests.
4125 2001-01-29 Ben Collins <bcollins@debian.org>
4127 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
4128 Fix check for name == NULL.
4130 2001-02-01 Ulrich Drepper <drepper@redhat.com>
4132 * elf/Makefile: Add rules to build and run initfirst test.
4133 * elf/initfirst.c: New file.
4134 * elf/firstobj.c: New file.
4136 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
4137 * configure.in: Test for -z initfirst linker option.
4138 * config.make.in: Add have-z-initfirst.
4139 * elf/dl-init.c (_dl_init): Split out actual initialization code in
4140 new function call_init. If _dl_initfirst is non-NULL initialize first.
4141 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
4142 remember object in _dl_initfirst.
4143 * elf/soinit.c: Remove special support for calling
4144 __pthread_initialize_minimal.
4146 * conform/conformtest.pl: Add missing $prepend in type test.
4148 2001-01-31 Ulrich Drepper <drepper@redhat.com>
4150 * elf/elf.h (SHT_CHECKSUM): New definition.
4152 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
4153 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
4154 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
4156 2001-01-31 Mark Kettenis <kettenis@gnu.org>
4158 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
4159 to get definition of `struct timeval'.
4161 2001-01-31 Ulrich Drepper <drepper@redhat.com>
4163 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
4164 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
4166 2001-01-30 Ulrich Drepper <drepper@redhat.com>
4168 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
4171 * nis/nis_findserv.c: Include <time.h>.
4173 2001-01-30 Yong Li <yong.li@asu.edu>
4175 * iconv/iconv_prog.c (main): Correct error handling method name.
4177 2001-01-29 Ben Collins <bcollins@debian.org>
4179 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
4180 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
4181 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
4182 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
4184 2001-01-30 Ulrich Drepper <drepper@redhat.com>
4186 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
4187 Patch by Marko Myllynen <myllynen@lut.fi>.
4189 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
4190 (int instead of char).
4191 (__strpbrk_c3): Likewise.
4192 Reported by GOTO Masanori <gotom@debian.or.jp>.
4194 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
4195 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
4196 * include/sys/socket.h: Add SA_LEN here for internal use.
4197 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
4199 2001-01-29 Ulrich Drepper <drepper@redhat.com>
4201 * malloc/Makefile: Don't build memusagestat if cross-compiling.
4203 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
4205 * math/libm-test.inc (rint_test): Add a few more tests for round
4208 2001-01-28 Ulrich Drepper <drepper@redhat.com>
4210 * conform/data/pthread.h-data: Correct return type of pthread_exit.
4212 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
4214 * conform/data/stdlib.h-data: Add _Exit.
4216 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
4217 if not already happened.
4218 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
4219 Don't include <limits.h> and <bits/sockaddr.h>.
4221 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
4223 * conform/data/spawn.h-data: Allow all of <sched.h>.
4225 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
4228 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
4229 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
4231 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
4233 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
4234 * libio/stdio.h: Define va_list correctly.
4236 * conform/data/pthread.h-data: Make priority protocol related
4237 functions optional. Fix typos.
4239 * posix/sched.h: Define sched_priority as __sched_priority.
4240 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
4241 to __sched_priority.
4242 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4244 2001-01-27 Ulrich Drepper <drepper@redhat.com>
4246 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
4249 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
4250 * sysdeps/unix/time.c: Likewise.
4252 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
4253 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
4254 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
4255 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
4256 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
4257 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
4258 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
4259 * time/time.h: Likewise.
4261 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
4262 * conform/data/complex.h-data: New file.
4263 * conform/data/tgmath.h-data: New file.
4265 * conform/data/wchar.h-data: Add missing functions.
4267 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
4269 * conform/data/termios.h-data: Add missing const in tcsetattr()
4272 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
4273 Don't define pid_t here.
4275 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
4277 * conform/data/sys/time.h-data: Allow sys/select.h.
4278 * conform/data/sys/un.h-data: Fix typo.
4279 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
4280 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
4282 * sysdeps/unix/clock_nanosleep.c: Likewise.
4283 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
4284 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
4285 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
4286 * sysdeps/unix/clock_settime.c: Likewise.
4288 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
4289 * login/getutent.c: Likewise.
4290 * login/getutid.c: Likewise.
4291 * login/getutline.c: Likewise.
4293 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
4295 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
4296 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
4297 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
4298 f_fsid field after change in struct statvfs.
4299 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
4300 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
4301 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
4303 * conform/data/sys/stat.h-data: Remove isfdtype. Use
4306 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
4307 recvfrom, send, and socketpair prototypes. Add allow lines.
4308 * socket/sys/socket.h: Include <sys/uio.h>.
4309 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
4310 Fix type of second parameter of listen.
4311 Don't declare isfdtype unless __USE_MISC.
4312 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
4313 * sysdeps/mach/hurd/listen.c: Likewise.
4314 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
4315 ss_family and __ss_family.
4316 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
4317 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4318 (struct msghdr): Change type of msg_iovlen to int and type of
4319 msg_controllen to socklen_t.
4320 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
4321 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
4322 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
4323 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
4324 (rresvport_af): Likewise.
4326 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
4327 * conform/conformtest.pl: Implement handling of symbol.
4329 * signal/signal.h: Fix handling of __need_* symbols.
4330 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
4331 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
4332 * include/sys/select.h: Use fd_set not __fd_set.
4333 * sysdeps/generic/bits/select.h: Likewise.
4334 * sysdeps/i386/bits/select.h: Likewise.
4335 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
4336 __FDELT, __FDMASK, and __fd_set here.
4337 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
4338 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
4339 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4340 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4341 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4342 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4343 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4344 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4345 * time/sys/time.h: Define struct timeval before including <time.h>
4348 * conform/data/sys/time.h-data: fd_set is a typedef.
4349 * conform/data/sys/select.h-data: New file.
4350 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
4351 * conform/conformtest.pl (@headers): Add sys/select.h.
4352 (type, optional-type): Unless testing a typedef instantiate object.
4353 Implement optional-function.
4355 * math/test-misc.c: Include <float.h>.
4357 2001-01-27 Andreas Jaeger <aj@suse.de>
4359 * misc/efgcvt_r.c: Include <float.h>.
4361 2001-01-26 Ulrich Drepper <drepper@redhat.com>
4363 * conform/data/stdlib.h-data: Account for XPG6 changes.
4364 * stdlib/stdlib.h (__random): Change return value type to long.
4365 (posix_memalign): Cleanup parameter names.
4366 (setenv, unsetenv): Make available for __USE_XOPEN2K.
4367 Change return type of unsetenv to int.
4368 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
4369 * include/stdlib.h: Change return type of unsetenv to int.
4370 Change return type of random to long int.
4371 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
4372 Return -1 and set errno if parameter is invalid.
4373 * stdlib/random.c (__random): Change return value type to long.
4375 * conform/data/stdio.h-data: Account for changes in XPG6.
4377 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
4380 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
4381 * conform/data/signal.h-data: Fix sigev_notify_function entry.
4382 Fix typo (SIGVALRM -> SIGVTALRM).
4383 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
4385 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4386 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4387 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4388 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4389 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4391 * conform/conformtest.pl: Implement optional-element. Define
4392 $mustprepend{"sched.h"}.
4393 * conform/data/sched.h-data: Make sporadic scheduler definitions
4396 * pwd/pwd.h: Don't define getpwent_r for XPG.
4398 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
4399 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
4400 * sysdeps/mach/hurd/poll.c: Likewise.
4401 * sysdeps/unix/bsd/poll.c: Likewise.
4402 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4403 * sysdeps/unix/sysv/aix/poll.c: Likewise.
4404 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
4405 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
4406 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
4407 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
4408 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
4409 * conform/data/poll.h-data: Fix typo in poll prototype.
4411 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
4413 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
4415 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
4417 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
4419 * conform/conformtest.pl: Implement optional-type.
4421 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
4422 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
4423 defining uint32_t here. Define IPPORT_RESERVED.
4424 (struct hostent): Type of h_length element is int.
4425 (getnameinfo): Type of flags parameter is unsigned int.
4426 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
4427 * conform/data/netdb.h-data: Add many missing definitions.
4429 * conform/conformtest.pl: Implement optional-macro.
4430 * conform/data/math.h-data: Update for XPG6.
4432 * math/math.h (HUGE): Define as FLT_MAX value but don't use
4433 FLT_MAX. Don't include <float.h>.
4434 (MAXFLOAT): Likewise.
4436 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
4438 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
4440 * conform/data/limits.h-data: Mark constants as optional wherever
4443 * posix/bits/posix2_lim.h: Set correct values for
4444 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
4447 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
4450 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
4452 * conform/data/netinet/in.h-data: Add reserved prefixes.
4454 * conform/data/arpa/inet.h-data: Fix a few typos.
4456 2001-01-26 Andreas Jaeger <aj@suse.de>
4458 * sysdeps/generic/strtol.c: Include <locale.h>
4459 * stdlib/strtod.c: Likewise
4460 * stdlib/strfmon.c: Likewise.
4461 * string/strcoll.c: Likewise.
4462 * string/strxfrm.c: Likewise.
4463 * wctype/wcfuncs_l.c: Likewise.
4464 * wctype/wctype_l.c: Likewise.
4465 * wctype/wctrans_l.c: Likewise.
4467 * include/bits/locale.h: New file.
4469 2001-01-26 Ulrich Drepper <drepper@redhat.com>
4471 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
4474 * locale/Makefile (headers): Add bits/locale.h.
4475 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
4476 and use __LC_ constants instead of LC_.
4477 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
4478 using __LC_ constants.
4479 * locale/bits/locale.h: New file.
4480 * locale/loadlocale.c: Include <locale.h>.
4481 * locale/nl_langinfo.h: Likewise.
4483 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
4485 * io/sys/stat.h: Define S_IFSOCK for XPG6.
4487 * conform/data/fcntl.h-data: posix_madvise is not expected here.
4489 * conform/conformtest.pl: Fix handling of macro-str.
4491 * conform/data/inttypes.h-data: Add missing definition and all of
4494 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
4496 2001-01-25 Ulrich Drepper <drepper@redhat.com>
4498 * conform/conformtest.pl (@headers): Add stdint.h.
4499 * conform/data/stdint.h-data: New file.
4501 * conform/conformtest.pl: Recognize options --headers and
4502 --dialect. Add dialect-specific CFLAGS.
4504 * conform/conformtest.pl: Implement handling of recursive
4507 * conform/data/locale.h-data: Add new struct lconv members.
4509 * posix/wordexp.h: Correct definition of wordexp_t.
4510 * posix/wordexp.c: Moved to ...
4511 * sysdeps/generic/wordexp.c: ...here. New file.
4512 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
4513 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
4514 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
4515 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
4517 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
4518 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
4520 * math/tgmath.h: Pretty printing.
4522 * math/Makefile (tests): Add test-tgmath.
4523 (CFLAGS-test-tgmath.c): New variable.
4524 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
4526 * conform/conformtest.pl: Handle allow-header in secondary headers
4529 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
4532 * conform/data/netinet/in.h-data: Use correct comment character.
4533 * conform/data/sys/stat.h-data: Likewise.
4535 2001-01-25 Jakub Jelinek <jakub@redhat.com>
4537 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
4538 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
4539 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
4540 __builtin_classify_type, add ##f suffixes where appropriate.
4541 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
4542 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
4543 __builtin_classify_type.
4544 (fma): Fix spelling of first argument.
4546 2001-01-25 Ulrich Drepper <drepper@redhat.com>
4548 * conform/data/unistd.h-data: Mark functions removed in XPG6
4551 * posix/unistd.h: Don't make functions removed in XPG6 available if
4554 * conform/conformtest.pl: Implement optional-constant.
4555 * conform/data/unistd.h-data: Use optional-constant wherever
4558 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
4559 constants and add _SC_STREAMS.
4560 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4562 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
4563 make old name weak alias.
4564 * sysdeps/generic/statvfs64.c: Likewise.
4565 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
4566 make old name weak alias.
4567 * sysdeps/generic/fstatvfs64.c: Likewise.
4568 * include/sys/statvfs.h: New file.
4570 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
4571 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
4573 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
4574 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
4575 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
4576 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4578 * conform/conformtest.pl: Run Unix tests for XPG6.
4579 Implement handling of known namespace violations.
4580 Improve printing of results.
4582 * posix/unistd.h (usleep): Correct return type.
4583 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
4584 * sysdeps/unix/bsd/usleep.c: Correct return type.
4585 * sysdeps/mach/usleep.c: Correct return type.
4586 * sysdeps/generic/usleep.c: Correct return type.
4588 * posix/unistd.h (sync): Correct return type.
4589 * sysdeps/generic/sync.c: Likewise.
4590 * sysdeps/mach/hurd/sync.c: Likewise.
4592 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
4594 * posix/unistd.h: Make seteuid and setegid available for XPG6.
4596 * wcsmbs/wchar.h: Get FILE definition for XPG5.
4598 * conform/data/ctype.h-data: Use correct comment form.
4599 * conform/data/errno.h-data: Likewise.
4600 * conform/data/math.h-data: Likewise.
4601 * conform/data/mqueue.h-data: Likewise.
4602 * conform/data/netdb.h-data: Likewise.
4603 * conform/data/pthread.h-data: Likewise.
4605 2001-01-24 Ulrich Drepper <drepper@redhat.com>
4607 * conform/data/wordexp.h-data: Fix typo.
4609 * conform/conformtest.pl: Handle allow-header correctly.
4611 * conform/data/time.h-data: Use correct comment form.
4613 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
4615 * configure.in: Comment out binutils version test.
4617 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
4619 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
4621 * stdlib/tst-strtod.c (locale_test): New function.
4622 (main): Call locale_test.
4623 * stdlib/Makefile (tst-strtod-ENV): New variable.
4625 2001-01-24 Mark Kettenis <kettenis@gnu.org>
4627 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
4628 declaration of value such that we actually return the value of the
4629 environment variable.
4631 2001-01-24 Andreas Jaeger <aj@suse.de>
4633 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
4635 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4637 * include/sys/sysctl.h: New file.
4639 2001-01-23 Andreas Jaeger <aj@suse.de>
4641 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
4644 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
4645 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
4646 closes PR libc/2039.
4648 * manual/install.texi (Tools for Compilation): Change required
4651 2001-01-22 Andreas Jaeger <aj@suse.de>
4653 * configure.in: Add test for new enough binutils version, move
4654 compiler/binutils test up.
4656 * Versions.def: Add version GLIBC_2.2.2.
4658 2001-01-21 Ulrich Drepper <drepper@redhat.com>
4660 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
4662 * iconvdata/testdata/IBM932: New file.
4663 * iconvdata/testdata/IBM932..UTF8: New file.
4664 * iconvdata/testdata/IBM943: New file.
4665 * iconvdata/testdata/IBM943..UTF8: New file.
4666 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
4668 2001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4670 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
4672 2001-01-21 Ulrich Drepper <drepper@redhat.com>
4674 * malloc/malloc.c: Remove a few unnecessary initializers of global
4677 2000-12-09 H.J. Lu <hjl@gnu.org>
4679 * nss/Makefile (routines): Add digits_dots.
4680 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
4681 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
4683 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
4685 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
4686 (TYPE_VAR_P): Likewise.
4687 (FLAGS_VAR): Likewise.
4688 (AF_VAR_P): Likewise.
4689 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4690 instead of including digits_dots.c.
4691 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
4692 (TYPE_VAR_P): Likewise.
4693 (FLAGS_VAR): Likewise.
4694 (AF_VAR_P): Likewise.
4695 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
4696 instead of including digits_dots.c.
4698 2001-01-21 Ulrich Drepper <drepper@redhat.com>
4700 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
4702 2001-01-21 Andreas Jaeger <aj@suse.de>
4704 * elf/constload2.c: Add prototype for init.
4706 2001-01-21 Ulrich Drepper <drepper@redhat.com>
4708 * stdlib/stdlib.h (drand48_data): Make available only for
4709 __USE_MISC. Rename elements to protect namespace. Change type
4710 and position of a and init element.
4711 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
4712 differently. Adjust for drand48_data change. Don't compute a here,
4713 it comes from drand48_data.
4714 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
4715 differently. Adjust for drand48_data change. Compute a here.
4716 * stdlib/srand48_r.c: Likewise.
4717 * stdlib/drand48.c: Adjust for drand48_data change.
4718 * stdlib/lrand48.c: Likewise.
4719 * stdlib/mrand48.c: Likewise.
4720 * stdlib/seek48.c: Likewise.
4721 * stdlib/drand48_r.c: Likewise.
4722 * stdlib/lrand48_r.c: Likewise.
4723 * stdlib/mrand48_r.c: Likewise.
4724 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
4726 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
4727 * stdlib/jrand48_r.c: Likewise.
4729 * po/sv.po: Update from translation team.
4731 2001-01-21 Andreas Jaeger <aj@suse.de>
4733 * stdio-common/vfprintf.c (vfprintf): Add casts.
4735 2001-01-20 Ulrich Drepper <drepper@redhat.com>
4737 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
4739 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
4741 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
4742 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
4743 * iconvdata/ibm932.c: New file.
4744 * iconvdata/ibm932.h: New file.
4745 * iconvdata/ibm943.c: New file.
4746 * iconvdata/ibm943.h: New file.
4747 Patches by Masahide Washizawa <washi@jp.ibm.com>.
4749 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
4750 preventing optimization from being done. Set the correct type bit
4751 in seen. Don't define and use _dl_base_addr unless
4752 NEED_DL_BASE_ADDR is defined.
4754 * io/ftw.c (ftw_dir): Add slash after directory name if there
4755 wasn't any. Reported by loris <loris@iol.it>.
4756 * io/Makefile (tests): Add bug-ftw2.
4757 * io/bug-ftw2.c: New file.
4759 2001-01-19 Ulrich Drepper <drepper@redhat.com>
4761 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
4762 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
4763 * stdlib/tst-rand48.c: New file.
4764 * stdlib/Makefile (tests): Add tst-rand48.
4766 * locale/newlocale.c (__newlocale): Fix test for setting all
4769 2001-01-19 Mark Kettenis <kettenis@gnu.org>
4771 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
4772 but change looking up the initial directory port in a similar way
4773 as done by _hurd_change_directory_port_from_name.
4774 * hurd/fchroot.c (fchroot): Likewise.
4776 2001-01-18 Ulrich Drepper <drepper@redhat.com>
4778 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
4779 defined don't look whether the AT_*ID values were set.
4780 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
4781 (_dl_show_auxv): Rewrite to avoid switch statement.
4782 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4783 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
4784 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
4785 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
4787 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
4788 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4789 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4791 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
4793 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
4794 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
4796 * dlfcn/eval.c (__strtol_internal): Define here.
4797 (eval): Use __strtol_internal instead of strtol.
4799 * elf/elf.h: Add a few more EF_MIPS_* constants.
4801 2001-01-17 Ulrich Drepper <drepper@redhat.com>
4803 * manual/Makefile (chapters): Add debug.
4804 * manual/debug.texi: New file.
4805 * manual/examples/execinfo.c: New file.
4806 Patch by suckfish@ihug.co.nz.
4808 2001-01-17 Andreas Schwab <schwab@suse.de>
4810 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
4813 2001-01-17 Andreas Jaeger <aj@suse.de>
4815 * nscd/connections.c (nscd_run): Use proper format specifier.
4817 2001-01-16 Ulrich Drepper <drepper@redhat.com>
4819 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
4820 x86_platforms data into new file after prepending _dl_. Change
4822 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
4823 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
4824 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
4827 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
4829 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
4830 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
4831 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
4832 (_setjmp): Likewise.
4833 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
4834 * sysdeps/i386/bsd-setjmp.S: Real implementation.
4835 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
4836 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
4839 2001-01-16 Andreas Jaeger <aj@suse.de>
4841 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
4842 misapplied last patch.
4844 2001-01-15 Ulrich Drepper <drepper@redhat.com>
4846 * stdlib/random.c (__initstate): Clean up a cast.
4847 (__setstate): Likewise.
4849 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
4850 syscall handling. The generic Linux version should work.
4852 2001-01-15 Andreas Jaeger <aj@suse.de>
4854 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
4856 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
4858 2001-01-14 Jakub Jelinek <jakub@redhat.com>
4860 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
4861 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
4863 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
4864 If number is 0, list all.
4865 (services_keys): Likewise. Lookup aliases as well.
4866 (databases): New table.
4867 (build_doc): Prepare argp doc text with list of supported databases.
4868 (main): Change to table driven processing.
4870 2001-01-14 Thorsten Kukuk <kukuk@suse.de>
4872 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
4875 2001-01-03 Jakub Jelinek <jakub@redhat.com>
4877 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
4878 encode value which does not fit in the 32bit type.
4880 2001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
4882 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
4883 Change type of CTX to (struct sigcontext *).
4884 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
4885 (GET_FRAME): Likewise.
4886 (GET_STACK): Likewise.
4887 (SIGCONTEXT): Likewise. Add 2nd arg _code.
4888 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
4890 2001-01-13 Ulrich Drepper <drepper@redhat.com>
4892 * manual/texinfo.tex: Update from upstream version.
4894 2001-01-13 Jakub Jelinek <jakub@redhat.com>
4896 * inet/ether_ntoh.c (lookup_function): Change arguments to match
4897 _nss_*_getntohost_r prototype.
4898 (ether_ntohost): Pass errno pointer to NSS function.
4900 2001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4902 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
4903 (MAP_LOCKED): New definition.
4904 (MAP_NORESERVE): New definition.
4906 2001-01-12 Ulrich Drepper <drepper@redhat.com>
4908 * assert/assert.h: Use static_cast instead of C-style cast for C++.
4909 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
4911 2001-01-12 Ben Collins <bcollins@debian.org>
4913 * sysdeps/generic/segfault.c (install_handler): Use access, not
4916 2001-01-12 Andreas Jaeger <aj@suse.de>
4918 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
4919 * posix/wordexp.c (do_parse_glob): Likewise.
4920 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4921 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
4922 * elf/dl-open.c (_dl_open): Likewise.
4923 * elf/dl-close.c (_dl_close): Likewise.
4924 * elf/dl-load.c (_dl_map_object): Likewise.
4925 * iconv/iconv_prog.c (process_fd): Likewise.
4926 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
4928 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
4929 of a zero-length array.
4931 2001-01-11 Jakub Jelinek <jakub@redhat.com>
4933 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
4934 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
4935 * stdlib/cxa_on_exit.c: Remove.
4936 * stdlib/Makefile: Revert last patch.
4937 * stdlib/Versions: Likewise.
4938 * include/stdlib.h: Likewise.
4939 * stdlib/exit.h: Revert last patch.
4940 (struct exit_function): Add second argument to cxa fn.
4941 * stdlib/exit.c: Revert last patch.
4942 (exit): Add hidden second argument.
4944 2001-01-11 H.J. Lu <hjl@gnu.org>
4946 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
4947 * elf/dl-open.c (_dl_open): Here.
4948 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
4950 (_dl_static_init): Initialize the variables every time when possible.
4951 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
4954 2001-01-11 Ulrich Drepper <drepper@redhat.com>
4956 * stdlib/Makefile (routines): Add cxa_on_exit.
4957 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
4958 * stdlib/cxa_on_exit.c: New file.
4959 * include/stdlib.h: Add prototype for __cxa_on_exit.
4960 * stdlib/exit.c: Handle ef_cxa2.
4961 * stdlib/exit.h (enum): Add ef_cxa2.
4962 (struct exit_function): Add cxa2.
4964 * Versions.def [ld]: Add GLIBC_2.2.1.
4966 2001-01-10 H.J. Lu <hjl@gnu.org>
4968 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
4969 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
4971 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
4972 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
4973 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
4974 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
4975 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
4977 2001-01-11 Ulrich Drepper <drepper@redhat.com>
4979 * libio/stdio.h: Remove definition of off_t.
4981 2001-01-11 Andreas Jaeger <aj@suse.de>
4983 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
4986 2001-01-10 Ulrich Drepper <drepper@redhat.com>
4988 * sunrpc/Makefile (distribute): Add errqueue.h.
4990 2001-01-10 H.J. Lu <hjl@gnu.org>
4992 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
4993 r9, r10 and r11 for language specific registers.
4995 2001-01-10 Jakub Jelinek <jakub@redhat.com>
4997 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
4999 (clntudp_call): Handle MSG_ERRQUEUE.
5000 * sysdeps/generic/errqueue.h: New file.
5001 * sysdeps/unix/sysv/linux/errqueue.h: New file.
5003 2001-01-10 H.J. Lu <hjl@gnu.org>
5005 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
5007 2001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
5009 * CONFORMANCE: Update.
5011 2001-01-09 Ulrich Drepper <drepper@redhat.com>
5013 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
5014 Minimal cleanups. Add assert to ensure memory handling is correct.
5016 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
5017 Reported by Ben Collins <bcollins@debian.org>.
5019 * time/strftime.c (my_strftime): Mark previous GNU extensions
5020 which are now in C99 as such.
5022 2001-01-08 Ulrich Drepper <drepper@redhat.com>
5024 * elf/rtld.c (process_envvars): Place output files for profiling
5025 in SUID binaries in /var/profile.
5027 * elf/dl-load.c (_dl_map_object): Don't look in cache for
5028 preloading in SUID binaries.
5030 * elf/dl-profile.c (_dl_start_profile): Open the output file with
5031 O_NOFOLLOW if possible.
5033 * include/stdlib.h: Add __posix_openpt declaration.
5034 * stdlib/stdlib.h: Add posix_openpt declaration.
5035 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
5036 * sysdeps/generic/getpt.c: Define posix_openpt.
5037 * sysdeps/unix/bsd/getpt.c: Likewise.
5038 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
5040 * time/Makefile (tests): Add tst-mktime.
5041 * time/tst-mktime.c: New file.
5043 * posix/tst-dir.c (main): One more mkdir() test.
5045 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
5046 Remove getpagesize syscall. We assume that the pagesize is always
5047 determined from the auxiliary vector.
5049 * intl/dcigettext.c: Fix a few warnings.
5050 Patch by Bruno Haible <haible@ilog.fr>.
5052 2001-01-08 Andreas Jaeger <aj@suse.de>
5054 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
5055 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
5057 2001-01-08 Ulrich Drepper <drepper@redhat.com>
5059 * sysdeps/generic/segfault.c (install_handler): Check output file
5062 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
5063 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
5065 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
5067 * malloc/memusage.c (me): Use access() to determine whether we
5068 should write the output file or not.
5070 * libio/bits/stdio.h (printf): Define macro to map printf call to
5071 fprintf which gcc can optimize.
5072 * stdio-common/printf.c: Undefine printf.
5074 2001-01-07 Ulrich Drepper <drepper@redhat.com>
5076 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
5077 patch. We must use unsigned int for l member of union.
5079 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
5080 _dl_aux_init for shared libraries.
5082 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
5083 * sysdeps/gnu/glob64.c: ...here. New file.
5085 2001-01-07 Ben Collins <bcollins@debian.org>
5087 * manual/examples/longopt.c: Make the "struct option" a little
5088 more like it should be, adding usage of required_argument,
5089 noargument and such, and also setting the options string right.
5091 * manual/sysinfo.texi (Load Average): New section, documents
5094 2001-01-06 Ulrich Drepper <drepper@redhat.com>
5096 * version.h (VERSION): Bump to 2.2.1.
5098 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
5099 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
5100 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
5101 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
5102 * Makefile (distribute): Add include/libc-internal.h.
5103 * libio/Makefile (distribute): Avoid overwriting.
5105 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
5106 buffer and table handling.
5108 2001-01-05 H.J. Lu <hjl@gnu.org>
5110 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
5111 vector checking to ...
5112 (_dl_aux_init): Here. New function. Defined only if
5113 HAVE_AUX_VECTOR is defined.
5115 * sysdeps/generic/libc-start.c (__libc_start_main): Call
5116 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
5118 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
5121 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
5122 (HAVE_AUX_VECTOR): Defined.
5123 (_dl_aux_init): Declared.
5125 2001-01-05 Ben Collins <bcollins@debian.org>
5127 * manual/string.texi (Finding Tokens in a String): Document XPG
5128 basename() and dirname(), as well as GNU basename().
5130 2001-01-05 Jakub Jelinek <jakub@redhat.com>
5132 * Makeconfig (preprocess-version): Replace -traditional with
5133 -x assembler-with-cpp.
5135 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
5137 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
5138 for GCC 2.97 or later.
5140 2001-01-05 Ben Collins <bcollins@debian.org>
5142 * manual/stdio.texi (getline): Clarify the return value in the
5143 case of EOF being reached before a newline.
5145 2001-01-04 Jakub Jelinek <jakub@redhat.com>
5147 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
5149 (pmap_set, pmap_unset): Check __get_myaddress return value.
5151 2001-01-05 Mark Kettenis <kettenis@gnu.org>
5153 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
5154 (struct ether_addr): Declare ether_addr_octet member as
5155 `u_int8_t'. Add __attribute__ ((__packed__)).
5157 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5159 * sysdeps/mach/hurd/readdir64.c: New file.
5160 * sysdeps/mach/hurd/readdir64_r.c: New file.
5162 2001-01-07 Mark Kettenis <kettenis@gnu.org>
5164 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
5165 `struct statfs' and `struct statvfs' being identical.
5166 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
5168 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5170 * sysdeps/mach/hurd/fstatfs64.c: New file.
5171 * sysdeps/mach/hurd/fstatvfs64.c: New file.
5172 * sysdeps/mach/hurd/statfs64.c: New file.
5173 * sysdeps/mach/hurd/statvfs64.c: New file.
5174 * sysdeps/mach/hurd/statfsconv.c: New file.
5175 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
5177 2001-01-06 Ulrich Drepper <drepper@redhat.com>
5179 * iconv/skeleton.c: Reset outbuf for next round of the loop.
5180 Reported by Owen Taylor <otaylor@redhat.com>.
5181 * iconv/Makefile (tests): Add tst-iconv3.
5182 * iconv/tst-iconv3.c: New file.
5184 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
5185 * iconvdata/ibm933.c: Likewise.
5186 * iconvdata/ibm935.c: Likewise.
5187 * iconvdata/ibm937.c: Likewise.
5188 * iconvdata/ibm939.c: Likewise.
5189 * iconvdata/ibm930.h: Adjust single byte table for optimization.
5190 * iconvdata/ibm933.h: Likewise.
5191 * iconvdata/ibm935.h: Likewise.
5192 * iconvdata/ibm939.h: Likewise.
5194 * iconvdata/testdata/IBM930: Add misssing SI.
5195 * iconvdata/testdata/IBM933: Likewise.
5196 * iconvdata/testdata/IBM935: Likewise.
5197 * iconvdata/testdata/IBM937: Likewise.
5198 * iconvdata/testdata/IBM939: Likewise.
5200 2001-01-06 Andreas Jaeger <aj@suse.de>
5202 * configure.in: Check for old add-ons that shouldn't be used with
5203 current glibc anymore.
5205 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5207 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
5208 instead of -1 on failure. Don't forget to copy file name into
5209 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
5212 2001-01-06 Mark Kettenis <kettenis@gnu.org>
5214 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
5215 copy st_atime member.
5217 2001-01-05 Ulrich Drepper <drepper@redhat.com>
5219 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
5220 for searches from the root directory.
5221 Reported by loris <loris@iol.it> [PR libc/1991].
5222 * io/Makefile (tests): Add bug-ftw1.
5223 * io/bug-ftw1.c: New file.
5225 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
5226 if it is not available. Instead use it only if it is available.
5227 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
5229 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
5230 overflowing output buffer.
5231 (internal_ucs4_loop_unaligned): Likewise.
5232 (ucs4_internal_loop): Likewise.
5233 (ucs4_internal_loop_unaligned): Likewise.
5234 (internal_ucs4le_loop): Likewise.
5235 (internal_ucs4le_loop_unaligned): Likewise.
5236 (ucs4le_internal_loop): Likewise.
5237 (ucs4le_internal_loop_unaligned): Likewise.
5238 Reported by Owen Taylor <otaylor@redhat.com>.
5239 * iconv/Makefile (tests): Add tst-iconv2.
5240 * iconv/tst-iconv2.c: New file.
5242 2001-01-04 H.J. Lu <hjl@gnu.org>
5244 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
5245 (_dl_clktck): Declared.
5246 (non_dynamic_init): Take 3 arguments.
5247 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
5249 2001-01-01 Bruno Haible <haible@clisp.cons.org>
5251 Finish implementation of plural form handling.
5252 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
5253 'domainname'. Remove 'plindex' field. Add 'domain' and
5254 'translation_length' fields.
5255 (transcmp): Don't compare 'plindex' fields.
5256 (plural_lookup): New function.
5257 (DCIGETTEXT): Change cache handing in the plural case. Don't call
5258 plural_eval before the translation and its catalog file have been
5259 found. Remove plindex from cache key. Add 'translation_length' and
5260 'domain' to cache result.
5261 (_nl_find_msg): Remove index argument, return length of translation
5262 to the caller instead. Weaken comparison of string lengths, to account
5263 for plural entries. Call iconv() on the entire result string, not
5264 only on the portion needed so far.
5265 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
5267 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
5269 2001-01-04 Ulrich Drepper <drepper@redhat.com>
5271 * intl/plural.y (yylex): Minimal improvement in number scanner.
5273 2000-07-31 Bruno Haible <haible@clisp.cons.org>
5275 * intl/plural.y: Include config.h. Needed to define 'inline' away for
5276 C compilers that don't support it.
5277 (yylex): Don't use gcc specific case range syntax.
5278 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
5281 2000-10-12 Bruno Haible <haible@clisp.cons.org>
5283 * intl/finddomain.c: Remove unneeded includes.
5285 2000-10-12 Bruno Haible <haible@clisp.cons.org>
5287 * intl/localealias.c (memcpy): Return first argument, just like the
5288 real memcpy function does.
5289 * intl/bindtextdom.c (memcpy): Likewise.
5290 * intl/finddomain.c (memcpy): Likewise.
5291 * intl/l10nflist.c (memcpy): Likewise.
5292 * intl/textdomain.c (memcpy): Likewise.
5293 From Paul Eggert <eggert@twinsun.com>.
5295 2001-01-03 Jakub Jelinek <jakub@redhat.com>
5297 * resolv/resolv.h (struct __res_state): Add nsinit field.
5298 * resolv/res_send.c (res_nsend): Use it instead of nscount.
5299 * resolv/res_init.c (__res_vinit): Initialize it.
5300 (res_nclose): Clear it instead of nscount.
5302 2001-01-04 Ulrich Drepper <drepper@redhat.com>
5304 * malloc/mtrace.pl: Fix matching of addresses.
5305 Patch by Aharon Robbins <arnold@skeeve.com>.
5307 * Versions.def (ld): Add GLIBC_2.2.
5309 * catgets/gencat.c: Copyright 2001.
5310 * csu/version.c: Likewise.
5311 * debug/catchsegv.sh: Likewise.
5312 * debug/xtrace.sh: Likewise.
5313 * elf/ldconfig.c: Likewise.
5314 * elf/sprof.c: Likewise.
5315 * iconv/iconv_prog.c: Likewise.
5316 * locale/locale.c: Likewise.
5317 * locale/localedef.c: Likewise.
5318 * malloc/memusage.sh: Likewise.
5319 * malloc/mtrace.pl: Likewise.
5320 * nscd/nscd.c: Likewise.
5321 * posix/getconf.c: Likewise.
5323 2001-01-04 Mark Kettenis <kettenis@gnu.org>
5325 * include/stdio.h: Only provide __getwc_unlocked prototype if
5326 USE_IN_LIBIO is defined.
5328 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5330 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
5333 2001-01-03 Andreas Schwab <schwab@suse.de>
5335 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
5336 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
5338 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
5339 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
5341 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
5342 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
5345 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
5347 * sysdeps/generic/strtol_l.c: Likewise.
5348 * sysdeps/generic/strtoul_l.c: Likewise.
5349 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
5351 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
5352 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
5353 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
5354 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
5356 2001-01-04 Andreas Jaeger <aj@suse.de>
5358 * nss/nsswitch.c: Include files for missing prototypes, remove
5359 buggy declaration of prototypes.
5361 2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5363 * resolv/Versions: Fix bracing.
5364 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5365 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
5367 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5369 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
5371 2001-01-02 Ulrich Drepper <drepper@redhat.com>
5373 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
5374 Suggested by Minko Markov <mmarkov@home.com>.
5376 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5378 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
5379 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
5381 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
5383 2001-01-02 Ben Collins <bcollins@debian.org>
5385 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
5386 if TZ is not set and TZDEFAULT is not present.
5388 2001-01-01 Ben Collins <bcollins@debian.org>
5390 * string/strings.h: Make sure we declare our functions even if
5391 string.h is already included, based on whether or not __USE_BSD is
5394 2001-01-02 Ulrich Drepper <drepper@redhat.com>
5396 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
5397 other dlopen() and dlsym().
5398 Based on a patch by Ben Collins <bcollins@debian.org>.
5400 2001-01-02 Andreas Jaeger <aj@suse.de>
5402 * dlfcn/errmsg1.c (main): Call dlerror initially.
5403 Reported by Ben Collins <bcollins@debian.org>.
5405 2001-01-02 Ulrich Drepper <drepper@redhat.com>
5407 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
5408 value is ignored if the selected locale is the C locale.
5409 * intl/tst-gettext.c: Set locale for above change.
5410 * intl/tst-translit.c: Likewise.
5412 2001-01-02 Andreas Jaeger <aj@suse.de>
5414 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
5415 (_IO_switch_to_wget_mode): Likewise.
5416 (_IO_sputbackwc): Likewise.
5417 (_IO_sungetwc): Use wint_t for result.
5419 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
5421 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
5424 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
5425 to (int) to avoid warnings.
5426 * stdio-common/printf_fp.c (putc): Likewise.
5427 * stdio-common/printf_size.c (putc): Likewise.
5429 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
5432 2001-01-01 Andreas Jaeger <aj@suse.de>
5434 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
5436 2000-12-31 Andreas Jaeger <aj@suse.de>
5438 * include/libc-internal.h: Add prototype for __libc_freeres.
5440 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
5441 for prototypes, remove redundant prototypes.
5442 * gmon/gmon.c: Likewise.
5443 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
5444 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5445 * malloc/mtrace.c: Likewise.
5447 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
5449 * elf/soinit.c: Likewise.
5450 * sysdeps/generic/prof-freq.c: Likewise.
5451 * sysdeps/mach/hurd/profil.c: Likewise.
5452 * debug/noophooks.c: Likewise.
5453 * debug/pcprofile.c: Likewise.
5454 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5455 * sysdeps/generic/get_clockfreq.c: Likewise.
5456 * malloc/set-freeres.c: Likewise.
5458 * locale/localeinfo.h: Add internal prototypes.
5460 * elf/rtld.c (dl_main): Fix prototype.
5462 * iconvdata/tst-table-to.c (main): Use return instead of exit to
5465 * nis/rpcsvc/yp_prot.h: Remove __P.
5466 * nis/rpcsvc/ypupd.h: Likewise.
5467 * nis/rpcsvc/yp.h: Likewise.
5469 * sunrpc/rpc_main.c: Add noreturn attributes.
5470 * sunrpc/rpc_scan.h: Likewise.
5472 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
5474 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
5476 * sunrpc/proto.h: Add noreturn attributes to error and crash.
5478 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
5480 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
5482 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
5484 * include/rpc/rpc_msg.h: Add prototypes for some functions.
5485 * include/rpc/auth.h: Likewise.
5486 * include/rpc/auth_des.h: Likewise.
5487 * include/rpc/clnt.h: Likewise.
5488 * include/rpc/rpc.h: Likewise.
5489 * include/rpc/svc.h: Likewise.
5490 * include/rpc/svc_auth.h: Likewise.
5492 * include/rpc/des_crypt.h: New file.
5494 * malloc/memusagestat.c (main): Use return instead of exit to
5496 * io/pwd.c (main): Likewise.
5497 * iconvdata/tst-table-from.c (main): Likewise.
5498 * ctype/test_ctype.c (main): Likewise.
5499 * setjmp/tst-setjmp.c (main): Likewise.
5500 * signal/tst-signal.c (main): Likewise.
5501 * stdlib/tst-strtol.c (main): Likewise.
5502 * stdlib/tst-strtod.c (main): Likewise.
5503 * stdlib/tst-strtoll.c (main): Likewise.
5504 * stdlib/tst-xpg-basename.c (main): Likewise.
5505 * dirent/tst-seekdir.c (main): Likewise.
5506 * grp/testgrp.c (main): Likewise.
5507 * inet/test_ifindex.c (main): Likewise.
5508 * io/test-utime.c (main): Likewise.
5509 * posix/test-vfork.c (main): Likewise.
5510 * posix/testfnm.c (main): Likewise.
5511 * stdio-common/temptest.c (main): Likewise.
5512 * stdio-common/test_rdwr.c (main): Likewise.
5513 * stdio-common/tst-fileno.c (main): Likewise.
5514 * stdio-common/tst-sscanf.c (main): Likewise.
5515 * stdio-common/tstscanf.c (main): Likewise.
5516 * string/bug-strncat1.c (main): Likewise.
5517 * string/bug-strpbrk1.c (main): Likewise.
5518 * string/bug-strspn1.c (main): Likewise.
5519 * string/test-ffs.c (main): Likewise.
5520 * string/tst-inlcall.c (main): Likewise.
5521 * string/tst-svc.c (main): Likewise.
5522 * timezone/test-tz.c (main): Likewise.
5523 * wctype/test_wcfuncs.c (main): Likewise.
5524 * wctype/test_wctype.c (main): Likewise.
5526 * stdlib/tst-random.c: Add attribute noreturn to fail.
5528 2000-12-28 Wolfram Gloger <wg@malloc.de>
5530 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
5531 destination overlap. Assume dest is always below source if
5534 2000-12-30 Ulrich Drepper <drepper@redhat.com>
5536 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
5537 object was not yet initialized.
5539 2000-12-28 H.J. Lu <hjl@gnu.org>
5541 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
5542 is always consistent even if its dependency is failed.
5544 * elf/dl-open.c (_dl_open): Increment the open count before
5545 calling _dl_close () in case of failure.
5547 * elf/neededtest4.c: New file.
5548 * elf/neededobj5.c: New file.
5549 * elf/neededobj6.c: New file.
5551 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
5552 (tests): Add neededtest4.
5553 (modules-names): Add neededobj5 and neededobj6.
5554 ($(objpfx)neededobj6.so): New target.
5555 ($(objpfx)neededtest4): New target.
5556 ($(objpfx)neededtest4.out): New target.
5558 2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
5560 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
5561 * stdlib/monetary.h: Add strfmon format attributes.
5563 2000-12-28 Roland McGrath <roland@frob.com>
5565 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
5566 __mempcpy does it for us.
5568 2000-12-28 Andreas Jaeger <aj@suse.de>
5570 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
5572 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
5575 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
5578 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
5581 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
5582 __chown_is_lchown and __real_chown.
5584 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
5587 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
5588 up GCC's warning about "deprecated use of label at end of compound
5590 * sunrpc/rpc_cout.c (emit_inline): Likewise.
5592 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
5594 Remove struct bb and __bb_head since those are declared by
5597 2000-12-22 Ben Collins <bcollins@debian.org>
5599 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
5601 * manual/argp.texi: Document argp_domain as part of struct argp.
5603 2000-12-28 Andreas Jaeger <aj@suse.de>
5605 * catgets/Makefile (generated): Add sample.SJIS.cat.
5607 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
5609 * elf/dl-minimal.c: Add prototypes.
5611 * include/locale.h: Add internal prototypes.
5612 * include/sys/gmon.h: Likewise.
5614 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
5616 2000-12-27 Ben Collins <bcollins@debian.org>
5618 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
5619 when reallocating the error strings.
5620 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
5622 2000-12-27 Ulrich Drepper <drepper@redhat.com>
5624 * dlfcn/Makefile (tests): Add errmsg1.
5625 (modules-names): Add errmsg1mod.
5626 Add rules to run errmsg1.
5627 * dlfcn/errmsg1.c: New file.
5628 * dlfcn/errmsg1mod.c: New file.
5630 * dlfcn/dlerror.c (dlerror): Always create output string which
5631 includes object file name.
5633 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
5634 if we would go through it only once.
5635 Patch by Rick Gorton <rick.gorton@api-networks.com>.
5637 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
5638 Patch by Richard Henderson <rth@redhat.com>.
5640 2000-12-27 Jakub Jelinek <jakub@redhat.com>
5642 * malloc/malloc.c (memmove): Add prototypes.
5643 (MALLOC_MEMMOVE): Define.
5644 (chunk_realloc): Use it instead of MALLOC_COPY if source and
5645 destination might overlap.
5647 2000-12-27 Andreas Jaeger <aj@suse.de>
5649 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
5651 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5652 * locale/programs/locale.c (show_locale_vars): Likewise.
5653 (show_info): Likewise.
5654 * locale/programs/ld-collate.c (collate_output): Likewise.
5655 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5656 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5657 * stdlib/rpmatch.c (rpmatch): Likewise.
5659 * setjmp/tst-setjmp.c: Make local functions static.
5660 * setjmp/jmpbug.c: Likewise.
5661 * signal/tst-signal.c: Likewise.
5662 * stdio-common/tfformat.c: Likewise.
5663 * string/tst-svc.c: Likewise.
5664 * time/clocktest.c: Likewise.
5665 * time/tst-getdate.c: Likewise.
5666 * dirent/list.c: Likewise.
5667 * dirent/opendir-tst1.c: Likewise.
5668 * posix/runtests.c: Likewise.
5669 * posix/tst-getaddrinfo.c: Likewise.
5670 * posix/tst-chmod.c: Likewise.
5671 * posix/wordexp-test.c: Likewise.
5672 * misc/tst-efgcvt.c: Likewise.
5673 * timezone/tst-timezone.c: Likewise.
5674 * rt/tst-clock.c: Likewise.
5675 * rt/tst-shm.c: Likewise.
5676 * rt/tst-aio2.c: Likewise.
5677 * rt/tst-aio3.c: Likewise.
5678 * rt/tst-aio4.c: Likewise.
5679 * rt/tst-aio5.c: Likewise.
5681 * dlfcn/failtest.c: Add prototype for foo.
5683 * dlfcn/glrefmain.c: Add prototype for do_test.
5685 * dlfcn/tst-dladdr.c: Add prototype for do_test.
5687 * string/test-ffs.c (main): Add prototype for nested function.
5689 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
5691 * nss/XXX-lookup.c: Add prototype to shut up GCC.
5693 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
5694 setetherent prototype.
5695 Add internal interfaces.
5697 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
5698 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
5700 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
5702 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
5704 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
5705 prototypes, remove struct etherent since it's declared in ether.h.
5706 Fix ntohost declaration.
5708 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
5710 * include/getopt.h: Add internal interfaces.
5711 * include/termios.h: Likewise.
5712 * include/resolv.h: Likewise.
5713 * include/netdb.h: Likewise.
5714 * include/grp.h: Likewise.
5715 * include/pwd.h: Likewise.
5716 * include/shadow.h: Likewise.
5717 * include/rpc/netdb.h: Likewise.
5718 * include/setjmp.h: Likewise.
5720 * include/stdio.h: Add prototypes for compatibility functions.
5721 * include/grp.h: Likewise.
5722 * include/pwd.h: Likewise.
5723 * include/shadow.h: Likewise.
5725 * include/fenv.h: Define internal interfaces.
5727 2000-12-27 Ulrich Drepper <drepper@redhat.com>
5729 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
5730 argument case separately.
5731 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
5733 2000-12-27 Andreas Jaeger <aj@suse.de>
5735 * include/sys/wait.h: Add some prototypes.
5736 * Rules (dummy.c): Create also prototype to shut up GCC.
5738 2000-12-27 Andreas Jaeger <aj@suse.de>
5740 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
5741 it's not needed at the moment.
5742 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
5743 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
5745 2000-12-26 Andreas Jaeger <aj@suse.de>
5747 * libio/getc_u.c: Include stdio.h via system path to get internal
5749 * libio/getwc_u.c: Likewise.
5751 * stdlib/strfmon.c: Fix prototype of __printf_fp.
5753 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
5754 __printf_fp prototypes to ...
5755 * include/printf.h: ...here.
5757 * include/stdio.h: Add some internal prototypes to shut up GCC.
5758 * include/stdlib.h: Likewise.
5760 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
5763 * include/signal.h: Add prototypes for internal sigpause
5766 2000-12-26 Ulrich Drepper <drepper@redhat.com>
5768 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
5769 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
5771 * string/Makefile (tests): Add tst-bswap.
5772 * string/tst-bswap.c: New file.
5774 2000-12-11 Bruno Haible <haible@clisp.cons.org>
5776 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
5778 2000-12-26 Ulrich Drepper <drepper@redhat.com>
5780 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
5781 Patch by Ed Connell <Ed.Connell@sas.com>.
5783 2000-12-24 Ulrich Drepper <drepper@redhat.com>
5785 * locale/iso-639.def: Correct one entry. Add two missing entries.
5787 * locale/iso-4217.def: Change entry for Eritrea.
5788 Reported by Daniel Yacob <yacob@geez.org>.
5790 2000-12-23 Ben Collins <bcollins@debian.org>
5792 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
5795 * manual/stdio.texi (Dynamic Output): Document the return value of
5796 asprintf. Also make the asprintf/snprintf examples a little
5797 better (check for some error returns).
5799 2000-12-22 Andreas Jaeger <aj@suse.de>
5801 * include/stdio.h: Add __ftrylockfile prototype.
5803 2000-12-21 H.J. Lu <hjl@gnu.org>
5805 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
5806 Make sign_exponent element signed.
5808 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
5811 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
5813 2000-12-21 Andreas Jaeger <aj@suse.de>
5815 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
5816 * inet/ether_hton.c: Likewise
5817 * inet/ether_ntoh.c: Likewise.
5819 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
5820 declaration to match prototype.
5822 * include/netinet/ether.h (struct etherent): Declare here so that
5823 all implementations use the same struct.
5825 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
5827 (struct ether): Removed.
5828 Use struct etherent instead of ether everywhere.
5830 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
5832 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
5834 * sunrpc/publickey.c: Include auth_des.h for prototypes.
5836 2000-12-20 Ulrich Drepper <drepper@redhat.com>
5838 * math/test-misc.c: Add more tests for nextafter functions.
5840 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
5841 normal correctly. Correct test for sign.
5842 Based on a patch by HJ Lu.
5844 2000-12-19 Ulrich Drepper <drepper@redhat.com>
5846 * Makeconfig (preprocess-version): Add -traditional to gcc call.
5849 2000-12-19 Andreas Jaeger <aj@suse.de>
5851 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
5853 * nis/nis_intern.h: Add prototype for __do_niscall3.
5855 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
5858 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
5860 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5862 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
5864 2000-12-18 Ulrich Drepper <drepper@redhat.com>
5866 * math/test-misc.c: Add more tests for nextafter.
5867 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
5868 * sysdeps/ieee754/ldbl-96/math_ldbl.h
5869 (ieee_long_double_shape_type): Make sign_exponent element signed.
5871 * manual/message.texi: Add Estonian to plural overview list.
5872 Correct rule for Slavic languages.
5873 Patch by Stanislav Brabec <utx@penguin.cz>.
5875 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
5877 2000-12-18 Andreas Jaeger <aj@suse.de>
5879 * test-skeleton.c: Use temp_name_list instead of name_list to
5880 avoid collision with name_list from inet/netgroup.h.
5882 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
5884 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
5885 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
5886 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
5887 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
5889 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
5890 declaration to match prototype.
5891 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
5892 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
5893 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
5895 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
5896 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
5897 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
5898 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
5899 (_nss_nis_getservbyport_r): Likewise.
5900 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
5901 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
5902 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
5903 (_nss_nis_setnetent): Likewise
5904 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5905 (_nss_nis_endnetgrent): Likewise.
5906 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
5908 (_nss_nisplus_setnetgrent): Likewise.
5909 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
5910 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
5911 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
5912 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
5914 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
5916 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
5918 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
5920 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
5921 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
5922 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
5923 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5924 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
5925 (_nss_dns_getnetbyaddr_r): Likewise.
5927 2000-12-17 Andreas Jaeger <aj@suse.de>
5929 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
5932 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
5933 unused attribute to shut up gcc warnings.
5935 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
5936 * sysdeps/generic/k_tanl.c: Likewise.
5937 * sysdeps/generic/k_cosl.c: Likewise.
5938 * sysdeps/generic/e_j0l.c: Likewise.
5939 * sysdeps/generic/e_j1l.c: Likewise.
5940 * sysdeps/generic/e_jnl.c: Likewise.
5941 * sysdeps/generic/e_lgammal_r.c: Likewise.
5943 * elf/vismain.c: Move prototypes for functions in vismod*.c to
5945 * elf/vismod.h: New file.
5946 * elf/Makefile (distribute): Add vismod.h.
5947 * elf/vismod1.c: Include vismod.h.
5948 * elf/vismod2.c: Likewise.
5949 * elf/vismod3.c: Likewise.
5951 * elf/constload3.c: Add prototype declarations to shut up gcc.
5952 * elf/failobj.c: Likewise.
5953 * elf/nodelmod3.c: Likewise.
5954 * elf/filtmod1.c: Likewise.
5955 * elf/filtmod2.c: Likewise.
5956 * elf/reldepmod1.c: Likewise.
5957 * elf/reldepmod2.c: Likewise.
5958 * elf/reldepmod3.c: Likewise.
5959 * elf/reldepmod4.c: Likewise.
5960 * elf/unload2dep.c: Likewise.
5961 * elf/unload2mod.c: Likewise.
5962 * elf/ltglobmod1.c: Likewise.
5963 * elf/pathoptobj.c: Likewise.
5964 * elf/neededobj1.c: Likewise.
5965 * elf/neededobj2.c: Likewise.
5966 * elf/neededobj3.c: Likewise.
5967 * elf/neededobj4.c: Likewise.
5968 * elf/nextmod1.c: Likewise.
5969 * elf/nextmod2.c: Likewise.
5971 * locale/programs/ld-collate.c (collate_finish): Don't use labels
5972 at end of compound statement.
5973 * locale/programs/locale.c (show_info): Likewise.
5974 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
5976 2000-12-16 Jakub Jelinek <jakub@redhat.com>
5978 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
5979 with a pointer not returned by obstack_ functions.
5981 2000-12-16 Ulrich Drepper <drepper@redhat.com>
5983 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
5985 (struct stat64): Likewise.
5986 Reported by Michael Keezer <mkeezer@redhat.com>.
5988 * timezone/asia: Update from tzdata2000h.
5989 * timezone/australasia: Likewise.
5990 * timezone/backward: Likewise.
5991 * timezone/europe: Likewise.
5992 * timezone/northamerica: Likewise.
5993 * timezone/southamerica: Likewise.
5994 * timezone/zone.tab: Likewise.
5996 2000-12-14 Jakub Jelinek <jakub@redhat.com>
5998 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
5999 and dir.stream is NULL, only free dir.content.
6000 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
6001 * io/ftwtest-sh: Test with --early-exit.
6003 2000-12-13 Jakub Jelinek <jakub@redhat.com>
6005 * misc/efgcvt.c (FCVT_MAXDIG): Define.
6006 (FCVT_BUFPTR): New variable.
6007 (fcvt): If fcvt_r returns -1 on the static short buffer,
6008 try to malloc a sufficiently large one and retry.
6009 (free_mem): New function.
6010 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
6011 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
6013 2000-12-15 Ulrich Drepper <drepper@redhat.com>
6015 * misc/dirname.c (dirname): Fix search for second to last slash.
6017 2000-12-13 Andreas Jaeger <aj@suse.de>
6019 * misc/tst-dirname.c (main): Fix typo in test to really use
6020 the examples from Unix98.
6021 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6023 2000-12-09 H.J. Lu <hjl@gnu.org>
6025 * sysdeps/ia64/fpu/s_fabs.S: New file.
6026 * sysdeps/ia64/fpu/s_fabsf.S: New file.
6027 * sysdeps/ia64/fpu/s_fabsl.S: New file.
6029 2000-12-15 Andreas Jaeger <aj@suse.de>
6031 * stdio-common/scanf9.c (main): Reformat and change to avoid
6034 * stdio-common/tstdiomisc.c: Make local functions static.
6035 * stdio-common/tst-printf.c: Likewise.
6037 * elf/constload2.c: Add prototype declarations to shut up gcc.
6038 * elf/dep1.c: Likewise.
6039 * elf/dep2.c: Likewise.
6040 * elf/dep3.c: Likewise.
6041 * elf/dep4.c: Likewise.
6042 * elf/ltglobmod2.c: Likewise.
6044 * libio/fmemopen.c: Make local functions static.
6046 * elf/Makefile (distribute): Added testobj.h.
6048 * elf/testobj.h: New file.
6050 * elf/testobj1.c: Include testobj.h and move prototype
6051 declarations to testobj.h.
6052 * elf/testobj2.c: Likewise.
6053 * elf/testobj3.c: Likewise.
6054 * elf/testobj4.c: Likewise.
6055 * elf/testobj5.c: Likewise.
6056 * elf/testobj6.c: Likewise.
6057 * elf/testobj1_1.c: Likewise.
6058 * elf/preloadtest.c: Likewise.
6060 2000-12-15 Ben Collins <bcollins@debian.org>
6062 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
6063 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
6065 2000-12-14 H.J. Lu <hjl@gnu.org>
6067 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
6068 field in a float is 8 bits, not 11 bits.
6070 2000-12-13 Jakub Jelinek <jakub@redhat.com>
6072 * math/test-misc.c (main): Adjust m for IEEE quad long double.
6074 2000-12-13 Andreas Jaeger <aj@suse.de>
6076 * manual/message.texi (Using gettextized software): Fix typo.
6078 * manual/charset.texi (Converting a Character): Fix mbstouwcs
6080 Patch by Martin Buchholz <martin@xemacs.org>.
6082 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
6083 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
6085 2000-12-11 Andreas Jaeger <aj@suse.de>
6087 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
6088 kernel_sigset_t and use it.
6089 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
6091 2000-12-10 Richard Henderson <rth@redhat.com>
6093 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
6094 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
6095 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
6097 2000-12-10 Jakub Jelinek <jakub@redhat.com>
6099 * sysdeps/alpha/htonl.S: Fix a typo.
6101 2000-12-10 Jakub Jelinek <jakub@redhat.com>
6103 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
6105 2000-12-10 Andreas Jaeger <aj@suse.de>
6107 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
6108 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
6109 Drepper <drepper@redhat.com>.
6111 2000-12-09 Andreas Jaeger <aj@suse.de>
6113 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
6115 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
6117 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
6119 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
6122 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
6125 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
6126 * nscd/connections.c (handle_request): Likewise.
6127 * nscd/pwdcache.c (addpwbyname): Likewise.
6128 * nscd/grpcache.c (addgrbyname): Likewise.
6130 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
6132 2000-12-09 Ulrich Drepper <drepper@redhat.com>
6134 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
6136 * Makeconfig (default_cflags): Make -O2 the default for stable
6139 2000-12-08 H.J. Lu <hjl@gnu.org>
6141 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
6142 * sysdeps/ia64/fpu/s_isinf.S: This.
6143 Add a .pred.rel.mutex note to avoid false report.
6145 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
6146 * sysdeps/ia64/fpu/s_isnan.S: This.
6148 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
6149 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
6150 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
6151 * sysdeps/ia64/fpu/s_isinff.S: New file.
6152 * sysdeps/ia64/fpu/s_isinfl.S: New file.
6153 * sysdeps/ia64/fpu/s_isnanf.S: New file.
6154 * sysdeps/ia64/fpu/s_isnanl.S: New file.
6155 * sysdeps/ia64/fpu/s_finite.S: New file.
6156 * sysdeps/ia64/fpu/s_finitef.S: New file.
6157 * sysdeps/ia64/fpu/s_finitel.S: New file.
6158 * sysdeps/ia64/fpu/s_signbit.S: New file.
6159 * sysdeps/ia64/fpu/s_signbitf.S: New file.
6160 * sysdeps/ia64/fpu/s_signbitl.S: New file.
6161 * sysdeps/ia64/fpu/s_copysign.S: New file.
6162 * sysdeps/ia64/fpu/s_copysignf.S: New file.
6163 * sysdeps/ia64/fpu/s_copysignl.S: New file.
6165 2000-12-08 Ulrich Drepper <drepper@redhat.com>
6167 * math/libm-test.inc (main): Fix typos in messages.
6169 * string/stratcliff.c: Add test for rawmemchr.
6171 2000-12-08 Jakub Jelinek <jakub@redhat.com>
6173 * elf/dl-open.c (_dl_open): If objname points right after errstring,
6174 allocate it together with errstring using alloca.
6175 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
6176 to "", because it might point to local stack.
6178 2000-12-05 H.J. Lu <hjl@gnu.org>
6180 * nss/Makefile (routines): Add getnssent and getnssent_r.
6181 * nss/nsswitch.h (__nss_setent): New internal NSS function.
6182 (__nss_endent): Likewise.
6183 (__nss_getent_r): Likewise.
6184 (__nss_getent): Likewise.
6185 * nss/getnssent_r.c: New file.
6186 * nss/getnssent.c: New file.
6187 * nss/getXXent.c (H_ERRNO_VAR): Updated.
6188 (GETFUNC_NAME): Updated to call __nss_getent ().
6189 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
6190 (STAYOPEN_TMPVAR): Updated.
6191 (STAYOPEN_VAR): Updated.
6192 (SETFUNC_NAME): Updated to call __nss_setent ().
6193 (ENDFUNC_NAME): Updated to call __nss_endent ().
6194 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
6196 2000-12-08 Andreas Jaeger <aj@suse.de>
6198 * nscd/dbg_log.h (dbg_log): Correct attribute.
6200 2000-12-08 Jakub Jelinek <jakub@redhat.com>
6202 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
6203 cp + len. Compute where from dirname.
6204 Reported by <jreiser@BitWagon.com>.
6206 2000-12-08 Richard Henderson <rth@twiddle.net>
6208 * sysdeps/alpha/_mcount.S: Fix typo.
6209 * sysdeps/alpha/strncpy.S: Likewise.
6211 * sysdeps/alpha/alphaev6/Implies: New file.
6212 * sysdeps/alpha/alphaev67/Implies: New file.
6213 * sysdeps/alpha/alphaev67/ffs.S: New file.
6214 * sysdeps/alpha/alphaev67/ffsll.S: New file.
6215 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
6216 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
6217 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
6218 * sysdeps/alpha/rawmemchr.S: New file.
6219 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
6220 * sysdeps/alpha/strcpy.S: Likewise.
6223 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
6225 From rick.gorton@alpha-processor.com:
6226 * sysdeps/alpha/alphaev6/memchr.S: New file.
6227 * sysdeps/alpha/alphaev6/memcpy.S: New file.
6228 * sysdeps/alpha/alphaev6/memset.S: New file.
6229 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
6230 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
6231 * sysdeps/alpha/alphaev67/strcat.S: New file.
6232 * sysdeps/alpha/alphaev67/strchr.S: New file.
6233 * sysdeps/alpha/alphaev67/strlen.S: New file.
6234 * sysdeps/alpha/alphaev67/strncat.S: New file.
6235 * sysdeps/alpha/htonl.S: Use a shorter sequence.
6237 2000-12-08 Jakub Jelinek <jakub@redhat.com>
6239 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
6240 Reported by <pspencer@fields.utoronto.ca>.
6242 2000-12-07 Jes Sorensen <jes@linuxcare.com>
6244 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
6245 Pointed out by Hans Boehm.
6247 2000-12-07 H.J. Lu <hjl@gnu.org>
6249 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
6251 2000-12-07 Andreas Jaeger <aj@suse.de>
6253 * misc/error.c: Add format attributes for __error and __error_at_line.
6255 * nscd/dbg_log.h: Add format attribute.
6257 2000-12-08 Ulrich Drepper <drepper@redhat.com>
6259 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
6260 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6262 2000-12-07 Dan Pop <Dan.Pop@cern.ch>
6264 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
6266 2000-12-06 Ulrich Drepper <drepper@redhat.com>
6268 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6269 (sysdep_routines): Add uitrunc.
6270 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
6271 Patches by Michael Keezer <mkeezer@redhat.com>.
6273 2000-12-06 Roland McGrath <roland@frob.com>
6275 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
6276 argument data, since it will be used to copy out too (for INOUT).
6277 Reported by Marcus Brinkmann <marcus@gnu.org>.
6279 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
6280 (__ioctl): Use uintptr_t instead of unsigned long int.
6282 2000-12-06 Jim Wilson <wilson@redhat.com>
6284 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
6286 2000-12-06 Ulrich Drepper <drepper@redhat.com>
6288 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
6289 x.5 rounding correctly.
6291 2000-12-06 Mark Kettenis <kettenis@gnu.org>
6293 * stdio-common/perror.c (perror): Conditionalize code dealing with
6294 wide-oriented streams on USE_IN_LIBIO.
6296 2000-12-06 Mark Kettenis <kettenis@gnu.org>
6298 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
6299 as internal_function.
6301 2000-12-05 Ulrich Drepper <drepper@redhat.com>
6303 * sysdeps/alpha/elf/start.S (__data_start): Define.
6305 2000-12-05 H.J. Lu <hjl@gnu.org>
6307 * nss/getXXent_r.c (setup): Change the return type to int.
6309 2000-12-05 Ulrich Drepper <drepper@redhat.com>
6311 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
6312 (sysdep_routines): Add restf and savef.
6313 * sysdeps/unix/sysv/aix/restf.c: New file.
6314 * sysdeps/unix/sysv/aix/savef.c: New file.
6315 Patches by Michael Keezer <mkeezer@redhat.com>.
6317 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
6318 if O_DIRECTORY is not defined.
6319 Patch by Michael Keezer <mkeezer@redhat.com>.
6321 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
6322 Patch by Michael Keezer <mkeezer@redhat.com>.
6324 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
6325 than 4 bytes in escape sequence.
6326 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6328 2000-12-05 Andreas Jaeger <aj@suse.de>
6330 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
6333 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
6335 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
6337 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
6338 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6340 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
6342 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
6343 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
6345 * sysdeps/generic/dl-cache.c: Remove declaration of
6346 _dl_sysdep_read_whole_file.
6348 * elf/dl-load.c (_dl_map_object): Remove declaration of
6349 _dl_load_cache_lookup.
6351 * sysdeps/generic/ldsodefs.h: Add declarations of
6352 _dl_load_cache_lookup, _dl_unload_cache,
6353 _dl_sysdep_read_whole_file, _dl_sysdep_start and
6354 _dl_sysdep_start_cleanup.
6356 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
6359 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
6360 * sysdeps/generic/dl-environ.c: Likewise.
6362 * stdio-common/printf_fp.c: Include <gmp.h> instead of
6364 * math/atest-exp.c: Likewise.
6365 * math/atest-exp2.c: Likewise.
6366 * math/atest-sincos.c: Likewise.
6367 * stdio-common/_itoa.c: Likewise.
6368 * stdio-common/_itowa.c: Likewise.
6370 * include/gmp.h: New file with internal prototypes.
6372 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
6374 * include/setjmp.h: ...here.
6376 * locale/Makefile (routines): Remove codeset_name since it's not
6379 * locale/codeset_name.c: Removed.
6381 2000-12-05 Ulrich Drepper <drepper@redhat.com>
6383 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
6385 2000-12-05 Andreas Jaeger <aj@suse.de>
6387 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
6389 2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
6391 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
6394 2000-12-05 Andreas Jaeger <aj@suse.de>
6396 * nss/test-netdb.c: Mark local functions as static to avoid
6398 (main): Use return to silence warning.
6400 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
6402 * stdio-common/test-popen.c: Mark local functions as static to
6404 (main): Use return to silence warning.
6406 * stdlib/testsort.c (compare): Mark as static to avoid warning.
6408 * assert/test-assert.c: Mark local functions as static to avoid
6410 * assert/test-assert-perr.c: Likewise.
6412 * math/libm-test.inc (main): Use return to silence warnings.
6414 2000-12-04 Ulrich Drepper <drepper@redhat.com>
6416 * math/fenv.h: Fix typo in comment.
6418 * math/test-misc.c (main): Add a few more over and underflow tests
6421 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
6422 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6423 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6424 * math/w_scalb.c: Don't use matherr except in SVID mode.
6425 * math/w_scalbf.c: Likewise.
6426 * math/w_scalbl.c: Likewise.
6427 * math/test-misc.c: Add test for NaN and scalbl.
6428 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6430 2000-12-04 Ulrich Drepper <drepper@redhat.com>
6432 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
6433 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
6434 * include/libc-symbols.h (strong_alias): Define special version
6435 for HAVE_ASM_GLOBAL_DOT_NAME.
6436 (weak_alias): Likewise.
6437 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
6438 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
6439 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
6440 getutxline, pututxline, and utmpxname.
6441 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
6442 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
6443 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
6444 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
6445 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
6446 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
6447 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
6448 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
6449 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
6450 Patches by Michael Keezer <mkeezer@redhat.com>.
6452 2000-12-04 H.J. Lu <hjl@gnu.org>
6454 * configure.in: Change --with-oldest-abi=ABI to
6455 --enable-oldest-abi=ABI.
6457 2000-12-02 Bruno Haible <haible@clisp.cons.org>
6459 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
6460 fwprintf instead of fprintf.
6462 2000-12-04 Ulrich Drepper <drepper@redhat.com>
6464 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
6465 DECIMAL_DIG definitions.
6466 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
6467 * sysdeps/generic/bits/mathdef.h: Likewise
6468 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
6469 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
6470 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
6471 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
6472 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
6473 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
6475 2000-12-03 Ulrich Drepper <drepper@redhat.com>
6477 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
6479 * math/atest-exp.c: Mark local functions as static to avoid warnings.
6480 * math/atest-exp2.c: Likewise.
6481 * math/atest-sincos.c: Likewise.
6483 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
6484 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6486 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
6487 the handling of denormalized numbers.
6489 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
6491 * sysdeps/i386/fpu/fpclassifyl.c: New file.
6493 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
6494 pseudo denormal representation of LDBL_MIN.
6496 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
6497 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
6499 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
6500 * iconvdata/jis0208.c: Likewise.
6501 * iconvdata/jis0212.c: Likewise.
6502 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6504 * math/test-misc.c (main): More tests for frexp and some for
6505 fpclassify and isnormal.
6507 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
6509 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6511 * math/test-misc.c (main): Add tests for frexp.
6512 Reported by Fred J. Tydeman <tydeman@tybor.com>.
6513 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
6515 2000-12-02 H.J. Lu <hjl@gnu.org>
6517 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
6520 2000-12-02 Ulrich Drepper <drepper@redhat.com>
6522 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
6523 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6524 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6526 * sysdeps/generic/glob.c: Adjust types of several variables to
6529 2000-12-01 Ulrich Drepper <drepper@redhat.com>
6531 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
6533 2000-11-30 Roland McGrath <roland@frob.com>
6535 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
6536 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
6537 allow multiple instances using the same function name in one file.
6539 2000-12-01 Ulrich Drepper <drepper@redhat.com>
6541 * configure.in: Correct test for pserver CVS access.
6543 2000-11-28 H.J. Lu <hjl@gnu.org>
6545 * libio/libio.h: Remove extra "#if ... #endif".
6547 2000-11-29 H.J. Lu <hjl@gnu.org>
6549 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
6551 2000-12-01 H.J. Lu <hjl@gnu.org>
6553 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
6554 * nss/getXXent_r.c: Likewise.
6555 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6557 2000-11-30 H.J. Lu <hjl@gnu.org>
6559 * scripts/abi-versions.awk (oldest_abi): New variable.
6560 Handle the oldest ABI supported.
6562 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
6563 for scripts/abi-versions.awk.
6565 * configure.in: Add --with-oldest-abi=ABI.
6566 * configure: Rebuild.
6568 * config.make.in (oldest-abi): New.
6570 * config.h.in (GLIBC_OLDEST_ABI): New.
6572 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
6574 2000-11-30 Jakub Jelinek <jakub@redhat.com>
6576 * locale/setlocale.c (setname): Free for all categories, not just
6578 (setlocale): Store a copy of string passed by user, not the string
6581 2000-11-30 Roland McGrath <roland@frob.com>
6583 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
6584 rather than _hurd_fd_subinit, so it happens after it's safe to use
6585 libc facilities like malloc.
6587 2000-11-28 Andreas Jaeger <aj@suse.de>
6589 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
6590 declaration, adjust declaration of __syscall_getdents to match
6593 2000-11-29 H.J. Lu <hjl@gnu.org>
6595 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
6597 2000-11-29 Andreas Jaeger <aj@suse.de>
6599 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
6601 2000-11-28 Ulrich Drepper <drepper@redhat.com>
6603 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
6604 * dlfcn/defaultmod2.c: Likewise.
6605 * dlfcn/dlopen.c: Likewise.
6606 * dlfcn/dlopenold.c: Likewise.
6607 * dlfcn/failtestmod.c: Likewise.
6608 * dlfcn/glreflib1.c: Likewise.
6609 * dlfcn/glreflib2.c: Likewise.
6610 * dlfcn/eval.c: Likewise. Add attributes.
6612 * ctype/ctype-extn.c: Define isblank and not __isblank.
6614 * time/strftime.c: Add const where necessary to avoid warnings.
6615 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
6617 2000-11-22 Paul Eggert <eggert@twinsun.com>
6619 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
6620 size of (size_t) -1; it's not portable.
6622 2000-11-28 Ulrich Drepper <drepper@redhat.com>
6624 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
6626 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
6628 2000-11-14 Jes Sorensen <jes@linuxcare.com>
6630 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
6632 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
6633 _mcount is required by profiled binaries.
6635 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
6636 * sysdeps/ia64/machine-gmon.h: ...here.
6638 2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
6640 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
6641 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
6643 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
6645 * iconvdata/ibm922.c: New file.
6646 * iconvdata/ibm922.h: New file.
6647 * iconvdata/ibm1124.c: New file.
6648 * iconvdata/ibm1124.h: New file.
6649 * iconvdata/ibm1129.c: New file.
6650 * iconvdata/ibm1129.h: New file.
6651 * iconvdata/testdata/IBM922: New file.
6652 * iconvdata/testdata/IBM922..UTF8: New file.
6653 * iconvdata/testdata/IBM1124: New file.
6654 * iconvdata/testdata/IBM1124..UTF8: New file.
6655 * iconvdata/testdata/IBM1129: New file.
6656 * iconvdata/testdata/IBM1129..UTF8: New file.
6658 2000-11-28 Ulrich Drepper <drepper@redhat.com>
6660 * catgets/gencat.c (normalize_line): Take extra parameter with escape
6661 character. Change callers.
6662 (open_conversion): Determine mapping of 0x5c as wchar_t value.
6663 * catgets/Makefile: Add rules to build and run test-gencat.
6664 * catgets/sample.SJIS: New file.
6665 * catgets/test-gencat.c: New file.
6666 * catgets/test-gencat.sh: New file.
6667 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6669 2000-11-28 Andreas Jaeger <aj@suse.de>
6671 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
6674 2000-11-28 Ulrich Drepper <drepper@redhat.com>
6676 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
6678 2000-11-28 Andreas Jaeger <aj@suse.de>
6680 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
6682 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
6685 2000-11-27 Ulrich Drepper <drepper@redhat.com>
6687 * misc/getusershell.c: Make strings in okshells array const.
6688 * misc/regexp.c: Add const to cast to avoid warnings.
6689 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
6690 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
6692 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
6694 * misc/error.c: Add prototypes for __error and __error_at_line.
6695 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
6696 statement to avoid warning.
6697 * test-skeleton.c: Mark timeout_handler with noreturn.
6698 * iconv/skeleton.c (get16u): Add const to cast.
6700 * iconvdata/gb18030.c: Likewise.
6701 * iconvdata/iso-2022-cn-ext.c: Likewise.
6702 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
6703 * iconvdata/big5.c: Likewise.
6704 * iconvdata/big5hkscs.c: Likewise.
6705 * iconvdata/iso_6937.c: Likewise.
6706 * iconvdata/iso_6937-2.c: Likewise.
6707 * iconvdata/t.61.c: Likewise.
6708 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
6709 * iconvdata/unicode.c: Likewise.
6710 * iconvdata/utf-16.c: Likewise.
6711 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
6712 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
6713 with little code shuffling.
6715 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
6716 the problems introduced when the user selects -O3.
6718 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
6719 * misc/sys/cdefs.h: Define __flexarr.
6720 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
6722 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
6723 * iconv/skeleton.c: Likewise.
6724 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
6725 * iconv/loop.c (get16): Add const to cast.
6728 2000-11-27 Andreas Jaeger <aj@suse.de>
6730 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
6732 * login/programs/utmpdump.c (print_entry): Likewise.
6734 2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6736 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
6737 in a single asm as they may be used to access other stored
6739 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6741 2000-11-27 Andreas Jaeger <aj@suse.de>
6743 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
6744 * rt/tst-aio64.c: Likewise.
6746 2000-11-27 Ulrich Drepper <drepper@redhat.com>
6748 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
6750 (libc.cat): Likewise.
6751 * catgets/gencat.c: Implement handling of message catalogs encoded
6752 with stateful character sets.
6753 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6755 2000-11-26 Ulrich Drepper <drepper@redhat.com>
6757 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
6759 * inet/getnameinfo.c: Adjust casts to avoid warnings.
6760 * inet/rcmd.c: Likewise.
6761 * inet/ruserpass.c: Likewise.
6762 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
6763 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6764 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
6765 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
6766 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
6767 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
6768 * include/aliases.h: Add prototypes for internal __getalias* functions.
6769 * include/netdb.h: Add prototypes for __old_gethostent_r,
6770 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
6771 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
6772 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
6773 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
6774 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
6775 __old_getrpcbynumber_r, __old_getrpcent_r.
6777 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
6778 __getrpcent_r prototypes.
6780 2000-11-25 Ulrich Drepper <drepper@redhat.com>
6782 * string/strcoll.c: Add casts to avoid warnings.
6783 * string/strnlen.c: Likewise.
6784 * string/strxfrm.c: Likewise.
6785 * sysdeps/generic/_strerror.c: Likewise.
6786 * sysdeps/generic/memrchr.c: Likewise.
6787 * sysdeps/generic/strcasestr.c: Likewise.
6788 * sysdeps/generic/strstr.c: Likewise.
6790 * locale/weight.h (findidx): Add const to cast to avoid warning.
6792 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
6793 * elf/loadtest.c: Likewise.
6794 * elf/multiload.c: Likewise.
6795 * elf/next.c: Likewise.
6796 * elf/nodelete.c: Likewise.
6797 * elf/noload.c: Likewise.
6798 * elf/order.c: Likewise.
6799 * elf/origtest.c: Likewise.
6800 * elf/preloadtest.c: Likewise.
6801 * elf/restest1.c: Likewise.
6803 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
6804 parameter of asm must be in %ecx.
6806 * string/tester.c: Mark test functions as static to avoid warnings.
6808 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
6809 preserve value over different gconv-modules files.
6811 2000-11-24 Ulrich Drepper <drepper@redhat.com>
6813 * locale/findlocale.c: Add casts to avoid warnings.
6814 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
6815 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
6817 * misc/tsearch.c (const_node): New type.
6818 (trecurse): Correct casts to avoid warnings.
6819 (__twalk): Likewise.
6820 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
6823 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
6825 * test-skeleton.c: Mark local functions as static to avoid warnings.
6827 2000-11-23 H.J. Lu <hjl@gnu.org>
6829 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
6830 support the background job.
6833 2000-11-24 Ulrich Drepper <drepper@redhat.com>
6835 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
6836 has same names but lower cost.
6838 2000-11-23 Jakub Jelinek <jakub@redhat.com>
6840 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
6841 which never occur during bootstrap.
6842 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6844 2000-11-23 Andreas Jaeger <aj@suse.de>
6846 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
6848 * nss/Versions: Remove _nss_files_getipnodebyname_r.
6850 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
6852 2000-11-18 Martin Buchholz <martin@xemacs.org>
6854 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
6857 2000-11-21 Alan Modra <alan@linuxcare.com.au>
6859 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
6861 * csu/abi-note.S: Correct comment for operating system number.
6863 2000-11-22 Ulrich Drepper <drepper@redhat.com>
6865 * Versions.def: Add GLIBC_2.2.1 for glibc.
6867 2000-11-22 Andreas Schwab <schwab@suse.de>
6869 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
6870 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
6872 2000-11-22 Ulrich Drepper <drepper@redhat.com>
6874 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
6875 absolute time for pthread_cond_timedwait call.
6876 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
6878 * rt/Makefile (tests): Add tst-aio6.
6879 * rt/tst-aio6.c: New file.
6881 2000-11-23 Andreas Jaeger <aj@suse.de>
6883 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
6885 2000-11-22 Andreas Jaeger <aj@suse.de>
6887 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
6889 2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
6891 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
6893 2000-11-21 Andreas Schwab <schwab@suse.de>
6895 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
6896 * sysdeps/arm/setjmp.S: Likewise.
6897 * sysdeps/arm/fpu/setjmp.S: Likewise.
6898 * sysdeps/i386/setjmp.S: Likewise.
6899 * sysdeps/i386/elf/setjmp.S: Likewise.
6900 * sysdeps/s390/setjmp.S: Likewise.
6901 * sysdeps/s390/elf/setjmp.S: Likewise.
6902 * sysdeps/sh/sh3/setjmp.S: Likewise.
6903 * sysdeps/sh/sh4/setjmp.S: Likewise.
6904 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
6905 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6906 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
6907 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
6909 2000-11-21 Andreas Jaeger <aj@suse.de>
6911 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
6912 NORETURN, fix parameter list.
6914 * string/bug-strncat1.c (main): Fix typo.
6915 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
6917 2000-11-20 Ulrich Drepper <drepper@redhat.com>
6919 * configure.in: Add --enable-all-warnings.
6920 * config.make.in (all-warnings): New variable.
6921 * Makeconfig (+gccwarn): Define with many more warnings if
6922 all-warnings is yes.
6924 2000-11-20 Jakub Jelinek <jakub@redhat.com>
6926 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
6927 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
6928 * malloc/tst-valloc.c (main): Cast valloc return value to long.
6929 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
6930 * math/test-fpucw.c (main): Use %lx in format string, cast
6931 control words to long.
6932 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
6933 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
6934 large that it is unsigned warning.
6936 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
6937 it to long on sparc64.
6939 2000-11-20 Andreas Jaeger <aj@suse.de>
6941 * nscd/nscd.h (termination_handler): Add noreturn attribute.
6942 (receiv_print_stats): Likewise.
6944 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
6946 2000-11-20 Ulrich Drepper <drepper@redhat.com>
6948 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
6950 * csu/gmon-start.c: Always have prototype for __gmon_start.
6951 * csu/version.c: Add prototypes for __libc_print_version and
6953 * iconv/gconv.c: Include gconv_int.h and gconv.h.
6954 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
6956 * iconv/gconv_builtin.h: Add ASCII module definitions.
6957 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
6958 (add_module): Add cast to avoid warning. Rework construction of
6959 strings for new module.
6960 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
6961 (derivation_compare): Likewise.
6962 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
6963 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
6964 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
6965 (struct gconv_alias): Remove const from fromname and toname.
6966 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
6968 (internal_ucs4_loop): Use correct const-ness.
6969 (ucs4_internal_loop): Likewise.
6970 (internal_ucs4le_loop): Likewise.
6971 (ucs4le_internal_loop_single): Likewise.
6972 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
6973 to_idx, to_tbl, winbuf, winbufend const. Change casts in
6974 assignments appropriately.
6975 (struct known_trans): Remove const from fname.
6976 (trans_compare): Make s1 and s2 const.
6977 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
6979 * iconv/skeleton.c: Remove cast in calls of loop functions.
6980 * iconvdata/gconv-modules: Remove US-ASCII definitions.
6981 * iconvdata/iso646.c: Remove US_ASCII support.
6982 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
6983 * include/unistd.h: Add __libc_check_standard_fds prototype.
6984 * string/bits/string2.h (__mempcpy_args): Add const to casts.
6985 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
6987 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
6988 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
6989 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
6991 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
6992 __libc_init_first and _dl_start.
6993 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
6994 (DCIGETTEXT): Make domaindata variable const.
6995 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
6998 2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
7000 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
7002 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
7003 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
7006 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
7007 value defined in /usr/include/asm-mips/fcntl.h.
7009 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7011 * stdio-common/Makefile (tests): Add test-vfprintf.
7012 (test-vfprintf-ENV): New variable.
7013 * stdio-common/test-vfprintf.c: New file.
7015 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
7017 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
7018 (tst-mbrtowc-ENV): New variable.
7019 (tst-wcrtomb-ENV): New variable.
7020 * wcsmbs/tst-mbrtowc.c: New file.
7021 * wcsmbs/tst-wcrtomb.c: New file.
7023 2000-11-16 Andreas Jaeger <aj@suse.de>
7025 * manual/install.texi (Tools for Compilation): Update
7026 documentation for GCC 2.95.2.
7028 2000-11-18 Ulrich Drepper <drepper@redhat.com>
7030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
7031 if IPv4 and IPv6 requests timed out.
7033 2000-11-18 Akim Demaille <akim@epita.fr>
7035 * malloc/obstack.h: Formatting changes.
7036 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
7037 prevents type checking.
7038 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
7039 cast the value to (void *): assigning a `foo *' to a `void *'
7041 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
7043 2000-11-17 Ulrich Drepper <drepper@redhat.com>
7045 * scripts/config.guess: Update from upstream maintainer.
7046 * scripts/config.sub: Likewise.
7048 2000-11-16 Ulrich Drepper <drepper@redhat.com>
7050 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
7051 * libio/freopen64.c (freopen64): Likewise.
7052 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7054 * libio/Makefile: Add rules to build and run test-freopen.
7055 * libio/test-freopen.c: New file.
7056 * libio/test-freopen.sh: New file.
7058 2000-11-15 H.J. Lu <hjl@gnu.org>
7060 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
7061 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
7062 (DL_DT_FINI_ADDRESS): Likewise.
7064 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
7065 return type to ElfW(Addr).
7066 (_dl_function_address): New prototype.
7067 (DL_FUNCTION_ADDRESS): Defined.
7068 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
7069 (DL_DT_FINI_ADDRESS): Likewise.
7071 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
7073 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
7074 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
7076 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
7077 (_dl_function_address): This.
7079 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
7080 function pointer for DT_FINI.
7081 * elf/dl-close.c (_dl_close): Likewise.
7083 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
7084 function pointer for DT_INIT.
7086 2000-11-16 Jakub Jelinek <jakub@redhat.com>
7088 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
7089 end of wexpbuf buffer.
7091 2000-11-16 Andreas Jaeger <aj@suse.de>
7093 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
7094 definition of F_GETLK, F_SETLK, F_SETLKW.
7096 2000-11-16 Andreas Jaeger <aj@suse.de>
7098 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
7101 2000-11-15 Jakub Jelinek <jakub@redhat.com>
7103 * dlfcn/default.c (main): Add test for dladdr of main returning
7104 argv[0] in dli_fname field.
7106 2000-11-15 Jakub Jelinek <jakub@redhat.com>
7108 * Makeconfig (run-program-prefix): Move test-static test into the
7111 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
7112 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
7113 schedule instructions.
7114 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
7115 schedule instructions, fix a bug in copying auxiliary data.
7117 2000-11-15 Ulrich Drepper <drepper@redhat.com>
7119 * manual/startup.texi (Program Arguments): Fix type of main's envp
7121 Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
7123 * iconvdata/gconv-modules: Add CP950 alias.
7125 2000-11-13 Jakub Jelinek <jakub@redhat.com>
7127 * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
7128 syscall-list.h goal.
7129 * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
7131 2000-11-15 Ulrich Drepper <drepper@redhat.com>
7133 * intl/Makefile: tst-gettext2.sh does not need a third parameter.
7135 * intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
7138 * intl/tst-gettext2.c: Set C locale if setting other locale
7139 failed. Use gettext() not _().
7141 * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
7142 successfully loaded a new locale.
7144 2000-11-13 Andreas Jaeger <aj@suse.de>
7146 * configure.in: Require gcc 2.95 or newer.
7148 2000-11-15 Ulrich Drepper <drepper@redhat.com>
7150 * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
7151 Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
7153 2000-11-11 Jim Meyering <meyering@lucent.com>
7155 * string/strndup.c (strndup): Cast return value to `char *'.
7157 2000-11-15 Jim Meyering <meyering@ascend.com>
7159 * sysdeps/generic/memchr.c: Remove some useless parentheses.
7160 [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
7161 [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
7162 [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
7163 Also #undef __memchr.
7164 Use `weak_alias' only if it's defined.
7166 2000-11-10 H.J. Lu <hjl@gnu.org>
7168 * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
7170 2000-11-15 Andreas Jaeger <aj@suse.de>
7172 * elf/chroot_canon.c: Include <stdint.h>.
7174 * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
7175 (print_entry): Likewise.
7176 (add_to_cache): Likewise.
7178 * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
7180 * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
7181 (path_hwcap): Likewise.
7182 (search_dir): Likewise.
7184 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
7186 * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
7188 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7189 (_dl_platform_string): New.
7190 (_DL_HWCAP_PLATFORM): New.
7191 (_dl_string_platform): New.
7192 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
7194 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7195 (_dl_string_platform): New.
7196 (_DL_HWCAP_PLATFORM): New.
7197 (_dl_platform_string): New.
7199 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
7201 (_DL_HWCAP_COUNT): New.
7202 (_dl_string_platform): New.
7203 (_DL_HWCAP_PLATFORM): New.
7204 (_dl_platform_string): New.
7206 2000-11-14 Ulrich Drepper <drepper@redhat.com>
7208 * iconvdata/gconv-modules: Add CP936 as alias for GBK.
7210 2000-11-14 Andreas Jaeger <aj@suse.de>
7212 * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
7214 2000-11-13 Roland McGrath <roland@frob.com>
7216 * hurd/get-host.c (_hurd_get_host_config): Fix last change.
7218 2000-11-13 Marcus Brinkmann <marcus@gnu.org>
7220 * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
7221 underrun and make sure the result is null terminated even if there
7222 is no trailing newline.
7224 2000-11-13 Jakub Jelinek <jakub@redhat.com>
7226 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7228 2000-11-10 H.J. Lu <hjl@gnu.org>
7230 * sysdeps/ia64/fpu/libm-test-ulps: Updated.
7232 2000-11-10 Andreas Jaeger <aj@suse.de>
7234 * elf/ldconfig.c (create_links): Fix alloca calculation.
7235 Patch by Ben Collins <bcollins@debian.org>.
7237 2000-11-09 Ulrich Drepper <drepper@redhat.com>
7239 * inet/getnameinfo.c (getnameinfo): Use correct destination
7240 parameter for if_indextoname.
7241 Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
7243 2000-11-09 H.J. Lu <hjl@gnu.org>
7245 * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
7246 xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
7247 xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
7250 * time/Versions (GLIBC_2.1): Move getitimer to...
7251 * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
7253 2000-11-03 Bruno Haible <haible@clisp.cons.org>
7255 * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
7256 "make install", to work around a binary incompatibility between
7257 glibc 2.1 and glibc 2.2 gconv modules.
7259 2000-11-09 Ulrich Drepper <drepper@redhat.com>
7261 * intl/locale.alias: Add thai.
7262 Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
7264 2000-11-07 Akim Demaille <akim@epita.fr>
7266 * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
7267 argument `data' for consistency with the prototypes.
7269 (obstack_copy, obstack_copy0): Rename the second argument as
7270 `address' for consistency. Qualify it `const'.
7271 * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
7272 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
7273 `const' their input argument (`data' or `address').
7274 Adjust the corresponding macros to include `const' in casts.
7276 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7278 * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
7281 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7283 * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
7286 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7288 * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
7289 ai_protocol by internal table if service was not given.
7291 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7293 * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
7294 numerical port was specified with protocol without socktype.
7296 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7298 * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
7300 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7302 * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
7304 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7306 * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
7307 sin6_scope_id field.
7309 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7311 * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
7313 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7315 * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
7317 2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
7319 * inet/getnameinfo.c: Wake-up sin6_scope_id support in
7320 getnameinfo(): check for whether sin6_socpe_id exist was wrong.
7322 2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
7324 * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
7325 * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
7327 2000-11-09 H.J. Lu <hjl@gnu.org>
7329 * io/Versions (GLIBC_2.1.1): Remove lockf64.
7332 See ChangeLog.11 for earlier changes.