]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
f369623d
UD
12001-07-22 Bruno Haible <haible@clisp.cons.org>
2
3 * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
4 and msgid2 for printf format argument checking.
5
2a28c529
UD
62001-07-24 Ulrich Drepper <drepper@redhat.com>
7
0db59742
UD
8 * iconv/gconv_cache.c (find_module): Don't allocate room for the
9 filename. Use alloca, we don't need it beyond this function.
10 (__gconv_release_cache): New function.
11 * iconv/gconv_db.c (__gconv_close_transform): Call
12 __gconv_release_cache after the steps are handled.
13 * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
14 record as well.
15 * iconv/gconv_int.h: Add prototype fpr __gconv_release_cache.
16
2a28c529
UD
17 * iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
18 boundary case and reject it.
19
73de87b6
AJ
202001-07-24 Andreas Jaeger <aj@suse.de>
21
2a28c529 22 * manual/examples/longopt.c (main): Fix which options take arguments.
73de87b6 23
faf90ba9
UD
242001-07-24 Ulrich Drepper <drepper@redhat.com>
25
26 * iconvdata/Makefile: Add dependencies for tst-loading test.
27
0a45baaf
AJ
282001-07-24 Andreas Jaeger <aj@suse.de>
29
30 * iconv/iconvconfig.c (name_insert): Make static to avoid warning.
31
b2e3d177
UD
322001-07-23 Ulrich Drepper <drepper@redhat.com>
33
06b5289f
UD
34 * locale/programs/locale.c (write_locales): Disable implicit
35 locking for the stream. Use feof_unlocked instead of feof.
36
63825a61
UD
37 * sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
38 and floating-point status as well.
39
beafb752
UD
40 * libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
41 avoid deadlock.
42 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
43 * libio/genops.c (_IO_un_link): Get stream lock since it's not
44 always done in the caller.
45 (_IO_link_in): Likewise.
46
3afd9491
UD
47 * libio/genops.c (_IO_list_all_stamp): New variable.
48 (_IO_un_link): Bump _IO_list_all_stamp after removing from list.
49 (_IO_link): Likewise for insertion.
50 (flush_cleanup): New function.
51 (_IO_flush_all): Get list_all_lock and all individual locks for the
52 streams. Detect and handle changes to the _IO_list_all list.
53 (_IO_flush_all_linebuffered): Likewise.
54 * sysdeps/generic/bits/stdio-lock.h: Define
55 _IO_cleanup_region_start_noarg.
56 * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
57
d060ab14
UD
58 * stdio-common/printf.h: Fix typo in comment.
59
b2e3d177
UD
60 * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
61 and to INTERNAL.
62 * iconv/iconvconfig.c: Create a special record for the INTERNAL
63 encoding name in the output file.
64
4b9afc43
UD
652001-07-23 Jakub Jelinek <jakub@redhat.com>
66
faf90ba9 67 * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
4b9afc43 68 (svctcp_rendezvous_op): Use it.
faf90ba9 69 * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.
4b9afc43
UD
70 (svcunix_rendezvous_op): Use it.
71
722001-07-23 Andreas Schwab <schwab@suse.de>
73
74 * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
75 CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
76 (math-CPPFLAGS): Set this instead of CPPFLAGS.
77
30566afb
UD
782001-07-23 Ulrich Drepper <drepper@redhat.com>
79
80 * elf/elf.h: Add more definitions from Sun's latest version.
81
822001-07-23 Stephen L Moshier <moshier@mediaone.net>
bdce812b
AJ
83
84 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
85 sign for 0 input and set divide by zero exception for -1 input.
86 Return argument if NaN or infinity.
87
dacbc983
AJ
882001-07-23 Andreas Jaeger <aj@suse.de>
89
90 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.
91
01b65304
UD
922001-07-23 Ulrich Drepper <drepper@redhat.com>
93
94 * iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
95 module for conversion direction.
96
972001-07-23 Stephen L Moshier <moshier@mediaone.net>
514abd20
AJ
98
99 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
100 sign for 0 input. Return NaN with no exception for NaN input.
101
4f9f0065
UD
1022001-07-23 Ulrich Drepper <drepper@redhat.com>
103
104 * iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
105 really be an alias.
106
9782710a
AJ
1072001-07-23 Andreas Jaeger <aj@suse.de>
108
109 * iconv/iconvconfig.c: Include <sys/cdefs.h> and use
110 __attribute_malloc__ for older GCC versions.
111 * iconv/strtab.c: Likewise.
1a9cbbbf 112 Add prototypes to avoid warnings.
9782710a 113
393aec52
RM
1142001-07-22 Roland McGrath <roland@frob.com>
115
116 * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
42240ec1 117 and SA_NODEFER options. Spurred to action by Igor Khavkine.
393aec52
RM
118
119 * sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
120 (SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
121 [__USE_MISC] (SA_INTERRUPT): New macro, value 0.
122 [__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
123 as in other sysdeps versions of this file.
124
42240ec1 125 * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
393aec52
RM
126 and provide sa_handler and sa_sigaction member names as macros, as
127 done in other sysdeps versions of this file.
128 Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
129
a9d61e29
UD
1302001-07-23 Ulrich Drepper <drepper@redhat.com>
131
132 * posix/regex.c: Revamp memory allocation for WCHAR functions to
133 not use too much stack.
134
61c03724
UD
1352001-07-22 Ulrich Drepper <drepper@redhat.com>
136
bbdf8285
UD
137 * iconv/iconvconfig.c (write_output): Update comment explaining
138 output format.
139
32463b1a
UD
140 * elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
141 if it is alone.
142 (_dl_dst_substitute): Likewise.
143
47bd306e
UD
144 * iconv/iconvconfig.c: Remove --verbose option. Comment out
145 mcheck_verbose call.
146
61c03724
UD
147 * iconv/strtab.c (morememory): Fix little memory handling problem.
148
5bb17da0
AS
1492001-07-22 Andreas Schwab <schwab@suse.de>
150
151 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
152 mark asm input operand as clobbered.
153 * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
154
6b98979f
UD
1552001-07-22 Ulrich Drepper <drepper@redhat.com>
156
157 * iconv/gconv_builtin.c (struct builtin_map): Remove init and end
158 elements.
159 (BUILTIN_TRANSFORMATION): Remove Init and End parameters.
160 (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
161 NULL.
162 * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
163 all BUILTIN_TRANSFORMATION calls.
164 * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
165 parameters.
166 * iconv/gconv_simple.c: Likewise.
167 * iconv/gconv_db.c (gen_steps): Internal converters don't have
168 initializers, move the code accordingly.
169
170 * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
171 file if STATIC_GCONV is defined.
172
173 * iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
174 (__gconv_get_path): Use it instead of call getenv.
175 (__gconv_read_conf): First see whether cache can be used. If yes,
176 don't do any work here.
177 * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
178 and exported. Change callers.
179 (__gconv_find_transform): First call __gconv_lookup_cache and only
180 continue if it signals no cache available. Remove some unnecessary
181 tests.
182 * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
183 __gconv_release_step, and __gconv_loaded_cache.
184 * iconv/gconv_cache.c: New file.
185 * iconv/iconvconfig.c: New file.
186 * iconv/iconvconfig.h: New file.
187 * iconv/strtab.c: New file.
188 * iconv/Makefile: Add rules to build new files and programs.
189
d3ab710c
RM
1902001-07-20 Roland McGrath <roland@frob.com>
191
11c0b1e3
RM
192 * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
193 from `dev_t' (st_rdev value) `const struct stat *'.
194 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
195 * libio/filedoalloc.c (_IO_file_doallocate): Change caller.
196 * sysdeps/mach/hurd/device-nrs.h: New file.
197
d3ab710c
RM
198 * libio/stdio_ext.h: Moved to ...
199 * stdio-common/stdio_ext.h: ... here.
200 * libio/Makefile (headers): Move stdio_ext.h from here ...
201 * stdio-common/Makefile (headers): ... to here.
202 * include/stdio_ext.h: New file.
203 * stdio/Makefile (routines): Add the stdio_ext.h functions here.
204 * stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
205 * stdio/__flbf.c: New file.
206 * stdio/__fbufsize.c: New file.
207 * stdio/__fpending.c: New file.
208 * stdio/__fpurge.c: New file.
209 * stdio/__freadable.c: New file.
210 * stdio/__freading.c: New file.
211 * stdio/__fsetlocking.c: New file.
212 * stdio/__fwritable.c: New file.
213 * stdio/__fwriting.c: New file.
214
5cd915d7
UD
2152001-07-20 Ulrich Drepper <drepper@redhat.com>
216 Andreas Jaeger <aj@suse.de>
217
218 * elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
219 Add a few __builtin_expect to mark unlikely error cases.
220
bab889aa
AJ
2212001-07-20 Andreas Jaeger <aj@suse.de>
222
223 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
224 Patch by Daniel Jacobowitz <dan@debian.org>.
225
fef0b717
UD
2262001-07-19 Ulrich Drepper <drepper@redhat.com>
227
fcacd127
UD
228 * intl/localealias.c: Remove unnecessary prototype.
229
fef0b717
UD
230 * Makefile: Add html goal.
231 * manual/Makefile: Likewise.
232
91099cf4
UD
2332001-07-18 Ulrich Drepper <drepper@redhat.com>
234
235 * libio/filedoalloc.c (_IO_file_doallocate): A few more minor
236 cleanups and improvements.
237
2382001-07-18 Andreas Schwab <schwab@suse.de>
239
240 * posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
241 underscore character.
242
2432001-07-18 Jakub Jelinek <jakub@redhat.com>
244
245 * malloc/malloc (new_heap): Don't call munmap for zero length.
246
2472001-07-18 Ulrich Drepper <drepper@redhat.com>
248
249 * libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
250 available to determine whether descriptor is for tty before
251 calling isatty.
252
253 * sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
254 * sysdeps/generic/device-nrs.h: Likewise.
255
adb2a70d
AJ
2562001-07-18 Andreas Jaeger <aj@suse.de>
257
258 * time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
259
260 * time/Depend: New, add dependency on timezone.
261
262 * time/tst-getdate.c: Add testcase for bug report by Hendrik
263 Uhlmann <HUhlmann@stn-atlas.de>.
264 * time/datemsk: Likewise.
265
c96873d7
UD
2662001-07-17 Ulrich Drepper <drepper@redhat.com>
267
268 * elf/ldconfig.c (parse_conf): Disable implicit locking for the
269 stream. Remove some unnecessary initializers.
270
0cfbb8c6
UD
2712001-07-17 Andreas Jaeger <aj@suse.de>
272
273 * elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
274 (is_hwcap_platform): Use it.
275 (set_hwcap): New function to set hwcap_mask.
276 (main): Call set_hwcap.
277
2782001-07-17 Jakub Jelinek <jakub@redhat.com>
279
280 * time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
281 tm_zone before calling strptime.
282
8081cd9c
AS
2832001-07-17 Andreas Schwab <schwab@suse.de>
284
285 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
286
2706ee38
UD
2872001-07-17 Ulrich Drepper <drepper@redhat.com>
288
289 * inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
290 * inet/ruserpass.c (ruserpass): Likewise.
291 * nss/nsswitch.c (nss_parse_file): Likewise.
292 * resolv/res_hconf.c (_res_hconf_init): Likewise.
293 * resolv/res_init.c (__res_vinit): Likewise.
294 * gmon/bb_exit_func.c (__bb_exit_func): Likewise.
295 * misc/getpass.c (getpass): Likewise.
296 * misc/getusershell.c (initshells): Likewise.
297 * misc/getttyent.c (setttyent): Likewise.
298 * misc/mntent_r.c (__setmntent): Likewise.
299 * time/getdate.c (__getdate_r): Likewise.
300 * time/tzfile.c (__tzfile_read): Likewise.
301 * iconv/gconv_conf.c (read_conf_file): Likewise.
302 * intl/localealias.c (read_alias_file): Disable implicit locking
303 for the stream. Use _unlocked functions for glibc.
304 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
305 implicit locking for the stream.
306 (__get_nprocs_conf): Likewise.
307 (phys_pages_info): Likewise.
308
98e75a1c
UD
3092001-07-16 Ulrich Drepper <drepper@redhat.com>
310
311 * nscd/connections.c: Print messages caused by user application
23700036
UD
312 only if debug_level > 0. Add little performance improvements.
313 Use TEMP_FAILURE_RETRY around write calls.
98e75a1c
UD
314 * nscd/grpcache.c: Likewise.
315 * nscd/hstcache.c: Likewise.
316 * nscd/pwdcache.c: Likewise.
317
774a8fe8
UD
3182001-07-13 H.J. Lu <hjl@gnu.org>
319
320 * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
321 (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
322 (RESOLVE_GOTSYM): Rewrite to use RESOLVE.
323
324 * sysdeps/mips/rtld-ldscript.in: Removed.
325 * sysdeps/mips/rtld-parms: Likewise.
326 * sysdeps/mips/mips64/rtld-parms: Likewise.
327 * sysdeps/mips/mipsel/rtld-parms: Likewise.
328
a68edba5
UD
3292001-07-16 Ulrich Drepper <drepper@redhat.com>
330
331 * catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
332 substitution in here document.
333
ba3752d5
UD
3342001-07-16 Andreas Schwab <schwab@suse.de>
335
336 * sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.
337
3382001-07-16 Andreas Schwab <schwab@suse.de>
339
340 * math/libm-test.inc (check_float_internal): Fix sign bit test of
341 infinities.
342
3432001-07-16 Jakub Jelinek <jakub@redhat.com>
344
345 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.
346
778e0ef7
UD
3472001-07-15 Ulrich Drepper <drepper@redhat.com>
348
349 * malloc/obstack.c: Define __attribute__ for non-gcc compilers.
350 Patch by Jim Meyering <jim@meyering.net>.
351
3522001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
353
354 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
355 fields in the sigaction struct to match the definition in the kernel.
356
3572001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
358
359 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
360 test for ENOSYS.
361
3622001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
363
364 * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
365 to the entries in the __jmp_buf structure.
366 * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
367
3682001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
369
370 * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
371 (> 64K) and a mvc loop for small blocks.
372 * sysdeps/s390/s390-32/memcpy.S: Likewise.
373 * sysdeps/s390/s390-64/bcopy.S: Likewise.
374 * sysdeps/s390/s390-64/memcpy.S: Likewise.
375
09e57bdf
AS
3762001-07-15 Andreas Schwab <schwab@suse.de>
377
a6d21483
AS
378 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
379 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.
380
b20895bd
AS
381 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
382 first. Default to 4096, not EXEC_PAGESIZE.
383
09e57bdf
AS
384 * iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
385 Fix index.
386
567f6a47
AJ
3872001-07-09 Andreas Jaeger <aj@suse.de>
388
389 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.
390
391 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
392 HWCAP_I386_XMM2 to enum.
393
57cda268
AJ
3942001-07-13 Andreas Jaeger <aj@suse.de>
395
396 * libio/fileops.c: Include unistd.h for lseek64 prototype. Closes
397 PR libc/2372.
398
0a3b7e6a
UD
3992001-07-12 Ulrich Drepper <drepper@redhat.com>
400
401 * Makeconfig: Add some more changes to handle AIX linker better.
402
96b58136
UD
4032001-07-12 H.J. Lu <hjl@gnu.org>
404
405 * sysdeps/generic/segfault.c: Include <errno.h>.
406
8c35c0da
UD
4072001-07-01 Andreas Jaeger <aj@suse.de>
408
409 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
410 sbrk. Closes PR libc/2312.
411
4122001-07-01 Andreas Jaeger <aj@suse.de>
413
414 * sysdeps/generic/segfault.c (install_handler): Handle case that
415 the output file does not exists. Closes PR libc/2345.
416
4172001-07-11 Ulrich Drepper <drepper@redhat.com>
418
419 * intl/locale.alias: Use he language code for hebrew, not il
420 [PR libc/2382].
421
4222001-07-11 Jakub Jelinek <jakub@redhat.com>
423
424 * iconv/gconv_int.h: Fix comment typo.
425
958c2666
RM
4262001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>
427
8c35c0da 428 * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
958c2666
RM
429
4302001-07-07 Roland McGrath <roland@frob.com>
431
432 * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
433
0e2bd6fd
AJ
4342001-07-10 Stephen L Moshier <moshier@mediaone.net>
435
436 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix
8c35c0da 437 backwards conditional in test for x == 1.0.
0e2bd6fd 438
0eeba576
AJ
4392001-07-10 Andreas Jaeger <aj@suse.de>
440
441 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
442 (-0.7).
443
77259608
AJ
4442001-07-09 Andreas Jaeger <aj@suse.de>
445
446 * sysdeps/unix/sysv/linux/configure.in: Revert patch from
447 2001-07-05 for sysconfdir handling.
448 * config.make.in (sysconfdir): Likewise.
449 * configure.in: Likewise.
450
451 * configure.in: Always assign libc_cv_sysconfdir.
452
73c342eb
UD
4532001-07-08 Ulrich Drepper <drepper@redhat.com>
454
994431ed
UD
455 * Makerules [AIX] (build-shlib-helper): Precede linker options
456 with -Wl.
457
458 * Makeconfig (config-LDFLAGS): Add ld.so only for ELF.
459
5f6b4f1d
UD
460 * sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
461 what we define in <stdio.h>.
462
d3f8be6d
UD
463 * iconv/iconv_prog.c (main): Don't unconditionally define
464 variables only use if _POSIX_MAPPED_FILES is defined.
465
73c342eb
UD
466 * sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
467 * sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
468
469 * sysdeps/unix/sysv/aix/recv.c: New file.
470
471 * sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.
472
9f2bedd0
UD
4732001-07-07 Ulrich Drepper <drepper@redhat.com>
474
73c342eb
UD
475 * sysdeps/generic/recv.c: Fix return type.
476
477 * sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.
478
479 * sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
480 declarations for asm functions.
481
a2a89dd6
UD
482 * include/libc-symbols.h: Provide more dummy definitions for the
483 case if GNU ld isn't used.
484
1a35b7fd
UD
485 * libio/freopen.c: Include <stdlib.h> for free declaration.
486 * libio/freopen64.c: Likewise.
487
9f2bedd0
UD
488 * sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
489
4dbb6417
UD
4902001-07-06 Jakub Jelinek <jakub@redhat.com>
491
492 * sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
493 explicitly into .text section.
494
4952001-04-16 Jes Sorensen <jes@linuxcare.com>
496
497 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
498 Add 16 longwords reserved for future use to match changes in the
499 kernel.
500
5012001-07-03 Jes Sorensen <jes@trained-monkey.org>
502
503 * sysdeps/ia64/strncpy.S: Call strnlen() when determining the
504 string length rather than strlen(). Solves the performance problem
505 of doing strlen on a 5MB string when strncpy was called with a
506 length argument of 5 bytes.
507
5082001-07-02 Jakub Jelinek <jakub@redhat.com>
509
510 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
511 R_SPARC_UA16 and R_SPARC_UA32.
512 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
513
5142001-07-01 Stephen L Moshier <moshier@mediaone.net>
515
516 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
517 acosh(x) = ln(2x) if x > 2^30.
518 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
519 acosh(x) = ln(2x) if x > 2^54.
520
43c6b444
MK
5212001-07-07 Mark Kettenis <kettenis@gnu.org>
522
523 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
524 Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
525 KERN_WRITE_PROTECTION_FAILURE.
526
6cab95ba
UD
5272001-07-07 Ulrich Drepper <drepper@redhat.com>
528
22af13de
UD
529 * posix/regex.c: Limit string length printed in debug messages to
530 100 chars.
531
6cab95ba
UD
532 * configure.in: Don't warn about versioning if not on ELF system.
533
084909e8
AJ
5342001-07-07 Andreas Jaeger <aj@suse.de>
535
536 * sysdeps/*: Put files from GNU MP Library under LGPL v2.1.
537
96f06a9b
UD
5382001-07-06 Ulrich Drepper <drepper@redhat.com>
539
540 * po/gl.po: Update from translation team.
541
e2cb5c1d
AJ
5422001-07-06 Andreas Jaeger <aj@suse.de>
543
05d98980
AJ
544 * sysdeps/unix/sysv/linux/configure.in: Fix handling of
545 sysconfdir.
546
7f2826c8
AJ
547 * manual/libc-texinfo.sh: Add note for the FDL.
548
549 * manual/argp.texi (Argp Example 4): Fix texinfo warning.
550
551 * manual/libc.texinfo: Regenerated.
552
553 * manual/fdl.texi: Fix node.
554
513eb02f
AJ
555 * config.make.in (sysconfdir): Replace correctly.
556 Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.
557
558 * sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
559 longer needed.
560
561 * sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
562 case for alpha.
563 Rework handling of missing linuxthreads add-on.
564
565 * configure.in: Remove unused sysconfdir substitution.
566
e2cb5c1d
AJ
567 * manual/Makefile (texis): Add fdl.texi.
568 * manual/fdl.texi: New.
569 * manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
570 * manual/libc.texinfo: Add fdl, update titlepage.
571 Patches by Brian Youmans <3diff@gnu.org>.
572
573 * sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
574 generated file.
575
41bdb6e2
AJ
5762001-07-06 Paul Eggert <eggert@twinsun.com>
577
578 * manual/argp.texi: Remove ignored LGPL copyright notice; it's
579 not appropriate for documentation anyway.
580 * manual/libc-texinfo.sh: "Library General Public License" ->
581 "Lesser General Public License".
a1b36134
AJ
582 * COPYING: Fix Y2k bug in sample copyright notices.
583 * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
584 as fsf.org uses the name "lesser.texi".
585 * manual/Makefile (texis): Follow rename.
586
41bdb6e2
AJ
5872001-07-06 Andreas Jaeger <aj@suse.de>
588
589 * All files under GPL/LGPL version 2: Place under LGPL version
590 2.1.
591
752a1deb
AJ
5922001-07-05 Andreas Jaeger <aj@suse.de>
593
e2008c38 594 Synch with Linux 2.4.6:
752a1deb
AJ
595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
596 New.
597 (AF_BLUETOOTH): New.
598
599 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
600 (PF_BLUETOOTH): New.
601 (AF_BLUETOOTH): New.
602
603 * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
604 (PF_BLUETOOTH): New.
605
606 * sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
607 (PF_BLUETOOTH): New.
608
609 * sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
610 (AF_BLUETOOTH): New.
611
612 * sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
613 (AF_BLUETOOTH): New.
614
615 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
616
617 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
618
619 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
620
621 * sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
622
90f9eba7
RM
6232001-07-04 Roland McGrath <roland@frob.com>
624
625 * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
626 wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
627 rather than doing a mach_port_insert_right call first.
628
bc68392b
RM
6292001-06-26 Roland McGrath <roland@frob.com>
630
631 * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
632
bb10cf19
AJ
6332001-07-03 Andreas Jaeger <aj@suse.de>
634
635 * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
636 crypt add-on.
637
5bd5e357
MK
6382001-07-01 Mark Kettenis <kettenis@gnu.org>
639
640 * sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
641 the Hurd pfinet server, using equivalent code from the Linux
642 version in sysdeps/unix/sysv/linux/if_index.c. In detail:
643 Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
644 <hurd/pfinet.h>. Don't include <sys/mman.h> and <hurd/fsys.h>
645 anymore.
646 (if_nametoindex): New implementation using SIOCGIFINDEX.
647 (if_freenameindex): Straight copy of the Linux version.
648 (if_nameindex): New implementation based on pfinet_siocgifconf and
649 SIOCGIFINDEX.
650 (if_indextoname): New implementation using SIOCGIFNAME.
651 (map_interfaces): Function removed.
652 From Marcus Brinkmann <marcus@gnu.org>.
653
f669de74
UD
6542001-06-30 Jakub Jelinek <jakub@redhat.com>
655
656 * sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
657 gaps below main executable.
658
33e25d26
AJ
6592001-06-19 Andreas Jaeger <aj@suse.de>
660
661 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
662 Handle profiling.
663
2995f70e
AJ
6642001-06-29 Andreas Jaeger <aj@suse.de>
665
666 * sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
667 Patch by Stephen L Moshier <moshier@mediaone.net>.
668
f7364247
UD
6692001-06-28 Ulrich Drepper <drepper@redhat.com>
670
671 * manual/argp.texi: Tons of cleanups.
672 Patch by Clifford U. Smith <cuel@swbell.net>.
673
90e5b29e
UD
6742001-06-28 Mark Kettenis <kettenis@gnu.org>
675
676 * manual/users.texi (Setting Groups): Correct initgroups
677 documentation. Add documentation for getgrouplist.
678
6792001-06-28 H.J. Lu <hjl@gnu.org>
680
681 * locale/findlocale.c (locale_file_list): Renamed to ...
da1375be 682 (_nl_locale_file_list): This. Make it extern.
90e5b29e
UD
683 (free_mem): Move to ...
684 * locale/setlocale.c (free_mem): Here.
685
e17f3859
MK
6862001-06-28 Mark Kettenis <kettenis@gnu.org>
687
59a3de2d
MK
688 * sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
689 (__libc_read): Don't call __pread. Use _hurd_fd_read directly
690 instead.
691 * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
692 (__libc_write): Don't call __pwrite. Use _hurd_fd_write directly
693 instead.
694
e17f3859
MK
695 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Add back
696 -Wl,-soname option lost in 2001-06-16 change.
697
64333c66
UD
6982001-06-27 Ulrich Drepper <drepper@redhat.com>
699
2f07975d
UD
700 * posix/tst-regex.c: Pass REG_NEWLINE to regcomp. Add extra tests.
701 Restrict printing of string in debug mode to 100 characters to make
702 the output useful for long input texts.
703
64333c66
UD
704 * posix/Makefile: Add rules to build and run tst-regex.
705
90e5b29e 7062001-06-20 Isamu Hasegawa <isamu@yamato.ibm.com>
64333c66
UD
707
708 * posix/regex.c (FREE_WCS_BUFFERS): New macro to free buffers.
da1375be 709 (re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
64333c66
UD
710 (wcs_re_match_2_internal): Check whether the wcs buffers need
711 seting up or not, and skip seting up routin if not needed.
712
90e5b29e 7132001-06-26 Isamu Hasegawa <isamu@yamato.ibm.com>
64333c66 714
90e5b29e 715 * posix/regex.c (count_mbs_length): Use binary search for optimization.
64333c66 716
7bcad280
UD
7172001-06-27 Ulrich Drepper <drepper@redhat.com>
718
719 * posix/tst-regex.c: Fix several bugs. Add more tests.
720
7facfddd
MK
7212001-06-26 Mark Kettenis <kettenis@gnu.org>
722
723 * hurd/Makefile (user-interfaces): Add pfinet.
724 * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and
725 <netinet/in.h>.
726 (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL
727 as the handler for SIOCGIFCONF.
728 * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and
729 SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC
730 and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro
731 definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and
732 SIOCGIFNAME.
733 From Marcus Brunkmann <marcus@gnu.org>.
734
505d4b24
UD
7352001-06-25 Ulrich Drepper <drepper@redhat.com>
736
da0debaa
UD
737 * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
738 and _IOT_ifreq_int. Patch by Mark Kettenis <kettenis@wins.uva.nl>.
739
505d4b24
UD
740 * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
741 _dl_catch_error calls.
742
d8f00d46
UD
7432001-06-22 Jakub Jelinek <jakub@redhat.com>
744
745 * posix/regex.c (regex_compile, re_match_2_internal): Fix comment
746 typos.
747
7482001-06-01 Wolfram Gloger <wg@malloc.de>
749
750 * malloc/malloc.c (malloc_atfork, free_atfork): Use a unique value
751 ATFORK_ARENA_PTR, not 0, for the thread-specific arena pointer
752 when malloc_atfork is in use.
753
36e3e2d4
AJ
7542001-06-22 Andreas Jaeger <aj@suse.de>
755
37695e8f
AJ
756 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Add parenthese
757 to avoid warnings.
758
759 * sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Remove unused
760 variable.
761 Add unused attributes to avoid warnings.
762
e15df0bb
AJ
763 * elf/reldep4mod4.c: Add prototype to avoid warning.
764 * elf/reldep4mod2.c: Likewise.
765
36e3e2d4
AJ
766 * sysdeps/i386/fpu/e_expl.c: Include <math_private.h> for
767 prototypes.
768
cb18901b
RM
7692001-06-18 Roland McGrath <roland@frob.com>
770
771 * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
772
fec3cf81
UD
7732001-06-20 Alexandre Oliva <aoliva@redhat.com>
774
775 * sysdeps/unix/sysv/settimeofday.c: Include time.h.
776
74b98188
UD
7772001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
778
779 * sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
780
ad10cac8
UD
7812001-05-09 Michael Keezer <mkeezer@redhat.com>
782
783 * Makeconfig: Added AIX-ld support for DSO.
784 * Makerules: Likewise.
785 * dlfcn/Makefile (defaultmod1.so): Added libc_nonshared.
786 (defaultmod2.so): Likewise.
787 * debug/Makefile: Conditionalize use of elf/ld.so.
788 * iconvdata/Makefile: Moved LDFLAG rpath/soname info into Makeconfig.
789
790 * sysdeps/unix/sysv/aix/Makefile: Added dl-support.c and dl-error.c.
791 * sysdeps/unix/sysv/aix/Makefile: Made (f/g)rsave(0/1) &
792 (f/g)prrest(0/1) static only.
793 * sysdeps/unix/sysv/aix/gettimeofday.c: Removed #if 0.
794 * sysdeps/unix/sysv/aix/start.c: Define __dso_handle if not ELF but
795 shared.
796 * sysdeps/unix/sysv/aix/setitimer.c: New file.
797 * sysdeps/unix/sysv/aix/sleep.c: New file.
798 * sysdeps/unix/sysv/aix/usleep.c: New file.
799 * sysdeps/unix/sysv/aix/dl-addr.c: New file.
800 * sysdeps/unix/sysv/aix/dl-error.c: New file.
801 * sysdeps/unix/sysv/aix/dl-support.c: New file.
802 * sysdeps/unix/sysv/aix/powerpc/register-dump.h: New file.
803
874e5570
UD
8042001-06-19 Ulrich Drepper <drepper@redhat.com>
805
806 * po/es.po: Update from translation team.
807
20f421e1
AJ
8082001-06-19 Andreas Jaeger <aj@suse.de>
809
810 * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file.
811
812 * math/libm-test.inc (tanh_test): Test for 2^-56.
813
814 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result
815 equals argument when x < 2^-55.
816 Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
817
d7d64cdb
UD
8182001-06-17 Alan Modra <amodra@bigpond.net.au>
819
4dbb6417 820 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
d7d64cdb
UD
821 at unaligned address.
822
9e05f72f
UD
8232001-06-18 Ulrich Drepper <drepper@redhat.com>
824
c4be6664
UD
825 * posix/regex.c: Reorganize code to build code twice, once for single
826 byte, once for multi-byte charsets. Choose function set adequate for
827 locale at runtime.
828 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
829
9e05f72f
UD
830 * po/nl.po: Update from translation team.
831
86621b49
UD
8322001-06-09 Bruno Haible <haible@clisp.cons.org>
833
834 * iconvdata/gconv-modules (BIG5HKSCS): New alias BIG5-HKSCS.
835 (ISO-8859-14): New aliases ISO_8859-14 and ISO-CELTIC.
836 * iconvdata/tst-tables.sh: For BIG5HKSCS, use BIG5-HKSCS charmap.
837
8382001-05-26 Bruno Haible <haible@clisp.cons.org>
839
840 * iconvdata/tst-tables.sh: For SJIS module, use SHIFT_JIS charmap.
841 * manual/charset.texi: Write Shift_JIS, not Shift-JIS.
842
986ad61e
RM
8432001-06-17 Roland McGrath <roland@frob.com>
844
b8744bea
RM
845 * sysdeps/pthread/aio_misc.h (LIO_DSYNC): Define to LIO_NOP + 1,
846 not LIO_READ + 1 (which is the value of LIO_WRITE!).
847
c7414a8e
RM
848 * Makerules (build-module-helper-objlist): New variable,
849 broken out of build-module. Insert --whole-archive/--no-whole-archive
850 immediately each *_pic.a file in the link object list.
851 (whole-archive): New variable, used by that.
852 (build-module-objlist): New variable using build-module-helper-objlist.
853 (build-module, build-module-helper): Use it.
854 (build-shlib-objlist): New variable using build-module-helper-objlist.
855 (build-shlib): Use that.
856 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Likewise.
857
986ad61e
RM
858 * posix/spawni.c: Moved to ...
859 * sysdeps/posix/spawni.c: ... here.
860 * sysdeps/generic/spawni.c: New file.
861
5fe915ee
RM
8622001-06-16 Roland McGrath <roland@frob.com>
863
864 * hurd/Makefile (routines): Add lookup-retry.
865 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ...
866 * hurd/lookup-retry.c: ... into here, new file.
867 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead
868 using of duplicate code here.
869
870 * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
871
5b60c9fc
UD
8722001-06-17 Ulrich Drepper <drepper@redhat.com>
873
874 * po/ja.po: Update from translation team.
875
aac0e8c4
UD
8762001-06-04 Bruno Haible <haible@clisp.cons.org>
877
878 * locale/programs/locfile.c (siblings_uncached, siblings, full_read,
879 compare_files): New functions.
da1375be 880 (write_locale_data): Use xmalloc. Compare the file with the locale
aac0e8c4
UD
881 data files for the same category in other locales, and reuse it if
882 possible and safe.
883
8fee1bb0
UD
8842001-06-07 Mark Kettenis <kettenis@gnu.org>
885
886 * grp/initgroups.c (initgroups): Factor out re-usable code into...
887 (internal_getgrouplist): ... new function.
888 (getgrouplist): New function.
889 * grp/grp.h (getgrouplist): New prototype.
890 * grp/Versions [2.2.4]: Add getgrouplist.
891
8922001-06-16 Ulrich Drepper <drepper@redhat.com>
893
894 * inet/netinet/ip6.h: Fix comments in ip6_hdr.
895 Patch by Pekka Savola <pekkas@netcore.fi>.
896
81dacf8a
RM
8972001-06-15 Roland McGrath <roland@frob.com>
898
899 * rt/Makefile (aio-routines, clock-routines, timer-routines): New
900 variables, broken out of librt-routines.
901 (librt-routines): Set using those.
902 (extra-libs, extra-libc-others, tests): Set these unconditionally.
903 (distribute): No need for $(librt-map) or $(librt-routines:=.c) here.
904 * sysdeps/generic/aio_fsync.c: New file.
905 * sysdeps/generic/aio_misc.c: New file.
906 * sysdeps/generic/aio_write.c: New file.
907 * sysdeps/generic/aio_write64.c: New file.
908 * sysdeps/generic/aio_read64.c: New file.
909 * sysdeps/generic/aio_read.c: New file.
910 * sysdeps/generic/aio_notify.c: New file.
911 * sysdeps/generic/lio_listio64.c: New file.
912 * sysdeps/generic/lio_listio.c: New file.
913 * sysdeps/generic/aio_cancel.c: New file.
914 * sysdeps/generic/aio_misc.h: New file.
915 * sysdeps/generic/aio_suspend.c: New file.
916 * rt/aio_cancel.c: Moved to ...
917 * sysdeps/pthread/aio_cancel.c: ... here.
918 * rt/aio_fsync.c: Moved to ...
919 * sysdeps/pthread/aio_fsync.c: ... here.
920 * rt/aio_misc.c: Moved to ...
921 * sysdeps/pthread/aio_misc.c: ... here.
922 * rt/aio_misc.h: Moved to ...
923 * sysdeps/pthread/aio_misc.h: ... here.
924 * rt/aio_notify.c: Moved to ...
925 * sysdeps/pthread/aio_notify.c: ... here.
926 * rt/aio_read.c: Moved to ...
927 * sysdeps/pthread/aio_read.c: ... here.
928 * rt/aio_read64.c: Moved to ...
929 * sysdeps/pthread/aio_read64.c: ... here.
930 * rt/aio_suspend.c: Moved to ...
931 * sysdeps/pthread/aio_suspend.c: ... here.
932 * rt/aio_write.c: Moved to ...
933 * sysdeps/pthread/aio_write.c: ... here.
934 * rt/aio_write64.c: Moved to ...
935 * sysdeps/pthread/aio_write64.c: ... here.
936 * rt/lio_listio.c: Moved to ...
937 * sysdeps/pthread/lio_listio.c: ... here.
938 * rt/lio_listio64.c: Moved to ...
939 * sysdeps/pthread/lio_listio64.c: ... here.
940
636ccfc8
UD
9412001-06-14 Roland McGrath <roland@frob.com>
942
943 * configure.in: Let sysdeps Implies files in add-ons bring in
944 sysdeps directories from the main source and other add-ons too.
945
9462001-06-15 Jakub Jelinek <jakub@redhat.com>
947
948 * math/test-misc.c (main): Add tests for nextafter and nexttoward
949 with +-Inf as second argument.
950
951 * sysdeps/generic/s_nexttowardf.c (__nexttowardf): Only check for
952 NaN, not Inf.
953 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Fix check for NaN.
954 * sysdeps/i386/fpu/s_nexttoward.c: New.
955 * sysdeps/i386/fpu/s_nexttowardf.c: New.
956 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Simplify
957 check for NaN, optimize x==+-0 handling.
958 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): Likewise.
959 * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Simplify
960 check for NaN, fix sign in x==+-0 case.
961 * sysdeps/ia64/fpu/s_nexttoward.c: New.
962 * sysdeps/ia64/fpu/s_nexttowardf.c: New.
963
9642001-06-15 H.J. Lu <hjl@gnu.org>
965
966 * rt/tst-aio2.c (do_test): Initialize cb.aio_offset to 0.
967 * rt/tst-aio3.c (do_test): Likewise.
968 * rt/tst-aio4.c (do_test): Likewise.
969 * rt/tst-aio5.c (do_test): Likewise.
970 * rt/tst-aio6.c (do_test): Likewise.
971
08003272
AS
9722001-06-15 Andreas Schwab <schwab@suse.de>
973
974 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
975 * sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
976
6a9a03d6
AJ
9772001-06-15 Andreas Jaeger <aj@suse.de>
978
979 * gmon/tst-sprofil.c (fac): Make static to avoid compiler warning.
980
53483036
AS
9812001-06-14 Andreas Schwab <schwab@suse.de>
982
0f843f89
AS
983 * elf/ldconfig.c (search_dir): Fix check for regular file.
984
53483036
AS
985 * sysdeps/m68k/fpu/e_log2f.c: Fix typo.
986 * sysdeps/m68k/fpu/e_log2l.c: Fix typo.
987
eeeeed6a
RM
9882001-06-14 Roland McGrath <roland@frob.com>
989
990 * sysdeps/mach/hurd/bits/fcntl.h [ __USE_POSIX199309 || __USE_UNIX98]:
991 (O_DSYNC, O_RSYNC): New macros, both defined to O_SYNC as Linux does.
992
c0c71388
RM
9932001-06-13 Roland McGrath <roland@frob.com>
994
3de5235f
RM
995 * rt/aio_notify.c: Include <unistd.h> for _POSIX_REALTIME_SIGNALS.
996
221dc560
RM
997 * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
998 so the label is not considered unused.
999
1000 * sysdeps/mach/hurd/pwrite64.c: New file.
1001 * sysdeps/mach/hurd/pread64.c: New file.
1002
1003 * sysdeps/mach/hurd/pread.c
1004 (__libc_pread): Define this name, with __pread as an alias.
1005 * sysdeps/mach/hurd/pwrite.c
1006 (__libc_pwrite): Define this name, with __pwrite as an alias.
1007
1008 Implement POSIX "shared memory objects" as regular
1009 files residing in the /var/run/shm/ directory.
1010 This works on any system that supports _POSIX_MAPPED_FILES,
1011 to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
1012 * sysdeps/posix/shm_open.c: New file.
1013 * sysdeps/posix/shm_unlink.c: New file.
1014 * sysdeps/mach/hurd/bits/posix_opt.h
1015 (_POSIX_SHARED_MEMORY_OBJECTS): Define it.
1016
1017 * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
1018 Use raise instead of __aio_sigqueue.
1019
c0c71388
RM
1020 * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.
1021 * sysdeps/mach/hurd/pwrite.c: Likewise.
1022
1023 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3
1024 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4
1025 as default version set.
1026
6999d70e
UD
10272001-06-13 Ulrich Drepper <drepper@redhat.com>
1028
1029 * libio/iolibio.h (_IO_freopen): Correct last parameter to
1030 _IO_file_open.
1031 (_IO_freopen64): Likewise.
1032 Reported by simanek@quantum.karlov.mff.cuni.cz [PR libc/2326].
1033
1034 * elf/elf.h: Add a few more EM_* constants.
1035
10362001-06-12 Bruno Haible <haible@clisp.cons.org>
1037
1038 * intl/dcigettext.c (DCIGETTEXT): Release the lock before returning.
1039
10402001-06-09 Ben Collins <bcollins@debian.org>
1041
1042 * sysdeps/unix/sysv/linux/bits/termios.h: Define __MAX_BAUD.
1043 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1044 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1045 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1046 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1047 * sysdeps/unix/sysv/linux/speed.c: Use __MAX_BAUD instead of
1048 hardcoded B400000.
1049
d002205f
UD
10502001-06-13 Ulrich Drepper <drepper@redhat.com>
1051
1052 * time/sys/time.h: Don't use enum __itimer_which ever for
1053 __itimer_which_t for C++.
1054 Reported by Martin Buchholz <martin@xemacs.org>.
1055
1056 * po/fr.po: Update from translation team.
1057
10582001-06-12 H.J. Lu <hjl@gnu.org>
6b4e880f
AJ
1059
1060 * configure.in: Fix typos in missing program names.
1061 * configure: Regenerated.
1062
f280b985
AJ
10632001-06-12 Andreas Jaeger <aj@suse.de>
1064
a29a3e1a
AJ
1065 * iconvdata/tst-table-to.c: Include string.h for strcmp prototype.
1066
f280b985
AJ
1067 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1068
92ec5b31
AJ
10692001-06-11 Andreas Jaeger <aj@suse.de>
1070
f280b985 1071 * sysdeps/ieee754/ldbl-128/e_coshl.c: New file. Contributed by
92ec5b31
AJ
1072 Stephen L Moshier <moshier@mediaone.net>.
1073
1074 * aclocal.m4: Quote AC_FD_MSG and AC_FD_CC.
1075
1076 * sysdeps/powerpc/fpu/libm-test-ulps: Add ULPs for tanh (-0.7).
1077 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1078
d002205f 10792001-06-11 Michael Deutschmann <michael@talamasca.ocis.net>
207390f7
AJ
1080
1081 * rt/tst-aio4.c (do_test): Test whether rt signals are supported.
1082 Use my_signo instead of MY_SIGNO and initialize it so that the
1083 used signal is always available.
1084
f280b985 10852001-06-11 Andreas Jaeger <aj@suse.de>,
d002205f 1086 Michael Deutschmann <michael@talamasca.ocis.net>
207390f7
AJ
1087
1088 * io/test-lfs.c (do_prepare): Clean up error messages.
c0c71388 1089 (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
207390f7
AJ
1090 (do_test): Likewise.
1091
10922001-06-11 Andreas Jaeger <aj@suse.de>
1093
1094 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (IXANY, IUCLC,
1095 IMAXBEL): Make always visible since they're needed by POSIX.
1096 Closes PR libc/2320, reported by Chris Yeoh <cyeoh@samba.org>.
1097
10982001-06-10 Ben Collins <bcollins@debian.org>
1099
1100 * sysdeps/arm/elf/start.S: Use #function, not @function, for
1101 .type of _start.
1102
1103 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Include limits.h to get
1104 INT_MAX.
1105
11062001-06-07 H.J. Lu <hjl@gnu.org>
1107
1108 * sunrpc/rpc/rpc.h: Add __BEGIN_DECLS/__END_DECLS.
1109
0aaa9c6a
RM
11102001-06-10 Roland McGrath <roland@frob.com>
1111
1112 * elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
1113 * elf/reldep4mod4.c: Likewise.
1114
fecb794f
MK
11152001-06-10 Mark Kettenis <kettenis@gnu.org>
1116
1117 * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
1118
e10a9eba
UD
11192001-06-08 Andreas Schwab <schwab@suse.de>
1120
1121 * posix/regex.c (re_match_2_internal) [case wordbeg, wordend]:
1122 Don't dereference at end of string.
1123
b381189e
RM
11242001-06-06 Roland McGrath <roland@frob.com>
1125
1126 * sysdeps/mach/hurd/getsockopt.c: Fix handling of returned buffer size.
1127 From Robert Bihlmeyer <robbe@orcus.priv.at>.
1128
eb12749a
UD
11292001-06-06 Ulrich Drepper <drepper@redhat.com>
1130
1131 * po/ko.po: Update from translation team.
1132
b73147d0
AJ
11332001-06-06 Andreas Jaeger <aj@suse.de>
1134
1135 * manual/llio.texi (Memory-mapped I/O): Clarify that mapping is to
1136 offset+length-1.
1137 Reported by Robert Bernecky <bernecky@acm.org>.
1138
d1cf3e71
AJ
11392001-06-06 Jakub Jelinek <jakub@redhat.com>
1140
1141 * sysdeps/cris/elf/start.S: Fix a typo introduced by last patch.
1142 * sysdeps/ia64/elf/start.S: Likewise.
1143 * sysdeps/sh/elf/start.S: Likewise.
1144 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1145 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1146
2ecb820e
AJ
11472001-06-05 Matthew Wilcox <willy@ldl.fc.hp.com>
1148
1149 * sysdeps/hppa/bsd-_setjmp.S: New.
1150 * sysdeps/hppa/bsd-setjmp.S: New.
1151
1152 * sysdeps/hppa/dl-machine.h: Reformat asm statements to remove new
1153 gcc warnings about multi-line strings.
1154
1155 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: Remove.
1156 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: Remove.
1157
1158 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Call getrlimit,
1159 setrlimit directly instead of using wrappers.
1160
11612001-05-01 Richard Hirst <rhirst@linuxcare.com>
1162
1163 * sysdeps/unix/sysv/linux/hppa/syscall.S: remove dummy syscall.
1164 * sysdeps/unix/sysv/linux/hppa/sysdep.c: implement syscall.
1165
11662001-06-05 Philipp Thomas <pthomas@suse.de>
1167
1168 * nis/nis_call.c (__nisbind_connect): Don't mark for translation
1169 what can't be translated.
1170
289ac9dd
UD
11712001-06-06 Ulrich Drepper <drepper@redhat.com>
1172
1173 * timezone/zic.c: Update from tzcode2001c.
1174 * timezone/private.h: Likewise.
1175 * timezone/africa: Update from tzdata2001c.
1176 * timezone/asia: Likewise.
1177 * timezone/europe: Likewise.
1178 * timezone/northamerica: Likewise.
1179 * timezone/southamerica: Likewise.
1180 * timezone/zone.tab: Likewise.
1181
601d2942 11822001-06-04 Bruno Haible <haible@clisp.cons.org>
a18f73be 1183
601d2942
UD
1184 * iconv/loop.c (UNICODE_TAG_HANDLER): New macro.
1185 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Invoke
1186 UNICODE_TAG_HANDLER.
1187 (__gconv_transform_internal_ucs2): Likewise.
1188 (__gconv_transform_internal_ucs2reverse): Likewise.
1189 * iconvdata/8bit-gap.c (BODY for TO_LOOP): Invoke UNICODE_TAG_HANDLER.
1190 * iconvdata/8bit-generic.c (BODY for TO_LOOP): Likewise.
1191 * iconvdata/ansi_x3.110.c (BODY for TO_LOOP): Likewise.
1192 * iconvdata/big5.c (BODY for TO_LOOP): Likewise.
1193 * iconvdata/big5hkscs.c (BODY for TO_LOOP): Likewise.
1194 * iconvdata/cp1255.c (BODY for TO_LOOP): Likewise.
1195 * iconvdata/cp1258.c (BODY for TO_LOOP): Likewise.
1196 * iconvdata/euc-cn.c (BODY for TO_LOOP): Likewise.
1197 * iconvdata/euc-jp.c (BODY for TO_LOOP): Likewise.
1198 * iconvdata/euc-kr.c (BODY for TO_LOOP): Likewise.
1199 * iconvdata/euc-tw.c (BODY for TO_LOOP): Likewise.
1200 * iconvdata/gbk.c (BODY for TO_LOOP): Likewise.
1201 * iconvdata/ibm930.c (BODY for TO_LOOP): Likewise.
1202 * iconvdata/ibm932.c (BODY for TO_LOOP): Likewise.
1203 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
1204 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
1205 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
1206 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
1207 * iconvdata/ibm943.c (BODY for TO_LOOP): Likewise.
1208 * iconvdata/iso646.c (BODY for TO_LOOP): Likewise.
1209 * iconvdata/iso8859-1.c (BODY for TO_LOOP): Likewise.
1210 * iconvdata/iso_6937.c (BODY for TO_LOOP): Likewise.
1211 * iconvdata/iso_6937-2.c (BODY for TO_LOOP): Likewise.
1212 * iconvdata/iso-2022-cn.c (BODY for TO_LOOP): Likewise.
1213 * iconvdata/iso-2022-cn-ext.c (BODY for TO_LOOP): Likewise.
1214 * iconvdata/iso-2022-kr.c (BODY for TO_LOOP): Likewise.
1215 * iconvdata/johab.c (BODY for TO_LOOP): Likewise.
1216 * iconvdata/sjis.c (BODY for TO_LOOP): Likewise.
1217 * iconvdata/t.61.c (BODY for TO_LOOP): Likewise.
1218 * iconvdata/uhc.c (BODY for TO_LOOP): Likewise.
1219 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1220 * iconvdata/iso-2022-jp.c (TAG_none, TAG_language, TAG_language_j,
1221 TAG_language_ja, TAG_language_k, TAG_language_ko, TAG_language_z,
1222 TAG_language_zh, CURRENT_TAG_MASK): New enum values.
1223 (EMIT_SHIFT_TO_INIT): Don't emit an escape sequence if ASCII_set
1224 is already selected but set2 or tag are set.
1225 (conversion): New enum type.
1226 (cvlist_t): New type.
1227 (CVLIST, CVLIST_FIRST, CVLIST_REST): New macros.
1228 (conversion_lists): New array.
da1375be 1229 (BODY for TO_LOOP): Keep track of Unicode 3.1 language tag. If "ja",
ad10cac8 1230 prefer conversion to Japanese character sets. If "zh", prefer
da1375be 1231 conversion to GB2312. If "ko", prefer conversion to KSC5601. Small
601d2942
UD
1232 optimizations.
1233 (INIT_PARAMS): Add tag.
1234 (UPDATE_PARAMS): Add tag.
1235
12362001-06-04 Bruno Haible <haible@clisp.cons.org>
1237
1238 * locale/programs/locfile.c (write_locale_data): Before creat(),
1239 unlink the file, to avoid crashing the processes that mmap it. Change
1240 a double slash to a single slash. Free fname in case of error return.
1241
12422001-06-02 Jakub Jelinek <jakub@redhat.com>
1243
1244 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Mostly revert 2000-12-03
1245 changes, do the special handling for denormal numbers, not for
1246 normalized numbers (patch by <trevin@xmission.com>).
1247
1248 * math/test-misc.c (main): Test frexpl with denormal arguments.
1249
12502001-06-04 Jakub Jelinek <jakub@redhat.com>
1251
1252 * math/libm-test.inc (llround_test): Add two new llround tests.
1253 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Don't allow
1254 overflow when rounding away from zero.
1255
12562001-06-04 Jakub Jelinek <jakub@redhat.com>
1257
1258 * math/Makefile (libm-calls): Add e_log2, w_log2, remove s_log2.
1259 * math/math_private.h (__ieee754_log2, __ieee754_log2f,
1260 __ieee754_log2l): New prototypes.
1261 * sysdeps/generic/w_log2.c: New file.
1262 * sysdeps/generic/w_log2f.c: New file.
1263 * sysdeps/generic/w_log2l.c: New file.
1264 * sysdeps/generic/s_log2l.c: Move...
da1375be 1265 * sysdeps/generic/e_log2l.c: ...to here. Rename to __ieee754_log2l.
601d2942
UD
1266 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle log2(0)
1267 and log2(x < 0).
1268 * sysdeps/i386/fpu/s_log2.S: Move...
da1375be 1269 * sysdeps/i386/fpu/e_log2.S: ...to here. Rename to __ieee754_log2.
601d2942 1270 * sysdeps/i386/fpu/s_log2f.S: Move...
da1375be 1271 * sysdeps/i386/fpu/e_log2f.S: ...to here. Rename to __ieee754_log2f.
601d2942 1272 * sysdeps/i386/fpu/s_log2l.S: Move...
da1375be 1273 * sysdeps/i386/fpu/e_log2l.S: ...to here. Rename to __ieee754_log2l.
53483036 1274 * sysdeps/m68k/fpu/s_log2.c: Move...
da1375be 1275 * sysdeps/m68k/fpu/e_log2.c: ...to here. Rename to __ieee754_log2.
53483036 1276 * sysdeps/m68k/fpu/s_log2f.c: Move...
da1375be 1277 * sysdeps/m68k/fpu/e_log2f.c: ...to here. Rename to __ieee754_log2f.
53483036 1278 * sysdeps/m68k/fpu/s_log2l.c: Move...
da1375be 1279 * sysdeps/m68k/fpu/e_log2l.c: ...to here. Rename to __ieee754_log2l.
601d2942 1280 * sysdeps/ieee754/dbl-64/s_log2.c: Move...
da1375be 1281 * sysdeps/ieee754/dbl-64/e_log2.c: ...to here. Rename to
601d2942
UD
1282 __ieee754_log2.
1283 * sysdeps/ieee754/flt-32/s_log2f.c: Move...
da1375be 1284 * sysdeps/ieee754/flt-32/e_log2f.c: ...to here. Rename to
601d2942
UD
1285 __ieee754_log2f.
1286
12872001-06-04 Jakub Jelinek <jakub@redhat.com>
1288
1289 * sysdeps/generic/w_exp2.c (u_threshold): Lower threshold so that
1290 even arguments which result in denormalized exp2 are accepted.
1291 (__exp2): Arguments equal to u_threshold already result into
1292 underflow.
1293 * sysdeps/generic/w_exp2f.c (u_threshold, __exp2f): Likewise.
1294 * sysdeps/generic/w_exp2l.c (u_threshold, __exp2l): Likewise.
1295 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Lomark was too
1296 low, with corrected lowmark use greaterequal, not greater.
1297 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1298
12992001-06-04 Jakub Jelinek <jakub@redhat.com>
1300
1301 * math/libm-test.inc (ilogb_test): Test that ilogb(+-Inf) == INT_MAX.
1302 * sysdeps/i386/fpu/s_ilogb.S (__ilogb): Return INT_MAX for +-Inf.
1303 * sysdeps/i386/fpu/s_ilogbf.S (__ilogbf): Likewise.
1304 * sysdeps/i386/fpu/s_ilogbl.S (__ilogbl): Likewise.
1305 * sysdeps/ieee754/dbl-64/s_ilogb.c (__ilogb): Likewise.
1306 * sysdeps/ieee754/flt-32/s_ilogbf.c (__ilogbf): Likewise.
1307 * sysdeps/ieee754/ldbl-128/s_ilogbl.c (__ilogbl): Likewise.
1308 * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Likewise.
1309
13102001-06-04 Jakub Jelinek <jakub@redhat.com>
1311
1312 * sysdeps/generic/w_coshl.c (__coshl): Test if finite argument
1313 gave non-finite result instead of using constant in generic
1314 version.
1315 * sysdeps/generic/w_coshf.c (__coshf): Likewise.
1316 * sysdeps/generic/w_cosh.c (__cosh): Likewise.
1317 * sysdeps/generic/w_exp10.c (o_threshold, u_threshold): Remove.
1318 (__exp10): Test if finite argument gave non-finite result.
1319 * sysdeps/generic/w_exp10f.c (o_threshold, u_threshold, __exp10f):
1320 Likewise.
1321 * sysdeps/generic/w_exp10l.c (o_threshold, u_threshold, __exp10l):
1322 Likewise.
1323
13242001-06-04 Jakub Jelinek <jakub@redhat.com>
1325
1326 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Fix
1327 overflow threshold constant (log(LDBL_MAX)+M_LN2l).
1328
13292001-05-29 Bruno Haible <haible@clisp.cons.org>
1330
1331 * locale/programs/ld-ctype.c (idx_table): New struct type.
1332 (idx_table_init, idx_table_get, idx_table_add): New functions.
1333 (MAX_CHARNAMES_IDX): Remove macro.
1334 (locale_ctype_t): Change type of charnames_idx field.
1335 (ctype_startup): Change initialization of charnames_idx field.
1336 (find_idx): Use idx_table_get and idx_table_add for speed.
1337
1338 * locale/programs/charmap.c (charmap_new_char): Fix ucs4 value
1339 computation of characters in a range.
1340
13412001-05-29 Bruno Haible <haible@clisp.cons.org>
1342
1343 * iconvdata/gb18030.c (__fourbyte_to_ucs1): Add mappings for <U03F4>,
1344 <U03F5>.
1345 (__ucs_to_gb18030_tab1): Likewise.
1346 (BODY for FROM_LOOP): Add mapping for <U00010000>..<U0010FFFF>.
1347 (BODY for TO_LOOP): Likewise.
1348 * iconvdata/tst-table-charmap.sh: Update for charmaps containing
1349 <U00xxxxxx> syntax.
1350 * iconvdata/tst-table-from.c (bmp_only): New variable.
1351 (utf8_decode): If bmp_only, don't return characters outside Unicode
1352 plane 0.
da1375be 1353 (main): When testing UTF-8 or GB18030, set bmp_only to 1. Don't print
601d2942
UD
1354 a conversion line if utf8_decode returns NULL.
1355 * iconvdata/tst-table-to.c (main): When testing encodings other than
da1375be 1356 UTF-8 and GB18030, loop upto U+30000 instead of U+10000. Use UTF-8
601d2942
UD
1357 instead of UCS-2 as input.
1358 * iconvdata/tst-table.sh: For GB18030, use only the part < 0x10000
1359 of the charmap.
1360
13612001-05-29 Bruno Haible <haible@clisp.cons.org>
1362
1363 * iconvdata/cns11643l1.c: Update to Unicode 3.1.
1364 (__cns11643l1_to_ucs4_tab): Regenerated.
1365 (__cns11643l1_from_ucs4_tab12): Regenerated.
1366 * iconvdata/cns11643.c: Update to Unicode 3.1.
1367 (__cns11643l14_to_ucs4_tab): Remove array.
1368 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1369 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1370 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New arrays.
1371 (__cns11643_from_ucs4p0_tab): Renamed from __cns11643_from_ucs4_tab.
1372 (__cns11643_from_ucs4p2_tab): New array.
1373 * iconvdata/cns11643.h (__cns11643l14_to_ucs4_tab): Remove declaration.
1374 (__cns11643l3_to_ucs4_tab, __cns11643l4_to_ucs4_tab,
1375 __cns11643l5_to_ucs4_tab, __cns11643l6_to_ucs4_tab,
1376 __cns11643l7_to_ucs4_tab, __cns11643l15_to_ucs4_tab): New declarations.
1377 (cns11643_to_ucs4): Treat planes 3, 4, 5, 6, 7, 15 instead of 14.
1378 (__cns11643_from_ucs4_tab): Remove declaration.
1379 (__cns11643_from_ucs4p0_tab, __cns11643_from_ucs4p2_tab): New
1380 declarations.
da1375be 1381 (ucs4_to_cns11643): Update for new arrays. Treat U+3400..U+4DFF and
601d2942
UD
1382 U+20000..U+2A6D6.
1383 * iconvdata/cns11643l2.h (__cns11643_from_ucs4_tab): Remove
1384 declaration.
1385 (__cns11643_from_ucs4p0_tab): New declaration.
1386 (ucs4_to_cns11643l2): Update for new arrays.
1387 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Handle planes
1388 3 to 7.
1389 (BODY for TO_LOOP): Handle planes 3 to 7, instead of plane 14.
1390 * iconvdata/EUC-TW.irreversible: New file.
1391 * iconvdata/tst-table.sh: Use it.
1392 * iconvdata/Makefile (distribute): Add CP1255.irreversible,
1393 CP1258.irreversible, EUC-TW.irreversible.
1394
13952001-05-29 Bruno Haible <haible@clisp.cons.org>
1396
1397 * locale/C-translit.h.in: Add transliterations for new Unicode 3.1
1398 mathematical symbols.
a18f73be 1399
a1b567d0
AJ
14002001-06-05 Andreas Jaeger <aj@suse.de>
1401
1402 * manual/stdio.texi (Portable Positioning): Fix description of
1403 fpos_t and fpos64_t.
1404
344af000
UD
14052001-06-06 Ulrich Drepper <drepper@redhat.com>
1406
1407 * sysdeps/generic/wordexp.c: Undo last patch. Use strndupa instead.
1408
1409 * po/sk.po: Update from translation team.
1410
f8d32693
AJ
14112001-06-05 Andreas Jaeger <aj@suse.de>
1412
1413 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Recognize
1414 tmpfs, patch by Stanislav Brabec <utx@penguin.cz>.
1415 Closes PR libc/2315.
1416
b66aba32
UD
14172001-06-05 Ulrich Drepper <drepper@redhat.com>
1418
1419 * sysdeps/generic/wordexp.c: Add missing free.
1420 Patch by yeti@physics.muni.cz.
1421
5bb46825
AJ
14222001-06-02 Tom Browder <tbrowder@home.com>
1423
1424 * misc/tst-tsearch.c (mangle_tree): Ensure array indices are
1425 within bounds when lag > 0.
1426
76f696fc
UD
14272001-06-05 Ulrich Drepper <drepper@redhat.com>
1428
1429 * po/tr.po: New file.
1430
6a7a8b22
AJ
14312001-06-05 Andreas Jaeger <aj@suse.de>
1432
1433 * manual/libm-err-tab.pl (parse_ulps): Fix typo.
1434
14352001-06-04 H.J. Lu <hjl@gnu.org>
1436
1437 * sysdeps/alpha/elf/start.S: Add .type for the entry point.
1438 * sysdeps/arm/elf/start.S: Likewise.
1439 * sysdeps/hppa/elf/start.S: Likewise.
1440 * sysdeps/i386/elf/start.S: Likewise.
1441 * sysdeps/m68k/elf/start.S: Likewise.
1442 * sysdeps/mips/elf/start.S: Likewise.
1443 * sysdeps/ia64/elf/start.S: Likewise.
1444 * sysdeps/sh/elf/start.S: Likewise.
1445 * sysdeps/s390/s390-32/elf/start.S: Likewise.
1446 * sysdeps/s390/s390-64/elf/start.S: Likewise.
1447 * sysdeps/cris/elf/start.S: Likewise.
1448
14492001-06-04 Bruce Mitchener <bruce@cubik.org>
1450
1451 * manual/resource.texi: Correct setpriority/nice documentation.
1452
1453 * sysdeps/unix/nice.c: Correct nice() implementation.
1454
17827c3a
AJ
14552001-06-04 Andreas Jaeger <aj@suse.de>
1456
1457 * sysdeps/ieee754/ldbl-128/e_sinhl.c: New file, contributed by
1458 Stephen L Moshier <moshier@mediaone.net>.
1459
eaeeb1eb
RM
14602001-06-03 Roland McGrath <roland@frob.com>
1461
1462 * Makefile (postclean): Remove obsolete sysd-Makefile.
1463
bb653c36
RM
14642001-06-01 Roland McGrath <roland@frob.com>
1465
4eb8a862
RM
1466 * sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
1467 and use compat_symbol/versioned_symbol instead of plain
1468 symbol_version/default_symbol_version.
1469 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
1470 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
1471 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
1472 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
1473 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
1474 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
1475 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1476 * sysdeps/arm/fpu/fegetenv.c: Likewise.
1477 * sysdeps/arm/fpu/fesetenv.c: Likewise.
1478 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1479 * sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
1480 * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
1481 * sysdeps/i386/fpu/fegetenv.c: Likewise.
1482 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1483 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1484 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1485 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1486 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1487 * sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
1488 * sysdeps/m68k/fpu/fegetenv.c: Likewise.
1489 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
1490 * sysdeps/m68k/fpu/feupdateenv.c: Likewise.
1491 * sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
1492 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1493 * sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
1494 * sysdeps/powerpc/fclrexcpt.c: Likewise.
1495 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1496 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1497 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1498 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1499 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1500 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1501
bb653c36
RM
1502 * iconvdata/cp1258.c: Include <stdlib.h> for abort decl.
1503 * iconvdata/iso-2022-cn-ext.c: Likewise.
1504
548e813d
AJ
15052001-06-01 Andreas Jaeger <aj@suse.de>
1506
1507 * Versions.def: Add version 2.2.4.
1508
b5041719
UD
15092001-06-01 Ulrich Drepper <drepper@redhat.com>
1510
1511 * socket/Makefile (routines): Add sockatmark.
1512 * socket/Versions [GLIBC_2.2.4]: Add sockatmark.
1513 * socket/sys/socket.h: Add prototype for sockatmark.
1514 * sysdeps/generic/sockatmark.c: New file.
1515 * sysdeps/unix/sockatmark.c: New file.
1516
852d75f9
AJ
15172001-06-01 Andreas Jaeger <aj@suse.de>
1518
1519 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Max speed is
1520 B4000000.
1521 (cfsetospeed): Likewise.
1522 Reported by Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>.
1523
15242001-05-31 Joseph S. Myers <jsm28@cam.ac.uk>
1525
1526 * misc/sys/cdefs.h (__restrict_arr): Define to empty for C++.
1527
371881fe
AJ
15282001-05-30 Martin Schwidefsky <schwidefsky@de.ibm.com>
1529
1530 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: greg_t
1531 needs to have the same aligment as the kernel structure.
1532
c2cc0483
UD
15332001-05-29 Jakub Jelinek <jakub@redhat.com>
1534
1535 * sunrpc/rpc/types.h (u_char, u_short, u_int, u_long, quad_t,
1536 u_quad_t, fsid_t, daddr_t, caddr_t): Make sure the types are defined.
1537 * posix/sys/types.h (u_char, u_short, u_int, u_long, quad_t,
1538 u_quad_t, fsid_t, daddr_t, caddr_t): Protect the __USE_BSD typedefs
1539 against multiple definition.
1540
a18b5b49
UD
15412001-05-30 Ulrich Drepper <drepper@redhat.com>
1542
1543 * po/da.po: Update from translation team.
1544
c9bfaa1b
AJ
15452001-05-29 Andreas Jaeger <aj@suse.de>
1546
1547 * sysdeps/ieee754/ldbl-128/e_acosl.c: New file, contributed by
1548 Stephen L Moshier <moshier@mediaone.net>.
1549
1550 * math/libm-test.inc (sinh_test): Add new test case.
1551
1552 * sysdeps/ieee754/ldbl_96/e_sinhl.c (__ieee754_sinhl): sinhl(x) =
1553 x when x < 2^-32.
1554 Patch by Stephen L Moshier <moshier@mediaone.net>.
1555
de64faec
AJ
15562001-05-23 Andreas Jaeger <aj@suse.de>
1557
1558 * iconvdata/testdata/WINDOWS-1255..UTF-8: Renamed to...
1559 * iconvdata/testdata/WINDOWS-1255..UTF8: this.
1560
417d6b34
AJ
15612001-05-27 Andreas Jaeger <aj@suse.de>
1562
1563 * manual/stdio.texi (String Streams): Fix fmemopen description.
1564 Reported by Michal Kochanowicz <michal@michal.waw.pl>.
1565
f7b8b666
AJ
15662001-05-26 H.J. Lu <hjl@gnu.org>
1567
dbbf07d0 1568 * sysdeps/unix/sysv/linux/mips/syscalls.list: Change sigsuspend
da1375be 1569 to s_sigsuspend. Add s_mmap2.
dbbf07d0
AJ
1570
1571 * sysdeps/mips/atomicity.h: New file.
1572
1573 * sysdeps/unix/sysv/linux/mips/getsysstats.c: New file.
1574
f7b8b666
AJ
1575 * sysdeps/unix/sysv/linux/mips/bits/ipc.h (ipc_perm): Put
1576 back __key.
1577
b912ca11
UD
15782001-05-25 Bruce Mitchener <bruce@cubik.org>
1579
1580 * manual/ctype.texi: Minor fix.
1581 * manual/install.texi: Likewise.
1582 * manual/startup.texi: Likewise.
1583 * manual/examples/dir.c: Use perror() rather than puts().
1584
15852001-05-25 David Mosberger <davidm@hpl.hp.com>
1586
1587 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
1588 #endif directive inside a comment to avoid compiler warnings.
1589
15902001-05-25 Philipp Thomas <pthomas@suse.de>
1591
1592 * nis/nis_print.c (nis_nstype2str): Don't mark names of
1593 naming services for translation, only UNKNOWN needs it.
1594 Add comment to prevent it for the future.
1595
15962001-05-25 Joseph S. Myers <jsm28@cam.ac.uk>
1597
1598 * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
1599 3.1 and non-GCC C99 compilers.
1600
995a692a
UD
16012001-05-22 David Mosberger <davidm@hpl.hp.com>
1602
1603 * sysdeps/ia64/memmove.S: Increase MEMLAT from 6 to 21 for better
1604 performance.
1605 * sysdeps/ia64/memcpy.S: Likewise.
1606
1607 * sysdeps/ia64/bcopy.S: New file.
1608
1609 * sysdeps/ia64/bzero.S: New file (derived from memset.S).
1610
16112001-05-26 Ulrich Drepper <drepper@redhat.com>
1612
1613 * sysdeps/ia64/fpu/libm-test-ulps: Add deltas for tanh(-0.7).
1614
65fa1dec
UD
16152001-05-24 Ulrich Drepper <drepper@redhat.com>
1616
1617 * iconvdata/Makefile: Add rules for CP10007.
1618 * iconvdata/gconv-modules: Add entries for CP10007 ad MacCyrillic.
1619 * iconvdata/cp10007.c: New file.
1620 * iconvdata/tst-tables.sh: Add CP10007.
1621
64b7897d
UD
16222001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
1623
1624 * sysdeps/sh/dl-machine.h (_dl_runtime_resolve): Handle newer PLT.
1625 (_dl_runtime_profile): Likewise..
1626
16272001-05-23 Thorsten Kukuk <kukuk@suse.de>
1628
1629 * sysdeps/posix/getaddrinfo.c: Support for AF_UNIX commented out.
1630 * posix/tst-getaddrinfo.c: Remove AF_UNIX test.
1631
16322001-05-19 H.J. Lu <hjl@gnu.org>
1633
1634 * elf/dl-deps.c (_dl_map_object_deps): Pass objname and
1635 errstring of the failed DSO to _dl_signal_error ().
1636
22107048
UD
16372001-05-23 Ulrich Drepper <drepper@redhat.com>
1638
1639 * iconvdata/gconv-modules: Add more aliases to enable use in
1640 locale names.
1641
505d5e18
AJ
16422001-05-23 Andreas Jaeger <aj@suse.de>
1643
1644 * sysdeps/unix/sysv/linux/ia64/Makefile (CFLAGS-initfini.s):
1645 Remove, it's not used anywhere anymore.
1646 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile
1647 (CFLAGS-initfini.s): Likewise.
1648 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1649 (CFLAGS-initfini.s): Likewise.
1650 * sysdeps/unix/sysv/linux/powerpc/Makefile (CFLAGS-initfini.s):
1651 Likewise.
1652 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-initfini.s):
1653 Likewise.
1654
e0178305
UD
16552001-05-21 Bruno Haible <haible@clisp.cons.org>
1656
1657 * wcsmbs/mbrtowc.c (mbrtowc): Remove local variable 'flush', always
1658 use 0 instead, and rely on the converter to do the flush.
1659 * wcsmbs/tst-mbrtowc.c (utf8_test_1): New function, taken from
1660 utf8_test.
1661 (utf8_test_2, utf8_test_3): New function.
1662 (utf8_test): Call utf8_test_1, utf8_test_2, utf8_test_3.
1663
1826d793
UD
16642001-05-22 Jakub Jelinek <jakub@redhat.com>
1665
1666 * elf/dl-close.c (_dl_close): Save imap->l_reldeps, not map->l_reldeps.
1667
1668 * elf/Makefile (distribute): Add reldep4mod[1234].c.
1669 (tests): Add reldep4.
1670 (modules-names): Add reldep4mod[1234].
1671 (reldep4mod1.so, reldep4mod2.so, reldep4, reldep4.out): New rules.
1672 * elf/reldep4.c: New file.
1673 * elf/reldep4mod1.c: Likewise.
1674 * elf/reldep4mod2.c: Likewise.
1675 * elf/reldep4mod3.c: Likewise.
1676 * elf/reldep4mod4.c: Likewise.
1677
80d9c5f0
UD
16782001-05-18 Jakub Jelinek <jakub@redhat.com>
1679
1680 * elf/dl-lookup.c (PROTECTED): Remove defines.
1681 (add_dependency): Mark it with internal_function.
1682 (_dl_do_lookup, _dl_do_lookup_versioned): New functions.
1683 (_dl_lookup_symbol, _dl_lookup_symbol_skip,
1684 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip): Use
1685 it if we don't want do_lookup* inlined.
1686
16872001-05-18 Jakub Jelinek <jakub@redhat.com>
1688
1689 * include/link.h (struct r_scope_elem): Remove r_duplist and
1690 r_nduplist fields.
1691 * elf/dl-load.c (_dl_map_object_from_fd): Don't initialize them.
1692 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Look in r_list, not
1693 r_duplist.
1694 (_dl_lookup_versioned_symbol_skip): Likewise.
1695 * elf/dl-deps.c (struct list): Remove dup field, rename unique to next.
1696 (_dl_map_object_deps): Don't compute duplicate list.
1697
1698 * elf/dl-symbol.c: Removed.
1699 * elf/Makefile (routines): Remove dl-symbol.
1700
17012001-05-22 Ulrich Drepper <drepper@redhat.com>
1702
1703 * po/el.po: Update from translation team.
1704 * po/sv.po: Likewise.
1705
2373b30e
UD
17062001-05-20 Bruno Haible <haible@clisp.cons.org>
1707
1708 * iconvdata/cp1255.c: Completely rewritten.
1709 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1255.
1710 * iconvdata/testdata/WINDOWS-1255: New file.
1711 * iconvdata/testdata/WINDOWS-1255..UTF8: New file.
1712 * iconvdata/TESTS: Add WINDOWS-1255 test.
1713 * iconvdata/CP1255.irreversible: New file.
1714
17152001-05-20 Bruno Haible <haible@clisp.cons.org>
1716
1717 * iconvdata/cp1258.c: Completely rewritten.
1718 * iconvdata/Makefile (gen-8bit-gap-modules): Remove cp1258.
1719 * iconvdata/testdata/WINDOWS-1258: New file.
1720 * iconvdata/testdata/WINDOWS-1258..UTF8: New file.
1721 * iconvdata/TESTS: Add WINDOWS-1258 test.
1722 * iconvdata/tst-table-from.c (try): Reset the iconv descriptor before
1723 the main call, and flush it afterwards.
1724 (utf8_decode): Return a string, possibly containing several Unicode
1725 characters.
1726 (main): Update all utf8_decode calls.
1727 * iconvdata/CP1258.irreversible: New file.
1728
17292001-05-20 Bruno Haible <haible@clisp.cons.org>
1730
1731 * iconv/gconv.c (__gconv): For flush without output, pass do_flush = 2.
da1375be 1732 * iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2. In the
2373b30e
UD
1733 first case, set outbuf, outstart, outend, and call PREPARE_LOOP before
1734 EMIT_SHIFT_TO_INIT; then pass the output produced by this step down to
da1375be 1735 the next step. In the second case, clear the state without calling
2373b30e
UD
1736 EMIT_SHIFT_TO_INIT.
1737 * iconvdata/ibm930.c (EMIT_SHIFT_TO_INIT): Use outbuf instead of
1738 data->__outbuf, and outend instead of data->__outbufend.
1739 * iconvdata/ibm933.c (EMIT_SHIFT_TO_INIT): Likewise.
1740 * iconvdata/ibm935.c (EMIT_SHIFT_TO_INIT): Likewise.
1741 * iconvdata/ibm937.c (EMIT_SHIFT_TO_INIT): Likewise.
1742 * iconvdata/ibm939.c (EMIT_SHIFT_TO_INIT): Likewise.
1743 * iconvdata/iso-2022-cn.c (EMIT_SHIFT_TO_INIT): Likewise.
1744 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Likewise.
1745 * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Likewise.
1746 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Likewise.
1747 * iconvdata/utf-7.c (EMIT_SHIFT_TO_INIT): Likewise.
1748
17492001-05-21 Jakub Jelinek <jakub@redhat.com>
1750
1751 * elf/rtld.c (dl_main): Compute l_map_end for the main program.
1752 * elf/dl-sym.c (_dl_sym): Don't check for l_addr == 0.
1753 If match == _dl_loaded, caller can still come from the main program.
1754 (_dl_vsym): Likewise.
1755 * elf/dl-open.c (dl_open_worker): Don't check for l_addr == 0.
1756 * elf/dl-error.c (_dl_signal_error): Change NULL objname into "".
1757 * elf/restest2.c: New test.
1758 * elf/Makefile (tests): Add restest2.
1759 (restest2, LDFLAGS-restest2): Add rules.
1760
25e57b10
UD
17612001-05-22 Ulrich Drepper <drepper@redhat.com>
1762
1763 * intl/Makefile: Add a few more dependencies to avoid races in the
1764 test shell scripts.
1765
90b828e6
AJ
17662001-05-22 Andreas Jaeger <aj@suse.de>
1767
1768 * sysdeps/ieee754/ldbl-128/s_log1pl.c: New file, contributed by
1769 Stephen L Moshier <moshier@mediaone.net>.
1770
17712001-05-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
1772
1773 * sysdeps/s390/s390-32/backtrace.c: Make backtrace return the
1774 return addresses instead of the stack pointers.
1775 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1776
17772001-05-21 Jakub Jelinek <jakub@redhat.com>
1778
1779 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Include
1780 bits/sigcontext.h instead of bits/sigstack.h.
1781 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add
1782 multiple-inclusion guards.
1783
0bc93a2f
AJ
17842001-05-21 Andreas Jaeger <aj@suse.de>
1785
1786 * locale/programs/ld-collate.c (handle_ellipsis): Fix message.
1787 Patch by Philipp Thomas <pthomas@suse.de>.
1788
be594011
AJ
17892001-05-17 Bruce Mitchener <bruce@cubik.org>
1790
1791 * manual/arpg.texi: Spelling, misc fixes.
1792 * manual/arith.texi: Likewise.
1793 * manual/crypt.texi: Likewise.
1794 * manual/debug.texi: Likewise.
1795 * manual/getopt.texi: Likewise.
1796 * manual/intro.texi: Likewise.
1797 * manual/memory.texi: Likewise.
1798 * manual/nss.texi: Likewise.
1799 * manual/pattern.texi: Likewise.
1800 * manual/process.texi: Likewise.
1801 * manual/resource.texi: Likewise.
1802 * manual/search.texi: Likewise.
1803 * manual/setjmp.texi: Likewise.
1804 * manual/signal.texi: Likewise.
1805 * manual/socket.texi: Likewise.
1806 * manual/stdio.texi: Likewise.
1807 * manual/string.texi: Likewise.
1808 * manual/sysinfo.texi: Likewise.
1809 * manual/terminal.texi: Likewise.
1810 * manual/llio.texi: Document madvise().
1811
f1d71039
RM
18122001-05-20 Roland McGrath <roland@frob.com>
1813
1814 * Makeconfig (sysdep-makeconfigs): Include any Makeconfig files
1815 found within $(add-ons) directories too.
1816 [linuxthreads add-on]: Move variable settings for linuxthreads
1817 to new file linuxthreads/Makeconfig.
1818
d6e614de
AJ
18192001-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1820
1821 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
1822 Define for linux >= 2.4.5 on powerpc.
1823 (__ASSUME_MMAP2_SYSCALL): Likewise.
1824
6cceab00
RM
18252001-05-19 Roland McGrath <roland@frob.com>
1826
1827 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the
1828 result port when failing with ELOOP. Do the ELOOP check when
1829 following an absolute symlink target as well as relative.
1830 Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.
1831
f5956cf9
AJ
18322001-05-18 Andreas Jaeger <aj@suse.de>
1833
6e2d19ca
AJ
1834 * po/fr.po: Free software is "logiciel libre".
1835 Patch by Martin Michlmayr <tbm@cyrius.com>.
1836
f5956cf9
AJ
1837 * sysdeps/powerpc/elf/libc-start.c: Use __cxa_atexit.
1838 Patch by ekato@ees.hokudai.ac.jp, closes PR libc/2271.
1839
33bdaa2c
UD
18402001-05-17 David Mosberger <davidm@hpl.hp.com>
1841
1842 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: New file.
1843
7f81ac70
UD
18442001-05-17 Ulrich Drepper <drepper@redhat.com>
1845
1846 * elf/dl-profile.c (_dl_mcount): Check whether state is
1847 GMON_PROF_ON before doing anything.
1848
8d88a164
UD
18492001-05-17 H.J. Lu <hjl@gnu.org>
1850
1851 * elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
1852
8df6c274
UD
18532001-05-17 Ulrich Drepper <drepper@redhat.com>
1854
1855 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Use
1856 CHECK_SIGSET_NULL_OK and not CHECK_SIGSET for all parameters.
1857 Reported by Mark Burton <markb@ordern.com>.
1858
4be8dba8
AJ
18592001-05-17 Jakub Jelinek <jakub@redhat.com>
1860
1861 * elf/ldconfig.c (add_dir): Only warn about stat failure if
1862 opt_verbose.
1863 (search_dir): Likewise.
1864
fb221698
UD
18652001-05-17 Ulrich Drepper <drepper@redhat.com>
1866
1867 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Correct second
1868 parameter of xaddl. Patch by H . J . Lu <hjl@lucon.org>.
1869
304d7abf
UD
18702001-05-14 Bruno Haible <haible@clisp.cons.org>
1871
1872 * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): If SO is seen
1873 without previous announcement, reject it regularly, don't abort.
1874
18752001-05-16 Ulrich Drepper <drepper@redhat.com>
1876
1877 * math/tgmath.h: Fix handling of int parameters to binary and
1878 ternary functions. Reported by mitr@volny.cz.
1879
1880 * math/test-tgmath.c: Add tests for calls with integer parameters.
1881
d1abdd5c
UD
18822001-05-15 Jakub Jelinek <jakub@redhat.com>
1883
1884 * sunrpc/rpc_thread.c (rpc_default): Remove.
1885 (__rpc_thread_destroy): Use __libc_tsd_RPC_VARS_mem instead of
1886 rpc_default.
1887 (rpc_thread_multi, __rpc_thread_svc_fdset, __rpc_thread_createerr,
1888 __rpc_thread_svc_pollfd, __rpc_thread_svc_max_pollfd): Likewise.
1889 * sunrpc/auth_none.c (authnone_private): Fix a typo.
1890
f010f4a3
AJ
18912001-05-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
1892
1893 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Fix stack allocation.
1894
19e4c7dd
AJ
18952001-05-16 Bruce Mitchener <bruce@cubik.org>
1896
304d7abf 1897 * manual/llio.texi: Many grammar and typo fixes to the section on AIO.
19e4c7dd 1898
33996419
AJ
18992001-05-15 Andreas Jaeger <aj@suse.de>
1900
1901 * sysdeps/ieee754/ldbl-128/s_expm1l.c: New file, contributed by
1902 Stephen L Moshier <moshier@mediaone.net>.
1903
1904 * sysdeps/i386/fpu/libm-test-ulps: Adjust for change.
1905
1906 * math/libm-test.inc: Add comment with ToDo.
1907
1908 * sysdeps/i386/fpu/e_expl.c: Rewritten to C and using a more
1909 accurate algorithm. Patch by Stephen L Moshier <moshier@mediaone.net>.
1910
1911 * sysdeps/i386/fpu/e_expl.S: Removed.
1912
083973f3
RM
19132001-05-14 Roland McGrath <roland@frob.com>
1914
1915 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a
1916 static pattern rule also that also covers
1917 $(objpx)g$(static-start-installed-name).
1918 [$(start-installed-name) != $(static-start-installed-name)]
1919 (extra-objs, omit-deps, install-lib): Add
1920 $(static-start-installed-name) and g$(static-start-installed-name).
1921 * sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
1922 just setting static-start-installed-name is now sufficient.
1923 (extra-objs): Add static-start.o here.
1924 (CFLAGS-initfini.s): Remove obsolete variable.
1925 * sysdeps/mach/hurd/i386/Makeconfig: New file.
1926 Define static-start-installed-name here.
1927
1928 * Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
1929 * Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
1930
1931 * Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
1932 associated hair. Instead, just use $(wildcard ...) in the include.
1933
1934 * configure.in (critic_missing, aux_missing): Collect in these vars
1935 the names of the missing programs, and include them in the error msgs.
1936 * configure: Regenerated.
1937
3eab00bd
AJ
19382001-05-14 Andreas Jaeger <aj@suse.de>
1939
1940 * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests.
1941
1942 * math/libm-test.inc (tanh_test): Add testcases for last tanh bug.
1943
19442001-05-14 Stephen L Moshier <moshier@mediaone.net>
1945
1946 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.
1947
19482001-05-11 Jakub Jelinek <jakub@redhat.com>
1949
1950 * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize
1951 as well if swapping strings.
1952 Make sure stop is not past end of second string.
1953 * posix/bug-regex4.c: New test.
1954 * posix/Makefile (tests): Add bug-regex4.
1955
19562001-05-10 Andreas Jaeger <aj@suse.de>
1957
1958 * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
1959 requirement.
1960
e859d1d9
AJ
19612001-05-12 Andreas Jaeger <aj@suse.de>
1962
15b3c029
AJ
1963 * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
1964 internal prototypes.
1965 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1968 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1969 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1970 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74f7eecd 1971 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15b3c029
AJ
1972
1973 * math/math_private.h: Add prototypes for internal functions of
1974 the IBM Accurate Mathematical Library.
1975
1976 * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
1977 prototypes.
1978 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1979
e859d1d9
AJ
1980 * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
1981 internal prototypes.
1982 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1983 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1984 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1989 * sysdeps/generic/e_rem_pio2l.c: Likewise.
1990 (__ieee754_rem_pio2l): Fix prototype.
1991
1992 * math/math_private.h (__copysign): Add internal prototype.
1993
02eca23b
AJ
19942001-05-11 Andreas Jaeger <aj@suse.de>
1995
1996 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
1997 * sysdeps/unix/sysv/linux/mips/configure.in: ...here. New file.
1998
a26e67d3
AJ
19992001-05-11 Andreas Jaeger <aj@suse.de>
2000
2001 * sysdeps/unix/sysv/linux/configure.in: Check binutils version on
2002 MIPS.
2003
2004 * sysdeps/mips/rtld-ldscript.in: Removed unneeded binary output
2005 format directive. Patch by Steven J. Hill <sjhill@cotw.com>.
2006
2344bc54
RM
20072001-05-11 Roland McGrath <roland@frob.com>
2008
2009 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't use
2010 $(build-module) here, since we don't need the full magilla.
2011 Just use $(build-module-helper) and append our special options.
2012
7d2e3d55
AS
20132001-05-09 Andreas Schwab <schwab@suse.de>
2014
2015 * sysdeps/unix/readdir.c: Make sure we don't modify errno when we
2016 reached EOF.
2017
c5d6c25b
AJ
20182001-05-07 H.J. Lu <hjl@gnu.org>
2019
2020 * elf/ldconfig.c (dir_entry): Add ino and dev.
2021 (add_single_dir): Compare ino and dev to check if 2 directory
da1375be 2022 paths are the same or not. Free entry->path for duplicates.
c5d6c25b
AJ
2023 (add_dir): Initialize ino and dev for entry.
2024 (search_dir): Handle symlink to directory.
2025
98f8cdf0
AJ
20262001-05-07 Andreas Jaeger <aj@suse.de>
2027
4c95adde
AJ
2028 * sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.
2029
2030 * math/libm-test.inc (exp_test): Add some more tests.
2031 (pow_test): Run double only test also for long double.
2032
2033 * math/test-ldouble.c (TEST_LDOUBLE): Define.
2034 * math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
2035
8ee20e93
AJ
2036 * sysdeps/generic/bits/confname.h: Remove extra comma at end of
2037 enumeration.
2038 Closes PR libc/2240.
2039
98f8cdf0
AJ
2040 * scripts/config.guess: Imported from gnu.org.
2041 * scripts/config.sub: Likewise.
4ceae915 2042
07c416ed
AJ
20432001-05-05 Jakub Jelinek <jakub@redhat.com>
2044
2045 * include/features.h (__USE_EXTERN_INLINES): Don't define if
2046 __NO_INLINE__ is defined.
2047 * ctype/ctype.h (tolower, toupper): Change the guard condition to
2048 __USE_EXTERN_INLINES check only.
2049 * stdlib/stdlib.h (strtod, ...): Likewise.
2050 * wcsmbs/wchar.h (mbrlen): Likewise.
2051 * string/string.h: Only include bits/string.h and bits/string2.h
2052 if __NO_INLINE__ is not defined.
2053
3ebab9ee
AJ
20542001-05-07 Andreas Jaeger <aj@suse.de>
2055
2056 * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
2057 of @LIBDIR@.
2058
20592001-05-04 H.J. Lu <hjl@gnu.org>
2060
2061 * malloc/Makefile ($(objpfx)memusage): Substitute @SLIBDIR@
2062 not @LIBDIR@.
2063
b3b38042
AJ
20642001-05-06 Andreas Jaeger <aj@suse.de>
2065
8c2dab4f
AJ
2066 * sysdeps/i386/fpu/e_fmodl.c: New, rewrite of e_fmodl.S.
2067 * sysdeps/i386/fpu/e_fmodl.S: Removed.
2068 * sysdeps/i386/fpu/e_atan2l.c: New, rewrite of e_atan2l.S.
2069 * sysdeps/i386/fpu/e_atan2l.S: Removed.
b3b38042
AJ
2070 * sysdeps/i386/fpu/e_acosl.c: New, rewrite of e_acos.S.
2071 * sysdeps/i386/fpu/s_atanl.c: New, rewrite of e_atanl.S.
2072 * sysdeps/i386/fpu/e_sqrtl.c: New, rewrite of e_sqrt.S.
2073 * sysdeps/i386/fpu/e_acosl.S: Removed.
2074 * sysdeps/i386/fpu/s_atanl.S: Removed.
2075 * sysdeps/i386/fpu/e_sqrtl.S: Removed.
2076
aa2e3ec3
MK
20772001-05-05 Mark Kettenis <kettenis@gnu.org>
2078
2079 * sysdeps/mach/hurd/bits/environments.h: Add comment from
2080 sysdeps/generic/bits/environments.h. Define _POSIX_V6_* values.
2081
2c179ef0
AJ
20822001-04-30 Jakub Jelinek <jakub@redhat.com>
2083
2084 * posix/confstr.c (confstr) [_CS_V6_WIDTH_RESTRICTED_ENVS]: Move so
2085 that _CS_LFS_CFLAGS can fall through to the empty returned string
2086 case. Add FALLTHROUGH comment.
2087
b7dd38e6
AJ
20882001-04-29 Ralf Baechle <ralf@gnu.org>
2089
2090 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Make structure
2091 definitions match the kernel definitions.
2092 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2093 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2094
ba77ce24
AJ
20952001-04-29 Ben Collins <bcollins@debian.org>
2096
2097 * sysdeps/sparc/sparc64/dl-machine.h: Fix multiline strings
2098 warnings.
2099 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
2100 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2101 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2102 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Likewise.
2103 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
2104 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2105 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2106 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2107 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2108 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2109 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2110 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2111 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
2112 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2113 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
2114 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2115 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2116 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2117 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2118 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Likewise.
2119 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
2120 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
2121 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2122
8b6b1af4
AS
21232001-04-29 Andreas Schwab <schwab@suse.de>
2124
2125 * sysdeps/unix/sysv/linux/kernel-features.h: Fix missing backslash
2126 in last change.
2127
5385f864
AJ
21282001-04-29 Andreas Jaeger <aj@suse.de>
2129
2130 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2131 Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.
2132
2133 * sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
2134 Linux 2.4.4.
2135 (AF_WANPIPE): Likewise.
2136 (MSG_MORE): New.
2137
2138 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
2139 for Linux generic version.
2140 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
2141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2142 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2143 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
2144
2145 * sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2146
7c2034ad
UD
21472001-04-27 Ulrich Drepper <drepper@redhat.com>
2148
2149 * nis/nss-nis.h: Correct test for invalid error number.
2150 * nis/nss-nisplus.h: Likewise.
2151
29f1a897
UD
2152 * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
2153
48a92e9d
UD
21542001-04-26 Ulrich Drepper <drepper@redhat.com>
2155
fa39bea4
UD
2156 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getunwind.
2157
c51dc068
UD
2158 * string/strcoll.c: Fix two memory allocation problems.
2159 * string/Makefile (tests): Add bug-strcoll1.
2160 * string/bug-strcoll1.c: New file.
2161
1b20d937
UD
2162 * malloc/mcheck.c (mcheck): Call malloc once before setting the
2163 hooks to allow the internal check hooks to be set up if necessary.
2164
48a92e9d
UD
2165 * nis/nss-nis.h: Move yperr2nss_tab definition into separate file
2166 and rename to __yperr2nss_tab. Change YPERR_COUNT into variable
2167 __yperr2nss_count.
2168 * nis/nss-nis.c: New file.
9d4f43ae
UD
2169 * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file
2170 and rename to __niserr2nss_tab. Change NISERR_COUNT into variable
2171 __niserr2nss_count.
2172 * nis/nss-nisplus.c: New file.
48a92e9d
UD
2173 * nis/Makefile (libnss_compat-routines): Add nss-nis.
2174 (libnss_nis-routines): Likewise.
9d4f43ae
UD
2175 (libnss_nisplus-routines): Add nss-nisplus.
2176
9243173a
UD
2177 * nis/nss_nisplus/nisplus-alias.c: Remove unnecessary initializations.
2178 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2179 * nis/nss_nisplus/nisplus-grp.c: Likewise.
2180 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2181 * nis/nss_nisplus/nisplus-network.c: Likewise.
2182 * nis/nss_nisplus/nisplus-proto.c: Likewise.
2183 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2184 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2185 * nis/nss_nisplus/nisplus-service.c: Likewise.
2186 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2187 * nis/nss_nis/nis-alias.c: Likewise.
2188 * nis/nss_nis/nis-ethers.c: Likewise.
2189 * nis/nss_nis/nis-grp.c: Likewise.
2190 * nis/nss_nis/nis-network.c: Likewise.
2191 * nis/nss_nis/nis-proto.c: Likewise.
2192 * nis/nss_nis/nis-pwd.c: Likewise.
2193 * nis/nss_nis/nis-spwd.c: Likewise.
2194 * nis/nss_compat/compat-grp.c: Likewise.
2195 * nis/nss_compat/compat-initgroups.c: Likewise.
2196 * nis/nss_compat/compat-pwd.c: Likewise.
2197 * nis/nss_compat/compat-spwd.c: Likewise.
48a92e9d
UD
2198
2199 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more
2200 optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
2201
e1fff0e7
AJ
22022001-04-26 Andreas Jaeger <aj@suse.de>
2203
2204 * po/zh_TW.po: Update.
2205 Patch by Tung-Han Hsieh <thhsieh@tlug.sinica.edu.tw>.
2206
c3fa6e3d
UD
22072001-04-25 Ulrich Drepper <drepper@redhat.com>
2208
2209 * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the
2210 compiler command line.
2211 * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler
2212 command line for malloc.c.
2213
e0ea3583
UD
22142001-04-25 Jakub Jelinek <jakub@redhat.com>
2215
2216 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: Move to...
2217 * sysdeps/unix/sysv/linux/sparc/bits/time.h: ...here.
2218 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: Remove.
2219 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: Move to...
2220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: ...here. Adjust
2221 struct msghdr for __WORDSIZE == 32.
2222 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: Move to...
da1375be 2223 * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here. Adjust
e0ea3583
UD
2224 for __WORDSIZE == 32.
2225 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Remove.
2226 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c: New
2227 file.
2228 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_siglongjmp):
2229 Rename from longjmp, make longjmp weak alias to it.
2230
22312001-04-24 David S. Miller <davem@redhat.com>
2232
2233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: New file.
2234
c5e38fac
UD
22352001-04-25 Matthew Wilcox <willy@ldl.fc.hp.com>
2236
2237 * sysdeps/hppa/stackinfo.h: New file.
2238 * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
2239 * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
2240 * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
2241 * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
2242 of PA kernel features.
2243
dcf56f42
UD
22442001-04-25 Ulrich Drepper <drepper@redhat.com>
2245
2246 * locale/programs/localedef.c (main): Always set a file name for
2247 the initial locale.
2248 * locale/programs/locfile.c (locfile_read): filename is allowed to
2249 be NULL.
2250
69d8605e
UD
22512001-04-12 Paul Bame <paul_bame@hp.com>
2252
2253 * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the
2254 enable flags.
2255
216c24b7
UD
22562001-04-24 Ulrich Drepper <drepper@redhat.com>
2257
d95f7853
UD
2258 * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG,
2259 _XBS5_LPBIG_OFFBIG): Define to -1.
2260 Fix typos.
fc2083cc 2261
280f4add
UD
2262 * sysdeps/generic/bits/confname.h: Add _CS_V6_WIDTH_RESTRICTED_ENVS.
2263 * posix/confstr.c: Handle _CS_V6_WIDTH_RESTRICTED_ENVS.
2264 * posix/getconf.c: Handle _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2265 * posix/tst-getconf.sh: Add _POSIX_V6_WIDTH_RESTRICTED_ENVS.
2266
216c24b7
UD
2267 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: New file.
2268 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: Removed.
2269
1921e934
UD
22702001-03-21 Alan Modra <alan@one.net.au>
2271
2272 * sysdeps/hppa/dl-machine.h (RTLD_START): Set up dp with DT_PLTGOT
2273 value from application so that constructors in non-PIC libs work.
2274
22752000-12-13 Jes Sorensen <jes@linuxcare.com>
2276
2277 * sysdeps/hppa/dl-machine.h (RTLD_START): _dl_init now returns a
2278 function pointer, hence load the jump address and gp from the
2279 function pointer before jumping.
2280
dcea709a
AJ
22812001-04-24 Andreas Jaeger <aj@suse.de>
2282
2283 * sysdeps/generic/send.c (__send): Return ssize_t.
2284 * sysdeps/mach/hurd/send.c (__send): Likewise.
2285 * sysdeps/mach/hurd/recv.c (recv): Likewise.
2286 * sysdeps/mach/hurd/sendto.c (sendto): Likewise.
2287 * sysdeps/generic/sendto.c (sendto): Likewise.
2288 * sysdeps/generic/recvmsg.c (recvmsg): Likewise.
2289 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2290 * sysdeps/generic/recvfrom.c (recvfrom): Likewise.
2291 * sysdeps/generic/sendmsg.c (sendmsg): Likewise.
2292
2293 * socket/sys/socket.h: send* and recv* return ssize_t.
2294
2295 * include/sys/socket.h: send returns ssize_t.
2296
2297 * sysdeps/i386/fpu_control.h: Fix comments.
2298
9c83a5ec
UD
22992001-04-24 Ulrich Drepper <drepper@redhat.com>
2300
2301 * sysdeps/ia64/Dist: Add hp-timing.c.
2302 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add ucontext_i.h.
2303 * posix/Makefile (distribute): Add tst-getconf.sh.
2304 * po/Makefile (distribute): Add $(BROKEN_LINGUAS:=.po).
2305
bc183edc
UD
23062001-04-23 Ulrich Drepper <drepper@redhat.com>
2307
295125c5
UD
2308 * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing.
2309 * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3.
2310 * sysdeps/ia64/hp-timing.c: New file.
2311 * sysdeps/ia64/hp-timing.h: New file.
2312 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for
2313 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2314
2315 * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test
2316 using #ifdef whether the clock is available.
2317 * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore.
2318
2319 * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move
2320 it into data section.
2321
3b5c1b57
UD
2322 * sysdeps/unix/i386/i586/clock_getres.c: Removed.
2323 * sysdeps/unix/i386/i586/clock_gettime.c: Removed.
2324 * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed.
2325 * sysdeps/unix/i386/i586/clock_settime.c: Removed.
2326 * sysdeps/unix/i386/i586/cpuclock-init.h: Removed.
2327 * sysdeps/generic/cpuclock-init.h: Removed.
2328 * sysdeps/unix/i386/i686/Implies: Removed.
2329 * sysdeps/unix/i386/i686/tempname.c: Removed.
2330 * sysdeps/i386/i686/Versions: New file.
2331 * sysdeps/unix/i386/i586/Versions: Removed.
2332
2333 * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle
2334 CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
2335 * sysdeps/unix/clock_gettime.c: Likewise.
2336 * sysdeps/unix/clock_nanosleep.c: Likewise.
2337 * sysdeps/unix/clock_settime.c: Likewise.
2338 * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define
2339 RANDOM_BITS use CPU clock.
2340
2341 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file.
2342 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file.
2343 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file.
2344 * sysdeps/sparc/Versions: New file.
2345
2346 * elf/dl-support.c: Don't use cpuclock-init.h definitions, use
2347 hp-timing.h definitions.
2348 * sysdeps/generic/dl-sysdep.c: Likewise.
2349
2350 * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in
2351 __get_clockfreq prototype.
2352
2353 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2354 Use hp_timing_t type.
44c51e9a 2355 * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
3b5c1b57
UD
2356
2357 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
2358
bc183edc
UD
2359 * sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
2360 whether named file is a regular file or a block device.
2361 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2362
77e4dc62
AJ
23632001-04-23 Andreas Jaeger <aj@suse.de>
2364
2365 * nscd/nscd.h: Add noreturn attribute for start_threads.
2366
a3bbce5b
UD
23672001-04-22 Ulrich Drepper <drepper@redhat.com>
2368
2369 * posix/getconf.c: Fix names of XBS5 LFS test variables.
2370 Add missing configuration variables from XPG6.
2371 * posix/tst-getconf.c: New file.
2372 * posix/Makefile (generated): Add tst-getconf.out.
2373 (tests): Add ($objpfx)tst-getconf.out.
2374 Add rule to run tst-getconf.sh.
2375 * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values
2376 from XPG6.
2377 * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and
2378 _PC_SYMLINK_MAX.
2379 * sysdeps/posix/pathconf.c: Likewise.
2380 * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS
2381 and _SC_SYMLOOP_MAX.
2382
e17e51b4
UD
23832001-04-22 Philip Blundell <philb@gnu.org>
2384
2385 * sysdeps/arm/fpu/feenablxcpt.c: New file.
2386 * sysdeps/arm/fpu/fedisablxcpt.c: New file.
2387 * sysdeps/arm/fpu/fegetexcpt.c: New file.
2388
e661fdf2
UD
23892001-04-22 Philip Blundell <philb@gnu.org>
2390
2391 * sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
2392 Renamed from struct user_fp.
2393 (struct user_regs): New.
2394 (struct user): Use struct user_regs rather than struct pt_regs to
2395 avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
2396 of struct user_fp and struct user_fp_struct.
2397 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
2398 not sys/elf.h.
2399
24002001-04-22 Philip Blundell <philb@gnu.org>
2401
2402 * sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
2403 sys/procfs.h, and tell the user to include that file instead.
2404 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
2405 surrounded with #if 0.
2406 (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
2407 from sys/elf.h.
2408 (prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
2409 elf_fpregset_t respectively.
2410
24112001-04-22 Philip Blundell <philb@gnu.org>
2412
2413 * sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
2414 address that faulted.
2415
d8cbcd7d
UD
24162001-04-21 Ulrich Drepper <drepper@redhat.com>
2417
d20f21a2
UD
2418 * sysdeps/generic/bits/confname.h: Add _SC_V6_* and _CS_POSIX_V6_*
2419 values.
2420 * sysdeps/generic/bits/environments.h: Define _POSIX_V6_* values.
2421 * posix/confstr.c: Handle _CS_POSIX_V6_* values.
2422 * posix/getconf.c: Handle _CS_POSIX_V6_* and _SC_V6_* values.
2423 * sysdeps/posix/sysconf.c: Handle _SC_V6_* values.
2424
d8cbcd7d 2425 * sysdeps/powerpc/fpu/libm-test-ulps: Add deltas for atan2f.
d290c57b
UD
2426 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2427 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2428 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
d8cbcd7d 2429
46346835
UD
24302001-04-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2431
2432 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct check for invalid
2433 offset.
2434
24352001-04-21 Ulrich Drepper <drepper@redhat.com>
2436
2437 * posix/getopt.h: Treat __cplusplus like __STDC__.
2438
24392001-04-20 John S. Marvin <jsm@fc.hp.com>
2440
2441 * sysdeps/unix/sysv/linux/hppa/clone.S: Fix clone system call
2442 entry point stub.
2443
24442001-04-20 Richard Hirst <rhirst@linuxcare.com>
2445
2446 * elf/elf.h: Corrected R_PARISC_DIR14R (should be 6, not 5),
2447 and added R_PARISC_DPREL21L and R_PARISC_DPREL14R for modutils.
2448
2449 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Removed ptrace
2450 entry so the ptrace.c wrapper is used.
2451
24522001-04-20 Alan Modra <amodra@one.net.au>
2453
2454 * sysdeps/hppa/dl-lookupcfg.h (_dl_function_address): Prototype.
2455 (DL_FUNCTION_ADDRESS): Define.
2456 (DL_DT_INIT_ADDRESS): Define.
2457 (DL_DT_FINI_ADDRESS): Define.
2458 * sysdeps/hppa/Versions: Add _dl_function_address.
2459 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_START_ADDRESS): Define.
2460 * sysdeps/hppa/dl-symaddr.c (_dl_start_address): Rename to
2461 _dl_function_address.
2462
e94dd733
AJ
24632001-04-21 Andreas Jaeger <aj@suse.de>
2464
36c96ccd
AJ
2465 * rt/aio_misc.c (handle_fildes_io): Add noreturn attribute.
2466 * resolv/gai_misc.c (handle_requests): Likewise.
2467 * malloc/obstack.c (print_and_abort): Likewise.
2468 * malloc/mcheck.c (mabort): Likewise.
2469
e94dd733
AJ
2470 * sysdeps/unix/i386/i586/clock_settime.c: Include
2471 "libc-internal.h" for __get_clockfreq declaration.
2472
5fc48cd7
UD
24732001-04-21 Ulrich Drepper <drepper@redhat.com>
2474
2475 * elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
2476 CPUCLOCK_INIT if defined.
2477 * sysdeps/generic/dl-sysdep.c: Likewise.
2478 * sysdeps/generic/cpuclock-init.h: New file.
2479 * sysdeps/unix/i386/i586/cpuclock-init.h: New file.
2480 * sysdeps/unix/i386/i586/Versions: New file.
2481 * sysdeps/unix/i386/i586/clock_settime.c: New file.
2482 * sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
2483 separately by calling __pthread_clock_gettime if this function is
2484 available. Subtract offset from tsc value before computing time value.
2485
b8750342
UD
24862001-04-20 Ulrich Drepper <drepper@redhat.com>
2487
b17c0a8e
UD
2488 * iconv/iconv_prog.c (print_known_names): If printing goes not to
2489 a tty print in a more machine-friendly way.
2490
b8750342
UD
2491 * sysdeps/ieee754/ldbl-128/e_asinl.c: New file.
2492 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2493
b701d41a
AJ
24942001-04-20 Andreas Jaeger <aj@suse.de>
2495
b8750342 2496 * intl/Makefile (tests): Reorder conditions, tst-gettext needs msgfmt.
b701d41a 2497
9434fe81
AS
24982001-04-20 Andreas Schwab <schwab@suse.de>
2499
2500 * sysdeps/m68k/fpu/libm-test-ulps: Update.
2501
49547c68
UD
25022001-04-19 Alan Modra <amodra@one.net.au>
2503
2504 * Makerules (libc_pic.os): Add $(LDFLAGS-c_pic.os).
2505 * sysdeps/hppa/Makefile (LDFLAGS-c_pic.os): Define.
2506 (CFLAGS-.os): Remove.
2507
2508 * sysdeps/unix/sysv/linux/hppa/sysdep.h (CALL_MCOUNT): Update comment.
2509
2510 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG, NFPREG,
2511 gregset): Correct for new kernel definitions.
2512
25132001-04-19 Alan Modra <alan@linuxcare.com.au>
2514
2515 * sysdeps/hppa/elf/initfini.c: Change dlt reg save to r3 and
2516 generate unwind info by hand.
2517
25182001-04-19 Ulrich Drepper <drepper@redhat.com>
2519
2520 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Optimize a bit.
2521
2522 * configure.in: Correct regular expression for msgfmt.
2523 Patch by Bruno Haible <haible@ilog.fr>.
2524
aa29e3a2
AJ
25252001-04-19 Andreas Jaeger <aj@suse.de>
2526
2527 * po/el.po: Add comment explaining what's broken.
2528
2529 * po/Makefile (BROKEN_LINGUAS): New.
2530 (ALL_LINGUAS): Don't add broken languages.
2531
426c5279
RM
25322001-04-19 Roland McGrath <roland@frob.com>
2533
d81b986b
RM
2534 * sysdeps/mach/hurd/mlock.c: New file.
2535 * sysdeps/mach/hurd/munlock.c: New file.
2536 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
2537
2538 * misc/Makefile (routines): Add mlock munlock mlockall munlockall.
2539 * sysdeps/generic/mlock.c: New file.
2540 * sysdeps/generic/munlock.c: New file.
2541 * sysdeps/generic/mlockall.c: New file.
2542 * sysdeps/generic/munlockall.c: New file.
2543 * sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
2544 * sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
2545 mlockall, munlockall): Change caller field to - from EXTRA.
2546 Don't use __ names; not used (and not declared in include/sys/mman.h).
2547
5017b2c8
RM
2548 * hurd/privports.c (__get_privileged_ports): Renamed with __.
2549 Use __ names for calls we make.
2550 (get_privileged_ports): Add alias.
2551 * hurd/hurd.h: Declare it with the __ name.
2552 * sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
2553 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2554 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2555
426c5279
RM
2556 * hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
2557 nothing if it's zero.
2558
6610a140
UD
25592001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
2560
2561 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
2562 Change to return a signed result for compatibility with other
2563 architectures, and correctness.
2564
72ae756a
UD
25652001-04-19 Ulrich Drepper <drepper@redhat.com>
2566
2567 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_32BITUIDS):
2568 HPPA always had them. Patch by Matthew Wilcox <matthew@wil.cx>.
2569
45b80afb
AJ
25702001-04-19 Andreas Jaeger <aj@suse.de>
2571
c26b4f64
AJ
2572 * configure.in: Require gettext 0.10.36 or newer.
2573
72ae756a 2574 * manual/install.texi (Tools for Compilation): Mention gettext 0.10.36.
c26b4f64 2575
45b80afb
AJ
2576 * po/zh_TW.po: Remove extraneous backslashes.
2577
2578 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
2579 variables b and n.
2580
9bab9806
UD
25812001-04-18 Jakub Jelinek <jakub@redhat.com>
2582
2583 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
2584 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
2585 * sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
2586 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
2587 Copy first word of uc_sigmask into __uc_sigmask.
2588 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
da1375be
UD
2589 Save uc_link around trap. Copy __uc_sigmask into first word of
2590 uc_sigmask, clear the rest. Make sure setcontext to the created
9bab9806
UD
2591 context doesn't do this though.
2592 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
2593 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
2594 uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
2595 64bit version, make uc_sigmask __sigset_t in the 32bit version.
2596
03b9ce8b
AJ
25972001-04-19 Andreas Jaeger <aj@suse.de>
2598
2599 * sysdeps/unix/sysv/linux/hppa/umount.c: Fix typos in last patch.
2600
9bab9806 2601 * rt/Makefile (otherlibs): Added for static NSS.
43536751 2602
9bab9806 2603 * glibcbug.in (BUGGLIBC): Send to new alias.
10930041 2604
2f53aec9
UD
26052001-04-02 Andreas Schwab <schwab@suse.de>
2606
2607 * Makerules (build-module): Make sure exit codes get checked
2608 properly and remove unnecessary slashes.
2609
ddad941e
UD
26102001-04-17 Ulrich Drepper <drepper@redhat.com>
2611
01608292
UD
2612 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2613 Handle kernels which report only three digits after the decimal point.
2614 Reported by Van Okamura <van.okamura@oracle.com>.
2615
ddad941e
UD
2616 * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
2617
2edfd87c
UD
26182001-04-17 David S. Miller <davem@redhat.com>
2619
2620 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update for new atan2 tests.
2621 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2622
33e885db
UD
26232001-04-17 Jakub Jelinek <jakub@redhat.com>
2624
2625 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Make sure
2626 desired exceptions are raised for exceptional values.
2627 * math/libm-test.inc (acosh_test, atan_test, atan2_test, cacos_test,
2628 cacosh_test, casin_test, casinh_test, catan_test, catanh_test,
2629 clog_test, log_test, log1p_test, tan_test): Increase precision of
2630 expected values to satisfy ldbl-128.
2631 * sysdeps/alpha/fpu/libm-test-ulps: Adjust accordingly.
2632 * sysdeps/arm/libm-test-ulps: Likewise.
2633 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2634 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2635 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2636 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2637 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2638 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2639 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2640 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2641 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2642
de83fb78
AJ
26432001-04-17 Andreas Jaeger <aj@suse.de>
2644
2645 * configure.in: Move test for critical programs up.
2646
9b7ee67e
UD
26472001-04-16 Stephen L Moshier <moshier@mediaone.net>
2648
2649 * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi):
da1375be
UD
2650 Correct the values.
2651 (pSx, qSx): Replace by shorter approximation.
9b7ee67e
UD
2652 Use f suffix on float constants.
2653
c991a86a
UD
26542001-04-16 Ulrich Drepper <drepper@redhat.com>
2655
9b7ee67e
UD
2656 * sysdeps/ieee754/ldbl-128/k_tanl.c: New file.
2657 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2658
c991a86a
UD
2659 * string/string.h: Replace const in attribute list with __const__.
2660
3de33da9
RM
26612001-04-16 Roland McGrath <roland@frob.com>
2662
2663 * grp/initgroups.c (initgroups) [NGROUPS_MAX != 0]: Always use sysconf
2664 instead of the constant NGROUPS_MAX. That way, the limit can be
2665 raised in the kernel configuration without having to recompile libc.
2666
2667 * sysdeps/posix/euidaccess.c: Don't #include <limits.h> or try to
2668 define NGROUPS_MAX; we don't use it here.
2669
27cffd27
AJ
26702001-04-16 Andreas Jaeger <aj@suse.de>
2671
8c4b05d0
AJ
2672 * math/libm-test.inc (atan2_test): Add more testcases.
2673
27cffd27
AJ
2674 * iconv/gconv_db.c: Include gconv_charset.h for
2675 __gconv_lookup_alias prototype.
2676
cd2209ee
UD
26772001-04-13 Ulrich Drepper <drepper@redhat.com>
2678
2679 * sysdeps/ieee754/ldbl-128/s_atanl.c: New file.
2680 Contributed by Stephen L Moshier <moshier@mediaone.net>.
2681
355561ef
UD
26822001-04-13 Jes Sorensen <jes@linuxcare.com>
2683
2684 * intl/tst-codeset.c: Include string.h to get prototype for strcmp().
2685
acc8ad63
UD
26862001-04-13 Jes Sorensen <jes@linuxcare.com>
2687
2688 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add __pad0 to
2689 explicitly pad struct siginfo instead of relying on compiler padding.
2690
c4103b34
UD
26912001-04-12 Ulrich Drepper <drepper@redhat.com>
2692
2693 * sysdeps/ia64/Dist: Add elf/entry.h.
2694
2695 * iconvdata/Makefile (distribute): Add TESTS2.
2696
a08877d0
UD
26972001-04-13 Jakub Jelinek <jakub@redhat.com>
2698
2699 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address):
2700 Calculate load address differently.
2701
b721a2c0
UD
27022001-04-12 Bruno Haible <haible@clisp.cons.org>
2703
2704 * iconvdata/TESTS2: New file.
2705 * iconvdata/run-iconv-test.sh: Also run tests from TESTS2.
2706 * iconvdata/testdata/alfabeta..UTF-8: New file.
2707 * iconvdata/testdata/alfabeta..UTF-16.BE: New file.
2708 * iconvdata/testdata/alfabeta..UTF-16.LE: New file.
2709 * iconvdata/testdata/alfabeta..UTF-32.BE: New file.
2710 * iconvdata/testdata/alfabeta..UTF-32.LE: New file.
2711
27122001-04-11 Bruno Haible <haible@clisp.cons.org>
2713
2714 * iconvdata/utf-32.c: New file.
2715 * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE.
2716 * iconvdata/Makefile (modules): Add UTF-32.
2717 (distribute): Add utf-32.c.
2718
27192001-04-11 Bruno Haible <haible@clisp.cons.org>
2720
2721 * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly
da1375be 2722 changing it in the state. After incrementing 'inptr', store it back.
b721a2c0
UD
2723 * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr',
2724 store it back.
2725
27262001-04-11 Bruno Haible <haible@clisp.cons.org>
2727
2728 * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not
2729 MIN_NEEDED_FROM.
2730
8ee35515
UD
27312001-04-11 David Mosberger <davidm@hpl.hp.com>
2732
2733 * sysdeps/ia64/htonl.S: Drop superfluous "alloc".
2734 * sysdeps/ia64/htons.S: Likewise.
2735
2736 * sysdeps/ia64/memset.S: Add unwind directives.
2737 * sysdeps/ia64/strncpy.S: Likewise.
2738 * sysdeps/ia64/strcat.S: Likewise.
2739
2740 * sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
2741 restore of ar.pfs.
2742 * sysdeps/ia64/strchr.S: Likewise.
2743 * sysdeps/ia64/memmove.S: Likewise.
2744 * sysdeps/ia64/memcpy.S: Likewise.
2745 * sysdeps/ia64/memcmp.S: Likewise.
2746 * sysdeps/ia64/memchr.S: Likewise.
2747 * sysdeps/ia64/strcmp.S: Likewise.
2748 * sysdeps/ia64/strlen.S: Likewise.
2749 * sysdeps/ia64/strcpy.S: Likewise.
2750 * sysdeps/ia64/strncmp.S: Likewise.
2751
87d5c92d
UD
27522001-04-11 Jakub Jelinek <jakub@redhat.com>
2753
2754 * wcsmbs/wchar.h (fgetwc, getwc, getwchar, fputwc, putwc, putwchar,
2755 fgetws, fputws, ungetwc, getwc_unlocked, getwchar_unlocked,
2756 fgetwc_unlocked, fputwc_unlocked, putwc_unlocked, putwchar_unlocked,
2757 fgetws_unlocked, fputws_unlocked, wcsftime): Add __THROW.
2758
6f509da6
AJ
27592001-04-11 Andreas Jaeger <aj@suse.de>
2760
2761 * sysdeps/mips/elf/start.S [__ASSEMBLY__]: Define it.
2762
9af328b6
AS
27632001-04-11 Andreas Schwab <schwab@suse.de>
2764
2765 * sysdeps/m68k/fpu/libm-test-ulps: Adjusted.
2766
26e01c8a
UD
27672001-04-11 Ulrich Drepper <drepper@redhat.com>
2768
2769 * sysdeps/arm/stackinfo.h: New file.
2770
9860e47f 27712001-04-08 Thorsten Kukuk <kukuk@suse.de>
337c27f9
UD
2772
2773 * sunrpc/rpc_main.c: If we compile RPC thread safe, allow
2774 rpcgen to generate thread safe code.
2775
59bcae17
AJ
27762001-04-10 Andreas Jaeger <aj@suse.de>
2777
2778 * math/test-fenv.c (initial_tests): Protect FE_TONEAREST declaration.
2779
28966366
UD
27802001-04-10 Ulrich Drepper <drepper@redhat.com>
2781
2782 * elf/dl-minimal.c (__assert_fail): Change error string. It's
2783 most of the time no bug in ld.so.
2784 (__assert_perror_fail): Likewise.
2785
122dbcec
UD
27862001-04-11 Hans-Peter Nilsson <hp@axis.com>
2787
2788 * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type
2789 from struct to unsigned int.
2790
390911be
UD
27912001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2792
2793 * elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
2794 AT_IGNOREPPC): New defines.
2795 * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
2796 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
2797 Define for newer powerpc kernels.
2798 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
2799 DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
2800
07bccb46
UD
28012000-4-10 kaz Kojima <kkojima@rr.iij4u.or.jp>
2802
2803 * sysdeps/sh/stackinfo.h: New file.
2804
951d5dd8
UD
28052001-04-10 Ulrich Drepper <drepper@redhat.com>
2806
671ab00d
UD
2807 * locale/tst-C-locale.c (run_test): Add tests for locale objects.
2808 * locale/newlocale.c (__newlocale): Correct setting __ctype_b,
2809 __ctype_tolower, and __ctype_toupper elements.
2810
7e3f2875
UD
2811 * ctype/ctype_l.c: Fix definitions of __tolower_l and __toupper_l.
2812 Reported by Konstantin Osipov <rabid@spylog.ru>.
2813
951d5dd8
UD
2814 * sysdeps/i386/fpu/libm-test-ulps: Add deltas for tgamma to help
2815 the lousy AMD FPU.
2816
28172001-04-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2818
2819 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: New file.
2820 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/ptrace.h.
2821 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Delete wrong stuff.
2822 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Correct typedefs.
2823
28242001-04-10 Ulrich Drepper <drepper@redhat.com>
2825
2826 * elf/dl-deps.c (_dl_map_object_deps): Provide complete error
2827 message. Based on a patch by HJ Lu.
2828
a16956f3
UD
28292001-04-10 Andreas Schwab <schwab@suse.de>
2830
2831 * math/libm-test.inc (csinh_test): Don't require the invalid
2832 exception for csinh (x + iNaN), but make it optional.
2833
28342001-04-09 David Mosberger <davidm@hpl.hp.com>
2835
2836 * sysdeps/ia64/elf/start.S (_start): Add unwind directives.
2837
2838 * sysdeps/generic/entry.h [!__ASSEMBLY__]: Declare _start.
2839 * sysdeps/ia64/elf/entry.h: New file.
2840 * sysdeps/unix/sysv/linux/mips/entry.h [!__ASSEMBLY__]: Declare
2841 __start.
2842 * elf/rtld.c: Don't declare ENTRY_POINT. Use ENTRY_POINT instead
2843 of &ENTRY_POINT.
2844 * sysdeps/generic/dl-sysdep.c: Likewise.
2845 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2846 * sysdeps/ia64/elf/start.S: Save base address of register backing
2847 store in __libc_ia64_register_backing_store_base.
2848
58f46c79
UD
28492001-04-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
2850
2851 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Fix return
2852 value of getcontext.
2853 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2854 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Fix return
2855 value of setcontext.
2856 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2857 * sysdeps/unix/sysv/linux/s390/swapcontext.c: Skip setcontext
2858 call by changing the saved context.
2859
bf9d1166
UD
28602001-04-10 Ulrich Drepper <drepper@redhat.com>
2861
2862 * sysdeps/alpha/stackinfo.h: New file.
2863 * sysdeps/ia64/stackinfo.h: New file.
2864
d2784f80
AS
28652001-04-10 Andreas Schwab <schwab@suse.de>
2866
2867 * sysdeps/m68k/fpu/e_pow.c: Correct handling of some exceptional
2868 values.
2869 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2870
1dc843f7
UD
28712001-04-09 Ulrich Drepper <drepper@redhat.com>
2872
9deee4bb
UD
2873 * sysdeps/sparc/sparc32/sparcv9/Dist: Add hp-timing.c.
2874 * sysdeps/sparc/sparc64/Dist: Add hp-timing.c.
2875
1dc843f7
UD
2876 * libio/Makefile (distribute): Add fd_to_filename.h.
2877
c44a663d
UD
28782001-04-05 David S. Miller <davem@redhat.com>
2879
2880 Add hp-timing support for sparcv9/sparc64 targets.
2881 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: New file
2882 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: New file
2883 * sysdeps/sparc/sparc64/hp-timing.c: New file
2884 * sysdeps/sparc/sparc64/hp-timing.h: New file
2885 * sysdeps/sparc/sparc32/sparcv9/Makefile: Build hp-timing.
2886 * sysdeps/sparc/sparc64/Makefile: Likewise.
2887
28882001-04-09 Jakub Jelinek <jakub@redhat.com>
2889
2890 * sysdeps/generic/fd_to_filename.h: New file.
2891 * sysdeps/unix/sysv/linux/fd_to_filename.h: New file.
2892 * libio/freopen.c (freopen): If FILENAME is NULL, try to get
2893 filename from the open file descriptor.
2894 * libio/freopen64.c (freopen64): Likewise.
2895
28962001-04-09 Bruno Haible <haible@clisp.cons.org>
2897
2898 * misc/error.c (error): fflush stdout also if
2899 error_print_progname != NULL.
2900 (error_at_line): Likewise.
2901
9deee4bb 29022001-04-07 Bruno Haible <haible@clisp.cons.org>
c44a663d
UD
2903
2904 * intl/gettextP.h (struct loaded_domain): Add codeset_cntr field.
2905 (struct binding): Add codeset_cntr field.
2906 (_nl_load_domain): Add domainbinding argument.
2907 (_nl_init_domain_conv, _nl_free_domain_conv): New declarations.
2908 (_nl_find_msg): New declaration, moved here from loadinfo.h.
2909 * intl/loadinfo.h (struct loaded_l10nfile): Remove domainbinding field.
2910 (_nl_make_l10nflist): Remove domainbinding argument.
2911 (_nl_find_msg): Move declaration to gettextP.h.
2912 * intl/bindtextdom.c (set_binding_values): Initialize ->codeset_cntr
2913 to 0. Increment it when ->codeset is changed.
2914 * intl/dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg.
2915 (_nl_find_msg): Add domainbinding argument. Reinitialize the converter
2916 if domainbinding->codeset_cntr has been incremented.
2917 * intl/finddomain.c (_nl_find_domain): Don't pass domainbinding to
2918 _nl_make_l10nflist(). Pass it to _nl_load_domain() instead.
2919 * intl/l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument.
2920 * intl/loadmsgcat.c (_nl_init_domain_conv): New function, extracted
2921 from _nl_load_domain. Append //TRANSLIT also when using libiconv.
2922 (_nl_free_domain_conv): New function, extracted from _nl_unload_domain.
2923 (_nl_load_domain): Add domainbinding argument. Call
2924 _nl_init_domain_conv.
2925 (_nl_unload_domain): Call _nl_free_domain_conv.
2926 * intl/Makefile (distribute): Add tst-codeset.sh, tstcodeset.po.
2927 (test-srcs): Add tst-codeset.
2928 (tests): Depend on tst-codeset.out.
2929 (tst-codeset.out): New rule.
2930 (CFLAGS-tst-codeset.c): New variable.
2931 * intl/tst-codeset.sh: New file.
2932 * intl/tstcodeset.po: New file.
2933 * intl/tst-codeset.c: New file.
2934 * locale/findlocale.c (_nl_find_locale): Update _nl_make_l10nflist
2935 calls.
2936
7119ea6d
RM
29372001-04-07 Roland McGrath <roland@frob.com>
2938
2939 * mach/msgserver.c (__mach_msg_server_timeout): Add an assert.
2940
29412001-03-31 Roland McGrath <roland@frob.com>
2942
2943 * sysdeps/mach/hurd/fork.c: Skip NEWPROC just like NEWTASK when
2944 copying send rights into child. When we hit our name for our proc
2945 port, just copy NEWPROC directly instead of repeating proc_task2proc
2946 to install the child's port.
2947
29482001-04-08 Roland McGrath <roland@frob.com>
2949
2950 * Makeconfig ($(common-objpfx)soversions.i): Grok entries with DEFAULT
2951 in second column, to provide default values for third column.
2952 * shlib-versions: Add comments about using DEFAULT in second column.
2953 (s390x-.*-linux.*): Replace individual entries with a DEFAULT entry.
2954 (cris-.*-linux.*): Likewise.
2955
4c78249d
UD
29562001-04-09 Ulrich Drepper <drepper@redhat.com>
2957
2958 * Makefile (distribute): Add scripts/documented.sh.
2959 * scripts/documented.sh: New file.
2960
eacde9d0
UD
29612001-04-08 Hans-Peter Nilsson <hp@axis.com>
2962
2963 * sysdeps/unix/sysv/linux/cris/Dist: New file.
2964 * sysdeps/unix/sysv/linux/cris/Makefile: New file.
2965 * sysdeps/unix/sysv/linux/cris/_G_config.h: New file.
2966 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: New file.
2967 * sysdeps/unix/sysv/linux/cris/bits/mman.h: New file.
2968 * sysdeps/unix/sysv/linux/cris/bits/resource.h: New file.
2969 * sysdeps/unix/sysv/linux/cris/brk.c: New file.
2970 * sysdeps/unix/sysv/linux/cris/chown.c: New file.
2971 * sysdeps/unix/sysv/linux/cris/clone.S: New file.
2972 * sysdeps/unix/sysv/linux/cris/fchown.c: New file.
2973 * sysdeps/unix/sysv/linux/cris/fcntl.c: New file.
2974 * sysdeps/unix/sysv/linux/cris/fxstat.c: New file.
2975 * sysdeps/unix/sysv/linux/cris/getegid.c: New file.
2976 * sysdeps/unix/sysv/linux/cris/geteuid.c: New file.
2977 * sysdeps/unix/sysv/linux/cris/getgid.c: New file.
2978 * sysdeps/unix/sysv/linux/cris/getgroups.c: New file.
2979 * sysdeps/unix/sysv/linux/cris/getresgid.c: New file.
2980 * sysdeps/unix/sysv/linux/cris/getresuid.c: New file.
2981 * sysdeps/unix/sysv/linux/cris/getrlimit.c: New file.
2982 * sysdeps/unix/sysv/linux/cris/getrlimit64.c: New file.
2983 * sysdeps/unix/sysv/linux/cris/getuid.c: New file.
2984 * sysdeps/unix/sysv/linux/cris/lchown.c: New file.
2985 * sysdeps/unix/sysv/linux/cris/lockf64.c: New file.
2986 * sysdeps/unix/sysv/linux/cris/lxstat.c: New file.
2987 * sysdeps/unix/sysv/linux/cris/mmap.S: New file.
2988 * sysdeps/unix/sysv/linux/cris/mmap64.S: New file.
2989 * sysdeps/unix/sysv/linux/cris/msgctl.c: New file.
2990 * sysdeps/unix/sysv/linux/cris/profil-counter.h: New file.
2991 * sysdeps/unix/sysv/linux/cris/register-dump.h: New file.
2992 * sysdeps/unix/sysv/linux/cris/semctl.c: New file.
2993 * sysdeps/unix/sysv/linux/cris/setegid.c: New file.
2994 * sysdeps/unix/sysv/linux/cris/seteuid.c: New file.
2995 * sysdeps/unix/sysv/linux/cris/setfsgid.c: New file.
2996 * sysdeps/unix/sysv/linux/cris/setfsuid.c: New file.
2997 * sysdeps/unix/sysv/linux/cris/setgid.c: New file.
2998 * sysdeps/unix/sysv/linux/cris/setgroups.c: New file.
2999 * sysdeps/unix/sysv/linux/cris/setregid.c: New file.
3000 * sysdeps/unix/sysv/linux/cris/setresgid.c: New file.
3001 * sysdeps/unix/sysv/linux/cris/setresuid.c: New file.
3002 * sysdeps/unix/sysv/linux/cris/setreuid.c: New file.
3003 * sysdeps/unix/sysv/linux/cris/setrlimit.c: New file.
3004 * sysdeps/unix/sysv/linux/cris/setuid.c: New file.
3005 * sysdeps/unix/sysv/linux/cris/shmctl.c: New file.
3006 * sysdeps/unix/sysv/linux/cris/socket.S: New file.
3007 * sysdeps/unix/sysv/linux/cris/sys/ucontext.h: New file.
3008 * sysdeps/unix/sysv/linux/cris/syscall.S: New file.
3009 * sysdeps/unix/sysv/linux/cris/sysdep.S: New file.
3010 * sysdeps/unix/sysv/linux/cris/sysdep.h: New file.
3011 * sysdeps/unix/sysv/linux/cris/vfork.S: New file.
3012 * sysdeps/unix/sysv/linux/cris/xstat.c: New file.
3013
30142001-04-08 Hans-Peter Nilsson <hp@axis.com>
3015
3016 * sysdeps/cris/Dist: New file.
3017 * sysdeps/cris/Implies: New file.
3018 * sysdeps/cris/Makefile: New file.
3019 * sysdeps/cris/__longjmp.S: New file.
3020 * sysdeps/cris/_mcount.S: New file.
3021 * sysdeps/cris/bits/endian.h: New file.
3022 * sysdeps/cris/bits/setjmp.h: New file.
3023 * sysdeps/cris/bits/string.h: New file.
3024 * sysdeps/cris/dl-machine.h: New file.
3025 * sysdeps/cris/elf/start.S: New file.
3026 * sysdeps/cris/machine-gmon.h: New file.
3027 * sysdeps/cris/memcopy.h: New file.
3028 * sysdeps/cris/memusage.h: New file.
3029 * sysdeps/cris/setjmp.S: New file.
3030 * sysdeps/cris/sysdep.h: New file.
3031 * sysdeps/cris/wordcopy.c: New file.
3032
30332001-04-08 Hans-Peter Nilsson <hp@axis.com>
3034
3035 * elf/elf.h: Add new relocations for CRIS.
3036
30372001-04-08 Hans-Peter Nilsson <hp@axis.com>
3038
3039 * shlib-versions: Add cases for Linux on CRIS.
3040
30412001-04-08 Hans-Peter Nilsson <hp@axis.com>
3042
3043 * configure.in (ASM_LINE_SEP tests): Handle CRIS assembly, with
3044 ';' for comments and '@' for line separator.
3045
30462001-04-08 Hans-Peter Nilsson <hp@axis.com>
3047
3048 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Fix
3049 typo; s/==/=/ for assignment.
3050
30512001-04-08 Hans-Peter Nilsson <hp@axis.com>
3052
3053 * malloc/Makefile: Correct comment; mtrace is Perl, not AWK.
3054
30552001-04-08 Hans-Peter Nilsson <hp@axis.com>
3056
3057 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): Check for
3058 empty input before checking full output.
3059
30602001-04-08 Hans-Peter Nilsson <hp@axis.com>
3061
3062 * iconv/gconv.c (__gconv): Don't derefer parameter cd before
3063 checking if == -1L.
3064
30652001-04-08 Ulrich Drepper <drepper@redhat.com>
3066
3067 * inet/rexec.c (rexec_af): Avoid calling perror with errno being set.
3068
4c450556
UD
30692001-04-07 Stephen L Moshier <moshier@mediaone.net>
3070
3071 * sysdeps/ieee754/ldbl-128/e_logl.c: Correct infinity and NaN
3072 return values.
3073
4ee87ecc
UD
30742001-04-07 Ulrich Drepper <drepper@redhat.com>
3075
232fdf8c
UD
3076 * stdlib/tst-setcontext.c (main): Add a test for setcontext.
3077
4ee87ecc
UD
3078 * sysdeps/unix/sysv/linux/i386/getcontext.S: New file.
3079 * sysdeps/unix/sysv/linux/i386/setcontext.S: New file.
3080 * sysdeps/unix/sysv/linux/i386/makecontext.S: New file.
3081 * sysdeps/unix/sysv/linux/i386/swapcontext.S: New file.
3082 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: New file.
3083 * sysdeps/unix/sysv/linux/i386/Dist: Add ucontext_i.h.
3084
6e6917b0
AJ
30852001-04-07 Andreas Jaeger <aj@suse.de>
3086
3087 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
3088 instead of separate sin and cos.
3089 (__ieee754_j1l): Likewise.
3090
bb769ab6
UD
30912001-04-06 Ulrich Drepper <drepper@redhat.com>
3092
f5eefa62
UD
3093 * sysdeps/ia64/abort-instr.h: New file. Code by David Mosberger.
3094
663a2488
UD
3095 * sysdeps/ia64/atomicity.h: New file. Copied from libstdc++.
3096
5360538b
UD
3097 * sysdeps/i386/i486/atomicity.h: Clean up the asms.
3098
bb769ab6
UD
3099 * sysdeps/generic/e_scalb.c: Don't use FE_INVALID unless it's
3100 available.
3101 * sysdeps/generic/e_scalbf.c: Likewise.
3102 * sysdeps/generic/e_scalbl.c: Likewise.
3103 Patch by Mark Hatle <fray@mvista.com>.
3104
31052001-04-05 David S. Miller <davem@redhat.com>
3106
3107 * sysdeps/sparc/abort-instr.h: New file.
3108
31092001-04-05 Matt Wilson <msw@redhat.com>
3110
3111 * sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
3112 added code to parse new 2.4 format.
3113 (GET_NPROCS_CONF_PARSER): Likewise.
3114
31152001-04-05 David S. Miller <davem@redhat.com>
3116
3117 * scripts/config.sub: Recognize sparcv9b like sparcv9.
3118 * configure.in: Add sparcv9b.
3119 * sysdeps/sparc/sparc32/sparcv9b/Implies: New file
3120 * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: New file
3121 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: New file
3122
1a51bde7
UD
31232001-04-06 David Mosberger <davidm@hpl.hp.com>
3124
3125 * stdlib/tst-setcontext.c: Move st2[] to global scope.
3126 (f2): Verify that stack pointer is inside st2[].
3127
3128 * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12.
3129 * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
3130
e7f21fa6
UD
31312001-04-06 Ulrich Drepper <drepper@redhat.com>
3132
99ee5970
UD
3133 * timezone/antarctica: Update from tzdata2001b.
3134 * timezone/asia: Likewise.
3135 * timezone/australasia: Likewise.
3136 * timezone/europe: Likewise.
3137 * timezone/northamerica: Likewise.
3138
e7f21fa6
UD
3139 * iconv/iconv_open.c: Move strip and upstr definitions...
3140 * iconv/gconv_charset.h: ...here. New file.
3141 * iconv/gconv_db.c (once): Move to file level.
3142 (do_lookup_alias): Split out from __gconv_find_transform.
3143 (__gconv_find_transform): Call do_lookup_alias.
3144 (__gconv_loopup_alias): New function.
3145 * locale/langinfo.h: Define _NL_*_CODESET values for all categories
3146 but LC_CTYPE.
3147 * locale/categories.def: Add entries for new _NL_*_CODESET values.
3148 * locale/C-ctype.c: Use _nl_C_codeset to initialize CODESET entry.
3149 * locale/C-address.c: Initialize _NL_*_CODESET element.
3150 * locale/C-collate.c: Likewise.
3151 * locale/C-identification.c: Likewise.
3152 * locale/C-measurement.c: Likewise.
3153 * locale/C-messages.c: Likewise.
3154 * locale/C-monetary.c: Likewise.
3155 * locale/C-name.c: Likewise.
3156 * locale/C-numeric.c: Likewise.
3157 * locale/C-paper.c: Likewise.
3158 * locale/C-telephone.c: Likewise.
3159 * locale/C-time.c: Likewise.
3160 * locale/localeinfo.h: Declare _nl_C_codeset.
3161 * locale/C_name.c: Define _nl_C_codeset.
3162 * locale/findlocale.c: Before accepting locale check that the used
3163 charset does not conflict with what the locale name said.
3164 * locale/programs/ld-address.c: Emit codeset information.
3165 * locale/programs/ld-collate.c: Likewise.
3166 * locale/programs/ld-identification.c: Likewise.
3167 * locale/programs/ld-measurement.c: Likewise.
3168 * locale/programs/ld-messages.c: Likewise.
3169 * locale/programs/ld-monetary.c: Likewise.
3170 * locale/programs/ld-name.c: Likewise.
3171 * locale/programs/ld-numeric.c: Likewise.
3172 * locale/programs/ld-paper.c: Likewise.
3173 * locale/programs/ld-telephone.c: Likewise.
3174 * locale/programs/ld-time.c: Likewise.
3175
3176 * localedata/tests-mbwc/tst_funcs.h (TST_HEAD_LOCALE): It is an error
3177 if the locale data couldn't be found.
3178
3179 * string/Makefile: Define tst-strxfrm-ENV.
3180
3181 * ysdeps/unix/sysv/linux/ia64/getcontext.S: Fix comment.
3182
f4964b5c
AJ
31832001-04-06 Andreas Jaeger <aj@suse.de>
3184
3185 * include/sys/profil.h: New file.
3186
3187 * dlfcn/modatexit.c: Add prototypes to silence GCC.
3188 * dlfcn/modcxaatexit.c: Likewise.
3189 * elf/globalmod1.c: Likewise.
3190
5e014387
UD
31912001-04-05 David S. Miller <davem@redhat.com>
3192
3193 * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it.
3194 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Add it to
3195 capability flags table and HWCAP_IMPORTANT, increase
3196 _DL_HWCAP_COUNT to 6.
3197 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
3198
8912b9aa
UD
31992001-04-04 David Mosberger <davidm@hpl.hp.com>
3200
3201 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Fix
3202 initialization of stack_end (bug reported by Zheng Gengbin
3203 <gzheng@students.uiuc.edu>).
3204
96dd1a81
UD
32052001-04-05 Ulrich Drepper <drepper@redhat.com>
3206
3207 * sysdeps/i386/fpu/libm-test-ulps: Relax errors for asinl.
3208
e2027cc3
UD
32092001-04-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
3210
3211 * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: New file.
3212
f128331c
UD
32132001-04-05 Ulrich Drepper <drepper@redhat.com>
3214
626fb886
UD
3215 * sysdeps/ieee754/ldbl-96/e_asinl.c: Correct handling of +-Inf.
3216 * sysdeps/i386/fpu/e_asinl.S: Removed. Too inaccurate.
3217
f128331c
UD
3218 * login/tst-utmp.c: Make file usable again in tst-utmpx.c.
3219
817a51e2
UD
32202001-04-04 Ulrich Drepper <drepper@redhat.com>
3221
b53df4c9
UD
3222 * sysdeps/unix/sysv/aix/dl-libc.c: Don't use the ELF version,
3223 define simple replacements here. Patch by Michael Keezer.
3224
3225 * sysdeps/ieee754/ldbl-128/e_logl.c: New file.
3226 * sysdeps/ieee754/ldbl-96/e_asinl.c: New file.
3227 Contributed by Stephen L Moshier <moshier@mediaone.net>.
3228
817a51e2
UD
3229 * posix/fnmatch_loop.c: Undefine NEW_PATTERN when it is not used
3230 anymore.
3231
f18ec00f
AJ
32322001-04-01 Andreas Jaeger <aj@suse.de>
3233
3234 * sysdeps/generic/s_nextafter.c (NO_LONG_DOUBLE): Add nexttowardl
3235 alias.
3236
3237 * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias.
3238
816fc1ed
UD
32392001-04-04 Ulrich Drepper <drepper@redhat.com>
3240
3241 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h.
3242 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
3243
32442001-04-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
3245
3246 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file.
3247 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file.
3248 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file.
3249 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file.
3250 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file.
3251 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file.
3252 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file.
3253 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file.
3254 * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file.
3255
d92643e2
AJ
32562001-04-04 Andreas Jaeger <aj@suse.de>
3257
3258 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_NO_REL): Move to right
3259 place.
3260
ed40d9c0
UD
32612001-04-04 Ulrich Drepper <drepper@redhat.com>
3262
816fc1ed
UD
3263 * sunrpc/rpc_scan.c (symbols): Add entry for HYPER.
3264 * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER.
3265 * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER.
3266 (unsigned_dec): Likewise.
3267 Patch by atai@jezebel.dreamhost.com.
3268
ed40d9c0
UD
3269 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass
3270 pointer to int as last parameter of yp_match.
3271 Patch by kanazawa@flab.fujitsu.co.jp.
3272
754f6576
UD
32732001-04-03 Ulrich Drepper <drepper@redhat.com>
3274
3275 * resolv/netdb.h (gai_strerror): Make return value const.
3276 * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
3277 * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
3278 Add strings for new error values.
3279
46894673
UD
32802001-03-29 Michael Keezer <mkeezer@redhat.com>
3281
3282 * posix/tst-gnuglob.c: Added ifdef _DIRENT_HAVE_D_TYPE.
3283 * login/tst-utmp.c: Handle case where ut_tv is not available but
3284 ut_time is.
3285 * sysdeps/unix/sysv/aix/utmpx.h: New file.
3286 * sysdeps/unix/sysv/aix/bits/utmpx.h: Added
3287 _HAVE_UT_TYPE/PID/ID/TV/HOST defines.
3288 * sysdeps/unix/sysv/aix/libc-start.c: Removed temp code and made stub.
3289 * sysdeps/unix/sysv/aix/gettimeofday.c: New file added routines
3290 to access RTCU timer reg.
3291 * sysdeps/unix/sysv/aix/Makefile: Remove /usr/lib/crt0.o
3292 added dl-libc, dl-open,dl-sym, dl-close to misc.
3293 * sysdeps/unix/sysv/aix/start.c: New file. Start code.
3294 * sysdeps/unix/sysv/aix/dlldr.h: New file. AIX __loadx defines.
3295 * sysdeps/unix/sysv/aix/dl-close.c: New file. AIX dl-close.
3296 * sysdeps/unix/sysv/aix/dl-open.c: New file. AIX dl-open.
3297 * sysdeps/unix/sysv/aix/dl-sym.c: New file. AIX dl-sym.
3298 * sysdeps/unix/sysv/aix/dl-libc.c: New file. libc_dl-xxx support.
3299 * sysdeps/generic/strtoll.c: Added SHLIB_COMPAT(libc,GLIBC_2_0,
3300 GLIBC_2_2).
3301 * sysdeps/generic/strtoull.c: Likewise.
3302 * sysdeps/powerpc/ppc-mcount.S: Added nop after bl instruction.
3303 * sysdeps/unix/sysv/aix/powerpc/memset.c: New file to include
3304 sysdeps/generic/memset.c.
3305 * sysdeps/unix/sysv/aix/getpeername.c: Define __getpeername.
3306
c891b2df
UD
33072001-04-03 Ulrich Drepper <drepper@redhat.com>
3308
194c5f8d
UD
3309 * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
3310 * locale/programs/charmap.c: Define null_pointer if
3311 NEED_NULL_POINTER is defined.
3312
c891b2df
UD
3313 * misc/dirname.c (dirname): Handle multiple slashes correctly.
3314
33152001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
3316
3317 * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access.
3318
33192001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
3320
3321 * sysdeps/s390/s390-32/bcopy.S: Optimize for speed.
3322 * sysdeps/s390/s390-64/bcopy.S: Likewise.
3323 * sysdeps/s390/s390-32/mempcy.S: Likewise.
3324 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3325
33262001-04-02 Bruno Haible <haible@clisp.cons.org>
3327
3328 * manual/message.texi (Advanced gettext functions): More specific
3329 syntax in the plural formula examples.
3330
33312001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3332
3333 * sysdeps/powerpc/atomicity.h: Silence warnings.
3334 * sysdeps/powerpc/dl-machine.h: Likewise.
3335 * sysdeps/powerpc/register-dump.h: Likewise.
3336 * sysdeps/powerpc/fpu/s_lrint.c: Likewise.
3337
33382001-04-02 Andreas Jaeger <aj@suse.de>
3339
3340 * misc/tst-dirname.c (main): Add more tests, derived from a bug
3341 report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
3342
33432001-04-01 Andreas Jaeger <aj@suse.de>
3344
3345 * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so
3346 is installed there.
3347 * malloc/memusage.sh (memusageso): Likewise for libmemusage.so.
3348
33492001-04-01 H.J. Lu <hjl@gnu.org>
3350
3351 * posix/annexc.c (macrofile): Renamed from TMPFILE and set to
3352 tmpnam (NULL).
3353 * stdlib/isomac.c (macrofile): Likewise.
3354
33552001-03-30 Thorsten Kukuk <kukuk@suse.de>
3356
3357 * inet/rcmd.c: Allow AF_UNSPEC as parameter.
3358 * nis/ypclnt.c (yp_all): Print error message only at last try,
3359 check for protocoll error only if we don't have a network error.
3360
60620ef6
AS
33612001-04-02 Andreas Schwab <schwab@suse.de>
3362
3363 * resolv/res_data.c (res_isourserver): Fix cast.
3364
9bd77523
AJ
33652001-04-02 Andreas Jaeger <aj@suse.de>
3366
d92643e2
AJ
3367 * sysdeps/unix/sysv/linux/hppa/umount.c: Add prototype for
3368 __umount2.
3369
2a56ca2a
AJ
3370 * sysdeps/i386/dl-machine.h (RTLD_START): Don't use multi-line
3371 strings.
3372 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
3373
f457369d
AJ
3374 * sysdeps/ieee754/dbl-64/uroot.h: Add missing braces arount
3375 initializers.
3376 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Likewise.
3377
3378 * elf/rtld.c (print_statistics)[!HP_TIMING_NONAVAIL]: Avoid
3379 warning about unused variable.
3380
9bd77523
AJ
3381 * string/string.h (strndupa): Add cast for C++ conformance.
3382 (strdupa): Likewise.
0da1a9fd 3383 Fixes PR libc/2173, reported by tbrowder@home.com.
9bd77523 3384
8a0746ae
RM
33852001-03-30 Roland McGrath <roland@frob.com>
3386
3387 * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append
3388 options after $(build-module), which is no longer a single command.
3389 (LDFLAGS-link-rpcuserlibs): New variable to hold those options.
3390 (LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
3391 variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
3392
33932001-03-11 Roland McGrath <roland@frob.com>
3394
3395 * elf/rtld.c (dl_main): Add cast to quiet warning.
3396 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3397 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
3398 (__gconv_read_conf): Likewise.
3399 * iconv/gconv_db.c (gen_steps): Likewise.
3400 (__gconv_find_transform): Likewise.
3401 * locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
3402 (fopen_uncompressed): Use const in second argument's type.
3403
34042001-03-11 Roland McGrath <roland@frob.com>
3405
3406 * sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
3407
3408 * mach/mach_error.h: Fix ancient #endif syntax.
3409 * hurd/hurdmalloc.c: Likewise.
3410
3411 * sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
3412 compare_and_swap): Add volatile qualifier to first arg, to bring
3413 these prototypes in line with all the other implementations.
3414 Add a #warning to remind the builder that these are not atomic.
3415
34162001-03-04 Roland McGrath <roland@frob.com>
3417
3418 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
3419 member of TEMP_F so its type is _IO_FILE * as expected.
3420
3421 * hurd/fopenport.c (seekio): Conditionalize type of POS argument
3422 on [USE_IN_LIBIO]. Check the value for overflow, since for libio
3423 it might exceed off_t's range.
3424
34252001-02-25 Roland McGrath <roland@frob.com>
3426
3427 * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
3428 * sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
3429
3430 * sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
3431 macro instead of an inline function,
3432 (MSG_EXAMINE): Likewise.
3433
3434 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
3435
3436 * hurd/get-host.c: Include <string.h> for decls of built-ins.
3437 * hurd/hurdchdir.c: Likewise.
3438 * sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
3439 * sysdeps/mach/hurd/opendir.c: Likewise.
3440
3441 * mach/mach_init.c: Include <unistd.h> for _exit decl.
3442
3443 * mach/errsystems.awk: Give output file a trailing newline.
3444
3445 * mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
3446 the script will use our compiler for the cpp stage.
3447
3448 With --enable-all-warnings we get a whole bunch of warnings,
3449 and these are just a few fixes; there are more needed to silence it.
3450 * mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
3451 decls before extern inline defns to quiet gcc warning.
3452 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
3453 * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
3454
89aa3626
AJ
34552001-03-31 Andreas Jaeger <aj@suse.de>
3456
3457 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWHDLC): Added.
3458 (ARPHRD_HDLC): Define as alias for ARPHRD_CISCO.
3459 (ARPHRD_CISCO): New.
3460 Changes from Linux 2.4.3.
3461
5590a2a1
UD
34622001-03-30 Isamu Hasegawa <isamu@yamato.ibm.com>
3463
5fe915ee 3464 * posix/regex.c: Avoid an access violation if malloc fails.
5590a2a1 3465
45f1a309
AJ
34662001-03-30 Andreas Jaeger <aj@suse.de>
3467
3468 * sysdeps/alpha/ldiv.S (ldiv): Add alias for imaxdiv.
3469
28d2fb9a
UD
34702001-03-29 Ulrich Drepper <drepper@redhat.com>
3471
8bca0bd4
UD
3472 * posix/regex.c: Remove unnecessary ifs.
3473
28d2fb9a
UD
3474 * math/bits/mathcalls.h: Remove infnan declaration.
3475
34762001-03-29 H.J. Lu <hjl@gnu.org>
3477
3478 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF,
3479 and LOW_HALF only if _LIBC is defined and _ISOMAC is not defined.
3480 * stdlib/isomac.c (fmt): Define _LIBC and _ISOMAC.
5fe915ee 3481
28d2fb9a
UD
34822001-03-29 Isamu Hasegawa <isamu@yamato.ibm.com>
3483
3484 * posix/regex.c: Fix typo and add a sentinel.
3485
34862001-03-29 Ulrich Drepper <drepper@redhat.com>
3487
3488 * sysdeps/unix/sysv/linux/shm_open.c: Open new file always with
3489 O_NOFOLLOW. Suggested by Christoph Roland.
3490
0a51f0ac
UD
34912001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3492
3493 * sysdeps/s390/bits/string.h: New unified 31/64 bit string.h.
3494 * sysdeps/s390/s390-32/bits/string.h: Remove.
3495 * sysdeps/s390/s390-64/bits/string.h: Remove.
3496 * sysdeps/s390/s390-32/strcmp.S: New file.
3497 * sysdeps/s390/s390-64/strcmp.S: New file.
3498
397fa451
UD
34992001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3500
3501 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix typo.
3502 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3503
325a39c5
UD
35042001-03-27 Ulrich Drepper <drepper@redhat.com>
3505
9dedc969
UD
3506 * version.h (VERSION): Bump to 2.2.3.
3507
4668903c
UD
3508 * stdlib/isomac.c (fmt): Don't define _LIBC.
3509 * include/endian.h: Define BIG_ENDI, LITTLE_ENDI, HIGH_HALF, and
3510 LOW_HALF only if _LIBC is defined.
3511
3512 * sysdeps/i386/fpu/libm-test-ulps: Slight adjustment of yn() error.
3513
228293b5
UD
3514 * posix/fnmatch_loop.c (FCT): Handle !() after * special like @()
3515 and +().
3516 * posix/tst-fnmatch.input: Add test cases for matching empty strings.
3517
325a39c5
UD
3518 * sysdeps/ieee754/dbl-64/endian.h: Removed. Move definitions...
3519 * include/endian.h: ...to here.
3520
6e3794ed
UD
35212001-03-27 kaz Kojima <kkojima@rr.iij4u.or.jp>
3522
3523 * sysdeps/sh/sys/ucontext.h (NFREG): Rename to NFPREG.
3524 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NFREG): Likewise.
3525
dc3e77b1
AJ
35262001-03-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
3527
3528 * sysdeps/unix/sysv/linux/s390/ldconfig.h: Fix typo.
3529
a341068d
UD
35302001-03-26 Ulrich Drepper <drepper@redhat.com>
3531
3532 * sysdeps/ia64/fpu/Dist: Add new files to distribute.
3533 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Likewise.
3534 * sysdeps/unix/sysv/linux/ia64/Dist: Likewise.
3535
3536 * gmon/Makefile (headers): Add sys/profil.h.
3537
dd68573b
AJ
35382001-03-18 Andreas Jaeger <aj@suse.de>
3539
3540 * manual/install.texi (Tools for Compilation): Advise to use GCC
3541 2.95.3.
3542 (Supported Configurations): Mention s390x.
3543
93a4b7ca
UD
35442001-03-26 Ben Collins <bcollins@debian.org>
3545
3546 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
3547 defines to match other architectures.
3548
0a04075e
UD
35492001-03-26 Ulrich Drepper <drepper@redhat.com>
3550
3551 * libio/Makefile (tests): Add tst-ext.
3552 * libio/tst-ext.c: New file.
3553
3554 * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
3555
5e311497
UD
35562001-03-25 Ulrich Drepper <drepper@redhat.com>
3557
543cf8a9
UD
3558 Add changes which were in this form in the original patch by
3559 Eric Norum <eric.norum@usask.ca>.
3560 * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and
3561 svc_max_pollfd.
3562 * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset,
3563 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3564 __rpc_thread_svc_max_pollfd.
3565 Define svc_fdset, get_rpc_createerr, svc_pollfd, and
3566 svc_max_pollfd.
3567 * sunrpc/rpc_thread.c: Handle first thread special, it uses the
3568 global variables.
3569 Define __rpc_thread_svc_fdset, __rpc_thread_createerr,
3570 __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd.
3571 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset,
3572 __rpc_thread_createerr, __rpc_thread_svc_pollfd, and
3573 __rpc_thread_svc_max_pollfd.
3574 * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to
3575 get_rpc_createerr.
3576 * sunrpc/clnt_perr.c: Likewise.
3577 * sunrpc/clnt_simp.c: Likewise.
3578 * sunrpc/clnt_tcp.c: Likewise.
3579 * sunrpc/clnt_udp.c: Likewise.
3580 * sunrpc/clnt_unix.c: Likewise.
3581 * sunrpc/pm_getport.c: Likewise.
3582
5e311497
UD
3583 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): getgroups32
3584 syscall checks for negative n so don't test here as well.
3585
0a45b76c
UD
35862001-03-23 Jes Sorensen <jes@linuxcare.com>
3587
3588 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ...
3589 * sysdeps/ia64/sysdep.h: ...here.
3590
3591 * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define.
3592 * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define.
3593
3594 * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to
3595 declare instead of LEAF(). Suggestion from David Mosberger.
3596
35972001-03-21 David Mosberger <davidm@hpl.hp.com>
3598
3599 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind
3600 directives.
3601 (PSEUDO): Drop .psr and .lsb directives.
3602
3603 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind
3604 directives.
3605 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto.
3606
3607 * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb
3608 directives etc.
3609 * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto.
3610 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto.
3611 * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no
3612 longer needed). Add unwind directives.
3613
3614 * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS,
3615 ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE.
3616
36172001-03-21 Paul Eggert <eggert@twinsun.com>
3618
3619 * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro.
3620 (RE_SYNTAX_POSIX_EGREP): Use it.
3621 * posix/regex.c (regex_compile): Implement it.
3622
36232001-03-21 Paul Eggert <eggert@twinsun.com>
3624
3625 * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow.
3626 Rewrite to avoid duplicate code.
3627
36282001-03-21 H.J. Lu <hjl@gnu.org>
3629
3630 * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out
3631 for cross-compiling.
3632 ($(objpfx)tst-pathopt.out): Undo the last change.
3633
8443afdc
MK
36342001-03-24 Mark Kettenis <kettenis@gnu.org>
3635
0cdd0c51
MK
3636 * sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
3637 sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.
3638
8443afdc
MK
3639 * sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
3640 (_dl_argv): Declare.
3641 (init) [SHARED]: Readjust _dl_argv if we switched to a new stack.
3642
cb207240
AJ
36432001-03-22 Andreas Jaeger <aj@suse.de>
3644
3645 * iconvdata/Makefile (generated): Add iconv-test.xxx.
3646
3647 * posix/Makefile (generated): Add bug-regex2.mtrace and
3648 bug-regex2-mem.
3649
844b79a6
UD
36502001-03-21 Ulrich Drepper <drepper@redhat.com>
3651
3652 * csu/version.c (__gnu_get_libc_release): Add prototype.
3653 (__gnu_get_libc_version): Likewise.
3654 * include/gnu/libc-version.h: Remove prototypes for not exported
3655 functions.
3656
313e5fb3
UD
36572001-03-21 Jes Sorensen <jes@linuxcare.com>
3658
3659 * sysdeps/unix/sysv/linux/ia64/makecontext.c: Include libintl.h
3660 for internationalized printfs to work.
3661
e686e1a1
UD
36622001-03-09 Bruno Haible <haible@clisp.cons.org>
3663
3664 * intl/dcigettext.c (transmem_block_t): Change to unsigned char, to
3665 avoid compiler warning.
3666 (_nl_find_msg): Add casts to avoid compiler warnings.
3667
4c48b267
UD
36682001-03-21 Ulrich Drepper <drepper@redhat.com>
3669
3670 * gmon/Makefile (routines): Add sprofil.
3671 (tests): Add tst-sprofil.
3672 (noprof): Add sprofil.
3673 * gmon/Versions [libc] (GLIBC_2.2.3): Add sprofil.
3674
36752001-03-20 David Mosberger <davidm@hpl.hp.com>
3676
3677 * sysdeps/generic/sprofil.c: New file.
3678 * sysdeps/posix/sprofil.c: New file.
3679 * gmon/tst-sprofil.c: New file.
3680 * gmon/sys/profil.h: New file.
3681
cf4431ed
UD
36822001-03-20 Andreas Schwab <schwab@suse.de>
3683
3684 * include/unistd.h: Adjust prototype of __gethostname.
3685
df4cada7
UD
36862001-03-20 Jakub Jelinek <jakub@redhat.com>
3687
3688 * sysdeps/sparc/stackinfo.h: New file.
3689
9113b2a2
AJ
36902001-03-21 Andreas Jaeger <aj@suse.de>
3691
3692 * elf/global.c (main): Use proper prototype.
3693
c200ecdf
UD
36942001-03-20 Ulrich Drepper <drepper@redhat.com>
3695
f1e4a4a4
UD
3696 * sunrpc/Makefile (routines): Add rpc_thread.
3697 (CPPFLAGS): Add -D_RPC_THREAD_SAFE.
3698 * sunrpc/rpc_thread.c: New file.
3699 * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
3700 * sunrpc/auth_none.c: Don't use global variables. Access state in
3701 thread-local storage.
3702 * sunrpc/clnt_perr.c: Likewise.
3703 * sunrpc/clnt_raw.c: Likewise.
3704 * sunrpc/clnt_simp.c: Likewise.
3705 * sunrpc/key_call.c: Likewise.
3706 * sunrpc/rpc_common.c: Likewise.
3707 * sunrpc/svc.c: Likewise.
3708 * sunrpc/svc_raw.c: Likewise.
3709 * sunrpc/svc_simple.c: Likewise.
3710 * sunrpc/svcauth_des.c: Likewise.
3711 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
3712 _HURD_THREADVAR_RPC_VARS.
3713 * sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
3714 * include/rpc/rpc.h: Define data structures for internal thread-local
3715 "global" variables.
3716 Based on patches by Eric Norum <eric.norum@usask.ca>.
3717
55c91021
UD
3718 * elf/dl-load.c: Various little optimizations.
3719
c200ecdf
UD
3720 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Return
3721 LINUX_LINK_MAX only if the statfs function is not implemented for
3722 the filesystem.
3723
3724 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Return
3725 LINUX_LINK_MAX only if the fstatfs function is not implemented for
3726 the filesystem.
3727
2541eda0
UD
37282001-03-19 Ulrich Drepper <drepper@redhat.com>
3729
3730 * elf/dl-dst.h (DL_DST_COUNT): Add __builtin_expect.
3731
3732 * elf/dl-load.c (_dl_dst_count): Make DST recognition more robust.
3733 (_dl_dst_substitute): Likewise.
3734
4a4d50f3
UD
37352001-03-17 Bruno Haible <haible@clisp.cons.org>
3736
3737 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.
3738
37392001-03-17 Bruno Haible <haible@clisp.cons.org>
3740
3741 * intl/gettextP.h (struct expression): Add operators lnot, less_than,
da1375be 3742 greater_than, less_or_equal, greater_or_equal. Replace args2/args3
4a4d50f3
UD
3743 union by a 'nargs' counter and an 'args[]' array.
3744 * intl/plural.y: Don't include stdarg.h.
3745 (new_exp): Take an array of arguments instead of varargs.
3746 (new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
3747 ('?' ':'): Make right-associative.
3748 (EQUOP2): New token, replaces '=' and '!'.
3749 (CMPOP2): New token.
3750 (ADDOP2): New token, replaces '+' and '-'.
3751 (MULOP2): New token, replaces '*', '/' and '%'.
3752 ('!'): New token.
da1375be 3753 (exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
4a4d50f3
UD
3754 (start): Call YYABORT here.
3755 (FREE_EXPRESSION): Update.
da1375be 3756 (yylex): Don't skip "\\n". Recognize comparison and '!' operators.
4a4d50f3
UD
3757 Update for new token symbols.
3758 * intl/loadmsgcat.c (plvar, plone, germanic_plural,
3759 init_germanic_plural): Update.
3760 * intl/dcigettext.c (_nl_find_msg): Optimize for space.
da1375be 3761 (plural_eval): Recognize comparison and '!' operators. Optimize for
4a4d50f3
UD
3762 space.
3763
37642001-03-10 Bruno Haible <haible@clisp.cons.org>
3765
3766 * intl/loadmsgcat.c (_nl_load_domain): locale_charset() doesn't return
3767 NULL any more.
3768
37692001-01-05 Bruno Haible <haible@clisp.cons.org>
3770
3771 * intl/loadmsgcat.c: Include headers needed for alloca().
3772 (freea): New macro.
3773 (_nl_load_domain): Add fallback code for platforms lacking alloca.
3774 * intl/localealias.c: (ADD_BLOCK, FREE_BLOCK): Remove macros.
3775 (freea): New macro.
3776 (read_alias_file): Simplify fallback code for platforms lacking
3777 alloca.
3778
37792001-01-07 Bruno Haible <haible@clisp.cons.org>
3780
3781 * intl/gettextP.h (__gettextdebug): Remove declaration.
3782 (__gettext_free_exp, __gettextparse): Convert prototype to K&R C
3783 syntax.
3784 (gettext_free_exp__, gettextparse__): New non-libc declarations.
3785 * intl/plural.y [!_LIBC]: Define gettextparse__, gettext_free_exp__,
3786 not __gettextparse, __gettext_free_exp.
3787 * intl/loadmsgcat.c [!_LIBC]: Use gettextparse__, not __gettextparse.
3788
37892001-02-24 Bruno Haible <haible@clisp.cons.org>
3790
3791 * intl/dcigettext.c: Update comment about HAVE_LOCALE_NULL.
3792
37932001-01-05 Bruno Haible <haible@clisp.cons.org>
3794
3795 * intl/loadmsgcat.c (_nl_load_domain): Add fallback code for platforms
3796 lacking strtoul, like SunOS4.
3797
37982001-01-05 Bruno Haible <haible@clisp.cons.org>
3799
3800 * intl/l10nflist.c (_nl_normalize_codeset): Use tolower, not _tolower.
3801
38022001-01-05 Bruno Haible <haible@clisp.cons.org>
3803
3804 * intl/bindtextdom.c (set_binding_values): Convert prototype to K&R C
3805 syntax.
3806 * intl/dcigettext.c (transcmp): Convert to K&R C syntax.
3807 * intl/explodename.c (_nl_find_language): Convert to K&R C syntax.
3808 * intl/plural.y (__gettext_free_exp, yylex, yyerror): Convert to K&R C
3809 syntax.
3810
38112001-01-07 Bruno Haible <haible@clisp.cons.org>
3812
3813 * intl/gettextP.h (gettext__, dgettext__, dcgettext__, textdomain__,
3814 bindtextdomain__, bind_textdomain_codeset__): New declarations, from
3815 old libgettext.h.
3816 * intl/bindtextdom.c: Include libgnuintl.h instead of libgettext.h.
3817 * intl/dcgettext.c: Likewise.
3818 * intl/dcigettext.c: Likewise.
3819 * intl/dcngettext.c: Likewise.
3820 * intl/dngettext.c: Likewise.
3821 * intl/finddomain.c: Likewise.
3822 * intl/ngettext.c: Likewise.
3823 * intl/textdomain.c: Likewise.
3824 * intl/dgettext.c: Include libgnuintl.h instead of libgettext.h.
3825 Include gettextP.h.
3826 * intl/gettext.c: Likewise. Don't include locale.h.
3827
38282001-03-17 Bruno Haible <haible@clisp.cons.org>
3829
3830 * intl/gettextP.h (ZERO): New macro.
3831 (struct binding): Always use ZERO.
3832 * intl/bindtextdom.c (offsetof): Provide fallback for platforms that
3833 lack it, like SunOS4.
3834 (set_binding_values): Use offsetof, not sizeof.
3835 * intl/dcigettext.c (offsetof): Provide fallback for platforms that
3836 lack it, like SunOS4.
3837 (ZERO): Remove macro.
3838 (struct transmem_list): Use ZERO.
3839 (DCIGETTEXT): Use offsetof, not sizeof.
3840
38412001-03-17 Bruno Haible <haible@clisp.cons.org>
3842
da1375be 3843 * intl/gettextP.h: Include <stddef.h>. Include gettext.h, for
4a4d50f3
UD
3844 nls_uint32.
3845 * intl/bindtextdom.c: Don't include gettext.h.
3846 * intl/dcgettext.c: Likewise.
3847 * intl/dcigettext.c: Likewise.
3848 * intl/dcngettext.c: Likewise.
3849 * intl/dngettext.c: Likewise.
3850 * intl/finddomain.c: Likewise.
3851 * intl/localealias.c: Likewise.
3852 * intl/ngettext.c: Likewise.
3853 * intl/plural.y: Likewise.
3854 * intl/textdomain.c: Likewise.
3855
38562001-03-17 Bruno Haible <haible@clisp.cons.org>
3857
3858 * intl/gettext.h: Don't include <stdio.h>.
3859
38602001-03-17 Bruno Haible <haible@clisp.cons.org>
3861
3862 * intl/Makefile (CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
3863 * intl/dcigettext.c (_nl_default_dirname): Initialize with LOCALEDIR.
3864
f2615995
UD
38652001-03-19 Ulrich Drepper <drepper@redhat.com>
3866
3867 * sysdeps/unix/i386/i686/tempname.c: New file.
3868
3869 * sysdeps/posix/tempname.c (__gen_tempname): If RANDOM_BITS is
3870 defined use this macro to get some bits of randomness instead of
3871 the usual gettimeofday or time calls.
3872
38732001-03-16 Paul Eggert <eggert@twinsun.com>
3874
3875 * sysdeps/posix/tempname.c (uint64_t): Define to uintmax_t if
3876 not defined, and if UINT64_MAX is not defined.
3877
96c0d65d
UD
38782001-03-19 Ulrich Drepper <drepper@redhat.com>
3879
3880 * elf/cache.c: Mark and have translated a few more messages.
3881
38822001-03-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
3883
3884 * elf/cache.c: Add case for FLAG_S390_LIB64.
3885 * sysdeps/generic/ldconfig.h: Add define for FLAG_S390_LIB64.
3886 * sysdeps/unix/sysv/linux/s390/ldconfig.h: New file.
3887 * sysdeps/unix/sysv/linux/s390/readelflib.c: New file.
3888
3c504879
UD
38892001-03-19 Ulrich Drepper <drepper@redhat.com>
3890
3891 * string/Makefile (tests): Add tst-strxfrm.
3892 * string/tst-strxfrm.c: New file. Based on a test case by Paul Eggert.
3893 * string/Depend: New file.
3894
38952001-03-19 Paul Eggert <eggert@twinsun.com>
3896
3897 * string/strxfrm.c (strxfrm): strxfrm should return 0, not 1,
3898 when given the empty string in nontrivial locales.
3899
b28dcd8e
UD
39002001-03-17 H.J. Lu <hjl@gnu.org>
3901
3902 * manual/Makefile (install): Use $(INSTALL_DATA) instead of
3903 cp to install `dir'.
3904
b5d51280
UD
39052001-03-19 Andreas Schwab <schwab@suse.de>
3906
3907 * Makerules (build-shlib): Make sure exit codes get checked
3908 properly.
3909
639c3248
UD
39102001-03-18 Ulrich Drepper <drepper@redhat.com>
3911
3912 * Makerules (build-shlib): Remove unnecessary slashes introduced in
3913 last change.
3914
3915 * configure.in: Test for -Bgroup option of linker.
3916 * config.make.in: Define have-Bgroup.
3917
3918 * conform/data/unistd.h-data: Require gethostname.
3919 * posix/unistd.h: Make gethostname prototype available for
3920 __USE_XOPEN2K.
3921
3922 * crypt/Makefile: When generating DSO link with libc_nonshared.a.
3923 * debug/Makefile: Likewise.
3924 * dlfcn/Makefile: Likewise.
3925 * hesiod/Makefile: Likewise.
3926 * iconvdata/extra-module.mk: Likewise.
3927 * locale/Makefile: Likewise.
3928 * login/Makefile: Likewise.
3929 * math/Makefile: Likewise.
3930 * nis/Makefile: Likewise.
3931 * nss/Makefile: Likewise.
3932 * resolv/Makefile: Likewise.
3933 * rt/Makefile: Likewise.
3934
2bd7e9c3
UD
39352001-03-17 Ulrich Drepper <drepper@redhat.com>
3936
3937 * inet/Makefile (tests): Remove left-over comment.
3938
639c3248
UD
3939 * posix/unistd.h (gethostname): Change type of second parameter
3940 back to size_t as per upcoming XPG6.
2bd7e9c3
UD
3941 * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
3942 parameter back to size_t as per upcoming XPG6.
3943 * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
3944 * sysdeps/unix/sysv/gethostname.c: Likewise.
3945 * sysdeps/mach/hurd/gethostname.c: Likewise.
3946 * sysdeps/generic/gethostname.c: Likewise.
3947
7c91639e
UD
39482001-03-16 Ulrich Drepper <drepper@redhat.com>
3949
276ae1f2
UD
3950 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3951 Handle NaN here.
3952
7c91639e
UD
3953 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
3954 Internationalize.
3955
e1f578d6
UD
39562001-02-06 Jakub Jelinek <jakub@redhat.com>
3957
3958 * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
3959 looking for name matches.
3960
a88775bd
UD
39612001-02-26 Jakub Jelinek <jakub@redhat.com>
3962
3963 * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
3964 * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
3965 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
3966 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3967 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
3968 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
3969 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
3970 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
3971 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
3972 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
3974 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3975
a66f0958
UD
39762001-03-16 Ulrich Drepper <drepper@redhat.com>
3977
3978 * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
3979 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
3980
3981 * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
3982 erfcl.
3983 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3984
aeba9785
UD
39852001-03-16 David Mosberger <davidm@hpl.hp.com>
3986
3987 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
3988 Drop hack that was needed for 2.1.1 kernel headers.
3989
3990 * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
3991
3992 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
3993 overlay with kernel's "struct sigcontext".
3994
3995 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
3996 sys/rse.h for "misc" subdir.
3997 (sysdep_routines): Add __start_context for "stdlib" subdir.
3998
3999 * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
4000 kernel file of the same name).
4001
4002 * stdlib/Makefile (tests): Add tst-setcontext.
4003 * stdlib/tst-setcontext.c: New file (based on a sample program by
4004 Uli Drepper).
4005
4006 * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
4007 * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
4008 * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
4009 * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
a66f0958 4010 * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
aeba9785
UD
4011
4012 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
4013 instead of shift & and.
4014
b8a8413c
UD
40152001-03-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
4016
4017 * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
4018 * sysdeps/s390/bits/huge_val.h: ...here.
4019 * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
4020 * sysdeps/s390/s390-64/ffs.c: Move to...
4021 * sysdeps/s390/ffs.c: ...here.
4022 * sysdeps/s390/s390-32/ffs.c: Remove.
4023
b15ff9d6
UD
40242001-03-16 Jakub Jelinek <jakub@redhat.com>
4025
4026 * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
4027 update osversion from more recent library.
4028
ffeac417
UD
40292001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4030
4031 * sysdeps/unix/sysv/linux/s390/Dist: Move to...
4032 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
4033 * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
4034 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
4035 * sysdeps/unix/sysv/linux/s390/Versions: Move to...
4036 * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
4037 * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
4038 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
4039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
4040 * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
4041 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
4042 * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
4043 * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
4044 * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
4045 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
4046 * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
4047 * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
4048 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
4049 * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
4050 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
4051 * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
4052 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
4053 * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
4054 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
4055 * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
4056 * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
4057 * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
4058 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
4059 * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
4060 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
4061 * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
4062 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
4063 * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
4064 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
4065 * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
4066 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
4067 * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
4068 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
4069 * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
4070 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
4071 * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
4072 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
4073 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
4074 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
4075 * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
4076 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
4077 * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
4078 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
4079 * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
4080 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
4081 * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
4082 * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
4083 * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
4084 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
4085 * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
4086 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
4087 * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
4088 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
4089 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
4090 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
4091 * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
4092 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
4093 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
4094 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
4095 * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
4096 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
4097 * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
4098 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
4099 * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
4100 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
4101 * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
4102 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
4103 * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
4104 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
4105 * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
4106 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
4107 * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
4108 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
4109 * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
4110 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
4111 * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
4112 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
4113 * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
4114 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
4115 * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
4116 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
4117 * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
4118 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
4119 * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
4120 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
4121 * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
4122 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
4123 * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
4124 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
4125 * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
4126 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
4127 * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
4128 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
4129 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
4130 * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
4131 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
4132 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
4133 * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
4134 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
4135 * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
4136 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
4137 * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
4138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
4139 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
4140 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
4141 * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
4142 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
4143 * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
4144 * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
4145
41462001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4147
4148 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
4149 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
4150 * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
4151 * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
4152 * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
4153 * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
4154 * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
4155 * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
4156 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
4157 * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
4158 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
4159 * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
4160 * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
4161 * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
4162 * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
4163 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
4164 * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
4165 * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
4166 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
4167 * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
4168 * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
4169 * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
4170 * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
4171 * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
4172 * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
4173 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
4174 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
4175 * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
4176 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
4177 * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
4178 * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
4179 * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
4180 * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
4181 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
4182 * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
4183 * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
4184 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
4185 * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
4186 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
4187 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
4188 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
4189 * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
4190 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
4191 * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
4192 * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
4193 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
4194 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
4195 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
4196 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
4197 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
4198 * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
4199 * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
4200 * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
4201
42022001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4203
4204 * sysdeps/s390/Dist: Move to...
4205 * sysdeps/s390/390-32/Dist: ...here.
4206 * sysdeps/s390/Implies: Move to...
4207 * sysdeps/s390/s390-32/Implies: ...here.
4208 * sysdeps/s390/Makefile: Move to...
4209 * sysdeps/s390/s390-32/Makefile: ...here.
4210 * sysdeps/s390/Versions: Move to...
4211 * sysdeps/s390-32/s390/Versions: ...here.
4212 * sysdeps/s390/add_n.S: Move to...
4213 * sysdeps/s390/s390-32/add_n.S: ...here.
4214 * sysdeps/s390/addmul_1.S: Move to...
4215 * sysdeps/s390/s390-32/addmul_1.S: ...here.
4216 * sysdeps/s390/atomicity.h: Move to...
4217 * sysdeps/s390/s390-32/atomicity.h: ...here.
4218 * sysdeps/s390/backtrace.c: Move to...
4219 * sysdeps/s390/s390-32/backtrace.c: ...here.
4220 * sysdeps/s390/bcopy.S: Move to...
4221 * sysdeps/s390/s390-32/bcopy.S: ...here.
4222 * sysdeps/s390/bits/byteswap.h: Move to...
4223 * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
4224 * sysdeps/s390/bits/huge_val.h: Move to...
4225 * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
4226 * sysdeps/s390/bsd-_setjmp.S: Move to...
4227 * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
4228 * sysdeps/s390/bsd-setjmp.S: Move to...
4229 * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
4230 * sysdeps/s390/bzero.S: Move to...
4231 * sysdeps/s390/s390-32/bzero.S: ...here.
4232 * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
4233 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
4234 * sysdeps/s390/elf/bsd-setjmp.S: Move to...
4235 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
4236 * sysdeps/s390/elf/start.S: Move to...
4237 * sysdeps/s390/s390-32/elf/start.S: ...here.
4238 * sysdeps/s390/ffs.c: Move to...
4239 * sysdeps/s390/s390-32/ffs.c: ...here.
4240 * sysdeps/s390/memchr.S: Move to...
4241 * sysdeps/s390/s390-32/memchr.S: ...here.
4242 * sysdeps/s390/memcpy.S: Move to...
4243 * sysdeps/s390/s390-32/memcpy.S: ...here.
4244 * sysdeps/s390/memset.S: Move to...
4245 * sysdeps/s390/s390-32/memset.S: ...here.
4246 * sysdeps/s390/mul_1.S: Move to...
4247 * sysdeps/s390/s390-32/mul_1.S: ...here.
4248 * sysdeps/s390/s390-mcount.S: Move to...
4249 * sysdeps/s390/s390-32/s390-mcount.S: ...here.
4250 * sysdeps/s390/strcpy.S: Move to...
4251 * sysdeps/s390/s390-32/strcpy.S: ...here.
4252 * sysdeps/s390/strncpy.S: Move to...
4253 * sysdeps/s390/s390-32/strncpy.S: ...here.
4254 * sysdeps/s390/sub_n.S: Move to...
4255 * sysdeps/s390/s390-32/sub_n.S: ...here.
4256
42572001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4258
4259 * sysdeps/s390/s390-64/Dist: New file.
4260 * sysdeps/s390/s390-64/Implies: New file.
4261 * sysdeps/s390/s390-64/Makefile: New file.
4262 * sysdeps/s390/s390-64/__longjmp.c: New file.
4263 * sysdeps/s390/s390-64/add_n.S: New file.
4264 * sysdeps/s390/s390-64/atomicity.h: New file.
4265 * sysdeps/s390/s390-64/backtrace.c: New file.
4266 * sysdeps/s390/s390-64/bcopy.S: New file.
4267 * sysdeps/s390/s390-64/bits/byteswap.h: New file.
4268 * sysdeps/s390/s390-64/bits/huge_val.h: New file.
4269 * sysdeps/s390/s390-64/bits/setjmp.h: New file.
4270 * sysdeps/s390/s390-64/bits/string.h: New file.
4271 * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
4272 * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
4273 * sysdeps/s390/s390-64/bzero.S: New file.
4274 * sysdeps/s390/s390-64/dl-machine.h: New file.
4275 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
4276 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
4277 * sysdeps/s390/s390-64/elf/setjmp.S: New file.
4278 * sysdeps/s390/s390-64/elf/start.S: New file.
4279 * sysdeps/s390/s390-64/ffs.c: New file.
4280 * sysdeps/s390/s390-64/initfini.c: New file.
4281 * sysdeps/s390/s390-64/memchr.S: New file.
4282 * sysdeps/s390/s390-64/memcpy.S: New file.
4283 * sysdeps/s390/s390-64/memset.S: New file.
4284 * sysdeps/s390/s390-64/s390x-mcount.S: New file.
4285 * sysdeps/s390/s390-64/setjmp.S: New file.
4286 * sysdeps/s390/s390-64/strcpy.S: New file.
4287 * sysdeps/s390/s390-64/strncpy.S: New file.
4288 * sysdeps/s390/s390-64/sub_n.S: New file.
4289 * sysdeps/s390/s390-64/sysdep.h: New file.
4290
42912001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4292
4293 * scripts/config.guess: Add support for Linux on 64 bit S/390.
4294 * scripts/config.sub: Likewise.
4295
42962001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4297
4298 * configure.in: Add support for 64 bit S/390.
4299
4300 * elf/elf.h: Add new relocations for 64 bit S/390.
4301
4302 * shlib-versions: Add rules for Linux on 64 bit S/390.
4303
43042001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4305
4306 * sysdeps/s390/__longjmp.c: Move to...
4307 * sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
4308 to load the floating point registers that should be saved
4309 according to the ABI.
4310
4311 * sysdeps/s390/bits/setjmp.h: Move to...
4312 * sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
4313 the use of long long in the __jmp_buf type definition.
4314
4315 * sysdeps/s390/bits/string.h: Move to...
4316 * sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
4317 #ifndef _FORCE_INLINES.
4318
4319 * sysdeps/s390/dl-machine.h: Move to...
4320 * sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
4321 executables EI_CLASS in elf_machine_matches_host.
4322
4323 * sysdeps/s390/elf/setjmp.S: Move to...
4324 * sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
4325 branches to globally defined symbol __sigsetjmp by branches to
4326 a local label (this avoids the generation of a R_390_PC16DBL
4327 relocation in -fpic code).
4328
4329 * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
4330 calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
4331
4332 * sysdeps/s390/initfini.c: Move to...
4333 * sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
4334 ".align 4,0x07".
4335
4336 * sysdeps/s390/setjmp.S: Move to...
4337 * sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
4338 floating point registers that should be saved according to the ABI.
4339
4340 * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
4341
4342 * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
da1375be 4343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
ffeac417
UD
4344 sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
4345
43462001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
4347
4348 * configure.in: Change machine=s390 to machine=s390/s390-32.
4349
4350 * elf/elf.h: Correct comment for R_390_PLT16DBL.
4351
a986484f
UD
43522001-03-12 Jakub Jelinek <jakub@redhat.com>
4353
4354 * csu/Makefile (abi-tag.h): Define OS and version separately, allow
4355 version to be overriden from config.h.
4356 * csu/abi-note.S: Use OS and version separately, include config.h.
4357 * elf/dl-load.c (_dl_osversion): New.
4358 (_dl_map_object_from_fd): Kill some warnings.
4359 (open_verify): Check .note.ABI-tag of the library if present.
4360 * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
4361 * elf/cache.c (struct cache_entry): Add osversion.
4362 (print_entry): Print osversion.
4363 (print_cache): Pass osversion to it.
4364 (compare): Sort according to osversion.
4365 (save_cache): Set osversion.
4366 (add_to_cache): Add osversion argument.
4367 * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
4368 process_elf_file): Add osversion argument.
4369 * elf/readlib.c (process_file): Likewise.
4370 * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
4371 * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
4372 process_elf32_file, process_elf64_file): Likewise.
4373 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
4374 process_elf32_file, process_elf64_file): Likewise.
4375 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
4376 process_elf32_file, process_elf64_file): Likewise.
4377 * elf/ldconfig.c (manual_link): Pass it.
4378 (search_dir): Issue diagnostic if two libs with the same soname in
4379 the same directory have different .note.ABI-tag. Record osversion in
4380 dlib_entry and use it from there.
4381 (struct lib_entry): Remove.
4382 (struct dlib_entry): Add osversion.
4383 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
4384 osversion.
4385 * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
4386 field with osversion.
4387 * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
4388 * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
4389 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
4390 version in _dl_osversion.
4391 * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
4392 * Makerules (build-shlib-helper, build-module-helper): New.
4393 (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
4394 early.
4395 * config.h.in (__ABI_TAG_VERSION): Add.
4396 * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
4397 * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
4398 Handle LD_ASSUME_KERNEL.
4399 * sysdeps/unix/sysv/linux/dl-librecon.h: New.
4400
955994e1
UD
44012001-03-15 Ulrich Drepper <drepper@redhat.com>
4402
328c5f65
UD
4403 * timezone/antarctica: Update from tzdata2001a.
4404 * timezone/asia: Likewise.
4405 * timezone/australasia: Likewise.
4406 * timezone/backward: Likewise.
4407 * timezone/etcetera: Likewise.
4408 * timezone/europe: Likewise.
4409 * timezone/leapseconds: Likewise.
4410 * timezone/northamerica: Likewise.
4411 * timezone/southamerica: Likewise.
4412 * timezone/systemv: Likewise.
4413 * timezone/yearistype: Likewise.
4414 * timezone/zone.tab: Likewise.
4415 * timezone/tzdump.c: Update from tzcode2001a.
4416
44172001-03-15 H.J. Lu <hjl@gnu.org>
4418
4419 * intl/Makefile: Fix a typo.
4420
44212001-03-14 David Mosberger <davidm@hpl.hp.com>
4422
4423 * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
4424 writing arc structures.
4425
44262001-03-15 H.J. Lu <hjl@gnu.org>
4427
4428 * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
4429 cross-compiling.
4430
44312001-03-13 Andreas Schwab <schwab@suse.de>
4432
4433 * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
4434
44352001-03-15 Ulrich Drepper <drepper@redhat.com>
4436
4437 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
4438 for control message fitting into message data.
4439 Patch by James Antill <james@and.org>.
4440
821a6bb4
UD
4441 * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
4442 FNM_EXTMATCH.
4443
4444 * posix/fnmatch_loop.c: Optimize handling of ?() and @().
4445 * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
4446
4447 * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
4448 * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
4449 avoid running binaries with libc versions without FNM_EXTMATCH support.
4450
4451 * include/wchar.h: Add prototype for __wcscat.
4452 * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
4453
955994e1
UD
4454 * posix/fnmatch.h (FNM_EXTMATCH): Define.
4455 * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
4456 (posixly_correct): Move global variable here.
4457 (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
4458 (fnmatch): Pretty printing.
4459 * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
4460 * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
4461 * posix/tst-fnmatch.input: Add tests for extended matching.
4462
4463 * posix/testfnm.c: Add test for patterns with multiple ** before /.
4464 * posix/fnmatch_loop.c: Fix problem with the test above.
4465
0493a6d7
UD
44662001-03-14 Ulrich Drepper <drepper@redhat.com>
4467
4468 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
4469 reference to usqrt.
4470
4471 * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
4472
cd6e89b2
AJ
44732001-03-12 Andreas Jaeger <aj@suse.de>
4474
4475 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
0493a6d7 4476 Use EM_X86_64 instead of EM_X8664.
cd6e89b2 4477
ca58f1db
UD
44782001-03-12 Ulrich Drepper <drepper@redhat.com>
4479
a2d61ef8
UD
4480 * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
4481
ca58f1db
UD
4482 * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
4483 conditions.
4484
4485 * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
4486 conditions.
4487
4488 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
4489 correctly.
4490 (__cos): Likewise.
4491
4492 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
4493 correctly.
4494 (__ieee754_acos): Likewise.
4495
f993e803
AJ
44962001-03-12 Andreas Jaeger <aj@suse.de>
4497
8cbdd648
AJ
4498 * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
4499 Fix typo. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4500
f993e803 4501 * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
ca58f1db 4502 redefinition.
f993e803 4503
efd822f9
RM
45042001-03-11 Roland McGrath <roland@frob.com>
4505
4506 * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
4507
e4d82761
UD
45082001-03-11 Ulrich Drepper <drepper@redhat.com>
4509
ca58f1db
UD
4510 * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
4511 LITTLE_ENDI.
4512
4513 * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
4514 parameter list.
4515
e4d82761
UD
4516 Last-bit accurate math library implementation by IBM Haifa.
4517 Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
4518 <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
4519 Anna Reitman <reitman@il.ibm.com>.
4520 * math/Makefile (dbl-only-routines): New variable.
4521 (libm-routines): Add $(dbl-only-routines).
4522 * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
4523 * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
4524 implementation.
4525 * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
4526 implementation.
4527 * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
4528 implementation.
4529 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
4530 __kernel_cos.
4531 * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
4532 implementation.
4533 * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
4534 remainder implementation.
4535 * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
4536 implementation.
4537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
4538 implementation.
4539 * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
4540 * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
4541 * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
4542 implementation.
4543 * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
4544 * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
4545 implementation.
4546 * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
4547 and __kernel_cos.
4548 * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
4549 implementation.
4550 * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
4551 * sysdeps/ieee754/dbl-64/MathLib.h: New file.
4552 * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
4553 * sysdeps/ieee754/dbl-64/atnat.h: New file.
4554 * sysdeps/ieee754/dbl-64/atnat2.h: New file.
4555 * sysdeps/ieee754/dbl-64/branred.c: New file.
4556 * sysdeps/ieee754/dbl-64/branred.h: New file.
4557 * sysdeps/ieee754/dbl-64/dla.h: New file.
4558 * sysdeps/ieee754/dbl-64/doasin.c: New file.
4559 * sysdeps/ieee754/dbl-64/doasin.h: New file.
4560 * sysdeps/ieee754/dbl-64/dosincos.c: New file.
4561 * sysdeps/ieee754/dbl-64/dosincos.h: New file.
4562 * sysdeps/ieee754/dbl-64/endian.h: New file.
4563 * sysdeps/ieee754/dbl-64/halfulp.c: New file.
4564 * sysdeps/ieee754/dbl-64/mpa.c: New file.
4565 * sysdeps/ieee754/dbl-64/mpa.h: New file.
4566 * sysdeps/ieee754/dbl-64/mpa2.h: New file.
4567 * sysdeps/ieee754/dbl-64/mpatan.c: New file.
4568 * sysdeps/ieee754/dbl-64/mpatan.h: New file.
4569 * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
4570 * sysdeps/ieee754/dbl-64/mpexp.c: New file.
4571 * sysdeps/ieee754/dbl-64/mpexp.h: New file.
4572 * sysdeps/ieee754/dbl-64/mplog.c: New file.
4573 * sysdeps/ieee754/dbl-64/mplog.h: New file.
4574 * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
4575 * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
4576 * sysdeps/ieee754/dbl-64/mptan.c: New file.
4577 * sysdeps/ieee754/dbl-64/mydefs.h: New file.
4578 * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
4579 * sysdeps/ieee754/dbl-64/root.tbl: New file.
4580 * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
4581 * sysdeps/ieee754/dbl-64/sincos32.c: New file.
4582 * sysdeps/ieee754/dbl-64/sincos32.h: New file.
4583 * sysdeps/ieee754/dbl-64/slowexp.c: New file.
4584 * sysdeps/ieee754/dbl-64/slowpow.c: New file.
4585 * sysdeps/ieee754/dbl-64/uasncs.h: New file.
4586 * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
4587 * sysdeps/ieee754/dbl-64/uexp.h: New file.
4588 * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
4589 * sysdeps/ieee754/dbl-64/ulog.h: New file.
4590 * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
4591 * sysdeps/ieee754/dbl-64/upow.h: New file.
4592 * sysdeps/ieee754/dbl-64/upow.tbl: New file.
4593 * sysdeps/ieee754/dbl-64/urem.h: New file.
4594 * sysdeps/ieee754/dbl-64/uroot.h: New file.
4595 * sysdeps/ieee754/dbl-64/usncs.h: New file.
4596 * sysdeps/ieee754/dbl-64/utan.h: New file.
4597 * sysdeps/ieee754/dbl-64/utan.tbl: New file.
4598 * sysdeps/i386/fpu/branred.c: New file.
4599 * sysdeps/i386/fpu/doasin.c: New file.
4600 * sysdeps/i386/fpu/dosincos.c: New file.
4601 * sysdeps/i386/fpu/halfulp.c: New file.
4602 * sysdeps/i386/fpu/mpa.c: New file.
4603 * sysdeps/i386/fpu/mpatan.c: New file.
4604 * sysdeps/i386/fpu/mpatan2.c: New file.
4605 * sysdeps/i386/fpu/mpexp.c: New file.
4606 * sysdeps/i386/fpu/mplog.c: New file.
4607 * sysdeps/i386/fpu/mpsqrt.c: New file.
4608 * sysdeps/i386/fpu/mptan.c: New file.
4609 * sysdeps/i386/fpu/sincos32.c: New file.
4610 * sysdeps/i386/fpu/slowexp.c: New file.
4611 * sysdeps/i386/fpu/slowpow.c: New file.
4612 * sysdeps/ia64/fpu/branred.c: New file.
4613 * sysdeps/ia64/fpu/doasin.c: New file.
4614 * sysdeps/ia64/fpu/dosincos.c: New file.
4615 * sysdeps/ia64/fpu/halfulp.c: New file.
4616 * sysdeps/ia64/fpu/mpa.c: New file.
4617 * sysdeps/ia64/fpu/mpatan.c: New file.
4618 * sysdeps/ia64/fpu/mpatan2.c: New file.
4619 * sysdeps/ia64/fpu/mpexp.c: New file.
4620 * sysdeps/ia64/fpu/mplog.c: New file.
4621 * sysdeps/ia64/fpu/mpsqrt.c: New file.
4622 * sysdeps/ia64/fpu/mptan.c: New file.
4623 * sysdeps/ia64/fpu/sincos32.c: New file.
4624 * sysdeps/ia64/fpu/slowexp.c: New file.
4625 * sysdeps/ia64/fpu/slowpow.c: New file.
4626 * sysdeps/m68k/fpu/branred.c: New file.
4627 * sysdeps/m68k/fpu/doasin.c: New file.
4628 * sysdeps/m68k/fpu/dosincos.c: New file.
4629 * sysdeps/m68k/fpu/halfulp.c: New file.
4630 * sysdeps/m68k/fpu/mpa.c: New file.
4631 * sysdeps/m68k/fpu/mpatan.c: New file.
4632 * sysdeps/m68k/fpu/mpatan2.c: New file.
4633 * sysdeps/m68k/fpu/mpexp.c: New file.
4634 * sysdeps/m68k/fpu/mplog.c: New file.
4635 * sysdeps/m68k/fpu/mpsqrt.c: New file.
4636 * sysdeps/m68k/fpu/mptan.c: New file.
4637 * sysdeps/m68k/fpu/sincos32.c: New file.
4638 * sysdeps/m68k/fpu/slowexp.c: New file.
4639 * sysdeps/m68k/fpu/slowpow.c: New file.
4640
4641 * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
4642 codepages.
4643
f6b8deb0
AJ
46442001-03-11 Andreas Jaeger <aj@suse.de>
4645
4646 * elf/elf.h (EM_*): Synch with official list.
4647
667b0577
UD
46482001-03-07 David Mosberger <davidm@hpl.hp.com>
4649
4650 * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
4651
46522001-03-07 Jes Sorensen <jes@linuxcare.com>
4653
4654 * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
4655 variables addr & len.
4656
46572001-02-22 Jes Sorensen <jes@linuxcare.com>
4658
4659 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
4660 punctuation in asm constraint.
4661
46622001-03-07 Mark Kettenis <kettenis@gnu.org>
4663
4664 * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
4665 <time.h> to get definition of `struct timespec'.
4666
46672001-03-08 Jakub Jelinek <jakub@redhat.com>
4668
4669 * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
4670 LD_WARN=1, not if LD_WARN is unset.
4671
46722001-03-07 Andreas Schwab <schwab@suse.de>
4673
4674 * elf/ldconfig.h: Moved to ...
4675 * sysdeps/generic/ldconfig.h: ... here.
4676 * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
4677 * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
4678 * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
4679 * elf/readlib.c (interpreters, known_libs): Use
4680 SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
4681 instead of hard coding old names.
4682
f79bdc33
UD
46832001-03-09 Ulrich Drepper <drepper@redhat.com>
4684
4685 * catgets/Makefile (generated): Add test-gencat.h.
4686 (sample.SJIS.cat): Also generate header.
4687 * catgets/sample.SJIS: Add new set and message, both with symbolic
4688 names.
4689 * catgets/test-gencat.sh: Also compare generated header with what
4690 we expect.
4691
46922001-03-07 Jakub Jelinek <jakub@redhat.com>
4693
4694 * catgets/gencat.c (read_input_file): Preserve properly symbolic
4695 names.
4696
46972001-03-06 Andreas Jaeger <aj@suse.de>
4698
4699 * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
4700 needed.
4701 (elf_machine_pltrel_p): Likewise.
4702 * sysdeps/powerpc/dl-machine.h: Likewise.
4703 * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
4704
47052001-03-09 Ulrich Drepper <drepper@redhat.com>
4706
4707 * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
4708 dl-procinfo.h.
4709
47102001-03-05 Philip Blundell <philb@gnu.org>
4711
4712 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
4713 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
4714 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
4715 (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
4716 dl-procinfo.
4717
47182001-03-09 Ulrich Drepper <drepper@redhat.com>
4719
4720 * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
4721 is not available.
4722 * dlfcn/tstcxaatexit.c (main): Likewise.
4723
94a3395c
AJ
47242001-03-10 Andreas Jaeger <aj@suse.de>
4725
4726 * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
4727
9672b937
AJ
47282001-03-09 Andreas Jaeger <aj@suse.de>
4729
4730 * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
4731 both new and old EM_S390 values.
4732 (EM_S390_OLD): New constant.
4733
4734 * elf/elf.h (EM_S390): Use official value.
4735
1ca17c10
UD
47362001-03-09 Ulrich Drepper <drepper@redhat.com>
4737
4738 * conform/data/sys/socket.h-data: Allow SO* symbols.
4739
3eb4be93
AS
47402001-03-07 Andreas Schwab <schwab@suse.de>
4741
4742 * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
4743 routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
4744
3897dbb6
AJ
47452001-03-07 Andreas Jaeger <aj@suse.de>
4746
4747 * resolv/Makefile (routines): Only build gai_sigqueue when threads
4748 are available.
4749
b9fb7870
AJ
47502001-03-07 Jakub Jelinek <jakub@redhat.com>
4751
504216a0
AJ
4752 * elf/ldconfig.c (_dl_sysdep_message): Remove.
4753 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
4754 ldsodefs.h.
4755 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
4756
b9fb7870
AJ
4757 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
4758 _dl_error_printf instead of _dl_sysdep_error.
4759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4760 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
4761 Use _dl_printf instead of _dl_sysdep_message.
4762 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
4763 Likewise.
4764
150f9fb8
AJ
47652001-03-06 Ben Collins <bcollins@debian.org>
4766
4767 * manual/arith.texi (Integers): Fix documentation of fast and
4768 least integer typedefs.
4769
e10546cb
AJ
47702001-03-06 Jakub Jelinek <jakub@redhat.com>
4771
4772 * resolv/Depend: New file.
4773 * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
4774 when libpthread is built.
4775
b12860f1
AJ
47762001-03-06 Andreas Jaeger <aj@suse.de>
4777
ffb555a1
AJ
4778 * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
4779
b12860f1
AJ
4780 * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
4781 Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
4782
d127a875
UD
47832001-03-05 Ulrich Drepper <drepper@redhat.com>
4784
4785 * stdlib/Versions: Remove __new_exitfn again. Not needed.
4786
647dd1ed
AJ
47872001-03-05 Andreas Jaeger <aj@suse.de>
4788
4789 * stdlib/msort.c (qsort): Don't use alloca in a function call.
4790
3e90e361
UD
47912001-03-05 Ulrich Drepper <drepper@redhat.com>
4792
4793 * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
4794 __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still
4795 always return zero.
4796 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
4797 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
4798 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4799 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
4800 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
4801 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4802 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4803
278689e8
AJ
48042001-03-04 Andreas Jaeger <aj@suse.de>
4805
4806 * stdlib/longlong.h: Don't use multi-line strings.
4807 * iconvdata/tst-loading.c: Likewise.
4808
4809 * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
4810 string.
4811
73807ef9
UD
48122001-03-04 Ulrich Drepper <drepper@redhat.com>
4813
2b432733
UD
4814 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
4815
d127a875 4816 * rt/lio_listio.c: Add a few asserts.
d5198f8d 4817
273a3cfb
UD
4818 * elf/global.c: New file.
4819 * elf/globalmod1.c: New file.
4820 * elf/Makefile: Add rules to build and run global.
4821
bd575f16
UD
4822 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
4823 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4824 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4825 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4826 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4827
3bde1a69
UD
4828 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
4829 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
4830
4831 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
4832
4833 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
4834 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4835
4836 * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
4837
73807ef9
UD
4838 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
4839
fb0ff31b
AJ
48402001-03-04 Andreas Jaeger <aj@suse.de>
4841
f01817b0 4842 * resolv/tst-aton.c: Add testcase for IP with four periods.
fb0ff31b 4843
f01817b0 4844 * resolv/inet_addr.c: Don't recognize an IP with four periods.
fb0ff31b
AJ
4845 Patch by Andre' Breiler <A.Breiler@gmx.net>.
4846
1746f2b0
UD
48472001-02-27 Philip Blundell <pb@futuretv.com>
4848
4849 * elf/elf.h: Add new ARM definitions from latest (B-01)
4850 specification. Correct naming of EF_ARM_ALIGN8 et al.
4851
48522001-03-04 Ulrich Drepper <drepper@redhat.com>
4853
4854 * stdio-common/tst-printf.sh: Remove bashisms.
4855 Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
4856
28b20578
UD
48572001-03-03 Ulrich Drepper <drepper@redhat.com>
4858
2ace5721 4859 * Versions.def: Add libanl definition.
1746f2b0 4860 * shlib-versions: Add entry for libanl.
2ace5721
UD
4861 * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
4862 (routines): Add gai_sigqueue.
4863 (extra-libs): Add libanl.
4864 (libanl-routines): New variable.
4865 Add rules to build libanl and ga_test.
4866 * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
4867 [libanl]: New library.
4868 * resolv/netdb.h: Add definitions for libanl.
4869 * resolv/getaddrinfo_a.c: New file.
4870 * resolv/gai_cancel.c: New file.
4871 * resolv/gai_error.c: New file.
4872 * resolv/gai_misc.c: New file.
4873 * resolv/gai_misc.h: New file.
4874 * resolv/gai_notify.c: New file.
4875 * resolv/gai_suspend.c: New file.
4876 * resolv/ga_test.c: New file.
4877 * sysdeps/generic/gai_sigqueue.c: New file.
4878 * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
4879 * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
4880 and provide only that definition.
4881 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
4882 * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
4883 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4884 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
4885 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4886 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
4887
4888 * rt/aio_misc.c: Fix typos in comments.
4889 * rt/lio_listio.c: Pretty printing. Little optimization in request
4890 list handling.
4891
4892 * elf/rtld.c: Remove commented out code.
4893
28b20578
UD
4894 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
4895 Update for real 2.4 kernels.
4896
c1d32f33
UD
48972001-03-01 Ulrich Drepper <drepper@redhat.com>
4898
4899 * elf/dl-load.c: Pretty printing.
4900
4901 * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
4902 twice.
4903
7b97934b
UD
49042001-02-28 Ulrich Drepper <drepper@redhat.com>
4905
4906 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
4907 relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
4908
4909 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
4910
c1d32f33 4911 * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
7b97934b
UD
4912 machines.
4913
4914 * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
4915
b76a75de
UD
49162001-02-27 Ulrich Drepper <drepper@redhat.com>
4917
40619178
UD
4918 * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
4919 _dl_debug_mask.
4920
b5ba0659
UD
4921 * elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
4922 _dl_debug_printf.
4923 * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
4924 _dl_debug_message. Define _dl_debug_vdprintf, _dl_debug_printf,
4925 _dl_debug_printf_c, and _dl_printf.
4926 * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
4927 _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
4928 _dl_sysdep_fatal. Declare _dl_debug_printf, _dl_debug_printf_c,
4929 _dl_printf, _dl_error_printf, and _dl_fatal_printf.
4930 * elf/dl-close.c: Replace use of old output functions with the new
4931 ones.
4932 * elf/dl-deps.c: Likewise.
4933 * elf/dl-error.c: Likewise.
4934 * elf/dl-fini.c: Likewise.
4935 * elf/dl-init.c: Likewise.
4936 * elf/dl-load.c: Likewise.
4937 * elf/dl-lookup.c: Likewise.
4938 * elf/dl-minimal.c: Likewise.
4939 * elf/dl-open.c: Likewise.
4940 * elf/dl-profile.c: Likewise.
4941 * elf/dl-reloc.c: Likewise.
4942 * elf/dl-version.c: Likewise.
4943 * elf/do-lookup.h: Likewise.
4944 * elf/rtld.c: Likewise.
4945 * sysdeps/generic/dl-cache.c: Likewise.
4946 * sysdeps/generic/dl-sysdep.c: Likewise.
4947 * sysdeps/generic/libc-start.c: Likewise.
4948 * sysdeps/i386/dl-machine.h: Likewise.
35fc382a
UD
4949 * sysdeps/arm/dl-machine.h: Likewise.
4950 * sysdeps/hppa/dl-machine.h: Likewise.
4951 * sysdeps/m68k/dl-machine.h: Likewise.
4952 * sysdeps/powerpc/dl-machine.h: Likewise.
4953 * sysdeps/s390/dl-machine.h: Likewise.
4954 * sysdeps/sh/dl-machine.h: Likewise.
b5ba0659
UD
4955 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4956 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4957 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4958
4959 * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
4960
4961 * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
4962 supported by assembler.
4963
edd8e70f
UD
4964 * sysdeps/generic/ldsodefs.h: Remove commented-out variable
4965 declaractions.
4966
ba9fcb3f
UD
4967 * elf/rtld.c: Little optimizations in handling _dl_lazy.
4968
4969 * elf/cache.c (save_cache): Portability changes.
4970 * elf/dl-profile.c (_dl_start_profile): Likewise.
4971
4972 * elf/sln.c: Cleanups. Remove arbitrary limits.
4973
b76a75de
UD
4974 * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
4975 * elf/dl-deps.c: Likewise.
4976 * elf/dl-fini.c: Likewise.
4977 * elf/dl-init.c: Likewise.
4978 * elf/dl-load.c: Likewise.
4979 * elf/dl-lookup.c: Likewise.
4980 * elf/dl-open.c: Likewise.
4981 * elf/dl-reloc.c: Likewise.
4982 * elf/dl-support.c: Likewise.
4983 * elf/dl-version.c: Likewise.
4984 * elf/do-lookup.h: Likewise.
4985 * elf/rtld.c: Likewise.
4986 * sysdeps/generic/dl-cache.c: Likewise.
4987 * sysdeps/generic/ldsodefs.h: Likewise.
4988 * sysdeps/generic/libc-start.c: Likewise.
4989 * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
4990 Export _dl_debug_mask.
4991 * Versions.def: Define GLIBC_2.2.3 for ld.
4992
4d8bbe63
GM
49932001-02-26 Greg McGary <greg@mcgary.org>
4994
4995 * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
4996
46c3f8cd
UD
49972001-02-26 Paul Eggert <eggert@twinsun.com>
4998
4999 Modify mkstemp.c and tempname.c so that they can be used by
5000 GNU applications on non-glibc platforms.
5001
5002 * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
5003
5004 * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
5005 Include <stddef.h>, <stdint.h>, <string.h> only if
5006 STDC_HEADERS || _LIBC.
5007 Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
5008 Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
5009 Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
5010 (__set_errno): Define this macro if <errno.h> doesn't.
5011 (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
5012 Define these macros if <stdio.h> doesn't.
5013 (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
5014 Define these macros if <sys/stat.h> doesn't.
5015 Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
5016 (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
5017 lxstat64, __xstat64): Define if not _LIBC.
5018 (struct_stat64): New macro.
5019 (direxists, __gen_tempname): Use it, to avoid a
5020 portability problem with Solaris 8.
5021 (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
5022 (__gen_tempname): Invoke gettimeofday only if
5023 HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
5024 Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
5025 octal values like 0600.
5026
c08bc50a
UD
50272001-02-26 Ulrich Drepper <drepper@redhat.com>
5028
08b3d7ad
UD
5029 * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
5030 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5031
5032 * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
5033 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5034
00b16c4a
UD
5035 * posix/wordexp-test.c (testit): Remove warnings.
5036
c08bc50a
UD
5037 * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
5038 (tests): Add tstatexit and tstcxaatexit.
5039 (module-names): Add modatexit and modcxaatexit.
5040 Add rules to build and run tstatexit and tstcxaatexit.
5041 * dlfcn/modatexit.c: New file.
5042 * dlfcn/modcxaatexit.c: New file.
5043 * dlfcn/tstatexit.c: New file.
5044 * dlfcn/tstcxaatexit.c: New file.
5045
5046 * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
5047 .hidden is available.
5048 * io/stat.c: If .hidden is available use it to avoid exporting
5049 functions.
5050 * io/fstat.c: Likewise.
5051 * io/lstat.c: Likewise.
5052 * io/stat64.c: Likewise.
5053 * io/fstat64.c: Likewise.
5054 * io/lstat64.c: Likewise.
5055 * sysdeps/generic/mknod.c: Likewise.
5056
5057 * malloc/mtrace.c: Use __cxa_atexit and not atexit.
5058 * sysdeps/generic/bb_init_func.c: Likewise.
5059 * sysdeps/generic/libc-start.c: Likewise.
5060
5061 * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
5062 (atexit): Implement using __cxa_atexit.
5063 Use .hidden if availble to avoid exporting atexit.
5064 * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
5065 * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
5066 * stdlib/Makefile (routines): Add old_atexit.
5067 (static-only-routines): Add atexit.
5068 Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
5069 * stdlib/old_atexit.c: New file.
5070
5071 * intl/Makefile: Remove bogus endif.
5072
5af65d0e
AJ
50732001-02-26 Andreas Jaeger <aj@suse.de>
5074
5075 * iconvdata/Makefile (tests): Fix typo in last patch.
5076
89e89345
AJ
5077 * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
5078 available.
5079 Reported by Achim Gottinger <achim@gentoo.org>.
5080
199745d1
AJ
50812001-02-25 Andreas Jaeger <aj@suse.de>
5082
5083 * intl/Makefile (plural.c): Reorder rules so that they work if
5084 BISON doesn't exist.
5085
6c9ea999
UD
50862001-02-25 Ulrich Drepper <drepper@redhat.com>
5087
5088 * intl/locale.alias: Don't use nb_NO but define aliases for it.
5089
ef5166a6
UD
50902001-02-23 Ulrich Drepper <drepper@redhat.com>
5091
5092 * sysdeps/i386/strtok.S: Continue to return NULL after the first
5093 time this happened.
5094
d436a9f7
UD
50952001-02-23 Andreas Jaeger <aj@suse.de>
5096
5097 * string/tester.c (test_strtok_r): Add testcase.
5098 (test_strtok_r): Always initialize cp for proper checking.
5099
5100 * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
5101 returning NULL correctly.
5102 Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
5103 * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
5104
51052001-02-23 Ulrich Drepper <drepper@redhat.com>
5106
5107 * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
5108 including <stddef.h>.
5109 * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
5110 * include/libc-symbols.h (weak_alias): Don't use .weak if
5111 HAVE_ASM_GLOBAL_DOT_NAME is defined.
5112 Patches by Michael Keezer <mkeezer@redhat.com>.
5113
5114 * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
5115 Patch by Michael Keezer <mkeezer@redhat.com>.
5116
5117 * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
5118 * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
5119 (sysdep_routines): Remove restf.S and savef.S.
da1375be
UD
5120 * sysdeps/unix/sysv/aix/restf.S: Removed.
5121 * sysdeps/unix/sysv/aix/savef.S: Removed.
d436a9f7
UD
5122 * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label. Also define
5123 alternative names used on some platforms.
5124 * sysdeps/powerpc/fprsave.S: Likewise.
5125 * sysdeps/powerpc/gprrest0.S: Likewise.
5126 * sysdeps/powerpc/gprrest1.S: Likewise.
5127 * sysdeps/powerpc/gprsave0.S: Likewise.
5128 * sysdeps/powerpc/gprsave1.S: Likewise.
5129 Patch by Michael Keezer <mkeezer@redhat.com>.
5130
578af338
UD
51312001-02-22 Ulrich Drepper <drepper@redhat.com>
5132
5133 * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
5134
ab5dd2d9
AJ
51352001-02-22 Andreas Jaeger <aj@suse.de>
5136
5137 * string/tst-strtok.c (main): Fix error messages.
5138
bcbd6c73
AJ
51392001-02-22 Andreas Jaeger <aj@suse.de>
5140
5141 * math/Makefile: Remove omit-long-double-fcts.
5142
e947e316
AJ
51432001-02-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5144
5145 * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
5146 avoid problems on MIPS I.
5147 * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
5148
5149 * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
5150 noreorder".
5151
1999031e
UD
51522001-02-21 Ulrich Drepper <drepper@redhat.com>
5153
bd8fbd57
UD
5154 * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
5155
37ada9da
UD
5156 * sysdeps/generic/ftime.c: Include <time.h>.
5157
578af338 5158 * configure.in: Don't check for libgd if user passed --without-gd.
6dab8688
UD
5159 Patch by Achim Gottinger <achim@gentoo.org>.
5160
1999031e
UD
5161 * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
5162 first time this happened.
b716cb4e 5163 * string/Makefile (tests): Add tst-strtok.
1999031e
UD
5164
51652001-02-21 Andreas Jaeger <aj@suse.de>
5166
5167 * string/tst-strtok.c: New testcase, reported by
5168 Andrew Church <achurch@achurch.org>.
5169
b85b1334
UD
51702001-02-20 Ulrich Drepper <drepper@redhat.com>
5171
5172 * libio/iofwide.c: Remove fwide alias.
5173
b702b4ee
AJ
51742001-02-20 Andreas Jaeger <aj@suse.de>
5175
5176 * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
5177 is available.
5178 Reported by Achim Gottinger <achim@gentoo.org>.
5179
2d7faa72
UD
51802001-02-19 Ulrich Drepper <drepper@redhat.com>
5181
2fad2c60
UD
5182 * iconv/tst-iconv1.c (main): Remove debugging code.
5183
f14bd805
UD
5184 * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
5185 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5186
d210ca02
UD
5187 * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
5188 parameters.
8d18644b
UD
5189 * sysdeps/generic/e_scalbf.c: Likewise.
5190 * sysdeps/generic/e_scalbl.c: Likewise.
d210ca02 5191
2d7faa72
UD
5192 * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
5193 libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
5194 in libc.
5195 (routines): Replace libm_error with libc_libm_error.
5196 * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
5197 * sysdeps/ia64/fpu/libc_libm_error.c: New file.
5198
4c48dc93
UD
51992001-02-18 Mark Kettenis <kettenis@gnu.org>
5200
5201 * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
5202 (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
5203
52042001-02-17 H.J. Lu <hjl@gnu.org>
5205
5206 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
5207 scratch registers across the system call.
5208
4595829c
AJ
52092001-02-19 Andreas Jaeger <aj@suse.de>
5210
5211 * malloc/Makefile (tests): Run mtrace only when perl is available.
5212 Reported by Achim Gottinger <achim@gentoo.org>.
5213
8da2915d
UD
52142001-02-19 Ulrich Drepper <drepper@redhat.com>
5215
cf61f83f
UD
5216 * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
5217 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5218
5219 * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
5220 * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
5221 * math/libm-test.inc (j1_test): Mark constants as long double.
5222 (jn_test): Likewise.
5223 (y1_test): Likewise.
5224 (yn_test): Likewise.
5225
8da2915d
UD
5226 * libio/iogetline.c: Move return until after last statement.
5227
5228 * localedata/show-ucs-data.c: Don't show < > for better readability.
5229
5230 * sysdeps/ia64/fpu/Dist: New file.
5231 * sysdeps/ia64/fpu/Makefile: New file.
5232 * sysdeps/ia64/fpu/Versions: New file.
5233 * sysdeps/ia64/fpu/e_acos.S: New file.
5234 * sysdeps/ia64/fpu/e_acosf.S: New file.
5235 * sysdeps/ia64/fpu/e_acosl.S: New file.
5236 * sysdeps/ia64/fpu/e_asin.S: New file.
5237 * sysdeps/ia64/fpu/e_asinf.S: New file.
5238 * sysdeps/ia64/fpu/e_asinl.S: New file.
5239 * sysdeps/ia64/fpu/e_atan2.S: New file.
5240 * sysdeps/ia64/fpu/e_atan2f.S: New file.
5241 * sysdeps/ia64/fpu/e_atan2l.c: New file.
5242 * sysdeps/ia64/fpu/e_cosh.S: New file.
5243 * sysdeps/ia64/fpu/e_coshf.S: New file.
5244 * sysdeps/ia64/fpu/e_coshl.S: New file.
5245 * sysdeps/ia64/fpu/e_exp.S: New file.
5246 * sysdeps/ia64/fpu/e_expf.S: New file.
5247 * sysdeps/ia64/fpu/e_expl.c: New file.
5248 * sysdeps/ia64/fpu/e_fmod.S: New file.
5249 * sysdeps/ia64/fpu/e_fmodf.S: New file.
5250 * sysdeps/ia64/fpu/e_fmodl.S: New file.
5251 * sysdeps/ia64/fpu/e_hypot.S: New file.
5252 * sysdeps/ia64/fpu/e_hypotf.S: New file.
5253 * sysdeps/ia64/fpu/e_hypotl.S: New file.
5254 * sysdeps/ia64/fpu/e_log.S: New file.
5255 * sysdeps/ia64/fpu/e_log10.c: New file.
5256 * sysdeps/ia64/fpu/e_log10f.c: New file.
5257 * sysdeps/ia64/fpu/e_log10l.c: New file.
5258 * sysdeps/ia64/fpu/e_logf.S: New file.
5259 * sysdeps/ia64/fpu/e_logl.c: New file.
5260 * sysdeps/ia64/fpu/e_pow.S: New file.
5261 * sysdeps/ia64/fpu/e_powf.S: New file.
5262 * sysdeps/ia64/fpu/e_powl.S: New file.
5263 * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
5264 * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
5265 * sysdeps/ia64/fpu/e_remainder.S: New file.
5266 * sysdeps/ia64/fpu/e_remainderf.S: New file.
5267 * sysdeps/ia64/fpu/e_remainderl.S: New file.
5268 * sysdeps/ia64/fpu/e_scalb.S: New file.
5269 * sysdeps/ia64/fpu/e_scalbf.S: New file.
5270 * sysdeps/ia64/fpu/e_scalbl.S: New file.
5271 * sysdeps/ia64/fpu/e_sinh.S: New file.
5272 * sysdeps/ia64/fpu/e_sinhf.S: New file.
5273 * sysdeps/ia64/fpu/e_sinhl.S: New file.
5274 * sysdeps/ia64/fpu/e_sqrt.S: New file.
5275 * sysdeps/ia64/fpu/e_sqrtf.S: New file.
5276 * sysdeps/ia64/fpu/e_sqrtl.S: New file.
5277 * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
5278 * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
5279 * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
5280 * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
5281 * sysdeps/ia64/fpu/libm_error.c: New file.
5282 * sysdeps/ia64/fpu/libm_frexp4.S: New file.
5283 * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
5284 * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
5285 * sysdeps/ia64/fpu/libm_reduce.S: New file.
5286 * sysdeps/ia64/fpu/libm_support.h: New file.
5287 * sysdeps/ia64/fpu/libm_tan.S: New file.
5288 * sysdeps/ia64/fpu/s_atan.S: New file.
5289 * sysdeps/ia64/fpu/s_atanf.S: New file.
5290 * sysdeps/ia64/fpu/s_atanl.S: New file.
5291 * sysdeps/ia64/fpu/s_cbrt.S: New file.
5292 * sysdeps/ia64/fpu/s_cbrtf.S: New file.
5293 * sysdeps/ia64/fpu/s_cbrtl.S: New file.
5294 * sysdeps/ia64/fpu/s_ceil.S: New file.
5295 * sysdeps/ia64/fpu/s_ceilf.S: New file.
5296 * sysdeps/ia64/fpu/s_ceill.S: New file.
5297 * sysdeps/ia64/fpu/s_cos.S: New file.
5298 * sysdeps/ia64/fpu/s_cosf.S: New file.
5299 * sysdeps/ia64/fpu/s_cosl.S: New file.
5300 * sysdeps/ia64/fpu/s_expm1.S: New file.
5301 * sysdeps/ia64/fpu/s_expm1f.S: New file.
5302 * sysdeps/ia64/fpu/s_expm1l.S: New file.
5303 * sysdeps/ia64/fpu/s_floor.S: New file.
5304 * sysdeps/ia64/fpu/s_floorf.S: New file.
5305 * sysdeps/ia64/fpu/s_floorl.S: New file.
5306 * sysdeps/ia64/fpu/s_frexp.c: New file.
5307 * sysdeps/ia64/fpu/s_frexpf.c: New file.
5308 * sysdeps/ia64/fpu/s_frexpl.c: New file.
5309 * sysdeps/ia64/fpu/s_ilogb.S: New file.
5310 * sysdeps/ia64/fpu/s_ilogbf.S: New file.
5311 * sysdeps/ia64/fpu/s_ilogbl.S: New file.
5312 * sysdeps/ia64/fpu/s_ldexp.S: New file.
5313 * sysdeps/ia64/fpu/s_ldexpf.S: New file.
5314 * sysdeps/ia64/fpu/s_ldexpl.S: New file.
5315 * sysdeps/ia64/fpu/s_log1p.S: New file.
5316 * sysdeps/ia64/fpu/s_log1pf.S: New file.
5317 * sysdeps/ia64/fpu/s_log1pl.S: New file.
5318 * sysdeps/ia64/fpu/s_logb.S: New file.
5319 * sysdeps/ia64/fpu/s_logbf.S: New file.
5320 * sysdeps/ia64/fpu/s_logbl.S: New file.
5321 * sysdeps/ia64/fpu/s_matherrf.c: New file.
5322 * sysdeps/ia64/fpu/s_matherrl.c: New file.
5323 * sysdeps/ia64/fpu/s_modf.S: New file.
5324 * sysdeps/ia64/fpu/s_modff.S: New file.
5325 * sysdeps/ia64/fpu/s_modfl.S: New file.
5326 * sysdeps/ia64/fpu/s_nearbyint.S: New file.
5327 * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
5328 * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
5329 * sysdeps/ia64/fpu/s_rint.S: New file.
5330 * sysdeps/ia64/fpu/s_rintf.S: New file.
5331 * sysdeps/ia64/fpu/s_rintl.S: New file.
5332 * sysdeps/ia64/fpu/s_round.S: New file.
5333 * sysdeps/ia64/fpu/s_roundf.S: New file.
5334 * sysdeps/ia64/fpu/s_roundl.S: New file.
5335 * sysdeps/ia64/fpu/s_scalbn.S: New file.
5336 * sysdeps/ia64/fpu/s_scalbnf.S: New file.
5337 * sysdeps/ia64/fpu/s_scalbnl.S: New file.
5338 * sysdeps/ia64/fpu/s_significand.S: New file.
5339 * sysdeps/ia64/fpu/s_significandf.S: New file.
5340 * sysdeps/ia64/fpu/s_significandl.S: New file.
5341 * sysdeps/ia64/fpu/s_sin.c: New file.
5342 * sysdeps/ia64/fpu/s_sincos.c: New file.
5343 * sysdeps/ia64/fpu/s_sincosf.c: New file.
5344 * sysdeps/ia64/fpu/s_sincosl.c: New file.
5345 * sysdeps/ia64/fpu/s_sinf.c: New file.
5346 * sysdeps/ia64/fpu/s_sinl.c: New file.
5347 * sysdeps/ia64/fpu/s_tan.S: New file.
5348 * sysdeps/ia64/fpu/s_tanf.S: New file.
5349 * sysdeps/ia64/fpu/s_tanl.S: New file.
5350 * sysdeps/ia64/fpu/s_trunc.S: New file.
5351 * sysdeps/ia64/fpu/s_truncf.S: New file.
5352 * sysdeps/ia64/fpu/s_truncl.S: New file.
5353 * sysdeps/ia64/fpu/w_acos.c: New file.
5354 * sysdeps/ia64/fpu/w_acosf.c: New file.
5355 * sysdeps/ia64/fpu/w_acosl.c: New file.
5356 * sysdeps/ia64/fpu/w_asin.c: New file.
5357 * sysdeps/ia64/fpu/w_asinf.c: New file.
5358 * sysdeps/ia64/fpu/w_asinl.c: New file.
5359 * sysdeps/ia64/fpu/w_atan2.c: New file.
5360 * sysdeps/ia64/fpu/w_atan2f.c: New file.
5361 * sysdeps/ia64/fpu/w_atan2l.c: New file.
5362 * sysdeps/ia64/fpu/w_cosh.c: New file.
5363 * sysdeps/ia64/fpu/w_coshf.c: New file.
5364 * sysdeps/ia64/fpu/w_coshl.c: New file.
5365 * sysdeps/ia64/fpu/w_exp.c: New file.
5366 * sysdeps/ia64/fpu/w_expf.c: New file.
5367 * sysdeps/ia64/fpu/w_fmod.c: New file.
5368 * sysdeps/ia64/fpu/w_fmodf.c: New file.
5369 * sysdeps/ia64/fpu/w_fmodl.c: New file.
5370 * sysdeps/ia64/fpu/w_hypot.c: New file.
5371 * sysdeps/ia64/fpu/w_hypotf.c: New file.
5372 * sysdeps/ia64/fpu/w_hypotl.c: New file.
5373 * sysdeps/ia64/fpu/w_log.c: New file.
5374 * sysdeps/ia64/fpu/w_log10.c: New file.
5375 * sysdeps/ia64/fpu/w_log10f.c: New file.
5376 * sysdeps/ia64/fpu/w_log10l.c: New file.
5377 * sysdeps/ia64/fpu/w_logf.c: New file.
5378 * sysdeps/ia64/fpu/w_logl.c: New file.
5379 * sysdeps/ia64/fpu/w_pow.c: New file.
5380 * sysdeps/ia64/fpu/w_powf.c: New file.
5381 * sysdeps/ia64/fpu/w_powl.c: New file.
5382 * sysdeps/ia64/fpu/w_remainder.c: New file.
5383 * sysdeps/ia64/fpu/w_remainderf.c: New file.
5384 * sysdeps/ia64/fpu/w_remainderl.c: New file.
5385 * sysdeps/ia64/fpu/w_scalb.c: New file.
5386 * sysdeps/ia64/fpu/w_scalbf.c: New file.
5387 * sysdeps/ia64/fpu/w_scalbl.c: New file.
5388 * sysdeps/ia64/fpu/w_sqrt.c: New file.
5389 * sysdeps/ia64/fpu/w_sqrtf.c: New file.
5390 * sysdeps/ia64/fpu/w_sqrtl.c: New file.
5391 * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
5392 implementation.
5393 * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
5394 Change FP_ILOGBNAN for new implementation.
5395 * Verions.def: Add 2.2.3 versions.
5396
e208f556
UD
53972001-02-18 Ulrich Drepper <drepper@redhat.com>
5398
5399 * math/libm-test.inc (scalb_test): Require invalid exception being
5400 raised for invalid parameters.
5401 * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
5402 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5403 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5404
c967ec3e
MK
54052001-02-18 Mark Kettenis <kettenis@gnu.org>
5406
5407 * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
5408 value to long int.
5409 (__get_avphys_pages): Likewise.
5410
6571c570
UD
54112001-02-18 Ulrich Drepper <drepper@redhat.com>
5412
5413 * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
5414 * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
5415 * sysdeps/i386/fpu/e_powf.S: Likewise.
5416 * sysdeps/i386/fpu/e_powl.S: Likewise.
5417
5418 * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
5419
63640cb7
UD
54202001-02-17 Ulrich Drepper <drepper@redhat.com>
5421
4ebacc5a
UD
5422 * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
5423
63640cb7 5424 * sysdeps/generic/s_exp2l.c: Renamed to...
6571c570 5425 * sysdeps/generic/e_exp2l.c: ...this. New file.
63640cb7 5426 * sysdeps/i386/fpu/s_exp2.S: Renamed to...
6571c570 5427 * sysdeps/i386/fpu/e_exp2.S: ...this. New file.
63640cb7 5428 * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
6571c570 5429 * sysdeps/i386/fpu/e_exp2f.S: ...this. New file.
63640cb7 5430 * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
6571c570 5431 * sysdeps/i386/fpu/e_exp2l.S: ...this. New file.
63640cb7 5432 * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
6571c570 5433 * sysdeps/ieee754/flt-32/e_exp2f.c: ...this. New file.
63640cb7 5434 * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
6571c570 5435 * sysdeps/ieee754/dbl-64/e_exp2.c: ...this. New file.
63640cb7 5436 * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
6571c570 5437 * sysdeps/m68k/fpu/e_exp2.c: ...this. New file.
63640cb7 5438 * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
6571c570 5439 * sysdeps/m68k/fpu/e_exp2f.c: ...this. New file.
63640cb7 5440 * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
6571c570 5441 * sysdeps/m68k/fpu/e_exp2l.c: ...this. New file.
63640cb7 5442
d60a7756
AJ
54432001-02-17 Andreas Jaeger <aj@suse.de>
5444
5445 * configure.in: Allow gcc 3.
5446
78b385b8
UD
54472001-02-16 Ulrich Drepper <drepper@redhat.com>
5448
e2750935
UD
5449 * math/w_acos.c: Move to ...
5450 * sysdeps/generic/w_acos.c: ...here. New file.
5451 * math/w_acosf.c: Move to ...
5452 * sysdeps/generic/w_acosf.c: ...here. New file.
5453 * math/w_acosh.c: Move to ...
5454 * sysdeps/generic/w_acosh.c: ...here. New file.
5455 * math/w_acoshf.c: Move to ...
5456 * sysdeps/generic/w_acoshf.c: ...here. New file.
5457 * math/w_acoshl.c: Move to ...
5458 * sysdeps/generic/w_acoshl.c: ...here. New file.
5459 * math/w_acosl.c: Move to ...
5460 * sysdeps/generic/w_acosl.c: ...here. New file.
5461 * math/w_asin.c: Move to ...
5462 * sysdeps/generic/w_asin.c: ...here. New file.
5463 * math/w_asinf.c: Move to ...
5464 * sysdeps/generic/w_asinf.c: ...here. New file.
5465 * math/w_asinl.c: Move to ...
5466 * sysdeps/generic/w_asinl.c: ...here. New file.
5467 * math/w_atan2.c: Move to ...
5468 * sysdeps/generic/w_atan2.c: ...here. New file.
5469 * math/w_atan2f.c: Move to ...
5470 * sysdeps/generic/w_atan2f.c: ...here. New file.
5471 * math/w_atan2l.c: Move to ...
5472 * sysdeps/generic/w_atan2l.c: ...here. New file.
5473 * math/w_atanh.c: Move to ...
5474 * sysdeps/generic/w_atanh.c: ...here. New file.
5475 * math/w_atanhf.c: Move to ...
5476 * sysdeps/generic/w_atanhf.c: ...here. New file.
5477 * math/w_atanhl.c: Move to ...
5478 * sysdeps/generic/w_atanhl.c: ...here. New file.
5479 * math/w_cosh.c: Move to ...
5480 * sysdeps/generic/w_cosh.c: ...here. New file.
5481 * math/w_coshf.c: Move to ...
5482 * sysdeps/generic/w_coshf.c: ...here. New file.
5483 * math/w_coshl.c: Move to ...
5484 * sysdeps/generic/w_coshl.c: ...here. New file.
5485 * math/w_drem.c: Move to ...
5486 * sysdeps/generic/w_drem.c: ...here. New file.
5487 * math/w_dremf.c: Move to ...
5488 * sysdeps/generic/w_dremf.c: ...here. New file.
5489 * math/w_dreml.c: Move to ...
5490 * sysdeps/generic/w_dreml.c: ...here. New file.
5491 * math/w_exp10.c: Move to ...
5492 * sysdeps/generic/w_exp10.c: ...here. New file.
5493 * math/w_exp10f.c: Move to ...
5494 * sysdeps/generic/w_exp10f.c: ...here. New file.
5495 * math/w_exp10l.c: Move to ...
5496 * sysdeps/generic/w_exp10l.c: ...here. New file.
5497 * math/w_exp2.c: Move to ...
5498 * sysdeps/generic/w_exp2.c: ...here. New file.
5499 * math/w_exp2f.c: Move to ...
5500 * sysdeps/generic/w_exp2f.c: ...here. New file.
5501 * math/w_exp2l.c: Move to ...
5502 * sysdeps/generic/w_exp2l.c: ...here. New file.
5503 * math/w_fmod.c: Move to ...
5504 * sysdeps/generic/w_fmod.c: ...here. New file.
5505 * math/w_fmodf.c: Move to ...
5506 * sysdeps/generic/w_fmodf.c: ...here. New file.
5507 * math/w_fmodl.c: Move to ...
5508 * sysdeps/generic/w_fmodl.c: ...here. New file.
5509 * math/w_hypot.c: Move to ...
5510 * sysdeps/generic/w_hypot.c: ...here. New file.
5511 * math/w_hypotf.c: Move to ...
5512 * sysdeps/generic/w_hypotf.c: ...here. New file.
5513 * math/w_hypotl.c: Move to ...
5514 * sysdeps/generic/w_hypotl.c: ...here. New file.
5515 * math/w_j0.c: Move to ...
5516 * sysdeps/generic/w_j0.c: ...here. New file.
5517 * math/w_j0f.c: Move to ...
5518 * sysdeps/generic/w_j0f.c: ...here. New file.
5519 * math/w_j0l.c: Move to ...
5520 * sysdeps/generic/w_j0l.c: ...here. New file.
5521 * math/w_j1.c: Move to ...
5522 * sysdeps/generic/w_j1.c: ...here. New file.
5523 * math/w_j1f.c: Move to ...
5524 * sysdeps/generic/w_j1f.c: ...here. New file.
5525 * math/w_j1l.c: Move to ...
5526 * sysdeps/generic/w_j1l.c: ...here. New file.
5527 * math/w_jn.c: Move to ...
5528 * sysdeps/generic/w_jn.c: ...here. New file.
5529 * math/w_jnf.c: Move to ...
5530 * sysdeps/generic/w_jnf.c: ...here. New file.
5531 * math/w_jnl.c: Move to ...
5532 * sysdeps/generic/w_jnl.c: ...here. New file.
5533 * math/w_lgamma.c: Move to ...
5534 * sysdeps/generic/w_lgamma.c: ...here. New file.
5535 * math/w_lgammaf.c: Move to ...
5536 * sysdeps/generic/w_lgammaf.c: ...here. New file.
5537 * math/w_lgammaf_r.c: Move to ...
5538 * sysdeps/generic/w_lgammaf_r.c: ...here. New file.
5539 * math/w_lgammal.c: Move to ...
5540 * sysdeps/generic/w_lgammal.c: ...here. New file.
5541 * math/w_lgammal_r.c: Move to ...
5542 * sysdeps/generic/w_lgammal_r.c: ...here. New file.
5543 * math/w_lgamma_r.c: Move to ...
5544 * sysdeps/generic/w_lgamma_r.c: ...here. New file.
5545 * math/w_log10.c: Move to ...
5546 * sysdeps/generic/w_log10.c: ...here. New file.
5547 * math/w_log10f.c: Move to ...
5548 * sysdeps/generic/w_log10f.c: ...here. New file.
5549 * math/w_log10l.c: Move to ...
5550 * sysdeps/generic/w_log10l.c: ...here. New file.
5551 * math/w_log.c: Move to ...
5552 * sysdeps/generic/w_log.c: ...here. New file.
5553 * math/w_logf.c: Move to ...
5554 * sysdeps/generic/w_logf.c: ...here. New file.
5555 * math/w_logl.c: Move to ...
5556 * sysdeps/generic/w_logl.c: ...here. New file.
5557 * math/w_pow.c: Move to ...
5558 * sysdeps/generic/w_pow.c: ...here. New file.
5559 * math/w_powf.c: Move to ...
5560 * sysdeps/generic/w_powf.c: ...here. New file.
5561 * math/w_powl.c: Move to ...
5562 * sysdeps/generic/w_powl.c: ...here. New file.
5563 * math/w_remainder.c: Move to ...
5564 * sysdeps/generic/w_remainder.c: ...here. New file.
5565 * math/w_remainderf.c: Move to ...
5566 * sysdeps/generic/w_remainderf.c: ...here. New file.
5567 * math/w_remainderl.c: Move to ...
5568 * sysdeps/generic/w_remainderl.c: ...here. New file.
5569 * math/w_scalb.c: Move to ...
5570 * sysdeps/generic/w_scalb.c: ...here. New file.
5571 * math/w_scalbf.c: Move to ...
5572 * sysdeps/generic/w_scalbf.c: ...here. New file.
5573 * math/w_scalbl.c: Move to ...
5574 * sysdeps/generic/w_scalbl.c: ...here. New file.
5575 * math/w_sinh.c: Move to ...
5576 * sysdeps/generic/w_sinh.c: ...here. New file.
5577 * math/w_sinhf.c: Move to ...
5578 * sysdeps/generic/w_sinhf.c: ...here. New file.
5579 * math/w_sinhl.c: Move to ...
5580 * sysdeps/generic/w_sinhl.c: ...here. New file.
5581 * math/w_sqrtl.c: Move to ...
5582 * sysdeps/generic/w_sqrtl.c: ...here. New file.
5583 * math/w_tgamma.c: Move to ...
5584 * sysdeps/generic/w_tgamma.c: ...here. New file.
5585 * math/w_tgammaf.c: Move to ...
5586 * sysdeps/generic/w_tgammaf.c: ...here. New file.
5587 * math/w_tgammal.c: Move to ...
5588 * sysdeps/generic/w_tgammal.c: ...here. New file.
5589
78b385b8
UD
5590 * locale/programs/ld-address.c (address_finish): Add 'S' to allow
5591 formats for postal_fmt.
5592
55932001-02-16 Jakub Jelinek <jakub@redhat.com>
5594
5595 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
5596 __ftruncate64 alias.
5597 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
5598 Likewise.
5599
56002001-02-15 David Mosberger <davidm@hpl.hp.com>
5601
5602 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
5603 do "loadrs". Writing to bspstore already takes care of
5604 invalidating the "clean" partition.
5605
75a11ec0
AS
56062001-02-16 Andreas Schwab <schwab@suse.de>
5607
5608 * sysdeps/m68k/fpu/s_nextafterl.c: New file.
5609 * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
5610
2d0aea11
UD
56112001-02-15 Jakub Jelinek <jakub@redhat.com>
5612
5613 * posix/regex.c (init_syntax_once): Add prototype.
5614 (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
5615 (re_search_2): Avoid warning.
5616 (count_mbs_length): Add prototype.
5617 * posix/tst-regex3.c: New file.
5618 * posix/Makefile (tests): Add bug-regex3.
5619
581cc571
UD
56202001-02-15 Ulrich Drepper <drepper@redhat.com>
5621
093b0a7d
UD
5622 * stdio-common/Makefile (tests): Add tst-gets.
5623 * stdio-common/tst-gets.c: New file.
5624 * stdio-common/tst-gets.input: New file.
5625
3f1866e3
UD
5626 * elf/elf.h (DT_CHECKSUM): Define.
5627
581cc571
UD
5628 * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
5629 default symbol.
5630 * sysdeps/generic/strtoull.c: Likewise.
5631
8a216c1b
UD
56322001-02-14 Wolfram Gloger <wg@malloc.de>
5633
5634 * malloc/malloc.c (new_heap): When allocating large chunk aligned
5635 to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
5636 between the heaps.
5637
3126bc1e
UD
56382001-02-14 Ulrich Drepper <drepper@redhat.com>
5639
cd53c157
UD
5640 * math/libm-test.inc (j0_test): Check whether sincos is available.
5641 (j1_test): Likewise.
5642 (jn_test): Likewise.
5643 (y0_test): Likewise.
5644 (y1_test): Likewise.
5645 (yn_test): Likewise.
5646
5647 * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
5648 fake filesystem routines to handle this.
5649
36874b21
UD
5650 * time/sys/time.h: Make settimeofday and adjtime available if
5651 _BSD_SOURCE.
5652
5653 * time/sys/time.h: Make timer* macros available for BSD.
5654
a19cac65
UD
5655 * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
5656 Patch by Yong Li <rigel863@yahoo.com>.
5657
3126bc1e
UD
5658 * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
5659 name.
5660
5661 * posix/Makefile (tests): Add tst-gnuglob.
5662 * posix/tst-gnuglob.c: New file.
5663
25bbbb54
UD
56642001-02-13 H.J. Lu <hjl@gnu.org>
5665
5666 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
5667
cf6960d7
UD
56682001-02-13 Ulrich Drepper <drepper@redhat.com>
5669
be8c46fc
UD
5670 * locale/programs/ld-paper.c (paper_output): Pretty printing.
5671
cf6960d7
UD
5672 * iconvdata/Makefile (modules): Add GBBIG5.
5673 (distribute): Add gbbig5.c.
cf6960d7
UD
5674 * iconvdata/gconv-modules: Add entries for GBBIG5 module.
5675
9adc32d8
UD
5676 * iconvdata/gbbig5.c: New file.
5677 Contributed by Yong Li <rigel863@yahoo.com>.
5678
cf6960d7
UD
56792001-02-13 Philip Blundell <pb@futuretv.com>
5680
5681 * manual/crypt.texi: Remove outdated references to crypt add-on.
5682
5683 * manual/creature.texi: Improve wording slightly.
5684
f1a26a85
UD
56852001-02-13 Ulrich Drepper <drepper@redhat.com>
5686
2958e6cc
UD
5687 * io/ftw.c: Always use readdir64.
5688 * io/ftw64.c: Likewise.
5689 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5690 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
be8c46fc 5691 * sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
2958e6cc
UD
5692 callback to dirent. Still allow compiling outside glibc.
5693 * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
5694 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5695
5696 * malloc/mtrace.c: Use fopen64.
5697 * posix/spawni.c: Use __open64.
5698 * sysdeps/unix/opendir.c: Likewise.
5699 * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
5700
5701 * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
5702 name a weak alias.
5703 * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
5704 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
5705 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5706 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
5707
5708 * resolv/res_data.c: Add cast to avoid warning.
5709
5710 * include/unistd.h: Declare __ftruncate64.
5711
be8c46fc 5712 * sysdeps/generic/utmp_file.c: Use LFS functions and types.
2958e6cc 5713
f1a26a85
UD
5714 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
5715 instead of __lseek.
5716
e22a1a38
AJ
57172001-02-13 Andreas Jaeger <aj@suse.de>
5718
5719 * login/getutent_r.c: Include <stdlib.h> for NULL.
5720 * login/getutid_r.c: Likewise.
5721
8de5da94
UD
57222001-02-12 Ulrich Drepper <drepper@redhat.com>
5723
5724 * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
f1a26a85
UD
5725 * sysdeps/dbl-64/e_j1.c: Likewise.
5726 * sysdeps/dbl-64/e_jn.c: Likewise.
8de5da94 5727 * sysdeps/flt-32/e_j0f.c: Likewise.
f1a26a85 5728 * sysdeps/flt-32/e_j1f.c: Likewise.
8de5da94
UD
5729 * sysdeps/ldbl-96/e_j0l.c: Likewise.
5730
0e3af135
UD
57312000-12-02 H.J. Lu <hjl@gnu.org>
5732
5733 * resolv/res_libc.c (res_init): Don't make it default.
5734
b3294a93
UD
57352001-02-12 Ulrich Drepper <drepper@redhat.com>
5736
5737 * manual/debug.texi: Improved the wording.
5738 Patch by Philip Blundell <pb@futuretv.com>.
5739
b647f210
AJ
57402001-02-12 Andreas Jaeger <aj@suse.de>
5741
5742 * posix/Makefile (tests): Don't run bug-regex2 when
5743 cross-compiling.
5744
5745 * libio/Makefile (tests): Don't run test-freopen when
5746 cross-compiling.
5747
5748 * manual/stdio.texi (Streams and I18N): Fix typos.
5749
0fc95b82
UD
57502001-02-12 Ulrich Drepper <drepper@redhat.com>
5751
adc37d79
UD
5752 * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
5753
5754 * math/libm-test.inc (j0_test): Make expected results long double
5755 constants.
5756 (y0_test): Likewise.
5757
0fc95b82
UD
5758 * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
5759 Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
5760
57612001-02-11 Jakub Jelinek <jakub@redhat.com>
5762
5763 * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
5764 which was exported from libc.
5765 * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
5766
9279500a
AJ
57672001-02-12 Andreas Jaeger <aj@suse.de>
5768
5769 * manual/arith.texi (Parsing of Integers): Fix some wordings.
5770
5b8d5ae1
UD
57712001-02-11 Ulrich Drepper <drepper@redhat.com>
5772
e4cf5229
UD
5773 * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
5774 and get_avphys_page to long int.
5775 * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
5776 * include/sys/sysinfo.h: Likewise.
5777 * sysdeps/generic/sys/sysinfo.h: Likewise.
5778 * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
5779
5b8d5ae1
UD
5780 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
5781 cannot return as many values as the user asked for.
5782
27844eed
AJ
57832001-02-11 Andreas Jaeger <aj@suse.de>
5784
5785 * manual/resource.texi (Memory Resources): Fix typo.
5786
5787 * libio/Makefile ($(objpfx)test-freopen.out): Pass
5788 run-program-prefix.
5789
5790 * libio/test-freopen.sh: Use run_program_prefix.
5791
7e2e677e
AJ
57922001-02-10 Andreas Jaeger <aj@suse.de>
5793
e1e3ba54
AJ
5794 * stdlib/Makefile (tests): Don't run tst-fmtmsg when
5795 cross-compiling.
5796 ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
5797
5798 * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
5799 only builds.
5800
5801 * elf/Makefile (tests): Only run tst-pathopt with shared libs.
5802
d727629d
AJ
5803 * posix/Makefile: Fix typo, it's build-static-nss.
5804
7e2e677e
AJ
5805 * iconv/Makefile (extra-objs): New.
5806
157aa14d
MK
58072001-02-10 Mark Kettenis <kettenis@gnu.org>
5808
24ed578e
MK
5809 * sysdeps/unix/stime.c: Include <time.h>.
5810
157aa14d
MK
5811 * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
5812
227c0e22
AJ
58132001-02-10 Andreas Jaeger <aj@suse.de>
5814
5815 * manual/string.texi (Search Functions): Fix typo.
5816
87b56f36
UD
58172001-02-10 Mark Kettenis <kettenis@gnu.org>
5818
5819 * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
5820 (timeval_to_clock_t): Add clk_tck argument and use that instead of
5821 CLK_TCK.
5822 (__times): Use __getclktck to get the number of clock ticks per
5823 second and use its return value instead of CLK_TCK.
5824
51410f14
UD
58252001-02-10 Mark Kettenis <kettenis@gnu.org>
5826
5827 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
5828
2fcc6286
MK
58292001-02-10 Mark Kettenis <kettenis@gnu.org>
5830
5831 * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
5832
3a705946
AJ
58332001-02-10 Andreas Jaeger <aj@suse.de>
5834
5835 * wctype/wcfuncs.c (func): Add prototype declarations to avoid
5836 warning.
5837
770d454d
UD
58382001-02-09 Ulrich Drepper <drepper@redhat.com>
5839
5840 * posix/Makefile: Add rules to build and run bug-regex2.
1068784c 5841 * posix/bug-regex2.c: New file.
770d454d
UD
5842
58432001-02-10 Jakub Jelinek <jakub@redhat.com>
5844
5845 * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
5846 (regex_compile): Likewise.
5847 (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
5848 (re_match_2_internal): Use just is_binary instead of two variables.
5849 Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
5850
257bdad0
UD
58512001-02-09 Ulrich Drepper <drepper@redhat.com>
5852
4ec29cb0
UD
5853 * version.h (VERSION): Bump to 2.2.2.
5854
e8ef6f28
UD
5855 * iconv/Makefile (distribute): Add iconv_charmap.c and
5856 dummy-repertoire.c.
5857 * elf/Makefile (distribute): Add firstobj.c.
5858 * Makefile (distribute): Add include/pthread.h.
5859
1468be21
UD
5860 * configure.in: Require makeinfo version 4.
5861
257bdad0
UD
5862 * libio/tst_wscanf.c (main): Add cast to avoid warning.
5863 * libio/tst_swscanf.c (main): Likewise..
5864
7c5bb945
UD
58652001-02-09 Jakub Jelinek <jakub@redhat.com>
5866
5867 * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
5868 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
5869 __NO_MATH_INLINES.
5870 * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
5871 if not RTLD_BOOTSTRAP.
5872 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5873 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5874
f126ef67
UD
58752001-02-09 Ulrich Drepper <drepper@redhat.com>
5876
5877 * locale/programs/linereader.c (get_ident): Stop loop if EOF. Use
5878 lr_ungetc to push back last read character.
5879 * locale/programs/linereader.h (lr_ungetc): Don't push back is
5880 character is EOF.
5881 (lr_ignore_rest): Don't warn about garbage if it is really the end
5882 of the file.
5883
5884 * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
5885 definition.
5886
6b58cbc0
UD
58872001-02-08 Ulrich Drepper <drepper@redhat.com>
5888
90feeaa2
UD
5889 * Makerules (build-shlib): Work around different order of
5890 processing of -B option in different gcc versions.
5891
441f7d1e
UD
5892 * posix/regex.c: Fix alignment problem.
5893 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5894
6b58cbc0
UD
5895 * sysdeps/alpha/strrchr.S: Little optimization.
5896 Patch by Richard Henderson <rth@redhat.com>.
5897
5898 * sysdeps/alpha/alphaev67/strrchr.S: New file.
441f7d1e 5899 Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
6b58cbc0
UD
5900
59012001-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
5902
5903 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
5904 in the assembler end directive.
5905
f6af7428
AJ
59062001-02-08 Andreas Jaeger <aj@suse.de>
5907
5908 * manual/stdio.texi (Closing Streams): Fix typos.
5909
054d2bf7
UD
59102001-02-07 Ulrich Drepper <drepper@redhat.com>
5911
d97dfe5f
UD
5912 * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
5913 Patch by Richard Henderson <rth@redhat.com>.
5914 Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
5915
917e27b8 5916 * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
6b58cbc0 5917 pointer in FILE structure before calling _IO_init.
917e27b8
UD
5918 * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
5919 strfmon_l if necessary.
5920 Reported by Jury Gerold <gjury@grips.com>.
5921
054d2bf7
UD
5922 * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
5923 Patch by Pekka.Pietikainen@cern.ch.
5924
5925 * posix/regex.c: Correct several problems with 64-bit architectures
5926 introduced in the MBS changes.
5927 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5928
59292001-02-07 Jakub Jelinek <jakub@redhat.com>
5930
5931 * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
5932 not defined.
5933 * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
5934
867aee06
AJ
59352001-02-07 Andreas Jaeger <aj@suse.de>
5936
5937 * manual/install.texi (Tools for Compilation): Fix typo.
5938 Reported by Pavel Machek <pavel@bug.ucw.cz>.
5939
5bfcc4d1
UD
59402001-02-07 Ulrich Drepper <drepper@redhat.com>
5941
5942 * stdlib/strtod.c: Never stop prematurely reading digits before the
5943 decimal point is found. Compute exponent limit for negative exponents
6b58cbc0 5944 correctly. For numbers ending in all zeros eat the zeros even before
5bfcc4d1
UD
5945 the decimal point if the exponent is negative [PR libc/2072].
5946 * stdlib/Makefile (tests): Add bug-strtod.
5947 * stdlib/bug-strtod.c: New file.
5948
18e532f1
AJ
59492001-02-07 Andreas Jaeger <aj@suse.de>
5950
5951 * posix/bug-regex1.c: Include <wchar.h> for fwide.
5952
d7fce7e0
UD
59532001-02-06 Ulrich Drepper <drepper@redhat.com>
5954
5bfcc4d1
UD
5955 * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
5956 Store index.
5957 (compile_range): Handle index being passed, not pointer.
5958 Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5959
d7fce7e0
UD
5960 * posix/regex.c: Fix a cast in the code for bracket handling which
5961 caused 8-bit uncleanliness.
5962 Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
5963
5964 * posix/Makefile (tests): Add bug-regex1.
5965 * posix/bug-regex1.c: New file.
5966 Contributed by Jim Meyering <jim@meyering.net>.
5967
5968 * posix/regex.c: Many cleanups for incorrect format strings.
5969
cba7a888
AJ
59702001-02-06 Andreas Jaeger <aj@suse.de>
5971
5972 * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
5973
fdc6c28a
UD
59742001-02-06 Ulrich Drepper <drepper@redhat.com>
5975
5976 * locale/programs/locale.c (write_locales): Use scandir to read
5977 directory so that the entries are sorted.
5978
bd7f30a9
AJ
59792001-02-06 Andreas Jaeger <aj@suse.de>
5980
5981 * include/pthread.h: New file.
5982
5983 * wctype/wctype.h: Move internal interfaces from here to...
5984 * include/wctype.h: ...here.
5985
5986 * wcsmbs/wchar.h: Move __wcslen from here to...
5987 * include/wchar.h: ...here.
5988
5989 * posix/sys/wait.h: Move __wait from here to...
5990 * include/sys/wait.h: ...here.
5991
5992 * string/string.h: Move __ffs and __strerror_r from here to...
5993 * include/string.h: ...here.
5994
5995 * stdlib/stdlib.h: Move __on_exit from here to...
5996 * include/stdlib.h: ...here.
5997
5998 * libio/stdio.h: Move __vsnprintf from here to...
5999 * include/stdio.h: ...here.
6000
18bd8944
AS
60012001-02-06 Andreas Schwab <schwab@suse.de>
6002
6003 * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
6004 headers.
6005
6006 * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
6007 of $(inst_datadir).
6008
9a1b5e2c
UD
60092001-02-06 Ulrich Drepper <drepper@redhat.com>
6010
6011 * iconvdata/Makefile: Add dependency for bug-iconv2.out.
6012
d4620e04
AJ
60132001-02-06 Andreas Jaeger <aj@suse.de>
6014
6015 * elf/firstobj.c: Add prototype.
6016
6017 * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
6018 (truncate_wchar): Likewise.
6019
91cd8340
UD
60202001-02-06 Ulrich Drepper <drepper@redhat.com>
6021
6022 * locale/programs/locale.c: Implement --verbose option for -a
6023 which prints detailed information about the locales.
6024
216c1386
UD
60252001-02-05 Ulrich Drepper <drepper@redhat.com>
6026
6027 * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
6028 variable to uint32_t.
6029 Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
6030
02cd8aee
UD
60312001-02-04 Bruno Haible <haible@clisp.cons.org>
6032
6033 * locale/C-translit.h.in: Add transliterations for CJK units of
6034 measurement.
6035
403cb8a1
UD
60362001-02-05 Ulrich Drepper <drepper@redhat.com>
6037
68162753
UD
6038 * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
6039 string. Include <inttypes.h> instead of <stdint.h>.
6040
403cb8a1
UD
6041 * localedata/Makefile (tests): Add bug-iconv-trans.
6042 Define bug-iconv-trans-ENV.
6043 * localedata/bug-iconv-trans.c: New file.
6044
60452001-02-04 Bruno Haible <haible@clisp.cons.org>
6046
6047 * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
6048 pointer, to avoid accumulating output from incomplete (unsuccessful)
6049 transliteration attempts.
6050
ae113383
UD
60512001-02-05 Ulrich Drepper <drepper@redhat.com>
6052
5a35dfca
UD
6053 * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
6054 string. Include <inttypes.h> instead of <stdint.h>.
6055
ae113383
UD
6056 * configure.in: Add check for bison.
6057 * config.make.in: Define BISON variable.
6058 * intl/Makefile: Use BISON instead of YACC when generating plural.c.
6059 Rename YFLAGS to BISONFLAGS.
6060
414a6b0d
AJ
60612001-02-05 Andreas Jaeger <aj@suse.de>
6062
725c76a6
AJ
6063 * io/test-lfs.c (do_test): Test lseek64 return value, call
6064 test_ftello.
6065 (test_ftello): New function to test ftello64 and fseeko64.
6066
d9bfd1a5
AJ
6067 * signal/signal.h: Move __sigaction from here to...
6068 * include/signal.h: ...here.
6069
414a6b0d
AJ
6070 * io/fcntl.h: Move __fcntl and __open to...
6071 * include/fcntl.h: ...here.
6072
0c8b61e6
UD
60732001-02-04 Philip Blundell <philb@gnu.org>
6074
6075 * configure.in: Distinguish ARM from Thumb.
6076
60772001-02-04 Philip Blundell <philb@gnu.org>
6078
6079 * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
6080 PC24 relocs with negative value.
6081
93693c4d
UD
60822001-02-04 Ulrich Drepper <drepper@redhat.com>
6083
6084 * iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
6085 files in locale/programs. Add CFLAGS definition to allow compiling
6086 localedef files.
6087 * iconv/dummy-repertoire.c: New file.
6088 * iconv/iconv_charmap.c: New file.
6089 * iconv/iconv_prog.h: New file.
6090 * iconv/iconv_prog.c: Make verbose and omit_invalid global.
6091 (main): If parameter for -f and -t contain slashes try first to resolve
6092 the strings as filenames of charmap files. Use them for conversion
6093 in this case.
6094 * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
6095 iconv getting charmap names as parameters.
6096 * locale/programs/linereader.c (lr_token): Take extra parameters
6097 verbose and pass it to get_string.
6098 (get_string): Take extra parameters verbose.
6099 * locale/programs/charmap.c (parse_charmap): Take extra parameters
6100 verbose and be_quiet. Change all callers of lr_token and
6101 parse_charmap.
6102 * locale/programs/charmap.h: Likewise.
6103 * locale/programs/ld-address.c: Likewise.
6104 * locale/programs/ld-collate.c: Likewise.
6105 * locale/programs/ld-ctype.c: Likewise.
6106 * locale/programs/ld-identification.c: Likewise.
6107 * locale/programs/ld-measurement.c: Likewise.
6108 * locale/programs/ld-messages.c: Likewise.
6109 * locale/programs/ld-monetary.c: Likewise.
6110 * locale/programs/ld-name.c: Likewise.
6111 * locale/programs/ld-numeric.c: Likewise.
6112 * locale/programs/ld-paper.c: Likewise.
6113 * locale/programs/ld-telephone.c: Likewise.
6114 * locale/programs/ld-time.c: Likewise.
6115 * locale/programs/linereader.c: Likewise.
6116 * locale/programs/linereader.h: Likewise.
6117 * locale/programs/localedef.c: Likewise.
6118 * locale/programs/locfile.c: Likewise.
6119 * locale/programs/locfile.h: Likewise.
6120 * locale/programs/repertoire.c: Likewise.
6121
b3c3fe42
UD
61222001-02-03 Ulrich Drepper <drepper@redhat.com>
6123
377c725f
UD
6124 * iconv/iconv_prog.c (main): If output file name is "-" write to
6125 stdout.
6126 (main): If -f or -t argument is missing use charset of the current
6127 locale.
b3c3fe42 6128
72a2ebb4
AJ
61292001-02-03 Andreas Jaeger <aj@suse.de>
6130
a4540639
AJ
6131 * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
6132 boundary for SSE/SSE-2 alignment.
6133
72a2ebb4 6134 * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
3c7bfc37 6135 annexc.
72a2ebb4 6136
3b46325b
UD
61372001-02-03 Ulrich Drepper <drepper@redhat.com>
6138
99b9b8ec 6139 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
a5f9233e 6140 Remove comma at end of enum.
99b9b8ec 6141
bd929413
UD
6142 * elf/dl-init.c: Add a few __builtin_expect.
6143
3b46325b
UD
6144 * hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
6145
4b1fef84
UD
61462001-02-02 Ulrich Drepper <drepper@redhat.com>
6147
3b46325b 6148 * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
0c7dfa14
UD
6149 errno is ECONNREFUSED.
6150
6151 * posix/Makefile: Define MBS_SUPPORT for regex.c.
e4c785c8
UD
6152 * posix/regex.c: Implement multibyte character handling.
6153 Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
6154
4b1fef84
UD
6155 * string/tst-svc.input: Add two more test cases.
6156 * string/tst-svc.expect: Modify to reflect new test cases.
6157
61582001-02-01 Jakub Jelinek <jakub@redhat.com>
6159
6160 * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
6161 tp->name tests with tp->name[0] tests.
6162
61632001-01-29 Ben Collins <bcollins@debian.org>
6164
6165 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
6166 Fix check for name == NULL.
6167
5d916713
UD
61682001-02-01 Ulrich Drepper <drepper@redhat.com>
6169
b71e7ce8
UD
6170 * elf/Makefile: Add rules to build and run initfirst test.
6171 * elf/initfirst.c: New file.
6172 * elf/firstobj.c: New file.
6173
5d916713
UD
6174 * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
6175 * configure.in: Test for -z initfirst linker option.
6176 * config.make.in: Add have-z-initfirst.
6177 * elf/dl-init.c (_dl_init): Split out actual initialization code in
6178 new function call_init. If _dl_initfirst is non-NULL initialize first.
6179 * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
6180 remember object in _dl_initfirst.
6181 * elf/soinit.c: Remove special support for calling
6182 __pthread_initialize_minimal.
6183
6184 * conform/conformtest.pl: Add missing $prepend in type test.
6185
70dc5068
UD
61862001-01-31 Ulrich Drepper <drepper@redhat.com>
6187
5d916713
UD
6188 * elf/elf.h (SHT_CHECKSUM): New definition.
6189
70dc5068
UD
6190 * posix/fnmatch_loop.c: Remove incorrect reverse condition in
6191 [. .] matching. Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
5d916713 6192 * posix/tst-fnmatch.input: Add tests for [. .] in locales.
70dc5068
UD
6193
61942001-01-31 Mark Kettenis <kettenis@gnu.org>
6195
6196 * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
6197 to get definition of `struct timeval'.
6198
f798bf32
UD
61992001-01-31 Ulrich Drepper <drepper@redhat.com>
6200
6201 * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
6202 * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
6203
306eeae5
UD
62042001-01-30 Ulrich Drepper <drepper@redhat.com>
6205
6206 * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
6207 seen, not flags.
6208
6209 * nis/nis_findserv.c: Include <time.h>.
6210
c7fb46a9
UD
62112001-01-30 Yong Li <yong.li@asu.edu>
6212
c7fb46a9
UD
6213 * iconv/iconv_prog.c (main): Correct error handling method name.
6214
7e118246
UD
62152001-01-29 Ben Collins <bcollins@debian.org>
6216
6217 * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
6218 * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
6219 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
6220 * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
6221
3f66a0cf
UD
62222001-01-30 Ulrich Drepper <drepper@redhat.com>
6223
7e118246
UD
6224 * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
6225 Patch by Marko Myllynen <myllynen@lut.fi>.
6226
6227 * string/bits/string2.h (__strpbrk_c2): Correct parameter types
6228 (int instead of char).
6229 (__strpbrk_c3): Likewise.
6230 Reported by GOTO Masanori <gotom@debian.or.jp>.
6231
3f66a0cf
UD
6232 * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
6233 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
6234 * include/sys/socket.h: Add SA_LEN here for internal use.
7e118246 6235 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
3f66a0cf 6236
9949bc63
UD
62372001-01-29 Ulrich Drepper <drepper@redhat.com>
6238
48d99185
UD
6239 * malloc/Makefile: Don't build memusagestat if cross-compiling.
6240
40576b87
UD
6241 * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
6242
9949bc63
UD
6243 * math/libm-test.inc (rint_test): Add a few more tests for round
6244 to even rounding.
6245
4a2c9975
UD
62462001-01-28 Ulrich Drepper <drepper@redhat.com>
6247
38447cbe
UD
6248 * conform/data/pthread.h-data: Correct return type of pthread_exit.
6249
140ec510
UD
6250 * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
6251
dfae0b7d
UD
6252 * conform/data/stdlib.h-data: Add _Exit.
6253
3584d5fb
UD
6254 * inet/arpa/inet.h: Don't include <sys/types.h>. Define socklen_t
6255 if not already happened.
6256 * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
6257 Don't include <limits.h> and <bits/sockaddr.h>.
6258
59c8d6e1
UD
6259 * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
6260
3c5912ee
UD
6261 * conform/data/spawn.h-data: Allow all of <sched.h>.
6262
c9a0e4ab
UD
6263 * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>. Removed
6264 unused variable.
6265
0e5d0c0a
UD
6266 * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
6267 * sunrpc/xdr_sizeof.c (x_inline): Likewise.
6268
1df66084
UD
6269 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
6270
48ba4bd2 6271 * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
3bf3d361 6272 * libio/stdio.h: Define va_list correctly.
f9b9f291 6273
ddd1037e
UD
6274 * conform/data/pthread.h-data: Make priority protocol related
6275 functions optional. Fix typos.
6276
4a2c9975
UD
6277 * posix/sched.h: Define sched_priority as __sched_priority.
6278 * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
6279 to __sched_priority.
6280 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6281
2ff458eb
UD
62822001-01-27 Ulrich Drepper <drepper@redhat.com>
6283
eb6c0470
UD
6284 * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
6285 of <sys/time.h>.
6286
4fef60b3
UD
6287 * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
6288 * sysdeps/unix/time.c: Likewise.
f8e25d3e 6289
73b6bffc
UD
6290 * conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
6291 * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
6292 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
6293 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
6294 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
6295 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
6296 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
6297 * time/time.h: Likewise.
6298
6299 * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
6300 * conform/data/complex.h-data: New file.
6301 * conform/data/tgmath.h-data: New file.
6302
6303 * conform/data/wchar.h-data: Add missing functions.
6304
6305 * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
6306
6307 * conform/data/termios.h-data: Add missing const in tcsetattr()
6308 prototype.
6309
6310 * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
6311 Don't define pid_t here.
6312
6313 * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
6314
8be918b7
UD
6315 * conform/data/sys/time.h-data: Allow sys/select.h.
6316 * conform/data/sys/un.h-data: Fix typo.
6317 * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
6318 * sysdeps/posix/clock_getres.c: Include <time.h> instead of
6319 <sys/time.h>.
6320 * sysdeps/unix/clock_nanosleep.c: Likewise.
6321 * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
6322 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
6323 * sysdeps/unix/clock_gettime.c: Also include <time.h>.
6324 * sysdeps/unix/clock_settime.c: Likewise.
6325
6326 * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
6327 * login/getutent.c: Likewise.
6328 * login/getutid.c: Likewise.
6329 * login/getutline.c: Likewise.
6330
6331 * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
6332
09a2231b
UD
6333 * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
6334 to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
6335 * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
6336 f_fsid field after change in struct statvfs.
6337 * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
6338 * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
6339 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
6340
6341 * conform/data/sys/stat.h-data: Remove isfdtype. Use
6342 optional-macro.
6343
6f0ea379
UD
6344 * conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
6345 recvfrom, send, and socketpair prototypes. Add allow lines.
6346 * socket/sys/socket.h: Include <sys/uio.h>.
6347 Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
6348 Fix type of second parameter of listen.
6349 Don't declare isfdtype unless __USE_MISC.
6350 * sysdeps/generic/listen.c: Fix type of second parameter of listen.
6351 * sysdeps/mach/hurd/listen.c: Likewise.
6352 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
6353 ss_family and __ss_family.
6354 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6355 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6356 (struct msghdr): Change type of msg_iovlen to int and type of
6357 msg_controllen to socklen_t.
6358 * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
6359 * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
6360 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
d1ce5f2a
UD
6361 * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
6362 (rresvport_af): Likewise.
6f0ea379 6363
257abbe2
UD
6364 * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
6365 * conform/conformtest.pl: Implement handling of symbol.
6366
2ff458eb
UD
6367 * signal/signal.h: Fix handling of __need_* symbols.
6368 * misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
6369 fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
6370 * include/sys/select.h: Use fd_set not __fd_set.
6371 * sysdeps/generic/bits/select.h: Likewise.
6372 * sysdeps/i386/bits/select.h: Likewise.
6373 * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
6374 __FDELT, __FDMASK, and __fd_set here.
6375 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6376 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6377 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6378 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6379 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
6380 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6381 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6382 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6383 * time/sys/time.h: Define struct timeval before including <time.h>
6384 and <sys/select.h>.
6385
6386 * conform/data/sys/time.h-data: fd_set is a typedef.
6387 * conform/data/sys/select.h-data: New file.
6388 * conform/data/sys/mman.h-data: Make typed mem stuff optional.
6389 * conform/conformtest.pl (@headers): Add sys/select.h.
6390 (type, optional-type): Unless testing a typedef instantiate object.
6391 Implement optional-function.
6392
6393 * math/test-misc.c: Include <float.h>.
6394
ded0a899
AJ
63952001-01-27 Andreas Jaeger <aj@suse.de>
6396
6397 * misc/efgcvt_r.c: Include <float.h>.
6398
5876389a
UD
63992001-01-26 Ulrich Drepper <drepper@redhat.com>
6400
61f9d0a3
UD
6401 * conform/data/stdlib.h-data: Account for XPG6 changes.
6402 * stdlib/stdlib.h (__random): Change return value type to long.
6403 (posix_memalign): Cleanup parameter names.
6404 (setenv, unsetenv): Make available for __USE_XOPEN2K.
6405 Change return type of unsetenv to int.
6406 (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
842d709c 6407 * include/stdlib.h: Change return type of unsetenv to int.
344be96a 6408 Change return type of random to long int.
61f9d0a3
UD
6409 * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
6410 Return -1 and set errno if parameter is invalid.
6411 * stdlib/random.c (__random): Change return value type to long.
6412
69bd45bd
UD
6413 * conform/data/stdio.h-data: Account for changes in XPG6.
6414
edf9cc89
UD
6415 * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
6416 prototype.
6417
5a9339d5
UD
6418 * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
6419 * conform/data/signal.h-data: Fix sigev_notify_function entry.
6420 Fix typo (SIGVALRM -> SIGVTALRM).
6421 * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
6422 with real type.
6423 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
6424 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6425 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
6426 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6427 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
6428
da238298
UD
6429 * conform/conformtest.pl: Implement optional-element. Define
6430 $mustprepend{"sched.h"}.
da238298
UD
6431 * conform/data/sched.h-data: Make sporadic scheduler definitions
6432 optional.
6433
6434 * pwd/pwd.h: Don't define getpwent_r for XPG.
6435
3eee1304
UD
6436 * io/sys/poll.h: Define nfds_t and use it in poll prototype.
6437 * sysdeps/generic/poll.c: Use nfds_t type in function definition.
6438 * sysdeps/mach/hurd/poll.c: Likewise.
6439 * sysdeps/unix/bsd/poll.c: Likewise.
6440 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6441 * sysdeps/unix/sysv/aix/poll.c: Likewise.
6442 * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
6443 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
6444 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
6445 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
6446 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
6447 * conform/data/poll.h-data: Fix typo in poll prototype.
6448
feb4f759
UD
6449 * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
6450 only if __USE_MISC.
6451 * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
6452
84d7b1ea
UD
6453 * sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
6454
126f53e8
UD
6455 * inet/netinet/in.h: Make IPPROTO_ constants also macros.
6456
ccd4b479
UD
6457 * conform/conformtest.pl: Implement optional-type.
6458
6459 * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
6460 <rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
6461 defining uint32_t here. Define IPPORT_RESERVED.
6462 (struct hostent): Type of h_length element is int.
6463 (getnameinfo): Type of flags parameter is unsigned int.
6464 * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
6465 * conform/data/netdb.h-data: Add many missing definitions.
6466
12b64309
UD
6467 * conform/conformtest.pl: Implement optional-macro.
6468 * conform/data/math.h-data: Update for XPG6.
6469
6470 * math/math.h (HUGE): Define as FLT_MAX value but don't use
6471 FLT_MAX. Don't include <float.h>.
6472 (MAXFLOAT): Likewise.
6473
6474 * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
6475
a7927149
UD
6476 * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
6477
ef7aba4c
UD
6478 * conform/data/limits.h-data: Mark constants as optional wherever
6479 appropriate.
6480
dbc3e61b
UD
6481 * posix/bits/posix2_lim.h: Set correct values for
6482 _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
6483 EQUIV_CLASS_MAX.
6484
0c0b9451
UD
6485 * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
6486 Required by POSIX.
6487
58593d2e
UD
6488 * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
6489
5876389a
UD
6490 * conform/data/netinet/in.h-data: Add reserved prefixes.
6491
6492 * conform/data/arpa/inet.h-data: Fix a few typos.
6493
4422df02
AJ
64942001-01-26 Andreas Jaeger <aj@suse.de>
6495
f46a097c
AJ
6496 * sysdeps/generic/strtol.c: Include <locale.h>
6497 * stdlib/strtod.c: Likewise
6498 * stdlib/strfmon.c: Likewise.
6d6e4021
AJ
6499 * string/strcoll.c: Likewise.
6500 * string/strxfrm.c: Likewise.
6501 * wctype/wcfuncs_l.c: Likewise.
6502 * wctype/wctype_l.c: Likewise.
6503 * wctype/wctrans_l.c: Likewise.
f46a097c 6504
4422df02
AJ
6505 * include/bits/locale.h: New file.
6506
020275b5
UD
65072001-01-26 Ulrich Drepper <drepper@redhat.com>
6508
d0376ea7
UD
6509 * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
6510 and NOSTR.
6511
3e154a6f
UD
6512 * locale/Makefile (headers): Add bits/locale.h.
6513 * locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
6514 and use __LC_ constants instead of LC_.
6515 * locale/locale.h: Include <bits/locale.h> and define LC_ constants
6516 using __LC_ constants.
6517 * locale/bits/locale.h: New file.
6518 * locale/loadlocale.c: Include <locale.h>.
6519 * locale/nl_langinfo.h: Likewise.
6520
97ac0eaf
UD
6521 * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
6522
1e4380f8
UD
6523 * io/sys/stat.h: Define S_IFSOCK for XPG6.
6524
6525 * conform/data/fcntl.h-data: posix_madvise is not expected here.
6526
7cc9fcf4
UD
6527 * conform/conformtest.pl: Fix handling of macro-str.
6528
aaca79eb
UD
6529 * conform/data/inttypes.h-data: Add missing definition and all of
6530 stdint.h-data.
6531
020275b5
UD
6532 * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
6533
bec7805d
UD
65342001-01-25 Ulrich Drepper <drepper@redhat.com>
6535
020275b5
UD
6536 * conform/conformtest.pl (@headers): Add stdint.h.
6537 * conform/data/stdint.h-data: New file.
6538
ad4f2ebf
UD
6539 * conform/conformtest.pl: Recognize options --headers and
6540 --dialect. Add dialect-specific CFLAGS.
6541
9d48fef0
UD
6542 * conform/conformtest.pl: Implement handling of recursive
6543 allow-header.
6544
6545 * conform/data/locale.h-data: Add new struct lconv members.
6546
8a6c2217
UD
6547 * posix/wordexp.h: Correct definition of wordexp_t.
6548 * posix/wordexp.c: Moved to ...
6549 * sysdeps/generic/wordexp.c: ...here. New file.
6550 * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
6551 * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
6552 * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
6553 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
6554 wordexp.
6555 * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
6556 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
6557
deea1b29
UD
6558 * math/tgmath.h: Pretty printing.
6559
4f2689f4
UD
6560 * math/Makefile (tests): Add test-tgmath.
6561 (CFLAGS-test-tgmath.c): New variable.
6562 * math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
6563
bec7805d
UD
6564 * conform/conformtest.pl: Handle allow-header in secondary headers
6565 correctly.
6566
6567 * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
6568 #ifdef.
6569
6570 * conform/data/netinet/in.h-data: Use correct comment character.
6571 * conform/data/sys/stat.h-data: Likewise.
6572
e7c3d12b
UD
65732001-01-25 Jakub Jelinek <jakub@redhat.com>
6574
6575 * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
6576 __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
6577 __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
6578 __builtin_classify_type, add ##f suffixes where appropriate.
6579 (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
6580 (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
6581 __builtin_classify_type.
6582 (fma): Fix spelling of first argument.
6583
4de9dbfa
UD
65842001-01-25 Ulrich Drepper <drepper@redhat.com>
6585
773bd1e1
UD
6586 * conform/data/unistd.h-data: Mark functions removed in XPG6
6587 correctly.
6588
6589 * posix/unistd.h: Don't make functions removed in XPG6 available if
d921b304
UD
6590 __USE_XOPEN2K.
6591
2eba94b2
UD
6592 * conform/conformtest.pl: Implement optional-constant.
6593 * conform/data/unistd.h-data: Use optional-constant wherever
6594 appropriate.
6595
6b3e8333
UD
6596 * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
6597 constants and add _SC_STREAMS.
6598 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6599
87d2f3f0
UD
6600 * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
6601 make old name weak alias.
6602 * sysdeps/generic/statvfs64.c: Likewise.
6603 * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
6604 make old name weak alias.
6605 * sysdeps/generic/fstatvfs64.c: Likewise.
c1fac803 6606 * include/sys/statvfs.h: New file.
87d2f3f0 6607
2da161d4
UD
6608 * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
6609 _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
6610 _PC_REC_XFER_ALIGN.
6611 * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
6612 _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
6613 _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
87d2f3f0 6614 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2da161d4 6615
7287c36d
UD
6616 * conform/conformtest.pl: Run Unix tests for XPG6.
6617 Implement handling of known namespace violations.
6618 Improve printing of results.
6619
6620 * posix/unistd.h (usleep): Correct return type.
6621 * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
6622 * sysdeps/unix/bsd/usleep.c: Correct return type.
6623 * sysdeps/mach/usleep.c: Correct return type.
6624 * sysdeps/generic/usleep.c: Correct return type.
6625
6626 * posix/unistd.h (sync): Correct return type.
6627 * sysdeps/generic/sync.c: Likewise.
6628 * sysdeps/mach/hurd/sync.c: Likewise.
6629
6630 * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
6631
49833554
UD
6632 * posix/unistd.h: Make seteuid and setegid available for XPG6.
6633
d9826675
UD
6634 * wcsmbs/wchar.h: Get FILE definition for XPG5.
6635
4de9dbfa
UD
6636 * conform/data/ctype.h-data: Use correct comment form.
6637 * conform/data/errno.h-data: Likewise.
6638 * conform/data/math.h-data: Likewise.
6639 * conform/data/mqueue.h-data: Likewise.
6640 * conform/data/netdb.h-data: Likewise.
6641 * conform/data/pthread.h-data: Likewise.
6642
dc5fd907
UD
66432001-01-24 Ulrich Drepper <drepper@redhat.com>
6644
c39fb5e4
UD
6645 * conform/data/wordexp.h-data: Fix typo.
6646
d753ffef
UD
6647 * conform/conformtest.pl: Handle allow-header correctly.
6648
6649 * conform/data/time.h-data: Use correct comment form.
6650
19533127
UD
6651 * conform/conformtest.pl (checknamespace): Ignore #undef lines.
6652
45ef592d
UD
6653 * configure.in: Comment out binutils version test.
6654
dc5fd907
UD
6655 * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
6656 separators.
6657 Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
6658
6659 * stdlib/tst-strtod.c (locale_test): New function.
6660 (main): Call locale_test.
98d3e993 6661 * stdlib/Makefile (tst-strtod-ENV): New variable.
dc5fd907 6662
99f1b15b
MK
66632001-01-24 Mark Kettenis <kettenis@gnu.org>
6664
6665 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
6666 declaration of value such that we actually return the value of the
6667 environment variable.
6668
1f3109a5
AJ
66692001-01-24 Andreas Jaeger <aj@suse.de>
6670
6671 * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
6672 prototype.
6673 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6674
dc5fd907 6675 * include/sys/sysctl.h: New file.
1f3109a5 6676
ecf525cd
AJ
66772001-01-23 Andreas Jaeger <aj@suse.de>
6678
1f3109a5
AJ
6679 * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
6680 isomac.
7eff7a05 6681
b0ed91ae
AJ
6682 * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
6683 arguments. Reported by Jiri Kubicek <kubicek@bitsmart.com>,
6684 closes PR libc/2039.
6685
ecf525cd
AJ
6686 * manual/install.texi (Tools for Compilation): Change required
6687 binutils version.
6688
7d0673ae
AJ
66892001-01-22 Andreas Jaeger <aj@suse.de>
6690
ea9f119b
AJ
6691 * configure.in: Add test for new enough binutils version, move
6692 compiler/binutils test up.
6693
7d0673ae
AJ
6694 * Versions.def: Add version GLIBC_2.2.2.
6695
3132d11a
UD
66962001-01-21 Ulrich Drepper <drepper@redhat.com>
6697
6698 * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
6699 available.
6700 * iconvdata/testdata/IBM932: New file.
6701 * iconvdata/testdata/IBM932..UTF8: New file.
6702 * iconvdata/testdata/IBM943: New file.
6703 * iconvdata/testdata/IBM943..UTF8: New file.
6704 Contributed by Masahide Washizawa <washi@jp.ibm.com>.
6705
608d481e
UD
67062001-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6707
6708 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
6709
67102001-01-21 Ulrich Drepper <drepper@redhat.com>
6711
6712 * malloc/malloc.c: Remove a few unnecessary initializers of global
6713 variables.
6714
a5fdf99b
UD
67152000-12-09 H.J. Lu <hjl@gnu.org>
6716
6717 * nss/Makefile (routines): Add digits_dots.
6718 * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
6719 * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
6720 into a function.
6721 * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
6722 function.
6723 * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
6724 (TYPE_VAR_P): Likewise.
6725 (FLAGS_VAR): Likewise.
6726 (AF_VAR_P): Likewise.
6727 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6728 instead of including digits_dots.c.
6729 * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
6730 (TYPE_VAR_P): Likewise.
6731 (FLAGS_VAR): Likewise.
6732 (AF_VAR_P): Likewise.
6733 (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
6734 instead of including digits_dots.c.
6735
df18ec9a
UD
67362001-01-21 Ulrich Drepper <drepper@redhat.com>
6737
6738 * sysdeps/posix/getaddrinfo.c: Reduce .data size.
6739
01ed3747
AJ
67402001-01-21 Andreas Jaeger <aj@suse.de>
6741
6742 * elf/constload2.c: Add prototype for init.
6743
27cb6b28
UD
67442001-01-21 Ulrich Drepper <drepper@redhat.com>
6745
d17c01f9
UD
6746 * stdlib/stdlib.h (drand48_data): Make available only for
6747 __USE_MISC. Rename elements to protect namespace. Change type
6748 and position of a and init element.
6749 * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
6750 differently. Adjust for drand48_data change. Don't compute a here,
6751 it comes from drand48_data.
6752 * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
6753 differently. Adjust for drand48_data change. Compute a here.
6754 * stdlib/srand48_r.c: Likewise.
6755 * stdlib/drand48.c: Adjust for drand48_data change.
6756 * stdlib/lrand48.c: Likewise.
6757 * stdlib/mrand48.c: Likewise.
6758 * stdlib/seek48.c: Likewise.
6759 * stdlib/drand48_r.c: Likewise.
6760 * stdlib/lrand48_r.c: Likewise.
6761 * stdlib/mrand48_r.c: Likewise.
6762 * stdlib/seed48_r.c: Likewise. Don't handle unsigned short > 16 bit
6763 differently.
6764 * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
6765 * stdlib/jrand48_r.c: Likewise.
6766
27cb6b28
UD
6767 * po/sv.po: Update from translation team.
6768
d28c955e
AJ
67692001-01-21 Andreas Jaeger <aj@suse.de>
6770
6771 * stdio-common/vfprintf.c (vfprintf): Add casts.
6772
21a568e2
UD
67732001-01-20 Ulrich Drepper <drepper@redhat.com>
6774
3b7caeac
UD
6775 * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
6776 the ASCII test.
6777 * iconvdata/TESTS: Add entries for IBM932 and IBM943.
6778
6779 * iconvdata/Makefile (modules): Add IBM932 and IBM943.
6780 * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
6781 * iconvdata/ibm932.c: New file.
6782 * iconvdata/ibm932.h: New file.
6783 * iconvdata/ibm943.c: New file.
6784 * iconvdata/ibm943.h: New file.
6785 Patches by Masahide Washizawa <washi@jp.ibm.com>.
6786
b72f9d51
UD
6787 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
6788 preventing optimization from being done. Set the correct type bit
6789 in seen. Don't define and use _dl_base_addr unless
1b6020c1
UD
6790 NEED_DL_BASE_ADDR is defined.
6791
21a568e2
UD
6792 * io/ftw.c (ftw_dir): Add slash after directory name if there
6793 wasn't any. Reported by loris <loris@iol.it>.
6794 * io/Makefile (tests): Add bug-ftw2.
6795 * io/bug-ftw2.c: New file.
6796
ec4ae3b8
UD
67972001-01-19 Ulrich Drepper <drepper@redhat.com>
6798
df152cc8
UD
6799 * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
6800 results. Reported by Jeff Higham <jhigham@algorithmics.com>.
6801 * stdlib/tst-rand48.c: New file.
6802 * stdlib/Makefile (tests): Add tst-rand48.
6803
ec4ae3b8
UD
6804 * locale/newlocale.c (__newlocale): Fix test for setting all
6805 categories.
6806
db11c38c
MK
68072001-01-19 Mark Kettenis <kettenis@gnu.org>
6808
6809 * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
6810 but change looking up the initial directory port in a similar way
6811 as done by _hurd_change_directory_port_from_name.
6812 * hurd/fchroot.c (fchroot): Likewise.
6813
2e42b53c
UD
68142001-01-18 Ulrich Drepper <drepper@redhat.com>
6815
4e56fdbc
UD
6816 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
6817 defined don't look whether the AT_*ID values were set.
6818 If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
6819 (_dl_show_auxv): Rewrite to avoid switch statement.
6820 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6821 __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
6822 * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
6823 Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
6824
5287b1d8
UD
6825 * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
6826 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6827 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6828
1e71bd52
UD
6829 * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
6830 strtoul.
6831 * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
6832 (__sigjmp_save): Set __mask_was_saved to zero since we don't save
6833 anything.
6834 * dlfcn/eval.c (__strtol_internal): Define here.
6835 (eval): Use __strtol_internal instead of strtol.
6836
2e42b53c
UD
6837 * elf/elf.h: Add a few more EF_MIPS_* constants.
6838
2244ddf2
UD
68392001-01-17 Ulrich Drepper <drepper@redhat.com>
6840
6841 * manual/Makefile (chapters): Add debug.
6842 * manual/debug.texi: New file.
6843 * manual/examples/execinfo.c: New file.
6844 Patch by suckfish@ihug.co.nz.
6845
ee490531
AS
68462001-01-17 Andreas Schwab <schwab@suse.de>
6847
6848 * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
6849 invalid asm.
6850
d26253b4
AJ
68512001-01-17 Andreas Jaeger <aj@suse.de>
6852
6853 * nscd/connections.c (nscd_run): Use proper format specifier.
6854
f806546c
UD
68552001-01-16 Ulrich Drepper <drepper@redhat.com>
6856
629cd0b8
UD
6857 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
6858 x86_platforms data into new file after prepending _dl_. Change
6859 users.
6860 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
6861 * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
6862 * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
6863 dl-procinfo.c.
6864
eca90c85
UD
6865 * setjmp/setjmp.h: Cleanup definition of setjmp macro.
6866
376c348c
UD
6867 * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
6868 * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
6869 * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
f806546c 6870 (_setjmp): Likewise.
376c348c
UD
6871 * sysdeps/i386/bsd-_setjmp.S: Real implementation.
6872 * sysdeps/i386/bsd-setjmp.S: Real implementation.
6873 * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
6874 * sysdeps/i386/setjmp.S: Remove PIC support. This is the non-ELF
6875 version.
f806546c 6876
17b32c74
AJ
68772001-01-16 Andreas Jaeger <aj@suse.de>
6878
6879 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
6880 misapplied last patch.
6881
ad7069d7
UD
68822001-01-15 Ulrich Drepper <drepper@redhat.com>
6883
a9e4124c
UD
6884 * stdlib/random.c (__initstate): Clean up a cast.
6885 (__setstate): Likewise.
6886
ad7069d7
UD
6887 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
6888 syscall handling. The generic Linux version should work.
6889
d5049d86
AJ
68902001-01-15 Andreas Jaeger <aj@suse.de>
6891
dab64536
AJ
6892 * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
6893
376c348c 6894 * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
d5049d86 6895
232b4655
UD
68962001-01-14 Jakub Jelinek <jakub@redhat.com>
6897
6898 * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
6899 netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
6900 New functions.
6901 (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
6902 If number is 0, list all.
6903 (services_keys): Likewise. Lookup aliases as well.
6904 (databases): New table.
6905 (build_doc): Prepare argp doc text with list of supported databases.
6906 (main): Change to table driven processing.
6907
69082001-01-14 Thorsten Kukuk <kukuk@suse.de>
6909
5b6bed49 6910 * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
232b4655
UD
6911 functions.
6912
69132001-01-03 Jakub Jelinek <jakub@redhat.com>
6914
6915 * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
6916 encode value which does not fit in the 32bit type.
6917
6589ba79
AJ
69182001-01-15 Hiroyuki Machida <machida@sm.sony.co.jp>
6919
6920 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
6921 Change type of CTX to (struct sigcontext *).
6922 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
6923 (GET_FRAME): Likewise.
6924 (GET_STACK): Likewise.
da1375be 6925 (SIGCONTEXT): Likewise. Add 2nd arg _code.
6589ba79
AJ
6926 (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
6927
b82d4f72
UD
69282001-01-13 Ulrich Drepper <drepper@redhat.com>
6929
6930 * manual/texinfo.tex: Update from upstream version.
6931
3f738366
UD
69322001-01-13 Jakub Jelinek <jakub@redhat.com>
6933
6934 * inet/ether_ntoh.c (lookup_function): Change arguments to match
6935 _nss_*_getntohost_r prototype.
6936 (ether_ntohost): Pass errno pointer to NSS function.
6937
6589ba79 69382001-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3f738366
UD
6939
6940 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
6941 (MAP_LOCKED): New definition.
6942 (MAP_NORESERVE): New definition.
6943
234669e2
UD
69442001-01-12 Ulrich Drepper <drepper@redhat.com>
6945
6946 * assert/assert.h: Use static_cast instead of C-style cast for C++.
6947 Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
6948
6589ba79 69492001-01-12 Ben Collins <bcollins@debian.org>
ff0eee29
UD
6950
6951 * sysdeps/generic/segfault.c (install_handler): Use access, not
6952 __access.
6953
a7cdbcb8
AJ
69542001-01-12 Andreas Jaeger <aj@suse.de>
6955
6956 * posix/fnmatch_loop.c (FCT): Remove signed warnings.
6957 * posix/wordexp.c (do_parse_glob): Likewise.
6958 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6959 * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
6960 * elf/dl-open.c (_dl_open): Likewise.
6961 * elf/dl-close.c (_dl_close): Likewise.
6962 * elf/dl-load.c (_dl_map_object): Likewise.
6963 * iconv/iconv_prog.c (process_fd): Likewise.
03769626 6964 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
a7cdbcb8
AJ
6965
6966 * locale/localeinfo.h (struct locale_data): Use __flexarr instead
6967 of a zero-length array.
6968
5ef50d00
UD
69692001-01-11 Jakub Jelinek <jakub@redhat.com>
6970
6971 * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
6972 * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
6973 * stdlib/cxa_on_exit.c: Remove.
6974 * stdlib/Makefile: Revert last patch.
6975 * stdlib/Versions: Likewise.
6976 * include/stdlib.h: Likewise.
6977 * stdlib/exit.h: Revert last patch.
6978 (struct exit_function): Add second argument to cxa fn.
6979 * stdlib/exit.c: Revert last patch.
6980 (exit): Add hidden second argument.
6981
7e36861e
UD
69822001-01-11 H.J. Lu <hjl@gnu.org>
6983
6984 * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
6985 * elf/dl-open.c (_dl_open): Here.
6986 * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
6987 Make it static.
6988 (_dl_static_init): Initialize the variables every time when possible.
6989 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
6990 Undefine it first.
6991
3bbddbe4
UD
69922001-01-11 Ulrich Drepper <drepper@redhat.com>
6993
6994 * stdlib/Makefile (routines): Add cxa_on_exit.
6995 * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
6996 * stdlib/cxa_on_exit.c: New file.
6997 * include/stdlib.h: Add prototype for __cxa_on_exit.
6998 * stdlib/exit.c: Handle ef_cxa2.
6999 * stdlib/exit.h (enum): Add ef_cxa2.
7000 (struct exit_function): Add cxa2.
7001
7002 * Versions.def [ld]: Add GLIBC_2.2.1.
7003
beb5387c
UD
70042001-01-10 H.J. Lu <hjl@gnu.org>
7005
7006 * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
7007 * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
7008 dl-static.
7009 * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
7010 * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
7011 * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
7012 * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
7013 * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
7014
c926001f
UD
70152001-01-11 Ulrich Drepper <drepper@redhat.com>
7016
7017 * libio/stdio.h: Remove definition of off_t.
7018
64ed4533
AJ
70192001-01-11 Andreas Jaeger <aj@suse.de>
7020
7021 * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
7022 <mkuhn@acm.org>.
7023
b9483044
UD
70242001-01-10 Ulrich Drepper <drepper@redhat.com>
7025
7026 * sunrpc/Makefile (distribute): Add errqueue.h.
7027
b1eab230
UD
70282001-01-10 H.J. Lu <hjl@gnu.org>
7029
7030 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
7031 r9, r10 and r11 for language specific registers.
7032
70332001-01-10 Jakub Jelinek <jakub@redhat.com>
7034
7035 * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
7036 UDP socket.
7037 (clntudp_call): Handle MSG_ERRQUEUE.
7038 * sysdeps/generic/errqueue.h: New file.
7039 * sysdeps/unix/sysv/linux/errqueue.h: New file.
7040
963100c9
UD
70412001-01-10 H.J. Lu <hjl@gnu.org>
7042
7043 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
7044
e32f6125
UD
70452001-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
7046
7047 * CONFORMANCE: Update.
7048
4dd98cad
UD
70492001-01-09 Ulrich Drepper <drepper@redhat.com>
7050
88d88a58
UD
7051 * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
7052 Minimal cleanups. Add assert to ensure memory handling is correct.
7053
4ab5b7b5
UD
7054 * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
7055 Reported by Ben Collins <bcollins@debian.org>.
7056
4dd98cad
UD
7057 * time/strftime.c (my_strftime): Mark previous GNU extensions
7058 which are now in C99 as such.
7059
0b795736
UD
70602001-01-08 Ulrich Drepper <drepper@redhat.com>
7061
92effacf
UD
7062 * elf/rtld.c (process_envvars): Place output files for profiling
7063 in SUID binaries in /var/profile.
7064
27f9ede1
UD
7065 * elf/dl-load.c (_dl_map_object): Don't look in cache for
7066 preloading in SUID binaries.
7067
f2a8d16b
UD
7068 * elf/dl-profile.c (_dl_start_profile): Open the output file with
7069 O_NOFOLLOW if possible.
7070
0101a56f
UD
7071 * include/stdlib.h: Add __posix_openpt declaration.
7072 * stdlib/stdlib.h: Add posix_openpt declaration.
7073 * login/Versions: Add posix_openpt for GLIBC_2.2.1.
7074 * sysdeps/generic/getpt.c: Define posix_openpt.
7075 * sysdeps/unix/bsd/getpt.c: Likewise.
7076 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
7077
354e6102
UD
7078 * time/Makefile (tests): Add tst-mktime.
7079 * time/tst-mktime.c: New file.
7080
7081 * posix/tst-dir.c (main): One more mkdir() test.
7082
f93e323f
UD
7083 * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
7084 Remove getpagesize syscall. We assume that the pagesize is always
7085 determined from the auxiliary vector.
7086
0b795736
UD
7087 * intl/dcigettext.c: Fix a few warnings.
7088 Patch by Bruno Haible <haible@ilog.fr>.
7089
70902001-01-08 Andreas Jaeger <aj@suse.de>
7091
7092 * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
7093 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
7094
9b2c7523
UD
70952001-01-08 Ulrich Drepper <drepper@redhat.com>
7096
2090dd73
UD
7097 * sysdeps/generic/segfault.c (install_handler): Check output file
7098 name with access().
7099
52ee6223
UD
7100 * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
7101 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
7102
0eb8a89b
UD
7103 * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
7104
cf1bb6d5
UD
7105 * malloc/memusage.c (me): Use access() to determine whether we
7106 should write the output file or not.
7107
9b2c7523
UD
7108 * libio/bits/stdio.h (printf): Define macro to map printf call to
7109 fprintf which gcc can optimize.
1950ebc6 7110 * stdio-common/printf.c: Undefine printf.
9b2c7523 7111
af58d8a2
UD
71122001-01-07 Ulrich Drepper <drepper@redhat.com>
7113
bf2c10de 7114 * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
6589ba79 7115 patch. We must use unsigned int for l member of union.
bf2c10de 7116
51ac41a7
UD
7117 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
7118 _dl_aux_init for shared libraries.
7119
af58d8a2
UD
7120 * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
7121 * sysdeps/gnu/glob64.c: ...here. New file.
7122
6589ba79 71232001-01-07 Ben Collins <bcollins@debian.org>
9495793d
UD
7124
7125 * manual/examples/longopt.c: Make the "struct option" a little
7126 more like it should be, adding usage of required_argument,
7127 noargument and such, and also setting the options string right.
7128
7129 * manual/sysinfo.texi (Load Average): New section, documents
7130 getloadavg().
7131
531950ce
UD
71322001-01-06 Ulrich Drepper <drepper@redhat.com>
7133
22f02123
UD
7134 * version.h (VERSION): Bump to 2.2.1.
7135
b41486e9 7136 * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
dabb1db4
UD
7137 * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
7138 * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
7139 * dlfcn/Makefile (distribute): Add errmsg1mod.c.
7140 * Makefile (distribute): Add include/libc-internal.h.
7141 * libio/Makefile (distribute): Avoid overwriting.
b41486e9 7142
531950ce
UD
7143 * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
7144 buffer and table handling.
7145
e4a5f77d
UD
71462001-01-05 H.J. Lu <hjl@gnu.org>
7147
7148 * elf/dl-support.c (non_dynamic_init): Move the auxiliary
7149 vector checking to ...
da1375be 7150 (_dl_aux_init): Here. New function. Defined only if
e4a5f77d
UD
7151 HAVE_AUX_VECTOR is defined.
7152
7153 * sysdeps/generic/libc-start.c (__libc_start_main): Call
7154 _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
7155
7156 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
7157 _dl_aux_init.
7158
7159 * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
7160 (HAVE_AUX_VECTOR): Defined.
7161 (_dl_aux_init): Declared.
7162
6589ba79 71632001-01-05 Ben Collins <bcollins@debian.org>
bf798a95
UD
7164
7165 * manual/string.texi (Finding Tokens in a String): Document XPG
7166 basename() and dirname(), as well as GNU basename().
7167
71682001-01-05 Jakub Jelinek <jakub@redhat.com>
7169
7170 * Makeconfig (preprocess-version): Replace -traditional with
7171 -x assembler-with-cpp.
7172
71732001-01-05 Joseph S. Myers <jsm28@cam.ac.uk>
7174
7175 * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
7176 for GCC 2.97 or later.
7177
6589ba79 71782001-01-05 Ben Collins <bcollins@debian.org>
bf798a95
UD
7179
7180 * manual/stdio.texi (getline): Clarify the return value in the
7181 case of EOF being reached before a newline.
7182
71832001-01-04 Jakub Jelinek <jakub@redhat.com>
7184
7185 * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
7186 FALSE otherwise.
7187 (pmap_set, pmap_unset): Check __get_myaddress return value.
7188
71892001-01-05 Mark Kettenis <kettenis@gnu.org>
7190
7191 * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
7192 (struct ether_addr): Declare ether_addr_octet member as
7193 `u_int8_t'. Add __attribute__ ((__packed__)).
7194
4c587216
MK
71952001-01-06 Mark Kettenis <kettenis@gnu.org>
7196
7197 * sysdeps/mach/hurd/readdir64.c: New file.
7198 * sysdeps/mach/hurd/readdir64_r.c: New file.
7199
ce08cce9
MK
72002001-01-07 Mark Kettenis <kettenis@gnu.org>
7201
7202 * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
7203 `struct statfs' and `struct statvfs' being identical.
7204 * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
7205
7b3d21b2
MK
72062001-01-06 Mark Kettenis <kettenis@gnu.org>
7207
7208 * sysdeps/mach/hurd/fstatfs64.c: New file.
7209 * sysdeps/mach/hurd/fstatvfs64.c: New file.
7210 * sysdeps/mach/hurd/statfs64.c: New file.
7211 * sysdeps/mach/hurd/statvfs64.c: New file.
7212 * sysdeps/mach/hurd/statfsconv.c: New file.
7213 * sysdeps/mach/hurd/Dist: Add statfsconv.c.
7214
f1813b56
UD
72152001-01-06 Ulrich Drepper <drepper@redhat.com>
7216
7217 * iconv/skeleton.c: Reset outbuf for next round of the loop.
7218 Reported by Owen Taylor <otaylor@redhat.com>.
7219 * iconv/Makefile (tests): Add tst-iconv3.
7220 * iconv/tst-iconv3.c: New file.
7221
7222 * iconvdata/ibm930.c: Fix handling of state. Optimize a bit.
7223 * iconvdata/ibm933.c: Likewise.
7224 * iconvdata/ibm935.c: Likewise.
7225 * iconvdata/ibm937.c: Likewise.
7226 * iconvdata/ibm939.c: Likewise.
7227 * iconvdata/ibm930.h: Adjust single byte table for optimization.
7228 * iconvdata/ibm933.h: Likewise.
7229 * iconvdata/ibm935.h: Likewise.
7230 * iconvdata/ibm939.h: Likewise.
7231
7232 * iconvdata/testdata/IBM930: Add misssing SI.
7233 * iconvdata/testdata/IBM933: Likewise.
7234 * iconvdata/testdata/IBM935: Likewise.
7235 * iconvdata/testdata/IBM937: Likewise.
7236 * iconvdata/testdata/IBM939: Likewise.
7237
aa44a9de
AJ
72382001-01-06 Andreas Jaeger <aj@suse.de>
7239
f1813b56
UD
7240 * configure.in: Check for old add-ons that shouldn't be used with
7241 current glibc anymore.
aa44a9de 7242
655bfb8b
MK
72432001-01-06 Mark Kettenis <kettenis@gnu.org>
7244
7245 * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
7246 instead of -1 on failure. Don't forget to copy file name into
7247 *ENTRY if successful. Set *RESULT to NULL upon reaching the end
7248 of the directory.
7249
74ec0232
MK
72502001-01-06 Mark Kettenis <kettenis@gnu.org>
7251
7252 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
7253 copy st_atime member.
7254
c4f66413
UD
72552001-01-05 Ulrich Drepper <drepper@redhat.com>
7256
25f227b9
UD
7257 * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
7258 for searches from the root directory.
7259 Reported by loris <loris@iol.it> [PR libc/1991].
7260 * io/Makefile (tests): Add bug-ftw1.
7261 * io/bug-ftw1.c: New file.
7262
155fd00c 7263 * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
6589ba79 7264 if it is not available. Instead use it only if it is available.
155fd00c
UD
7265 * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
7266
c4f66413
UD
7267 * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
7268 overflowing output buffer.
7269 (internal_ucs4_loop_unaligned): Likewise.
7270 (ucs4_internal_loop): Likewise.
7271 (ucs4_internal_loop_unaligned): Likewise.
7272 (internal_ucs4le_loop): Likewise.
7273 (internal_ucs4le_loop_unaligned): Likewise.
7274 (ucs4le_internal_loop): Likewise.
7275 (ucs4le_internal_loop_unaligned): Likewise.
7276 Reported by Owen Taylor <otaylor@redhat.com>.
7277 * iconv/Makefile (tests): Add tst-iconv2.
7278 * iconv/tst-iconv2.c: New file.
7279
f8f900ec
UD
72802001-01-04 H.J. Lu <hjl@gnu.org>
7281
6589ba79 7282 * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
f8f900ec
UD
7283 (_dl_clktck): Declared.
7284 (non_dynamic_init): Take 3 arguments.
7285 Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
7286
72872001-01-01 Bruno Haible <haible@clisp.cons.org>
7288
7289 Finish implementation of plural form handling.
7290 * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
da1375be 7291 'domainname'. Remove 'plindex' field. Add 'domain' and
f8f900ec
UD
7292 'translation_length' fields.
7293 (transcmp): Don't compare 'plindex' fields.
7294 (plural_lookup): New function.
6589ba79 7295 (DCIGETTEXT): Change cache handing in the plural case. Don't call
f8f900ec 7296 plural_eval before the translation and its catalog file have been
da1375be 7297 found. Remove plindex from cache key. Add 'translation_length' and
f8f900ec
UD
7298 'domain' to cache result.
7299 (_nl_find_msg): Remove index argument, return length of translation
6589ba79 7300 to the caller instead. Weaken comparison of string lengths, to account
f8f900ec
UD
7301 for plural entries. Call iconv() on the entire result string, not
7302 only on the portion needed so far.
7303 * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
7304 argument.
7305 * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
7306
eda6c725
UD
73072001-01-04 Ulrich Drepper <drepper@redhat.com>
7308
7309 * intl/plural.y (yylex): Minimal improvement in number scanner.
7310
61402fd6
UD
73112000-07-31 Bruno Haible <haible@clisp.cons.org>
7312
da1375be 7313 * intl/plural.y: Include config.h. Needed to define 'inline' away for
61402fd6
UD
7314 C compilers that don't support it.
7315 (yylex): Don't use gcc specific case range syntax.
7316 * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
7317 compilers.
7318
73192000-10-12 Bruno Haible <haible@clisp.cons.org>
7320
7321 * intl/finddomain.c: Remove unneeded includes.
7322
73232000-10-12 Bruno Haible <haible@clisp.cons.org>
7324
7325 * intl/localealias.c (memcpy): Return first argument, just like the
7326 real memcpy function does.
7327 * intl/bindtextdom.c (memcpy): Likewise.
7328 * intl/finddomain.c (memcpy): Likewise.
7329 * intl/l10nflist.c (memcpy): Likewise.
7330 * intl/textdomain.c (memcpy): Likewise.
7331 From Paul Eggert <eggert@twinsun.com>.
7332
03fbfeb5
UD
73332001-01-03 Jakub Jelinek <jakub@redhat.com>
7334
7335 * resolv/resolv.h (struct __res_state): Add nsinit field.
7336 * resolv/res_send.c (res_nsend): Use it instead of nscount.
7337 * resolv/res_init.c (__res_vinit): Initialize it.
7338 (res_nclose): Clear it instead of nscount.
7339
06a60d9c
UD
73402001-01-04 Ulrich Drepper <drepper@redhat.com>
7341
03fbfeb5
UD
7342 * malloc/mtrace.pl: Fix matching of addresses.
7343 Patch by Aharon Robbins <arnold@skeeve.com>.
7344
06a60d9c
UD
7345 * Versions.def (ld): Add GLIBC_2.2.
7346
7347 * catgets/gencat.c: Copyright 2001.
7348 * csu/version.c: Likewise.
7349 * debug/catchsegv.sh: Likewise.
7350 * debug/xtrace.sh: Likewise.
7351 * elf/ldconfig.c: Likewise.
7352 * elf/sprof.c: Likewise.
7353 * iconv/iconv_prog.c: Likewise.
7354 * locale/locale.c: Likewise.
7355 * locale/localedef.c: Likewise.
7356 * malloc/memusage.sh: Likewise.
7357 * malloc/mtrace.pl: Likewise.
7358 * nscd/nscd.c: Likewise.
7359 * posix/getconf.c: Likewise.
7360
73612001-01-04 Mark Kettenis <kettenis@gnu.org>
7362
7363 * include/stdio.h: Only provide __getwc_unlocked prototype if
7364 USE_IN_LIBIO is defined.
7365
6589ba79 73662001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
06a60d9c
UD
7367
7368 * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
7369 handling.
7370
73712001-01-03 Andreas Schwab <schwab@suse.de>
7372
7373 * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
7374 * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
7375
7376 * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
7377 * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
7378 strtoull alias.
7379 * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
7380 * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
7381 wcstoull alias.
7382
7383 * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
7384 directory.
7385 * sysdeps/generic/strtol_l.c: Likewise.
7386 * sysdeps/generic/strtoul_l.c: Likewise.
7387 * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
7388
7389 * sysdeps/wordsize-64/strtol_l.c: Fix alias.
7390 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
7391 * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
7392 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
7393
7f28638c
AJ
73942001-01-04 Andreas Jaeger <aj@suse.de>
7395
7396 * nss/nsswitch.c: Include files for missing prototypes, remove
7397 buggy declaration of prototypes.
7398
6589ba79 73992001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6ea8a113
AJ
7400
7401 * resolv/Versions: Fix bracing.
7402 * sysdeps/powerpc/soft-fp/Versions: Likewise.
dc0722b2 7403 * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
6ea8a113 7404
6589ba79 74052001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
f49b52b6
UD
7406
7407 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
7408
fb0dd050
UD
74092001-01-02 Ulrich Drepper <drepper@redhat.com>
7410
7411 * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
7412 Suggested by Minko Markov <mmarkov@home.com>.
7413
6589ba79 74142001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
fb0dd050
UD
7415
7416 * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
7417 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
7418 the failing symbol.
7419 (__process_machine_rela): Pass symbol to dl_reloc_overflow().
7420
6589ba79 74212001-01-02 Ben Collins <bcollins@debian.org>
fb0dd050
UD
7422
7423 * time/tzset.c (tzset_internal): Make sure we fall back to UTC
7424 if TZ is not set and TZDEFAULT is not present.
7425
6589ba79 74262001-01-01 Ben Collins <bcollins@debian.org>
fb0dd050
UD
7427
7428 * string/strings.h: Make sure we declare our functions even if
7429 string.h is already included, based on whether or not __USE_BSD is
7430 defined.
7431
74322001-01-02 Ulrich Drepper <drepper@redhat.com>
7433
7434 * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
7435 other dlopen() and dlsym().
7436 Based on a patch by Ben Collins <bcollins@debian.org>.
7437
74382001-01-02 Andreas Jaeger <aj@suse.de>
7439
7440 * dlfcn/errmsg1.c (main): Call dlerror initially.
7441 Reported by Ben Collins <bcollins@debian.org>.
7442
3470b826
UD
74432001-01-02 Ulrich Drepper <drepper@redhat.com>
7444
7445 * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
7446 value is ignored if the selected locale is the C locale.
7447 * intl/tst-gettext.c: Set locale for above change.
7448 * intl/tst-translit.c: Likewise.
7449
78db6513
AJ
74502001-01-02 Andreas Jaeger <aj@suse.de>
7451
1dc72e4f
AJ
7452 * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
7453 (_IO_switch_to_wget_mode): Likewise.
7454 (_IO_sputbackwc): Likewise.
7455 (_IO_sungetwc): Use wint_t for result.
7456
7457 * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
7458
7459 * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
7460 signedness.
7461
7462 * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
7463 to (int) to avoid warnings.
7464 * stdio-common/printf_fp.c (putc): Likewise.
7465 * stdio-common/printf_size.c (putc): Likewise.
7466
78db6513
AJ
7467 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
7468 constant unsigned.
7469
8261c754
AJ
74702001-01-01 Andreas Jaeger <aj@suse.de>
7471
7472 * inet/rcmd.c (rcmd_af): Use socklen_t for len.
7473
a2e48a25
AJ
74742000-12-31 Andreas Jaeger <aj@suse.de>
7475
66539a73
AJ
7476 * include/libc-internal.h: Add prototype for __libc_freeres.
7477
72f70279
AJ
7478 * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
7479 for prototypes, remove redundant prototypes.
7480 * gmon/gmon.c: Likewise.
7481 * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
7482 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
66539a73 7483 * malloc/mtrace.c: Likewise.
72f70279
AJ
7484
7485 * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
7486 prototypes.
7487 * elf/soinit.c: Likewise.
7488 * sysdeps/generic/prof-freq.c: Likewise.
7489 * sysdeps/mach/hurd/profil.c: Likewise.
7490 * debug/noophooks.c: Likewise.
7491 * debug/pcprofile.c: Likewise.
7492 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
7493 * sysdeps/generic/get_clockfreq.c: Likewise.
66539a73 7494 * malloc/set-freeres.c: Likewise.
72f70279
AJ
7495
7496 * locale/localeinfo.h: Add internal prototypes.
7497
7498 * elf/rtld.c (dl_main): Fix prototype.
7499
9346aad7
AJ
7500 * iconvdata/tst-table-to.c (main): Use return instead of exit to
7501 avoid warning.
7502
7503 * nis/rpcsvc/yp_prot.h: Remove __P.
7504 * nis/rpcsvc/ypupd.h: Likewise.
7505 * nis/rpcsvc/yp.h: Likewise.
7506
fa39f7f7
AJ
7507 * sunrpc/rpc_main.c: Add noreturn attributes.
7508 * sunrpc/rpc_scan.h: Likewise.
7509
7510 * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
7511
7512 * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
7513
7514 * sunrpc/proto.h: Add noreturn attributes to error and crash.
7515
e4aced47
AJ
7516 * posix/bsd-getpgrp.c: Add prototype to avoid warning.
7517
7518 * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
7519
7520 * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
7521
7522 * include/rpc/rpc_msg.h: Add prototypes for some functions.
7523 * include/rpc/auth.h: Likewise.
7524 * include/rpc/auth_des.h: Likewise.
7525 * include/rpc/clnt.h: Likewise.
7526 * include/rpc/rpc.h: Likewise.
7527 * include/rpc/svc.h: Likewise.
7528 * include/rpc/svc_auth.h: Likewise.
7529
7530 * include/rpc/des_crypt.h: New file.
7531
a2e48a25
AJ
7532 * malloc/memusagestat.c (main): Use return instead of exit to
7533 avoid warning.
7534 * io/pwd.c (main): Likewise.
7535 * iconvdata/tst-table-from.c (main): Likewise.
7536 * ctype/test_ctype.c (main): Likewise.
7537 * setjmp/tst-setjmp.c (main): Likewise.
7538 * signal/tst-signal.c (main): Likewise.
7539 * stdlib/tst-strtol.c (main): Likewise.
7540 * stdlib/tst-strtod.c (main): Likewise.
7541 * stdlib/tst-strtoll.c (main): Likewise.
7542 * stdlib/tst-xpg-basename.c (main): Likewise.
7543 * dirent/tst-seekdir.c (main): Likewise.
7544 * grp/testgrp.c (main): Likewise.
7545 * inet/test_ifindex.c (main): Likewise.
7546 * io/test-utime.c (main): Likewise.
7547 * posix/test-vfork.c (main): Likewise.
7548 * posix/testfnm.c (main): Likewise.
7549 * stdio-common/temptest.c (main): Likewise.
7550 * stdio-common/test_rdwr.c (main): Likewise.
7551 * stdio-common/tst-fileno.c (main): Likewise.
7552 * stdio-common/tst-sscanf.c (main): Likewise.
7553 * stdio-common/tstscanf.c (main): Likewise.
7554 * string/bug-strncat1.c (main): Likewise.
7555 * string/bug-strpbrk1.c (main): Likewise.
7556 * string/bug-strspn1.c (main): Likewise.
7557 * string/test-ffs.c (main): Likewise.
7558 * string/tst-inlcall.c (main): Likewise.
7559 * string/tst-svc.c (main): Likewise.
7560 * timezone/test-tz.c (main): Likewise.
7561 * wctype/test_wcfuncs.c (main): Likewise.
7562 * wctype/test_wctype.c (main): Likewise.
7563
7564 * stdlib/tst-random.c: Add attribute noreturn to fail.
7565
09f5e163
UD
75662000-12-28 Wolfram Gloger <wg@malloc.de>
7567
7568 * malloc/malloc.c (MALLOC_COPY): Handle case if source and
7569 destination overlap. Assume dest is always below source if
7570 overlapping.
7571
c77a4478
UD
75722000-12-30 Ulrich Drepper <drepper@redhat.com>
7573
7574 * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
7575 object was not yet initialized.
7576
75772000-12-28 H.J. Lu <hjl@gnu.org>
7578
7579 * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
7580 is always consistent even if its dependency is failed.
7581
7582 * elf/dl-open.c (_dl_open): Increment the open count before
7583 calling _dl_close () in case of failure.
7584
7585 * elf/neededtest4.c: New file.
7586 * elf/neededobj5.c: New file.
7587 * elf/neededobj6.c: New file.
7588
7589 * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
7590 (tests): Add neededtest4.
7591 (modules-names): Add neededobj5 and neededobj6.
7592 ($(objpfx)neededobj6.so): New target.
7593 ($(objpfx)neededtest4): New target.
7594 ($(objpfx)neededtest4.out): New target.
7595
d9af8867
UD
75962000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
7597
7598 * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
7599 * stdlib/monetary.h: Add strfmon format attributes.
7600
547d4019
RM
76012000-12-28 Roland McGrath <roland@frob.com>
7602
7603 * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
7604 __mempcpy does it for us.
7605
11e0f1cf
AJ
76062000-12-28 Andreas Jaeger <aj@suse.de>
7607
dde52fca
AJ
7608 * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
7609
7610 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
7611 __new_setrlimit.
7612
7613 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
7614 __old_getrlimit64.
7615
7616 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
7617 __new_getrlimit.
7618
7619 * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
7620 __chown_is_lchown and __real_chown.
7621
8da8e2db
AJ
7622 * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
7623 _dl_reloc_bad_type.
7624
11e0f1cf
AJ
7625 * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
7626 up GCC's warning about "deprecated use of label at end of compound
7627 statement."
7628 * sunrpc/rpc_cout.c (emit_inline): Likewise.
7629
11e0f1cf
AJ
7630 * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
7631 prototypes.
7632 Remove struct bb and __bb_head since those are declared by
7633 sys/gmon.h.
7634
6589ba79 76352000-12-22 Ben Collins <bcollins@debian.org>
01f8c9f2
AJ
7636
7637 * manual/charset.texi: Fix typo in description of WCHAR_MAX.
7638
7639 * manual/argp.texi: Document argp_domain as part of struct argp.
7640
a7cfa341
AJ
76412000-12-28 Andreas Jaeger <aj@suse.de>
7642
a2820ec4
AJ
7643 * catgets/Makefile (generated): Add sample.SJIS.cat.
7644
12f942cd
AJ
7645 * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
7646
728c24ff
AJ
7647 * elf/dl-minimal.c: Add prototypes.
7648
7649 * include/locale.h: Add internal prototypes.
7650 * include/sys/gmon.h: Likewise.
7651
a7cfa341
AJ
7652 * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
7653
6589ba79 76542000-12-27 Ben Collins <bcollins@debian.org>
7231f6f9
UD
7655
7656 * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
7657 when reallocating the error strings.
7658 Reported by Kalle Olavi Niemitalo <kon@iki.fi>
7659
bb548f63
UD
76602000-12-27 Ulrich Drepper <drepper@redhat.com>
7661
f116c77f
UD
7662 * dlfcn/Makefile (tests): Add errmsg1.
7663 (modules-names): Add errmsg1mod.
7664 Add rules to run errmsg1.
7665 * dlfcn/errmsg1.c: New file.
7666 * dlfcn/errmsg1mod.c: New file.
7667
9c99fa3d
UD
7668 * dlfcn/dlerror.c (dlerror): Always create output string which
7669 includes object file name.
7670
bb548f63
UD
7671 * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
7672 if we would go through it only once.
7673 Patch by Rick Gorton <rick.gorton@api-networks.com>.
7674
7675 * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
7676 Patch by Richard Henderson <rth@redhat.com>.
7677
76782000-12-27 Jakub Jelinek <jakub@redhat.com>
7679
7680 * malloc/malloc.c (memmove): Add prototypes.
7681 (MALLOC_MEMMOVE): Define.
7682 (chunk_realloc): Use it instead of MALLOC_COPY if source and
7683 destination might overlap.
7684
ce351e07
AJ
76852000-12-27 Andreas Jaeger <aj@suse.de>
7686
7687 * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
7688 function.
7689 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7690 * locale/programs/locale.c (show_locale_vars): Likewise.
7691 (show_info): Likewise.
7692 * locale/programs/ld-collate.c (collate_output): Likewise.
7693 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
7694 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7695 * stdlib/rpmatch.c (rpmatch): Likewise.
7696
7697 * setjmp/tst-setjmp.c: Make local functions static.
7698 * setjmp/jmpbug.c: Likewise.
7699 * signal/tst-signal.c: Likewise.
7700 * stdio-common/tfformat.c: Likewise.
7701 * string/tst-svc.c: Likewise.
7702 * time/clocktest.c: Likewise.
7703 * time/tst-getdate.c: Likewise.
7704 * dirent/list.c: Likewise.
7705 * dirent/opendir-tst1.c: Likewise.
7706 * posix/runtests.c: Likewise.
7707 * posix/tst-getaddrinfo.c: Likewise.
7708 * posix/tst-chmod.c: Likewise.
7709 * posix/wordexp-test.c: Likewise.
7710 * misc/tst-efgcvt.c: Likewise.
7711 * timezone/tst-timezone.c: Likewise.
7712 * rt/tst-clock.c: Likewise.
7713 * rt/tst-shm.c: Likewise.
7714 * rt/tst-aio2.c: Likewise.
7715 * rt/tst-aio3.c: Likewise.
7716 * rt/tst-aio4.c: Likewise.
7717 * rt/tst-aio5.c: Likewise.
7718
7719 * dlfcn/failtest.c: Add prototype for foo.
7720
7721 * dlfcn/glrefmain.c: Add prototype for do_test.
7722
7723 * dlfcn/tst-dladdr.c: Add prototype for do_test.
7724
7725 * string/test-ffs.c (main): Add prototype for nested function.
7726
7727 * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
7728
7729 * nss/XXX-lookup.c: Add prototype to shut up GCC.
7730
7731 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
7732 setetherent prototype.
7733 Add internal interfaces.
7734
7735 * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
7736 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
7737
7738 * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
7739
7740 * nis/nis_intern.h: Add prototype for __pmap_getnisport.
7741
7742 * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
7743 prototypes, remove struct etherent since it's declared in ether.h.
7744 Fix ntohost declaration.
7745
7746 * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
7747
7748 * include/getopt.h: Add internal interfaces.
7749 * include/termios.h: Likewise.
7750 * include/resolv.h: Likewise.
7751 * include/netdb.h: Likewise.
7752 * include/grp.h: Likewise.
7753 * include/pwd.h: Likewise.
7754 * include/shadow.h: Likewise.
7755 * include/rpc/netdb.h: Likewise.
784d802e 7756 * include/setjmp.h: Likewise.
ce351e07
AJ
7757
7758 * include/stdio.h: Add prototypes for compatibility functions.
7759 * include/grp.h: Likewise.
7760 * include/pwd.h: Likewise.
7761 * include/shadow.h: Likewise.
7762
7763 * include/fenv.h: Define internal interfaces.
7764
96749bc2
UD
77652000-12-27 Ulrich Drepper <drepper@redhat.com>
7766
7767 * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
7768 argument case separately.
7769 * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
7770
27ee0a55
AJ
77712000-12-27 Andreas Jaeger <aj@suse.de>
7772
7773 * include/sys/wait.h: Add some prototypes.
7774 * Rules (dummy.c): Create also prototype to shut up GCC.
7775
38eb40ea
AJ
77762000-12-27 Andreas Jaeger <aj@suse.de>
7777
7778 * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
7779 it's not needed at the moment.
7780 * sysdeps/generic/if_index.c (__protocol_available): Likewise.
7781 * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
7782
03bac9ac
AJ
77832000-12-26 Andreas Jaeger <aj@suse.de>
7784
7785 * libio/getc_u.c: Include stdio.h via system path to get internal
7786 prototypes.
7787 * libio/getwc_u.c: Likewise.
7788
7789 * stdlib/strfmon.c: Fix prototype of __printf_fp.
7790
7791 * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
7792 __printf_fp prototypes to ...
7793 * include/printf.h: ...here.
7794
7795 * include/stdio.h: Add some internal prototypes to shut up GCC.
7796 * include/stdlib.h: Likewise.
7797
7798 * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
7799 declaration.
7800
7801 * include/signal.h: Add prototypes for internal sigpause
7802 interfaces.
7803
945c975d
UD
78042000-12-26 Ulrich Drepper <drepper@redhat.com>
7805
7806 * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
7807 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
7808
fc1fb585
UD
7809 * string/Makefile (tests): Add tst-bswap.
7810 * string/tst-bswap.c: New file.
7811
be76803a
UD
78122000-12-11 Bruno Haible <haible@clisp.cons.org>
7813
7814 * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
7815
78162000-12-26 Ulrich Drepper <drepper@redhat.com>
7817
7818 * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
7819 Patch by Ed Connell <Ed.Connell@sas.com>.
7820
214414c8
UD
78212000-12-24 Ulrich Drepper <drepper@redhat.com>
7822
7823 * locale/iso-639.def: Correct one entry. Add two missing entries.
7824
7825 * locale/iso-4217.def: Change entry for Eritrea.
7826 Reported by Daniel Yacob <yacob@geez.org>.
7827
6589ba79 78282000-12-23 Ben Collins <bcollins@debian.org>
640a3be1
UD
7829
7830 * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
7831 description.
7832
7833 * manual/stdio.texi (Dynamic Output): Document the return value of
7834 asprintf. Also make the asprintf/snprintf examples a little
7835 better (check for some error returns).
7836
b708b1ca
AJ
78372000-12-22 Andreas Jaeger <aj@suse.de>
7838
7839 * include/stdio.h: Add __ftrylockfile prototype.
7840
912f97da
UD
78412000-12-21 H.J. Lu <hjl@gnu.org>
7842
7843 * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
7844 Make sign_exponent element signed.
7845
7846 * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
7847 Fix a typo.
7848
7849 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
7850
cc657ce5
AJ
78512000-12-21 Andreas Jaeger <aj@suse.de>
7852
7853 * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
7854 * inet/ether_hton.c: Likewise
7855 * inet/ether_ntoh.c: Likewise.
7856
7857 * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
7858 declaration to match prototype.
7859
7860 * include/netinet/ether.h (struct etherent): Declare here so that
7861 all implementations use the same struct.
7862
7863 * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
7864 prototypes.
7865 (struct ether): Removed.
7866 Use struct etherent instead of ether everywhere.
7867
7868 * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
7869
7870 * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
7871
7872 * sunrpc/publickey.c: Include auth_des.h for prototypes.
7873
ddc3ed9d
UD
78742000-12-20 Ulrich Drepper <drepper@redhat.com>
7875
7876 * math/test-misc.c: Add more tests for nextafter functions.
7877
7878 * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
7879 normal correctly. Correct test for sign.
7880 Based on a patch by HJ Lu.
7881
0a4c7b18
UD
78822000-12-19 Ulrich Drepper <drepper@redhat.com>
7883
7884 * Makeconfig (preprocess-version): Add -traditional to gcc call.
7885 Cleanup sed calls.
7886
6c9914d8
AJ
78872000-12-19 Andreas Jaeger <aj@suse.de>
7888
7889 * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
7890
7891 * nis/nis_intern.h: Add prototype for __do_niscall3.
7892
7893 * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
7894 match prototype.
7895
7896 * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
7897
7898 * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7899
7900 * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
7901
9b4b880b
UD
79022000-12-18 Ulrich Drepper <drepper@redhat.com>
7903
cc46d0cf
UD
7904 * math/test-misc.c: Add more tests for nextafter.
7905 * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
7906 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7907 (ieee_long_double_shape_type): Make sign_exponent element signed.
7908
aa9e3c39
UD
7909 * manual/message.texi: Add Estonian to plural overview list.
7910 Correct rule for Slavic languages.
7911 Patch by Stanislav Brabec <utx@penguin.cz>.
7912
9b4b880b
UD
7913 * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
7914
51eecc4a
AJ
79152000-12-18 Andreas Jaeger <aj@suse.de>
7916
cc657ce5 7917 * test-skeleton.c: Use temp_name_list instead of name_list to
51eecc4a
AJ
7918 avoid collision with name_list from inet/netgroup.h.
7919
7920 * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
7921
7922 * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
7923 * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
7924 * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
7925 * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
7926
7927 * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
7928 declaration to match prototype.
7929 * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
7930 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
7931 * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
7932 Likewise.
7933 * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
7934 * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
7935 * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
7936 * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
7937 (_nss_nis_getservbyport_r): Likewise.
7938 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
7939 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
7940 * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
7941 (_nss_nis_setnetent): Likewise
7942 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7943 (_nss_nis_endnetgrent): Likewise.
7944 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
7945 Likewise.
7946 (_nss_nisplus_setnetgrent): Likewise.
7947 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
7948 * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
7949 * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
7950 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
7951 Likewise.
7952 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
7953 Likewise.
7954 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
7955 Likewise.
7956 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
7957 Likewise.
7958 * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
7959 * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
7960 * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
7961 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
7962 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
7963 (_nss_dns_getnetbyaddr_r): Likewise.
7964
715ed1e9
AJ
79652000-12-17 Andreas Jaeger <aj@suse.de>
7966
b6e20712
AJ
7967 * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
7968 parameter.
7969
7970 * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
7971 unused attribute to shut up gcc warnings.
7972
7973 * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
7974 * sysdeps/generic/k_tanl.c: Likewise.
7975 * sysdeps/generic/k_cosl.c: Likewise.
7976 * sysdeps/generic/e_j0l.c: Likewise.
7977 * sysdeps/generic/e_j1l.c: Likewise.
7978 * sysdeps/generic/e_jnl.c: Likewise.
7979 * sysdeps/generic/e_lgammal_r.c: Likewise.
7980
715ed1e9
AJ
7981 * elf/vismain.c: Move prototypes for functions in vismod*.c to
7982 vismod.h.
7983 * elf/vismod.h: New file.
7984 * elf/Makefile (distribute): Add vismod.h.
7985 * elf/vismod1.c: Include vismod.h.
7986 * elf/vismod2.c: Likewise.
7987 * elf/vismod3.c: Likewise.
7988
7989 * elf/constload3.c: Add prototype declarations to shut up gcc.
7990 * elf/failobj.c: Likewise.
7991 * elf/nodelmod3.c: Likewise.
7992 * elf/filtmod1.c: Likewise.
7993 * elf/filtmod2.c: Likewise.
7994 * elf/reldepmod1.c: Likewise.
7995 * elf/reldepmod2.c: Likewise.
7996 * elf/reldepmod3.c: Likewise.
7997 * elf/reldepmod4.c: Likewise.
7998 * elf/unload2dep.c: Likewise.
7999 * elf/unload2mod.c: Likewise.
8000 * elf/ltglobmod1.c: Likewise.
8001 * elf/pathoptobj.c: Likewise.
5c80f57c
AJ
8002 * elf/neededobj1.c: Likewise.
8003 * elf/neededobj2.c: Likewise.
8004 * elf/neededobj3.c: Likewise.
8005 * elf/neededobj4.c: Likewise.
8006 * elf/nextmod1.c: Likewise.
8007 * elf/nextmod2.c: Likewise.
715ed1e9
AJ
8008
8009 * locale/programs/ld-collate.c (collate_finish): Don't use labels
8010 at end of compound statement.
8011 * locale/programs/locale.c (show_info): Likewise.
8012 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
8013
0a70515e
UD
80142000-12-16 Jakub Jelinek <jakub@redhat.com>
8015
8016 * catgets/gencat.c (read_input_file): Avoid calling obstack_free
8017 with a pointer not returned by obstack_ functions.
8018
3d73829c
UD
80192000-12-16 Ulrich Drepper <drepper@redhat.com>
8020
0a70515e
UD
8021 * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
8022 version.
8023 (struct stat64): Likewise.
8024 Reported by Michael Keezer <mkeezer@redhat.com>.
8025
3d73829c
UD
8026 * timezone/asia: Update from tzdata2000h.
8027 * timezone/australasia: Likewise.
8028 * timezone/backward: Likewise.
8029 * timezone/europe: Likewise.
8030 * timezone/northamerica: Likewise.
8031 * timezone/southamerica: Likewise.
8032 * timezone/zone.tab: Likewise.
8033
80342000-12-14 Jakub Jelinek <jakub@redhat.com>
8035
8036 * io/ftw.c (ftw_dir): If process_entry returned non-zero result
8037 and dir.stream is NULL, only free dir.content.
8038 * io/ftwtest.c (cb, main): Add --early-exit option to test it.
8039 * io/ftwtest-sh: Test with --early-exit.
8040
887e7ab6
UD
80412000-12-13 Jakub Jelinek <jakub@redhat.com>
8042
8043 * misc/efgcvt.c (FCVT_MAXDIG): Define.
8044 (FCVT_BUFPTR): New variable.
8045 (fcvt): If fcvt_r returns -1 on the static short buffer,
8046 try to malloc a sufficiently large one and retry.
8047 (free_mem): New function.
8048 * misc/qefgcvt.c (FCVT_MAXDIG): Define.
8049 * misc/tst-efgcvt.c (fcvt_tests): Add new test.
8050
80512000-12-15 Ulrich Drepper <drepper@redhat.com>
8052
8053 * misc/dirname.c (dirname): Fix search for second to last slash.
8054
80552000-12-13 Andreas Jaeger <aj@suse.de>
8056
8057 * misc/tst-dirname.c (main): Fix typo in test to really use
8058 the examples from Unix98.
8059 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8060
bafd1567
UD
80612000-12-09 H.J. Lu <hjl@gnu.org>
8062
8063 * sysdeps/ia64/fpu/s_fabs.S: New file.
8064 * sysdeps/ia64/fpu/s_fabsf.S: New file.
8065 * sysdeps/ia64/fpu/s_fabsl.S: New file.
8066
1a511d31
AJ
80672000-12-15 Andreas Jaeger <aj@suse.de>
8068
8069 * stdio-common/scanf9.c (main): Reformat and change to avoid
8070 warnings.
8071
8072 * stdio-common/tstdiomisc.c: Make local functions static.
8073 * stdio-common/tst-printf.c: Likewise.
8074
8075 * elf/constload2.c: Add prototype declarations to shut up gcc.
8076 * elf/dep1.c: Likewise.
8077 * elf/dep2.c: Likewise.
8078 * elf/dep3.c: Likewise.
8079 * elf/dep4.c: Likewise.
8080 * elf/ltglobmod2.c: Likewise.
8081
8082 * libio/fmemopen.c: Make local functions static.
8083
8084 * elf/Makefile (distribute): Added testobj.h.
8085
8086 * elf/testobj.h: New file.
8087
8088 * elf/testobj1.c: Include testobj.h and move prototype
8089 declarations to testobj.h.
8090 * elf/testobj2.c: Likewise.
8091 * elf/testobj3.c: Likewise.
8092 * elf/testobj4.c: Likewise.
8093 * elf/testobj5.c: Likewise.
8094 * elf/testobj6.c: Likewise.
8095 * elf/testobj1_1.c: Likewise.
8096 * elf/preloadtest.c: Likewise.
8097
6589ba79 80982000-12-15 Ben Collins <bcollins@debian.org>
8ab5926a
AJ
8099
8100 * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
8101 Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
8102
940f0754
AJ
81032000-12-14 H.J. Lu <hjl@gnu.org>
8104
8105 * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
8106 field in a float is 8 bits, not 11 bits.
8107
7b84d129
AJ
81082000-12-13 Jakub Jelinek <jakub@redhat.com>
8109
8110 * math/test-misc.c (main): Adjust m for IEEE quad long double.
8111
13193a38
AJ
81122000-12-13 Andreas Jaeger <aj@suse.de>
8113
b71f84a0
AJ
8114 * manual/message.texi (Using gettextized software): Fix typo.
8115
8116 * manual/charset.texi (Converting a Character): Fix mbstouwcs
8117 program to compile.
8118 Patch by Martin Buchholz <martin@xemacs.org>.
8119
13193a38
AJ
8120 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
8121 Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
8122
1e3869d8
AJ
81232000-12-11 Andreas Jaeger <aj@suse.de>
8124
8125 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
8126 kernel_sigset_t and use it.
8127 Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
8128
bafd1567 81292000-12-10 Richard Henderson <rth@redhat.com>
874b4dd5
UD
8130
8131 * sysdeps/alpha/alphaev67/fpu/Implies: New file.
8132 * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
8133 * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
8134
a31530e3
UD
81352000-12-10 Jakub Jelinek <jakub@redhat.com>
8136
8137 * sysdeps/alpha/htonl.S: Fix a typo.
8138
adc85e2f
UD
81392000-12-10 Jakub Jelinek <jakub@redhat.com>
8140
8141 * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
8142
9068de33
AJ
81432000-12-10 Andreas Jaeger <aj@suse.de>
8144
8145 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
4e8d52c9
AJ
8146 cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
8147 Drepper <drepper@redhat.com>.
9068de33 8148
0a12bf88
AJ
81492000-12-09 Andreas Jaeger <aj@suse.de>
8150
8151 * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
8152
8153 * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
8154 generic version.
8155 Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
8156
8157 * locale/programs/ld-collate.c (handle_ellipsis): Fix format
8158 string.
8159
8160 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
8161 format string.
8162
8163 * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
8164 * nscd/connections.c (handle_request): Likewise.
8165 * nscd/pwdcache.c (addpwbyname): Likewise.
8166 * nscd/grpcache.c (addgrbyname): Likewise.
8167
8168 * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
8169
1d5c2feb
UD
81702000-12-09 Ulrich Drepper <drepper@redhat.com>
8171
c13f651e
UD
8172 * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
8173
1d5c2feb
UD
8174 * Makeconfig (default_cflags): Make -O2 the default for stable
8175 releases.
8176
81772000-12-08 H.J. Lu <hjl@gnu.org>
8178
8179 * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
8180 * sysdeps/ia64/fpu/s_isinf.S: This.
8181 Add a .pred.rel.mutex note to avoid false report.
8182
8183 * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
8184 * sysdeps/ia64/fpu/s_isnan.S: This.
8185
8186 * sysdeps/ia64/fpu/s_fpclassify.S: New file.
8187 * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
8188 * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
8189 * sysdeps/ia64/fpu/s_isinff.S: New file.
8190 * sysdeps/ia64/fpu/s_isinfl.S: New file.
8191 * sysdeps/ia64/fpu/s_isnanf.S: New file.
8192 * sysdeps/ia64/fpu/s_isnanl.S: New file.
8193 * sysdeps/ia64/fpu/s_finite.S: New file.
8194 * sysdeps/ia64/fpu/s_finitef.S: New file.
8195 * sysdeps/ia64/fpu/s_finitel.S: New file.
8196 * sysdeps/ia64/fpu/s_signbit.S: New file.
8197 * sysdeps/ia64/fpu/s_signbitf.S: New file.
8198 * sysdeps/ia64/fpu/s_signbitl.S: New file.
8199 * sysdeps/ia64/fpu/s_copysign.S: New file.
8200 * sysdeps/ia64/fpu/s_copysignf.S: New file.
8201 * sysdeps/ia64/fpu/s_copysignl.S: New file.
8202
d9163744
UD
82032000-12-08 Ulrich Drepper <drepper@redhat.com>
8204
a9a56960
UD
8205 * math/libm-test.inc (main): Fix typos in messages.
8206
d9163744
UD
8207 * string/stratcliff.c: Add test for rawmemchr.
8208
7b70fef6
UD
82092000-12-08 Jakub Jelinek <jakub@redhat.com>
8210
8211 * elf/dl-open.c (_dl_open): If objname points right after errstring,
8212 allocate it together with errstring using alloca.
8213 * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
8214 to "", because it might point to local stack.
8215
8b801829
UD
82162000-12-05 H.J. Lu <hjl@gnu.org>
8217
8218 * nss/Makefile (routines): Add getnssent and getnssent_r.
8219 * nss/nsswitch.h (__nss_setent): New internal NSS function.
8220 (__nss_endent): Likewise.
8221 (__nss_getent_r): Likewise.
8222 (__nss_getent): Likewise.
8223 * nss/getnssent_r.c: New file.
8224 * nss/getnssent.c: New file.
8225 * nss/getXXent.c (H_ERRNO_VAR): Updated.
8226 (GETFUNC_NAME): Updated to call __nss_getent ().
8227 * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
8228 (STAYOPEN_TMPVAR): Updated.
8229 (STAYOPEN_VAR): Updated.
8230 (SETFUNC_NAME): Updated to call __nss_setent ().
8231 (ENDFUNC_NAME): Updated to call __nss_endent ().
8232 (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
8233
b8fefd49
AJ
82342000-12-08 Andreas Jaeger <aj@suse.de>
8235
8236 * nscd/dbg_log.h (dbg_log): Correct attribute.
8237
104d0bd3
UD
82382000-12-08 Jakub Jelinek <jakub@redhat.com>
8239
8240 * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
8241 cp + len. Compute where from dirname.
8242 Reported by <jreiser@BitWagon.com>.
8243
82442000-12-08 Richard Henderson <rth@twiddle.net>
8245
8246 * sysdeps/alpha/_mcount.S: Fix typo.
8247 * sysdeps/alpha/strncpy.S: Likewise.
8248
8249 * sysdeps/alpha/alphaev6/Implies: New file.
8250 * sysdeps/alpha/alphaev67/Implies: New file.
8251 * sysdeps/alpha/alphaev67/ffs.S: New file.
8252 * sysdeps/alpha/alphaev67/ffsll.S: New file.
8253 * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
8254 * sysdeps/alpha/alphaev67/stpcpy.S: New file.
8255 * sysdeps/alpha/alphaev67/stpncpy.S: New file.
8256 * sysdeps/alpha/rawmemchr.S: New file.
8257 * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
8258 * sysdeps/alpha/strcpy.S: Likewise.
8259
8260 From GMP 3.1.1:
8261 * sysdeps/alpha/alphaev6/addmul_1.s: New file.
8262
8263 From rick.gorton@alpha-processor.com:
8264 * sysdeps/alpha/alphaev6/memchr.S: New file.
8265 * sysdeps/alpha/alphaev6/memcpy.S: New file.
8266 * sysdeps/alpha/alphaev6/memset.S: New file.
8267 * sysdeps/alpha/alphaev6/stxcpy.S: New file.
8268 * sysdeps/alpha/alphaev6/stxncpy.S: New file.
8269 * sysdeps/alpha/alphaev67/strcat.S: New file.
8270 * sysdeps/alpha/alphaev67/strchr.S: New file.
8271 * sysdeps/alpha/alphaev67/strlen.S: New file.
8272 * sysdeps/alpha/alphaev67/strncat.S: New file.
8273 * sysdeps/alpha/htonl.S: Use a shorter sequence.
8274
82752000-12-08 Jakub Jelinek <jakub@redhat.com>
8276
8277 * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
8278 Reported by <pspencer@fields.utoronto.ca>.
8279
82802000-12-07 Jes Sorensen <jes@linuxcare.com>
8281
8282 * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
8283 Pointed out by Hans Boehm.
8284
82852000-12-07 H.J. Lu <hjl@gnu.org>
8286
8287 * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
8288
82892000-12-07 Andreas Jaeger <aj@suse.de>
8290
8291 * misc/error.c: Add format attributes for __error and __error_at_line.
8292
8293 * nscd/dbg_log.h: Add format attribute.
8294
82952000-12-08 Ulrich Drepper <drepper@redhat.com>
8296
8297 * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
8298 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
8299
4e9b4067
UD
83002000-12-07 Dan Pop <Dan.Pop@cern.ch>
8301
8302 * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
8303
e3690263
UD
83042000-12-06 Ulrich Drepper <drepper@redhat.com>
8305
8306 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8307 (sysdep_routines): Add uitrunc.
8308 * sysdeps/unix/sysv/aix/uitrunc.c: New file.
8309 Patches by Michael Keezer <mkeezer@redhat.com>.
8310
1ca315fc
RM
83112000-12-06 Roland McGrath <roland@frob.com>
8312
8313 * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
8314 argument data, since it will be used to copy out too (for INOUT).
8315 Reported by Marcus Brinkmann <marcus@gnu.org>.
8316
8317 * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
8318 (__ioctl): Use uintptr_t instead of unsigned long int.
8319
9068de33 83202000-12-06 Jim Wilson <wilson@redhat.com>
9cf90923 8321
1ca315fc 8322 * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
9cf90923 8323
23a5c823
UD
83242000-12-06 Ulrich Drepper <drepper@redhat.com>
8325
8326 * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
8327 x.5 rounding correctly.
8328
d36c3615
UD
83292000-12-06 Mark Kettenis <kettenis@gnu.org>
8330
8331 * stdio-common/perror.c (perror): Conditionalize code dealing with
8332 wide-oriented streams on USE_IN_LIBIO.
8333
f4abea70
MK
83342000-12-06 Mark Kettenis <kettenis@gnu.org>
8335
8336 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
8337 as internal_function.
8338
298c70f4
UD
83392000-12-05 Ulrich Drepper <drepper@redhat.com>
8340
8341 * sysdeps/alpha/elf/start.S (__data_start): Define.
8342
0e96315a
UD
83432000-12-05 H.J. Lu <hjl@gnu.org>
8344
8345 * nss/getXXent_r.c (setup): Change the return type to int.
8346
256ba888
UD
83472000-12-05 Ulrich Drepper <drepper@redhat.com>
8348
8349 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
8350 (sysdep_routines): Add restf and savef.
8351 * sysdeps/unix/sysv/aix/restf.c: New file.
8352 * sysdeps/unix/sysv/aix/savef.c: New file.
8353 Patches by Michael Keezer <mkeezer@redhat.com>.
8354
8355 * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
8356 if O_DIRECTORY is not defined.
8357 Patch by Michael Keezer <mkeezer@redhat.com>.
8358
8359 * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
8360 Patch by Michael Keezer <mkeezer@redhat.com>.
8361
8362 * locale/programs/linereader.c (get_toplvl_escape): Recognize more
8363 than 4 bytes in escape sequence.
8364 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8365
48896b9d
AJ
83662000-12-05 Andreas Jaeger <aj@suse.de>
8367
2e3b9976
AJ
8368 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
8369 set mips2.
8370
9fbbbe69
AJ
8371 * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
8372
8373 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
8374
8375 * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
d32ffbec 8376 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9fbbbe69 8377
48896b9d
AJ
8378 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
8379 internal_function.
8380 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
8381 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
8382
8383 * sysdeps/generic/dl-cache.c: Remove declaration of
8384 _dl_sysdep_read_whole_file.
8385
8386 * elf/dl-load.c (_dl_map_object): Remove declaration of
8387 _dl_load_cache_lookup.
8388
8389 * sysdeps/generic/ldsodefs.h: Add declarations of
8390 _dl_load_cache_lookup, _dl_unload_cache,
8391 _dl_sysdep_read_whole_file, _dl_sysdep_start and
8392 _dl_sysdep_start_cleanup.
8393
8394 * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
8395 now.
8396
8397 * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
8398 * sysdeps/generic/dl-environ.c: Likewise.
8399
8400 * stdio-common/printf_fp.c: Include <gmp.h> instead of
8401 <stdlib/gmp.h>.
8402 * math/atest-exp.c: Likewise.
8403 * math/atest-exp2.c: Likewise.
8404 * math/atest-sincos.c: Likewise.
8405 * stdio-common/_itoa.c: Likewise.
8406 * stdio-common/_itowa.c: Likewise.
8407
8408 * include/gmp.h: New file with internal prototypes.
8409
8410 * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
8411 here to...
8412 * include/setjmp.h: ...here.
8413
8414 * locale/Makefile (routines): Remove codeset_name since it's not
8415 needed anywhere.
8416
8417 * locale/codeset_name.c: Removed.
8418
2e98651f
UD
84192000-12-05 Ulrich Drepper <drepper@redhat.com>
8420
8421 * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
8422
36c12d87
AJ
84232000-12-05 Andreas Jaeger <aj@suse.de>
8424
8425 * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
8426
9068de33 84272000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
e22669a3 8428
2e98651f 8429 * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
e22669a3
AJ
8430 available.
8431
cf3141a5
AJ
84322000-12-05 Andreas Jaeger <aj@suse.de>
8433
8434 * nss/test-netdb.c: Mark local functions as static to avoid
8435 warnings.
8436 (main): Use return to silence warning.
8437
8438 * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
8439
8440 * stdio-common/test-popen.c: Mark local functions as static to
8441 avoid warnings.
8442 (main): Use return to silence warning.
8443
8444 * stdlib/testsort.c (compare): Mark as static to avoid warning.
8445
8446 * assert/test-assert.c: Mark local functions as static to avoid
8447 warnings.
8448 * assert/test-assert-perr.c: Likewise.
8449
8450 * math/libm-test.inc (main): Use return to silence warnings.
8451
6d0c4914
UD
84522000-12-04 Ulrich Drepper <drepper@redhat.com>
8453
8267e47b
UD
8454 * math/fenv.h: Fix typo in comment.
8455
b210e4cc
UD
8456 * math/test-misc.c (main): Add a few more over and underflow tests
8457 for scalb.
8458
6d0c4914
UD
8459 * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
8460 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8461 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8462 * math/w_scalb.c: Don't use matherr except in SVID mode.
8463 * math/w_scalbf.c: Likewise.
8464 * math/w_scalbl.c: Likewise.
8465 * math/test-misc.c: Add test for NaN and scalbl.
8466 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8467
2aa15430
UD
84682000-12-04 Ulrich Drepper <drepper@redhat.com>
8469
8470 * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
8471 * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
8472 * include/libc-symbols.h (strong_alias): Define special version
8473 for HAVE_ASM_GLOBAL_DOT_NAME.
8474 (weak_alias): Likewise.
8475 * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
8476 * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
8477 (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
8478 getutxline, pututxline, and utmpxname.
8479 * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
8480 * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
8481 * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
8482 * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
8483 * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
8484 * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
8485 * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
8486 * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
8487 * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
8488 Patches by Michael Keezer <mkeezer@redhat.com>.
8489
62ab42d6
UD
84902000-12-04 H.J. Lu <hjl@gnu.org>
8491
8492 * configure.in: Change --with-oldest-abi=ABI to
8493 --enable-oldest-abi=ABI.
8494
84952000-12-02 Bruno Haible <haible@clisp.cons.org>
8496
8497 * stdio-common/perror.c (perror): If stderr is wide-oriented, use
8498 fwprintf instead of fprintf.
8499
767b6275
UD
85002000-12-04 Ulrich Drepper <drepper@redhat.com>
8501
8502 * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
8503 DECIMAL_DIG definitions.
8504 * sysdeps/arm/fpu/bits/mathdef.h: Likewise
8505 * sysdeps/generic/bits/mathdef.h: Likewise
8506 * sysdeps/i386/fpu/bits/mathdef.h: Likewise
8507 * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
8508 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
8509 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
8510 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
8511 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
8512
79569444
UD
85132000-12-03 Ulrich Drepper <drepper@redhat.com>
8514
767b6275
UD
8515 * math/test-fenv.c (main): Use return instead of exit to avoid warning.
8516
8517 * math/atest-exp.c: Mark local functions as static to avoid warnings.
8518 * math/atest-exp2.c: Likewise.
8519 * math/atest-sincos.c: Likewise.
8520
09881ccc
UD
8521 * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
8522 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8523
f8da88b0
UD
8524 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
8525 the handling of denormalized numbers.
8526
8527 * math/test-misc.c (main): Test for fpclassify and pseudo denormal
8528 numbers on x86.
8529 * sysdeps/i386/fpu/fpclassifyl.c: New file.
3d165855 8530
8cd806cf
UD
8531 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
8532 pseudo denormal representation of LDBL_MIN.
8533
76aecea1
UD
8534 * iconvdata/SJIS.irreversible: Remove unnecessary entries.
8535 * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
8536
8537 * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
8538 * iconvdata/jis0208.c: Likewise.
8539 * iconvdata/jis0212.c: Likewise.
8540 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8541
0df757b1
UD
8542 * math/test-misc.c (main): More tests for frexp and some for
8543 fpclassify and isnormal.
8544
be2925fc
UD
8545 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
8546 test for subnormal.
8547 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8548
79569444
UD
8549 * math/test-misc.c (main): Add tests for frexp.
8550 Reported by Fred J. Tydeman <tydeman@tybor.com>.
8551 * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
8552
06f55c0c
UD
85532000-12-02 H.J. Lu <hjl@gnu.org>
8554
8555 * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
8556 '\0' to wcschr.
8557
ec6f8477
UD
85582000-12-02 Ulrich Drepper <drepper@redhat.com>
8559
00f5fcbb
UD
8560 * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
8561 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8562 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8563
ec6f8477
UD
8564 * sysdeps/generic/glob.c: Adjust types of several variables to
8565 avoid warnings.
8566
68f672c9
UD
85672000-12-01 Ulrich Drepper <drepper@redhat.com>
8568
8569 * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
8570
2082d3c6
RM
85712000-11-30 Roland McGrath <roland@frob.com>
8572
8573 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
8574 (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
8575 allow multiple instances using the same function name in one file.
8576
6b3f2b3d
UD
85772000-12-01 Ulrich Drepper <drepper@redhat.com>
8578
8cd806cf 8579 * configure.in: Correct test for pserver CVS access.
6b3f2b3d 8580
38d7adc4
UD
85812000-11-28 H.J. Lu <hjl@gnu.org>
8582
8583 * libio/libio.h: Remove extra "#if ... #endif".
8584
411adb10
UD
85852000-11-29 H.J. Lu <hjl@gnu.org>
8586
8587 * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
8588
62ab42d6
UD
85892000-12-01 H.J. Lu <hjl@gnu.org>
8590
8591 * nss/getXXbyYY_r.c: Fix verioned symbol handling.
8592 * nss/getXXent_r.c: Likewise.
8593 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8594
85952000-11-30 H.J. Lu <hjl@gnu.org>
8596
8597 * scripts/abi-versions.awk (oldest_abi): New variable.
8598 Handle the oldest ABI supported.
8599
8600 * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
8601 for scripts/abi-versions.awk.
8602
8603 * configure.in: Add --with-oldest-abi=ABI.
8604 * configure: Rebuild.
8605
8606 * config.make.in (oldest-abi): New.
8607
8608 * config.h.in (GLIBC_OLDEST_ABI): New.
8609
8610 * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
8611
411adb10
UD
86122000-11-30 Jakub Jelinek <jakub@redhat.com>
8613
8614 * locale/setlocale.c (setname): Free for all categories, not just
8615 LC_ALL.
8616 (setlocale): Store a copy of string passed by user, not the string
8617 itself.
8618
62e82a34
RM
86192000-11-30 Roland McGrath <roland@frob.com>
8620
8621 * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
8622 rather than _hurd_fd_subinit, so it happens after it's safe to use
8623 libc facilities like malloc.
8624
559dce19
AJ
86252000-11-28 Andreas Jaeger <aj@suse.de>
8626
8627 * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
8628 declaration, adjust declaration of __syscall_getdents to match
8629 kernel.
8630
a0f5c800
AJ
86312000-11-29 H.J. Lu <hjl@gnu.org>
8632
8633 * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
8634
ecefc9b5
AJ
86352000-11-29 Andreas Jaeger <aj@suse.de>
8636
411adb10 8637 * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
ecefc9b5 8638
5eefad82
UD
86392000-11-28 Ulrich Drepper <drepper@redhat.com>
8640
20bb2883
UD
8641 * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
8642 * dlfcn/defaultmod2.c: Likewise.
8643 * dlfcn/dlopen.c: Likewise.
8644 * dlfcn/dlopenold.c: Likewise.
8645 * dlfcn/failtestmod.c: Likewise.
8646 * dlfcn/glreflib1.c: Likewise.
8647 * dlfcn/glreflib2.c: Likewise.
8648 * dlfcn/eval.c: Likewise. Add attributes.
8649
8650 * ctype/ctype-extn.c: Define isblank and not __isblank.
8651
5eefad82
UD
8652 * time/strftime.c: Add const where necessary to avoid warnings.
8653 * time/strptime.c (strptime_internal): Add casts to avoid warnings.
8654
9068de33 86552000-11-22 Paul Eggert <eggert@twinsun.com>
bffef76e
UD
8656
8657 * time/strftime.c (my_strftime): Do not invoke mbrlen with a
8658 size of (size_t) -1; it's not portable.
8659
aea6353a
UD
86602000-11-28 Ulrich Drepper <drepper@redhat.com>
8661
8662 * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
8663 crappy i486 FPU.
8664 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8665
6f9ebf8a
UD
86662000-11-14 Jes Sorensen <jes@linuxcare.com>
8667
8668 * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
8669
8670 * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
8671 _mcount is required by profiled binaries.
8672
8673 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
8674 * sysdeps/ia64/machine-gmon.h: ...here.
8675
9068de33 86762000-11-28 Masahide Washizawa <washi@jp.ibm.com>
271469ae
UD
8677
8678 * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
8679 (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
8680 and ibm1129.h.
8681 * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
8682 IBM1129.
8683 * iconvdata/ibm922.c: New file.
8684 * iconvdata/ibm922.h: New file.
8685 * iconvdata/ibm1124.c: New file.
8686 * iconvdata/ibm1124.h: New file.
8687 * iconvdata/ibm1129.c: New file.
8688 * iconvdata/ibm1129.h: New file.
8689 * iconvdata/testdata/IBM922: New file.
8690 * iconvdata/testdata/IBM922..UTF8: New file.
8691 * iconvdata/testdata/IBM1124: New file.
8692 * iconvdata/testdata/IBM1124..UTF8: New file.
8693 * iconvdata/testdata/IBM1129: New file.
8694 * iconvdata/testdata/IBM1129..UTF8: New file.
8695
14d5391f
UD
86962000-11-28 Ulrich Drepper <drepper@redhat.com>
8697
8698 * catgets/gencat.c (normalize_line): Take extra parameter with escape
8699 character. Change callers.
8700 (open_conversion): Determine mapping of 0x5c as wchar_t value.
8701 * catgets/Makefile: Add rules to build and run test-gencat.
8702 * catgets/sample.SJIS: New file.
8703 * catgets/test-gencat.c: New file.
8704 * catgets/test-gencat.sh: New file.
8705 Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8706
d83c8d14
AJ
87072000-11-28 Andreas Jaeger <aj@suse.de>
8708
8709 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
8710 Linux version.
8711
69f2f477
UD
87122000-11-28 Ulrich Drepper <drepper@redhat.com>
8713
8714 * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
8715
2f0c68f5
AJ
87162000-11-28 Andreas Jaeger <aj@suse.de>
8717
8718 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
8719 __flexarr.
8720 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
8721 Likewise.
8722
a1620a4c
UD
87232000-11-27 Ulrich Drepper <drepper@redhat.com>
8724
49f3a758
UD
8725 * misc/getusershell.c: Make strings in okshells array const.
8726 * misc/regexp.c: Add const to cast to avoid warnings.
8727 * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
8728 * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
8729 __setresuid.
8730 * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
8731 setresgid.
8732 * misc/error.c: Add prototypes for __error and __error_at_line.
8733 * misc/mntent_r.c (__getmntent_r): Add break at end of switch
8734 statement to avoid warning.
8c0b7170
UD
8735 * test-skeleton.c: Mark timeout_handler with noreturn.
8736 * iconv/skeleton.c (get16u): Add const to cast.
8737 (get32u): Likewise.
8738 * iconvdata/gb18030.c: Likewise.
8739 * iconvdata/iso-2022-cn-ext.c: Likewise.
8740 * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
8741 * iconvdata/big5.c: Likewise.
8742 * iconvdata/big5hkscs.c: Likewise.
8743 * iconvdata/iso_6937.c: Likewise.
8744 * iconvdata/iso_6937-2.c: Likewise.
8745 * iconvdata/t.61.c: Likewise.
8746 * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
8747 * iconvdata/unicode.c: Likewise.
8748 * iconvdata/utf-16.c: Likewise.
8749 * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
8750 * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
8751 with little code shuffling.
8752
d6b544fe
UD
8753 * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
8754 the problems introduced when the user selects -O3.
8755
a1620a4c
UD
8756 * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
8757 * misc/sys/cdefs.h: Define __flexarr.
8758 Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
8759
8760 * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
8761 * iconv/skeleton.c: Likewise.
8762 * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
8763 * iconv/loop.c (get16): Add const to cast.
8764 (get32): Likewise.
8765
d54fb3b6
AJ
87662000-11-27 Andreas Jaeger <aj@suse.de>
8767
8768 * login/programs/pt_chown.c (do_pt_chown): Mark function as static
8769 to avoid warning.
8770 * login/programs/utmpdump.c (print_entry): Likewise.
8771
f8028a97
AJ
87722000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8773
8774 * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
8775 in a single asm as they may be used to access other stored
8776 registers.
8777 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8778
1435536e
AJ
87792000-11-27 Andreas Jaeger <aj@suse.de>
8780
8781 * rt/tst-aio.c: Mark test functions as static to avoid warnings.
8782 * rt/tst-aio64.c: Likewise.
8783
d2defdc4
UD
87842000-11-27 Ulrich Drepper <drepper@redhat.com>
8785
8786 * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
8787 for gencat run.
8788 (libc.cat): Likewise.
8789 * catgets/gencat.c: Implement handling of message catalogs encoded
8790 with stateful character sets.
8791 Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
8792
c3301189
UD
87932000-11-26 Ulrich Drepper <drepper@redhat.com>
8794
ff8becee
UD
8795 * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
8796
c3301189
UD
8797 * inet/getnameinfo.c: Adjust casts to avoid warnings.
8798 * inet/rcmd.c: Likewise.
8799 * inet/ruserpass.c: Likewise.
8800 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
8801 IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8802 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
8803 IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
8804 IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
8805 IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
8806 * include/aliases.h: Add prototypes for internal __getalias* functions.
8807 * include/netdb.h: Add prototypes for __old_gethostent_r,
8808 __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
8809 __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
8810 __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
8811 __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
8812 * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
8813 __old_getrpcbynumber_r, __old_getrpcent_r.
8814
8815 * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
8816 __getrpcent_r prototypes.
8817
03fb20b5
UD
88182000-11-25 Ulrich Drepper <drepper@redhat.com>
8819
8b6e6767
UD
8820 * string/strcoll.c: Add casts to avoid warnings.
8821 * string/strnlen.c: Likewise.
8822 * string/strxfrm.c: Likewise.
8823 * sysdeps/generic/_strerror.c: Likewise.
8824 * sysdeps/generic/memrchr.c: Likewise.
8825 * sysdeps/generic/strcasestr.c: Likewise.
8826 * sysdeps/generic/strstr.c: Likewise.
8827
8828 * locale/weight.h (findidx): Add const to cast to avoid warning.
8829
a850e77f
UD
8830 * elf/loadfail.c: Little cosmetic changes to avoid warnings.
8831 * elf/loadtest.c: Likewise.
8832 * elf/multiload.c: Likewise.
8833 * elf/next.c: Likewise.
8834 * elf/nodelete.c: Likewise.
8835 * elf/noload.c: Likewise.
8836 * elf/order.c: Likewise.
8837 * elf/origtest.c: Likewise.
8838 * elf/preloadtest.c: Likewise.
8839 * elf/restest1.c: Likewise.
8840
68784f80
UD
8841 * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
8842 parameter of asm must be in %ecx.
8843
c3560dfd
UD
8844 * string/tester.c: Mark test functions as static to avoid warnings.
8845
03fb20b5
UD
8846 * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
8847 preserve value over different gconv-modules files.
8848
9c0592ab
UD
88492000-11-24 Ulrich Drepper <drepper@redhat.com>
8850
2a068d20
UD
8851 * locale/findlocale.c: Add casts to avoid warnings.
8852 * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
8853 * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
8854 to avoid warnings.
8855 * misc/tsearch.c (const_node): New type.
8856 (trecurse): Correct casts to avoid warnings.
8857 (__twalk): Likewise.
8858 * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
8859 LONG_BIT.
8860
8861 * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
8862
9c0592ab
UD
8863 * test-skeleton.c: Mark local functions as static to avoid warnings.
8864
88652000-11-23 H.J. Lu <hjl@gnu.org>
8866
8867 * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
8868 support the background job.
8869 Fix a typo.
8870
2debc8c5
UD
88712000-11-24 Ulrich Drepper <drepper@redhat.com>
8872
8873 * iconv/gconv_conf.c (insert_module): Replace old entry if new one
9c0592ab 8874 has same names but lower cost.
2debc8c5
UD
8875
88762000-11-23 Jakub Jelinek <jakub@redhat.com>
8877
8878 * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
8879 which never occur during bootstrap.
8880 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8881
bde15123
AJ
88822000-11-23 Andreas Jaeger <aj@suse.de>
8883
ba4cf0e9
AJ
8884 * nss/nss_files/files-hosts.c: Remove getipnodebyname.
8885
8886 * nss/Versions: Remove _nss_files_getipnodebyname_r.
8887
bde15123
AJ
8888 * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
8889
de71a46a
UD
88902000-11-18 Martin Buchholz <martin@xemacs.org>
8891
8892 * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
8893 (called++) return;'
8894
9068de33 88952000-11-21 Alan Modra <alan@linuxcare.com.au>
de71a46a
UD
8896
8897 * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
8898
8899 * csu/abi-note.S: Correct comment for operating system number.
8900
1eaa106e
UD
89012000-11-22 Ulrich Drepper <drepper@redhat.com>
8902
8903 * Versions.def: Add GLIBC_2.2.1 for glibc.
8904
89052000-11-22 Andreas Schwab <schwab@suse.de>
8906
8907 * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
8908 * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
8909
f14811c7
UD
89102000-11-22 Ulrich Drepper <drepper@redhat.com>
8911
8912 * rt/aio_suspend.c (aio_suspend): Convert timeout value to
8913 absolute time for pthread_cond_timedwait call.
8914 Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
8915
8916 * rt/Makefile (tests): Add tst-aio6.
8917 * rt/tst-aio6.c: New file.
8918
7d494a09
AJ
89192000-11-23 Andreas Jaeger <aj@suse.de>
8920
8921 * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
8922
d4859cfd
AJ
89232000-11-22 Andreas Jaeger <aj@suse.de>
8924
de71a46a 8925 * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
d4859cfd 8926
9068de33 89272000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
e747394b
AJ
8928
8929 * sysdeps/s390/bits/string.h: Make strncat always add a \0.
8930
53f78fbd
AS
89312000-11-21 Andreas Schwab <schwab@suse.de>
8932
8933 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
8934 * sysdeps/arm/setjmp.S: Likewise.
8935 * sysdeps/arm/fpu/setjmp.S: Likewise.
8936 * sysdeps/i386/setjmp.S: Likewise.
8937 * sysdeps/i386/elf/setjmp.S: Likewise.
8938 * sysdeps/s390/setjmp.S: Likewise.
8939 * sysdeps/s390/elf/setjmp.S: Likewise.
8940 * sysdeps/sh/sh3/setjmp.S: Likewise.
8941 * sysdeps/sh/sh4/setjmp.S: Likewise.
8942 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8943 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8944 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
8945 * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
8946
3ba1da94
AJ
89472000-11-21 Andreas Jaeger <aj@suse.de>
8948
0ab14408 8949 * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
307ea00a 8950 NORETURN, fix parameter list.
0ab14408 8951
3ba1da94
AJ
8952 * string/bug-strncat1.c (main): Fix typo.
8953 Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
8954
6cc7d725
UD
89552000-11-20 Ulrich Drepper <drepper@redhat.com>
8956
8957 * configure.in: Add --enable-all-warnings.
8958 * config.make.in (all-warnings): New variable.
8959 * Makeconfig (+gccwarn): Define with many more warnings if
8960 all-warnings is yes.
8961
59553897
UD
89622000-11-20 Jakub Jelinek <jakub@redhat.com>
8963
8964 * iconvdata/bug-iconv2.c (main): Use %zd in format string.
8965 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
8966 * malloc/tst-valloc.c (main): Cast valloc return value to long.
8967 * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
8968 * math/test-fpucw.c (main): Use %lx in format string, cast
8969 control words to long.
8970 * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
8971 * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
8972 large that it is unsigned warning.
8973
8974 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
8975 it to long on sparc64.
8976
89772000-11-20 Andreas Jaeger <aj@suse.de>
8978
8979 * nscd/nscd.h (termination_handler): Add noreturn attribute.
8980 (receiv_print_stats): Likewise.
8981
8982 * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
8983
17427edd
UD
89842000-11-20 Ulrich Drepper <drepper@redhat.com>
8985
ce3019cc
UD
8986 * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
8987
17427edd
UD
8988 * csu/gmon-start.c: Always have prototype for __gmon_start.
8989 * csu/version.c: Add prototypes for __libc_print_version and
8990 __libc_main.
8991 * iconv/gconv.c: Include gconv_int.h and gconv.h.
8992 * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
8993 and __to_name.
8994 * iconv/gconv_builtin.h: Add ASCII module definitions.
8995 * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
8996 (add_module): Add cast to avoid warning. Rework construction of
8997 strings for new module.
8998 * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
8999 (derivation_compare): Likewise.
9000 * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
9001 (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
9002 * iconv/gconv_int.h (__gconv_path_elem): Remove const.
9003 (struct gconv_alias): Remove const from fromname and toname.
9004 * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
9005 for loop functions.
9006 (internal_ucs4_loop): Use correct const-ness.
9007 (ucs4_internal_loop): Likewise.
9008 (internal_ucs4le_loop): Likewise.
9009 (ucs4le_internal_loop_single): Likewise.
9010 * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
9011 to_idx, to_tbl, winbuf, winbufend const. Change casts in
9012 assignments appropriately.
9013 (struct known_trans): Remove const from fname.
9014 (trans_compare): Make s1 and s2 const.
9015 * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
9016 avoid warning.
9017 * iconv/skeleton.c: Remove cast in calls of loop functions.
9018 * iconvdata/gconv-modules: Remove US-ASCII definitions.
9019 * iconvdata/iso646.c: Remove US_ASCII support.
9020 * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
9021 * include/unistd.h: Add __libc_check_standard_fds prototype.
9022 * string/bits/string2.h (__mempcpy_args): Add const to casts.
9023 * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
9024 _fini.
9025 * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
9026 * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
9027 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
9028 warning.
9029 * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
9030 __libc_init_first and _dl_start.
ad5b53b1
UD
9031 * intl/dcigettext.c (transcmp): Make s1 and s2 const.
9032 (DCIGETTEXT): Make domaindata variable const.
9033 * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
9034 to avoid warning.
17427edd 9035
73ea3b1b
AJ
90362000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
9037
17427edd 9038 * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
73ea3b1b
AJ
9039
9040 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
9041 time_t to 'long int' not, 'unsigned int'. Use 'long int' for
9042 __unused? members.
9043
9044 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
9045 value defined in /usr/include/asm-mips/fcntl.h.
9046
bb2fc850
UD
90472000-11-18 Ulrich Drepper <drepper@redhat.com>
9048
fd3e6373
UD
9049 * stdio-common/Makefile (tests): Add test-vfprintf.
9050 (test-vfprintf-ENV): New variable.
9051 * stdio-common/test-vfprintf.c: New file.
9052
bb2fc850
UD
9053 * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
9054
9055 * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
9056 (tst-mbrtowc-ENV): New variable.
9057 (tst-wcrtomb-ENV): New variable.
9058 * wcsmbs/tst-mbrtowc.c: New file.
9059 * wcsmbs/tst-wcrtomb.c: New file.
9060
7b32d065
UD
90612000-11-16 Andreas Jaeger <aj@suse.de>
9062
9063 * manual/install.texi (Tools for Compilation): Update
9064 documentation for GCC 2.95.2.
9065
7813b61a
UD
90662000-11-18 Ulrich Drepper <drepper@redhat.com>
9067
9068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
9069 if IPv4 and IPv6 requests timed out.
9070
565bc88a
UD
90712000-11-18 Akim Demaille <akim@epita.fr>
9072
9073 * malloc/obstack.h: Formatting changes.
9074 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
9075 prevents type checking.
9076 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
9077 cast the value to (void *): assigning a `foo *' to a `void *'
9078 variable is valid.
9079 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
9080
bda5433d
UD
90812000-11-17 Ulrich Drepper <drepper@redhat.com>
9082
9083 * scripts/config.guess: Update from upstream maintainer.
9084 * scripts/config.sub: Likewise.
9085
3b1de3ba
UD
90862000-11-16 Ulrich Drepper <drepper@redhat.com>
9087
7b32d065 9088 * libio/freopen.c (freopen): Reset _mode after succesful reopening.
3b1de3ba 9089 * libio/freopen64.c (freopen64): Likewise.
0bdfed74 9090 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
3b1de3ba 9091
897d4284
UD
9092 * libio/Makefile: Add rules to build and run test-freopen.
9093 * libio/test-freopen.c: New file.
9094 * libio/test-freopen.sh: New file.
9095
40306912
UD
90962000-11-15 H.J. Lu <hjl@gnu.org>
9097
9098 * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
9099 ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
9100 (DL_DT_FINI_ADDRESS): Likewise.
9101
9102 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
9103 return type to ElfW(Addr).
9104 (_dl_function_address): New prototype.
9105 (DL_FUNCTION_ADDRESS): Defined.
9106 (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
9107 (DL_DT_FINI_ADDRESS): Likewise.
9108
9109 * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
9110
9111 * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
9112 (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
9113
9114 * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
9115 (_dl_function_address): This.
9116
9117 * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
9118 function pointer for DT_FINI.
9119 * elf/dl-close.c (_dl_close): Likewise.
9120
9121 * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
9122 function pointer for DT_INIT.
9123
91242000-11-16 Jakub Jelinek <jakub@redhat.com>
9125
9126 * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
9127 end of wexpbuf buffer.
9128
96ea2a11
AJ
91292000-11-16 Andreas Jaeger <aj@suse.de>
9130
9131 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
9132 definition of F_GETLK, F_SETLK, F_SETLKW.
9133
8a70a03e
AJ
91342000-11-16 Andreas Jaeger <aj@suse.de>
9135
9136 * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
9137 it's not defined.
9138
85857f93
UD
91392000-11-15 Jakub Jelinek <jakub@redhat.com>
9140
9141 * dlfcn/default.c (main): Add test for dladdr of main returning
9142 argv[0] in dli_fname field.
9143
91442000-11-15 Jakub Jelinek <jakub@redhat.com>
9145
9146 * Makeconfig (run-program-prefix): Move test-static test into the
9147 variable.
9148
9149 * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
9150 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
9151 schedule instructions.
9152 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
9153 schedule instructions, fix a bug in copying auxiliary data.
9154
821dcbcc
UD
91552000-11-15 Ulrich Drepper <drepper@redhat.com>
9156
85857f93
UD
9157 * manual/startup.texi (Program Arguments): Fix type of main's envp
9158 parameter.
9159