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