1 2000-06-28 Ulrich Drepper <drepper@redhat.com>
3 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
4 depending on whether the input string is empty or not.
6 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
7 given state and not avoiding this by modifying a local object.
8 * wcsmbs/wcrtomb.c: Likewise.
10 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
11 object since some incomplete characters might be in there.
13 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
14 sequences with first by 0x8e correctly.
16 * iconvdata/jis0208.h: Remove redundant test.
18 2000-06-27 Ulrich Drepper <drepper@redhat.com>
20 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
21 Add it where it is needed now.
23 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
24 the input charset into account when generating the hash table.
25 (allocate_arrays): Correct setting default width. Not all empty slots
26 in the table are filled, only those not covert explicitly by the
27 locale description and in the charset.
29 * wctype/towctrans.c (__towctrans): Be graceful and accept error
30 return values from the wctrans function.
32 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
33 wide character version.
34 For %C handling, test correct pointer variable for NULL.
36 * wcsmbs/wctob.c: Handle WEOF special.
38 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
40 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
41 always-true test to avoid warning.
43 2000-06-27 Greg McGary <greg@mcgary.org>
45 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
46 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
47 (symbol_version, default_symbol_version): Factor redundant
48 definitions out of conditional.
50 2000-06-27 Jakub Jelinek <jakub@redhat.com>
52 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
55 2000-06-26 Ulrich Drepper <drepper@redhat.com>
57 * include/libc-symbols.h (symbol_version): Add extra level of
59 (default_symbol_version): Likewise.
61 2000-06-26 Greg McGary <greg@mcgary.org>
63 * sysdeps/i386/bp-asm.h (POP_ERRNO_LOCATION_RETURN): Fold insns.
64 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
65 for BP return value & push implicit struct-return pointer to
67 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68 (SYSCALL_ERROR_HANDLER): Likewise.
69 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
70 (SYSCALL_ERROR_HANDLER): Likewise.
72 * Makeconfig: Add missing comment.
73 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
74 BP-flavored startup object.
75 ($(objpfx)b$(start-installed-name)): New rule.
76 * include/libc-symbols.h (symbol_set_declare): Change type
77 of `__start_##set' and `__stop_##set' to pointer-to-function.
78 (symbol_set_declare): Change type of `set' to array of
80 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
83 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
85 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
86 Remove clock_* and timer_* entries.
87 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
88 arg-count with signatures.
90 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
91 Check bounds of arguments.
92 * sysdeps/i386/addmul_1.S: Likewise.
93 * sysdeps/i386/lshift.S: Likewise.
94 * sysdeps/i386/mul_1.S: Likewise.
95 * sysdeps/i386/rshift.S: Likewise.
96 * sysdeps/i386/sub_n.S: Likewise.
97 * sysdeps/i386/submul_1.S: Likewise.
98 * sysdeps/i386/i586/add_n.S: Likewise.
99 * sysdeps/i386/i586/addmul_1.S: Likewise.
100 * sysdeps/i386/i586/lshift.S: Likewise.
101 * sysdeps/i386/i586/rshift.S: Likewise.
102 * sysdeps/i386/i586/sub_n.S: Likewise.
103 * sysdeps/i386/i686/add_n.S: Likewise.
105 * sysdeps/i386/memchr.S: Likewise.
106 * sysdeps/i386/memcmp.S: Likewise.
107 * sysdeps/i386/rawmemchr.S: Likewise.
108 * sysdeps/i386/i586/bzero.S: Likewise.
109 * sysdeps/i386/i586/memcpy.S: Likewise.
110 * sysdeps/i386/i586/mempcpy.S: Likewise.
111 * sysdeps/i386/i586/memset.S: Likewise.
112 * sysdeps/i386/i686/bzero.S: Likewise.
113 * sysdeps/i386/i686/memcpy.S: Likewise.
114 * sysdeps/i386/i686/mempcpy.S: Likewise.
115 * sysdeps/i386/i686/memset.S: Likewise.
117 * sysdeps/i386/stpcpy.S: Likewise.
118 * sysdeps/i386/stpncpy.S: Likewise.
119 * sysdeps/i386/strchr.S: Likewise.
120 * sysdeps/i386/strchrnul.S: Likewise.
121 * sysdeps/i386/strcspn.S: Likewise.
122 * sysdeps/i386/strpbrk.S: Likewise.
123 * sysdeps/i386/strrchr.S: Likewise.
124 * sysdeps/i386/strspn.S: Likewise.
125 * sysdeps/i386/strtok.S: Likewise.
126 * sysdeps/i386/strtok_r.S: Likewise.
127 * sysdeps/i386/i486/strcat.S: Likewise.
128 * sysdeps/i386/i486/strlen.S: Likewise.
129 * sysdeps/i386/i586/strchr.S: Likewise.
130 * sysdeps/i386/i586/strcpy.S: Likewise.
131 * sysdeps/i386/i586/strlen.S: Likewise.
132 * sysdeps/i386/i686/strcmp.S: Likewise.
133 * sysdeps/i386/i686/strtok.S: Likewise.
134 * sysdeps/i386/i686/strtok_r.S: Likewise.
136 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
137 * sysdeps/i386/fpu/fesetenv.c: Likewise.
138 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
139 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
140 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
142 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
143 * sysdeps/i386/mul_1.S: Likewise.
144 * sysdeps/i386/submul_1.S: Likewise.
145 * sysdeps/i386/i586/add_n.S: Likewise.
146 * sysdeps/i386/i586/addmul_1.S: Likewise.
147 * sysdeps/i386/i586/lshift.S: Likewise.
148 * sysdeps/i386/i586/mul_1.S: Likewise.
149 * sysdeps/i386/i586/rshift.S: Likewise.
150 * sysdeps/i386/i586/sub_n.S: Likewise.
151 * sysdeps/i386/i586/submul_1.S: Likewise.
153 2000-06-26 Ulrich Drepper <drepper@redhat.com>
155 * rt/Makefile (librt-routines): Add clock_nanosleep.
156 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
157 * sysdeps/generic/clock_nanosleep.c: New file.
158 * sysdeps/unix/clock_nanosleep.c: New file.
159 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
160 * time/time.h: Declare clock_nanosleep.
162 2000-06-26 Greg McGary <greg@mcgary.org>
164 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
165 INSN1, INSN2, TEXT, GLOBL): Remove macros.
166 (ALIGN): Cleanup surrounding conditionals.
168 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
169 Call ENTER/LEAVE macros.
170 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
171 * sysdeps/i386/submul_1.S: Likewise.
173 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
174 syntax. Define & use symbolic argument stack offsets. Call
176 * sysdeps/i386/i586/mul_1.S: Likewise.
177 * sysdeps/i386/i586/submul_1.S: Likewise.
179 2000-06-25 Greg McGary <greg@mcgary.org>
181 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
184 2000-06-25 Ulrich Drepper <drepper@redhat.com>
186 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
187 * iconvdata/gen-8bit-gap.sh: Likewise.
188 * iconvdata/gen-8bit.sh: Likewise.
190 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
192 * locale/programs/ld-collate.c (collate_read): Don't actually read
193 the copy locale if we are ignoring the content.
195 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
198 * locale/programs/ld-collate.c: Correct handling of different
200 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
201 as extra parameter from which to copy category information.
203 (load_locale): Likewise.
204 * locale/programs/localedef.h: Update prototypes of add_to_readlist
206 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
207 * locale/programs/locfile.h: Likewise.
208 * locale/programs/locfile-kw.gperf: Add entry for script.
209 * locale/programs/locfile-token.h: Add tok_script.
211 * locale/programs/locale.c: Update copyright year.
212 * locale/programs/localedef.c: Likewise.
214 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
216 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
217 Jens Moeller <jens.moeller@waii.com>.
219 2000-06-24 Ulrich Drepper <drepper@redhat.com>
221 * locale/programs/ld-name.c (name_finish): Add missing format
222 specifier to test for name_fmt.
224 * locale/programs/ld-address.c (iso639): Correct length of string
228 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
230 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
233 * elf/elf.h (NT_PRFPXREG): Define.
235 2000-06-23 Ulrich Drepper <drepper@redhat.com>
237 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
238 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
240 2000-06-23 Andreas Schwab <schwab@suse.de>
242 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
245 2000-06-23 Andreas Jaeger <aj@suse.de>
247 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
249 * io/test-stat.c: Add copyright header, mention Maciej.
251 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
252 SYS_mincore, SYS_madvise): Added.
254 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
257 2000-06-22 Ulrich Drepper <drepper@redhat.com>
259 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
260 (CFLAGS-tst_putwc.c): New definition.
261 * libio/tst_getwc.c: New file.
262 * libio/tst_getwc.input: New file.
263 * libio/tst_putwc.c: New file.
265 * include/string.h: Add prototype for __strdup.
267 2000-06-22 Greg McGary <greg@mcgary.org>
269 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
270 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
273 2000-06-23 Jes Sorensen <jes@linuxcare.com>
275 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
277 2000-06-22 Jes Sorensen <jes@linuxcare.com>
279 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
281 2000-06-22 Jes Sorensen <jes@linuxcare.com>
283 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
284 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
286 2000-06-22 Ulrich Drepper <drepper@redhat.com>
288 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
289 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
291 * sysdeps/mach/hurd/bits/stat.h: Likewise.
292 * sysdeps/unix/bsd/bits/stat.h: Likewise.
293 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
294 * sysdeps/unix/sysv/bits/stat.h: Likewise.
295 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
296 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
297 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
298 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
299 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
300 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
301 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
302 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
303 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
304 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
307 2000-06-22 Andreas Jaeger <aj@suse.de>
309 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
312 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
314 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
316 2000-06-21 Ulrich Drepper <drepper@redhat.com>
318 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
321 2000-06-21 Greg McGary <greg@mcgary.org>
323 * Makerules (elide-routines.*, elide-bp-thunks):
324 Define unconditionally.
326 2000-06-21 Jes Sorensen <jes@linuxcare.com>
328 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
330 2000-06-21 Andreas Jaeger <aj@suse.de>
332 * io/Makefile (tests): Add test-stat.
333 (CFLAGS-test-stat.c): New.
335 * io/test-stat.c: New file from Maciej W. Rozycki
336 <macro@ds2.pg.gda.pl>.
338 2000-06-21 Jes Sorensen <jes@linuxcare.com>
340 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
341 in __rlimit_resource to make them match the kernel order.
342 rlim_t is always 64 bit, use __rlim64_t to declare it
345 2000-05-04 Jes Sorensen <jes@linuxcare.com>
347 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
348 RLIM_INFINITY before defining it to avoid clash with kernel header
350 2000-05-03 Jes Sorensen <jes@linuxcare.com>
352 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
354 2000-06-21 Ulrich Drepper <drepper@redhat.com>
356 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
358 2000-06-21 Andreas Jaeger <aj@suse.de>
360 * stdio-common/temptest.c: Include <stdlib.h>.
361 * stdio-common/tst-fileno.c: Likewise.
362 * stdio-common/scanf4.c: Likewise.
363 * stdio-common/scanf5.c: Likewise.
364 * time/clocktest.c: Likewise.
365 * posix/test-vfork.c: Likewise.
366 * posix/globtest.c: Likewise.
367 * io/test-utime.c: Likewise.
368 * wctype/test_wcfuncs.c: Likewise.
369 * crypt/cert.c: Likewise.
371 * stdio-common/tst-printfsz.c: Include <string.h>.
372 * libio/tst_swscanf.c: Likewise.
373 * libio/tst_wscanf.c: Likewise.
374 * posix/runtests.c: Likewise.
375 * posix/tst-getaddrinfo.c: Likewise.
376 * posix/wordexp-test.c: Likewise.
377 * misc/tst-efgcvt.c: Likewise.
379 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
380 * nss/test-netdb.c: Likewise.
382 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
383 supported kernel for MIPS.
385 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
386 * rt/aio_suspend.c: Likewise.
388 2000-06-20 Ulrich Drepper <drepper@redhat.com>
390 * math/libm-test.inc: Include <string.h>.
392 2000-06-20 Jes Sorensen <jes@linuxcare.com>
394 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
396 2000-06-20 Jes Sorensen <jes@linuxcare.com>
398 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
399 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
401 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
403 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
405 2000-06-20 Jes Sorensen <jes@linuxcare.com>
407 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
409 2000-06-20 Ulrich Drepper <drepper@redhat.com>
411 * locale/programs/ld-collate.c (insert_value): Now take string and
412 length instead of struct token* parameter. Adjust use of token.
413 (handle_ellipsis): Likewise.
414 (collate_read): Allow <Uxxxx> names and transform them into names
415 to be passed to insert_value and handle_ellipsis.
417 * locale/programs/ld-ctype.c (uninames): New array with names of
418 digits in <Uxxxxxxxx> format.
419 (ctype_finish): Correct search for space character value. Likewise
420 for default outdigits values.
422 2000-06-20 Greg McGary <greg@mcgary.org>
424 * Makerules (objects): Add BP thunks.
426 2000-06-20 Ulrich Drepper <drepper@redhat.com>
428 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
429 in width definitions.
431 2000-06-20 Andreas Jaeger <aj@suse.de>
433 * sysdeps/mips/fpu/libm-test-ulps: New file.
435 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
438 * sysdeps/mips/fpu/feholdexcpt.c: New file.
440 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
442 2000-06-19 Ulrich Drepper <drepper@redhat.com>
444 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
445 change in gconv_builtin.h.
447 * malloc/Makefile: Change all references to memprof into memusage.
448 * malloc/memprof.c: Rename to...
449 * malloc/memusage.c: ...this. New file.
450 * malloc/memprof.sh: Rename to...
451 * malloc/memusage.sh: ...this. New file.
452 * malloc/memprofstat.c: Rename to...
453 * malloc/memusagestat.c: ...this. New file.
454 * sysdeps/alpha/memprof.h: Rename to..
455 * sysdeps/alpha/memusage.h: ...this. New file.
456 * sysdeps/arm/memprof.h: Rename to..
457 * sysdeps/arm/memusage.h: ...this. New file.
458 * sysdeps/generic/memprof.h: Rename to..
459 * sysdeps/generic/memusage.h: ...this. New file.
460 * sysdeps/i386/memprof.h: Rename to..
461 * sysdeps/i386/memusage.h: ...this. New file.
462 * sysdeps/ia64/memprof.h: Rename to..
463 * sysdeps/ia64/memusage.h: ...this. New file.
464 * sysdeps/m68k/memprof.h: Rename to..
465 * sysdeps/m68k/memusage.h: ...this. New file.
466 * sysdeps/mips/memprof.h: Rename to..
467 * sysdeps/mips/memusage.h: ...this. New file.
468 * sysdeps/powerpc/memprof.h: Rename to..
469 * sysdeps/powerpc/memusage.h: ...this. New file.
470 * sysdeps/sparc/memprof.h: Rename to..
471 * sysdeps/sparc/memusage.h: ...this. New file.
472 * sysdeps/sh/memprof.h: Rename to..
473 * sysdeps/sh/memusage.h: ...this. New file.
475 * elf/sprof.c (print_version): Update year.
477 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
478 table entry values. Use D_PTR.
479 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
480 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
482 2000-06-20 Jes Sorensen <jes@linuxcare.com>
484 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
485 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
486 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
487 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
489 2000-05-05 Jes Sorensen <jes@linuxcare.com>
491 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
493 2000-06-16 Jes Sorensen <jes@linuxcare.com>
495 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
496 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
497 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
499 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
501 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
504 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
505 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
507 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
510 2000-06-15 Jes Sorensen <jes@linuxcare.com>
512 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
514 2000-06-08 Jes Sorensen <jes@linuxcare.com>
516 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
518 2000-06-19 Ulrich Drepper <drepper@redhat.com>
520 * iconv/gconv_int.h (strict gconv_module): Remove all members
521 associated with regular expressions. Use a simple string as the
523 * iconv/gconv_db.c: Remove code handling regular expressions.
524 * iconv/gconv_conf.c: Likewise.
525 * iconv/iconv_prog.c: Likewise.
526 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
528 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
529 General namespace cleanup.
530 (struct __gconv_trans_data): Add next field.
531 (struct __gconv_step_data): Make __trans a pointer.
532 * iconv/gconv_conf.c: Split out code to find gconv directories from
533 __gconv_read_conf in new functions.
534 * iconv/gconv_int.h: Define new data structure and declare new
535 functions for handling of gconv directory list.
536 * iconv/gconv_open.c: Allow more than one error handling step being
537 used. Call function to load error handling module if it is none
538 of the builtin transformations.
539 * iconv/gconv_close.c: Add code to free transliteration data.
540 * iconv/gconv_trans.c: Add functions to load and unload modules
541 implementing transliteration etc.
542 * iconv/skeleton.c: Call all context functions now that more than
543 one module is allowed.
544 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
545 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
546 where the full error handling using transliteration is needed.
547 * iconvdata/8bit-gap.c: Likewise.
548 * iconvdata/8bit-generic.c: Likewise.
549 * iconvdata/ansi_x3.110.c: Likewise.
550 * iconvdata/big5.c: Likewise.
551 * iconvdata/big5hkscs.c: Likewise.
552 * iconvdata/euc-cn.c: Likewise.
553 * iconvdata/euc-jp.c: Likewise.
554 * iconvdata/euc-kr.c: Likewise.
555 * iconvdata/euc-tw.c: Likewise.
556 * iconvdata/gbgbk.c: Likewise.
557 * iconvdata/gbk.c: Likewise.
558 * iconvdata/iso-2022-cn.c: Likewise.
559 * iconvdata/iso-2022-jp.c: Likewise.
560 * iconvdata/iso-2022-kr.c: Likewise.
561 * iconvdata/iso646.c: Likewise.
562 * iconvdata/iso8859-1.c: Likewise.
563 * iconvdata/iso_6937-2.c: Likewise.
564 * iconvdata/iso_6937.c: Likewise.
565 * iconvdata/johab.c: Likewise.
566 * iconvdata/sjis.c: Likewise.
567 * iconvdata/t.61.c: Likewise.
568 * iconvdata/uhc.c: Likewise.
569 * iconvdata/unicode.c: Likewise.
570 * iconvdata/utf-16.c: Likewise.
571 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
572 structure correctly after last change.
573 * wcsmbs/btowc.c: Likewise.
574 * wcsmbs/mbrtowc.c: Likewise.
575 * wcsmbs/mbsnrtowcs.c: Likewise.
576 * wcsmbs/mbsrtowcs.c: Likewise.
577 * wcsmbs/wcrtomb.c: Likewise.
578 * wcsmbs/wcsnrtombs.c: Likewise.
579 * wcsmbs/wcsrtombs.c: Likewise.
580 * wcsmbs/wctob.c: Likewise.
582 * localedata/Makefile: Set -Wno-format for some files since gcc does
583 not know all the format specifiers.
585 2000-06-18 Ulrich Drepper <drepper@redhat.com>
587 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
589 * locale/lc-time.c (_nl_init_era_entries): Likewise.
591 2000-06-18 Andreas Jaeger <aj@suse.de>
593 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
594 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
596 2000-06-17 Ulrich Drepper <drepper@redhat.com>
598 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
600 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
602 * locale/programs/ld-ctype.c (ctype_output): Really write out
603 mboutdigits information.
604 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
605 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
606 * localedata/tests/trans.def: Add outdigit information.
608 * localedata/tst-mbswcs3.c: Remove comment.
610 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
611 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
612 * libio/tst_wprintf.c (main): Add test for I flag.
614 * iconv/gconv_trans.c: Implement handling if translit_ignore.
615 * locale/langinfo.h: Add entries for translit_ignore information.
616 * locale/categories.def: Add entries for new LC_CTYPE elements.
617 * locale/C-ctype.c: Add initializers for new fields. Use NULL
618 pointer instead of "" where possible.
619 * locale/programs/ld-ctype.c: Write out translit_ignore information.
620 * intl/Depend: Add localedata.
621 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
622 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
624 2000-06-16 Ulrich Drepper <drepper@redhat.com>
626 * locale/langinfo.h: Add entries for default_missing information.
627 * locale/C-ctype.c: Add initializers for new fields.
628 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
630 * locale/categories.h: Add entries for all LC_CTYPE values.
631 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
634 * localedata/tst-trans.c: Write out an error message if class is
637 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
638 * iconv/gconv_open.c: Remove error handling specification from `from'
640 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
641 new parameter to always enable transliteration.
642 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
644 (struct locale_data): Add new members use_translit and options.
645 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
646 character set name contained modifier TRANSLIT.
647 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
649 (_nl_unload_locale): Free options string if necessary.
650 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
651 the locale names suggested this.
652 * locale/C-address.c: Add two new initialilzers to adjust data
653 structure for new format.
654 * locale/C-collate.c: Likewise.
655 * locale/C-ctype.c: Likewise.
656 * locale/C-identification.c: Likewise.
657 * locale/C-measurement.c: Likewise.
658 * locale/C-messages.c: Likewise.
659 * locale/C-monetary.c: Likewise.
660 * locale/C-name.c: Likewise.
661 * locale/C-numeric.c: Likewise.
662 * locale/C-paper.c: Likewise.
663 * locale/C-telephone.c: Likewise.
664 * locale/C-time.c: Likewise.
666 * locale/setlocale.c: Add some more __builtin_expect.
668 2000-06-15 Ulrich Drepper <drepper@redhat.com>
670 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
672 (__gconv_init_fct): Remove two parameters.
673 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
674 gconv_transliterate. Remove two parameters.
675 Change prototypes of builtin functions according to __gconv_fct change.
676 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
677 != NULL only during error handling. Stop in this case after the
679 * iconv/gconv_trans.c: Replace with real implementation for
680 __gconv_transliterate.
681 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
682 * iconv/gconv.c: Change calls to downstream functions once again.
683 Use NULL for the fifth parameter instead of pointer to output buffer.
684 * libio/iofwide.c: Likewise.
685 * wcsmbs/btowc.c: Likewise.
686 * wcsmbs/mbrtowc.c: Likewise.
687 * wcsmbs/mbsnrtowcs.c: Likewise.
688 * wcsmbs/mbsrtowcs.c: Likewise.
689 * wcsmbs/wcrtomb.c: Likewise.
690 * wcsmbs/wcsnrtombs.c: Likewise.
691 * wcsmbs/wcsrtombs.c: Likewise.
692 * wcsmbs/wctob.c: Likewise.
693 * iconv/gconv_simple.c: Remove two parameters from error handling
695 * iconvdata/8bit-gap.c: Likewise.
696 * iconvdata/8bit-generic.c: Likewise.
697 * iconvdata/ansi_x3.110.c: Likewise.
698 * iconvdata/big5.c: Likewise.
699 * iconvdata/big5hkscs.c: Likewise.
700 * iconvdata/euc-cn.c: Likewise.
701 * iconvdata/euc-jp.c: Likewise.
702 * iconvdata/euc-kr.c: Likewise.
703 * iconvdata/euc-tw.c: Likewise.
704 * iconvdata/gbgbk.c: Likewise.
705 * iconvdata/gbk.c: Likewise.
706 * iconvdata/iso-2022-cn.c: Likewise.
707 * iconvdata/iso-2022-jp.c: Likewise.
708 * iconvdata/iso-2022-kr.c: Likewise.
709 * iconvdata/iso646.c: Likewise.
710 * iconvdata/iso8859-1.c: Likewise.
711 * iconvdata/iso_6937-2.c: Likewise.
712 * iconvdata/iso_6937.c: Likewise.
713 * iconvdata/johab.c: Likewise.
714 * iconvdata/sjis.c: Likewise.
715 * iconvdata/t.61.c: Likewise.
716 * iconvdata/uhc.c: Likewise.
717 * iconvdata/unicode.c: Likewise.
718 * iconvdata/utf-16.c: Likewise.
720 2000-06-15 Greg McGary <greg@mcgary.org>
722 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
723 of callnum assignment. Tolerate callnum expressions containing
726 2000-06-14 Ulrich Drepper <drepper@redhat.com>
728 * login/Makefile (utmpd): Remove rule to build utmpd.
730 * csu/Versions: Move libgcc frame handling functions from here...
731 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
732 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
733 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
734 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
735 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
736 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
738 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
740 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
742 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
744 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
746 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
748 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
749 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
750 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
751 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
753 2000-06-14 Jakub Jelinek <jakub@redhat.com>
755 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
756 defined, terminate quotes and read them after the comment char.
757 * configure.in (HAVE_SECTION_QUOTES): Test whether
758 __attribute__((section ("x"))) puts quotes around x or not.
759 * config.h.in (HAVE_SECTION_QUOTES): Add.
760 * configure: Rebuilt.
762 2000-06-14 Andreas Jaeger <aj@suse.de>
764 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
765 depending on the configure option --sysconfdir.
767 Patch by Andreas Schwab <schwab@suse.de>.
769 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
771 Reported by Jim Pick <jim@jimpick.com>.
773 2000-06-14 Ulrich Drepper <drepper@redhat.com>
775 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
776 crashing the application. Emit some simple error message.
777 Reported by mju@panasas.com [PR libc/1769].
779 2000-06-13 Ulrich Drepper <drepper@redhat.com>
781 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
783 * crypt/Makefile (distribute): Add md5.h.
785 * Makefile (distribute): Add include/shlib-compat.h.
787 * Make-dist: Search for tests also in sysdeps hierachy.
789 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
790 ufc.c, speeds.c, README.ufc-crypt, and Banner.
792 * sysdeps/sparc/Subdirs: New file.
794 * locale/Makefile (distribute): Add weightwc.h and
795 programs/localedef.h.
797 * time/Makefile (distribute): Add datemsk.
799 * sysdeps/ia64/Dist: Add softpipe.h.
801 * sysdeps/unix/sysv/aix/Dist: New file.
803 * posix/setpgrp.c: Moved to...
804 * sysdeps/generic/setpgrp.c: ...here. New file.
805 * io/mknod.c: Moved to...
806 * sysdeps/generic/mknod.c: ...here. New file.
808 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
810 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
812 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
814 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
815 gprsave0.S, gprrest1.S, and gprrest0.S.
817 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
819 * posix/Makefile (routines): Add spawnattr_getsigmask,
820 spawnattr_getschedpolicy, spawnattr_getschedparam,
821 spawnattr_setsigmask, spawnattr_setschedpolicy, and
822 spawnattr_setschedparam.
823 * posix/Versions: Add posix_spawnattr_getschedpolicy,
824 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
825 posix_spawnattr_setschedparam.
827 * posix/spawnattr_setschedparam.c: Fix typo.
829 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
832 * login/programs/utmpd.c: Removed.
833 * login/programs/utmpd.h: Removed.
834 * login/programs/utmpd-private.h: Removed.
836 * Makefile (distribute): Add include/db_185.h and include/db.h.
838 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
841 * elf/Makefile (distribute): Add missing files.
843 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
844 * elf/eval.c: Moved to...
845 * dlfcn/eval.c: ...here. New file.
847 * Makefile (distribute): Also distribute ChangeLog.1?.
849 * Make-dist (+tsrcs): Remove .args handling here as well.
851 * rt/Makefile (tests): Add tst-timer.
852 * sysdeps/generic/tst-timer.c: New file.
854 * Makerules (sources): Don't add BP sources here.
856 * login/Makefile (distribute): Remove xtmp.h.
858 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
859 is true. Reported by Bruno Haible <haible@ilog.fr>.
861 2000-06-13 Andreas Jaeger <aj@suse.de>
863 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
864 Patch by Ralf Baechle <ralf@gnu.org>.
866 2000-06-13 Ulrich Drepper <drepper@redhat.com>
868 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
871 * misc/sys/cdefs.h: Define __bounded and __unbounded if
872 __BOUNDED_POINTERS__ is not defined.
874 2000-06-07 Greg McGary <greg@mcgary.org>
876 * sysdeps/generic/bp-sym.h: New file.
877 * sysdeps/generic/bp-start.h: New file.
878 * sysdeps/i386/elf/start.S: Designate BP symbols.
879 * sysdeps/generic/libc-start.c: Wrap bounds around
880 argv & envp and each of their string members.
882 2000-06-07 Greg McGary <greg@mcgary.org>
884 * sysdeps/unix/make-syscalls.sh: Add comments to
885 output that aid debugging & comprehension.
886 Map simple syscall signatures to number of args.
887 Generate BP syscall thunk definitions.
888 * sysdeps/generic/bp-thunks.h: New file.
889 * sysdeps/unix/syscalls.list: Replace arg-count with
890 simple return+arg signature.
891 * sysdeps/unix/common/syscalls.list: Likewise.
892 * sysdeps/unix/inet/syscalls.list: Likewise.
893 * sysdeps/unix/mman/syscalls.list: Likewise.
894 * sysdeps/unix/sysv/syscalls.list: Likewise.
895 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
898 2000-06-07 Greg McGary <greg@mcgary.org>
900 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
901 for all files *.[cS].
902 (CFLAGS-.ob): Don't optimize sibling calls.
903 (bppfx): New variable.
904 * Makerules (elide-bp-thunks): New variable.
905 (elide-routines.*): Elide BP-* files for all but *.ob.
906 (sources): Include bp-thunks.
908 2000-06-12 Ulrich Drepper <drepper@redhat.com>
910 * iconv/gconv_simple.c: Remove unnecessary prototype.
912 * iconv/gconv_trans.c: Pretty print.
914 * elf/elf.h (R_SH_NUM): Got accidently dropped.
916 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
917 minimal kernel versions. Add information about IA-64 kernel.
919 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
920 specific minimal supported kernel versions to be specified.
922 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
924 * wcsmbs/btowc.c: Likewise.
925 * wcsmbs/mbrtowc.c: Likewise.
926 * wcsmbs/mbsnrtowcs.c: Likewise.
927 * wcsmbs/mbsrtowcs.c: Likewise.
928 * wcsmbs/wcrtomb.c: Likewise.
929 * wcsmbs/wcsnrtombs.c: Likewise.
930 * wcsmbs/wcsrtombs.c: Likewise.
931 * wcsmbs/wctob.c: Likewise.
933 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
934 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
936 * shlib-versions: Earliest backward compatible version for SH is 2.2.
938 * misc/sys/cdefs.h: Remove one more __P.
940 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
943 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
944 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
945 * sysdeps/sh/bits/setjmp.h: ...here. New file.
947 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
948 Yutaka Niibe <gniibe@chroot.org>
950 * configure.in: Add machine sh3, sh4.
951 * elf/elf.h: Add SH specific declarations of relocations.
952 * shlib-versions: Add sh*-*-linux* cases.
954 2000-06-12 Ulrich Drepper <drepper@redhat.com>
956 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
957 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
958 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
959 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
960 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
961 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
963 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
964 instead of KERNEL_MATH_EMULATION.
965 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
966 KERNEL_MATH_EMULATION.
968 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
969 * sysdeps/sh/sh3/dl-machine.h: Moved to...
970 * sysdeps/sh/dl-machine.h: ...here. New file.
971 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
972 and include generic SH version.
973 * sysdeps/sh/sh3/bits/endian.h: Move to...
974 * sysdeps/sh/bits/endian.h: ...here. New file.
975 * sysdeps/sh/sh4/bits/endian.h: Removed.
976 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
977 * sysdeps/sh/bits/huge_val.h: ...here. New file.
978 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
980 * include/libc-symbols.h (link_warning): Work around a change in
981 GAS which warns about changing section attributes.
982 Proposed by Nick Clifton <nickc@redhat.com>.
984 2000-06-12 H.J. Lu <hjl@gnu.org>
986 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
988 2000-06-11 H.J. Lu <hjl@gnu.org>
990 * sysdeps/i386/fpu/Versions: New file.
992 2000-06-12 Ulrich Drepper <drepper@redhat.com>
994 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
996 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
999 2000-06-12 Jes Sorensen <jes@linuxcare.com>
1001 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
1002 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
1003 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
1005 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
1006 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
1007 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
1009 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
1010 Yutaka Niibe <gniibe@chroot.org>
1012 * sysdeps/sh/Dist: New file.
1013 * sysdeps/sh/Implies: New file.
1014 * sysdeps/sh/elf/initfini.c: New file.
1015 * sysdeps/sh/gmp-mparam.h: New file.
1016 * sysdeps/sh/init-first.c: New file.
1017 * sysdeps/sh/machine-gmon.h: New file.
1018 * sysdeps/sh/memcpy.S: New file.
1019 * sysdeps/sh/memprof.h: New file.
1020 * sysdeps/sh/memset.S: New file.
1021 * sysdeps/sh/sh3/__longjmp.S: New file.
1022 * sysdeps/sh/sh3/bits/endian.h: New file.
1023 * sysdeps/sh/sh3/bits/huge_val.h: New file.
1024 * sysdeps/sh/sh3/bits/setjmp.h: New file.
1025 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
1026 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
1027 * sysdeps/sh/sh3/dl-machine.h: New file.
1028 * sysdeps/sh/sh3/setjmp.S: New file.
1029 * sysdeps/sh/sh4/__longjmp.S: New file.
1030 * sysdeps/sh/sh4/bits/endian.h: New file.
1031 * sysdeps/sh/sh4/bits/huge_val.h: New file.
1032 * sysdeps/sh/sh4/bits/setjmp.h: New file.
1033 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
1034 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
1035 * sysdeps/sh/sh4/dl-machine.h: New file.
1036 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
1037 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
1038 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
1039 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
1040 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
1041 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
1042 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
1043 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
1044 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
1045 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
1046 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
1047 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
1048 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
1049 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
1050 * sysdeps/sh/sh4/setjmp.S: New file.
1051 * sysdeps/sh/elf/start.S: New file.
1052 * sysdeps/sh/sys/ucontext.h: New file.
1053 * sysdeps/sh/strlen.S: New file.
1054 * sysdeps/sh/sysdep.h: New file.
1055 * sysdeps/unix/sh/sysdep.S: New file.
1056 * sysdeps/unix/sh/sysdep.h: New file.
1057 * sysdeps/unix/sysv/linux/sh/Dist: New file.
1058 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
1059 * sysdeps/unix/sysv/linux/sh/Versions: New file.
1060 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
1061 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
1062 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
1063 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
1064 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
1065 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
1066 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
1067 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
1068 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
1069 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
1070 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
1071 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
1072 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
1073 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
1074 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
1075 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
1076 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
1077 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
1078 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
1079 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
1080 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
1081 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
1082 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
1083 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
1084 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
1085 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
1086 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
1087 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
1088 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
1089 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
1090 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
1091 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
1092 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
1093 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
1094 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
1095 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
1096 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
1097 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
1098 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
1099 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
1100 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1101 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
1102 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
1103 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
1104 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
1105 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
1106 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
1108 2000-06-12 Ulrich Drepper <drepper@redhat.com>
1110 * Rules (%.out): Define GCONV_PATH in the environment.
1111 * assert/Depend: New file.
1112 * iconvdata/Depend: New file.
1113 * intl/Depend: New file.
1114 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
1115 * intl/tst-gettext.sh: Likewise.
1116 * iconv/Makefile (routines): Add gconv_trans.
1117 * iconv/gconv_trans.c: New file.
1118 * iconv/gconv.h (struct __gconv_trans_data): New type.
1119 (__gconv_fct): New parameter with starting position in output buffer.
1120 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
1121 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
1122 (struct __gconv_step): Add new member __trans.
1123 * iconv/gconv_int.h: Pretty print prototypes.
1124 (gconv_transliterate): New prototype.
1125 (__BUILTIN_TRANS): Update for new conversion function interface.
1126 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
1127 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
1128 in names, find appropriate function, and install in the conversion
1129 steps it can be used.
1130 * iconv/skeleton.c: Add additional parameter for beginning of output
1131 buffer. Change calls of downstream functions.
1132 * iconv/loop.c: Change loop function interface completely. Pass in
1133 step and step_data structure. Remove optimization for BODY with
1134 NEED_LENGTH_TEST == 0.
1135 * iconv/gconv_simple.c: Update interfaces of functions. Insert
1136 appropriate error handling code to use transliteration steps. Remove
1137 optimization for BODY with NEED_LENGTH_TEST == 0.
1138 * iconvdata/8bit-gap.c: Likewise.
1139 * iconvdata/8bit-generic.c: Likewise.
1140 * iconvdata/ansi_x3.110.c: Likewise.
1141 * iconvdata/big5.c: Likewise.
1142 * iconvdata/big5hkscs.c: Likewise.
1143 * iconvdata/euc-cn.c: Likewise.
1144 * iconvdata/euc-jp.c: Likewise.
1145 * iconvdata/euc-kr.c: Likewise.
1146 * iconvdata/euc-tw.c: Likewise.
1147 * iconvdata/gbgbk.c: Likewise.
1148 * iconvdata/gbk.c: Likewise.
1149 * iconvdata/iso-2022-cn.c: Likewise.
1150 * iconvdata/iso-2022-jp.c: Likewise.
1151 * iconvdata/iso-2022-kr.c: Likewise.
1152 * iconvdata/iso646.c: Likewise.
1153 * iconvdata/iso8859-1.c: Likewise.
1154 * iconvdata/iso_6937-2.c: Likewise.
1155 * iconvdata/iso_6937.c: Likewise.
1156 * iconvdata/johab.c: Likewise.
1157 * iconvdata/sjis.c: Likewise.
1158 * iconvdata/t.61.c: Likewise.
1159 * iconvdata/uhc.c: Likewise.
1160 * iconvdata/unicode.c: Likewise.
1161 * iconvdata/utf-16.c: Likewise.
1162 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
1164 * wcsmbs/btowc.c: Likewise.
1165 * wcsmbs/mbrtowc.c: Likewise.
1166 * wcsmbs/mbsnrtowcs.c: Likewise.
1167 * wcsmbs/mbsrtowcs.c: Likewise.
1168 * wcsmbs/wcrtomb.c: Likewise.
1169 * wcsmbs/wcsnrtombs.c: Likewise.
1170 * wcsmbs/wcsrtombs.c: Likewise.
1171 * wcsmbs/wctob.c: Likewise.
1173 2000-04-11 Geoff Keating <geoffk@cygnus.com>
1175 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
1176 other header files. Mention about 128-byte cache line sizes.
1177 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
1178 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
1179 for current calling sequence.
1180 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
1182 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
1183 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1185 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
1186 and setrlimit syscalls for backwards compatibility.
1188 2000-06-10 Ulrich Drepper <drepper@redhat.com>
1190 * iconv/skeleton.c: Rename converted written to correcter name
1192 * iconv/gconv.c: Rename converted variable to correcter name
1194 * iconv/gconv_int.h: Likewise.
1195 * iconv/gconv_simple.c: Likewise.
1196 * iconv/iconv.c: Likewise.
1197 * iconv/loop.c: Likewise.
1198 * iconvdata/8bit-gap.c: Likewise.
1199 * iconvdata/8bit-generic.c: Likewise.
1200 * iconvdata/ansi_x3.110.c: Likewise.
1201 * iconvdata/big5.c: Likewise.
1202 * iconvdata/big5hkscs.c: Likewise.
1203 * iconvdata/euc-cn.c: Likewise.
1204 * iconvdata/euc-jp.c: Likewise.
1205 * iconvdata/euc-kr.c: Likewise.
1206 * iconvdata/gbgbk.c: Likewise.
1207 * iconvdata/gbk.c: Likewise.
1208 * iconvdata/iso-2022-cn.c: Likewise.
1209 * iconvdata/iso-2022-jp.c: Likewise.
1210 * iconvdata/iso-2022-kr.c: Likewise.
1211 * iconvdata/iso646.c: Likewise.
1212 * iconvdata/iso8859-1.c: Likewise.
1213 * iconvdata/iso_6937-2.c: Likewise.
1214 * iconvdata/iso_6937.c: Likewise.
1215 * iconvdata/johab.c: Likewise.
1216 * iconvdata/sjis.c: Likewise.
1217 * iconvdata/t.61.c: Likewise.
1218 * iconvdata/uhc.c: Likewise.
1219 * iconvdata/unicode.c: Likewise.
1220 * iconvdata/utf-16.c: Likewise.
1222 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
1223 __cmsg_data field with __extension__.
1225 2000-06-10 David Mosberger <davidm@hpl.hp.com>
1227 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
1229 2000-06-10 Ulrich Drepper <drepper@redhat.com>
1231 * iconv/gconv_simple.c: Fix various small bugs in several
1234 * iconv/loop.c: Fix comment.
1236 2000-06-10 Jakub Jelinek <jakub@redhat.com>
1238 * elf/link.h: Remove libc internal declarations.
1239 * include/link.h: Move them here.
1241 2000-06-09 Ulrich Drepper <drepper@redhat.com>
1243 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
1244 Patch by Dan Pop <Dan.Pop@cern.ch>.
1246 Rewrite error message handling.
1247 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
1249 * elf/dl-error (struct catch): Add objname member.
1250 (_dl_signal_error): Take new parameter with object name. When
1251 passing message on simply store object name and duplicate error
1253 (_dl_catch_error): Take new parameter. Store object name in the
1255 * include/dlfcn.h: Adjust _dl_catch_error prototype.
1256 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
1257 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
1258 (dlerror): Add objname to asprintf() parameters.
1259 (_dl_error_run): Pass new parameter to _dl_catch_error.
1260 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
1261 * elf/dl-open.c (_dl_open): Likewise.
1262 * elf/rtld.c (dl_main): Likewise.
1263 * elf/dl-close.c: Mark error messages with N_().
1264 * elf/dl-deps.c: Likewise.
1265 * elf/dl-error.c: Likewise.
1266 * elf/dl-load.c: Likewise.
1267 * elf/dl-open.c: Likewise.
1268 * elf/dl-reloc.c: Likewise.
1269 * elf/dl-support.c: Likewise.
1270 * elf/dl-sym.c: Likewise.
1271 * elf/dl-version.c: Likewise.
1272 * elf/dl-lookup.c: Add comments about problems with error message
1274 * elf/dl-reloc.c: Likewise.
1275 * elf/dl-version.c: Likewise.
1277 2000-06-09 H.J. Lu <hjl@gnu.org>
1279 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
1282 * dlfcn/Makefile (distribute): Add failtestmod.c.
1283 (tests): Add failtest.
1284 Add rules to build and run failtest.
1285 * dlfcn/failtest.c: New file.
1286 * dlfcn/failtestmod.c: New file.
1288 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
1290 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
1291 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
1292 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
1293 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
1294 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
1296 2000-06-09 Jes Sorensen <jes@linuxcare.com>
1298 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
1299 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
1301 2000-06-09 Jes Sorensen <jes@linuxcare.com>
1302 Ulrich Drepper <drepper@redhat.com>
1304 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
1305 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
1306 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
1307 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
1308 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
1309 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
1311 2000-06-09 Ulrich Drepper <drepper@redhat.com>
1313 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
1314 to find correct mount point despite wrong information from the
1317 2000-06-09 Jes Sorensen <jes@linuxcare.com>
1319 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
1320 the address of a symbol so function pointers are handled properly.
1322 2000-06-08 Ulrich Drepper <drepper@redhat.com>
1324 * sysdeps/i386/Dist: Add bp-asm.h.
1326 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
1327 defaultdir variable instead of "/var/shm" everywhere.
1328 (defaultdir): Change to /dev/shm/.
1330 2000-06-08 Greg McGary <greg@mcgary.org>
1332 * sysdeps/i386/bp-asm.h: New file.
1333 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
1334 offsets. Add ENTER/LEAVE macros for optionally maintaining
1335 frame-pointer chain when debugging.
1336 * sysdeps/i386/add_n.S: Likewise.
1337 * sysdeps/i386/addmul_1.S: Likewise.
1338 * sysdeps/i386/lshift.S: Likewise.
1339 * sysdeps/i386/memchr.S: Likewise.
1340 * sysdeps/i386/memcmp.S: Likewise.
1341 * sysdeps/i386/mul_1.S: Likewise.
1342 * sysdeps/i386/rawmemchr.S: Likewise.
1343 * sysdeps/i386/rshift.S: Likewise.
1344 * sysdeps/i386/stpcpy.S: Likewise.
1345 * sysdeps/i386/stpncpy.S: Likewise.
1346 * sysdeps/i386/strchr.S: Likewise.
1347 * sysdeps/i386/strchrnul.S: Likewise.
1348 * sysdeps/i386/strcspn.S: Likewise.
1349 * sysdeps/i386/strpbrk.S: Likewise.
1350 * sysdeps/i386/strrchr.S: Likewise.
1351 * sysdeps/i386/strspn.S: Likewise.
1352 * sysdeps/i386/strtok.S: Likewise.
1353 * sysdeps/i386/sub_n.S: Likewise.
1354 * sysdeps/i386/submul_1.S: Likewise.
1355 * sysdeps/i386/elf/setjmp.S: Likewise.
1356 * sysdeps/i386/i486/strcat.S: Likewise.
1357 * sysdeps/i386/i486/strlen.S: Likewise.
1358 * sysdeps/i386/i586/add_n.S: Likewise.
1359 * sysdeps/i386/i586/lshift.S: Likewise.
1360 * sysdeps/i386/i586/memcpy.S: Likewise.
1361 * sysdeps/i386/i586/memset.S: Likewise.
1362 * sysdeps/i386/i586/rshift.S: Likewise.
1363 * sysdeps/i386/i586/strchr.S: Likewise.
1364 * sysdeps/i386/i586/strcpy.S: Likewise.
1365 * sysdeps/i386/i586/strlen.S: Likewise.
1366 * sysdeps/i386/i586/sub_n.S: Likewise.
1367 * sysdeps/i386/i686/add_n.S: Likewise.
1368 * sysdeps/i386/i686/memcpy.S: Likewise.
1369 * sysdeps/i386/i686/mempcpy.S: Likewise.
1370 * sysdeps/i386/i686/memset.S: Likewise.
1371 * sysdeps/i386/i686/strcmp.S: Likewise.
1373 2000-06-08 Ulrich Drepper <drepper@redhat.com>
1375 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
1377 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
1378 256 and don't use OPEN_MAX.
1380 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
1381 use it instead of LINK_MAX.
1382 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
1384 2000-06-08 Andreas Jaeger <aj@suse.de>
1386 * libio/genops.c (_IO_list_lock): Only compile body if we're
1388 (_IO_list_unlock): Likewise.
1389 (_IO_list_resetlock): Likewise.
1391 2000-06-07 Ulrich Drepper <drepper@redhat.com>
1393 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
1394 unless user defined it.
1396 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
1397 if not defined by the user.
1399 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
1400 * libio/iofwrite.c (_IO_fwrite): Likewise.
1402 * time/time.h: Add missing __THROW for clock_getcpuclockid
1405 * elf/Makefile (distribute): Add dl-dtprocnum.h.
1406 * include/elf.h: Include also <dl-dtprocnum.h>.
1407 * elf/dl-deps.c: Likewise.
1408 * elf/dl-lookup.c: Likewise.
1409 * elf/dl-runtime.c: Likewise.
1410 * elf/dl-version.c: Likewise.
1411 * elf/do-rel.h: Likewise.
1412 * elf/dynamic-link.h: Likewise.
1413 * elf/link.h: Likewise.
1414 * elf/rtld.c: Likewise.
1415 * sysdeps/generic/dl-dtprocnum.h: New file.
1416 * sysdeps/ia64/dl-dtprocnum.h: New file.
1417 * sysdeps/mips/dl-dtprocnum.h: New file.
1418 * sysdeps/sparc/dl-dtprocnum.h: New file.
1420 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
1422 * elf/do-lookup.h: Add some __builtin_expect.
1424 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
1426 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
1427 (_dl_dynamic_weak): New variable.
1428 * elf/dl-support.c: Likewise.
1429 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
1430 * elf/do-lookup.h: If we find a weak definition treat it like a
1431 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
1432 case treat it like before.
1434 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
1436 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
1438 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
1439 using l_map_start and l_map_end.
1441 * elf/dl-version.c: Add __builtin_expect in many places.
1443 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
1446 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
1448 Lock for stdio stream list becomes global, for use in LinuxThreads.
1450 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
1451 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
1452 _IO_list_resetlock): New interface for iterating global list of
1453 streams without accessing the _IO_list_all global variable,
1454 and for manipulating the lock which protects this list.
1455 * libio/libioP.h: Likewise.
1456 * libio/Version: Add entries for the new functions.
1458 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
1459 pointer to _IO_FILE.
1461 2000-06-07 Ulrich Drepper <drepper@redhat.com>
1463 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
1464 BIT() must actually be BITw().
1466 * locale/programs/ld-ctype.c: Handle SP and space consistently.
1468 * locale/programs/charmap.c: Allow string arguments for
1469 code_set_name and repertoiremap.
1471 2000-06-07 Andreas Jaeger <aj@suse.de>
1473 * elf/Makefile: Build ldconfig only when building shared libraries.
1475 2000-06-07 Jakub Jelinek <jakub@redhat.com>
1477 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
1479 (fdimf, __fdim, fdim): Likewise.
1481 2000-06-07 Ulrich Drepper <drepper@redhat.com>
1483 * locale/findlocale.c: Add __builtin_expect in many places.
1484 * locale/loadlocale.c: Likewise.
1486 2000-06-06 Greg McGary <greg@mcgary.org>
1488 * sysdeps/mips/elf/start.S: Trim redundant code.
1490 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
1491 Use C comments throughout. Line up operands column with tabs.
1492 * sysdeps/powerpc/strchr.S: Likewise.
1493 * sysdeps/powerpc/strcmp.S: Likewise.
1494 * sysdeps/powerpc/strcpy.S: Likewise.
1495 * sysdeps/powerpc/strlen.S: Likewise.
1497 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
1498 Get low part of &__curbrk with @l.
1500 2000-06-06 Ulrich Drepper <drepper@redhat.com>
1502 * iconvdata/utf-16.c: Add __builtin_expect in many places.
1503 * iconvdata/unicode.c: Likewise.
1504 * iconvdata/uhc.c: Likewise.
1505 * iconvdata/t.61.c: Likewise.
1506 * iconvdata/sjis.c: Likewise.
1507 * iconvdata/johab.c: Likewise.
1508 * iconvdata/iso_6937.c: Likewise.
1509 * iconvdata/iso_6937-2.c: Likewise.
1510 * iconvdata/iso8859-1.c: Likewise.
1511 * iconvdata/iso646.c: Likewise.
1512 * iconvdata/iso-2022-kr.c: Likewise.
1513 * iconvdata/iso-2022-jp.c: Likewise.
1514 * iconvdata/iso-2022-cn.c: Likewise.
1515 * iconvdata/gbgbk.c: Likewise.
1516 * iconvdata/gbk.c: Likewise.
1517 * iconvdata/euc-kr.c: Likewise.
1518 * iconvdata/euc-jp.c: Likewise.
1519 * iconvdata/euc-cn.c: Likewise.
1521 2000-06-05 Ulrich Drepper <drepper@redhat.com>
1523 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
1524 * iconvdata/big5.c: Likewise.
1525 * iconvdata/ansi_x3.110.c: Likewise.
1526 * iconvdata/8bit-generic.c: Likewise.
1527 * iconvdata/8bit-gap.c: Likewise.
1528 * iconv/loop.c: Likewise.
1529 * iconv/gconv_db.c: Likewise.
1530 * iconv/gconv_dl.c: Likewise.
1531 * iconv/gconv_simple.c: Likewise.
1532 * iconv/skeleton.c: Likewise.
1534 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
1535 (struct __gconv_step_data): Rename __is_last to __flags.
1536 * iconv/gconv_close.c: Change all uses of __is_last.
1537 * iconv/skeleton.c: Likewise.
1538 * iconvdata/iso-2022-cn.c: Likewise.
1539 * iconvdata/iso-2022-jp.c: Likewise.
1540 * iconvdata/iso-2022-kr.c: Likewise.
1541 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
1542 Recognize IGNORE error handling, set flag, and remove from name.
1543 * iconv/loop.c (ignore_errors_p): Define.
1544 Add flags parameter to both functions.
1545 * iconv/skeleton.c: Pass flags to all conversion functions.
1546 * iconv/gconv_simple.c: Add flags parameter to all functions.
1547 Don't return error for invald error if ignore flag is set.
1548 (ucs4_internal_loop_single): Add missing pointer increment.
1549 (internal_ucs4le_loop_single): Likewise.
1550 * iconv/iconv_prog.c: Implement handling of -c parameter.
1551 * iconvdata/8bit-gap.c: Don't return error for invald error if
1553 * iconvdata/8bit-generic.c: Likewise.
1554 * iconvdata/ansi_x3.110.c: Likewise.
1555 * iconvdata/big5.c: Likewise.
1556 * iconvdata/big5hkscs.c: Likewise.
1557 * iconvdata/euc-cn.c: Likewise.
1558 * iconvdata/euc-jp.c: Likewise.
1559 * iconvdata/euc-kr.c: Likewise.
1560 * iconvdata/gbgbk.c: Likewise.
1561 * iconvdata/gbk.c: Likewise.
1562 * iconvdata/iso-2022-cn.c: Likewise.
1563 * iconvdata/iso-2022-jp.c: Likewise.
1564 * iconvdata/iso-2022-kr.c: Likewise.
1565 * iconvdata/iso646.c: Likewise.
1566 * iconvdata/iso8859-1.c: Likewise.
1567 * iconvdata/iso_6937-2.c: Likewise.
1568 * iconvdata/iso_6937.c: Likewise.
1569 * iconvdata/johab.c: Likewise.
1570 * iconvdata/sjis.c: Likewise.
1571 * iconvdata/t.61.c: Likewise.
1572 * iconvdata/uhc.c: Likewise.
1573 * iconvdata/unicode.c: Likewise.
1574 * iconvdata/utf-16.c: Likewise.
1575 * libio/fileops.c: Likewise.
1576 * libio/iofwide.c: Likewise.
1577 * wcsmbs/btowc.c: Likewise.
1578 * wcsmbs/mbrtowc.c: Likewise.
1579 * wcsmbs/mbsnrtowcs.c: Likewise.
1580 * wcsmbs/mbsrtowcs.c: Likewise.
1581 * wcsmbs/wcrtomb.c: Likewise.
1582 * wcsmbs/wcsnrtombs.c: Likewise.
1583 * wcsmbs/wcsrtombs.c: Likewise.
1584 * wcsmbs/wctob.c: Likewise.
1586 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
1589 2000-06-04 Ulrich Drepper <drepper@redhat.com>
1591 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
1592 counter for the object we are releasing, just decrement it.
1593 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
1595 2000-06-04 Jakub Jelinek <jakub@redhat.com>
1597 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
1600 2000-06-04 Ulrich Drepper <drepper@redhat.com>
1602 * iconvdata/big5hkscs.c: New file.
1603 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
1605 * iconvdata/gconv-modules: Add entry for new module.
1606 * iconvdata/Makefile (modules): Add BIG5HKSCS.
1607 (distribute): Add big5hkscs.c.
1609 2000-06-01 Jakub Jelinek <jakub@redhat.com>
1611 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
1612 inlines to match prototypes in mathcalls.h.
1613 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1614 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
1615 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
1616 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1618 2000-06-03 Ulrich Drepper <drepper@redhat.com>
1620 * elf/elf.h (SHT_SUNW_move): Define.
1622 * elf/elf.h: Add more Solaris compatiblity definitions.
1624 2000-06-03 Andreas Jaeger <aj@suse.de>
1626 * sysdeps/powerpc/dl-start.S: Close open comment.
1628 2000-06-03 Jakub Jelinek <jakub@redhat.com>
1630 * inet/Versions: Fix typo in rresvport_af export.
1632 2000-06-02 Ulrich Drepper <drepper@redhat.com>
1634 * math/tgmath.h: Pretty print.
1636 2000-06-02 Andreas Jaeger <aj@suse.de>
1638 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
1639 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1641 2000-06-02 Ulrich Drepper <drepper@redhat.com>
1643 * elf/rtld.c (process_envvars): Test for = after variable name.
1645 2000-06-01 Ulrich Drepper <drepper@redhat.com>
1647 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
1648 have extra call to __gmon_start__, use the pointer we already have.
1650 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
1653 * sysdeps/i386/elf/setjmp.S: Work around change is recent
1654 binutils. gas now emits a jump through the PLT instead of a
1655 relative jump if the jump target is an exported symbol.
1657 2000-05-31 Ulrich Drepper <drepper@redhat.com>
1659 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
1661 2000-05-31 Andreas Jaeger <aj@suse.de>
1663 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
1666 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
1667 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1669 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
1671 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1673 2000-05-30 Ulrich Drepper <drepper@redhat.com>
1675 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
1677 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
1678 * locale/localeconv.c: Make function versioned (with same definition).
1680 * elf/Makefile (modules-names): Strip before using it.
1682 2000-05-30 Andreas Jaeger <aj@suse.de>
1684 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
1685 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
1686 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
1687 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
1688 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
1689 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
1691 2000-05-29 Ulrich Drepper <drepper@redhat.com>
1693 * Makefile: Add GNU make magic.
1695 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
1697 * inet/rcmd.c: Remove __P. Remove unused variables.
1698 (iruserfopen): Make first parameter const.
1699 (ruserok_sa): Return result of ruserok2_sa.
1700 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
1701 * inet/rexec.c: Remove unused variables. Other small cleanups.
1702 * inet/ruserpass.c: Remove __P. Remove unused variables.
1703 (ruserpass): Check results of memory allocation.
1704 * include/netdb.h: Add prototype for ruserpass.
1706 2000-05-29 Andreas Jaeger <aj@suse.de>
1708 * elf/readlib.c (interpreters): Use LD_SO since this is supported
1711 2000-05-29 Jakub Jelinek <jakub@redhat.com>
1713 * inet/rcmd.c (rresvport_af): Use correct port number.
1715 2000-05-26 Andreas Schwab <schwab@suse.de>
1717 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
1718 entries in all-sonames.
1719 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
1720 preserving the old name if different for compatibility.
1722 2000-05-29 Ulrich Drepper <drepper@redhat.com>
1724 * posix/Makefile (tests): Add tst-spawn.
1725 (tst-spawn-ARGS): New variable.
1726 * posix/tst-spawn.c: New file.
1728 * posix/spawn_faction_addclose.c: Correctly account for new entry.
1729 * posix/spawn_faction_adddup2.c: Likewise.
1730 * posix/spawn_faction_addopen.c: Likewise.
1731 * posix/spawni.c: Correctly test for success of dup2 calls.
1733 * posix/tst-preadwrite.c: Check success of malloc call.
1735 2000-05-28 Ulrich Drepper <drepper@redhat.com>
1737 * posix/Makefile (tests): Add tst-exec.
1738 (tst-exec-ARGS): New variable.
1739 * posix/tst-exec.c: New file.
1741 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
1743 2000-05-04 Andreas Jaeger <aj@suse.de>
1745 * string/string.h: Remove __strdup prototype, it's not needed in
1748 2000-05-28 Ulrich Drepper <drepper@redhat.com>
1750 * posix/Makefile (tests): Add tst-fork.
1751 * posix/tst-fork.c: New file.
1753 * resolv/inet_pton.c: Loose __P.
1755 2000-05-21 Jakub Jelinek <jakub@redhat.com>
1757 * libio/libioP.h (_IO_CHECK_WIDE): Define.
1758 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
1759 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
1760 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
1761 _IO_CHECK_WIDE fails.
1763 2000-05-28 Ulrich Drepper <drepper@redhat.com>
1765 * po/da.po: New file.
1767 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
1768 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
1770 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
1771 (Other iconv Implementations): Fix typo.
1772 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
1774 2000-05-27 Andreas Jaeger <aj@suse.de>
1776 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
1778 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1779 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1780 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1781 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1782 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
1783 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
1785 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
1786 endianness to decide how to pass arguments.
1787 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1789 * elf/vismain.c: Use test-skeleton interface.
1790 (TEST_FUNCTION): New macro.
1791 (do_test): Renamed from main.
1793 2000-05-27 Ulrich Drepper <drepper@redhat.com>
1795 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
1796 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
1798 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
1799 handling of AI_V4MAPPED flag.
1801 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
1802 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
1803 perform lookup for T_A type and tell getanswer_r to convert the
1804 result with new argument.
1805 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
1806 Don't convert addresses from IPv4 to IPv6 here.
1807 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
1808 IPv6 is wanted. Allow qtype and type from reply to disagree if
1809 IPv4 mapping has to be done. Perform mappings if required by the
1810 caller and not if RES_USE_INET6 bit in _res.options is set.
1811 Add several __builtin_expect.
1813 2000-05-26 Ulrich Drepper <drepper@redhat.com>
1815 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
1817 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
1820 * posix/tst-preadwrite.c: Allow parallel execution of
1821 tst-preadwrite and tst-preadwrite64.
1823 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
1824 * posix/tst-truncate.c: New file.
1825 * posix/tst-truncate64.c: New file.
1827 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
1830 * posix/Makefile (tests): Add tst-preadwrite64.
1831 * posix/tst-preadwrite.c: Alloc file being used also for testing
1832 pread64 and pwrite64.
1833 * posix/tst-preadwrite64.c: New file.
1835 2000-05-26 Andreas Jaeger <aj@suse.de>
1837 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
1838 of arguments dependend on endianness.
1839 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1841 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
1843 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
1844 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
1845 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1846 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1848 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
1849 endianness to check how to pass argument.
1850 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1852 * elf/ldconfig.h: Update parameter list for process_elf_file.
1854 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
1855 Add parameter file_length and pass it ot process_elf*file.
1857 * sysdeps/generic/readelflib.c (check_ptr): New.
1858 (process_elf_file): Use check_ptr to check all accesses to the
1859 mmapped file. Add parameter file_length.
1861 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
1864 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
1865 Closes PR libc/1573, reported by Bradley White
1866 <bww@laurelnetworks.com>.
1868 2000-05-25 Ulrich Drepper <drepper@redhat.com>
1870 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
1871 __FAST_MATH__ is defined.
1873 2000-05-22 Andreas Jaeger <aj@suse.de>
1875 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
1876 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
1878 * manual/math.texi (FP Function Optimizations): Document gcc
1879 -ffast-math behaviour with mathinlines.
1881 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
1882 functions unless -ffast-math is given to gcc.
1884 2000-05-23 Jakub Jelinek <jakub@redhat.com>
1886 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
1887 __sincosl): Guard with __USE_GNU.
1889 2000-05-24 Ulrich Drepper <drepper@redhat.com>
1891 * csu/Makefile (routines): Add check_fds.
1892 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
1893 binaries. Add various __builtin_expect.
1894 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
1895 * sysdeps/generic/check_fds.c: ...here. New file.
1897 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
1898 binaries if file /etc/suid-debug is available.
1900 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
1901 and wcseqorder members.
1902 (struct locale_collate_t): Likewise.
1903 (collate_finish): Assign collation sequence value to each character.
1904 Create tables for output.
1905 (collate_output): Write out tables with collation sequence information.
1906 * locale/C-collate.c: Provide C locale data for collation sequence
1908 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
1909 _NL_COLLATE_COLLSEQWC.
1910 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
1911 _NL_COLLATE_COLLSEQWC.
1912 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
1913 include fnmatch_loop.c.
1914 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
1915 character is matched by range expression. Use collation sequence
1916 table. Outside glibc fall back on simple character value comparison.
1918 2000-05-24 Andreas Jaeger <aj@suse.de>
1920 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
1923 * intl/Makefile: Run gettext-test only if msgfmt is available.
1925 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
1926 Define it for newer kernels.
1928 2000-05-23 Ulrich Drepper <drepper@redhat.com>
1930 * elf/dl-sym.c: Minor cleanups.
1932 * configure.in: Add test for .protected.
1933 * config.make.in: Add have-protected variable.
1934 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
1935 (tests-vis-yes): Add vismain.
1936 (modules-names): Add $(modules-vis-$(have-protected)).
1937 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
1938 Add rules to generate and run vismain.
1939 * elf/vismain.c: New file.
1940 * elf/vismod1.c: New file.
1941 * elf/vismod2.c: New file.
1942 * elf/vismod3.c: New file.
1944 2000-05-23 Andreas Jaeger <aj@suse.de>
1946 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
1948 * manual/search.texi (Array Sort Function): Document that qsort is
1949 not necessarily in-place.
1951 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
1952 Closes PR libc/1731.
1954 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
1955 * dirent/scandir64.c: Likewise.
1956 * pwd/getpw.c: Likewise.
1957 * stdlib/bsearch.c (bsearch): Likewise.
1958 * stdlib/tst-strtoll.c: Likewise.
1959 * localedata/collate-test.c: Likewise.
1960 * localedata/xfrm-test.c: Likewise.
1961 * posix/bsd-getpgrp.c: Likewise.
1962 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
1963 * sysdeps/generic/bits/siginfo.h: Likewise.
1964 * sysdeps/generic/bits/sockaddr.h: Likewise.
1965 * sysdeps/generic/sys/swap.h: Likewise.
1966 * sysdeps/generic/sys/sysinfo.h: Likewise.
1967 * sysdeps/generic/vfork.c: Likewise.
1968 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
1969 * sysdeps/mach/hurd/fdopen.c: Likewise.
1970 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
1971 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1972 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1973 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1974 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1975 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1976 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1978 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
1979 * shadow/lckpwdf.c: Likewise.
1980 * stdlib/tst-strtol.c: Likewise.
1981 * sysdeps/generic/tcsetattr.c: Likewise.
1982 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1983 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1985 2000-05-22 Jakub Jelinek <jakub@redhat.com>
1987 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
1988 free it and set to (void *) -1.
1990 2000-05-22 Jakub Jelinek <jakub@redhat.com>
1992 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
1993 not the second character in the range.
1994 * stdio-common/tstscanf.c (main): Add testcase for the above.
1995 Reported by jik@kamens.brookline.ma.us.
1997 2000-05-21 H.J. Lu <hjl@gnu.org>
1999 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
2000 with noexec and noplt parameter.
2001 (do_lookup): Likewise.
2003 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
2004 do_lookup. Support STV_PROTECTED.
2005 (_dl_lookup_symbol_skip): Likewise.
2006 (_dl_lookup_versioned_symbol): Likewise.
2007 (_dl_lookup_versioned_symbol_skip): Likewise.
2009 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
2011 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
2013 2000-05-21 Jakub Jelinek <jakub@redhat.com>
2015 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
2016 * sysdeps/i386/bits/huge_val.h: Likewise.
2017 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2018 * sysdeps/m68k/bits/huge_val.h: Likewise.
2019 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
2020 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
2022 2000-05-22 Andreas Jaeger <aj@suse.de>
2024 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
2027 2000-05-19 Andreas Jaeger <aj@suse.de>
2029 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2030 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
2031 breaks compilation without linuxthreads.
2033 2000-05-21 Ulrich Drepper <drepper@redhat.com>
2035 * sysdeps/ia64/memccpy.S: New file.
2036 * sysdeps/ia64/memchr.S: New file.
2037 * sysdeps/ia64/memcmp.S: New file.
2038 * sysdeps/ia64/memcpy.S: New file.
2039 * sysdeps/ia64/memmove.S: New file.
2040 * sysdeps/ia64/memset.S: New file.
2041 * sysdeps/ia64/strcat.S: New file.
2042 * sysdeps/ia64/strchr.S: New file.
2043 * sysdeps/ia64/strcmp.S: New file.
2044 * sysdeps/ia64/strcpy.S: New file.
2045 * sysdeps/ia64/strlen.S: New file.
2046 * sysdeps/ia64/strncmp.S: New file.
2047 * sysdeps/ia64/strncpy.S: New file.
2048 * sysdeps/ia64/softpipe.h: New file.
2049 Patches by Dan Pop <Dan.Pop@cern.ch>.
2051 * manual/memory.texi: Document memory handling functions (mlock,
2052 munlock, mlockall, munlockall, brk, and sbrk)
2053 * manual/time.texi: Document timespec and friends.
2054 * manual/conf.texi: Fix references.
2055 * manual/ctype.texi: Likewise.
2056 * manual/errno.texi: Likewise.
2057 * manual/intro.texi: Likewise.
2058 * manual/locale.texi: Likewise.
2059 * manual/sysinfo.texi: Likewise.
2060 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
2062 2000-05-09 Jes Sorensen <jes@linuxcare.com>
2064 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
2065 * sysdeps/ia64/dl-lookupcfg.h: ...here.
2067 2000-05-21 Jakub Jelinek <jakub@redhat.com>
2069 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
2072 2000-05-21 Ulrich Drepper <drepper@redhat.com>
2074 * locale/locale.h (struct lconv): Add new elements from ISO C99.
2075 * locale/localeconv.c: Initialize new elements from ISO C99.
2076 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
2077 new standard elements.
2078 * locale/categories.def: Adjust accordingly.
2080 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
2081 * iconv/iconv.c: Likewise.
2082 * conform/data/iconv.h-data: Likewise.
2083 * iconv/iconv_prog.c (process_block): Remove const from second
2085 (main): Remove const from addr definition.
2086 * manual/charset.texi (Generic Conversion Interface): Remove from
2087 inbuf parameter of iconv.
2089 * intl/dcigettext.c: Fix typo in comment.
2091 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
2093 * resolv/res_libc.c (_res): Initialize _sock to -1.
2095 2000-05-18 Jakub Jelinek <jakub@redhat.com>
2097 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
2098 (fopencookie@@GLIBC_2.2): New.
2099 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
2100 (fopencookie@GLIBC_2.0): New.
2101 * libio/Versions: Add fopencookie to GLIBC_2.2.
2103 2000-05-18 Andreas Jaeger <aj@suse.de>
2105 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
2106 Closes PR libc/1731.
2108 * manual/arith.texi (Parsing of Integers): Fix typo.
2109 Closes PR libc/1744, reported by blp@gnu.org.
2111 2000-05-17 Jakub Jelinek <jakub@redhat.com>
2113 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
2114 __extension__ to hexadecimal floating constant notation.
2115 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
2117 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
2118 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
2120 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
2121 HUGE_VALL): Likewise.
2122 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
2123 HUGE_VALL): Likewise.
2124 (HUGE_VALL): Set to HUGE_VAL on sparc32.
2126 2000-05-17 Andreas Jaeger <aj@suse.de>
2128 * string/envz.h: Add pure attributes if possible.
2130 * string/argz.h: argz_count is a pure function.
2132 * string/strings.h: Add pure and const attributes if possible.
2134 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
2135 possibly searching through the whole memory.
2136 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
2138 2000-05-17 Jakub Jelinek <jakub@redhat.com>
2140 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
2142 (_dl_cache_check_flags): Likewise.
2143 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
2146 2000-05-17 Andreas Jaeger <aj@suse.de>
2148 * manual/creature.texi (Feature Test Macros): Remove paragraph
2149 since the description is wrong.
2150 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
2152 * scripts/config.sub: New version.
2153 * scripts/config.guess: Likewise.
2154 * manual/texinfo.tex: Likewise.
2156 * time/test_time.args: Removed.
2157 * time/Makefile (test_time-ARGS): Added contents here instead.
2159 * posix/tstgetopt.args: Removed.
2160 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
2162 * Rules: Allow arguments for test files to be specified in
2163 Makefile with testname-ARGS; remove rules with .args in it.
2165 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
2166 remove old bogus rule for opendir-tst1.args.
2168 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
2170 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
2171 into objdir. This allows a readonly sourcetree.
2172 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
2174 2000-05-16 Andreas Jaeger <aj@suse.de>,
2175 David Huggins-Daines <dhd@linuxcare.com>
2177 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
2178 cache_data in case of only new cache format correctly.
2180 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
2183 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
2184 struct cache_file_new.
2186 * elf/cache.c (save_cache): Fix str_offset if only new cache is
2189 * elf/cache.c (save_cache): Align struct new_file_cache.
2190 (print_cache): Likewise.
2192 2000-05-13 Jakub Jelinek <jakub@redhat.com>
2194 * elf/soinit.c (__libc_global_ctors): Move
2195 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
2196 * resolv/resolv.h (__res_state): Added __attribute__((const)).
2197 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
2198 variable, don't define it to __res_state call.
2200 2000-05-13 Andreas Jaeger <aj@suse.de>
2202 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
2204 (AF_PPPOX): Likewise.
2205 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
2206 (AF_PPPOX): Likewise.
2208 2000-05-12 Andreas Jaeger <aj@suse.de>
2210 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
2211 Reported by tmoestl@gmx.net, closes PR libc/1732.
2213 2000-05-11 Jan Hubicka <jh@suse.cz>
2215 * misc/sys/cdefs.h: Add support for pure attribute.
2217 * include/string.h: Add __attribute_pure__ to various functions.
2218 * string/string.h: Likewise.
2220 2000-05-10 Jakub Jelinek <jakub@redhat.com>
2222 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
2224 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2226 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
2228 2000-05-10 Jakub Jelinek <jakub@redhat.com>
2230 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
2231 at proper place. Compute the high nibble correctly.
2233 2000-05-09 Jakub Jelinek <jakub@redhat.com>
2235 * elf/ldconfig.c: Include elf.h.
2237 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
2238 (_dl_vsym): Likewise.
2239 Reported by Owen Taylor <otaylor@redhat.com>.
2241 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
2244 2000-05-08 Andreas Jaeger <aj@suse.de>
2246 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
2248 * intl/bindtextdom.c (set_binding_values): Add prototype.
2250 2000-05-08 Jakub Jelinek <jakub@redhat.com>
2252 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
2253 call to elf_machine_fixup_plt.
2254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2255 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2257 2000-05-08 Jakub Jelinek <jakub@redhat.com>
2259 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
2260 they are not dlclose'd from underneath us.
2262 2000-05-08 Andreas Schwab <schwab@suse.de>
2264 * posix/execle.c: Fix size parameter of memcpy.
2266 2000-05-08 Andreas Schwab <schwab@suse.de>
2268 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
2269 getpagesize syscall if available.
2271 2000-05-08 Andreas Jaeger <aj@suse.de>
2273 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
2276 2000-05-08 Jakub Jelinek <jakub@redhat.com>
2278 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
2279 sizeof(struct link_map *) chunks, not in bytes.
2281 2000-05-07 Ulrich Drepper <drepper@redhat.com>
2283 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
2284 only needed for locale.
2285 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
2286 It's only needed for catgets.
2287 Patches by Greg McGary <gkm@eng.ascend.com>.
2289 2000-05-07 Mark Kettenis <kettenis@gnu.org>
2291 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
2292 Remove duplicate <errno.h> include. Remove inclusion of
2293 <libintl.h> and "nsswitch.h".
2294 (set_cloexec_flag): New function, broken out of dbopen.
2295 (dbopen): Changed return type to `enum
2296 nss_status'. Mostly rewritten to make sure that we do not report
2297 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
2298 (internal_setent): Change return type to nss_status.
2299 Document, and make sure that the function
2300 behaves accordingly. Make dynamically loading the database
2301 library really thread-safe and return NSS_STATUS_UNAVAIL if it
2303 (db_cursor): Return ENOMEM is memory allocation failed. Remove
2305 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
2307 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
2308 c_get function member.
2309 * nss/nss_db/nss_db.h: Add and tweak some comments.
2310 (DBT): Move typedef before NSS_DBC typedef.
2311 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
2313 2000-05-07 H.J. Lu <hjl@gnu.org>
2315 * csu/initfini.c: Moved to ....
2316 * sysdeps/generic/initfini.c: ...here.
2318 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
2320 2000-05-07 Ulrich Drepper <drepper@redhat.com>
2322 * manual/resource.texi: Document POSIX scheduling functions.
2323 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
2325 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
2326 reading anything. Reported by Andries.Brouwer@cwi.nl.
2328 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
2329 for x since promotion in comparison might leads to unexpected
2330 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
2332 * iconv/Makefile (tests): Add tst-iconv1.
2333 * iconv/tst-iconv1.c: New file.
2334 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
2335 empty input buffer over full output buffer.
2336 (ucs4_internal_loop): Likewise.
2337 (ucs4_internal_loop_unaligned): Likewise.
2338 (internal_ucs4le_loop): Likewise.
2339 (internal_ucs4le_loop_unaligned): Likewise.
2340 (ucs4le_internal_loop): Likewise.
2341 (ucs4le_internal_loop_unaligned): Likewise.
2342 Reported by yaoz@nih.gov.
2344 2000-05-06 Bruno Haible <haible@clisp.cons.org>
2346 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
2347 returned != __GCONV_OK, there is nothing to clean up.
2349 2000-05-06 Bruno Haible <haible@clisp.cons.org>
2351 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
2352 OUTPUT_CHARSET environment variables.
2354 2000-05-06 Andreas Jaeger <aj@suse.de>
2356 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
2357 (struct cache_file_new): New.
2358 (struct file_entry): New (moved from cache.c).
2359 (struct cache_file): New (moved from cache.c).
2361 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
2362 from _dl_load_cache_lookup.
2363 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
2364 the different cache formats.
2365 New variable cache_new for new format.
2367 * elf/ldconfig.h: Change according to changes in cache.c and
2368 ldconfig.c; remove cache_libcmp; add opt_format.
2370 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
2371 stuff that's defined in those headers.
2372 Add hwcap to struct lib_entry.
2373 (opt_format): New variable to select cache format.
2374 (options): Add format parameter.
2375 (is_hwcap): New function.
2376 (path_hwcap): New function.
2377 (parse_opt): Handle new format parameter.
2378 (search_dir): Handle hwcap, search also subdirectories with hwcap.
2380 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
2381 ldconfig is part of glibc.
2382 Include dl-cache.h and remove stuff that's defined there.
2383 (struct cache_entry): Add new member hwcap.
2384 (print_entry): Print hwcap, cleanup a bit.
2385 (print_cache): Print new and old formats.
2386 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
2387 (save_cache): Save new and old formats.
2388 (add_to_cache): Handle hwcap.
2390 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
2391 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
2392 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
2393 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
2394 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
2395 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
2397 2000-05-05 Bruno Haible <haible@clisp.cons.org>
2399 * intl/dcigettext.c (alignof): New macro.
2400 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
2401 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
2404 2000-05-05 Bruno Haible <haible@clisp.cons.org>
2406 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
2409 2000-05-06 Ulrich Drepper <drepper@redhat.com>
2411 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
2412 (mempcpy): Correct typo is parameter list.
2414 2000-05-06 Andreas Jaeger <aj@suse.de>
2416 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
2417 functions unless -ffast-math is given to gcc.
2419 2000-05-06 Ulrich Drepper <drepper@redhat.com>
2421 * po/ko.po: Update from translation team.
2423 2000-05-05 Ulrich Drepper <drepper@redhat.com>
2425 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
2426 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
2427 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
2428 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
2429 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
2430 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
2432 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
2433 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
2434 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
2436 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
2437 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
2438 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
2439 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
2441 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
2442 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
2444 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2446 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
2447 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
2449 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
2450 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
2452 * sysdeps/ia64/Implies: New file.
2453 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
2454 * sysdeps/ia64/Makefile: New file.
2455 * sysdeps/ia64/gmp-mparam.h: New file,
2457 * sysdeps/ia64/elf/start.S: New file.
2459 * sysdeps/ia64/bits/fenv.h: New file.
2461 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
2463 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
2465 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
2467 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
2468 ia64 has 64 bit .hash entries just as the Alpha.
2470 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
2472 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
2474 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
2476 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
2477 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
2478 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
2479 * sysdeps/ia64/fpu/fegetenv.c: New file.
2480 * sysdeps/ia64/fpu/fegetexcept.c: New file.
2481 * sysdeps/ia64/fpu/fegetround.c: New file.
2482 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
2483 * sysdeps/ia64/fpu/fesetenv.c: New file.
2484 * sysdeps/ia64/fpu/fesetround.c: New file.
2485 * sysdeps/ia64/fpu/feupdateenv.c: New file.
2486 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
2487 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
2488 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
2489 * sysdeps/ia64/fpu/ftestexcept.c: New file.
2491 2000-05-05 Andreas Jaeger <aj@suse.de>
2493 * misc/tst-tsearch.c (main): Correct type for initstate argument.
2495 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
2496 (_dl_string_hwcap): New, does nothing.
2498 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
2499 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
2500 (_dl_string_hwcap): New function, converts from string to hwcap
2502 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
2503 (_DL_HWCAP_COUNT): New.
2504 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
2505 (_dl_string_hwcap): New function, converts from string to hwcap
2507 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
2508 (_DL_HWCAP_COUNT): New.
2509 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
2510 (_dl_string_hwcap): New function, converts from string to hwcap
2513 2000-05-05 Ulrich Drepper <drepper@redhat.com>
2515 * elf/Makefile (distribute): Add dl-lookupcfg.h.
2516 * sysdeps/ia64/Dist: New file.
2518 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
2519 parameter to mprotect and for variable assignments.
2521 2000-05-03 Jes Sorensen <jes@linuxcare.com>
2523 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
2524 validity of map before dereferencing it.
2526 * elf/dl-reloc.c (RESOLVE_MAP): Define.
2528 2000-05-02 Jes Sorensen <jes@linuxcare.com>
2530 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
2531 lookup to the arguments to elf_machine_fixup_plt().
2533 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
2534 of the symbol being resolved to input argument list and make the
2535 function return the pointer to the reloc.
2537 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
2538 return valuie to lookup_t and return the value.
2539 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2540 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2541 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2542 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2543 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2544 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2546 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
2547 Make it an inline function returning value after calling
2548 __elf_machine_fixup_plt().
2550 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
2553 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
2554 obtain the symbol address.
2556 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
2557 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
2559 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
2560 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
2563 2000-04-28 Jes Sorensen <jes@linuxcare.com>
2565 * elf/dl-runtime.c (fixup): Use the portable macros to get the
2566 symbol address of an object.
2568 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
2569 the symbol address of an object.
2571 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
2572 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
2573 (_dl_lookup_symbol_skip): Likewise.
2574 (_dl_lookup_versioned_symbol): Likewise.
2575 (_dl_lookup_versioned_symbol_skip): Likewise.
2577 2000-04-27 Jes Sorensen <jes@linuxcare.com>
2579 * elf/rtld.c (_dl_start): Get the function pointer return address
2580 via _dl_start_address for architectures that need a function
2581 pointer descriptor rather than just a pointer (ia64).
2583 * sysdeps/generic/dl-lookupcfg.h: New file.
2584 * sysdeps/ia64/dl-lookupcfg.h: New file.
2585 * sysdeps/ia64/dl-machine.h: New file.
2586 * sysdeps/ia64/dl-symaddr.c: New file.
2587 * sysdeps/ia64/dl-fptr.c: New file.
2589 * elf/elf.h: Add IA-64 specific definitions.
2591 2000-05-04 Jakub Jelinek <jakub@redhat.com>
2593 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
2596 2000-05-04 Jakub Jelinek <jakub@redhat.com>
2598 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
2601 2000-04-11 Geoff Keating <geoffk@cygnus.com>
2603 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
2604 symbol. Call _dl_init rather than the old way.
2606 2000-05-04 Ulrich Drepper <drepper@redhat.com>
2608 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
2609 test for pointer in range of DSO address space.
2611 2000-05-04 Andreas Jaeger <aj@suse.de>
2613 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
2615 2000-05-03 Ulrich Drepper <drepper@redhat.com>
2617 * locale/findlocale.c (_nl_find_locale): Add new parameter to
2618 calls of _nl_make_l10nflist.
2620 * libio/stdio.h: Make fseeko and ftello prototypes available is
2621 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
2623 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
2624 real unsetenv implementation from 1999-07-29 [PR libc/1714].
2626 2000-05-03 Bruno Haible <haible@clisp.cons.org>
2628 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
2629 before calling tfind.
2631 2000-03-05 Jakub Jelinek <jakub@redhat.com>
2633 * resolv/resolv.h (res_querydomain): Remove redefinition to
2634 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
2636 2000-05-03 Ulrich Drepper <drepper@redhat.com>
2638 * po/gl.po: Update from translation team.
2640 * manual/intro.texi (Program Basics): Change section title.
2641 * manual/process.texi: Fix reference.
2642 (Executing a File): Add reference exec in other section.
2643 * manual/signal.texi: Fix reference.
2644 * manual/startup.texi: Document syscall function.
2645 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
2647 2000-04-29 Bruno Haible <haible@clisp.cons.org>
2649 * intl/libintl.h (bind_textdomain_codeset): New declaration.
2650 * intl/bindtextdom.c (set_binding_values): New function.
2651 (bindtextdomain): Call it.
2652 (bind_textdomain_codeset): New function.
2653 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
2654 (free_mem): Free each binding's codeset.
2655 * intl/gettextP.h (struct binding): Add codeset field.
2656 (_nl_find_domain): Add domainbinding argument.
2657 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
2658 Pass it to _nl_make_l10nflist.
2659 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
2660 (_nl_make_l10nflist): Add domainbinding argument.
2661 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
2662 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
2663 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
2665 * manual/message.texi: New node "Charset conversion in gettext".
2667 2000-04-30 Bruno Haible <haible@clisp.cons.org>
2669 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
2670 appropriate. Handle possible __read error.
2672 2000-04-29 Bruno Haible <haible@clisp.cons.org>
2674 * intl/gettextP.h (__builtin_expect): Define as empty if not a
2676 * intl/loadinfo.h (__builtin_expect): Likewise.
2677 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
2678 __builtin_expect where appropriate.
2679 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2680 * intl/localealias.c (extend_alias_table): Return an error indicator.
2681 (read_alias_file): Bail out if extend_alias_table fails.
2683 2000-04-29 Bruno Haible <haible@clisp.cons.org>
2685 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
2686 * intl/localealias.c: Likewise.
2688 2000-05-01 Bruno Haible <haible@clisp.cons.org>
2690 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
2691 Initialize domain->plural and domain->nplurals even if there is no
2694 2000-05-01 Bruno Haible <haible@clisp.cons.org>
2696 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
2697 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
2698 In case of failure, goto converted.
2700 2000-05-01 Bruno Haible <haible@clisp.cons.org>
2702 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
2703 * iconv/gconv_int.h (norm_add_slashes): Move to here.
2704 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
2707 2000-04-29 Bruno Haible <haible@clisp.cons.org>
2709 * intl/dcigettext.c (transcmp): Compare the domains as well.
2710 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
2712 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
2715 2000-05-03 Ulrich Drepper <drepper@redhat.com>
2717 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
2718 Reported by Bruno Haible.
2720 2000-04-29 Bruno Haible <haible@clisp.cons.org>
2722 * manual/arith.texi: Remove @w from @itemize.
2724 2000-05-02 Andreas Jaeger <aj@suse.de>
2726 * conform/data/tar.h-data: Add some checks for specific values.
2728 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
2731 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
2734 * conform/data/netinet/in.h-data: Add exact checks for the values
2735 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
2737 * conform/data/float.h-data: Add some minimal values.
2739 * conform/conformtest.pl: Test for macros with string constants,
2740 check for minimum and maximum values.
2741 Add limits.h to headers.
2743 * conform/data/cpio.h-data: Test for value of MAGIC.
2745 * conform/data/limits.h-data: New file.
2747 2000-04-30 Bruno Haible <haible@clisp.cons.org>
2749 * math/Makefile (headers): Add bits/fenvinline.h.
2751 2000-05-01 Ulrich Drepper <drepper@redhat.com>
2753 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
2754 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
2756 * posix/Versions: Change posix_spawnattr_getdefault and
2757 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
2758 and posix_spawnattr_setsigdefault respectively.
2759 * posix/spawn.h: Likewise.
2760 * posix/spawnattr_getdefault.h: Likewise.
2761 * posix/spawnattr_setdefault.h: Likewise.
2762 * conform/data/spawn.h-data: Likewise.
2764 2000-05-01 Andreas Jaeger <aj@suse.de>
2766 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
2768 2000-04-30 Ulrich Drepper <drepper@redhat.com>
2770 * manual/sysinfo.texi: Document getdomainname, setdomainname
2772 * manual/string.texi: Fix typo.
2773 * manual/terminal.texi: Document gtty and stty.
2774 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
2776 2000-04-30 Andreas Jaeger <aj@suse.de>
2778 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
2779 accordance with Austin Draft.
2781 2000-04-30 Ulrich Drepper <drepper@redhat.com>
2783 * catgets/gencat.c (read_input_file): Use isblank and not isspace
2784 to recognize second character in comment line.
2786 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
2787 ENOBUFS if we are out of memory.
2789 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
2790 available if __USE_XOPEN2K.
2791 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
2792 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2793 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
2794 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2795 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2796 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2797 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
2798 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2800 2000-04-29 Ulrich Drepper <drepper@redhat.com>
2802 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
2803 Recognize option -s, -c, and -l.
2805 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
2807 * nscd/nscd.c: Start new session for nscd, drop privilegs
2808 to configured user if requested and no -S parameter are used.
2809 * nscd/nscd.conf: Add new option "server-user".
2810 * nscd/nscd_conf.c: Add support for new "server-user" option.
2811 * nscd/nscd.h: Add declaration for server_user variable.
2812 Based on patch by Chris Wing <wingc@engin.umich.edu>
2814 2000-04-29 Mark Kettenis <kettenis@gnu.org>
2816 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
2817 that changing the __restore and __restore_rt signal return code
2820 2000-04-29 Mark Kettenis <kettenis@gnu.org>
2822 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
2825 2000-04-29 Mark Kettenis <kettenis@gnu.org>
2827 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
2829 2000-04-29 Ulrich Drepper <drepper@redhat.com>
2831 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
2832 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
2834 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
2835 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
2836 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
2837 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
2838 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
2839 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
2840 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
2841 posix_fallocate, and posix_madvise.
2842 * conform/data/netdb.h-data: New file.
2843 * conform/data/pthread.h-data: Add pthread_barrier_t,
2844 pthread_barrierattr_t, pthread_barrier_destroy,
2845 pthread_barrier_init, pthread_barrier_wait,
2846 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
2847 pthread_barrierattr_init, pthread_barrierattr_setpshared,
2848 pthread_condattr_getclock, pthread_condattr_setclock,
2849 pthread_getcpuclockid, pthread_mutex_timedlock,
2850 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
2851 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
2852 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
2853 * conform/data/sched.h-data: Add sched_ss_low_priority,
2854 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
2856 * conform/data/semaphore.h-data: Add sem_timedwait.
2857 * conform/data/signal.h-data: Add SIGIO.
2858 * conform/data/spawn.h-data: New file.
2859 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
2860 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
2861 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
2862 Fix typo in gmtime_r definition.
2863 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
2864 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
2865 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
2866 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
2867 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
2868 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
2869 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
2870 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
2871 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
2872 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
2873 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
2874 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
2875 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
2876 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
2877 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
2878 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
2879 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
2880 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
2881 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
2882 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
2883 typo in off_t definition.
2884 * conform/data/net/if.h-data: New file.
2885 * conform/data/netinet/in.h-data: New file.
2886 * conform/data/netinet/tcp.h-data: New file.
2887 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
2888 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
2889 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
2890 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
2891 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
2892 and posix_typed_mem_open.
2893 * conform/data/sys/socket.h-data: New file.
2894 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
2895 * conform/data/sys/types.h-data: Add pthread_barrier_t,
2896 pthread_barrierattr_t, and pthread_spinlock_t.
2897 * conform/data/sys/un.h-data: New file.
2898 * conform/data/sys/utsname.h-data: New file.
2900 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
2902 * inet/gethstbyad.c (gethostbyname): Likewise.
2903 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
2904 * inet/getipnodebyad.c (getipnodebyad): Likewise.
2905 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
2906 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
2908 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
2909 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
2910 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
2911 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
2912 * resolv/gethnamaddr.c (gethostbyname): Likewise.
2913 * resolv/netdb.h (struct hostent): Fix type of h_length member.
2914 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
2915 and second parameter.
2917 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
2920 2000-04-29 Andreas Jaeger <aj@suse.de>
2922 * conform/data/arpa/inet.h-data: New file.
2924 2000-04-28 Geoff Clare <gwc@unisoft.com>
2926 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
2927 path passed to ftw() or nftw() is an empty string.
2928 Closes PR libc/1710.
2930 2000-04-27 Ulrich Drepper <drepper@redhat.com>
2932 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
2933 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
2934 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
2935 * localedata/tst-mbswcs4.c: New file.
2936 * localedata/tst-mbswcs5.c: New file.
2938 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
2939 == NULL. Little optimization.
2941 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
2942 DT_PREINIT_ARRAYSZ).
2943 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
2945 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
2946 overflows in conversion from ASCII.
2948 2000-04-26 Jakub Jelinek <jakub@redhat.com>
2950 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
2951 * Makerules (full_config_sysdirs): Likewise.
2952 * MakeTAGS (full_config_sysdirs): Likewise.
2954 2000-04-26 Jakub Jelinek <jakub@redhat.com>
2956 * .cvsignore: Remove linuxthreads.
2957 * po/.cvsignore: Remove *.pot.
2958 * posix/glob/.cvsignore: Removed.
2959 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
2961 2000-04-25 Andreas Jaeger <aj@suse.de>
2963 * conform/Makefile (distribute): Also distribute contents of
2966 * Makerules (no_deps): Remove abi-versions.h.
2968 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
2970 2000-04-25 Jakub Jelinek <jakub@redhat.com>
2972 * sysdeps/sparc/sparc64/elf/Dist: Remove.
2973 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
2974 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
2975 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
2976 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
2977 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
2980 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
2982 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
2984 2000-04-23 Bruno Haible <haible@clisp.cons.org>
2986 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
2987 * intl/l10nflist.c: Likewise.
2989 2000-04-23 Bruno Haible <haible@clisp.cons.org>
2991 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
2992 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
2993 * intl/textdomain.c [!_LIBC]: Likewise.
2994 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
2995 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
2996 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
2999 2000-04-23 Bruno Haible <haible@clisp.cons.org>
3001 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
3002 character set conversion also in the case the translation was found
3003 after a hash collision or through binary search. Store the maximum
3004 index together with the converted message. Use iconv() when available.
3005 In case of out of memory during conversion, return the unconverted
3006 translated string, not NULL.
3008 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
3010 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
3011 to avoid name clashes with the ia32 linker.
3013 2000-04-25 Jakub Jelinek <jakub@redhat.com>
3015 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
3018 2000-04-27 Ulrich Drepper <drepper@redhat.com>
3020 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
3021 strtoumax, strfry, and memfrob.
3022 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
3023 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3025 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
3026 if this function is available.
3028 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
3031 2000-04-27 Jakub Jelinek <jakub@redhat.com>
3033 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
3035 2000-04-27 Ulrich Drepper <drepper@redhat.com>
3037 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
3038 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
3039 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
3040 * localedata/tst-mbswcs3.c: New file.
3042 2000-04-26 Ulrich Drepper <drepper@redhat.com>
3044 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
3045 characters. Don't handle incomplete characters as errors.
3046 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
3047 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
3048 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
3049 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
3050 * localedata/tst-mbswcs2.c: New file.
3052 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
3053 stored character in state in UNPACK_BYTES macro.
3054 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
3055 test for available characters, handle result of BODY code correctly.
3056 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
3057 (distribute): Add tst-mbswcs.sh.
3058 Add rule to run tst-mbswcs.sh.
3059 * localedata/tst-mbswcs.sh: New file.
3060 * localedata/tst-mbswcs1.c: New file.
3062 2000-04-26 Jakub Jelinek <jakub@redhat.com>
3064 * nis/nis_callback.c (__nis_create_callback): Do failed memory
3065 allocation fixups centrally, fix __builtin_expect call, return NULL
3066 on failure, not NIS_NOMEMORY.
3068 2000-04-27 Bruno Haible <haible@clisp.cons.org>
3070 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
3072 * intl/loadinfo.h (internal_function): Define if not already defined.
3074 2000-04-27 Andreas Jaeger <aj@suse.de>
3076 * intl/libintl.h: Fix typo, reported by Bruno Haible
3077 <haible@clisp.cons.org>.
3079 2000-04-25 Ulrich Drepper <drepper@redhat.com>
3081 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
3082 setting the state to GMON_PROF_BUSY.
3084 2000-04-24 Ulrich Drepper <drepper@redhat.com>
3086 * elf/dl-profile.c (_dl_start_profile): define all variables which
3087 do not have to be global as local variables.
3089 * nis/nis_callback.c (__nis_create_callback): Partially undo last
3090 patch. Keep needed tests for failed memory allocation.
3092 * elf/dl-reloc.c (_dl_relocate_object): Add one more
3093 __builtin_expect saying that we don't normally expect to profile.
3095 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
3096 __builtin_expect where desirable.
3098 2000-04-23 Ulrich Drepper <drepper@redhat.com>
3100 * manual/Makefile (chapters): Add syslog.
3101 * manual/syslog.texi: New file.
3102 * manual/math.texi: Fix references.
3103 * manual/terminal.texi: Likewise.
3104 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3106 2000-04-18 Jakub Jelinek <jakub@redhat.com>
3108 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
3109 stdlib.h was not included or __USE_XOPEN not defined.
3111 2000-04-23 Ulrich Drepper <drepper@redhat.com>
3113 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
3114 Patch by Zack Weinberg <zack@wolery.cumb.org>.
3116 2000-04-22 Ulrich Drepper <drepper@redhat.com>
3118 * manual/examples/subopt.c (mount_opts): Add missing terminating
3120 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
3122 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
3123 * libio/ftello.c: Likewise.
3124 * libio/ftello64.c: Likewise.
3125 * libio/ioftell.c: Likewise.
3126 * sysdeps/generic/memrchr.c: Likewise.
3127 * sysdeps/posix/libc_fatal.c: Likewise.
3128 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
3129 * misc/fstab.c: Include <string.h> for strcmp prototype.
3130 * sysdeps/generic/ldsodefs.h: Likewise.
3131 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3132 Patch by Kurt Roeckx <Q@ping.be>.
3134 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
3135 Remove db-open. Change all uses.
3136 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
3138 2000-04-21 Jakub Jelinek <jakub@redhat.com>
3140 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
3141 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
3142 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
3143 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
3144 with .set noat/at to shut up warnings.
3145 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
3146 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
3147 compilation if __NR_pciconfig_iobase is not defined.
3148 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
3151 2000-04-21 Ulrich Drepper <drepper@redhat.com>
3153 * manual/sysinfo.texi: Fix typo.
3154 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
3155 Replace "high precision time" with "high accuracy clock".
3157 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3159 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
3160 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
3162 * nis/nis_subr.c: Use __builtin_expect.
3163 * nis/ypclnt.c: Likewise.
3164 * nis/nis_getservlist.c: Likewise.
3165 * nis/nis_creategroup.c: Likewise.
3167 * nis/nis_callback.c (__nis_create_callback): Check result of
3168 memory allocation. Fix memory leaks. Use __builtin_expect.
3169 (__nis_destroy_callback): Fix memory leaks.
3171 2000-04-21 Andreas Jaeger <aj@suse.de>
3173 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
3174 * sysdeps/mips/mips64/add_n.S: Likewise.
3175 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
3176 * sysdeps/mips/mips64/lshift.S: Likewise.
3177 * sysdeps/mips/mips64/mul_1.S: Likewise.
3178 * sysdeps/mips/mips64/rshift.S: Likewise.
3179 * sysdeps/mips/mips64/setjmp.S: Likewise.
3180 * sysdeps/mips/mips64/sub_n.S: Likewise.
3181 * sysdeps/mips/mips64/submul_1.S: Likewise
3182 * sysdeps/unix/mips/sysdep.S: Likewise.
3184 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
3185 and update comment. The strtab from _dl_relocate_object can be
3188 2000-04-21 Ulrich Drepper <drepper@redhat.com>
3190 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
3191 * iconv/iconv_close.c (iconv_close): Likewise.
3192 * iconv/iconv_open.c (iconv_open): Likewise.
3194 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
3195 __builtin_expect where useful.
3197 * grp/initgroups.c (initgroups): Test for result of memory
3198 allocation and punt if it fails.
3200 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
3201 * grp/fgetgrent.c (fgetfrent): Likewise.
3202 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
3204 2000-04-21 Jakub Jelinek <jakub@redhat.com>
3206 * libio/vasprintf.c: Include string.h to get memcpy prototype.
3208 2000-04-20 Ulrich Drepper <drepper@redhat.com>
3210 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
3211 don't search for NUL byte to decrement counter.
3212 Reported by Ulrich.Brink@sap.com.
3214 * iconv/gconv_simple.c: Define separate functions to convert from
3215 UCS4/UCS4-LE to the internal encoding.
3216 * iconv/gconv_builtin.h: Use separate functions to convert from
3217 UCS4/UCS4-LE to the internal encoding.
3218 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
3219 __gconv_transform_ucs4le_internal.
3221 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
3222 output buffer overflow. Reported by Ulrich.Brink@sap.com.
3224 * iconv/skeleton.c: Add some more __builtin_expect.
3225 * iconv/loop.c: Likewise.
3227 2000-03-08 H.J. Lu <hjl@gnu.org>
3229 * posix/regex.c (regex_compile): Correctly handle "\{" when
3230 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
3232 2000-04-20 Ulrich Drepper <drepper@redhat.com>
3234 * manual/stdio.texi: Give advise about handling error when using
3236 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
3238 2000-04-19 Jakub Jelinek <jakub@redhat.com>
3240 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
3241 field to nelems * sizeof (uint32_t).
3242 * locale/programs/ld-address.c (address_output): Align word fields
3244 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3245 Don't restart idx pointers to idx end at the duo_int_curr_symbol
3247 Avoid giving arbitrary garbage in the crncystr field.
3248 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
3249 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
3251 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3252 Don't restart idx pointers to idx end at the decimal_point_wc field.
3253 * locale/programs/ld-time.c (time_output): week_1stday should be
3254 word, not byte. Align it properly.
3256 2000-04-19 H.J. Lu <hjl@gnu.org>
3258 * csu/gmon-start.c (_start): Declared as "extern void".
3261 2000-04-18 Andreas Jaeger <aj@suse.de>
3263 * manual/install.texi (Running make install): Don't mention utmpd
3266 2000-04-18 Andreas Jaeger <aj@suse.de>
3268 * linuxthreads/Versions: Use ld instead of ld.so.
3270 * elf/Makefile (ld-map): Use ld.map.
3272 * Versions.def: Use ld instead of ld.so.
3273 * elf/Versions: Likewise.
3274 * sysdeps/mach/hurd/Versions: Likewise.
3276 2000-04-20 Andreas Jaeger <aj@suse.de>
3278 * elf/rtld.c (print_statistics): Move ifndef further up.
3279 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
3280 (dl_main): Likewise.
3282 2000-04-18 Ulrich Drepper <drepper@redhat.com>
3284 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
3285 * gmon/Versions: Move moncontrol to GLIBC_2.2.
3287 * po/cs.po: Update from translation team.
3289 * sysdeps/generic/updwtmp.c: Remove daemon support.
3291 * login/Makefile (routines): Remove utmp_daemon.
3293 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
3294 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
3295 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
3296 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
3298 * elf/rtld.c: Display statitics option also if hp timing is not
3301 * login/programs/connection.c: Removed.
3302 * login/programs/database.c Removed.
3303 * login/programs/error.c: Removed.
3304 * login/programs/request.c: Removed.
3305 * login/programs/xtmp.c: Removed.
3306 * login/programs/xtmp.h: Removed.
3307 * login/Makefile: Remove rules for utmpd.
3308 * login/README.utmpd: Removed.
3309 * login/utmp_daemon.c: Removed.
3310 * login/getutent_r.c: Remove references to daemon functions.
3311 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
3314 2000-04-18 Andreas Jaeger <aj@suse.de>
3316 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
3317 2.2 for libnsl, libresolv, librt, libnss_*.
3319 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
3321 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
3323 2000-04-18 Ulrich Drepper <drepper@redhat.com>
3325 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
3326 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
3327 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
3328 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
3329 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
3330 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
3331 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
3332 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
3333 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
3334 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
3335 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
3336 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
3337 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
3339 * sysdeps/unix/sysv/aix/msync.c: New file.
3340 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
3341 * sysdeps/unix/sysv/aix/net/if.h: New file.
3342 * sysdeps/unix/sysv/aix/pipe.c: New file.
3343 * sysdeps/unix/sysv/aix/poll.c: New file.
3344 * sysdeps/unix/sysv/aix/rename.c: New file.
3345 * sysdeps/unix/sysv/aix/rmdir.c: New file.
3346 * sysdeps/unix/sysv/aix/select.c: New file.
3347 * sysdeps/unix/sysv/aix/semctl.c: New file.
3348 * sysdeps/unix/sysv/aix/semget.c: New file.
3349 * sysdeps/unix/sysv/aix/semop.c: New file.
3350 * sysdeps/unix/sysv/aix/sendto.c: New file.
3351 * sysdeps/unix/sysv/aix/setgroups.c: New file.
3352 * sysdeps/unix/sysv/aix/setpgid.c: New file.
3353 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
3354 * sysdeps/unix/sysv/aix/setpriority.c: New file.
3355 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
3356 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
3357 * sysdeps/unix/sysv/aix/setsid.c: New file.
3358 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
3359 * sysdeps/unix/sysv/aix/shmat.c: New file.
3360 * sysdeps/unix/sysv/aix/shmctl.c: New file.
3361 * sysdeps/unix/sysv/aix/shmdt.c: New file.
3362 * sysdeps/unix/sysv/aix/shmget.c: New file.
3363 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
3364 * sysdeps/unix/sysv/aix/sigstack.c: New file.
3365 * sysdeps/unix/sysv/aix/socket.c: New file.
3366 * sysdeps/unix/sysv/aix/socketpair.c: New file.
3367 * sysdeps/unix/sysv/aix/speed.c: New file.
3368 * sysdeps/unix/sysv/aix/symlink.c: New file.
3369 * sysdeps/unix/sysv/aix/sync.c: New file.
3370 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
3371 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
3372 * sysdeps/unix/sysv/aix/times.c: New file.
3373 * sysdeps/unix/sysv/aix/ulimit.c: New file.
3374 * sysdeps/unix/sysv/aix/umask.c: New file.
3375 * sysdeps/unix/sysv/aix/unlink.c: New file.
3376 * sysdeps/unix/sysv/aix/ustat.c: New file.
3377 * sysdeps/unix/sysv/aix/utimes.c: New file.
3379 2000-04-18 Andreas Jaeger <aj@suse.de>
3381 * manual/startup.texi (Environment Access): Fix putenv prototype
3382 according to recent changes.
3383 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
3386 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
3389 2000-04-18 Ulrich Drepper <drepper@redhat.com>
3391 * posix/Makefile (tests): Add tst-getaddrinfo.
3392 * posix/tst-getaddrinfo.c: New file.
3394 2000-04-17 Ulrich Drepper <drepper@redhat.com>
3396 * manual/sysinfo.texi: Document that umount2 is not widely available.
3398 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
3399 signal timing is not really implemented.
3401 2000-04-17 Andreas Jaeger <aj@suse.de>
3403 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
3405 2000-04-17 Jakub Jelinek <jakub@redhat.com>
3407 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
3410 2000-04-17 Ulrich Drepper <drepper@redhat.com>
3412 * manual/intro.texi: Change reference from System Information to
3414 * manual/users.texi: Likewise.
3415 * manual/conf.texi: Likewise.
3416 * manual/sysinfo.texi: Document mount, umount, and umount2.
3417 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3419 2000-04-17 Jakub Jelinek <jakub@redhat.com>
3421 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
3422 Create wnumstr as well as numstr to support wide character output
3425 2000-04-15 Jakub Jelinek <jakub@redhat.com>
3427 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
3428 modification and move it...
3429 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
3430 Add -melf64_sparc switch to $(LD) on sparc64-linux.
3431 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
3432 switch to $(LD) on sparc-linux.
3434 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
3436 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
3437 and setresuid from sysdep_routines.
3439 2000-04-17 Ulrich Drepper <drepper@redhat.com>
3441 * manual/Makefile (chapters): Add resource.
3443 * manual/time.texi: Move section on resources to...
3444 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
3446 * manual/setjmp.texi: Adjust back reference.
3447 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3449 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
3451 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
3452 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
3453 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
3454 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
3455 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
3456 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
3457 * sysdeps/unix/sysv/aix/close.c: Add copyright.
3458 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
3459 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
3460 * sysdeps/unix/sysv/aix/access.c: Add copyright.
3461 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
3462 * sysdeps/unix/sysv/aix/Implies: New file.
3463 * sysdeps/unix/sysv/aix/Versions: New file.
3464 * sysdeps/unix/sysv/aix/bind.c: New file.
3465 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
3466 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
3467 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
3468 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
3469 * sysdeps/unix/sysv/aix/chdir.c: New file.
3470 * sysdeps/unix/sysv/aix/chmod.c: New file.
3471 * sysdeps/unix/sysv/aix/chroot.c: New file.
3472 * sysdeps/unix/sysv/aix/creat.c: New file.
3473 * sysdeps/unix/sysv/aix/dl-close.c: New file.
3474 * sysdeps/unix/sysv/aix/dl-open.c: New file.
3475 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
3476 * sysdeps/unix/sysv/aix/fchdir.c: New file.
3477 * sysdeps/unix/sysv/aix/fchmod.c: New file.
3478 * sysdeps/unix/sysv/aix/getgroups.c: New file.
3479 * sysdeps/unix/sysv/aix/gethostname.c: New file.
3480 * sysdeps/unix/sysv/aix/getpriority.c: New file.
3481 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
3482 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
3483 * sysdeps/unix/sysv/aix/getrusage.c: New file.
3484 * sysdeps/unix/sysv/aix/link.c: New file.
3485 * sysdeps/unix/sysv/aix/madvise.c: New file.
3486 * sysdeps/unix/sysv/aix/mkdir.c: New file.
3487 * sysdeps/unix/sysv/aix/mknod.c: New file.
3488 * sysdeps/unix/sysv/aix/mprotect.c: New file.
3489 * sysdeps/unix/sysv/aix/msgctl.c: New file.
3490 * sysdeps/unix/sysv/aix/msgget.c: New file.
3491 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
3493 2000-04-17 Andreas Jaeger <aj@suse.de>
3495 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
3496 as suggested by Ulrich Drepper.
3497 (__dl_runtime_resolve): Remove unused variable, initialize sym
3499 (RTLD_START): Document OFFSET_GP_GOT.
3500 (OFFSET_GP_GOT): New magic value.
3501 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
3502 (elf_machine_got_rel): Only declare strtab if needed.
3503 (elf_machine_relplt): Removed, it's not needed.
3504 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
3506 * sysdeps/mips/add_n.S: Add newline at EOF.
3507 * sysdeps/mips/rshift.S: Likewise.
3508 * sysdeps/mips/mul_1.S: Likewise.
3509 * sysdeps/mips/lshift.S: Likewise.
3510 * sysdeps/mips/addmul_1.S: Likewise.
3512 2000-04-17 Ulrich Drepper <drepper@redhat.com>
3514 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
3516 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
3517 * elf/dl-lookup.c: Likewise.
3518 * elf/dl-init.c (_dl_init): Likewise.
3519 * elf/dl-fini.c (_dl_fini): Likewise.
3520 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3521 * elf/dl-close.c (_dl_close): Likewise.
3522 * elf/rtld.c (_dl_start_final): Likewise.
3524 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
3526 2000-04-15 Ulrich Drepper <drepper@redhat.com>
3528 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
3529 only fall back on using Linux.
3531 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
3532 Before testing versions check that we actually loaded the object
3533 and whether we are in trace mode. If not loaded during tracing don't
3534 test versions in this object.
3535 (_dl_check_all_versions): Take new parameter and pass to
3536 _dl_check_map_versions.
3537 * sysdeps/generic/ldsodefs.h: Update prototypes for
3538 _dl_check_all_versions and _dl_check_map_versions.
3539 * elf/rtld.c (struct version_check_args): Add dotrace.
3540 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
3541 (dl_main): Pass info about trace mode to version_check_doit.
3542 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
3543 _dl_check_all_versions.
3545 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
3547 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3549 * manual/argp.texi: Document index parameter of argp_parse.
3551 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
3553 2000-04-14 Andreas Jaeger <aj@suse.de>
3555 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
3556 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
3558 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
3560 2000-04-15 Ulrich Drepper <drepper@redhat.com>
3562 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
3563 compat_symbol call for old adjtime.
3565 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
3566 function interface. Patch by Richard Henderson <rth@cygnus.com>.
3568 * posix/Makefile (headers): Add spawn.h.
3569 (distribute): Add spawn_int.h.
3570 (routines): Add spawn_faction_init, spawn_faction_destroy,
3571 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
3572 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
3573 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
3574 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
3575 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
3576 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
3577 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
3578 posix_spawnattr_init, posix_spawnattr_destroy,
3579 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
3580 posix_spawnattr_getflags, posix_spawnattr_setflags,
3581 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
3583 * posix/spawn.c: New file.
3584 * posix/spawn.h: New file.
3585 * posix/spawn_faction_addclose.c: New file.
3586 * posix/spawn_faction_adddup2.c: New file.
3587 * posix/spawn_faction_addopen.c: New file.
3588 * posix/spawn_faction_destroy.c: New file.
3589 * posix/spawn_faction_init.c: New file.
3590 * posix/spawn_int.h: New file.
3591 * posix/spawnattr_destroy.c: New file.
3592 * posix/spawnattr_getdefault.c: New file.
3593 * posix/spawnattr_getflags.c: New file.
3594 * posix/spawnattr_getpgroup.c: New file.
3595 * posix/spawnattr_getschedparam.c: New file.
3596 * posix/spawnattr_getschedpolicy.c: New file.
3597 * posix/spawnattr_getsigmask.c: New file.
3598 * posix/spawnattr_init.c: New file.
3599 * posix/spawnattr_setdefault.c: New file.
3600 * posix/spawnattr_setflags.c: New file.
3601 * posix/spawnattr_setpgroup.c: New file.
3602 * posix/spawnattr_setschedparam.c: New file.
3603 * posix/spawnattr_setschedpolicy.c: New file.
3604 * posix/spawnattr_setsigmask.c: New file.
3605 * posix/spawni.c: New file.
3606 * posix/spawnp.c: New file.
3608 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
3609 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
3611 2000-04-14 Ulrich Drepper <drepper@redhat.com>
3613 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
3614 * malloc/malloc.c: Implement posix_memalign for glibc.
3615 * include/stdlib.h: Add prototype for __posix_memalign.
3616 * stdlib/stdlib.h: Add prototype for posix_memalign.
3618 2000-04-14 Andreas Jaeger <aj@suse.de>
3620 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
3622 (elf_machine_got_rel): Cast sym correctly.
3624 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
3625 * sysdeps/mips/addmul_1.S: Likewise.
3626 * sysdeps/mips/lshift.S: Likewise.
3627 * sysdeps/mips/mul_1.S: Likewise.
3628 * sysdeps/mips/rshift.S: Likewise.
3629 * sysdeps/mips/sub_n.S: Likewise.
3630 * sysdeps/mips/submul_1.S: Likewise.
3632 * stdlib/stdlib.h: Fix typo in comment.
3634 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
3635 2.2 for libdl, ld and libm.
3637 * sysdeps/generic/madvise.c: Fix typos.
3639 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
3641 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
3643 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
3646 2000-04-14 Ulrich Drepper <drepper@redhat.com>
3648 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
3649 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
3650 Make old name weak alias.
3651 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
3652 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
3653 Make old name weak alias.
3654 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
3656 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
3657 posix_fallocate, and posix_fallocate64.
3658 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
3659 posix_fallocate, and posix_fallocate64.
3660 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
3661 posix_fallocate, and posix_fallocate64.
3662 * sysdeps/generic/fadvise.c: New file.
3663 * sysdeps/generic/fadvise64.c: New file.
3664 * sysdeps/generic/fallocate.c: New file.
3665 * sysdeps/generic/fallocate64.c: New file.
3666 * sysdeps/posix/fallocate.c: New file.
3667 * sysdeps/posix/fallocate64.c: New file.
3668 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
3669 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
3670 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
3671 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
3672 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
3673 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3675 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3678 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
3679 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3681 2000-04-13 Ulrich Drepper <drepper@redhat.com>
3683 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
3684 * misc/sys/mman.h (posix_madvise): Add prototype.
3685 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
3686 old name and posix_madvise weak aliases.
3687 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3688 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
3689 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
3690 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
3691 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
3692 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3695 2000-04-13 Andreas Jaeger <aj@suse.de>
3697 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
3699 (elf_machine_got_rel): Only add runtime display if needed.
3700 (elf_machine_got_rel): Handle symbol versioning.
3702 2000-04-13 Andreas Jaeger <aj@suse.de>
3704 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
3706 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
3709 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
3710 with some applications.
3711 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
3713 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
3714 * sysdeps/mips/bsd-_setjmp.S: Likewise.
3715 * sysdeps/mips/setjmp.S: Likewise.
3717 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
3719 2000-04-13 Ulrich Drepper <drepper@redhat.com>
3721 * posix/globtest.sh: Work around inconsistency with expanding ~/
3722 in shell (PR libc/1690). Reported by patsmith@pobox.com.
3724 2000-04-12 Ulrich Drepper <drepper@redhat.com>
3726 * posix/getconf.c: Add support for many more POSIX options.
3727 * sysdeps/posix/sysconf.c: Likewise.
3728 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
3729 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
3731 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
3732 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
3733 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
3734 CLOCK_THREAD_CPUTIME_ID.
3735 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
3736 CLOCK_PROCESS_CPUTIME_ID.
3737 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
3738 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
3739 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
3740 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
3742 * malloc/Makefile (tests): Add tst-calloc.
3743 * malloc/tst-calloc.c: New file.
3745 * sysdeps/arm/libm-test-ulps: New file.
3747 * malloc/malloc.c: Undo all of today's changes.
3749 * locale/programs/locale.c (show_info): Don't try to look into
3750 data for LC_ALL (there is none).
3752 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
3753 avoid writing over boundary.
3754 Patch by Greg McGary <gkm@eng.ascend.com>.
3756 * sysdeps/arm/memprof.h: New file.
3758 2000-04-12 Andreas Jaeger <aj@suse.de>
3760 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
3762 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
3763 for memmem declaration.
3765 2000-04-12 Ulrich Drepper <drepper@redhat.com>
3767 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
3769 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3771 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
3773 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
3774 Patch by Bart Veer <bartv@redhat.com>.
3776 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
3779 2000-04-11 Andreas Jaeger <aj@suse.de>
3781 * sysdeps/mips/dl-machine.h: Update some comments.
3782 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
3784 2000-04-11 Ulrich Drepper <drepper@redhat.com>
3786 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
3787 _POSIX_SHARED_MEMORY_OBJECTS.
3789 * rt/Makefile (tests): Add tst-shm.
3790 Add rules to generate tst-shm.
3791 * rt/tst-shm.c: New file.
3793 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
3796 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
3797 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
3798 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
3799 * sysdeps/generic/shm_open.c: New file.
3800 * sysdeps/generic/shm_unlink.c: New file.
3801 * sysdeps/unix/sysv/linux/shm_open.c: New file.
3802 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
3803 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
3804 __endmntent, __getmntent_r, __setmntent, and __statfs.
3806 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
3807 fragmentation by allocating new memory at the end instead of
3810 * posix/globtest.sh: Fix last change.
3812 2000-04-10 Philip Blundell <philb@gnu.org>
3814 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
3815 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
3816 IPV6_DROP_MEMBERSHIP.
3817 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
3820 2000-04-11 Ulrich Drepper <drepper@redhat.com>
3822 * elf/readlib (process_file): Close streams in case of an error.
3824 2000-04-09 Andreas Jaeger <aj@suse.de>
3826 * elf/readlib.c (process_file): Check if file is big enough to
3827 contain aout and ELF headers.
3828 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
3830 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
3832 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
3834 2000-04-11 Ulrich Drepper <drepper@redhat.com>
3836 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
3838 * rt/Makefile (tests): Add tst-clock.
3839 Add rules to build tst-clock.
3840 * rt/tst-clock.c: New file.
3841 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
3842 about initialization of nsec.
3843 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
3844 about initialization of freq. Set retval to zero if successful.
3845 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
3847 2000-04-10 Ulrich Drepper <drepper@redhat.com>
3849 * Versions.def (librt): Add GLIBC_2.2.
3850 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
3851 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
3852 timer_getoverr, timer_gettime, and timer_settime.
3853 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
3854 clock_settime, timer_create, timer_delete, timer_getoverrun,
3855 timer_gettime, and timer_settime.
3856 * sysdeps/generic/clock_getcpuclockid.c: New file.
3857 * sysdeps/generic/get_clockfreq.c: New file.
3858 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
3859 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
3860 * sysdeps/mach/hurd/i386/bits/time.h: New file.
3861 * sysdeps/unix/i386/i586/clock_getres.c: New file.
3862 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
3863 * sysdeps/unix/i386/i686/Implies: New file.
3864 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
3865 * time/Makefile (routines): Move clock_getres, clock_gettime,
3866 clock_settime, timer_create, timer_delete, timer_getoverr,
3867 timer_gettime, and timer_settime to rt/Makefile.
3868 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
3869 clock_settime, timer_create, timer_delete, timer_getoverrun,
3870 timer_gettime, and timer_settime.
3871 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
3873 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
3874 and not const as attribute name.
3876 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
3878 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
3880 2000-04-10 Andreas Schwab <schwab@suse.de>
3882 * posix/globtest.sh: Skip tests that depend on unreadable
3883 directories if run as root.
3885 2000-04-10 Ulrich Drepper <drepper@redhat.com>
3887 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
3888 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
3890 2000-04-09 Ulrich Drepper <drepper@redhat.com>
3892 * sysdeps/unix/clock_gettime.c: New file.
3893 * sysdeps/unix/clock_settime.c: New file.
3894 * sysdeps/posix/clock_getres.c: New file.
3896 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
3898 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
3899 lseek call be passing in a buffer which never allow a successful
3900 first getdents syscall if not at leas the initial entry can be
3901 stored in the user buffer.
3903 * localedata/Makefile: Add rules to clean up directories created by
3906 2000-04-09 Geoff Clare <gwc@unisoft.com>
3908 * localedata/tst-fmon.data: Added new tests for strfmon()
3909 using test locales with all combinations of cs_precedes,
3910 sign_posn and sep_by_space.
3911 * localedata/tst-fmon.sh: Updated to support the new tests.
3912 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
3913 the localedef source for the new strfmon() test locale.
3914 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
3915 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
3916 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
3917 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
3918 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
3919 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
3920 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
3921 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
3922 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
3923 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
3924 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
3925 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
3926 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
3927 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
3929 * stdlib/strfmon.c: Correct problems with missing or extra
3930 spaces for unusual combinations of sign_posn and sep_by_space.
3931 Improved left-precision alignment code.
3933 2000-04-07 Andreas Jaeger <aj@suse.de>
3935 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
3937 2000-04-10 Andreas Jaeger <aj@suse.de>
3939 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
3941 2000-04-09 Ulrich Drepper <drepper@redhat.com>
3943 Implement handling of restartable conversion functions according to
3945 * iconv/gconv.h (__gconv_fct): Add additional parameter.
3946 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
3947 * iconv/gconv.c: Pass additional parameter to conversion function.
3948 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
3949 (internal_ucs4le_loop_single): New function.
3950 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
3951 (__gconv_transform_internal_ascii): Likewise.
3952 (__gconv_transform_internal_utf8): Likewise.
3953 (__gconv_transform_utf8_internal): Likewise.
3954 (__gconv_transform_ucs2_internal): Likewise.
3955 (__gconv_transform_internal_ucs2): Likewise.
3956 (__gconv_transform_ucs2reverse_internal): Likewise.
3957 (__gconv_transform_internal_ucs2reverse): Likewise.
3958 (internal_ucs4le_loop_unaligned): Before return
3959 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
3960 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
3961 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
3962 * iconv/loop.c: Fit in definition of function to convert one character
3963 for processing of left-over bytes from the state object.
3964 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
3965 inend to match names in loop functions.
3966 (RESET_INPUT_BUFFER): Change apprpriately.
3967 (gconv): If needed, call function to process bytes from the state
3968 object. Similar at the end: store left over bytes if input is
3970 Take extra argument and add new argument to all calls of the
3971 conversion function.
3972 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
3973 information in the state object to not conflict with length count.
3974 * iconvdata/iso-2022-jp.c: Likewise.
3975 * iconvdata/iso-2022-kr.c: Likewise.
3976 * iconvdata/unicode.c: Adjust for change change in parameters of
3978 * iconvdata/utf-16.c: Likewise.
3979 * libio/iofwide.c: Add new parameter to all calls of conversion
3981 * wcsmbs/btowc.c: Likewise.
3982 * wcsmbs/mbrtowc.c: Likewise.
3983 * wcsmbs/mbsnrtowcs.c: Likewise.
3984 * wcsmbs/mbsrtowcs.c: Likewise.
3985 * wcsmbs/wcrtomb.c: Likewise.
3986 * wcsmbs/wcsnrtombs.c: Likewise.
3987 * wcsmbs/wcsrtombs.c: Likewise.
3988 * wcsmbs/wctob.c: Likewise.
3990 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
3993 2000-04-07 Andreas Jaeger <aj@suse.de>
3995 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
3998 2000-04-07 Ulrich Drepper <drepper@redhat.com>
4000 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
4001 element a union to allow byte access.
4002 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
4004 * iconvdata/iso-2022-jp.c: Likewise.
4005 * iconvdata/iso-2022-kr.c: Likewise.
4006 * wcsmbs/mbsinit.c: Likewise.
4007 * stdlib/mblen.c: Likewise.
4008 * stdio-common/printf-parse.h: Likewise.
4010 2000-04-06 Ulrich Drepper <drepper@redhat.com>
4012 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
4013 kernel does not allow relative seeks on descriptors associated
4014 with directories. Go back to get the position in the directory
4015 every time we enter the function. Return -1 and set errno if one
4016 entry could be read from the kernel but does not fit into the
4017 buffer passed in by the user.
4019 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
4020 Support ..(2).. ellipsis.
4021 (parse_charmap): Recognize ..(2).. etc and pass step down.
4022 Correctly generate names for UCS4 characters.
4024 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
4025 (ctype_finish): We know the wide character value for <SP>,
4027 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
4028 (charclass_ucs4_ellipsis): Likewise.
4029 (read_translit_ignore_entry): Store ellipsis step.
4030 (ctype_read): Recognize ..(2).. etc and pass step down.
4032 * locale/programs/linereader.c (lr_token): When seeing comment
4033 character ignore only rest of line in sources but stop at escaped
4035 Recognize ..(2).. and ....(2).....
4037 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
4038 and tok_ellipsis4_2.
4040 2000-04-06 Andreas Jaeger <aj@suse.de>
4042 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
4043 removed, remove it here also.
4044 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
4045 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
4046 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
4047 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
4049 2000-04-06 Jakub Jelinek <jakub@redhat.com>
4051 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
4052 include bits/sigcontext.h.
4053 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4055 2000-04-06 Ulrich Drepper <drepper@redhat.com>
4057 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
4058 collation symbol definition. Value in quivalence definition must
4059 be defined, don't check that it is not.
4061 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
4062 values as character names.
4064 * locale/programs/ld-ctype.c (get_character): Handle missing
4065 repertoire map correctly.
4067 2000-04-05 Cristian Gafton <gafton@redhat.com>
4069 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
4070 because it is used in generic code.
4071 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
4072 * wcsmbs/wcwidth.h: Declare __ctype32_b.
4073 * intl/gettext.c: Include <locale.h>.
4074 * intl/ngettext.c: Likewise.
4076 2000-04-05 Jakub Jelinek <jakub@redhat.com>
4078 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
4079 socklen_t type for size.
4080 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
4081 init function interface.
4082 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4083 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
4085 (__jmp_buf): Declare the whole type structure here, don't use
4088 2000-04-05 Ulrich Drepper <drepper@redhat.com>
4090 * iconv/skeleton.c (put16u): Fix typo.
4091 Reported by Bruno Haible <haible@ilog.fr>.
4093 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
4094 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
4095 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
4096 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
4097 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
4098 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
4100 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
4101 * Makefile (distribute): Add abi-versions.awk and
4103 Patches by Torsten Duwe <duwe@caldera.de>.
4105 2000-04-05 Andreas Schwab <schwab@suse.de>
4107 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
4109 2000-04-05 Andreas Schwab <schwab@suse.de>
4111 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
4112 entry point, used on Hurd.
4114 2000-04-04 Andreas Jaeger <aj@suse.de>
4116 * intl/Makefile: Only run the gettext test with shared libraries.
4118 2000-03-16 Mark Kettenis <kettenis@gnu.org>
4120 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
4121 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
4123 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
4125 * Makeconfig: Undo last change.
4126 * configure.in: If --disable-shared was given, don't set VERSIONING,
4127 don't define DO_VERSIONING, and don't give scare warning for no
4129 * configure: Regenerated.
4131 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
4133 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
4135 2000-04-04 Andreas Jaeger <aj@suse.de>
4137 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
4139 2000-04-04 Ulrich Drepper <drepper@redhat.com>
4141 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
4142 STV_HIDDEN and STV_INTERNAL during lookup.
4143 (profile_fixup): Likewise.
4144 * elf/dl-reloc.c (RESOLVE): Likewise.
4146 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
4147 unaligned so that it compiles for system which need unaligned
4150 2000-04-04 Andreas Schwab <schwab@suse.de>
4152 * elf/cache.c (print_entry): Only look at the type field when
4155 2000-04-04 Andreas Schwab <schwab@suse.de>
4157 * iconvdata/big5.c (BODY): Fix typo.
4159 2000-04-04 Andreas Schwab <schwab@suse.de>
4161 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
4162 function interface. Remove unused _dl_start_user entry point.
4164 2000-04-03 Andreas Jaeger <aj@suse.de>
4166 * include/arpa/inet.h (__inet_aton): Add protoype.
4168 2000-04-01 Andreas Jaeger <aj@suse.de>
4170 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
4172 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
4173 * sysdeps/mach/mips/thread_state.h: Likewise.
4175 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
4176 * sysdeps/generic/fegetenv.c: Likewise.
4177 * sysdeps/generic/fesetenv.c: Likewise.
4178 * sysdeps/generic/feupdateenv.c: Likewise.
4179 * sysdeps/generic/fraiseexcpt.c: Likewise.
4180 * sysdeps/generic/fsetexcptflg.c: Likewise.
4181 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
4182 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
4183 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
4184 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4186 2000-04-02 H.J. Lu <hjl@gnu.org>
4188 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
4190 2000-04-03 Ulrich Drepper <drepper@redhat.com>
4192 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
4193 (add_name_to_object): Add cast in malloc call.
4194 (fillin_rpath): Optimize loop to initialize ->status a bit.
4196 * sysdeps/i386/dl-machine.h: Undo last change.
4197 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
4198 Restore %edx register after call here.
4200 * sysdeps/arm/atomicity.h: New file.
4201 Contributed by Jesper Skov <jskov@redhat.com>.
4203 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
4205 * Makeconfig (preprocess-versions): Undo last change.
4206 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
4208 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
4209 here, before we might move the stack.
4210 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
4211 (init1): And not here.
4213 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
4214 change, to restore argc value in call-clobbered register after
4215 RTLD_START_SPECIAL_INIT, which will contain a call.
4217 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
4218 allocating and initializing L->l_initfini.
4220 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
4222 2000-04-03 Ulrich Drepper <drepper@redhat.com>
4224 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
4225 RUNPATH, RPATH, and LD_LIBRARY_PATH.
4226 (open_path): Change type of fourth parameter. Make pointer to array
4227 of pointers. Create variable dirs with original type.
4228 Track whether any directory for the object exists and if not,
4229 change *DIRSP to (void*) -1 to signal there is no such search path.
4230 (_dl_map_object): Change all calls of open_path.
4231 Rewrite decompose_rpath calls.
4233 2000-03-31 Andreas Schwab <schwab@suse.de>
4235 * string/strfry.c: Declare STATE as array of char instead of int
4236 and do not initialize it (done by initstate_r). Pass correct
4239 2000-04-03 Ulrich Drepper <drepper@redhat.com>
4241 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
4243 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
4244 instruction out of the code.
4246 2000-04-02 Ulrich Drepper <drepper@redhat.com>
4248 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
4249 element at this position.
4251 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
4252 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
4254 * elf/dl-lookup.c (add_dependency): New function.
4255 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
4256 dynamically loaded object.
4257 (_dl_lookup_symbol_skip): Likewise.
4258 (_dl_lookup_versioned_symbol): Likewise.
4259 (_dl_lookup_versioned_symbol_skip): Likewise.
4260 * elf/dl-open.c: Don't define _dl_load_lock here...
4261 * elf/rtld.c: ...but here...
4262 * elf/dl-support.c: ...and here.
4263 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
4265 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
4267 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
4269 * dlfcn/glrefmain.c: Add one more debug message.
4271 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
4273 * Makerules (sysd-versions): Use ( ) instead of { }.
4275 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
4276 optimize for the non-debugging case.
4277 * elf/dl-lookup.c: Likewise.
4278 * sysdeps/generic/libc-start.c: Likewise.
4280 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
4282 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
4283 (init1): Don't initialize __environ here, since init already does it.
4284 (first_init): New function, broken out of _init.
4285 (_hurd_stack_setup): Use it.
4286 [SHARED] (_dl_init_first): New function, renamed from old _init.
4287 (init1) [SHARED]: Don't call posixland_init here.
4288 (posixland_init): Take ENVP arg, so signature is usual for initializer.
4289 [SHARED] (_init): Define as alias for posixland_init.
4290 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
4291 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
4292 RTLD_START_SPECIAL_INIT before calling initializers.
4293 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
4294 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
4295 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
4296 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
4298 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
4299 since we define the function with the name `tmpfile'.
4301 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
4302 * hurd/Versions: Likewise.
4304 2000-04-02 Ulrich Drepper <drepper@redhat.com>
4306 * elf/dl-runtime.c (fixup): Fix typo in comment.
4308 * resolv/netdb.h (getnameinfo): All length parameters are of type
4310 * inet/getnameinfo.c: Likewise.
4312 2000-04-01 Ulrich Drepper <drepper@redhat.com>
4314 * posix/unistd.h (socklen_t): Define if it has not yet happened.
4315 (gethostname): Change type of second parameter to socklen_t.
4316 * include/unistd.h (__gethostname): Change type of second
4317 parameter to socklen_t.
4318 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
4319 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4320 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
4321 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
4323 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
4324 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
4325 Allow definition elsewhere.
4326 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
4327 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4328 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4329 * sysdeps/generic/bits/types.h: Define __socklen_t.
4330 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
4331 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
4332 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4333 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
4334 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4335 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4336 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
4338 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
4339 (inet_lnaof): Likewise.
4340 (inet_netof): Likewise.
4341 (inet_network): Likewise.
4342 (inet_aton): Likewise.
4343 (inet_makeaddr): Change parameter types to in_addr_t.
4344 (inet_neta): Likewise.
4345 (inet_ntop): Change type of last parameter to socklen_t.
4346 (inet_aton): Only make available if __USE_MISC.
4347 (inet_neta): Likewise.
4348 (inet_net_ntop): Likewise.
4349 (inet_net_pton): Likewise.
4350 (inet_nsap_ntoa): Likewise.
4352 * inet/in.h: Define in_port_t type.
4353 Define in_addr_t type.
4354 (struct in_addr): Use in_addr_t in definition.
4355 (IN_CLASSA): Use cast to in_addr_t.
4356 (IN_CLASSB): Likewise.
4357 (IN_CLASSC): Likewise.
4358 (IN_CLASSD): Likewise.
4359 (IN_EXPERIMENTAL): Likewise.
4360 (IN_BADCLASS): Likewise.
4361 (INADDR_ANY): Likewise.
4362 (INADDR_BROADCAST): Likewise.
4363 (INADDR_NONE): Likewise.
4364 (INADDR_LOOPBACK): Likewise.
4365 (INADDR_UNSPEC_GROUP): Likewise.
4366 (INADDR_ALLHOSTS_GROUP): Likewise.
4367 (INADDR_ALLRTRS_GROUP): Likewise.
4368 (INADDR_MAX_LOCAL_GROUP): Likewise.
4369 (struct sockaddr_in): Use in_port_t for sin_port element.
4370 (struct sockaddr_in6): Use in_port_t for sin6_port element.
4371 Use uint8_t instead of u_int8_t.
4373 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
4374 Call __inet_aton instead of inet_aton.
4375 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
4377 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
4378 (innetgr): Likewise.
4379 (struct addrinfo): Use socklen_t for ai_addrlen element.
4381 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
4382 IPV6_RECVERR): New defines.
4384 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
4385 * inet/getnetbyad.c: Likewise.
4386 * inet/getnetbyad_r.c: Likewise.
4387 * nis/nss_nis/nis-network.c: Likewise.
4388 * nis/nssplus_nis/nisplus-network.c: Likewise.
4389 * nss/nss_files/files-network.c: Likewise.
4390 * resolv/netdb.h: Define uint32_t if not already happened.
4391 Include bits/netdb.h. Remove definition of struct netent.
4392 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
4393 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
4394 * sysdeps/generic/bits/netdb.h: New file.
4395 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
4397 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
4398 (tests): Add glrefmain.
4399 Add rules to build modules and run tests. Ignore result of glrefmain
4400 for now since it fails.
4401 * dlfcn/glrefmain.c: New file.
4402 * dlfcn/glreflib1.c: New file.
4403 * dlfcn/glreflib2.c: New file.
4405 * test-skeleton.c: Include <string.h> for strsignal prototype.
4407 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
4410 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
4411 former init-first.h. Initialize __libc_multiple_libcs.
4413 2000-03-31 Ulrich Drepper <drepper@redhat.com>
4415 * iconv/skeleton.c: Define access macros with u suffix. Adjust
4416 #if expression for use of unaligned function to the one used in
4417 the definition of these functions.
4418 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
4419 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
4420 (internal_ucs4le_loop_unaligned): New function.
4422 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
4424 (module-names): Add dep1, dep2, dep3, and dep4.
4425 Add dependencies for dep* modules and order.
4426 Define rule for order.out which checks the result.
4427 * elf/dep1.c: New file.
4428 * elf/dep2.c: New file.
4429 * elf/dep3.c: New file.
4430 * elf/dep4.c: New file.
4431 * elf/order.c: New file.
4433 * elf/dl-init.c: Fix typo in comment.
4435 2000-03-31 Andreas Jaeger <aj@suse.de>
4437 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
4438 init function interface.
4439 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
4441 2000-03-31 Andreas Jaeger <aj@suse.de>
4443 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
4444 * sysdeps/mips/fpu/fegetenv.c: Likewise.
4445 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
4446 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
4447 * sysdeps/mips/fpu/fesetenv.c: Likewise.
4449 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
4450 anymore, update comment.
4452 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4454 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
4455 SHLIB_COMPAT - the struct is always needed.
4457 2000-03-31 Ulrich Drepper <drepper@redhat.com>
4459 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
4460 * elf/dl-support.c: Define _dl_starting_up.
4462 2000-03-30 Ulrich Drepper <drepper@redhat.com>
4464 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
4465 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
4467 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
4469 * elf/Makefile (dl-routines): Remove preinit.
4470 * elf/Versions: Remove _dl_preinit.
4471 * elf/dl-preinit.c: Removed. Move content into...
4472 * elf/dl-init.c: ...here.
4473 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
4475 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
4478 2000-03-29 Geoff Clare <gwc@unisoft.com>
4480 * stdlib/strfmon.c: Corrected problems with the code that
4481 sets default values for [np]_sep_by_space and
4482 [np]_sign_posn; also the new positive/negative alignment
4483 code from the previous patch was not quite right for
4486 * localedata/tst-fmon.data: Changes corresponding to the
4487 two sets of fixes made to stdlib/strfmon.c.
4489 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
4491 * malloc/malloc.c: Declare bit flags UL so that they will not
4492 default to int size when being inverted.
4494 2000-03-29 Andreas Jaeger <aj@suse.de>
4496 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
4497 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
4499 2000-03-29 Andreas Jaeger <aj@suse.de>,
4500 Ralf Baechle <ralf@uni-koblenz.de>
4502 * Makeconfig: Introduce new variable SHARED to mark code used in
4504 * elf/dl-close.c: Use it instead of PIC.
4505 * elf/dl-load.c: Likewise.
4506 * elf/dl-open.c: Likewise.
4507 * hurd/geteuids.c: Likewise.
4508 * include/libc-symbols.h: Likewise.
4509 * include/shlib-compat.h: Likewise.
4510 * libio/freopen.c: Likewise.
4511 * linuxthreads/cancel.c: Likewise.
4512 * linuxthreads/pthread.c: Likewise.
4513 * linuxthreads/wrapsyscall.c: Likewise.
4514 * nss/nsswitch.c: Likewise.
4515 * stdio-common/vfprintf.c: Likewise.
4516 * sysdeps/arm/init-first.c: Likewise.
4517 * sysdeps/i386/init-first.c: Likewise
4518 * sysdeps/generic/init-first.c: Likewise.
4519 * sysdeps/generic/libc-start.c: Likewise.
4520 * sysdeps/mips/init-first.c: Likewise.
4521 * sysdeps/powerpc/elf/libc-start.c: Likewise.
4522 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4523 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
4524 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
4525 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4527 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
4529 2000-03-29 Andreas Jaeger <aj@suse.de>
4531 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
4532 Use D_PTR to access relocated entries in l_info.
4533 (elf_machine_rela): Likewise.
4535 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
4537 (elf_machine_rela): Likewise.
4539 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
4541 (__elf_machine_fixup_plt): Likewise.
4542 (__process_machine_rela): Likewise.
4544 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
4545 (elf_machine_rela): Likewise.
4547 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
4548 (elf_machine_rel): Likewise.
4550 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
4551 (elf_machine_fixup_plt): Likewise.
4552 (elf_machine_rela): Likewise.
4554 2000-03-29 Andreas Jaeger <aj@suse.de>
4556 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
4557 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4558 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4559 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4560 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
4561 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
4562 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
4563 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
4564 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4565 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
4566 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
4567 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
4568 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
4569 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
4570 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4572 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
4573 macros, remove K&R prototypes.
4575 2000-03-30 Ulrich Drepper <drepper@redhat.com>
4577 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
4578 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
4581 2000-03-30 Andreas Jaeger <aj@suse.de>
4583 * misc/sys/cdefs.h: Remove K&R support.
4585 2000-03-30 Ulrich Drepper <drepper@redhat.com>
4587 * iconv/skeleton.c: Avoid compiling unaligned versions in some
4589 * iconv/loop.c: Likewise.
4591 2000-03-29 Bruno Haible <haible@clisp.cons.org>
4593 * iconv/loop.c (put16): Remove __const. Fix access index.
4594 (put32): Remove __const. Use uint32_t instead of uint16_t.
4595 * iconv/skeleton.c: Likewise.
4597 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
4599 * mach/Versions (libc: GLIBC_2.0)
4600 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
4601 __vm_allocate on this.
4602 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
4603 mutex- and spinlock-related symbols on this.
4604 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
4605 New version set. Lock-related symbols go here instead in this case.
4606 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
4607 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
4608 cthread_getspecific, cthread_setspecific, __libc_getspecific.
4610 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
4611 Put them here instead.
4612 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
4613 New version set. Those cthreads symbols go here instead in this case.
4614 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
4616 2000-03-30 Ulrich Drepper <drepper@redhat.com>
4618 * elf/dl-init.c (_dl_init): We don't need to call constructors
4619 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
4621 Implement dynamic determination of constructor/destructor order in
4623 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
4624 (GLIBC_2.2): Add _dl_init.
4625 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
4626 r_duplist is not anymore allocated separately. l_initfini is and
4627 therefore free it if necessary.
4628 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
4629 malloc block. Otherwise allocate l_initfini list only.
4630 Put dependencies for the object in l_initfini list.
4631 Sort dependencies for the object to be loaded topologically.
4632 * elf/dl-fini.c: Before running the destructors sort the topologically.
4633 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
4634 call constructors instead of iterating over the pointers. Get list of
4635 objects for which to run constructors from l_initfini element. Accept
4636 argc, argv, and env as parameters and pass them to the constructors.
4637 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
4638 with size of dynamic section.
4639 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
4640 _dl_init_next and calling constructors ourself.
4641 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
4642 Take argc, argv, and env as parameters and pass them to the
4643 constructors. Rewrite to call all constructors and not iterate over
4645 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
4646 precompute l_initcount and l_preinitcount.
4647 * elf/link.h (struct link_map): Add l_ldnum member.
4648 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
4649 l_initcount, and l_preinitcount. Add l_initfini.
4650 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
4652 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
4654 * sysdeps/unix/sysv/linux/init-first.h: Removed.
4655 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
4656 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
4657 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
4658 conventions now match.
4660 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
4661 effect for shared objects. Don't emit message and call only for
4664 2000-03-29 Ulrich Drepper <drepper@redhat.com>
4666 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
4667 CSA_Z243.4-1985-1..UCS2.
4668 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
4671 2000-03-29 Andreas Jaeger <aj@suse.de>
4673 * include/unistd.h: Remove duplicate entry for __rmdir.
4674 Remove declaration of __mkdir since __mkdir is declared in
4677 * manual/creature.texi (Feature Test Macros): Fix typo, reported
4678 by Michael Deutschmann <michael@talamasca.ocis.net>.
4680 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
4681 * sysdeps/mips/fpu/fegetenv.c: Likewise.
4682 * sysdeps/mips/fpu/fesetenv.c: Likewise.
4683 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
4684 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
4686 2000-03-28 Andreas Jaeger <aj@suse.de>
4688 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
4689 declaration, the prototype is defined via bits/mathcalls.h.
4690 (__sincosf): Likewise.
4691 (__sincosl): Likewise.
4695 (__finite): Likewise.
4696 (__inline_mathcodeNP): New macro without prototype
4698 (__inline_mathcodeNP2): Likewise.
4699 (__inline_mathcodeNP3): Likewise.
4700 (__inline_mathcodeNP_): Likewise.
4701 (__inline_mathcodeNP2_): Likewise.
4702 (__inline_mathcodeNP3_): Likewise.
4703 (__inline_mathopNP): Likewise.
4704 (__inline_mathop_declNP): Likewise.
4705 (__inline_mathop_declNP_): Likewise.
4706 (__inline_mathcode_): Use __inline_mathcodeNP_.
4707 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
4708 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
4709 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
4710 (__expm1l): Don't define prototype, the prototype is defined via
4716 (__atan2l): Likewise.
4721 (__fabsl): Likewise.
4739 (__sqrtl): Likewise.
4749 2000-03-28 Ulrich Drepper <drepper@redhat.com>
4751 * Makerules: If make variable md5 is defined to yes after
4752 generating dependencies generate MD5 sum for the object.
4754 * iconv/gconv_builtin.h: Fix length in transformation definition
4757 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
4759 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
4760 allow as well reading from/writing to unaligned addresses on machines
4761 which don't support this in hardware. Use FCTNAME macro to define
4762 function name. Include the file a second time for platforms which
4763 need special unaligned handling.
4764 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
4765 to access potentially unaligned addresses. These macros are intended
4766 to be used only outside the loops.
4767 (unaligned): New definition. In case the machine can handle unaligned
4768 access define as zero. Otherwise as a variable which is initialized
4769 as nonzero in case the buffer passed in at runtime is unaligned with
4770 respect to the character set encoding involved.
4771 Call aligned or unaligned looop functions according to unaligned
4773 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
4774 of direct casting pointer to potentially handle unaligned memory
4776 * iconvdata/8bit-generic.c: Likewise.
4777 * iconvdata/ansi_x3.110.c: Likewise.
4778 * iconvdata/big5.c: Likewise.
4779 * iconvdata/euc-cn.c: Likewise.
4780 * iconvdata/euc-jp.c: Likewise.
4781 * iconvdata/euc-kr.c: Likewise.
4782 * iconvdata/euc-tw.c: Likewise.
4783 * iconvdata/gbk.c: Likewise.
4784 * iconvdata/iso-2022-cn.c: Likewise.
4785 * iconvdata/iso-2022-jp.c: Likewise.
4786 * iconvdata/iso-2022-kr.c: Likewise.
4787 * iconvdata/iso646.c: Likewise.
4788 * iconvdata/iso_6937-2.c: Likewise.
4789 * iconvdata/iso_6937.c: Likewise.
4790 * iconvdata/johab.c: Likewise.
4791 * iconvdata/sjis.c: Likewise.
4792 * iconvdata/t.61.c: Likewise.
4793 * iconvdata/uhc.c: Likewise.
4794 * iconvdata/unicode.c: Likewise.
4795 * iconvdata/utf-16.c: Likewise.
4797 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
4800 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
4801 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
4803 * malloc/mcheck.h (mcheck_check_all): Declare.
4805 * stdio-common/Makefile (tests): Add tst-obprintf.
4807 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
4809 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
4810 Declare pthread_sigmask.
4812 * csu/version.c: Add 2000 to copyright years.
4813 Remove Emacs local variables section.
4815 2000-03-23 Bruno Haible <haible@clisp.cons.org>
4817 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
4818 __gconv_transform_internal_ucs2little): Remove declarations.
4819 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
4820 __gconv_transform_internal_ucs2): Never need to bswap_16.
4821 (__gconv_transform_ucs2reverse_internal,
4822 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
4824 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
4826 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
4827 obsoleting version not being defined at all, in which case the
4828 result is always true.
4830 * Makeconfig (preprocess-versions): New canned sequence for running
4831 cpp on shlib-versions and the like.
4832 (soversions.i): Use it.
4833 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
4834 Versions.def and Versions files.
4836 2000-03-27 Ulrich Drepper <drepper@redhat.com>
4838 * stdio-common/tst-obprintf.c (main): Add another check to see
4839 obstack_printf handling all possible beginnings of the block
4840 inside an obstack chunk.
4842 * locale/programs/localedef.c: Use __malloc_initialize_hook to
4843 install mcheck handler.
4845 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
4848 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
4850 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
4852 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
4853 on [HAVE_ELF && DO_VERSIONING].
4855 2000-03-27 Ulrich Drepper <drepper@redhat.com>
4857 * stdio-common/tst-obprintf.c: New file.
4859 2000-03-26 Ulrich Drepper <drepper@redhat.com>
4861 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
4862 _IO_OVERFLOW directly instead through __overflow.
4864 * locale/programs/localedef.c (construct_output_path): If path
4865 contains a / compute the end of the directory name correctly.
4867 * include/features.h: Undef and document __USE_XOPEN2K.
4869 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
4870 whenever a function is called. Initiated by calling mcheck_pedantic
4872 * malloc/mcheck.h: Declare mcheck_pedantic.
4873 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
4874 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
4877 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
4879 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
4880 * dlfcn/dlopenold.c: Likewise.
4881 * nss/getXXbyYY_r.c: Likewise.
4882 * nss/getXXent_r.c: Likewise.
4883 * hurd/hurdinit.c: Likewise.
4884 * hurd/compat-20.c: Likewise.
4885 * libio/oldiofopen.c: Likewise.
4886 * libio/oldiofclose.c: Likewise.
4887 * libio/oldiofdopen.c: Likewise.
4888 * libio/oldfileops.c: Likewise.
4889 * libio/oldstdfiles.c: Likewise.
4890 * libio/oldiofsetpos.c: Likewise.
4891 * libio/oldiofgetpos.c: Likewise.
4892 * libio/oldiofgetpos64.c: Likewise.
4893 * libio/oldiofsetpos64.c: Likewise.
4894 * libio/oldiopopen.c: Likewise.
4895 * libio/oldpclose.c: Likewise.
4896 * libio/oldtmpfile.c: Likewise.
4897 * libio/freopen.c (freopen): Likewise.
4898 * libio/iofclose.c (_IO_new_fclose): Likewise.
4900 * sysdeps/mach/sys/reboot.h: Include <features.h>.
4901 (reboot): Declare it.
4903 * libio/Makefile (headers): Add bits/stdio-lock.h here.
4905 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
4907 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
4909 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
4910 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
4911 We need this for the sbrk decl, which can be included without Unix98.
4913 2000-03-20 Richard Henderson <rth@cygnus.com>
4915 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
4916 argument to yperr2nss is an int, not size_t.
4917 * posix/regex.c (print_partial_compiled_pattern): Cast all
4918 ptrdiff_t to long for printing.
4919 (print_compiled_pattern): Use Z for printing size_t.
4920 * posix/testfnm.c (tests): Avoid trigraphs.
4921 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
4922 Use a C comment, not an assembly comment.
4924 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
4925 of __ASSUME_32BITUIDS.
4927 2000-03-26 Ulrich Drepper <drepper@redhat.com>
4929 * libio/iofopncook.c: Remove K&R prototypes.
4931 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
4933 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
4934 an initial value of 1024 instead of RLIM_INFINITY.
4936 * Versions.def (libmachuser, libhurduser): Remove these sections,
4937 since these libraries do not presently use symbol versions.
4939 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
4940 is RLIM_INFINITY, return -1 instead.
4942 2000-03-24 Andreas Jaeger <aj@suse.de>
4944 * Makefile (postclean): Added soversions.i.
4946 2000-03-24 Scott Bambrough <scottb@netwinder.org>
4948 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
4949 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
4950 and _FPU_IEEE. Change _FPU_RESERVED.
4952 2000-03-24 Scott Bambrough <scottb@netwinder.org>
4954 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
4956 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
4958 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
4959 (gaih_inet): Remove unused duplicate variable.
4961 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
4962 Don't use __libc_sa_len, which only exists for Linux. Just handle
4963 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
4964 only flavors supported by this function anyway.
4966 2000-03-24 Geoff Clare <gwc@unisoft.com>
4968 * stdlib/strfmon.c: Corrected problems with missing signs and
4969 missing or extra spaces; allow for sign strings longer than
4970 one character; add padding to ensure positive and negative
4971 formats are aligned when a left precision is used.
4973 2000-03-26 Ulrich Drepper <drepper@redhat.com>
4975 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
4976 Patch by John Mizel <John.Mizel@msdw.com>.
4978 2000-03-25 Ulrich Drepper <drepper@redhat.com>
4980 * manual/install.texi: Remove references to crypt add-on.
4982 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
4984 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
4985 section while taking the _hurd_rlimit_lock.
4986 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4988 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
4990 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
4993 * sysdeps/mach/hurd/if_index.c: New file.
4995 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
4996 * sysdeps/gnu/net/if.h: here.
4997 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
4998 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
4999 * sysdeps/generic/net/if.h: New file. Declares just the standard
5000 functions and `struct if_nameindex' type.
5001 * socket/Makefile (headers): Add net/if.h here.
5002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
5003 * sysdeps/mach/hurd/Dist: Remove it here.
5004 * sysdeps/unix/sysv/linux/Dist: And here.
5005 * sysdeps/generic/if_index.c: Include <net/if.h>.
5007 2000-03-24 Andreas Jaeger <aj@suse.de>
5009 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
5010 access relocated entries in l_info.
5011 (elf_machine_got_rel): Likewise.
5012 (elf_machine_runtime_setup): Likewise.
5013 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
5014 (elf_machine_runtime_setup): Likewise.
5015 (__dl_runtime_resolve): Likewise.
5017 2000-03-23 Ulrich Drepper <drepper@redhat.com>
5019 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
5020 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
5021 according to RFC 2553.
5022 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
5023 * inet/getnameinfo.c: Likewise.
5024 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
5026 2000-03-23 Bruno Haible <haible@clisp.cons.org>
5028 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
5029 Remove no-op pointer increment.
5031 2000-03-23 Andreas Jaeger <aj@suse.de>
5033 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
5034 follow change for libio.h from 2000-03-10.
5036 2000-03-23 Andreas Jaeger <aj@suse.de>
5038 * elf/dl-addr.c: Adjust include paths for ldsodefs location
5040 * elf/dl-debug.c: Likewise.
5041 * elf/dl-deps.c: Likewise.
5042 * elf/dl-error.c: Likewise.
5043 * elf/dl-fini.c: Likewise.
5044 * elf/dl-init.c: Likewise.
5045 * elf/dl-load.c: Likewise.
5046 * elf/dl-lookup.c: Likewise.
5047 * elf/dl-minimal.c: Likewise.
5048 * elf/dl-object.c: Likewise.
5049 * elf/dl-open.c: Likewise.
5050 * elf/dl-preinit.c: Likewise.
5051 * elf/dl-profile.c: Likewise.
5052 * elf/dl-profstub.c: Likewise.
5053 * elf/dl-reloc.c: Likewise.
5054 * elf/dl-runtime.c: Likewise.
5055 * elf/dl-support.c: Likewise.
5056 * elf/dl-symbol.c: Likewise.
5057 * elf/dl-version.c: Likewise.
5058 * elf/rtld.c: Likewise.
5059 * elf/sprof.c: Likewise.
5060 * sysdeps/generic/dl-cache.c: Likewise.
5061 * sysdeps/generic/dl-origin.c: Likewise.
5062 * sysdeps/generic/dl-sysdep.c: Likewise.
5063 * sysdeps/generic/elf/backtracesyms.c: Likewise.
5064 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5065 * sysdeps/generic/libc-start.c: Likewise.
5066 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5067 * sysdeps/powerpc/dl-machine.c: Likewise.
5068 * sysdeps/powerpc/elf/libc-start.c: Likewise.
5069 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5070 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5071 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
5073 * elf/ldsodefs.h: Move file to ...
5074 * sysdeps/generic/ldsodefs.h: ... here.
5076 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
5078 * sysdeps/mips/elf/ldsodefs.h: New file.
5080 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
5082 (_dl_check_map_versions): Likewise.
5083 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5084 * elf/dl-load.c (_dl_init_paths): Likewise.
5085 (_dl_map_object): Likewise.
5086 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
5087 (elf_get_dynamic_info): Likewise.
5088 * elf/do-lookup.h (FCT): Likewise.
5089 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
5090 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5091 * elf/dl-addr.c (_dl_addr): Likewise.
5092 * elf/dl-runtime.c (profile_fixup): Likewise.
5094 * elf/dl-init.c (_dl_init_next): Likewise.
5095 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
5096 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
5097 (DISTINGUISH_LIB_VERSIONS): Likewise.
5098 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
5099 (elf_machine_rel): Likewise.
5101 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
5102 for writable dynamic section.
5104 2000-03-22 Ulrich Drepper <drepper@redhat.com>
5106 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
5107 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
5109 2000-03-22 Andreas Jaeger <aj@suse.de>
5111 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
5112 from latest Linux kernel.
5114 2000-03-21 Andreas Jaeger <aj@suse.de>
5116 * Versions.def: Add version 2.1.4.
5118 2000-03-21 Ulrich Drepper <drepper@redhat.com>
5120 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
5121 * libio/oldiofopen.c: Likewise.
5122 * libio/oldiofclose.c: Likewise.
5123 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5125 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
5127 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
5128 indicating the first version set to obsolete the conditionalized code.
5129 (compat_symbol): New macro.
5130 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
5131 rhs be the ABI_* macro for the subsuming version. Assign increasing
5132 integer values to the ABI_* macros for supported versions.
5133 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
5134 compat_symbol macro.
5136 2000-03-21 Ulrich Drepper <drepper@redhat.com>
5138 * nscd/connections.c (nscd_run): Pretty print.
5139 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
5141 * manual/charset.texi: Fix typos. Rephrase.
5142 * manual/process.texi: Likewise.
5143 * manual/signal.texi: Likewise.
5144 Patches by Mike Coleman <mkc@kc.net>.
5146 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
5148 * libio/iofdopen.c: Likewise.
5149 * libio/iofgetpos.c: Likewise.
5150 * libio/iofgetpos64.c: Likewise.
5151 * libio/iofopen.c: Likewise.
5152 * libio/iofsetpos.c: Likewise.
5153 * libio/iofsetpos64.c: Likewise.
5154 * libio/iopopen.c: Likewise.
5155 * libio/oldiofopen.c: Likewise.
5156 * libio/pclose.c: Likewise.
5157 * sysdeps/gnu/siglist.c: Likewise.
5158 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5160 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
5161 chance to expand VERSION_##lib##_##version.
5163 * libio/fileops.c: Use new macros from shlib-compat.h to define
5165 * libio/iofclose.c: Likewise.
5166 * libio/oldiofclose.c: Likewise.
5167 Patch by Roland McGrath <roland@frob.com>.
5169 2000-03-21 Jakub Jelinek <jakub@redhat.com>
5171 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
5172 Lay out struct sigcontext according to what really gets passed on
5174 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
5175 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
5176 (prgregset_t, prfpregset_t): Define to elf_* types.
5177 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
5178 Define to correct value.
5179 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
5181 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
5183 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
5185 * scripts/firstversions.awk: Allow multiple version sets in the
5186 "earliest version" specification, meaning that version sets in the
5187 gaps between listed versions should be folded into the earliest later
5188 version that is explicitly listed.
5189 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
5190 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
5192 2000-03-21 Ulrich Drepper <drepper@redhat.com>
5194 * iconv/gconv_builtin.c: Include <endian.h>.
5195 * iconv/gconv_builtin.h: Add UCS-BE aliases.
5196 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
5197 according to current platform.
5198 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
5199 __gconv_transform_internal_ucs2reverse, and
5200 __gconv_transform_internal_ucs4le.
5201 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
5202 __gconv_transform_ucs2reverse_internal and
5203 __gconv_transform_internal_ucs2reverse.
5204 * iconvdata/Makefile (modules): Add UNICODE.
5205 (distribute): Add unicode.c.
5206 * iconvdata/gconv-modules: Add definitions for UNICODE module.
5207 * iconvdata/unicode.c: New file.
5209 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
5210 determine byte order of input and convert accordingly.
5212 * iconvdata/utf-16.c (gconv_init): Fix typo.
5214 2000-03-20 Ulrich Drepper <drepper@redhat.com>
5216 * iconvdata/gconv-modules: Fix typo.
5218 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
5221 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
5223 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
5225 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
5227 2000-03-20 Ulrich Drepper <drepper@redhat.com>
5229 * misc/Makefile (routines): Add mincore.
5231 2000-03-20 Andreas Jaeger <aj@suse.de>
5233 * sysdeps/generic/mincore.c: New stub file.
5235 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
5236 from latest Linux kernel.
5238 2000-03-20 Ulrich Drepper <drepper@redhat.com>
5240 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
5241 _SC_GETPW_R_SIZE_MAX.
5243 2000-03-20 Richard Henderson <rth@cygnus.com>
5245 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
5248 2000-03-20 Richard Henderson <rth@cygnus.com>
5250 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
5251 of arithmetic instructions.
5253 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
5254 with the fpcr. Protect from INV exception.
5255 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
5256 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
5257 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
5259 * sysdeps/alpha/fpu/s_copysign.c: New.
5260 * sysdeps/alpha/fpu/s_copysignf.c: New.
5261 * sysdeps/alpha/fpu/s_fabs.c: New.
5262 * sysdeps/alpha/fpu/s_fabsf.c: New.
5263 * sysdeps/alpha/fpu/s_rint.c: New.
5264 * sysdeps/alpha/fpu/s_rintf.c: New.
5266 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
5268 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
5270 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
5271 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
5272 Use physical addresses not KSEG addresses.
5273 (io_system): Add PYXIS.
5274 (io): Remove hae.reg, sys, hae_shift.
5275 (stb_mb, stw_mb, stl_mb, __sethae): New.
5276 (inline_outb, inline_outw, inline_outl): Don't set hae.
5277 (inline_inb, inline_inw, inline_inl): Likewise.
5278 (dense_sethae): New null function.
5279 (struct cpuinfo_data): New.
5280 (process_cpuinfo): Use local and stack variables, not static.
5281 Move readlink check here from init_iosys.
5282 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
5284 (_hae_shift): Calculate it here.
5285 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
5286 add pciconfig_iobase.
5288 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
5290 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
5291 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
5293 * scripts/versions.awk: Fixed version renaming code to distinguish
5296 2000-03-19 Ulrich Drepper <drepper@redhat.com>
5298 * include/stdlib.h: Add prototype for __cxa_atexit.
5300 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
5301 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
5303 2000-03-17 Cristian Gafton <gafton@redhat.com>
5305 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
5306 existing rtld-installed-name.
5307 ($(rtld-installed-name)): Request libc-$(version) be installed too.
5308 replace existing rtld-installed-name using $(symbolic-link-prog).
5310 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
5312 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
5313 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
5314 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
5317 2000-03-19 Ulrich Drepper <drepper@redhat.com>
5319 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
5320 glob64. Since there is no glob64 in the LFS proposal applications
5321 can assume that glob handles LFS situations. glob64 is only needed
5322 if alternative filesystem functions are used.
5324 2000-03-19 Geoff Clare <gwc@unisoft.com>
5326 * sysdeps/generic/glob.c: Correct gl_pathc value returned
5327 when GLOB_DOOFFS is set; correct handling of patterns
5328 containing escaped wildcards (and no unescaped ones);
5329 GLOB_ERR flag was being ignored in some situations.
5331 * posix/globtest.c, posix/globtest.sh: Updated to include
5332 tests for the problems fixed by the above changes to glob.c.
5334 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
5336 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
5338 * Makeconfig (soversion.i): Use only first match for each lib.
5340 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
5342 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
5343 rather than $(sysd-dirs-done) to protect these rules.
5345 * Makerules (version-renames.def): Target removed.
5346 (Versions.all): Depend on soversions.i directly and parse it.
5348 * Makeconfig (soversions.i): New target, input-reading parts of
5349 soversions.mk generation moved here; result is a canonicalized
5350 list "LIB VERSION [SET]" for this configuration.
5351 (soversions.mk): Use that as input. Don't emit map-firstversions.
5352 * Makerules (version-renames.def): New target, generated from
5353 soversions.i with contents that was in $(map-firstversions).
5354 (Versions.all): Don't depend on soversions.mk, depend on
5355 version-renames.def instead; just cat it into the input.
5357 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
5358 for $(map-firstversions), which better handles it being empty.
5360 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
5361 supported version for libc 0.2.90.libio to GLIBC_2.2.
5363 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
5364 and use it to emit new variable `map-firstversions'.
5365 * scripts/firstversions.awk: New file.
5366 * Makerules (Versions.all): Use scripts/firstversions.awk and
5367 the $(map-firstversions) value to generate a modified versions list
5368 that includes renames in "A = B" syntax for each version set earlier
5369 than the "earliest symbol version" named in shlib-versions.
5370 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
5371 rename version set A to B in the output to the intermediate file.
5372 * scripts/abi-versions.awk: New file.
5373 * Makerules (abi-versions.h): New target, generated by that script.
5374 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
5375 * include/shlib-compat.h: New file, uses that generated header.
5377 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
5379 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
5380 after stripping # comments, and then run it through cpp.
5381 This allows things like "%ifdef FOO" based on config.h settings.
5382 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
5384 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
5385 and other errors that indicate a pseudo-receive happened, grok through
5386 the message buffer for port rights that need references fixed up.
5388 2000-03-16 Andreas Jaeger <aj@suse.de>
5390 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
5392 * sysdeps/unix/sysv/linux/madvise.c: Remove.
5394 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
5395 from latest Linux kernel.
5396 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
5398 * misc/sys/mman.h: Add prototype for mincore.
5400 2000-03-17 Ulrich Drepper <drepper@redhat.com>
5402 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
5403 entry for GLIBC_2.0 version of setrlimit.
5404 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5406 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
5408 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
5409 * nis/nss_compat/compat-initgroups.c: Likewise.
5410 * nis/nss_nis/nis-initgroups.c: Likewise.
5411 * nis/nss_nis/nis-netgrp.c: Likewise.
5412 * nis/nss_nis/nis-proto.c: Likewise.
5413 * nis/nss_nis/nis-rpc.c: Likewise.
5414 * nis/nss_nis/nis-service.c: Likewise.
5415 * nis/ypclnt.c: Likewise.
5417 2000-03-16 Andreas Jaeger <aj@suse.de>
5419 * manual/Makefile: MAKEINFO is set to `:' from configure if it
5420 doesn't exist, correct checks. Fixes PR libc/1649.
5422 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
5424 * nscd/hstcache.c: Restore correct UID.
5425 * nscd/pwdcache.c: Likewise.
5426 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
5428 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
5430 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
5431 macros for register names, in line with 2000-03-14 linux change.
5433 * sysdeps/mach/sched_yield.c: New file.
5435 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
5437 * sysdeps/generic/lockfile.c: Include <stdio.h>
5438 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
5439 case <libio.h> defined them.
5440 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
5442 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
5443 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
5445 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
5446 for more pleasing parse error.
5448 2000-03-16 Ulrich Drepper <drepper@redhat.com>
5450 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
5452 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5454 * elf/Makefile: Add rules to compile and run constload1 test.
5455 * elf/constload1.c: New file.
5456 * elf/constload2.c: New file.
5457 * elf/constload3.c: New file.
5459 2000-03-15 Ulrich Drepper <drepper@redhat.com>
5461 * sysdeps/posix/open64.c: Make __open64 weak alias.
5462 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
5463 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5464 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
5465 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5466 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
5467 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
5468 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5469 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
5470 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5471 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
5473 2000-03-14 Ulrich Drepper <drepper@redhat.com>
5475 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
5476 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
5478 2000-03-16 Mark Kettenis <kettenis@gnu.org>
5480 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
5481 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
5483 2000-03-08 Andreas Jaeger <aj@suse.de>
5485 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
5487 2000-03-14 Ulrich Drepper <drepper@redhat.com>
5489 * timezone/africa: Update from tzdata2000d.
5490 * timezone/asia: Likewise.
5491 * timezone/australasia: Likewise.
5492 * timezone/europe: Likewise.
5493 * timezone/northamerica: Likewise.
5494 * timezone/southamerica: Likewise.
5496 * po/fr.po: Update from translation team.
5497 * po/de.po: Likewise.
5499 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
5500 last parameter. Move code to add map to global scope from here...
5501 * elf/dl-open.c (dl_open_worker): ...here.
5502 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
5503 * elf/rtld.c: Adjust call to _dl_map_object_deps.
5505 * locale/programs/ld-collate.c (collate_read): Fix warning.
5507 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
5508 values and macros for register names.
5510 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
5511 returned by seek cookie function is -1.
5513 2000-03-14 Andreas Jaeger <aj@suse.de>
5515 * locale/localeconv.c (localeconv): Fix typo.
5516 Reported by Andre Charbonneau <andrec@corel.com>.
5518 2000-03-14 Ulrich Drepper <drepper@redhat.com>
5520 * iconv/skeleton.c: Increment __invocation_counter in inner loop
5521 since modules depend on it counting the number of times the conversion
5522 function got called.
5524 * iconv/gconv_open.c: Optimize loop to setup step data structure.
5526 * iconv/gconv.h: Pretty print.
5528 2000-03-04 Ulrich Drepper <drepper@redhat.com>
5530 * posix/wordexp-test.c: Correct one of the tests added in the last
5531 change. Really get the root passwd entry to check again ~root.
5533 2000-03-10 Andreas Jaeger <aj@suse.de>
5535 * manual/filesys.texi (Working Directory): Fix last patch.
5536 Patch by Martin Buchholz <martin@xemacs.org>.
5538 2000-03-10 Andreas Jaeger <aj@suse.de>
5540 * manual/creature.texi (Feature Test Macros): Fix language.
5542 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
5544 * mach/devstream.c (devstream_write, devstream_read): New functions.
5545 (input, output): Functions removed.
5546 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
5547 using only the vanilla fopencookie interface.
5549 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
5550 as macro for __io_functions.
5551 (funcsio): Use cookie_io_functions_t type name.
5552 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
5554 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
5556 (fopencookie): Use it.
5557 * libio/libio.h: Declare _IO_cookie_init.
5558 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
5561 * libio/libio.h (__io_seek_fn): Fix second argument type
5562 to be a pointer, in line with the manual and the old stdio.
5563 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
5565 * sysdeps/generic/bits/stdio-lock.h: New file.
5566 This is a stub with #error, but that's better than no file at all.
5568 2000-03-09 Martin Buchholz <martin@xemacs.org>
5570 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
5571 * manual/message.texi (Using gettextized software): Doc Fixes.
5572 * manual/message.texi (Message Translation): Doc Fixes.
5573 * manual/filesys.texi (File Size): Doc Fixes.
5574 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
5575 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
5576 * iconv/gconv_db.c (find_derivation): Doc Fixes.
5577 * manual/install.texi: Doc Fixes.
5578 * manual/search.texi (Hash Search Function): Doc Fixes.
5579 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
5580 * FAQ.in: Doc Fixes.
5581 * config.h.in: Doc Fixes.
5582 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
5583 Doc Fixes. `allows to' is not correct English.
5585 * elf/rtld.c: Doc fixes.
5586 * manual/creature.texi (Feature Test Macros): Doc fixes.
5587 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
5589 * manual/filesys.texi (Working Directory): Check for ERANGE to
5592 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
5594 * string/argz-stringify.c (__argz_stringify): Fix loop termination
5595 conditions so as not to clobber the final '\0' when there is only one
5596 element in the vector.
5598 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
5600 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
5601 broken by 2000-02-27 change.
5603 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
5605 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
5607 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
5608 argument type, for 2000-02-22 change in signal/signal.h declaration.
5610 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
5612 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
5613 to getdirentries64 (no __), since the Linux implementation
5614 has no __ name, and there is no declaration for the __ name.
5616 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
5618 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
5619 sed regexp so as not to break directory names including /../ within.
5621 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
5622 The sysdeps/generic file is right for BSD. This file was in fact the
5623 Hurd file, but the only difference was the WNOREAP flag that was never
5624 actually implemented or used anywhere.
5626 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
5627 since AC_PATH_PROG already does it for us.
5628 (PERL): Rewrite check added in 2000-02-29 change for syntactic
5629 correctness and sh portability. I replaced the broken check
5630 with a more sensible implementation of the apparently intended
5631 semantics, which might still be questionable. Using expr causes
5632 a non-numeric value for `perl -V:apiversion` to be accepted,
5633 refusing to use only a perl that reports a number less than 5;
5634 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
5635 * configure: Regenerated.
5637 2000-03-08 Andreas Jaeger <aj@suse.de>
5639 * manual/crypt.texi: Fix paths.
5641 2000-03-07 Andreas Jaeger <aj@suse.de>
5643 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
5645 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
5648 2000-03-06 Andreas Jaeger <aj@suse.de>
5650 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
5651 in __sgn1l, otherwise g++ fails to parse this.
5652 Reported by Sean Chen <sean.chen@turbolinux.com>.
5654 2000-03-03 Geoff Keating <geoffk@cygnus.com>
5656 * configure.in: Compute sizeof-long-double.
5657 * configure: Regenerated.
5658 * config.make.in: Make sizeof-long-double available to sub-makes.
5660 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
5662 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
5665 2000-03-03 Geoff Keating <geoffk@cygnus.com>
5667 * Makeconfig (rpath-dirs): Add crypt.
5668 (all-subdirs): Remove md5crypt.
5669 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
5670 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
5671 * sysdeps/generic/crypt-entry.c: Delete.
5672 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
5673 * sysdeps/generic/crypt.h: Delete.
5674 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
5675 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
5676 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
5677 * sysdeps/generic/des_impl.c: Delete.
5678 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
5679 * crypt/sysdeps: Delete.
5680 * crypt/crypt_util.c: Don't use `patchlevel.h'.
5681 * md5-crypt/Versions: Move to crypt/.
5682 * md5-crypt/md5-crypt.c: Move to crypt/.
5683 * md5-crypt/md5.c: Move to crypt/.
5684 * md5-crypt/md5c-test.c: Move to crypt/.
5685 * md5-crypt/md5test.c: Move to crypt/.
5686 * md5-crypt: Delete.
5687 * crypt/Makefile: Adjust for new structure.
5689 2000-03-03 Paul Eggert <eggert@twinsun.com>
5691 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
5692 define to 1 if not defined.
5694 2000-03-03 Andreas Jaeger <aj@suse.de>
5696 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
5698 2000-03-03 Andreas Jaeger <aj@suse.de>
5700 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
5702 (xdr_int64_t): Correctly handle lower half.
5703 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
5705 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
5707 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
5710 2000-03-02 Andreas Jaeger <aj@suse.de>
5712 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
5715 2000-03-02 Andreas Jaeger <aj@suse.de>
5717 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
5719 2000-03-01 Andreas Jaeger <aj@suse.de>
5721 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
5722 (tests): Added tst-getdate.
5724 * time/tst-getdate.c: New file.
5726 * time/datemsk: New file, needed for tst-getdate.
5728 2000-02-29 Cristian Gafton <gafton@redhat.com>
5730 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
5732 2000-02-17 H.J. Lu <hjl@gnu.org>
5734 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
5736 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
5738 (svcudp_recv): Set up message with the new "xp_pad" field for
5740 (svcudp_reply): Support IP_PKTINFO if available.
5742 2000-03-01 Andreas Jaeger <aj@suse.de>
5744 * time/getdate.c (check_mday): Fix check for february.
5745 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
5746 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
5748 2000-03-02 Andreas Jaeger <aj@suse.de>
5750 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
5751 g++ fails to parse this.
5752 Reported by Sean Chen <sean.chen@turbolinux.com>.
5754 2000-02-28 Ulrich Drepper <drepper@redhat.com>
5756 * io/creat.c: Moved to...
5757 * sysdeps/generic/creat.c: ...here.
5758 * io/creat64.c: Moved to...
5759 * sysdeps/generic/creat64.c: ...here.
5760 * io/lockf.c: Moved to...
5761 * sysdeps/generic/lockf.c: ...here.
5763 * crypt/crypt.texi: Moved to...
5764 * manual/crypt.texi: ...here.
5765 * crypt/examples/genpass.c: Moved to...
5766 * manual/examples/genpass.c: ...here.
5767 * crypt/examples/mygenpass.c: Moved to...
5768 * manual/examples/mygenpass.c: ...here.
5769 * crypt/examples/testpass.c: Moved to...
5770 * manual/examples/testpass.c: ...here.
5772 * manual/Makefile (chapters): Add crypt.
5773 * manual/conf.texi: Add usual header for not-last chapter.
5774 * manual/crypt.texi: Add special header for last chapter.
5776 2000-02-28 Geoff Keating <geoffk@cygnus.com>
5778 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
5779 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
5780 complain if there is no crypt add-on.
5781 * crypt/configure: Removed.
5783 * crypt/crypt.texi: Update documentation of US export restrictions
5784 to match the 14 Jan 2000 regulations.
5786 2000-02-28 Geoff Keating <geoffk@cygnus.com>
5788 * crypt: New subdirectory, merged in from the crypt add-on.
5790 2000-02-28 Ulrich Drepper <drepper@redhat.com>
5792 * include/unistd.h: Add __rmdir and __mkdir prototypes.
5795 See ChangeLog.10 for earlier changes.