1 2000-07-31 Andreas Jaeger <aj@suse.de>
3 * inet/Versions: Remove getipnodebyaddr and friends from
6 * resolv/netdb.h: Remove getipnodebyaddr and friends.
8 2000-07-30 Bruno Haible <haible@clisp.cons.org>
10 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
11 ch >= 0x81 && ch2 < 0x40 as invalid.
13 2000-07-30 Bruno Haible <haible@clisp.cons.org>
15 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
16 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
18 2000-07-30 Bruno Haible <haible@clisp.cons.org>
20 * iconvdata/johab.c (BODY for TO_LOOP): After calling
21 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
23 2000-07-30 Bruno Haible <haible@clisp.cons.org>
25 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
27 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
29 2000-07-30 Bruno Haible <haible@clisp.cons.org>
31 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
33 2000-07-30 Bruno Haible <haible@clisp.cons.org>
35 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
36 (from_ucs4): Change values of U+00A4 and U+00ED.
37 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
39 2000-07-30 Bruno Haible <haible@clisp.cons.org>
41 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
42 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
44 2000-07-30 Bruno Haible <haible@clisp.cons.org>
46 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
47 * iconvdata/isiri-3342.h: New file.
48 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
51 2000-07-30 Bruno Haible <haible@clisp.cons.org>
53 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
54 (utf8_encode): Use simple shifts instead. Fix return value.
56 2000-07-31 Ulrich Drepper <drepper@redhat.com>
58 * timezone/private.h: Update from tzcode2000e.
59 * timezone/asia: Update from tzdata2000e.
60 * timezone/australasia: Likewise.
61 * timezone/europe: Likewise.
62 * timezone/northamerica: Likewise.
63 * timezone/zone-tab: Likewise.
65 2000-07-30 Ralf Baechle <ralf@gnu.org>
67 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
68 the order of struct sigaltstack members is different.
70 2000-07-26 Philip Blundell <philb@gnu.org>
72 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
74 2000-07-29 Ulrich Drepper <drepper@redhat.com>
76 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
77 * locale/programs/ld-ctype.c: Adjust for this.
79 * locale/programs/ld-collate.c: Add more alignment checks.
80 * locale/string/strcoll.c: Likewise.
82 2000-07-30 Mark Kettenis <kettenis@gnu.org>
84 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
85 outside USE_IN_LIBIO block.
87 2000-07-26 Philip Blundell <philb@gnu.org>
89 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
90 (elf_machine_rel): Use it for out-of-range PC24 relocs.
92 2000-07-28 Philip Blundell <philb@gnu.org>
94 * math/test-fpucw.c: Ignore reserved bits in control word.
96 2000-07-28 Philip Blundell <philb@gnu.org>
98 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
99 (ret): Redefine to PSEUDO_RET.
100 (PSEUDO): Remove jump to syscall_error.
102 2000-07-29 Mark Kettenis <kettenis@gnu.org>
104 * resolv/README: Add some information about using the resolver in
105 multi-threaded code and with C++. Spelling fixes.
107 2000-07-29 Mark Kettenis <kettenis@gnu.org>
109 * resolv/resolv.h (struct __sockaddr_in): Remove.
110 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
112 2000-07-29 Greg McGary <greg@mcgary.org>
114 * Rules (test-bp-inputs, make-test-out): New variables.
115 ($(objpfx)%-bp.out): New rule.
116 ($(objpfx)%.out): Rewrite in terms of new variables.
118 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
119 internal function that uses vtable.
120 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
121 * libio/vswprintf.c (_IO_vswprintf): Likewise.
123 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
124 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
125 (chunk_align): Likewise.
127 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
128 in a way that conforms to decl, and avoids spurious bounds violation.
130 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
131 * sysdeps/generic/frame.h: Likewise.
132 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
134 (__backtrace): Qualify frame-pointer chain and return address
135 pointers as __unbounded. Wrap bounds around variable `current'.
136 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
138 (catch_segfault): Qualify frame-pointer chain and return address
139 pointers as __unbounded. Wrap bounds around variable `current'.
140 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
141 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
142 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
144 (__backtrace): Qualify frame-pointer chain and return address
145 pointers as __unbounded. Wrap bounds around variable `current'.
147 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
148 * sysdeps/i386/mul_1.S: Likewise.
149 * sysdeps/i386/submul_1.S: Likewise.
150 * sysdeps/i386/i586/addmul_1.S: Likewise.
151 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
152 * sysdeps/i386/i586/submul_1.S: Likewise.
154 2000-07-27 Andreas Jaeger <aj@suse.de>
156 * libio/Depend: New file, libio needs localedata for tests.
157 * posix/Depend: Likewise.
159 2000-07-28 Ulrich Drepper <drepper@redhat.com>
161 * stdio-common/_i18n_itoa.c: Removed.
162 * stdio-common/_i18n_itoa.h: Removed.
163 * stdio-common/_i18n_itowa.c: Removed.
164 * stdio-common/_i18n_itowa.h: Removed.
165 * stdio-common/_i18n_number.h: New file.
166 * stdio-common/Depend: New file.
167 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
168 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
169 printing. Change printing of numbers with locale specific digits to
170 use new code in _i18n_number.h.
171 * stdio-common/Makefile (routines): Remove _i18n_itoa and
174 * stdio-common/bug13.c: Improve messages.
176 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
177 (set_class_defaults): Always search also for Uxxxx names.
178 Detect insufficient number of outdigits.
180 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
182 2000-07-27 Bruno Haible <haible@clisp.cons.org>
184 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
186 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
187 * wctype/wcfuncs.c (towlower, towupper): Use them.
188 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
189 * wctype/wctrans.c (wctrans): Likewise.
190 * wctype/wctrans_l.c (__wctrans_l): Likewise.
192 2000-07-27 Bruno Haible <haible@clisp.cons.org>
194 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
195 Use the optimized version of this function outside glibc as well.
197 2000-07-27 Jakub Jelinek <jakub@redhat.com>
199 * locale/indigits.h (indigit_value): Correct.
200 * locale/indigitswc.h (indigitwc_value): Correct.
201 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
202 conversion, add GROUP checking for it, fix GROUP number
203 conversion with strlen(thousands) > 1.
204 Honour width correctly in the presence of floating
205 decimal points and thousands separators.
206 * stdio-common/tst-sscanf.c: New test.
207 * stdio-common/Makefile: Add it to tests.
208 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
209 thousands separators and group argument is non-zero.
211 2000-07-25 Bruno Haible <haible@clisp.cons.org>
213 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
216 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
218 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
219 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
221 (headers): Add sys/tas.h.
222 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
224 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
225 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
228 2000-07-28 Andreas Jaeger <aj@suse.de>
230 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
232 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
233 ($(objpfx)tst-dladdr.out): new.
234 (tests): Add tst-dladdr.
235 ($(objpfx)glrefmain): Use libdl.
237 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
240 2000-07-27 Jes Sorensen <jes@linuxcare.com>
242 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
245 2000-07-27 Jes Sorensen <jes@linuxcare.com>
247 * intl/tst-translit.c: Include string.h to get prototype for
250 2000-07-27 Jes Sorensen <jes@linuxcare.com>
252 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
253 name and add weak alias for __fork.
255 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
256 & pwrite to use __libc_<name> as strong names instead of
259 * include/sched.h: Add clone2 prototype.
261 2000-07-26 Jes Sorensen <jes@linuxcare.com>
263 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
264 procedure name twice.
266 2000-07-27 Philip Blundell <philb@gnu.org>
268 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
270 2000-07-27 Andreas Jaeger <aj@suse.de>
272 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
273 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
274 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
275 Reported by Andi Kleen <ak@suse.de>.
277 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
278 (do_wait): Test requests with aio_return64.
279 (do_test): Change callers of do_wait.
281 2000-07-26 Andreas Jaeger <aj@suse.de>
283 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
284 (do_wait): Test requests with aio_return.
285 (do_test): Change callers of do_wait.
287 2000-07-27 Ulrich Drepper <drepper@redhat.com>
289 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
290 from request list. Don't do the list handling here, call
291 __aio_remove_request.
292 * rt/aio_misc.h: Add prototype for __aio_remove_request.
293 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
294 request might already be processed. Don't do the list handling
295 here, call __aio_remove_request.
297 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
300 * rt/aio_misc.c: Add comment explaining why writer memory barriers
303 2000-07-27 Greg McGary <greg@mcgary.org>
305 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
306 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
307 in union init. Pass zero for ignored semnum arg to semctl.
308 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
310 2000-07-26 Greg McGary <greg@mcgary.org>
312 * sysdeps/gnu/bits/msq.h: Qualify kernel's
313 data structure pointers as __unbounded.
314 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
315 * sysdeps/generic/bp-semctl.h: New file.
316 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
317 pointers as __unbounded. Check bounds of syscall args.
318 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
319 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
320 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
321 * sysdeps/unix/sysv/linux/semop.c: Likewise.
322 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
323 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
324 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
325 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
326 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
327 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
328 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
329 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
330 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
331 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
332 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
333 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
335 2000-07-26 Ulrich Drepper <drepper@redhat.com>
337 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
339 * locale/C-ctype.c: Likewise.
340 * wcsmbs/wcsmbsload.c: Likewise.
342 2000-07-26 Greg McGary <greg@mcgary.org>
344 * Makeconfig (+link-bounded, link-libc-bounded,
345 link-extra-libs-bounded): New variables.
346 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
347 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
348 * Rules (tests-bp.out): New variable.
349 (tests): Conditionally add BP tests.
350 (binaries-bounded): Add variable and associated rule.
351 * csu/Makefile [build-bounded] (extra-objs, install-lib):
352 Move conditional stuff after place where condition is defined.
354 * malloc/malloc.c (bp-checks.h): Add #include.
355 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
356 (_bin_at): Add unbounded version of bin_at.
357 (IAV, chunk_alloc): Use unbounded _bin_at.
358 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
359 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
360 Wrap BOUNDED_N around return value.
361 (chunk_realloc): Adjust oldsize once.
363 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
364 (__ubp_memchr): Add correct decl.
365 (_CHECK_STRING): Use __ubp_memchr.
366 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
367 New alias for unbounded-pointer __memchr.
368 * sysdeps/i386/memchr.S: Likewise.
369 * sysdeps/ia64/memchr.S: Likewise.
370 * sysdeps/m68k/memchr.S: Likewise.
371 * sysdeps/sparc/sparc32/memchr.S: Likewise.
372 * sysdeps/sparc/sparc64/memchr.S: Likewise.
373 * sysdeps/vax/memchr.s: Likewise.
375 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
376 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
377 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
378 * sysdeps/i386/i686/strtok.S: Likewise.
379 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
380 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
382 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
383 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
385 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
386 bounds of copy_result to mount_proc.
388 2000-07-25 Bruno Haible <haible@clisp.cons.org>
390 * wctype/wctype.h (__wctrans_l): New declaration.
391 * wctype/wctrans_l.c: New file.
392 * wctype/Makefile (routines): Add wctrans_l.
394 2000-07-26 Ulrich Drepper <drepper@redhat.com>
396 * posix/fnmatch_loop.c: Fixes for use outside glibc.
397 Patch by MacGyver <macgyver@tos.net>.
399 2000-07-26 Andreas Jaeger <aj@suse.de>
401 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
402 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
403 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
405 * rt/tst-aio.c (test_file): Fix typo.
406 * rt/tst-aio64.c (test_file): Likewise.
408 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
409 * rt/Makefile: Add rules to build and run tst-aio3.
411 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
412 it's not needed and confuses only.
414 2000-07-26 Ulrich Drepper <drepper@redhat.com>
416 * resolv/res_init.c: Add support for nameserver communication with
418 * resolv/res_send.c: Likewise.
419 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
421 Patch by <venaas@nvg.ntnu.no>.
423 2000-07-25 Bruno Haible <haible@clisp.cons.org>
425 * locale/programs/ld-ctype.c (wctype_table_get): New function.
426 (wcwidth_table_get): New function.
427 (wcwidth_table_add): Call it.
428 (wctrans_table_get): New function.
429 (wctrans_table_add): Call it.
431 2000-07-25 Ulrich Drepper <drepper@redhat.com>
433 * rt/lio_listio.c (lio_listio): Always disable individual
435 * rt/Makefile: Add rules to build and run tst-aio2.
436 * rt/tst-aio2.c: New file.
438 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
439 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
441 2000-07-25 Mark Kettenis <kettenis@gnu.org>
443 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
444 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
445 leading and trailing spaces from host, user and domain name.
447 2000-07-25 Jes Sorensen <jes@linuxcare.com>
449 * csu/defs.awk: Add support for need_endp.
451 2000-07-25 Mark Kettenis <kettenis@gnu.org>
453 * resolv/resolv.h: Remove __P from res_send_qhook and
454 res_send_rhook typedefs.
456 2000-07-25 Bruno Haible <haible@clisp.cons.org>
458 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
460 2000-07-25 Ulrich Drepper <drepper@redhat.com>
462 * iconv/gconv_builtin.h: Add WCHAR_T alias.
464 2000-07-25 Mark Kettenis <kettenis@gnu.org>
466 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
467 calling thread, set the cancellation flag and return success
470 2000-07-25 Ulrich Drepper <drepper@redhat.com>
472 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
473 * libio/tst-widetext.c: New file.
474 * libio/tst-widetext.input: New file.
476 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
478 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
479 empty external buffer correctly.
481 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
483 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
484 __STRING(entry) and not #entry.
485 (_RTLD_EPILOGUE): Likewise.
486 * sysdeps/mips/mips64/dl-machine.h: Likewise.
488 2000-07-25 Andreas Jaeger <aj@suse.de>
490 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
491 according to changes in test program, run also with static only
493 ($(objpfx)tst-printf.out): Likewise.
495 * stdio-common/tst-unbputc.sh: Likewise.
496 * stdio-common/tst-printf.sh: Likewise.
498 2000-07-25 Ulrich Drepper <drepper@redhat.com>
500 * libio/wfileops.c (_IO_wdo_write): Correct return value.
502 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
505 * libio/fileops.c: Pretty print.
507 2000-07-23 Bruno Haible <haible@clisp.cons.org>
509 * wctype/wchar-lookup.h: New file.
510 * wctype/iswctype.c: Include "wchar-lookup.h".
511 (__iswctype): Support alternate locale format with 3-level tables.
512 * wctype/iswctype_l.c (__iswctype_l): Likewise.
513 * wctype/towctrans.c (__towctrans): Likewise.
514 * wctype/towctrans_l.c (__towctrans_l): Likewise.
515 * wctype/wcfuncs.c: Include "wchar-lookup.h".
516 (__ctype32_wctype, __ctype32_wctrans): Declare external.
517 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
518 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
519 __iswxdigit, towlower, towupper): Support alternate locale format
521 * wctype/wcextra.c (iswblank): Likewise.
522 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
523 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
524 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
525 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
526 format with 3-level tables.
527 * wctype/wcextra_l.c (__iswblank_l): Likewise.
528 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
529 format, return a 3-level table pointer.
530 * wctype/wctype_l.c (__wctype_l): Likewise.
531 * wctype/wctrans.c (wctrans): Likewise.
532 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
533 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
534 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
535 (iswctype): Remove macro definition.
536 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
537 (internal_wcwidth): Support alternate locale format with 3-level
539 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
541 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
542 Define them as being type "word".
543 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
544 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
545 __ctype32_width): New exported variables.
546 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
547 alternate locale format. Don't initialize __ctype_names and
548 __ctype_width in the alternate locale format.
549 * locale/programs/localedef.h (oldstyle_tables): New declaration.
550 * locale/programs/localedef.c (oldstyle_tables): New variable.
551 (OPT_OLDSTYLE): New macro.
552 (options): Add --old-style option.
553 (parse_opt): Handle --old-style option.
554 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
555 map_offset, class_3level, map_3level, width_3level members.
556 (ctype_output): Support for alternate locale format: Computation of
557 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
558 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
559 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
560 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
561 now contain both class and map tables.
562 (struct wctype_table): New type.
563 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
565 (struct wcwidth_table): New type.
566 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
568 (struct wctrans_table): New type.
569 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
571 (allocate_arrays): Support for alternate locale format: Set
572 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
573 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
574 to the first 256 characters. Compute ctype->map_3level. Set
575 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
576 instead of ctype->width.
578 2000-07-24 Ulrich Drepper <drepper@redhat.com>
580 * libio/iogetwline.c (_IO_getwline_info): Use wide character
583 2000-07-24 Jakub Jelinek <jakub@redhat.com>
585 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
586 in wide characters, not bytes.
587 * libio/tst_putwc.c (do_test): Add test for writing lots of data
590 2000-07-22 Bruno Haible <haible@clisp.cons.org>
592 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
593 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
594 LC_MEASUREMENT, LC_IDENTIFICATION.
596 * locale/xlocale.h (struct __locale_struct): Increase size of
598 * locale/duplocale.c (__duplocale): Copy newly added categories as
600 * locale/freelocale.c (__freelocale): Free newly added categories.
601 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
602 If a base is given, use it, don't simply return it.
604 2000-07-22 Bruno Haible <haible@clisp.cons.org>
606 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
607 variables, copied_key and copied_salt, instead of boolean variables.
609 2000-07-24 Andreas Jaeger <aj@suse.de>
611 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
614 * grp/initgroups.c (initgroups_dyn_function): Renamed from
615 initgroups_function, adopted prototype for change from 2000-07-23.
616 (initgroups): Follow type change.
618 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
619 & PAGE_MASK case, reformat.
621 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
622 from stdin and setup environment.
624 2000-07-24 Andreas Schwab <schwab@suse.de>
626 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
628 2000-07-23 Ulrich Drepper <drepper@redhat.com>
630 * string/endian.h: Explain the _*_ENDIAN constant values a bit
631 more. Patch by scarlet@mit.edu [PR libc/1799].
633 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
636 * argp/argp-parse.c (parser_finalize): Reverse order in which
637 parsers are run for ARGP_KEY_END. [PR libc/1755].
639 * grp/initgroups.c (initgroups): Don't limit the possible number
640 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
641 the setgroups call while the call fails and descrease the number
642 of groups each round.
643 The name of the initgroups function in the NSS modules changed.
644 (compat_call): Adapt for dynamic resizing.
645 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
646 Implement dynamic resizing.
647 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
649 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
650 * hesiod/Versions: Change exported interface name.
651 * nis/Versions: Change exported interface name.
653 2000-07-23 Ulrich Drepper <drepper@redhat.com>
655 * locale/iso-639.def: Some errors corrected.
656 Patch by Keld Simonsen.
658 * include/limits.h: Update non-gcc portion.
659 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
661 2000-07-22 Mark Kettenis <kettenis@gnu.org>
663 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
664 program's data space, reallocate only the space that was just
665 deallocated to release its backing space.
667 2000-07-23 Ulrich Drepper <drepper@redhat.com>
669 * stdio-common/vfprintf.c (process_string_arg): For wide character
670 version, handle precision also correctly.
672 * nss/nss_files/files-hosts.c: Correct problem with three or more
673 entries with the same name.
675 * nss/nss_files/files-hosts.c: Implement multi handling.
676 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
678 2000-07-22 Ulrich Drepper <drepper@redhat.com>
680 * nss/nss_files/files-parse.c: Don't pollute namespace by using
683 * grp/Makefile: Change Makefiles and tests to run only when necessary.
684 * malloc/Makefile: Likewise.
685 * malloc/tst-mtrace.sh: Likewise.
686 * posix/Makefile: Likewise.
687 * posix/globtest.sh: Likewise.
688 * posix/wordexp-tst.sh: Likewise.
689 * string/Makefile: Likewise.
691 2000-07-22 Mark Kettenis <kettenis@gnu.org>
693 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
694 size instead of LC_ALL to take into account the new locale
697 2000-07-22 Ulrich Drepper <drepper@redhat.com>
699 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
700 remainders of hash table.
701 * locale/categories.def: Remove remainders of transliteration
703 * locale/langinfo.h: Likewise.
704 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
705 transliteration tables.
707 * locale/gen-translit.pl: New file.
708 * locale/C-translit.h.in: New file.
709 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
710 data pointers with data from this file.
711 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
713 Add rule to generate C-translit.h.
714 * intl/tst-translit.c (main): Update for now performed
717 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
718 (it's no input error).
719 * stdio-common/tstscanf.c: Add test case for format %f with input --.
720 * stdio-common/scanf12.c: Correct expected result for first scanf.
722 * stdio-common/vfprintf.c (process_string_arg): Correct handling
723 of multibyte character strings in %s format with precision.
725 2000-07-21 Ulrich Drepper <drepper@redhat.com>
727 * locale/programs/ld-collate.c (collate_read): Allow collating
728 symbols and elements be named in reorder-after instructions.
729 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
731 * locale/programs/ld-collate.c (handle_ellipsis): Test for
732 duplication with generated name, not the name of the first
734 Patch by Yong Li <yong.li@asu.edu>.
736 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
737 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
739 2000-07-21 Wolfram Gloger <wg@malloc.de>
741 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
742 allocations only if a non-main arena cannot be extended.
744 2000-07-21 Ulrich Drepper <drepper@redhat.com>
746 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
747 in DF_1_NODEFLIB handling.
749 2000-07-21 Andreas Jaeger <aj@suse.de>
751 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
754 * libio/fwide.c: Include <wchar.h> for prototype.
756 2000-07-21 Greg McGary <greg@mcgary.org>
758 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
759 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
760 Define in terms of chunk_at_offset.
761 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
762 (next_bin, prev_bin): offset by size of real array elements.
763 (chunk_align): Make `m' a scalar, since that's how it's used.
765 2000-07-21 Greg McGary <greg@mcgary.org>
767 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
769 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
770 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
771 Wrap bounds around argv & envp and each of their string members.
772 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
773 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
774 symbol in BP_SYM (). Discard bounds of address arg.
775 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
776 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
777 Discard bounds on address arg, add bounds to return value.
779 2000-07-20 Ulrich Drepper <drepper@redhat.com>
781 * elf/Makefile (tests): Add filter. Add rules to generate filter.
782 * elf/filter.c: New file.
783 * elf/filtmod1.c: New file.
784 * elf/filtmod2.c: New file.
786 * elf/rtld.c: Define _dl_bind_not variable.
787 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
788 * elf/dl-support.c: Likewise.
789 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
790 * elf/dl-runtime.c (fixup): Don't remember looked up value if
792 (profile_fixup): Likewise.
794 * libio/Makefile (routines): Add fwide.
795 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
796 fwide now. Internal calls to _IO_fwide must do locking themselves
797 or don't need locking.
798 * libio/fwide.c: New file.
800 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
802 * elf/Makefile: Add no modules for nodelete test.
803 * elf/nodelmod3.c: New file.
804 * elf/nodelmod4.c: New file.
805 * elf/nodelete.c: Also test case where dependency of dlopen() object
808 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
809 * elf/nodlopen.c: New file.
810 * elf/nodlopenmod.c: New file.
811 * include/dlfcn.h: Define __RTLD_DLOPEN.
812 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
813 and this is a dlopen() call, do not load the binary.
814 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
815 * dlfcn/dlopenold.c: Likewise.
816 * configure.in: Add test for -z nodelete option.
817 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
819 2000-07-20 Mark Kettenis <kettenis@gnu.org>
821 Make Hesiod NSS module thread-safe.
823 * hesiod/README.hesiod: Update.
825 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
826 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
827 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
828 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
830 * hesiod/nss_hesiod/hesiod-init.c: New file.
831 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
832 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
833 * hesiod/nss_hesiod/nss_hesiod.h: New file.
834 * hesiod/nss_hesiod/hesiod-service.c
835 (_nss_hesiod_getservbyport_r): New function. Provide support for
836 looking up services by port number.
837 * hesiod/nss_hesiod/hesiod-proto.c: New file.
839 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
840 * hesiod/hesiod.h: Likewise.
841 * hesiod/hesiod_p.h: Likewise.
843 2000-07-20 Mark Kettenis <kettenis@gnu.org>
845 Fix problems with `struct __res_state' getting too big.
846 * resolv/resolv.h (struct __sockaddr_in): New definition.
847 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
848 the private parts of the structure to save some space.
849 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
850 (struct sockaddr_in *) in call to sock_eq.
851 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
853 2000-07-20 Ulrich Drepper <drepper@redhat.com>
855 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
856 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
858 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
859 to _dl_map_object. Return immediately if no object loaded.
860 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
861 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
862 if it exists into l_flags_1 word.
863 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
864 it to determine whether loading is wanted or not.
865 (_dl_map_object): Likewise.
866 Call _dl_map_object_from_fd with new parameter.
867 * sysdeps/generic/ldsodefs.h: Update prototype.
868 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
869 * elf/rtld.c: Likewise.
870 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
871 * elf/Makefile (tests): Add noload. Add rules to generate noload.
872 * elf/noload.c: New file.
873 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
874 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
875 * sysdeps/mips/bits/dlfcn.h: Likewise.
876 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
877 (tests-nodelete-yes): Define.
878 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
879 Add rules to build nodelete and modules.
880 * elf/nodelete.c: New file.
881 * elf/nodelmod1.c: New file.
882 * elf/nodelmod2.c: New file.
883 * configure.in: Add test for -z nodelete option.
884 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
886 * libio/Makefile (tests): Add tst_wprintf2.
887 (tst_wprintf2-ARGS): Define.
888 * libio/tst_wprintf2.c: New file.
889 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
891 * libio/wfiledoalloc.c: Only allocate external buffer if this
894 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
895 something in the buffer. gconv call can write up to end of the
896 buffer, not only _IO_write_end.
897 (_IO_wfile_overflow): Allocate also external buffer.
899 2000-07-19 Ulrich Drepper <drepper@redhat.com>
901 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
902 strings with precision in vfwprintf correctly.
903 * stdio-common/vfprintf.c: Fix completely broken handling of
904 unbuffered wide character streams.
905 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
907 * resolv/Makefile (distribute): Add README.
909 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
911 2000-07-18 Mark Kettenis <kettenis@gnu.org>
913 Update resolver code to BIND 8.2.3-T5B.
915 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
917 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
918 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
920 * resolv/Banner: BIND-8.2.3-T5B.
922 * resolv/base64.c: Update from BIND 8.2.3-T5B.
923 * resolv/herror.c: Likewise.
924 * resolv/inet_addr.c: Likewise.
925 * resolv/inet_net_ntop.c: Likewise.
926 * resolv/inet_net_pton.c: Likewise.
927 * resolv/inet_neta.c: Likewise.
928 * resolv/inet_ntop.c: Likewise.
929 * resolv/nsap_addr.c: Likewise.
930 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
931 IPv6 addresses (ISC bug #520).
933 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
934 * resolv/ns_parse.c: Likewise.
935 * resolv/ns_netint.c: Likewise.
936 * resolv/ns_samedomain.c: Likewise.
937 * resolv/ns_ttl.c: Likewise.
938 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
939 RCS ID in object file.
941 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
942 * resolv/res_mkquery.c: Likewise.
943 * resolv/res_query.c: Likewise.
944 * resolv/res_init.c: Likewise.
945 (res_setoptions): Mark internal.
946 * resolv/res_send.c: Likewise.
947 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
948 by using poll instead.
949 * resolv/res_comp.c: Likewise.
950 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
951 weak alias for __dn_expand.
952 * resolv/res_data.c: Likewise.
953 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
954 in _res.options. Avoids a potential security risk by avoiding a
956 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
957 res_mkquery, res_query, res_querydomain adn res_search weak
958 aliases for __res_mkquery, __res_query, __res_querydomain and
960 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
961 instead to avoid close(0).
962 (res_init): Always use the static resolver context.
963 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
964 alias for __res_init.
966 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
967 RES_SET_H_ERRNO and accompanying comment to...
968 * include/resolv.h: ... here.
970 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
971 * resolv/arpa/nameser_compat.h: Likewise.
973 2000-07-18 Ulrich Drepper <drepper@redhat.com>
975 * nss/makedb.c (main): Compare result of load_db with
976 NSS_STATUS_SUCCESS and not 0.
977 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
979 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
981 2000-07-18 Greg McGary <greg@mcgary.org>
983 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
984 (EXTEND_BUFFER): Use it.
986 2000-07-18 Ulrich Drepper <drepper@redhat.com>
988 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
989 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
990 __builtin_return_address.
991 * dlfcn/dlopenold.c: Likewise.
992 * dlfcn/dlsym.c: Likewise.
993 * dlfcn/dlvsym.c: Likewise.
994 * elf/dl-profstub.c: Likewise.
995 * malloc/malloc.c: Likewise.
996 * sysdeps/generic/machine-gmon.h: Likewise.
997 Based on a patch by schwidefsky@de.ibm.com.
999 2000-07-18 Andreas Jaeger <aj@suse.de>
1001 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
1002 NULL to elf_machine_fixup_plt t argument to silence GCC.
1004 * include/string.h: Add prototype for __memchr.
1006 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
1008 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
1011 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1013 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
1015 * locale/C-ctype.c: Add initializers for gap elements.
1016 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
1019 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1021 * nscd/nscd.c (print_version): Update copyright year.
1023 2000-07-17 Greg McGary <greg@mcgary.org>
1025 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1026 keyletters F, I, S, W. Remove unused keyletter V. Surround
1027 signature argnames with angle-brackets for use as word delimiters,
1028 and to induce syntax errors for any args not handled. Split
1029 multi-echo echoes and comment each stage.
1030 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
1031 * sysdeps/unix/inet/syscalls.list: Likewise.
1032 * sysdeps/unix/mman/syscalls.list: Likewise.
1033 * sysdeps/unix/syscalls.list: Likewise.
1034 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1035 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1036 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1037 * sysdeps/unix/sysv/syscalls.list: Likewise.
1038 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
1040 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
1041 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
1042 qualifiers. Don't check NULL-terminator of argv & envp.
1043 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
1044 unbounded pointer type in word-size assertion.
1045 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
1046 cases to stifle warnings.
1048 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
1050 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1052 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
1053 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
1056 * Makerules (o-objects): Supplement with $(o-objects$o).
1057 * string/Makefile (o-objects.ob): Add variable to pull
1058 unbounded versions of memcpy, memset and memchr into libc_b.
1060 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
1061 rather than non-existent __ubp_memchr.
1062 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
1063 (_CHECK_STRING, _CHECK_N): New macros.
1064 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
1065 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
1066 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
1067 Add weak alias "memchr".
1068 * sysdeps/generic/memchr.c: Likewise.
1069 * sysdeps/i386/memchr.S: Likewise.
1070 * sysdeps/ia64/memchr.S: Likewise.
1071 * sysdeps/m68k/memchr.S: Likewise.
1072 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1073 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1074 * sysdeps/vax/memchr.s: Likewise.
1076 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
1078 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
1079 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
1080 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
1081 __BOUNDED_POINTERS__.
1082 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
1083 for __BOUNDED_POINTERS__.
1085 2000-07-17 Bruno Haible <haible@clisp.cons.org>
1087 * iconv/gconv_open.c (__gconv_open): Initialize the __data
1088 field of struct __gconv_trans_data differently. Don't pass NULL to
1089 trans_init_fct. Simplify list append operation.
1091 2000-07-14 Bruno Haible <haible@clisp.cons.org>
1093 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
1094 not only those having tsearch.
1096 2000-07-17 Ulrich Drepper <drepper@redhat.com>
1098 * locale/langinfo.h: Add placeholder values in enum for removed
1101 2000-07-17 Jakub Jelinek <jakub@redhat.com>
1103 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
1104 chain if the PHDR check fails.
1106 2000-07-17 Mark Kettenis <kettenis@gnu.org>
1108 * nss/getent.c (print_hosts): Make sure we always print a space
1109 between numeric addresses and hostnames.
1111 2000-07-17 Wolfram Gloger <wg@malloc.de>
1113 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
1114 i.e. if n_mmaps_max>0.
1116 2000-07-16 Mark Kettenis <kettenis@gnu.org>
1118 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
1119 values to remove possible clash with other AI_* constants.
1120 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
1121 hexadecimal constants to stress the fact they're in fact
1124 2000-07-15 Mark Kettenis <kettenis@gnu.org>
1126 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
1127 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
1128 instead of res_init.
1130 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1132 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
1133 parameters of memset calls to avoid warnings.
1135 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1137 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
1140 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
1141 Patch by Greg McGary <greg@mcgary.org>.
1143 * io/Makefile (tests): Add tst-getcwd.
1144 * io/tst-getcwd.c: New file.
1146 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
1148 2000-07-15 Jakub Jelinek <jakub@redhat.com>
1150 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
1153 2000-07-13 Jakub Jelinek <jakub@redhat.com>
1155 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
1156 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
1158 2000-07-12 H.J. Lu <hjl@gnu.org>
1160 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
1162 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
1163 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
1164 (sysdep-routines): Add clone2.
1165 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
1167 2000-07-13 Jes Sorensen <jes@linuxcare.com>
1169 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
1170 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
1172 2000-06-05 David Mosberger <davidm@hpl.hp.com>
1174 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
1175 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
1176 Change type of si_band from "int" to "long".
1177 (si_imm) [USE_GNU]: Define
1178 (si_isr) [USE_GNU]: Ditto.
1179 (ILL_BREAK) [USE_GNU]: Ditto.
1180 (FPE_DECOVF) [USE_GNU]: Ditto.
1181 (FPE_DECDIV) [USE_GNU]: Ditto.
1182 (FPE_DECERR) [USE_GNU]: Ditto.
1183 (FPE_INVASC) [USE_GNU]: Ditto.
1184 (FPE_INVDEC) [USE_GNU]: Ditto.
1185 (TRAP_BRANCH) [USE_GNU]: Ditto.
1186 (TRAP_HWBKPT) [USE_GNU]: Ditto.
1188 2000-07-06 Jes Sorensen <jes@linuxcare.com>
1190 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1191 bits/sigcontext as struct mcontext does not depend on it.
1193 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
1195 2000-07-04 Jes Sorensen <jes@linuxcare.com>
1197 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
1199 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
1201 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
1203 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1205 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
1207 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1209 * intl/Makefile (test-srcs): Add tst-translit.
1211 Add rules to build and run tst-translit.
1212 * intl/tst-translit.c: New file.
1213 * intl/tst-translit.sh: New file.
1214 * intl/translit.po: New file.
1216 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1218 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
1219 transliteration function did its job, continue, don't stop.
1221 * iconvdata/iso646.c: Little optimizations in body for conversion
1224 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1226 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
1228 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1230 * configure.in: Check for pwd binary.
1231 * config.make.in: Add PWD_P to be subsituted.
1232 * Makerules: Use $(PWD_P) instead of /bin/pwd.
1234 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1236 * iconvdata/Makefile (modules): Add GB18030.
1237 (distribute): Add gb18030.c.
1238 * iconvdata/gconv-modules: Add entries for GB18030 module.
1239 * iconvdata/gb18030.c: New file.
1240 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
1243 2000-07-13 Andreas Jaeger <aj@suse.de>
1245 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
1248 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
1249 * inet/getnetgrent.c (free_mem): Likewise.
1250 * misc/mntent.c (free_mem): Likewise.
1251 * nss/getXXbyYY.c (free_mem): Likewise.
1252 * nss/getXXent.c (free_mem): Likewise.
1253 * pwd/fgetpwent.c (free_mem): Likewise.
1254 * shadow/fgetspent.c (free_mem): Likewise.
1256 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1258 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
1259 64-bit architecture correctly [PR libc/1794].
1261 2000-07-13 Ulrich Drepper <drepper@redhat.com>
1263 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
1264 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
1265 report that we are out of memory.
1266 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1267 * elf/dl-libc.c (dlerror_run): Likewise.
1268 * elf/dl-open.c (_dl_open): Likewise.
1269 * elf/rtld.c (dl_main): Likewise.
1270 * elf/dl-error.c: Define _dl_out_of_memory.
1271 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
1273 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
1276 * dlfcn/dlerror.c (free_key_mem): Also free error string.
1278 * iconv/loop.c: Fix comment.
1280 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
1282 2000-07-13 Andreas Jaeger <aj@suse.de>
1284 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
1285 getcwd (NULL, size) with size > 0.
1286 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
1288 2000-07-13 Andreas Jaeger <aj@suse.de>
1290 * posix/Makefile: Remove build rules for libposix.
1292 2000-07-13 Andreas Schwab <schwab@suse.de>
1294 * sysdeps/generic/glob.c (glob): Fix memory leak.
1295 [SHELL]: Remove reference to undefined variable `files'.
1298 2000-07-13 Andreas Jaeger <aj@suse.de>
1300 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
1303 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
1304 memory if it was allocated.
1306 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1308 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
1311 * iconv/gconv_open.c (__gconv_open): Reapply
1312 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1314 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1316 * iconv/gconv_open.c: Undo last two changes for now. They break
1319 2000-07-12 Andreas Jaeger <aj@suse.de>
1321 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
1323 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
1324 (CFLAGS-dl-cache.c): Likewise.
1325 (CFLAGS-ldconfig.c): Added, passes directory locations.
1327 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
1329 * elf/ldconfig.c (LD_SO_CONF): Likewise.
1330 (main): Use configured LIBDIR and SLIBDIR.
1332 2000-07-11 Jakub Jelinek <jakub@redhat.com>
1334 * math/bits/cmathcalls.h (cimag): Add __THROW.
1335 (creal, conj): Likewise.
1336 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
1339 2000-07-12 H.J. Lu <hjl@gnu.org>
1341 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
1342 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
1344 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1346 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
1349 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1351 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1353 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1355 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1358 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1360 * iconv/gconv_open.c (__gconv_open): Initialize
1361 result->__steps[cnt].__data.
1363 2000-07-12 Mark Kettenis <kettenis@gnu.org>
1365 * nss/getent.c (services_keys): Pass port number in network byte
1366 order in call to getservbyport.
1368 2000-07-11 Andreas Jaeger <aj@suse.de>
1370 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
1372 * intl/Makefile (do-gettext-test): Likewise.
1373 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
1375 2000-07-11 Andreas Schwab <schwab@suse.de>
1377 * Makeconfig (run-program-prefix): New rule.
1378 (built-program-cmd): Use run-program-prefix.
1380 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1382 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
1383 and NOEXPR unconditionally available.
1385 2000-07-12 Greg McGary <greg@mcgary.org>
1387 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
1388 * sysdeps/posix/open64.c: Likewise.
1389 * sysdeps/generic/fegetenv.c: Likewise.
1390 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1391 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1392 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1393 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1394 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1395 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1397 2000-07-11 Greg McGary <greg@mcgary.org>
1399 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
1400 Add extra level of macro expansion.
1401 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
1402 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
1403 is available at the time `select' prototype is declared.
1404 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
1405 Collect non-versioned weak aliases. Consider only non-versioned
1406 aliases for the user-visible systemcall name. Do checks inline with
1407 call to primitive system call.
1408 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
1409 stand-alone bounds checks to suppress unused value warnings.
1410 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1412 2000-07-10 Mark Kettenis <kettenis@gnu.org>
1414 * sysdeps/mach/hurd/check_fds.c: New file. Implements
1415 file descriptor checking in SUID programs for the Hurd.
1417 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
1418 res_hostalias instead of __hostalias for thread-safety.
1420 2000-07-09 Mark Kettenis <kettenis@gnu.org>
1422 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
1423 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
1425 2000-07-10 Ulrich Drepper <drepper@redhat.com>
1427 * include/features.h: Include ISO C99 features if the compiler used
1428 is an ISO C99 compiler.
1429 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1431 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1433 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
1435 2000-07-10 Andreas Jaeger <aj@suse.de>
1437 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
1438 it's overridden by libpthreads.
1439 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1440 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1441 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1442 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1443 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1445 * malloc/Makefile: Run tst-mtrace only with shared libs.
1447 * stdio-common/Makefile: Run unbputc and tst-printf tests only
1450 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1452 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
1453 that gpreg really points to the GOT section of the calling object.
1454 Scan all PT_LOAD segments of objects for stub_pc, instead of only
1455 checking a start address of first one.
1457 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
1460 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
1462 2000-07-10 Andreas Jaeger <aj@suse.de>
1464 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
1465 (string_alias->strong_alias).
1467 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1469 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
1471 2000-07-07 Greg McGary <greg@mcgary.org>
1473 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
1474 have no names without leading underscores.
1476 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1478 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
1481 * stdio-common/Makefile (tests): Remove tst-printf here...
1482 (tests-srcs): ...and add it here.
1483 (distribute): Add tst-unbputc.sh and tst-printf.sh.
1484 Add rules to run tst-printf.sh.
1485 * stdio-common/tst-printf.c: Move code around so that there is really
1486 no further output where it's stated.
1487 * stdio-common/tst-printf.sh: New file.
1489 2000-07-07 Mark Kettenis <kettenis@gnu.org>
1491 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
1492 (do_write): Renamed from pwrite.
1493 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
1494 `struct _IO_cookie_file'.
1496 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1498 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1500 * malloc/tst-mtrace.sh: Run mtrace script.
1502 2000-07-07 Greg McGary <greg@mcgary.org>
1504 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1505 Move all three components of a bounded pointer.
1507 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1509 * locale/programs/locale.c (write_locales): Don't simply add all
1510 directories found in the subdir, test whether at least the
1511 LC_CTYPE file is in there.
1513 2000-07-06 Ulrich Drepper <drepper@redhat.com>
1515 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1516 * iconvdata/euc-kr.c: Likewise.
1518 * stdio-common/vfprintf.c (process_string_arg): Check result of
1519 wcrtomb call and bail out if it failed.
1521 * malloc/Makefile (test-srcs): Add tst-mtrace.
1522 (distribute): Add tst-mtrace.sh.
1523 Add rule to run tst-mtrace.sh.
1524 * malloc/tst-mtrace.c: New file.
1525 * malloc/tst-mtrace.sh: New file.
1527 * include/signal.h: Declare __libc_sigaction.
1528 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1529 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1530 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1531 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1532 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1533 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1534 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1536 * configure.in: Fix CFLAGS-memprofstat.c definition after
1538 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1540 2000-07-06 Jakub Jelinek <jakub@redhat.com>
1542 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1543 instead of NULL to elf_machine_fixup_plt t argument.
1544 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1545 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1548 2000-07-06 Andreas Jaeger <aj@suse.de>
1550 * crypt/Makefile (LDLIBS-cert): Removed.
1551 (LDLIBS-md5c-test): Removed.
1552 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1553 ($(objpfx)md5c-test): Likewise for md5c-test.out.
1555 2000-07-06 Andreas Jaeger <aj@suse.de>
1557 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1558 of the proc system is "proc".
1560 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1561 thread library for static programs.
1563 2000-07-06 Greg McGary <greg@mcgary.org>
1565 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1567 * sysdeps/generic/strcpy.c: Add bounds checks.
1568 * sysdeps/unix/fxstat.c: Likewise.
1569 * sysdeps/unix/xstat.c: Likewise.
1570 * sysdeps/unix/common/lxstat.c: Likewise.
1571 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1572 * sysdeps/unix/sysv/linux/execve.c: Likewise.
1573 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1574 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1575 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1576 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1577 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1578 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1579 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1580 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1581 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1582 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1583 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1584 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1585 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1586 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1587 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1588 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1589 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1590 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1591 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1592 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1593 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1594 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1595 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1596 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1597 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1598 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1599 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1600 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1601 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1602 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1603 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1604 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1605 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1606 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1607 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1608 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1609 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1610 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1611 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1612 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1613 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1614 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1615 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
1616 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
1617 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1618 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
1619 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1620 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
1621 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
1622 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1623 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1624 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1625 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1626 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1627 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1628 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1629 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1630 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
1631 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1633 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1634 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
1636 * string/endian.h (__LONG_LONG_PAIR): New macro.
1637 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
1638 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1639 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1640 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1641 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1642 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1643 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1644 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1645 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1646 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1647 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1648 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1650 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
1652 2000-07-06 Andreas Jaeger <aj@suse.de>
1654 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1657 * math/test-fpucw.c: Include <stdio.h> for printf.
1659 2000-07-05 Greg McGary <greg@mcgary.org>
1661 * sysdeps/generic/bp-checks.h: New file.
1662 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
1663 with list of #include files.
1664 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1665 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
1666 Don't generate BP thunk if `V' appears in signature.
1667 Generate thunks with complete bounds checks.
1668 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
1669 * sysdeps/unix/inet/syscalls.list: Likewise.
1670 * sysdeps/unix/mman/syscalls.list: Likewise.
1671 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1672 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1673 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1674 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1676 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1678 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
1679 result. Search first in /etc/mtab (proc/mounts would be stupid).
1680 If mount not in the file fall back on /proc.
1682 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
1683 string got copied in.
1684 Patch by Solar Designer <solar@false.com>.
1686 2000-07-05 Andreas Jaeger <aj@suse.de>
1688 * manual/install.texi (Installation): Update information about
1690 (Configuring and compiling): Update for glibc 2.2.
1692 2000-07-04 Andreas Jaeger <aj@suse.de>
1694 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1695 (_FPU_IEEE): Likewise.
1697 * math/Makefile (tests): Add test-fpucw.
1699 * math/test-fpucw.c (main): New file.
1701 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1703 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
1705 * locale/programs/ld-collate.c (collate_output): Also write out the
1706 collation sequence values and the wide character string for the
1707 collation symbol table.
1709 * posix/fnmatch.c: Include "../locale/elem-hash.h".
1710 * posix/fnmatch_loop.c: Implement collating symbol handling.
1711 * posix/tst-fnmatch.input: Add more tests, especially for collating
1714 * posix/regex.c: Fix comment.
1716 2000-07-05 Andreas Jaeger <aj@suse.de>
1718 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
1719 (_FPU_GETCW): Remove extra colon.
1720 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1722 * posix/fnmatch_loop.c (FCT): Only declare len if
1723 !WIDE_CHAR_VERSION to silence GCC.
1725 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
1727 * sysdeps/generic/strchrnul.c: Likewise.
1728 * sysdeps/generic/strlen.c: Likewise.
1729 * sysdeps/generic/strchr.c: Likewise.
1730 * sysdeps/generic/memchr.c: Likewise.
1732 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1734 * posix/fnmatch_loop.c: Implement equivalence class handling.
1735 * posix/tst-fnmatch.input: Add tests for equivalence class
1738 * posix/fnmatch_loop.c: Improve performance for single-byte
1739 character sets by not using btowc.
1741 * posix/tst-fnmatch.input: Add tests for locale dependent
1743 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
1745 * posix/tst-fnmatch.input: Add more test cases.
1747 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
1748 are not aligned to alignof(md5_uint32) do it before calling
1749 __md5_process_bytes.
1750 * crypt/md5.c: Make sure buffers are aligned.
1751 * crypt/md5.h: Likewise.
1752 Reported by Solar Designer <solar@false.com>.
1754 * crypt/Makefile: Add dependencies for test programs.
1756 * Rules: Define LC_ALL=C in environments of all programs we run.
1758 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
1760 2000-07-03 H.J. Lu <hjl@gnu.org>
1762 * locale/programs/ld-ctype.c (ctype_output): The size of iov
1763 is 2 + elem + offset, not 2 + elem + offset + 2.
1765 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1767 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
1769 * posix/Makefile (tests): Add tst-fnmatch.
1770 (tst-fnmatch-ENV): Define.
1771 * posix/tst-fnmatch.c: New file.
1772 * posix/tst-fnmatch.sh: New file.
1774 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
1776 * locale/programs/charmap.c (charmap_read): Prepend
1777 the condition filename == NULL.
1779 2000-07-03 Greg McGary <greg@mcgary.org>
1781 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
1783 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
1784 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
1786 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
1787 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
1788 (FILEBUF_LITERAL): Add cast for CHAIN init.
1789 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
1790 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1791 Revert type of `fp' to _IO_FILE*.
1792 (_IO_iter_file): Remove cast.
1793 (_IO_iter_next): Elide intermediate member reference.
1795 * sysdeps/powerpc/strchr.S: Check bounds.
1796 Wrap extern symbols in BP_SYM ().
1798 2000-07-03 Andreas Jaeger <aj@suse.de>
1800 * dlfcn/Makefile (generated): New.
1802 2000-07-03 Ulrich Drepper <drepper@redhat.com>
1804 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
1805 (__uflow): Likewise.
1806 (__underflow): Likewise.
1807 * libio/wgenops.c (__wunderflow): Likewise.
1808 * stdio-common/tst-unbputc.c: New file.
1809 * stdio-common/tst-unbputc.sh: New file.
1810 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
1812 * po/en_GB.po: New file.
1813 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
1815 2000-07-01 Andreas Jaeger <aj@suse.de>
1817 * intl/Makefile (generated-dirs): New.
1819 * elf/Makefile (generated): trusted-dirs.h is always generated,
1820 move out of build-shared condition.
1821 (generated): Merge the two entries for build-shared.
1823 2000-07-01 Ulrich Drepper <drepper@redhat.com>
1825 * debug/Makefile (distribute): Add xtrace.sh.
1827 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1829 * version.h (VERSION): Bump to 2.1.91.
1831 * configure.in: Update warning comment. glibc should not be
1834 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
1835 ioperm.c, sys/procfs.h, and sys/io.h.
1837 * sysdeps/powerpc/Dist: Add bp-asm.h.
1839 * assert/Depend: Add localedata.
1840 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
1841 (test-assert-perr-ENV): New. Define LANGUAGE=C.
1843 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
1844 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
1845 relocation address to prevent unaligned trap.
1846 Suggested by Richard Henderson <rth@cygnus.com>.
1848 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1850 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
1851 if redirecting and either redirection is done using defines or
1854 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1856 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
1857 generated expressions.
1858 Patch by Darren McClelland <dmcclell@zetec.com>.
1860 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
1861 since zic uses setlocale and gettext but we cannot make it use the
1862 new locale data since zic calls a shell which might not use the
1865 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
1866 handling the internation currency symbol. POSIX says that the
1867 fourth character is used to separate the currency symbol from the
1868 value. Therefore it does not have to be printed. But we cannot
1869 remove the space if the currency symbol is printed before the
1870 number since this is what many locales expect.
1872 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
1873 whether this information is available.
1875 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
1876 buffers in case the translation is too large. Remember allocated
1877 memory blocks in a list.
1878 (free_mem): Free memory for translations.
1880 * intl/tst-gettext.c: Use correct locale. Improve error messages.
1882 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
1883 information is available set the string length to zero.
1885 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
1887 2000-06-30 Greg McGary <greg@mcgary.org>
1889 * sysdeps/powerpc/bp-asm.h: New file.
1890 * sysdeps/powerpc/__longjmp.S: Check bounds.
1891 Wrap extern symbols in BP_SYM ().
1892 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
1893 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
1894 * sysdeps/powerpc/setjmp.S: Likewise.
1895 * sysdeps/powerpc/add_n.S: Likewise.
1896 * sysdeps/powerpc/addmul_1.S: Likewise.
1897 * sysdeps/powerpc/lshift.S: Likewise.
1898 * sysdeps/powerpc/rshift.S: Likewise.
1899 * sysdeps/powerpc/mul_1.S: Likewise.
1900 * sysdeps/powerpc/sub_n.S: Likewise.
1901 * sysdeps/powerpc/submul_1.S: Likewise.
1902 * sysdeps/powerpc/strlen.S: Likewise.
1903 * sysdeps/powerpc/memset.S: Likewise.
1904 * sysdeps/powerpc/stpcpy.S: Likewise.
1905 * sysdeps/powerpc/strcmp.S: Likewise.
1906 * sysdeps/powerpc/strcpy.S: Likewise.
1907 * sysdeps/powerpc/elf/bzero.S: Likewise.
1909 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
1910 Line up operands column with tabs.
1912 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1914 * elf/Makefile (LDFLAGS-origtest): Actually add it.
1916 * sysdeps/ia64/htonl.S: New file.
1917 * sysdeps/ia64/htons.S: New file.
1918 * sysdeps/ia64/memcpy.S: Replace with version which does not use
1919 floating point registers.
1920 Patches by Dan Pop <Dan.Pop@cern.ch>.
1922 2000-06-30 Andreas Jaeger <aj@suse.de>
1924 * posix/Makefile (tests): tst-exec and tst-spawn only work with
1927 * io/Makefile (CFLAGS-test-lfs.c): New.
1928 (tests): Add test-lfs.
1930 * io/test-lfs.c: New file.
1932 2000-06-30 Jakub Jelinek <jakub@redhat.com>
1934 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
1937 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
1939 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
1941 2000-06-29 Jes Sorensen <jes@linuxcare.com>
1943 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
1944 alias to the fstatfs call.
1946 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
1947 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
1949 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
1950 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
1952 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
1953 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
1954 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
1955 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
1957 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
1958 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
1960 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
1961 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
1963 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
1964 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
1966 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
1968 2000-06-29 Andreas Jaeger <aj@suse.de>
1970 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
1972 (print_err_message): Likewise.
1973 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
1975 2000-06-29 Ulrich Drepper <drepper@redhat.com>
1977 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
1978 used as words is properly aligned.
1980 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
1983 2000-06-29 Greg McGary <greg@mcgary.org>
1985 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
1986 * sysdeps/unix/make-syscalls.sh: Handle signatures of
1987 length 7..9, just in case...
1988 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
1990 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
1991 (POP_ERRNO_LOCATION_RETURN): Fold insns.
1992 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
1993 (PUSH_SIGNAL_MASK): New macro.
1994 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
1995 LEAVE is unnecessary. Check bounds of jmp_buf.
1996 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
1997 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
1998 immediately before tail-call.
1999 * sysdeps/i386/setjmp.S: Likewise.
2000 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2001 * sysdeps/i386/bsd-setjmp.S: Likewise.
2003 2000-06-29 Jakub Jelinek <jakub@redhat.com>
2005 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
2007 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2008 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2009 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2010 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2011 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2012 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2013 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
2014 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
2016 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2018 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
2019 we later need to calling free().
2020 Patch by Matt Wilson <msw@redhat.com>.
2022 * stdio-common/tst-printf.c: Add test for above problem.
2024 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
2026 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
2027 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
2029 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2031 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
2032 prototype for abs().
2033 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
2035 2000-06-23 Andreas Jaeger <aj@suse.de>
2037 * config.h.in: Don't use regparm with bounded pointers.
2039 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2041 * stdlib/grouping.h: Correctly handle multibyte thousands
2042 separator and decimal point.
2043 * stdlib/stdtod.c: Likewise.
2044 * sysdeps/generic/strtol.c: Likewise.
2046 * locale/categories.def: Add entries for wide character decimal point
2047 and thousands separator in numeric and monetary category.
2049 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2051 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
2052 second definition and initialization of decimal.
2054 2000-06-28 Greg McGary <greg@mcgary.org>
2056 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
2058 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
2059 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
2061 (_IO_JUMPS): Don't cast THIS--expect arg to be a
2062 (struct _IO_FILE_plus *).
2063 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
2064 THIS, since _IO_JUMPS no longer does it implicitly.
2065 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
2066 arg type as (struct _IO_FILE_plus *).
2067 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
2068 arg as (_IO_strfile *).
2069 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
2070 Declare 1st arg as (_IO_strfile *).
2071 * libio/fileops.c (_IO_new_file_init): Declare
2072 arg type as (struct _IO_FILE_plus *).
2073 * libio/oldfileops.c (_IO_old_file_init): Likewise.
2074 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
2075 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2076 Declare iteration pointer as (struct _IO_FILE_plus *).
2077 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
2078 (struct _IO_FILE_plus *).
2079 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
2080 * libio/oldstdfiles.c (_IO_list_all): Likewise.
2081 (_IO_check_libio): Set user-visible handles to
2082 (struct _IO_FILE_plus *).
2083 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
2084 to (struct _IO_FILE_plus *).
2086 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
2087 whose high bound includes vtable to all functions that will use
2088 vtable. For streambufs, pass pointer whose bounds include struct
2090 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
2091 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2092 * libio/iofopen.c (_IO_new_fopen): Likewise.
2093 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2094 * libio/iofopen64.c (_IO_fopen64): Likewise.
2095 * libio/iopopen.c (_IO_new_popen): Likewise.
2096 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2097 * libio/memstream.c (open_memstream): Likewise.
2098 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2099 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
2100 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2101 * libio/iofopncook.c (_IO_cookie_init): Likewise.
2102 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
2103 * libio/vasprintf.c (_IO_vasprintf): Likewise.
2104 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2105 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2106 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2107 * stdlib/strfmon.c (__strfmon_l): Likewise.
2108 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
2109 (vfprintf): Qualify computed-goto targets as unbounded.
2111 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2113 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
2114 thousands separator correctly.
2116 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
2117 * stdio-common/vfwscanf.c: Likewise.
2119 2000-06-27 Jes Sorensen <jes@linuxcare.com>
2121 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
2122 count into signatures for most calls.
2124 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2126 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
2127 the generic parser now.
2129 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2131 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
2132 table entries are 32 bit on the ia64 (as specified by the ABI),
2133 not 64 bit as on the Alpha.
2135 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
2136 change of objects to use 32 bit hash table indices (see above).
2138 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2140 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
2141 prototype for abs().
2143 2000-06-28 Wolfram Gloger <wg@malloc.de>
2145 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
2146 fails, try mmap_chunk() as a last resort even though n_mmaps_max
2147 may have been reached.
2149 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2151 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
2152 symbols in multi-character weights correctly.
2154 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
2155 depending on whether the input string is empty or not.
2157 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
2158 given state and not avoiding this by modifying a local object.
2159 * wcsmbs/wcrtomb.c: Likewise.
2161 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
2162 object since some incomplete characters might be in there.
2164 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
2165 sequences with first byte 0x8e correctly.
2167 * iconvdata/jis0208.h: Remove redundant test.
2169 2000-06-27 Ulrich Drepper <drepper@redhat.com>
2171 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
2172 Add it where it is needed now.
2174 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
2175 the input charset into account when generating the hash table.
2176 (allocate_arrays): Correct setting default width. Not all empty slots
2177 in the table are filled, only those not covert explicitly by the
2178 locale description and in the charset.
2180 * wctype/towctrans.c (__towctrans): Be graceful and accept error
2181 return values from the wctrans function.
2183 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
2184 wide character version.
2185 For %C handling, test correct pointer variable for NULL.
2187 * wcsmbs/wctob.c: Handle WEOF special.
2189 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
2191 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
2192 always-true test to avoid warning.
2194 2000-06-27 Greg McGary <greg@mcgary.org>
2196 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
2197 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
2198 (symbol_version, default_symbol_version): Factor redundant
2199 definitions out of conditional.
2201 2000-06-27 Jakub Jelinek <jakub@redhat.com>
2203 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
2206 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2208 * include/libc-symbols.h (symbol_version): Add extra level of
2210 (default_symbol_version): Likewise.
2212 2000-06-26 Greg McGary <greg@mcgary.org>
2214 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
2215 for BP return value & push implicit struct-return pointer to
2217 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2218 (SYSCALL_ERROR_HANDLER): Likewise.
2219 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2220 (SYSCALL_ERROR_HANDLER): Likewise.
2222 * Makeconfig: Add missing comment.
2223 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
2224 BP-flavored startup object.
2225 ($(objpfx)b$(start-installed-name)): New rule.
2226 * include/libc-symbols.h (symbol_set_declare): Change type
2227 of `__start_##set' and `__stop_##set' to pointer-to-function.
2228 (symbol_set_declare): Change type of `set' to array of
2229 pointer-to-function.
2230 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
2231 pointer-to-function.
2233 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
2235 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
2236 Remove clock_* and timer_* entries.
2237 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
2238 arg-count with signatures.
2240 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
2241 Check bounds of arguments.
2242 * sysdeps/i386/addmul_1.S: Likewise.
2243 * sysdeps/i386/lshift.S: Likewise.
2244 * sysdeps/i386/mul_1.S: Likewise.
2245 * sysdeps/i386/rshift.S: Likewise.
2246 * sysdeps/i386/sub_n.S: Likewise.
2247 * sysdeps/i386/submul_1.S: Likewise.
2248 * sysdeps/i386/i586/add_n.S: Likewise.
2249 * sysdeps/i386/i586/addmul_1.S: Likewise.
2250 * sysdeps/i386/i586/lshift.S: Likewise.
2251 * sysdeps/i386/i586/rshift.S: Likewise.
2252 * sysdeps/i386/i586/sub_n.S: Likewise.
2253 * sysdeps/i386/i686/add_n.S: Likewise.
2255 * sysdeps/i386/memchr.S: Likewise.
2256 * sysdeps/i386/memcmp.S: Likewise.
2257 * sysdeps/i386/rawmemchr.S: Likewise.
2258 * sysdeps/i386/i586/bzero.S: Likewise.
2259 * sysdeps/i386/i586/memcpy.S: Likewise.
2260 * sysdeps/i386/i586/mempcpy.S: Likewise.
2261 * sysdeps/i386/i586/memset.S: Likewise.
2262 * sysdeps/i386/i686/bzero.S: Likewise.
2263 * sysdeps/i386/i686/memcpy.S: Likewise.
2264 * sysdeps/i386/i686/mempcpy.S: Likewise.
2265 * sysdeps/i386/i686/memset.S: Likewise.
2267 * sysdeps/i386/stpcpy.S: Likewise.
2268 * sysdeps/i386/stpncpy.S: Likewise.
2269 * sysdeps/i386/strchr.S: Likewise.
2270 * sysdeps/i386/strchrnul.S: Likewise.
2271 * sysdeps/i386/strcspn.S: Likewise.
2272 * sysdeps/i386/strpbrk.S: Likewise.
2273 * sysdeps/i386/strrchr.S: Likewise.
2274 * sysdeps/i386/strspn.S: Likewise.
2275 * sysdeps/i386/strtok.S: Likewise.
2276 * sysdeps/i386/strtok_r.S: Likewise.
2277 * sysdeps/i386/i486/strcat.S: Likewise.
2278 * sysdeps/i386/i486/strlen.S: Likewise.
2279 * sysdeps/i386/i586/strchr.S: Likewise.
2280 * sysdeps/i386/i586/strcpy.S: Likewise.
2281 * sysdeps/i386/i586/strlen.S: Likewise.
2282 * sysdeps/i386/i686/strcmp.S: Likewise.
2283 * sysdeps/i386/i686/strtok.S: Likewise.
2284 * sysdeps/i386/i686/strtok_r.S: Likewise.
2286 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
2287 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2288 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2289 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2290 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2292 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
2293 * sysdeps/i386/mul_1.S: Likewise.
2294 * sysdeps/i386/submul_1.S: Likewise.
2295 * sysdeps/i386/i586/add_n.S: Likewise.
2296 * sysdeps/i386/i586/addmul_1.S: Likewise.
2297 * sysdeps/i386/i586/lshift.S: Likewise.
2298 * sysdeps/i386/i586/mul_1.S: Likewise.
2299 * sysdeps/i386/i586/rshift.S: Likewise.
2300 * sysdeps/i386/i586/sub_n.S: Likewise.
2301 * sysdeps/i386/i586/submul_1.S: Likewise.
2303 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2305 * rt/Makefile (librt-routines): Add clock_nanosleep.
2306 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
2307 * sysdeps/generic/clock_nanosleep.c: New file.
2308 * sysdeps/unix/clock_nanosleep.c: New file.
2309 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
2310 * time/time.h: Declare clock_nanosleep.
2312 2000-06-26 Greg McGary <greg@mcgary.org>
2314 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
2315 INSN1, INSN2, TEXT, GLOBL): Remove macros.
2316 (ALIGN): Cleanup surrounding conditionals.
2318 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
2319 Call ENTER/LEAVE macros.
2320 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
2321 * sysdeps/i386/submul_1.S: Likewise.
2323 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
2324 syntax. Define & use symbolic argument stack offsets. Call
2326 * sysdeps/i386/i586/mul_1.S: Likewise.
2327 * sysdeps/i386/i586/submul_1.S: Likewise.
2329 2000-06-25 Greg McGary <greg@mcgary.org>
2331 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
2334 2000-06-25 Ulrich Drepper <drepper@redhat.com>
2336 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
2337 * iconvdata/gen-8bit-gap.sh: Likewise.
2338 * iconvdata/gen-8bit.sh: Likewise.
2340 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
2342 * locale/programs/ld-collate.c (collate_read): Don't actually read
2343 the copy locale if we are ignoring the content.
2345 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
2348 * locale/programs/ld-collate.c: Correct handling of different
2350 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
2351 as extra parameter from which to copy category information.
2353 (load_locale): Likewise.
2354 * locale/programs/localedef.h: Update prototypes of add_to_readlist
2356 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
2357 * locale/programs/locfile.h: Likewise.
2358 * locale/programs/locfile-kw.gperf: Add entry for script.
2359 * locale/programs/locfile-token.h: Add tok_script.
2361 * locale/programs/locale.c: Update copyright year.
2362 * locale/programs/localedef.c: Likewise.
2364 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
2366 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
2367 Jens Moeller <jens.moeller@waii.com>.
2369 2000-06-24 Ulrich Drepper <drepper@redhat.com>
2371 * locale/programs/ld-name.c (name_finish): Add missing format
2372 specifier to test for name_fmt.
2374 * locale/programs/ld-address.c (iso639): Correct length of string
2376 (iso3166): Likewise.
2378 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
2380 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
2383 * elf/elf.h (NT_PRFPXREG): Define.
2385 2000-06-23 Ulrich Drepper <drepper@redhat.com>
2387 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
2388 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
2390 2000-06-23 Andreas Schwab <schwab@suse.de>
2392 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
2395 2000-06-23 Andreas Jaeger <aj@suse.de>
2397 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
2399 * io/test-stat.c: Add copyright header, mention Maciej.
2401 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
2402 SYS_mincore, SYS_madvise): Added.
2404 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
2407 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2409 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
2410 (CFLAGS-tst_putwc.c): New definition.
2411 * libio/tst_getwc.c: New file.
2412 * libio/tst_getwc.input: New file.
2413 * libio/tst_putwc.c: New file.
2415 * include/string.h: Add prototype for __strdup.
2417 2000-06-22 Greg McGary <greg@mcgary.org>
2419 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
2420 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
2423 2000-06-23 Jes Sorensen <jes@linuxcare.com>
2425 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
2427 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2429 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
2431 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2433 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
2434 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
2436 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2438 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
2439 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
2441 * sysdeps/mach/hurd/bits/stat.h: Likewise.
2442 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2443 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2444 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2445 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2446 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
2447 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2448 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2449 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2450 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2451 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2452 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2453 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
2454 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
2457 2000-06-22 Andreas Jaeger <aj@suse.de>
2459 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
2462 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
2464 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
2466 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2468 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
2471 2000-06-21 Greg McGary <greg@mcgary.org>
2473 * Makerules (elide-routines.*, elide-bp-thunks):
2474 Define unconditionally.
2476 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2478 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2480 2000-06-21 Andreas Jaeger <aj@suse.de>
2482 * io/Makefile (tests): Add test-stat.
2483 (CFLAGS-test-stat.c): New.
2485 * io/test-stat.c: New file from Maciej W. Rozycki
2486 <macro@ds2.pg.gda.pl>.
2488 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2490 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
2491 in __rlimit_resource to make them match the kernel order.
2492 rlim_t is always 64 bit, use __rlim64_t to declare it
2495 2000-05-04 Jes Sorensen <jes@linuxcare.com>
2497 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2498 RLIM_INFINITY before defining it to avoid clash with kernel header
2500 2000-05-03 Jes Sorensen <jes@linuxcare.com>
2502 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2504 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2506 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2508 2000-06-21 Andreas Jaeger <aj@suse.de>
2510 * stdio-common/temptest.c: Include <stdlib.h>.
2511 * stdio-common/tst-fileno.c: Likewise.
2512 * stdio-common/scanf4.c: Likewise.
2513 * stdio-common/scanf5.c: Likewise.
2514 * time/clocktest.c: Likewise.
2515 * posix/test-vfork.c: Likewise.
2516 * posix/globtest.c: Likewise.
2517 * io/test-utime.c: Likewise.
2518 * wctype/test_wcfuncs.c: Likewise.
2519 * crypt/cert.c: Likewise.
2521 * stdio-common/tst-printfsz.c: Include <string.h>.
2522 * libio/tst_swscanf.c: Likewise.
2523 * libio/tst_wscanf.c: Likewise.
2524 * posix/runtests.c: Likewise.
2525 * posix/tst-getaddrinfo.c: Likewise.
2526 * posix/wordexp-test.c: Likewise.
2527 * misc/tst-efgcvt.c: Likewise.
2529 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2530 * nss/test-netdb.c: Likewise.
2532 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2533 supported kernel for MIPS.
2535 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2536 * rt/aio_suspend.c: Likewise.
2538 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2540 * math/libm-test.inc: Include <string.h>.
2542 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2544 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2546 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2548 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2549 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2551 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
2553 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2555 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2557 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2559 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2561 * locale/programs/ld-collate.c (insert_value): Now take string and
2562 length instead of struct token* parameter. Adjust use of token.
2563 (handle_ellipsis): Likewise.
2564 (collate_read): Allow <Uxxxx> names and transform them into names
2565 to be passed to insert_value and handle_ellipsis.
2567 * locale/programs/ld-ctype.c (uninames): New array with names of
2568 digits in <Uxxxxxxxx> format.
2569 (ctype_finish): Correct search for space character value. Likewise
2570 for default outdigits values.
2572 2000-06-20 Greg McGary <greg@mcgary.org>
2574 * Makerules (objects): Add BP thunks.
2576 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2578 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2579 in width definitions.
2581 2000-06-20 Andreas Jaeger <aj@suse.de>
2583 * sysdeps/mips/fpu/libm-test-ulps: New file.
2585 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2588 * sysdeps/mips/fpu/feholdexcpt.c: New file.
2590 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2592 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2594 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2595 change in gconv_builtin.h.
2597 * malloc/Makefile: Change all references to memprof into memusage.
2598 * malloc/memprof.c: Rename to...
2599 * malloc/memusage.c: ...this. New file.
2600 * malloc/memprof.sh: Rename to...
2601 * malloc/memusage.sh: ...this. New file.
2602 * malloc/memprofstat.c: Rename to...
2603 * malloc/memusagestat.c: ...this. New file.
2604 * sysdeps/alpha/memprof.h: Rename to..
2605 * sysdeps/alpha/memusage.h: ...this. New file.
2606 * sysdeps/arm/memprof.h: Rename to..
2607 * sysdeps/arm/memusage.h: ...this. New file.
2608 * sysdeps/generic/memprof.h: Rename to..
2609 * sysdeps/generic/memusage.h: ...this. New file.
2610 * sysdeps/i386/memprof.h: Rename to..
2611 * sysdeps/i386/memusage.h: ...this. New file.
2612 * sysdeps/ia64/memprof.h: Rename to..
2613 * sysdeps/ia64/memusage.h: ...this. New file.
2614 * sysdeps/m68k/memprof.h: Rename to..
2615 * sysdeps/m68k/memusage.h: ...this. New file.
2616 * sysdeps/mips/memprof.h: Rename to..
2617 * sysdeps/mips/memusage.h: ...this. New file.
2618 * sysdeps/powerpc/memprof.h: Rename to..
2619 * sysdeps/powerpc/memusage.h: ...this. New file.
2620 * sysdeps/sparc/memprof.h: Rename to..
2621 * sysdeps/sparc/memusage.h: ...this. New file.
2622 * sysdeps/sh/memprof.h: Rename to..
2623 * sysdeps/sh/memusage.h: ...this. New file.
2625 * elf/sprof.c (print_version): Update year.
2627 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
2628 table entry values. Use D_PTR.
2629 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
2630 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
2632 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2634 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2635 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
2636 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
2637 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
2639 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2641 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
2643 2000-06-16 Jes Sorensen <jes@linuxcare.com>
2645 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
2646 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
2647 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
2649 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
2651 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
2654 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
2655 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
2657 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2660 2000-06-15 Jes Sorensen <jes@linuxcare.com>
2662 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2664 2000-06-08 Jes Sorensen <jes@linuxcare.com>
2666 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2668 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2670 * iconv/gconv_int.h (strict gconv_module): Remove all members
2671 associated with regular expressions. Use a simple string as the
2673 * iconv/gconv_db.c: Remove code handling regular expressions.
2674 * iconv/gconv_conf.c: Likewise.
2675 * iconv/iconv_prog.c: Likewise.
2676 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2678 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
2679 General namespace cleanup.
2680 (struct __gconv_trans_data): Add next field.
2681 (struct __gconv_step_data): Make __trans a pointer.
2682 * iconv/gconv_conf.c: Split out code to find gconv directories from
2683 __gconv_read_conf in new functions.
2684 * iconv/gconv_int.h: Define new data structure and declare new
2685 functions for handling of gconv directory list.
2686 * iconv/gconv_open.c: Allow more than one error handling step being
2687 used. Call function to load error handling module if it is none
2688 of the builtin transformations.
2689 * iconv/gconv_close.c: Add code to free transliteration data.
2690 * iconv/gconv_trans.c: Add functions to load and unload modules
2691 implementing transliteration etc.
2692 * iconv/skeleton.c: Call all context functions now that more than
2693 one module is allowed.
2694 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
2695 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
2696 where the full error handling using transliteration is needed.
2697 * iconvdata/8bit-gap.c: Likewise.
2698 * iconvdata/8bit-generic.c: Likewise.
2699 * iconvdata/ansi_x3.110.c: Likewise.
2700 * iconvdata/big5.c: Likewise.
2701 * iconvdata/big5hkscs.c: Likewise.
2702 * iconvdata/euc-cn.c: Likewise.
2703 * iconvdata/euc-jp.c: Likewise.
2704 * iconvdata/euc-kr.c: Likewise.
2705 * iconvdata/euc-tw.c: Likewise.
2706 * iconvdata/gbgbk.c: Likewise.
2707 * iconvdata/gbk.c: Likewise.
2708 * iconvdata/iso-2022-cn.c: Likewise.
2709 * iconvdata/iso-2022-jp.c: Likewise.
2710 * iconvdata/iso-2022-kr.c: Likewise.
2711 * iconvdata/iso646.c: Likewise.
2712 * iconvdata/iso8859-1.c: Likewise.
2713 * iconvdata/iso_6937-2.c: Likewise.
2714 * iconvdata/iso_6937.c: Likewise.
2715 * iconvdata/johab.c: Likewise.
2716 * iconvdata/sjis.c: Likewise.
2717 * iconvdata/t.61.c: Likewise.
2718 * iconvdata/uhc.c: Likewise.
2719 * iconvdata/unicode.c: Likewise.
2720 * iconvdata/utf-16.c: Likewise.
2721 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
2722 structure correctly after last change.
2723 * wcsmbs/btowc.c: Likewise.
2724 * wcsmbs/mbrtowc.c: Likewise.
2725 * wcsmbs/mbsnrtowcs.c: Likewise.
2726 * wcsmbs/mbsrtowcs.c: Likewise.
2727 * wcsmbs/wcrtomb.c: Likewise.
2728 * wcsmbs/wcsnrtombs.c: Likewise.
2729 * wcsmbs/wcsrtombs.c: Likewise.
2730 * wcsmbs/wctob.c: Likewise.
2732 * localedata/Makefile: Set -Wno-format for some files since gcc does
2733 not know all the format specifiers.
2735 2000-06-18 Ulrich Drepper <drepper@redhat.com>
2737 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
2739 * locale/lc-time.c (_nl_init_era_entries): Likewise.
2741 2000-06-18 Andreas Jaeger <aj@suse.de>
2743 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
2744 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2746 2000-06-17 Ulrich Drepper <drepper@redhat.com>
2748 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
2750 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2752 * locale/programs/ld-ctype.c (ctype_output): Really write out
2753 mboutdigits information.
2754 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
2755 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
2756 * localedata/tests/trans.def: Add outdigit information.
2758 * localedata/tst-mbswcs3.c: Remove comment.
2760 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
2761 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
2762 * libio/tst_wprintf.c (main): Add test for I flag.
2764 * iconv/gconv_trans.c: Implement handling if translit_ignore.
2765 * locale/langinfo.h: Add entries for translit_ignore information.
2766 * locale/categories.def: Add entries for new LC_CTYPE elements.
2767 * locale/C-ctype.c: Add initializers for new fields. Use NULL
2768 pointer instead of "" where possible.
2769 * locale/programs/ld-ctype.c: Write out translit_ignore information.
2770 * intl/Depend: Add localedata.
2771 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
2772 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
2774 2000-06-16 Ulrich Drepper <drepper@redhat.com>
2776 * locale/langinfo.h: Add entries for default_missing information.
2777 * locale/C-ctype.c: Add initializers for new fields.
2778 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
2780 * locale/categories.h: Add entries for all LC_CTYPE values.
2781 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
2784 * localedata/tst-trans.c: Write out an error message if class is
2787 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
2788 * iconv/gconv_open.c: Remove error handling specification from `from'
2790 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
2791 new parameter to always enable transliteration.
2792 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
2794 (struct locale_data): Add new members use_translit and options.
2795 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
2796 character set name contained modifier TRANSLIT.
2797 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
2799 (_nl_unload_locale): Free options string if necessary.
2800 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
2801 the locale names suggested this.
2802 * locale/C-address.c: Add two new initialilzers to adjust data
2803 structure for new format.
2804 * locale/C-collate.c: Likewise.
2805 * locale/C-ctype.c: Likewise.
2806 * locale/C-identification.c: Likewise.
2807 * locale/C-measurement.c: Likewise.
2808 * locale/C-messages.c: Likewise.
2809 * locale/C-monetary.c: Likewise.
2810 * locale/C-name.c: Likewise.
2811 * locale/C-numeric.c: Likewise.
2812 * locale/C-paper.c: Likewise.
2813 * locale/C-telephone.c: Likewise.
2814 * locale/C-time.c: Likewise.
2816 * locale/setlocale.c: Add some more __builtin_expect.
2818 2000-06-15 Ulrich Drepper <drepper@redhat.com>
2820 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
2822 (__gconv_init_fct): Remove two parameters.
2823 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
2824 gconv_transliterate. Remove two parameters.
2825 Change prototypes of builtin functions according to __gconv_fct change.
2826 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
2827 != NULL only during error handling. Stop in this case after the
2829 * iconv/gconv_trans.c: Replace with real implementation for
2830 __gconv_transliterate.
2831 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
2832 * iconv/gconv.c: Change calls to downstream functions once again.
2833 Use NULL for the fifth parameter instead of pointer to output buffer.
2834 * libio/iofwide.c: Likewise.
2835 * wcsmbs/btowc.c: Likewise.
2836 * wcsmbs/mbrtowc.c: Likewise.
2837 * wcsmbs/mbsnrtowcs.c: Likewise.
2838 * wcsmbs/mbsrtowcs.c: Likewise.
2839 * wcsmbs/wcrtomb.c: Likewise.
2840 * wcsmbs/wcsnrtombs.c: Likewise.
2841 * wcsmbs/wcsrtombs.c: Likewise.
2842 * wcsmbs/wctob.c: Likewise.
2843 * iconv/gconv_simple.c: Remove two parameters from error handling
2845 * iconvdata/8bit-gap.c: Likewise.
2846 * iconvdata/8bit-generic.c: Likewise.
2847 * iconvdata/ansi_x3.110.c: Likewise.
2848 * iconvdata/big5.c: Likewise.
2849 * iconvdata/big5hkscs.c: Likewise.
2850 * iconvdata/euc-cn.c: Likewise.
2851 * iconvdata/euc-jp.c: Likewise.
2852 * iconvdata/euc-kr.c: Likewise.
2853 * iconvdata/euc-tw.c: Likewise.
2854 * iconvdata/gbgbk.c: Likewise.
2855 * iconvdata/gbk.c: Likewise.
2856 * iconvdata/iso-2022-cn.c: Likewise.
2857 * iconvdata/iso-2022-jp.c: Likewise.
2858 * iconvdata/iso-2022-kr.c: Likewise.
2859 * iconvdata/iso646.c: Likewise.
2860 * iconvdata/iso8859-1.c: Likewise.
2861 * iconvdata/iso_6937-2.c: Likewise.
2862 * iconvdata/iso_6937.c: Likewise.
2863 * iconvdata/johab.c: Likewise.
2864 * iconvdata/sjis.c: Likewise.
2865 * iconvdata/t.61.c: Likewise.
2866 * iconvdata/uhc.c: Likewise.
2867 * iconvdata/unicode.c: Likewise.
2868 * iconvdata/utf-16.c: Likewise.
2870 2000-06-15 Greg McGary <greg@mcgary.org>
2872 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
2873 of callnum assignment. Tolerate callnum expressions containing
2876 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2878 * login/Makefile (utmpd): Remove rule to build utmpd.
2880 * csu/Versions: Move libgcc frame handling functions from here...
2881 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
2882 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
2883 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
2884 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
2885 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
2886 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
2888 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
2890 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
2892 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
2894 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
2896 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
2898 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
2899 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
2900 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
2901 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
2903 2000-06-14 Jakub Jelinek <jakub@redhat.com>
2905 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
2906 defined, terminate quotes and read them after the comment char.
2907 * configure.in (HAVE_SECTION_QUOTES): Test whether
2908 __attribute__((section ("x"))) puts quotes around x or not.
2909 * config.h.in (HAVE_SECTION_QUOTES): Add.
2910 * configure: Rebuilt.
2912 2000-06-14 Andreas Jaeger <aj@suse.de>
2914 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
2915 depending on the configure option --sysconfdir.
2916 Closes PR libc/1762.
2917 Patch by Andreas Schwab <schwab@suse.de>.
2919 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
2921 Reported by Jim Pick <jim@jimpick.com>.
2923 2000-06-14 Ulrich Drepper <drepper@redhat.com>
2925 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
2926 crashing the application. Emit some simple error message.
2927 Reported by mju@panasas.com [PR libc/1769].
2929 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2931 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
2933 * crypt/Makefile (distribute): Add md5.h.
2935 * Makefile (distribute): Add include/shlib-compat.h.
2937 * Make-dist: Search for tests also in sysdeps hierachy.
2939 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
2940 ufc.c, speeds.c, README.ufc-crypt, and Banner.
2942 * sysdeps/sparc/Subdirs: New file.
2944 * locale/Makefile (distribute): Add weightwc.h and
2945 programs/localedef.h.
2947 * time/Makefile (distribute): Add datemsk.
2949 * sysdeps/ia64/Dist: Add softpipe.h.
2951 * sysdeps/unix/sysv/aix/Dist: New file.
2953 * posix/setpgrp.c: Moved to...
2954 * sysdeps/generic/setpgrp.c: ...here. New file.
2955 * io/mknod.c: Moved to...
2956 * sysdeps/generic/mknod.c: ...here. New file.
2958 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
2960 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
2962 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
2964 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
2965 gprsave0.S, gprrest1.S, and gprrest0.S.
2967 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
2969 * posix/Makefile (routines): Add spawnattr_getsigmask,
2970 spawnattr_getschedpolicy, spawnattr_getschedparam,
2971 spawnattr_setsigmask, spawnattr_setschedpolicy, and
2972 spawnattr_setschedparam.
2973 * posix/Versions: Add posix_spawnattr_getschedpolicy,
2974 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
2975 posix_spawnattr_setschedparam.
2977 * posix/spawnattr_setschedparam.c: Fix typo.
2979 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
2982 * login/programs/utmpd.c: Removed.
2983 * login/programs/utmpd.h: Removed.
2984 * login/programs/utmpd-private.h: Removed.
2986 * Makefile (distribute): Add include/db_185.h and include/db.h.
2988 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
2991 * elf/Makefile (distribute): Add missing files.
2993 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
2994 * elf/eval.c: Moved to...
2995 * dlfcn/eval.c: ...here. New file.
2997 * Makefile (distribute): Also distribute ChangeLog.1?.
2999 * Make-dist (+tsrcs): Remove .args handling here as well.
3001 * rt/Makefile (tests): Add tst-timer.
3002 * sysdeps/generic/tst-timer.c: New file.
3004 * Makerules (sources): Don't add BP sources here.
3006 * login/Makefile (distribute): Remove xtmp.h.
3008 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
3009 is true. Reported by Bruno Haible <haible@ilog.fr>.
3011 2000-06-13 Andreas Jaeger <aj@suse.de>
3013 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
3014 Patch by Ralf Baechle <ralf@gnu.org>.
3016 2000-06-13 Ulrich Drepper <drepper@redhat.com>
3018 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
3019 for mincore syscall.
3021 * misc/sys/cdefs.h: Define __bounded and __unbounded if
3022 __BOUNDED_POINTERS__ is not defined.
3024 2000-06-07 Greg McGary <greg@mcgary.org>
3026 * sysdeps/generic/bp-sym.h: New file.
3027 * sysdeps/generic/bp-start.h: New file.
3028 * sysdeps/i386/elf/start.S: Designate BP symbols.
3029 * sysdeps/generic/libc-start.c: Wrap bounds around
3030 argv & envp and each of their string members.
3032 2000-06-07 Greg McGary <greg@mcgary.org>
3034 * sysdeps/unix/make-syscalls.sh: Add comments to
3035 output that aid debugging & comprehension.
3036 Map simple syscall signatures to number of args.
3037 Generate BP syscall thunk definitions.
3038 * sysdeps/generic/bp-thunks.h: New file.
3039 * sysdeps/unix/syscalls.list: Replace arg-count with
3040 simple return+arg signature.
3041 * sysdeps/unix/common/syscalls.list: Likewise.
3042 * sysdeps/unix/inet/syscalls.list: Likewise.
3043 * sysdeps/unix/mman/syscalls.list: Likewise.
3044 * sysdeps/unix/sysv/syscalls.list: Likewise.
3045 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3046 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3048 2000-06-07 Greg McGary <greg@mcgary.org>
3050 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
3051 for all files *.[cS].
3052 (CFLAGS-.ob): Don't optimize sibling calls.
3053 (bppfx): New variable.
3054 * Makerules (elide-bp-thunks): New variable.
3055 (elide-routines.*): Elide BP-* files for all but *.ob.
3056 (sources): Include bp-thunks.
3058 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3060 * iconv/gconv_simple.c: Remove unnecessary prototype.
3062 * iconv/gconv_trans.c: Pretty print.
3064 * elf/elf.h (R_SH_NUM): Got accidently dropped.
3066 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
3067 minimal kernel versions. Add information about IA-64 kernel.
3069 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
3070 specific minimal supported kernel versions to be specified.
3072 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
3073 step data structure.
3074 * wcsmbs/btowc.c: Likewise.
3075 * wcsmbs/mbrtowc.c: Likewise.
3076 * wcsmbs/mbsnrtowcs.c: Likewise.
3077 * wcsmbs/mbsrtowcs.c: Likewise.
3078 * wcsmbs/wcrtomb.c: Likewise.
3079 * wcsmbs/wcsnrtombs.c: Likewise.
3080 * wcsmbs/wcsrtombs.c: Likewise.
3081 * wcsmbs/wctob.c: Likewise.
3083 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
3084 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
3086 * shlib-versions: Earliest backward compatible version for SH is 2.2.
3088 * misc/sys/cdefs.h: Remove one more __P.
3090 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
3093 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
3094 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
3095 * sysdeps/sh/bits/setjmp.h: ...here. New file.
3097 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3098 Yutaka Niibe <gniibe@chroot.org>
3100 * configure.in: Add machine sh3, sh4.
3101 * elf/elf.h: Add SH specific declarations of relocations.
3102 * shlib-versions: Add sh*-*-linux* cases.
3104 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3106 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
3107 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
3108 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
3109 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
3110 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
3111 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
3113 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
3114 instead of KERNEL_MATH_EMULATION.
3115 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
3116 KERNEL_MATH_EMULATION.
3118 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
3119 * sysdeps/sh/sh3/dl-machine.h: Moved to...
3120 * sysdeps/sh/dl-machine.h: ...here. New file.
3121 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
3122 and include generic SH version.
3123 * sysdeps/sh/sh3/bits/endian.h: Move to...
3124 * sysdeps/sh/bits/endian.h: ...here. New file.
3125 * sysdeps/sh/sh4/bits/endian.h: Removed.
3126 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
3127 * sysdeps/sh/bits/huge_val.h: ...here. New file.
3128 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
3130 * include/libc-symbols.h (link_warning): Work around a change in
3131 GAS which warns about changing section attributes.
3132 Proposed by Nick Clifton <nickc@redhat.com>.
3134 2000-06-12 H.J. Lu <hjl@gnu.org>
3136 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
3138 2000-06-11 H.J. Lu <hjl@gnu.org>
3140 * sysdeps/i386/fpu/Versions: New file.
3142 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3144 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
3146 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
3149 2000-06-12 Jes Sorensen <jes@linuxcare.com>
3151 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
3152 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
3153 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
3155 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
3156 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
3157 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
3159 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3160 Yutaka Niibe <gniibe@chroot.org>
3162 * sysdeps/sh/Dist: New file.
3163 * sysdeps/sh/Implies: New file.
3164 * sysdeps/sh/elf/initfini.c: New file.
3165 * sysdeps/sh/gmp-mparam.h: New file.
3166 * sysdeps/sh/init-first.c: New file.
3167 * sysdeps/sh/machine-gmon.h: New file.
3168 * sysdeps/sh/memcpy.S: New file.
3169 * sysdeps/sh/memprof.h: New file.
3170 * sysdeps/sh/memset.S: New file.
3171 * sysdeps/sh/sh3/__longjmp.S: New file.
3172 * sysdeps/sh/sh3/bits/endian.h: New file.
3173 * sysdeps/sh/sh3/bits/huge_val.h: New file.
3174 * sysdeps/sh/sh3/bits/setjmp.h: New file.
3175 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
3176 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
3177 * sysdeps/sh/sh3/dl-machine.h: New file.
3178 * sysdeps/sh/sh3/setjmp.S: New file.
3179 * sysdeps/sh/sh4/__longjmp.S: New file.
3180 * sysdeps/sh/sh4/bits/endian.h: New file.
3181 * sysdeps/sh/sh4/bits/huge_val.h: New file.
3182 * sysdeps/sh/sh4/bits/setjmp.h: New file.
3183 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
3184 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
3185 * sysdeps/sh/sh4/dl-machine.h: New file.
3186 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
3187 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
3188 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
3189 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
3190 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
3191 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
3192 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
3193 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
3194 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
3195 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
3196 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
3197 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
3198 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
3199 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
3200 * sysdeps/sh/sh4/setjmp.S: New file.
3201 * sysdeps/sh/elf/start.S: New file.
3202 * sysdeps/sh/sys/ucontext.h: New file.
3203 * sysdeps/sh/strlen.S: New file.
3204 * sysdeps/sh/sysdep.h: New file.
3205 * sysdeps/unix/sh/sysdep.S: New file.
3206 * sysdeps/unix/sh/sysdep.h: New file.
3207 * sysdeps/unix/sysv/linux/sh/Dist: New file.
3208 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
3209 * sysdeps/unix/sysv/linux/sh/Versions: New file.
3210 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
3211 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
3212 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
3213 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
3214 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
3215 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
3216 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
3217 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
3218 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
3219 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
3220 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
3221 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
3222 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
3223 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
3224 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
3225 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
3226 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
3227 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
3228 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
3229 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
3230 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
3231 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
3232 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
3233 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
3234 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
3235 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
3236 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
3237 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
3238 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
3239 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
3240 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
3241 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
3242 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
3243 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
3244 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
3245 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
3246 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
3247 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
3248 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
3249 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
3250 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3251 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
3252 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
3253 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
3254 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
3255 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
3256 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
3258 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3260 * Rules (%.out): Define GCONV_PATH in the environment.
3261 * assert/Depend: New file.
3262 * iconvdata/Depend: New file.
3263 * intl/Depend: New file.
3264 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
3265 * intl/tst-gettext.sh: Likewise.
3266 * iconv/Makefile (routines): Add gconv_trans.
3267 * iconv/gconv_trans.c: New file.
3268 * iconv/gconv.h (struct __gconv_trans_data): New type.
3269 (__gconv_fct): New parameter with starting position in output buffer.
3270 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
3271 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
3272 (struct __gconv_step): Add new member __trans.
3273 * iconv/gconv_int.h: Pretty print prototypes.
3274 (gconv_transliterate): New prototype.
3275 (__BUILTIN_TRANS): Update for new conversion function interface.
3276 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
3277 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
3278 in names, find appropriate function, and install in the conversion
3279 steps it can be used.
3280 * iconv/skeleton.c: Add additional parameter for beginning of output
3281 buffer. Change calls of downstream functions.
3282 * iconv/loop.c: Change loop function interface completely. Pass in
3283 step and step_data structure. Remove optimization for BODY with
3284 NEED_LENGTH_TEST == 0.
3285 * iconv/gconv_simple.c: Update interfaces of functions. Insert
3286 appropriate error handling code to use transliteration steps. Remove
3287 optimization for BODY with NEED_LENGTH_TEST == 0.
3288 * iconvdata/8bit-gap.c: Likewise.
3289 * iconvdata/8bit-generic.c: Likewise.
3290 * iconvdata/ansi_x3.110.c: Likewise.
3291 * iconvdata/big5.c: Likewise.
3292 * iconvdata/big5hkscs.c: Likewise.
3293 * iconvdata/euc-cn.c: Likewise.
3294 * iconvdata/euc-jp.c: Likewise.
3295 * iconvdata/euc-kr.c: Likewise.
3296 * iconvdata/euc-tw.c: Likewise.
3297 * iconvdata/gbgbk.c: Likewise.
3298 * iconvdata/gbk.c: Likewise.
3299 * iconvdata/iso-2022-cn.c: Likewise.
3300 * iconvdata/iso-2022-jp.c: Likewise.
3301 * iconvdata/iso-2022-kr.c: Likewise.
3302 * iconvdata/iso646.c: Likewise.
3303 * iconvdata/iso8859-1.c: Likewise.
3304 * iconvdata/iso_6937-2.c: Likewise.
3305 * iconvdata/iso_6937.c: Likewise.
3306 * iconvdata/johab.c: Likewise.
3307 * iconvdata/sjis.c: Likewise.
3308 * iconvdata/t.61.c: Likewise.
3309 * iconvdata/uhc.c: Likewise.
3310 * iconvdata/unicode.c: Likewise.
3311 * iconvdata/utf-16.c: Likewise.
3312 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
3314 * wcsmbs/btowc.c: Likewise.
3315 * wcsmbs/mbrtowc.c: Likewise.
3316 * wcsmbs/mbsnrtowcs.c: Likewise.
3317 * wcsmbs/mbsrtowcs.c: Likewise.
3318 * wcsmbs/wcrtomb.c: Likewise.
3319 * wcsmbs/wcsnrtombs.c: Likewise.
3320 * wcsmbs/wcsrtombs.c: Likewise.
3321 * wcsmbs/wctob.c: Likewise.
3323 2000-04-11 Geoff Keating <geoffk@cygnus.com>
3325 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
3326 other header files. Mention about 128-byte cache line sizes.
3327 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
3328 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
3329 for current calling sequence.
3330 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
3332 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
3333 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3335 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
3336 and setrlimit syscalls for backwards compatibility.
3338 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3340 * iconv/skeleton.c: Rename converted written to correcter name
3342 * iconv/gconv.c: Rename converted variable to correcter name
3344 * iconv/gconv_int.h: Likewise.
3345 * iconv/gconv_simple.c: Likewise.
3346 * iconv/iconv.c: Likewise.
3347 * iconv/loop.c: Likewise.
3348 * iconvdata/8bit-gap.c: Likewise.
3349 * iconvdata/8bit-generic.c: Likewise.
3350 * iconvdata/ansi_x3.110.c: Likewise.
3351 * iconvdata/big5.c: Likewise.
3352 * iconvdata/big5hkscs.c: Likewise.
3353 * iconvdata/euc-cn.c: Likewise.
3354 * iconvdata/euc-jp.c: Likewise.
3355 * iconvdata/euc-kr.c: Likewise.
3356 * iconvdata/gbgbk.c: Likewise.
3357 * iconvdata/gbk.c: Likewise.
3358 * iconvdata/iso-2022-cn.c: Likewise.
3359 * iconvdata/iso-2022-jp.c: Likewise.
3360 * iconvdata/iso-2022-kr.c: Likewise.
3361 * iconvdata/iso646.c: Likewise.
3362 * iconvdata/iso8859-1.c: Likewise.
3363 * iconvdata/iso_6937-2.c: Likewise.
3364 * iconvdata/iso_6937.c: Likewise.
3365 * iconvdata/johab.c: Likewise.
3366 * iconvdata/sjis.c: Likewise.
3367 * iconvdata/t.61.c: Likewise.
3368 * iconvdata/uhc.c: Likewise.
3369 * iconvdata/unicode.c: Likewise.
3370 * iconvdata/utf-16.c: Likewise.
3372 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
3373 __cmsg_data field with __extension__.
3375 2000-06-10 David Mosberger <davidm@hpl.hp.com>
3377 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
3379 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3381 * iconv/gconv_simple.c: Fix various small bugs in several
3384 * iconv/loop.c: Fix comment.
3386 2000-06-10 Jakub Jelinek <jakub@redhat.com>
3388 * elf/link.h: Remove libc internal declarations.
3389 * include/link.h: Move them here.
3391 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3393 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
3394 Patch by Dan Pop <Dan.Pop@cern.ch>.
3396 Rewrite error message handling.
3397 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
3399 * elf/dl-error (struct catch): Add objname member.
3400 (_dl_signal_error): Take new parameter with object name. When
3401 passing message on simply store object name and duplicate error
3403 (_dl_catch_error): Take new parameter. Store object name in the
3405 * include/dlfcn.h: Adjust _dl_catch_error prototype.
3406 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
3407 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
3408 (dlerror): Add objname to asprintf() parameters.
3409 (_dl_error_run): Pass new parameter to _dl_catch_error.
3410 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
3411 * elf/dl-open.c (_dl_open): Likewise.
3412 * elf/rtld.c (dl_main): Likewise.
3413 * elf/dl-close.c: Mark error messages with N_().
3414 * elf/dl-deps.c: Likewise.
3415 * elf/dl-error.c: Likewise.
3416 * elf/dl-load.c: Likewise.
3417 * elf/dl-open.c: Likewise.
3418 * elf/dl-reloc.c: Likewise.
3419 * elf/dl-support.c: Likewise.
3420 * elf/dl-sym.c: Likewise.
3421 * elf/dl-version.c: Likewise.
3422 * elf/dl-lookup.c: Add comments about problems with error message
3424 * elf/dl-reloc.c: Likewise.
3425 * elf/dl-version.c: Likewise.
3427 2000-06-09 H.J. Lu <hjl@gnu.org>
3429 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
3432 * dlfcn/Makefile (distribute): Add failtestmod.c.
3433 (tests): Add failtest.
3434 Add rules to build and run failtest.
3435 * dlfcn/failtest.c: New file.
3436 * dlfcn/failtestmod.c: New file.
3438 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
3440 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
3441 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
3442 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
3443 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
3444 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
3446 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3448 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
3449 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
3451 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3452 Ulrich Drepper <drepper@redhat.com>
3454 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
3455 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
3456 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
3457 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
3458 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
3459 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
3461 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3463 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
3464 to find correct mount point despite wrong information from the
3467 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3469 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
3470 the address of a symbol so function pointers are handled properly.
3472 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3474 * sysdeps/i386/Dist: Add bp-asm.h.
3476 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
3477 defaultdir variable instead of "/var/shm" everywhere.
3478 (defaultdir): Change to /dev/shm/.
3480 2000-06-08 Greg McGary <greg@mcgary.org>
3482 * sysdeps/i386/bp-asm.h: New file.
3483 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
3484 offsets. Add ENTER/LEAVE macros for optionally maintaining
3485 frame-pointer chain when debugging.
3486 * sysdeps/i386/add_n.S: Likewise.
3487 * sysdeps/i386/addmul_1.S: Likewise.
3488 * sysdeps/i386/lshift.S: Likewise.
3489 * sysdeps/i386/memchr.S: Likewise.
3490 * sysdeps/i386/memcmp.S: Likewise.
3491 * sysdeps/i386/mul_1.S: Likewise.
3492 * sysdeps/i386/rawmemchr.S: Likewise.
3493 * sysdeps/i386/rshift.S: Likewise.
3494 * sysdeps/i386/stpcpy.S: Likewise.
3495 * sysdeps/i386/stpncpy.S: Likewise.
3496 * sysdeps/i386/strchr.S: Likewise.
3497 * sysdeps/i386/strchrnul.S: Likewise.
3498 * sysdeps/i386/strcspn.S: Likewise.
3499 * sysdeps/i386/strpbrk.S: Likewise.
3500 * sysdeps/i386/strrchr.S: Likewise.
3501 * sysdeps/i386/strspn.S: Likewise.
3502 * sysdeps/i386/strtok.S: Likewise.
3503 * sysdeps/i386/sub_n.S: Likewise.
3504 * sysdeps/i386/submul_1.S: Likewise.
3505 * sysdeps/i386/elf/setjmp.S: Likewise.
3506 * sysdeps/i386/i486/strcat.S: Likewise.
3507 * sysdeps/i386/i486/strlen.S: Likewise.
3508 * sysdeps/i386/i586/add_n.S: Likewise.
3509 * sysdeps/i386/i586/lshift.S: Likewise.
3510 * sysdeps/i386/i586/memcpy.S: Likewise.
3511 * sysdeps/i386/i586/memset.S: Likewise.
3512 * sysdeps/i386/i586/rshift.S: Likewise.
3513 * sysdeps/i386/i586/strchr.S: Likewise.
3514 * sysdeps/i386/i586/strcpy.S: Likewise.
3515 * sysdeps/i386/i586/strlen.S: Likewise.
3516 * sysdeps/i386/i586/sub_n.S: Likewise.
3517 * sysdeps/i386/i686/add_n.S: Likewise.
3518 * sysdeps/i386/i686/memcpy.S: Likewise.
3519 * sysdeps/i386/i686/mempcpy.S: Likewise.
3520 * sysdeps/i386/i686/memset.S: Likewise.
3521 * sysdeps/i386/i686/strcmp.S: Likewise.
3523 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3525 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3527 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3528 256 and don't use OPEN_MAX.
3530 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3531 use it instead of LINK_MAX.
3532 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3534 2000-06-08 Andreas Jaeger <aj@suse.de>
3536 * libio/genops.c (_IO_list_lock): Only compile body if we're
3538 (_IO_list_unlock): Likewise.
3539 (_IO_list_resetlock): Likewise.
3541 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3543 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3544 unless user defined it.
3546 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3547 if not defined by the user.
3549 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3550 * libio/iofwrite.c (_IO_fwrite): Likewise.
3552 * time/time.h: Add missing __THROW for clock_getcpuclockid
3555 * elf/Makefile (distribute): Add dl-dtprocnum.h.
3556 * include/elf.h: Include also <dl-dtprocnum.h>.
3557 * elf/dl-deps.c: Likewise.
3558 * elf/dl-lookup.c: Likewise.
3559 * elf/dl-runtime.c: Likewise.
3560 * elf/dl-version.c: Likewise.
3561 * elf/do-rel.h: Likewise.
3562 * elf/dynamic-link.h: Likewise.
3563 * elf/link.h: Likewise.
3564 * elf/rtld.c: Likewise.
3565 * sysdeps/generic/dl-dtprocnum.h: New file.
3566 * sysdeps/ia64/dl-dtprocnum.h: New file.
3567 * sysdeps/mips/dl-dtprocnum.h: New file.
3568 * sysdeps/sparc/dl-dtprocnum.h: New file.
3570 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3572 * elf/do-lookup.h: Add some __builtin_expect.
3574 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3576 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3577 (_dl_dynamic_weak): New variable.
3578 * elf/dl-support.c: Likewise.
3579 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3580 * elf/do-lookup.h: If we find a weak definition treat it like a
3581 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
3582 case treat it like before.
3584 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3586 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3588 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3589 using l_map_start and l_map_end.
3591 * elf/dl-version.c: Add __builtin_expect in many places.
3593 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3596 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
3598 Lock for stdio stream list becomes global, for use in LinuxThreads.
3600 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3601 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3602 _IO_list_resetlock): New interface for iterating global list of
3603 streams without accessing the _IO_list_all global variable,
3604 and for manipulating the lock which protects this list.
3605 * libio/libioP.h: Likewise.
3606 * libio/Version: Add entries for the new functions.
3608 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3609 pointer to _IO_FILE.
3611 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3613 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3614 BIT() must actually be BITw().
3616 * locale/programs/ld-ctype.c: Handle SP and space consistently.
3618 * locale/programs/charmap.c: Allow string arguments for
3619 code_set_name and repertoiremap.
3621 2000-06-07 Andreas Jaeger <aj@suse.de>
3623 * elf/Makefile: Build ldconfig only when building shared libraries.
3625 2000-06-07 Jakub Jelinek <jakub@redhat.com>
3627 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3629 (fdimf, __fdim, fdim): Likewise.
3631 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3633 * locale/findlocale.c: Add __builtin_expect in many places.
3634 * locale/loadlocale.c: Likewise.
3636 2000-06-06 Greg McGary <greg@mcgary.org>
3638 * sysdeps/mips/elf/start.S: Trim redundant code.
3640 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
3641 Use C comments throughout. Line up operands column with tabs.
3642 * sysdeps/powerpc/strchr.S: Likewise.
3643 * sysdeps/powerpc/strcmp.S: Likewise.
3644 * sysdeps/powerpc/strcpy.S: Likewise.
3645 * sysdeps/powerpc/strlen.S: Likewise.
3647 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
3648 Get low part of &__curbrk with @l.
3650 2000-06-06 Ulrich Drepper <drepper@redhat.com>
3652 * iconvdata/utf-16.c: Add __builtin_expect in many places.
3653 * iconvdata/unicode.c: Likewise.
3654 * iconvdata/uhc.c: Likewise.
3655 * iconvdata/t.61.c: Likewise.
3656 * iconvdata/sjis.c: Likewise.
3657 * iconvdata/johab.c: Likewise.
3658 * iconvdata/iso_6937.c: Likewise.
3659 * iconvdata/iso_6937-2.c: Likewise.
3660 * iconvdata/iso8859-1.c: Likewise.
3661 * iconvdata/iso646.c: Likewise.
3662 * iconvdata/iso-2022-kr.c: Likewise.
3663 * iconvdata/iso-2022-jp.c: Likewise.
3664 * iconvdata/iso-2022-cn.c: Likewise.
3665 * iconvdata/gbgbk.c: Likewise.
3666 * iconvdata/gbk.c: Likewise.
3667 * iconvdata/euc-kr.c: Likewise.
3668 * iconvdata/euc-jp.c: Likewise.
3669 * iconvdata/euc-cn.c: Likewise.
3671 2000-06-05 Ulrich Drepper <drepper@redhat.com>
3673 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
3674 * iconvdata/big5.c: Likewise.
3675 * iconvdata/ansi_x3.110.c: Likewise.
3676 * iconvdata/8bit-generic.c: Likewise.
3677 * iconvdata/8bit-gap.c: Likewise.
3678 * iconv/loop.c: Likewise.
3679 * iconv/gconv_db.c: Likewise.
3680 * iconv/gconv_dl.c: Likewise.
3681 * iconv/gconv_simple.c: Likewise.
3682 * iconv/skeleton.c: Likewise.
3684 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
3685 (struct __gconv_step_data): Rename __is_last to __flags.
3686 * iconv/gconv_close.c: Change all uses of __is_last.
3687 * iconv/skeleton.c: Likewise.
3688 * iconvdata/iso-2022-cn.c: Likewise.
3689 * iconvdata/iso-2022-jp.c: Likewise.
3690 * iconvdata/iso-2022-kr.c: Likewise.
3691 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
3692 Recognize IGNORE error handling, set flag, and remove from name.
3693 * iconv/loop.c (ignore_errors_p): Define.
3694 Add flags parameter to both functions.
3695 * iconv/skeleton.c: Pass flags to all conversion functions.
3696 * iconv/gconv_simple.c: Add flags parameter to all functions.
3697 Don't return error for invald error if ignore flag is set.
3698 (ucs4_internal_loop_single): Add missing pointer increment.
3699 (internal_ucs4le_loop_single): Likewise.
3700 * iconv/iconv_prog.c: Implement handling of -c parameter.
3701 * iconvdata/8bit-gap.c: Don't return error for invald error if
3703 * iconvdata/8bit-generic.c: Likewise.
3704 * iconvdata/ansi_x3.110.c: Likewise.
3705 * iconvdata/big5.c: Likewise.
3706 * iconvdata/big5hkscs.c: Likewise.
3707 * iconvdata/euc-cn.c: Likewise.
3708 * iconvdata/euc-jp.c: Likewise.
3709 * iconvdata/euc-kr.c: Likewise.
3710 * iconvdata/gbgbk.c: Likewise.
3711 * iconvdata/gbk.c: Likewise.
3712 * iconvdata/iso-2022-cn.c: Likewise.
3713 * iconvdata/iso-2022-jp.c: Likewise.
3714 * iconvdata/iso-2022-kr.c: Likewise.
3715 * iconvdata/iso646.c: Likewise.
3716 * iconvdata/iso8859-1.c: Likewise.
3717 * iconvdata/iso_6937-2.c: Likewise.
3718 * iconvdata/iso_6937.c: Likewise.
3719 * iconvdata/johab.c: Likewise.
3720 * iconvdata/sjis.c: Likewise.
3721 * iconvdata/t.61.c: Likewise.
3722 * iconvdata/uhc.c: Likewise.
3723 * iconvdata/unicode.c: Likewise.
3724 * iconvdata/utf-16.c: Likewise.
3725 * libio/fileops.c: Likewise.
3726 * libio/iofwide.c: Likewise.
3727 * wcsmbs/btowc.c: Likewise.
3728 * wcsmbs/mbrtowc.c: Likewise.
3729 * wcsmbs/mbsnrtowcs.c: Likewise.
3730 * wcsmbs/mbsrtowcs.c: Likewise.
3731 * wcsmbs/wcrtomb.c: Likewise.
3732 * wcsmbs/wcsnrtombs.c: Likewise.
3733 * wcsmbs/wcsrtombs.c: Likewise.
3734 * wcsmbs/wctob.c: Likewise.
3736 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
3739 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3741 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
3742 counter for the object we are releasing, just decrement it.
3743 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
3745 2000-06-04 Jakub Jelinek <jakub@redhat.com>
3747 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
3750 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3752 * iconvdata/big5hkscs.c: New file.
3753 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
3755 * iconvdata/gconv-modules: Add entry for new module.
3756 * iconvdata/Makefile (modules): Add BIG5HKSCS.
3757 (distribute): Add big5hkscs.c.
3759 2000-06-01 Jakub Jelinek <jakub@redhat.com>
3761 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
3762 inlines to match prototypes in mathcalls.h.
3763 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3764 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3765 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
3766 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3768 2000-06-03 Ulrich Drepper <drepper@redhat.com>
3770 * elf/elf.h (SHT_SUNW_move): Define.
3772 * elf/elf.h: Add more Solaris compatiblity definitions.
3774 2000-06-03 Andreas Jaeger <aj@suse.de>
3776 * sysdeps/powerpc/dl-start.S: Close open comment.
3778 2000-06-03 Jakub Jelinek <jakub@redhat.com>
3780 * inet/Versions: Fix typo in rresvport_af export.
3782 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3784 * math/tgmath.h: Pretty print.
3786 2000-06-02 Andreas Jaeger <aj@suse.de>
3788 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
3789 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3791 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3793 * elf/rtld.c (process_envvars): Test for = after variable name.
3795 2000-06-01 Ulrich Drepper <drepper@redhat.com>
3797 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
3798 have extra call to __gmon_start__, use the pointer we already have.
3800 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
3803 * sysdeps/i386/elf/setjmp.S: Work around change is recent
3804 binutils. gas now emits a jump through the PLT instead of a
3805 relative jump if the jump target is an exported symbol.
3807 2000-05-31 Ulrich Drepper <drepper@redhat.com>
3809 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
3811 2000-05-31 Andreas Jaeger <aj@suse.de>
3813 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
3816 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
3817 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3819 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
3821 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3823 2000-05-30 Ulrich Drepper <drepper@redhat.com>
3825 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
3827 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
3828 * locale/localeconv.c: Make function versioned (with same definition).
3830 * elf/Makefile (modules-names): Strip before using it.
3832 2000-05-30 Andreas Jaeger <aj@suse.de>
3834 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
3835 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
3836 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
3837 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
3838 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
3839 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
3841 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3843 * Makefile: Add GNU make magic.
3845 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
3847 * inet/rcmd.c: Remove __P. Remove unused variables.
3848 (iruserfopen): Make first parameter const.
3849 (ruserok_sa): Return result of ruserok2_sa.
3850 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
3851 * inet/rexec.c: Remove unused variables. Other small cleanups.
3852 * inet/ruserpass.c: Remove __P. Remove unused variables.
3853 (ruserpass): Check results of memory allocation.
3854 * include/netdb.h: Add prototype for ruserpass.
3856 2000-05-29 Andreas Jaeger <aj@suse.de>
3858 * elf/readlib.c (interpreters): Use LD_SO since this is supported
3861 2000-05-29 Jakub Jelinek <jakub@redhat.com>
3863 * inet/rcmd.c (rresvport_af): Use correct port number.
3865 2000-05-26 Andreas Schwab <schwab@suse.de>
3867 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
3868 entries in all-sonames.
3869 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
3870 preserving the old name if different for compatibility.
3872 2000-05-29 Ulrich Drepper <drepper@redhat.com>
3874 * posix/Makefile (tests): Add tst-spawn.
3875 (tst-spawn-ARGS): New variable.
3876 * posix/tst-spawn.c: New file.
3878 * posix/spawn_faction_addclose.c: Correctly account for new entry.
3879 * posix/spawn_faction_adddup2.c: Likewise.
3880 * posix/spawn_faction_addopen.c: Likewise.
3881 * posix/spawni.c: Correctly test for success of dup2 calls.
3883 * posix/tst-preadwrite.c: Check success of malloc call.
3885 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3887 * posix/Makefile (tests): Add tst-exec.
3888 (tst-exec-ARGS): New variable.
3889 * posix/tst-exec.c: New file.
3891 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
3893 2000-05-04 Andreas Jaeger <aj@suse.de>
3895 * string/string.h: Remove __strdup prototype, it's not needed in
3898 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3900 * posix/Makefile (tests): Add tst-fork.
3901 * posix/tst-fork.c: New file.
3903 * resolv/inet_pton.c: Loose __P.
3905 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3907 * libio/libioP.h (_IO_CHECK_WIDE): Define.
3908 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
3909 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3910 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
3911 _IO_CHECK_WIDE fails.
3913 2000-05-28 Ulrich Drepper <drepper@redhat.com>
3915 * po/da.po: New file.
3917 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
3918 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
3920 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
3921 (Other iconv Implementations): Fix typo.
3922 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
3924 2000-05-27 Andreas Jaeger <aj@suse.de>
3926 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
3928 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
3929 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
3930 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3931 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3932 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
3933 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
3935 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
3936 endianness to decide how to pass arguments.
3937 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3939 * elf/vismain.c: Use test-skeleton interface.
3940 (TEST_FUNCTION): New macro.
3941 (do_test): Renamed from main.
3943 2000-05-27 Ulrich Drepper <drepper@redhat.com>
3945 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
3946 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
3948 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
3949 handling of AI_V4MAPPED flag.
3951 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
3952 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
3953 perform lookup for T_A type and tell getanswer_r to convert the
3954 result with new argument.
3955 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
3956 Don't convert addresses from IPv4 to IPv6 here.
3957 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
3958 IPv6 is wanted. Allow qtype and type from reply to disagree if
3959 IPv4 mapping has to be done. Perform mappings if required by the
3960 caller and not if RES_USE_INET6 bit in _res.options is set.
3961 Add several __builtin_expect.
3963 2000-05-26 Ulrich Drepper <drepper@redhat.com>
3965 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
3967 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
3970 * posix/tst-preadwrite.c: Allow parallel execution of
3971 tst-preadwrite and tst-preadwrite64.
3973 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
3974 * posix/tst-truncate.c: New file.
3975 * posix/tst-truncate64.c: New file.
3977 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
3980 * posix/Makefile (tests): Add tst-preadwrite64.
3981 * posix/tst-preadwrite.c: Alloc file being used also for testing
3982 pread64 and pwrite64.
3983 * posix/tst-preadwrite64.c: New file.
3985 2000-05-26 Andreas Jaeger <aj@suse.de>
3987 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
3988 of arguments dependend on endianness.
3989 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3991 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
3993 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3994 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3995 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3996 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3998 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
3999 endianness to check how to pass argument.
4000 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4002 * elf/ldconfig.h: Update parameter list for process_elf_file.
4004 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
4005 Add parameter file_length and pass it ot process_elf*file.
4007 * sysdeps/generic/readelflib.c (check_ptr): New.
4008 (process_elf_file): Use check_ptr to check all accesses to the
4009 mmapped file. Add parameter file_length.
4011 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
4014 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
4015 Closes PR libc/1573, reported by Bradley White
4016 <bww@laurelnetworks.com>.
4018 2000-05-25 Ulrich Drepper <drepper@redhat.com>
4020 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
4021 __FAST_MATH__ is defined.
4023 2000-05-22 Andreas Jaeger <aj@suse.de>
4025 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
4026 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
4028 * manual/math.texi (FP Function Optimizations): Document gcc
4029 -ffast-math behaviour with mathinlines.
4031 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
4032 functions unless -ffast-math is given to gcc.
4034 2000-05-23 Jakub Jelinek <jakub@redhat.com>
4036 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
4037 __sincosl): Guard with __USE_GNU.
4039 2000-05-24 Ulrich Drepper <drepper@redhat.com>
4041 * csu/Makefile (routines): Add check_fds.
4042 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
4043 binaries. Add various __builtin_expect.
4044 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
4045 * sysdeps/generic/check_fds.c: ...here. New file.
4047 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
4048 binaries if file /etc/suid-debug is available.
4050 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
4051 and wcseqorder members.
4052 (struct locale_collate_t): Likewise.
4053 (collate_finish): Assign collation sequence value to each character.
4054 Create tables for output.
4055 (collate_output): Write out tables with collation sequence information.
4056 * locale/C-collate.c: Provide C locale data for collation sequence
4058 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
4059 _NL_COLLATE_COLLSEQWC.
4060 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
4061 _NL_COLLATE_COLLSEQWC.
4062 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
4063 include fnmatch_loop.c.
4064 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
4065 character is matched by range expression. Use collation sequence
4066 table. Outside glibc fall back on simple character value comparison.
4068 2000-05-24 Andreas Jaeger <aj@suse.de>
4070 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
4073 * intl/Makefile: Run gettext-test only if msgfmt is available.
4075 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
4076 Define it for newer kernels.
4078 2000-05-23 Ulrich Drepper <drepper@redhat.com>
4080 * elf/dl-sym.c: Minor cleanups.
4082 * configure.in: Add test for .protected.
4083 * config.make.in: Add have-protected variable.
4084 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
4085 (tests-vis-yes): Add vismain.
4086 (modules-names): Add $(modules-vis-$(have-protected)).
4087 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
4088 Add rules to generate and run vismain.
4089 * elf/vismain.c: New file.
4090 * elf/vismod1.c: New file.
4091 * elf/vismod2.c: New file.
4092 * elf/vismod3.c: New file.
4094 2000-05-23 Andreas Jaeger <aj@suse.de>
4096 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
4098 * manual/search.texi (Array Sort Function): Document that qsort is
4099 not necessarily in-place.
4101 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4102 Closes PR libc/1731.
4104 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
4105 * dirent/scandir64.c: Likewise.
4106 * pwd/getpw.c: Likewise.
4107 * stdlib/bsearch.c (bsearch): Likewise.
4108 * stdlib/tst-strtoll.c: Likewise.
4109 * localedata/collate-test.c: Likewise.
4110 * localedata/xfrm-test.c: Likewise.
4111 * posix/bsd-getpgrp.c: Likewise.
4112 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4113 * sysdeps/generic/bits/siginfo.h: Likewise.
4114 * sysdeps/generic/bits/sockaddr.h: Likewise.
4115 * sysdeps/generic/sys/swap.h: Likewise.
4116 * sysdeps/generic/sys/sysinfo.h: Likewise.
4117 * sysdeps/generic/vfork.c: Likewise.
4118 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
4119 * sysdeps/mach/hurd/fdopen.c: Likewise.
4120 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
4121 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4122 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4123 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4124 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4125 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4126 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4128 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
4129 * shadow/lckpwdf.c: Likewise.
4130 * stdlib/tst-strtol.c: Likewise.
4131 * sysdeps/generic/tcsetattr.c: Likewise.
4132 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4133 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4135 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4137 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
4138 free it and set to (void *) -1.
4140 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4142 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
4143 not the second character in the range.
4144 * stdio-common/tstscanf.c (main): Add testcase for the above.
4145 Reported by jik@kamens.brookline.ma.us.
4147 2000-05-21 H.J. Lu <hjl@gnu.org>
4149 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
4150 with noexec and noplt parameter.
4151 (do_lookup): Likewise.
4153 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
4154 do_lookup. Support STV_PROTECTED.
4155 (_dl_lookup_symbol_skip): Likewise.
4156 (_dl_lookup_versioned_symbol): Likewise.
4157 (_dl_lookup_versioned_symbol_skip): Likewise.
4159 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
4161 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
4163 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4165 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
4166 * sysdeps/i386/bits/huge_val.h: Likewise.
4167 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4168 * sysdeps/m68k/bits/huge_val.h: Likewise.
4169 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
4170 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
4172 2000-05-22 Andreas Jaeger <aj@suse.de>
4174 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
4177 2000-05-19 Andreas Jaeger <aj@suse.de>
4179 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4180 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
4181 breaks compilation without linuxthreads.
4183 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4185 * sysdeps/ia64/memccpy.S: New file.
4186 * sysdeps/ia64/memchr.S: New file.
4187 * sysdeps/ia64/memcmp.S: New file.
4188 * sysdeps/ia64/memcpy.S: New file.
4189 * sysdeps/ia64/memmove.S: New file.
4190 * sysdeps/ia64/memset.S: New file.
4191 * sysdeps/ia64/strcat.S: New file.
4192 * sysdeps/ia64/strchr.S: New file.
4193 * sysdeps/ia64/strcmp.S: New file.
4194 * sysdeps/ia64/strcpy.S: New file.
4195 * sysdeps/ia64/strlen.S: New file.
4196 * sysdeps/ia64/strncmp.S: New file.
4197 * sysdeps/ia64/strncpy.S: New file.
4198 * sysdeps/ia64/softpipe.h: New file.
4199 Patches by Dan Pop <Dan.Pop@cern.ch>.
4201 * manual/memory.texi: Document memory handling functions (mlock,
4202 munlock, mlockall, munlockall, brk, and sbrk)
4203 * manual/time.texi: Document timespec and friends.
4204 * manual/conf.texi: Fix references.
4205 * manual/ctype.texi: Likewise.
4206 * manual/errno.texi: Likewise.
4207 * manual/intro.texi: Likewise.
4208 * manual/locale.texi: Likewise.
4209 * manual/sysinfo.texi: Likewise.
4210 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4212 2000-05-09 Jes Sorensen <jes@linuxcare.com>
4214 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
4215 * sysdeps/ia64/dl-lookupcfg.h: ...here.
4217 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4219 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
4222 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4224 * locale/locale.h (struct lconv): Add new elements from ISO C99.
4225 * locale/localeconv.c: Initialize new elements from ISO C99.
4226 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
4227 new standard elements.
4228 * locale/categories.def: Adjust accordingly.
4230 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
4231 * iconv/iconv.c: Likewise.
4232 * conform/data/iconv.h-data: Likewise.
4233 * iconv/iconv_prog.c (process_block): Remove const from second
4235 (main): Remove const from addr definition.
4236 * manual/charset.texi (Generic Conversion Interface): Remove from
4237 inbuf parameter of iconv.
4239 * intl/dcigettext.c: Fix typo in comment.
4241 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
4243 * resolv/res_libc.c (_res): Initialize _sock to -1.
4245 2000-05-18 Jakub Jelinek <jakub@redhat.com>
4247 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
4248 (fopencookie@@GLIBC_2.2): New.
4249 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
4250 (fopencookie@GLIBC_2.0): New.
4251 * libio/Versions: Add fopencookie to GLIBC_2.2.
4253 2000-05-18 Andreas Jaeger <aj@suse.de>
4255 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4256 Closes PR libc/1731.
4258 * manual/arith.texi (Parsing of Integers): Fix typo.
4259 Closes PR libc/1744, reported by blp@gnu.org.
4261 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4263 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
4264 __extension__ to hexadecimal floating constant notation.
4265 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4267 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
4268 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4270 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4271 HUGE_VALL): Likewise.
4272 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4273 HUGE_VALL): Likewise.
4274 (HUGE_VALL): Set to HUGE_VAL on sparc32.
4276 2000-05-17 Andreas Jaeger <aj@suse.de>
4278 * string/envz.h: Add pure attributes if possible.
4280 * string/argz.h: argz_count is a pure function.
4282 * string/strings.h: Add pure and const attributes if possible.
4284 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
4285 possibly searching through the whole memory.
4286 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
4288 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4290 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
4292 (_dl_cache_check_flags): Likewise.
4293 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
4296 2000-05-17 Andreas Jaeger <aj@suse.de>
4298 * manual/creature.texi (Feature Test Macros): Remove paragraph
4299 since the description is wrong.
4300 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
4302 * scripts/config.sub: New version.
4303 * scripts/config.guess: Likewise.
4304 * manual/texinfo.tex: Likewise.
4306 * time/test_time.args: Removed.
4307 * time/Makefile (test_time-ARGS): Added contents here instead.
4309 * posix/tstgetopt.args: Removed.
4310 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
4312 * Rules: Allow arguments for test files to be specified in
4313 Makefile with testname-ARGS; remove rules with .args in it.
4315 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
4316 remove old bogus rule for opendir-tst1.args.
4318 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
4320 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
4321 into objdir. This allows a readonly sourcetree.
4322 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
4324 2000-05-16 Andreas Jaeger <aj@suse.de>,
4325 David Huggins-Daines <dhd@linuxcare.com>
4327 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
4328 cache_data in case of only new cache format correctly.
4330 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
4333 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
4334 struct cache_file_new.
4336 * elf/cache.c (save_cache): Fix str_offset if only new cache is
4339 * elf/cache.c (save_cache): Align struct new_file_cache.
4340 (print_cache): Likewise.
4342 2000-05-13 Jakub Jelinek <jakub@redhat.com>
4344 * elf/soinit.c (__libc_global_ctors): Move
4345 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
4346 * resolv/resolv.h (__res_state): Added __attribute__((const)).
4347 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
4348 variable, don't define it to __res_state call.
4350 2000-05-13 Andreas Jaeger <aj@suse.de>
4352 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
4354 (AF_PPPOX): Likewise.
4355 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
4356 (AF_PPPOX): Likewise.
4358 2000-05-12 Andreas Jaeger <aj@suse.de>
4360 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
4361 Reported by tmoestl@gmx.net, closes PR libc/1732.
4363 2000-05-11 Jan Hubicka <jh@suse.cz>
4365 * misc/sys/cdefs.h: Add support for pure attribute.
4367 * include/string.h: Add __attribute_pure__ to various functions.
4368 * string/string.h: Likewise.
4370 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4372 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
4374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4376 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
4378 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4380 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
4381 at proper place. Compute the high nibble correctly.
4383 2000-05-09 Jakub Jelinek <jakub@redhat.com>
4385 * elf/ldconfig.c: Include elf.h.
4387 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
4388 (_dl_vsym): Likewise.
4389 Reported by Owen Taylor <otaylor@redhat.com>.
4391 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
4394 2000-05-08 Andreas Jaeger <aj@suse.de>
4396 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
4398 * intl/bindtextdom.c (set_binding_values): Add prototype.
4400 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4402 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
4403 call to elf_machine_fixup_plt.
4404 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4405 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4407 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4409 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
4410 they are not dlclose'd from underneath us.
4412 2000-05-08 Andreas Schwab <schwab@suse.de>
4414 * posix/execle.c: Fix size parameter of memcpy.
4416 2000-05-08 Andreas Schwab <schwab@suse.de>
4418 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
4419 getpagesize syscall if available.
4421 2000-05-08 Andreas Jaeger <aj@suse.de>
4423 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
4426 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4428 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
4429 sizeof(struct link_map *) chunks, not in bytes.
4431 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4433 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
4434 only needed for locale.
4435 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
4436 It's only needed for catgets.
4437 Patches by Greg McGary <gkm@eng.ascend.com>.
4439 2000-05-07 Mark Kettenis <kettenis@gnu.org>
4441 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
4442 Remove duplicate <errno.h> include. Remove inclusion of
4443 <libintl.h> and "nsswitch.h".
4444 (set_cloexec_flag): New function, broken out of dbopen.
4445 (dbopen): Changed return type to `enum
4446 nss_status'. Mostly rewritten to make sure that we do not report
4447 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
4448 (internal_setent): Change return type to nss_status.
4449 Document, and make sure that the function
4450 behaves accordingly. Make dynamically loading the database
4451 library really thread-safe and return NSS_STATUS_UNAVAIL if it
4453 (db_cursor): Return ENOMEM is memory allocation failed. Remove
4455 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
4457 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
4458 c_get function member.
4459 * nss/nss_db/nss_db.h: Add and tweak some comments.
4460 (DBT): Move typedef before NSS_DBC typedef.
4461 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
4463 2000-05-07 H.J. Lu <hjl@gnu.org>
4465 * csu/initfini.c: Moved to ....
4466 * sysdeps/generic/initfini.c: ...here.
4468 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
4470 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4472 * manual/resource.texi: Document POSIX scheduling functions.
4473 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4475 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
4476 reading anything. Reported by Andries.Brouwer@cwi.nl.
4478 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
4479 for x since promotion in comparison might leads to unexpected
4480 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
4482 * iconv/Makefile (tests): Add tst-iconv1.
4483 * iconv/tst-iconv1.c: New file.
4484 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
4485 empty input buffer over full output buffer.
4486 (ucs4_internal_loop): Likewise.
4487 (ucs4_internal_loop_unaligned): Likewise.
4488 (internal_ucs4le_loop): Likewise.
4489 (internal_ucs4le_loop_unaligned): Likewise.
4490 (ucs4le_internal_loop): Likewise.
4491 (ucs4le_internal_loop_unaligned): Likewise.
4492 Reported by yaoz@nih.gov.
4494 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4496 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4497 returned != __GCONV_OK, there is nothing to clean up.
4499 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4501 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4502 OUTPUT_CHARSET environment variables.
4504 2000-05-06 Andreas Jaeger <aj@suse.de>
4506 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4507 (struct cache_file_new): New.
4508 (struct file_entry): New (moved from cache.c).
4509 (struct cache_file): New (moved from cache.c).
4511 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4512 from _dl_load_cache_lookup.
4513 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4514 the different cache formats.
4515 New variable cache_new for new format.
4517 * elf/ldconfig.h: Change according to changes in cache.c and
4518 ldconfig.c; remove cache_libcmp; add opt_format.
4520 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4521 stuff that's defined in those headers.
4522 Add hwcap to struct lib_entry.
4523 (opt_format): New variable to select cache format.
4524 (options): Add format parameter.
4525 (is_hwcap): New function.
4526 (path_hwcap): New function.
4527 (parse_opt): Handle new format parameter.
4528 (search_dir): Handle hwcap, search also subdirectories with hwcap.
4530 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
4531 ldconfig is part of glibc.
4532 Include dl-cache.h and remove stuff that's defined there.
4533 (struct cache_entry): Add new member hwcap.
4534 (print_entry): Print hwcap, cleanup a bit.
4535 (print_cache): Print new and old formats.
4536 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4537 (save_cache): Save new and old formats.
4538 (add_to_cache): Handle hwcap.
4540 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4541 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4542 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4543 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4544 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4545 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4547 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4549 * intl/dcigettext.c (alignof): New macro.
4550 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4551 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4554 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4556 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4559 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4561 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4562 (mempcpy): Correct typo is parameter list.
4564 2000-05-06 Andreas Jaeger <aj@suse.de>
4566 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4567 functions unless -ffast-math is given to gcc.
4569 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4571 * po/ko.po: Update from translation team.
4573 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4575 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4576 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4577 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4578 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4579 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4580 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4582 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4583 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4584 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4586 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4587 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4588 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4589 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4591 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4592 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4594 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4596 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4597 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4599 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4600 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4602 * sysdeps/ia64/Implies: New file.
4603 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
4604 * sysdeps/ia64/Makefile: New file.
4605 * sysdeps/ia64/gmp-mparam.h: New file,
4607 * sysdeps/ia64/elf/start.S: New file.
4609 * sysdeps/ia64/bits/fenv.h: New file.
4611 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
4613 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4615 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
4617 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
4618 ia64 has 64 bit .hash entries just as the Alpha.
4620 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4622 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
4624 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
4626 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
4627 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
4628 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
4629 * sysdeps/ia64/fpu/fegetenv.c: New file.
4630 * sysdeps/ia64/fpu/fegetexcept.c: New file.
4631 * sysdeps/ia64/fpu/fegetround.c: New file.
4632 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
4633 * sysdeps/ia64/fpu/fesetenv.c: New file.
4634 * sysdeps/ia64/fpu/fesetround.c: New file.
4635 * sysdeps/ia64/fpu/feupdateenv.c: New file.
4636 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
4637 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
4638 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
4639 * sysdeps/ia64/fpu/ftestexcept.c: New file.
4641 2000-05-05 Andreas Jaeger <aj@suse.de>
4643 * misc/tst-tsearch.c (main): Correct type for initstate argument.
4645 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4646 (_dl_string_hwcap): New, does nothing.
4648 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4649 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4650 (_dl_string_hwcap): New function, converts from string to hwcap
4652 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4653 (_DL_HWCAP_COUNT): New.
4654 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4655 (_dl_string_hwcap): New function, converts from string to hwcap
4657 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
4658 (_DL_HWCAP_COUNT): New.
4659 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4660 (_dl_string_hwcap): New function, converts from string to hwcap
4663 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4665 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4666 * sysdeps/ia64/Dist: New file.
4668 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4669 parameter to mprotect and for variable assignments.
4671 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4673 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4674 validity of map before dereferencing it.
4676 * elf/dl-reloc.c (RESOLVE_MAP): Define.
4678 2000-05-02 Jes Sorensen <jes@linuxcare.com>
4680 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4681 lookup to the arguments to elf_machine_fixup_plt().
4683 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
4684 of the symbol being resolved to input argument list and make the
4685 function return the pointer to the reloc.
4687 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
4688 return valuie to lookup_t and return the value.
4689 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
4690 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
4691 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
4692 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
4693 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
4694 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
4696 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
4697 Make it an inline function returning value after calling
4698 __elf_machine_fixup_plt().
4700 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4703 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4704 obtain the symbol address.
4706 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
4707 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
4709 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
4710 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
4713 2000-04-28 Jes Sorensen <jes@linuxcare.com>
4715 * elf/dl-runtime.c (fixup): Use the portable macros to get the
4716 symbol address of an object.
4718 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
4719 the symbol address of an object.
4721 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
4722 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
4723 (_dl_lookup_symbol_skip): Likewise.
4724 (_dl_lookup_versioned_symbol): Likewise.
4725 (_dl_lookup_versioned_symbol_skip): Likewise.
4727 2000-04-27 Jes Sorensen <jes@linuxcare.com>
4729 * elf/rtld.c (_dl_start): Get the function pointer return address
4730 via _dl_start_address for architectures that need a function
4731 pointer descriptor rather than just a pointer (ia64).
4733 * sysdeps/generic/dl-lookupcfg.h: New file.
4734 * sysdeps/ia64/dl-lookupcfg.h: New file.
4735 * sysdeps/ia64/dl-machine.h: New file.
4736 * sysdeps/ia64/dl-symaddr.c: New file.
4737 * sysdeps/ia64/dl-fptr.c: New file.
4739 * elf/elf.h: Add IA-64 specific definitions.
4741 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4743 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
4746 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4748 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
4751 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4753 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
4754 symbol. Call _dl_init rather than the old way.
4756 2000-05-04 Ulrich Drepper <drepper@redhat.com>
4758 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
4759 test for pointer in range of DSO address space.
4761 2000-05-04 Andreas Jaeger <aj@suse.de>
4763 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
4765 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4767 * locale/findlocale.c (_nl_find_locale): Add new parameter to
4768 calls of _nl_make_l10nflist.
4770 * libio/stdio.h: Make fseeko and ftello prototypes available is
4771 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
4773 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
4774 real unsetenv implementation from 1999-07-29 [PR libc/1714].
4776 2000-05-03 Bruno Haible <haible@clisp.cons.org>
4778 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
4779 before calling tfind.
4781 2000-03-05 Jakub Jelinek <jakub@redhat.com>
4783 * resolv/resolv.h (res_querydomain): Remove redefinition to
4784 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
4786 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4788 * po/gl.po: Update from translation team.
4790 * manual/intro.texi (Program Basics): Change section title.
4791 * manual/process.texi: Fix reference.
4792 (Executing a File): Add reference exec in other section.
4793 * manual/signal.texi: Fix reference.
4794 * manual/startup.texi: Document syscall function.
4795 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4797 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4799 * intl/libintl.h (bind_textdomain_codeset): New declaration.
4800 * intl/bindtextdom.c (set_binding_values): New function.
4801 (bindtextdomain): Call it.
4802 (bind_textdomain_codeset): New function.
4803 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
4804 (free_mem): Free each binding's codeset.
4805 * intl/gettextP.h (struct binding): Add codeset field.
4806 (_nl_find_domain): Add domainbinding argument.
4807 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
4808 Pass it to _nl_make_l10nflist.
4809 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
4810 (_nl_make_l10nflist): Add domainbinding argument.
4811 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
4812 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
4813 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
4815 * manual/message.texi: New node "Charset conversion in gettext".
4817 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4819 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
4820 appropriate. Handle possible __read error.
4822 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4824 * intl/gettextP.h (__builtin_expect): Define as empty if not a
4826 * intl/loadinfo.h (__builtin_expect): Likewise.
4827 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
4828 __builtin_expect where appropriate.
4829 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4830 * intl/localealias.c (extend_alias_table): Return an error indicator.
4831 (read_alias_file): Bail out if extend_alias_table fails.
4833 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4835 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
4836 * intl/localealias.c: Likewise.
4838 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4840 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
4841 Initialize domain->plural and domain->nplurals even if there is no
4844 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4846 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
4847 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
4848 In case of failure, goto converted.
4850 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4852 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
4853 * iconv/gconv_int.h (norm_add_slashes): Move to here.
4854 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
4857 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4859 * intl/dcigettext.c (transcmp): Compare the domains as well.
4860 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
4862 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
4865 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4867 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
4868 Reported by Bruno Haible.
4870 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4872 * manual/arith.texi: Remove @w from @itemize.
4874 2000-05-02 Andreas Jaeger <aj@suse.de>
4876 * conform/data/tar.h-data: Add some checks for specific values.
4878 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
4881 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
4884 * conform/data/netinet/in.h-data: Add exact checks for the values
4885 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
4887 * conform/data/float.h-data: Add some minimal values.
4889 * conform/conformtest.pl: Test for macros with string constants,
4890 check for minimum and maximum values.
4891 Add limits.h to headers.
4893 * conform/data/cpio.h-data: Test for value of MAGIC.
4895 * conform/data/limits.h-data: New file.
4897 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4899 * math/Makefile (headers): Add bits/fenvinline.h.
4901 2000-05-01 Ulrich Drepper <drepper@redhat.com>
4903 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
4904 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
4906 * posix/Versions: Change posix_spawnattr_getdefault and
4907 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
4908 and posix_spawnattr_setsigdefault respectively.
4909 * posix/spawn.h: Likewise.
4910 * posix/spawnattr_getdefault.h: Likewise.
4911 * posix/spawnattr_setdefault.h: Likewise.
4912 * conform/data/spawn.h-data: Likewise.
4914 2000-05-01 Andreas Jaeger <aj@suse.de>
4916 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
4918 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4920 * manual/sysinfo.texi: Document getdomainname, setdomainname
4922 * manual/string.texi: Fix typo.
4923 * manual/terminal.texi: Document gtty and stty.
4924 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4926 2000-04-30 Andreas Jaeger <aj@suse.de>
4928 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
4929 accordance with Austin Draft.
4931 2000-04-30 Ulrich Drepper <drepper@redhat.com>
4933 * catgets/gencat.c (read_input_file): Use isblank and not isspace
4934 to recognize second character in comment line.
4936 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
4937 ENOBUFS if we are out of memory.
4939 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
4940 available if __USE_XOPEN2K.
4941 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4942 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4943 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4944 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4945 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4947 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
4948 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4950 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4952 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
4953 Recognize option -s, -c, and -l.
4955 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
4957 * nscd/nscd.c: Start new session for nscd, drop privilegs
4958 to configured user if requested and no -S parameter are used.
4959 * nscd/nscd.conf: Add new option "server-user".
4960 * nscd/nscd_conf.c: Add support for new "server-user" option.
4961 * nscd/nscd.h: Add declaration for server_user variable.
4962 Based on patch by Chris Wing <wingc@engin.umich.edu>
4964 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4966 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
4967 that changing the __restore and __restore_rt signal return code
4970 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4972 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
4975 2000-04-29 Mark Kettenis <kettenis@gnu.org>
4977 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
4979 2000-04-29 Ulrich Drepper <drepper@redhat.com>
4981 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
4982 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
4984 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
4985 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
4986 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
4987 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
4988 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
4989 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
4990 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
4991 posix_fallocate, and posix_madvise.
4992 * conform/data/netdb.h-data: New file.
4993 * conform/data/pthread.h-data: Add pthread_barrier_t,
4994 pthread_barrierattr_t, pthread_barrier_destroy,
4995 pthread_barrier_init, pthread_barrier_wait,
4996 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
4997 pthread_barrierattr_init, pthread_barrierattr_setpshared,
4998 pthread_condattr_getclock, pthread_condattr_setclock,
4999 pthread_getcpuclockid, pthread_mutex_timedlock,
5000 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
5001 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
5002 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
5003 * conform/data/sched.h-data: Add sched_ss_low_priority,
5004 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
5006 * conform/data/semaphore.h-data: Add sem_timedwait.
5007 * conform/data/signal.h-data: Add SIGIO.
5008 * conform/data/spawn.h-data: New file.
5009 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
5010 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
5011 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
5012 Fix typo in gmtime_r definition.
5013 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
5014 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
5015 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
5016 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
5017 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
5018 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
5019 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
5020 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
5021 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
5022 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
5023 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
5024 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
5025 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
5026 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
5027 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
5028 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
5029 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
5030 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
5031 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5032 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
5033 typo in off_t definition.
5034 * conform/data/net/if.h-data: New file.
5035 * conform/data/netinet/in.h-data: New file.
5036 * conform/data/netinet/tcp.h-data: New file.
5037 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
5038 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
5039 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
5040 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
5041 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
5042 and posix_typed_mem_open.
5043 * conform/data/sys/socket.h-data: New file.
5044 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
5045 * conform/data/sys/types.h-data: Add pthread_barrier_t,
5046 pthread_barrierattr_t, and pthread_spinlock_t.
5047 * conform/data/sys/un.h-data: New file.
5048 * conform/data/sys/utsname.h-data: New file.
5050 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
5052 * inet/gethstbyad.c (gethostbyname): Likewise.
5053 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
5054 * inet/getipnodebyad.c (getipnodebyad): Likewise.
5055 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5056 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5058 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
5059 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5060 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
5061 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
5062 * resolv/gethnamaddr.c (gethostbyname): Likewise.
5063 * resolv/netdb.h (struct hostent): Fix type of h_length member.
5064 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
5065 and second parameter.
5067 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
5070 2000-04-29 Andreas Jaeger <aj@suse.de>
5072 * conform/data/arpa/inet.h-data: New file.
5074 2000-04-28 Geoff Clare <gwc@unisoft.com>
5076 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
5077 path passed to ftw() or nftw() is an empty string.
5078 Closes PR libc/1710.
5080 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5082 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
5083 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
5084 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
5085 * localedata/tst-mbswcs4.c: New file.
5086 * localedata/tst-mbswcs5.c: New file.
5088 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
5089 == NULL. Little optimization.
5091 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
5092 DT_PREINIT_ARRAYSZ).
5093 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
5095 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
5096 overflows in conversion from ASCII.
5098 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5100 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
5101 * Makerules (full_config_sysdirs): Likewise.
5102 * MakeTAGS (full_config_sysdirs): Likewise.
5104 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5106 * .cvsignore: Remove linuxthreads.
5107 * po/.cvsignore: Remove *.pot.
5108 * posix/glob/.cvsignore: Removed.
5109 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
5111 2000-04-25 Andreas Jaeger <aj@suse.de>
5113 * conform/Makefile (distribute): Also distribute contents of
5116 * Makerules (no_deps): Remove abi-versions.h.
5118 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
5120 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5122 * sysdeps/sparc/sparc64/elf/Dist: Remove.
5123 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
5124 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
5125 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
5126 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
5127 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
5130 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
5132 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
5134 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5136 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
5137 * intl/l10nflist.c: Likewise.
5139 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5141 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
5142 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
5143 * intl/textdomain.c [!_LIBC]: Likewise.
5144 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
5145 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
5146 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
5149 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5151 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
5152 character set conversion also in the case the translation was found
5153 after a hash collision or through binary search. Store the maximum
5154 index together with the converted message. Use iconv() when available.
5155 In case of out of memory during conversion, return the unconverted
5156 translated string, not NULL.
5158 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
5160 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
5161 to avoid name clashes with the ia32 linker.
5163 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5165 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
5168 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5170 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
5171 strtoumax, strfry, and memfrob.
5172 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
5173 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5175 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
5176 if this function is available.
5178 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
5181 2000-04-27 Jakub Jelinek <jakub@redhat.com>
5183 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
5185 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5187 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
5188 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
5189 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
5190 * localedata/tst-mbswcs3.c: New file.
5192 2000-04-26 Ulrich Drepper <drepper@redhat.com>
5194 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
5195 characters. Don't handle incomplete characters as errors.
5196 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
5197 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
5198 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
5199 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
5200 * localedata/tst-mbswcs2.c: New file.
5202 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
5203 stored character in state in UNPACK_BYTES macro.
5204 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
5205 test for available characters, handle result of BODY code correctly.
5206 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
5207 (distribute): Add tst-mbswcs.sh.
5208 Add rule to run tst-mbswcs.sh.
5209 * localedata/tst-mbswcs.sh: New file.
5210 * localedata/tst-mbswcs1.c: New file.
5212 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5214 * nis/nis_callback.c (__nis_create_callback): Do failed memory
5215 allocation fixups centrally, fix __builtin_expect call, return NULL
5216 on failure, not NIS_NOMEMORY.
5218 2000-04-27 Bruno Haible <haible@clisp.cons.org>
5220 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
5222 * intl/loadinfo.h (internal_function): Define if not already defined.
5224 2000-04-27 Andreas Jaeger <aj@suse.de>
5226 * intl/libintl.h: Fix typo, reported by Bruno Haible
5227 <haible@clisp.cons.org>.
5229 2000-04-25 Ulrich Drepper <drepper@redhat.com>
5231 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
5232 setting the state to GMON_PROF_BUSY.
5234 2000-04-24 Ulrich Drepper <drepper@redhat.com>
5236 * elf/dl-profile.c (_dl_start_profile): define all variables which
5237 do not have to be global as local variables.
5239 * nis/nis_callback.c (__nis_create_callback): Partially undo last
5240 patch. Keep needed tests for failed memory allocation.
5242 * elf/dl-reloc.c (_dl_relocate_object): Add one more
5243 __builtin_expect saying that we don't normally expect to profile.
5245 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
5246 __builtin_expect where desirable.
5248 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5250 * manual/Makefile (chapters): Add syslog.
5251 * manual/syslog.texi: New file.
5252 * manual/math.texi: Fix references.
5253 * manual/terminal.texi: Likewise.
5254 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5256 2000-04-18 Jakub Jelinek <jakub@redhat.com>
5258 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
5259 stdlib.h was not included or __USE_XOPEN not defined.
5261 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5263 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
5264 Patch by Zack Weinberg <zack@wolery.cumb.org>.
5266 2000-04-22 Ulrich Drepper <drepper@redhat.com>
5268 * manual/examples/subopt.c (mount_opts): Add missing terminating
5270 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5272 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
5273 * libio/ftello.c: Likewise.
5274 * libio/ftello64.c: Likewise.
5275 * libio/ioftell.c: Likewise.
5276 * sysdeps/generic/memrchr.c: Likewise.
5277 * sysdeps/posix/libc_fatal.c: Likewise.
5278 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5279 * misc/fstab.c: Include <string.h> for strcmp prototype.
5280 * sysdeps/generic/ldsodefs.h: Likewise.
5281 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5282 Patch by Kurt Roeckx <Q@ping.be>.
5284 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
5285 Remove db-open. Change all uses.
5286 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
5288 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5290 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
5291 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
5292 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
5293 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
5294 with .set noat/at to shut up warnings.
5295 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
5296 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
5297 compilation if __NR_pciconfig_iobase is not defined.
5298 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
5301 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5303 * manual/sysinfo.texi: Fix typo.
5304 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
5305 Replace "high precision time" with "high accuracy clock".
5307 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5309 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
5310 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
5312 * nis/nis_subr.c: Use __builtin_expect.
5313 * nis/ypclnt.c: Likewise.
5314 * nis/nis_getservlist.c: Likewise.
5315 * nis/nis_creategroup.c: Likewise.
5317 * nis/nis_callback.c (__nis_create_callback): Check result of
5318 memory allocation. Fix memory leaks. Use __builtin_expect.
5319 (__nis_destroy_callback): Fix memory leaks.
5321 2000-04-21 Andreas Jaeger <aj@suse.de>
5323 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
5324 * sysdeps/mips/mips64/add_n.S: Likewise.
5325 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
5326 * sysdeps/mips/mips64/lshift.S: Likewise.
5327 * sysdeps/mips/mips64/mul_1.S: Likewise.
5328 * sysdeps/mips/mips64/rshift.S: Likewise.
5329 * sysdeps/mips/mips64/setjmp.S: Likewise.
5330 * sysdeps/mips/mips64/sub_n.S: Likewise.
5331 * sysdeps/mips/mips64/submul_1.S: Likewise
5332 * sysdeps/unix/mips/sysdep.S: Likewise.
5334 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
5335 and update comment. The strtab from _dl_relocate_object can be
5338 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5340 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
5341 * iconv/iconv_close.c (iconv_close): Likewise.
5342 * iconv/iconv_open.c (iconv_open): Likewise.
5344 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
5345 __builtin_expect where useful.
5347 * grp/initgroups.c (initgroups): Test for result of memory
5348 allocation and punt if it fails.
5350 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
5351 * grp/fgetgrent.c (fgetfrent): Likewise.
5352 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5354 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5356 * libio/vasprintf.c: Include string.h to get memcpy prototype.
5358 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5360 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
5361 don't search for NUL byte to decrement counter.
5362 Reported by Ulrich.Brink@sap.com.
5364 * iconv/gconv_simple.c: Define separate functions to convert from
5365 UCS4/UCS4-LE to the internal encoding.
5366 * iconv/gconv_builtin.h: Use separate functions to convert from
5367 UCS4/UCS4-LE to the internal encoding.
5368 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
5369 __gconv_transform_ucs4le_internal.
5371 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
5372 output buffer overflow. Reported by Ulrich.Brink@sap.com.
5374 * iconv/skeleton.c: Add some more __builtin_expect.
5375 * iconv/loop.c: Likewise.
5377 2000-03-08 H.J. Lu <hjl@gnu.org>
5379 * posix/regex.c (regex_compile): Correctly handle "\{" when
5380 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
5382 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5384 * manual/stdio.texi: Give advise about handling error when using
5386 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
5388 2000-04-19 Jakub Jelinek <jakub@redhat.com>
5390 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
5391 field to nelems * sizeof (uint32_t).
5392 * locale/programs/ld-address.c (address_output): Align word fields
5394 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5395 Don't restart idx pointers to idx end at the duo_int_curr_symbol
5397 Avoid giving arbitrary garbage in the crncystr field.
5398 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
5399 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
5401 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5402 Don't restart idx pointers to idx end at the decimal_point_wc field.
5403 * locale/programs/ld-time.c (time_output): week_1stday should be
5404 word, not byte. Align it properly.
5406 2000-04-19 H.J. Lu <hjl@gnu.org>
5408 * csu/gmon-start.c (_start): Declared as "extern void".
5411 2000-04-18 Andreas Jaeger <aj@suse.de>
5413 * manual/install.texi (Running make install): Don't mention utmpd
5416 2000-04-18 Andreas Jaeger <aj@suse.de>
5418 * linuxthreads/Versions: Use ld instead of ld.so.
5420 * elf/Makefile (ld-map): Use ld.map.
5422 * Versions.def: Use ld instead of ld.so.
5423 * elf/Versions: Likewise.
5424 * sysdeps/mach/hurd/Versions: Likewise.
5426 2000-04-20 Andreas Jaeger <aj@suse.de>
5428 * elf/rtld.c (print_statistics): Move ifndef further up.
5429 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
5430 (dl_main): Likewise.
5432 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5434 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
5435 * gmon/Versions: Move moncontrol to GLIBC_2.2.
5437 * po/cs.po: Update from translation team.
5439 * sysdeps/generic/updwtmp.c: Remove daemon support.
5441 * login/Makefile (routines): Remove utmp_daemon.
5443 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
5444 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
5445 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
5446 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
5448 * elf/rtld.c: Display statitics option also if hp timing is not
5451 * login/programs/connection.c: Removed.
5452 * login/programs/database.c Removed.
5453 * login/programs/error.c: Removed.
5454 * login/programs/request.c: Removed.
5455 * login/programs/xtmp.c: Removed.
5456 * login/programs/xtmp.h: Removed.
5457 * login/Makefile: Remove rules for utmpd.
5458 * login/README.utmpd: Removed.
5459 * login/utmp_daemon.c: Removed.
5460 * login/getutent_r.c: Remove references to daemon functions.
5461 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
5464 2000-04-18 Andreas Jaeger <aj@suse.de>
5466 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5467 2.2 for libnsl, libresolv, librt, libnss_*.
5469 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
5471 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
5473 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5475 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
5476 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
5477 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
5478 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
5479 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
5480 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
5481 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
5482 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
5483 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
5484 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
5485 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
5486 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
5487 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
5489 * sysdeps/unix/sysv/aix/msync.c: New file.
5490 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
5491 * sysdeps/unix/sysv/aix/net/if.h: New file.
5492 * sysdeps/unix/sysv/aix/pipe.c: New file.
5493 * sysdeps/unix/sysv/aix/poll.c: New file.
5494 * sysdeps/unix/sysv/aix/rename.c: New file.
5495 * sysdeps/unix/sysv/aix/rmdir.c: New file.
5496 * sysdeps/unix/sysv/aix/select.c: New file.
5497 * sysdeps/unix/sysv/aix/semctl.c: New file.
5498 * sysdeps/unix/sysv/aix/semget.c: New file.
5499 * sysdeps/unix/sysv/aix/semop.c: New file.
5500 * sysdeps/unix/sysv/aix/sendto.c: New file.
5501 * sysdeps/unix/sysv/aix/setgroups.c: New file.
5502 * sysdeps/unix/sysv/aix/setpgid.c: New file.
5503 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5504 * sysdeps/unix/sysv/aix/setpriority.c: New file.
5505 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5506 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5507 * sysdeps/unix/sysv/aix/setsid.c: New file.
5508 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5509 * sysdeps/unix/sysv/aix/shmat.c: New file.
5510 * sysdeps/unix/sysv/aix/shmctl.c: New file.
5511 * sysdeps/unix/sysv/aix/shmdt.c: New file.
5512 * sysdeps/unix/sysv/aix/shmget.c: New file.
5513 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5514 * sysdeps/unix/sysv/aix/sigstack.c: New file.
5515 * sysdeps/unix/sysv/aix/socket.c: New file.
5516 * sysdeps/unix/sysv/aix/socketpair.c: New file.
5517 * sysdeps/unix/sysv/aix/speed.c: New file.
5518 * sysdeps/unix/sysv/aix/symlink.c: New file.
5519 * sysdeps/unix/sysv/aix/sync.c: New file.
5520 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5521 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5522 * sysdeps/unix/sysv/aix/times.c: New file.
5523 * sysdeps/unix/sysv/aix/ulimit.c: New file.
5524 * sysdeps/unix/sysv/aix/umask.c: New file.
5525 * sysdeps/unix/sysv/aix/unlink.c: New file.
5526 * sysdeps/unix/sysv/aix/ustat.c: New file.
5527 * sysdeps/unix/sysv/aix/utimes.c: New file.
5529 2000-04-18 Andreas Jaeger <aj@suse.de>
5531 * manual/startup.texi (Environment Access): Fix putenv prototype
5532 according to recent changes.
5533 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5536 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5539 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5541 * posix/Makefile (tests): Add tst-getaddrinfo.
5542 * posix/tst-getaddrinfo.c: New file.
5544 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5546 * manual/sysinfo.texi: Document that umount2 is not widely available.
5548 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5549 signal timing is not really implemented.
5551 2000-04-17 Andreas Jaeger <aj@suse.de>
5553 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5555 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5557 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5560 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5562 * manual/intro.texi: Change reference from System Information to
5564 * manual/users.texi: Likewise.
5565 * manual/conf.texi: Likewise.
5566 * manual/sysinfo.texi: Document mount, umount, and umount2.
5567 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5569 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5571 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5572 Create wnumstr as well as numstr to support wide character output
5575 2000-04-15 Jakub Jelinek <jakub@redhat.com>
5577 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5578 modification and move it...
5579 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5580 Add -melf64_sparc switch to $(LD) on sparc64-linux.
5581 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5582 switch to $(LD) on sparc-linux.
5584 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
5586 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5587 and setresuid from sysdep_routines.
5589 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5591 * manual/Makefile (chapters): Add resource.
5593 * manual/time.texi: Move section on resources to...
5594 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
5596 * manual/setjmp.texi: Adjust back reference.
5597 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5599 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5601 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5602 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5603 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5604 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5605 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5606 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5607 * sysdeps/unix/sysv/aix/close.c: Add copyright.
5608 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
5609 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
5610 * sysdeps/unix/sysv/aix/access.c: Add copyright.
5611 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
5612 * sysdeps/unix/sysv/aix/Implies: New file.
5613 * sysdeps/unix/sysv/aix/Versions: New file.
5614 * sysdeps/unix/sysv/aix/bind.c: New file.
5615 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
5616 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
5617 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
5618 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
5619 * sysdeps/unix/sysv/aix/chdir.c: New file.
5620 * sysdeps/unix/sysv/aix/chmod.c: New file.
5621 * sysdeps/unix/sysv/aix/chroot.c: New file.
5622 * sysdeps/unix/sysv/aix/creat.c: New file.
5623 * sysdeps/unix/sysv/aix/dl-close.c: New file.
5624 * sysdeps/unix/sysv/aix/dl-open.c: New file.
5625 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
5626 * sysdeps/unix/sysv/aix/fchdir.c: New file.
5627 * sysdeps/unix/sysv/aix/fchmod.c: New file.
5628 * sysdeps/unix/sysv/aix/getgroups.c: New file.
5629 * sysdeps/unix/sysv/aix/gethostname.c: New file.
5630 * sysdeps/unix/sysv/aix/getpriority.c: New file.
5631 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
5632 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
5633 * sysdeps/unix/sysv/aix/getrusage.c: New file.
5634 * sysdeps/unix/sysv/aix/link.c: New file.
5635 * sysdeps/unix/sysv/aix/madvise.c: New file.
5636 * sysdeps/unix/sysv/aix/mkdir.c: New file.
5637 * sysdeps/unix/sysv/aix/mknod.c: New file.
5638 * sysdeps/unix/sysv/aix/mprotect.c: New file.
5639 * sysdeps/unix/sysv/aix/msgctl.c: New file.
5640 * sysdeps/unix/sysv/aix/msgget.c: New file.
5641 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
5643 2000-04-17 Andreas Jaeger <aj@suse.de>
5645 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
5646 as suggested by Ulrich Drepper.
5647 (__dl_runtime_resolve): Remove unused variable, initialize sym
5649 (RTLD_START): Document OFFSET_GP_GOT.
5650 (OFFSET_GP_GOT): New magic value.
5651 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
5652 (elf_machine_got_rel): Only declare strtab if needed.
5653 (elf_machine_relplt): Removed, it's not needed.
5654 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
5656 * sysdeps/mips/add_n.S: Add newline at EOF.
5657 * sysdeps/mips/rshift.S: Likewise.
5658 * sysdeps/mips/mul_1.S: Likewise.
5659 * sysdeps/mips/lshift.S: Likewise.
5660 * sysdeps/mips/addmul_1.S: Likewise.
5662 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5664 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
5666 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
5667 * elf/dl-lookup.c: Likewise.
5668 * elf/dl-init.c (_dl_init): Likewise.
5669 * elf/dl-fini.c (_dl_fini): Likewise.
5670 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5671 * elf/dl-close.c (_dl_close): Likewise.
5672 * elf/rtld.c (_dl_start_final): Likewise.
5674 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5676 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5678 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5679 only fall back on using Linux.
5681 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
5682 Before testing versions check that we actually loaded the object
5683 and whether we are in trace mode. If not loaded during tracing don't
5684 test versions in this object.
5685 (_dl_check_all_versions): Take new parameter and pass to
5686 _dl_check_map_versions.
5687 * sysdeps/generic/ldsodefs.h: Update prototypes for
5688 _dl_check_all_versions and _dl_check_map_versions.
5689 * elf/rtld.c (struct version_check_args): Add dotrace.
5690 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
5691 (dl_main): Pass info about trace mode to version_check_doit.
5692 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
5693 _dl_check_all_versions.
5695 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5697 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5699 * manual/argp.texi: Document index parameter of argp_parse.
5701 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5703 2000-04-14 Andreas Jaeger <aj@suse.de>
5705 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
5706 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
5708 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
5710 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5712 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
5713 compat_symbol call for old adjtime.
5715 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
5716 function interface. Patch by Richard Henderson <rth@cygnus.com>.
5718 * posix/Makefile (headers): Add spawn.h.
5719 (distribute): Add spawn_int.h.
5720 (routines): Add spawn_faction_init, spawn_faction_destroy,
5721 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
5722 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
5723 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
5724 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
5725 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
5726 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
5727 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
5728 posix_spawnattr_init, posix_spawnattr_destroy,
5729 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
5730 posix_spawnattr_getflags, posix_spawnattr_setflags,
5731 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
5733 * posix/spawn.c: New file.
5734 * posix/spawn.h: New file.
5735 * posix/spawn_faction_addclose.c: New file.
5736 * posix/spawn_faction_adddup2.c: New file.
5737 * posix/spawn_faction_addopen.c: New file.
5738 * posix/spawn_faction_destroy.c: New file.
5739 * posix/spawn_faction_init.c: New file.
5740 * posix/spawn_int.h: New file.
5741 * posix/spawnattr_destroy.c: New file.
5742 * posix/spawnattr_getdefault.c: New file.
5743 * posix/spawnattr_getflags.c: New file.
5744 * posix/spawnattr_getpgroup.c: New file.
5745 * posix/spawnattr_getschedparam.c: New file.
5746 * posix/spawnattr_getschedpolicy.c: New file.
5747 * posix/spawnattr_getsigmask.c: New file.
5748 * posix/spawnattr_init.c: New file.
5749 * posix/spawnattr_setdefault.c: New file.
5750 * posix/spawnattr_setflags.c: New file.
5751 * posix/spawnattr_setpgroup.c: New file.
5752 * posix/spawnattr_setschedparam.c: New file.
5753 * posix/spawnattr_setschedpolicy.c: New file.
5754 * posix/spawnattr_setsigmask.c: New file.
5755 * posix/spawni.c: New file.
5756 * posix/spawnp.c: New file.
5758 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
5759 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5761 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5763 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
5764 * malloc/malloc.c: Implement posix_memalign for glibc.
5765 * include/stdlib.h: Add prototype for __posix_memalign.
5766 * stdlib/stdlib.h: Add prototype for posix_memalign.
5768 2000-04-14 Andreas Jaeger <aj@suse.de>
5770 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
5772 (elf_machine_got_rel): Cast sym correctly.
5774 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
5775 * sysdeps/mips/addmul_1.S: Likewise.
5776 * sysdeps/mips/lshift.S: Likewise.
5777 * sysdeps/mips/mul_1.S: Likewise.
5778 * sysdeps/mips/rshift.S: Likewise.
5779 * sysdeps/mips/sub_n.S: Likewise.
5780 * sysdeps/mips/submul_1.S: Likewise.
5782 * stdlib/stdlib.h: Fix typo in comment.
5784 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5785 2.2 for libdl, ld and libm.
5787 * sysdeps/generic/madvise.c: Fix typos.
5789 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
5791 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
5793 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
5796 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5798 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
5799 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
5800 Make old name weak alias.
5801 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5802 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
5803 Make old name weak alias.
5804 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5806 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
5807 posix_fallocate, and posix_fallocate64.
5808 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
5809 posix_fallocate, and posix_fallocate64.
5810 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
5811 posix_fallocate, and posix_fallocate64.
5812 * sysdeps/generic/fadvise.c: New file.
5813 * sysdeps/generic/fadvise64.c: New file.
5814 * sysdeps/generic/fallocate.c: New file.
5815 * sysdeps/generic/fallocate64.c: New file.
5816 * sysdeps/posix/fallocate.c: New file.
5817 * sysdeps/posix/fallocate64.c: New file.
5818 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
5819 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
5820 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
5821 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5822 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5823 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5824 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5825 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5826 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5828 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
5829 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5831 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5833 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
5834 * misc/sys/mman.h (posix_madvise): Add prototype.
5835 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
5836 old name and posix_madvise weak aliases.
5837 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5838 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
5839 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5840 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5841 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
5842 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5843 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5845 2000-04-13 Andreas Jaeger <aj@suse.de>
5847 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
5849 (elf_machine_got_rel): Only add runtime display if needed.
5850 (elf_machine_got_rel): Handle symbol versioning.
5852 2000-04-13 Andreas Jaeger <aj@suse.de>
5854 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
5856 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
5859 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
5860 with some applications.
5861 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
5863 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
5864 * sysdeps/mips/bsd-_setjmp.S: Likewise.
5865 * sysdeps/mips/setjmp.S: Likewise.
5867 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
5869 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5871 * posix/globtest.sh: Work around inconsistency with expanding ~/
5872 in shell (PR libc/1690). Reported by patsmith@pobox.com.
5874 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5876 * posix/getconf.c: Add support for many more POSIX options.
5877 * sysdeps/posix/sysconf.c: Likewise.
5878 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
5879 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
5881 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5882 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
5883 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
5884 CLOCK_THREAD_CPUTIME_ID.
5885 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
5886 CLOCK_PROCESS_CPUTIME_ID.
5887 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
5888 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
5889 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
5890 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
5892 * malloc/Makefile (tests): Add tst-calloc.
5893 * malloc/tst-calloc.c: New file.
5895 * sysdeps/arm/libm-test-ulps: New file.
5897 * malloc/malloc.c: Undo all of today's changes.
5899 * locale/programs/locale.c (show_info): Don't try to look into
5900 data for LC_ALL (there is none).
5902 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
5903 avoid writing over boundary.
5904 Patch by Greg McGary <gkm@eng.ascend.com>.
5906 * sysdeps/arm/memprof.h: New file.
5908 2000-04-12 Andreas Jaeger <aj@suse.de>
5910 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
5912 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
5913 for memmem declaration.
5915 2000-04-12 Ulrich Drepper <drepper@redhat.com>
5917 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
5919 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5921 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
5923 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5924 Patch by Bart Veer <bartv@redhat.com>.
5926 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
5929 2000-04-11 Andreas Jaeger <aj@suse.de>
5931 * sysdeps/mips/dl-machine.h: Update some comments.
5932 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
5934 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5936 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
5937 _POSIX_SHARED_MEMORY_OBJECTS.
5939 * rt/Makefile (tests): Add tst-shm.
5940 Add rules to generate tst-shm.
5941 * rt/tst-shm.c: New file.
5943 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
5946 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
5947 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
5948 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
5949 * sysdeps/generic/shm_open.c: New file.
5950 * sysdeps/generic/shm_unlink.c: New file.
5951 * sysdeps/unix/sysv/linux/shm_open.c: New file.
5952 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
5953 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
5954 __endmntent, __getmntent_r, __setmntent, and __statfs.
5956 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
5957 fragmentation by allocating new memory at the end instead of
5960 * posix/globtest.sh: Fix last change.
5962 2000-04-10 Philip Blundell <philb@gnu.org>
5964 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
5965 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
5966 IPV6_DROP_MEMBERSHIP.
5967 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
5970 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5972 * elf/readlib (process_file): Close streams in case of an error.
5974 2000-04-09 Andreas Jaeger <aj@suse.de>
5976 * elf/readlib.c (process_file): Check if file is big enough to
5977 contain aout and ELF headers.
5978 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
5980 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
5982 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
5984 2000-04-11 Ulrich Drepper <drepper@redhat.com>
5986 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
5988 * rt/Makefile (tests): Add tst-clock.
5989 Add rules to build tst-clock.
5990 * rt/tst-clock.c: New file.
5991 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
5992 about initialization of nsec.
5993 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
5994 about initialization of freq. Set retval to zero if successful.
5995 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
5997 2000-04-10 Ulrich Drepper <drepper@redhat.com>
5999 * Versions.def (librt): Add GLIBC_2.2.
6000 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
6001 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
6002 timer_getoverr, timer_gettime, and timer_settime.
6003 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
6004 clock_settime, timer_create, timer_delete, timer_getoverrun,
6005 timer_gettime, and timer_settime.
6006 * sysdeps/generic/clock_getcpuclockid.c: New file.
6007 * sysdeps/generic/get_clockfreq.c: New file.
6008 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
6009 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
6010 * sysdeps/mach/hurd/i386/bits/time.h: New file.
6011 * sysdeps/unix/i386/i586/clock_getres.c: New file.
6012 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
6013 * sysdeps/unix/i386/i686/Implies: New file.
6014 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
6015 * time/Makefile (routines): Move clock_getres, clock_gettime,
6016 clock_settime, timer_create, timer_delete, timer_getoverr,
6017 timer_gettime, and timer_settime to rt/Makefile.
6018 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
6019 clock_settime, timer_create, timer_delete, timer_getoverrun,
6020 timer_gettime, and timer_settime.
6021 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6023 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
6024 and not const as attribute name.
6026 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
6028 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
6030 2000-04-10 Andreas Schwab <schwab@suse.de>
6032 * posix/globtest.sh: Skip tests that depend on unreadable
6033 directories if run as root.
6035 2000-04-10 Ulrich Drepper <drepper@redhat.com>
6037 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
6038 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
6040 2000-04-09 Ulrich Drepper <drepper@redhat.com>
6042 * sysdeps/unix/clock_gettime.c: New file.
6043 * sysdeps/unix/clock_settime.c: New file.
6044 * sysdeps/posix/clock_getres.c: New file.
6046 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
6048 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
6049 lseek call be passing in a buffer which never allow a successful
6050 first getdents syscall if not at leas the initial entry can be
6051 stored in the user buffer.
6053 * localedata/Makefile: Add rules to clean up directories created by
6056 2000-04-09 Geoff Clare <gwc@unisoft.com>
6058 * localedata/tst-fmon.data: Added new tests for strfmon()
6059 using test locales with all combinations of cs_precedes,
6060 sign_posn and sep_by_space.
6061 * localedata/tst-fmon.sh: Updated to support the new tests.
6062 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
6063 the localedef source for the new strfmon() test locale.
6064 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
6065 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
6066 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
6067 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
6068 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
6069 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
6070 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
6071 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
6072 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
6073 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
6074 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
6075 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
6076 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
6077 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
6079 * stdlib/strfmon.c: Correct problems with missing or extra
6080 spaces for unusual combinations of sign_posn and sep_by_space.
6081 Improved left-precision alignment code.
6083 2000-04-07 Andreas Jaeger <aj@suse.de>
6085 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
6087 2000-04-10 Andreas Jaeger <aj@suse.de>
6089 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
6091 2000-04-09 Ulrich Drepper <drepper@redhat.com>
6093 Implement handling of restartable conversion functions according to
6095 * iconv/gconv.h (__gconv_fct): Add additional parameter.
6096 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
6097 * iconv/gconv.c: Pass additional parameter to conversion function.
6098 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
6099 (internal_ucs4le_loop_single): New function.
6100 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
6101 (__gconv_transform_internal_ascii): Likewise.
6102 (__gconv_transform_internal_utf8): Likewise.
6103 (__gconv_transform_utf8_internal): Likewise.
6104 (__gconv_transform_ucs2_internal): Likewise.
6105 (__gconv_transform_internal_ucs2): Likewise.
6106 (__gconv_transform_ucs2reverse_internal): Likewise.
6107 (__gconv_transform_internal_ucs2reverse): Likewise.
6108 (internal_ucs4le_loop_unaligned): Before return
6109 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
6110 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
6111 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
6112 * iconv/loop.c: Fit in definition of function to convert one character
6113 for processing of left-over bytes from the state object.
6114 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
6115 inend to match names in loop functions.
6116 (RESET_INPUT_BUFFER): Change apprpriately.
6117 (gconv): If needed, call function to process bytes from the state
6118 object. Similar at the end: store left over bytes if input is
6120 Take extra argument and add new argument to all calls of the
6121 conversion function.
6122 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
6123 information in the state object to not conflict with length count.
6124 * iconvdata/iso-2022-jp.c: Likewise.
6125 * iconvdata/iso-2022-kr.c: Likewise.
6126 * iconvdata/unicode.c: Adjust for change change in parameters of
6128 * iconvdata/utf-16.c: Likewise.
6129 * libio/iofwide.c: Add new parameter to all calls of conversion
6131 * wcsmbs/btowc.c: Likewise.
6132 * wcsmbs/mbrtowc.c: Likewise.
6133 * wcsmbs/mbsnrtowcs.c: Likewise.
6134 * wcsmbs/mbsrtowcs.c: Likewise.
6135 * wcsmbs/wcrtomb.c: Likewise.
6136 * wcsmbs/wcsnrtombs.c: Likewise.
6137 * wcsmbs/wcsrtombs.c: Likewise.
6138 * wcsmbs/wctob.c: Likewise.
6140 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
6143 2000-04-07 Andreas Jaeger <aj@suse.de>
6145 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
6148 2000-04-07 Ulrich Drepper <drepper@redhat.com>
6150 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
6151 element a union to allow byte access.
6152 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
6154 * iconvdata/iso-2022-jp.c: Likewise.
6155 * iconvdata/iso-2022-kr.c: Likewise.
6156 * wcsmbs/mbsinit.c: Likewise.
6157 * stdlib/mblen.c: Likewise.
6158 * stdio-common/printf-parse.h: Likewise.
6160 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6162 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
6163 kernel does not allow relative seeks on descriptors associated
6164 with directories. Go back to get the position in the directory
6165 every time we enter the function. Return -1 and set errno if one
6166 entry could be read from the kernel but does not fit into the
6167 buffer passed in by the user.
6169 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
6170 Support ..(2).. ellipsis.
6171 (parse_charmap): Recognize ..(2).. etc and pass step down.
6172 Correctly generate names for UCS4 characters.
6174 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
6175 (ctype_finish): We know the wide character value for <SP>,
6177 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
6178 (charclass_ucs4_ellipsis): Likewise.
6179 (read_translit_ignore_entry): Store ellipsis step.
6180 (ctype_read): Recognize ..(2).. etc and pass step down.
6182 * locale/programs/linereader.c (lr_token): When seeing comment
6183 character ignore only rest of line in sources but stop at escaped
6185 Recognize ..(2).. and ....(2).....
6187 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
6188 and tok_ellipsis4_2.
6190 2000-04-06 Andreas Jaeger <aj@suse.de>
6192 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
6193 removed, remove it here also.
6194 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
6195 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
6196 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
6197 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
6199 2000-04-06 Jakub Jelinek <jakub@redhat.com>
6201 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
6202 include bits/sigcontext.h.
6203 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6205 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6207 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
6208 collation symbol definition. Value in quivalence definition must
6209 be defined, don't check that it is not.
6211 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
6212 values as character names.
6214 * locale/programs/ld-ctype.c (get_character): Handle missing
6215 repertoire map correctly.
6217 2000-04-05 Cristian Gafton <gafton@redhat.com>
6219 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
6220 because it is used in generic code.
6221 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
6222 * wcsmbs/wcwidth.h: Declare __ctype32_b.
6223 * intl/gettext.c: Include <locale.h>.
6224 * intl/ngettext.c: Likewise.
6226 2000-04-05 Jakub Jelinek <jakub@redhat.com>
6228 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
6229 socklen_t type for size.
6230 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
6231 init function interface.
6232 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6233 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
6235 (__jmp_buf): Declare the whole type structure here, don't use
6238 2000-04-05 Ulrich Drepper <drepper@redhat.com>
6240 * iconv/skeleton.c (put16u): Fix typo.
6241 Reported by Bruno Haible <haible@ilog.fr>.
6243 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
6244 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
6245 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
6246 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
6247 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
6248 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
6250 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
6251 * Makefile (distribute): Add abi-versions.awk and
6253 Patches by Torsten Duwe <duwe@caldera.de>.
6255 2000-04-05 Andreas Schwab <schwab@suse.de>
6257 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
6259 2000-04-05 Andreas Schwab <schwab@suse.de>
6261 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
6262 entry point, used on Hurd.
6264 2000-04-04 Andreas Jaeger <aj@suse.de>
6266 * intl/Makefile: Only run the gettext test with shared libraries.
6268 2000-03-16 Mark Kettenis <kettenis@gnu.org>
6270 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6271 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6273 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
6275 * Makeconfig: Undo last change.
6276 * configure.in: If --disable-shared was given, don't set VERSIONING,
6277 don't define DO_VERSIONING, and don't give scare warning for no
6279 * configure: Regenerated.
6281 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
6283 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
6285 2000-04-04 Andreas Jaeger <aj@suse.de>
6287 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
6289 2000-04-04 Ulrich Drepper <drepper@redhat.com>
6291 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
6292 STV_HIDDEN and STV_INTERNAL during lookup.
6293 (profile_fixup): Likewise.
6294 * elf/dl-reloc.c (RESOLVE): Likewise.
6296 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
6297 unaligned so that it compiles for system which need unaligned
6300 2000-04-04 Andreas Schwab <schwab@suse.de>
6302 * elf/cache.c (print_entry): Only look at the type field when
6305 2000-04-04 Andreas Schwab <schwab@suse.de>
6307 * iconvdata/big5.c (BODY): Fix typo.
6309 2000-04-04 Andreas Schwab <schwab@suse.de>
6311 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
6312 function interface. Remove unused _dl_start_user entry point.
6314 2000-04-03 Andreas Jaeger <aj@suse.de>
6316 * include/arpa/inet.h (__inet_aton): Add protoype.
6318 2000-04-01 Andreas Jaeger <aj@suse.de>
6320 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
6322 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
6323 * sysdeps/mach/mips/thread_state.h: Likewise.
6325 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
6326 * sysdeps/generic/fegetenv.c: Likewise.
6327 * sysdeps/generic/fesetenv.c: Likewise.
6328 * sysdeps/generic/feupdateenv.c: Likewise.
6329 * sysdeps/generic/fraiseexcpt.c: Likewise.
6330 * sysdeps/generic/fsetexcptflg.c: Likewise.
6331 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
6332 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6333 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6334 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6336 2000-04-02 H.J. Lu <hjl@gnu.org>
6338 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
6340 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6342 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
6343 (add_name_to_object): Add cast in malloc call.
6344 (fillin_rpath): Optimize loop to initialize ->status a bit.
6346 * sysdeps/i386/dl-machine.h: Undo last change.
6347 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
6348 Restore %edx register after call here.
6350 * sysdeps/arm/atomicity.h: New file.
6351 Contributed by Jesper Skov <jskov@redhat.com>.
6353 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
6355 * Makeconfig (preprocess-versions): Undo last change.
6356 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
6358 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
6359 here, before we might move the stack.
6360 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
6361 (init1): And not here.
6363 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
6364 change, to restore argc value in call-clobbered register after
6365 RTLD_START_SPECIAL_INIT, which will contain a call.
6367 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
6368 allocating and initializing L->l_initfini.
6370 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
6372 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6374 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
6375 RUNPATH, RPATH, and LD_LIBRARY_PATH.
6376 (open_path): Change type of fourth parameter. Make pointer to array
6377 of pointers. Create variable dirs with original type.
6378 Track whether any directory for the object exists and if not,
6379 change *DIRSP to (void*) -1 to signal there is no such search path.
6380 (_dl_map_object): Change all calls of open_path.
6381 Rewrite decompose_rpath calls.
6383 2000-03-31 Andreas Schwab <schwab@suse.de>
6385 * string/strfry.c: Declare STATE as array of char instead of int
6386 and do not initialize it (done by initstate_r). Pass correct
6389 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6391 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
6393 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
6394 instruction out of the code.
6396 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6398 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
6399 element at this position.
6401 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
6402 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
6404 * elf/dl-lookup.c (add_dependency): New function.
6405 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
6406 dynamically loaded object.
6407 (_dl_lookup_symbol_skip): Likewise.
6408 (_dl_lookup_versioned_symbol): Likewise.
6409 (_dl_lookup_versioned_symbol_skip): Likewise.
6410 * elf/dl-open.c: Don't define _dl_load_lock here...
6411 * elf/rtld.c: ...but here...
6412 * elf/dl-support.c: ...and here.
6413 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
6415 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
6417 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
6419 * dlfcn/glrefmain.c: Add one more debug message.
6421 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
6423 * Makerules (sysd-versions): Use ( ) instead of { }.
6425 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
6426 optimize for the non-debugging case.
6427 * elf/dl-lookup.c: Likewise.
6428 * sysdeps/generic/libc-start.c: Likewise.
6430 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
6432 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
6433 (init1): Don't initialize __environ here, since init already does it.
6434 (first_init): New function, broken out of _init.
6435 (_hurd_stack_setup): Use it.
6436 [SHARED] (_dl_init_first): New function, renamed from old _init.
6437 (init1) [SHARED]: Don't call posixland_init here.
6438 (posixland_init): Take ENVP arg, so signature is usual for initializer.
6439 [SHARED] (_init): Define as alias for posixland_init.
6440 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
6441 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
6442 RTLD_START_SPECIAL_INIT before calling initializers.
6443 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
6444 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
6445 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
6446 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
6448 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
6449 since we define the function with the name `tmpfile'.
6451 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
6452 * hurd/Versions: Likewise.
6454 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6456 * elf/dl-runtime.c (fixup): Fix typo in comment.
6458 * resolv/netdb.h (getnameinfo): All length parameters are of type
6460 * inet/getnameinfo.c: Likewise.
6462 2000-04-01 Ulrich Drepper <drepper@redhat.com>
6464 * posix/unistd.h (socklen_t): Define if it has not yet happened.
6465 (gethostname): Change type of second parameter to socklen_t.
6466 * include/unistd.h (__gethostname): Change type of second
6467 parameter to socklen_t.
6468 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
6469 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6470 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
6471 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
6473 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
6474 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
6475 Allow definition elsewhere.
6476 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6477 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6478 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6479 * sysdeps/generic/bits/types.h: Define __socklen_t.
6480 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6481 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6482 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6483 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6484 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6485 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6486 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6488 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
6489 (inet_lnaof): Likewise.
6490 (inet_netof): Likewise.
6491 (inet_network): Likewise.
6492 (inet_aton): Likewise.
6493 (inet_makeaddr): Change parameter types to in_addr_t.
6494 (inet_neta): Likewise.
6495 (inet_ntop): Change type of last parameter to socklen_t.
6496 (inet_aton): Only make available if __USE_MISC.
6497 (inet_neta): Likewise.
6498 (inet_net_ntop): Likewise.
6499 (inet_net_pton): Likewise.
6500 (inet_nsap_ntoa): Likewise.
6502 * inet/in.h: Define in_port_t type.
6503 Define in_addr_t type.
6504 (struct in_addr): Use in_addr_t in definition.
6505 (IN_CLASSA): Use cast to in_addr_t.
6506 (IN_CLASSB): Likewise.
6507 (IN_CLASSC): Likewise.
6508 (IN_CLASSD): Likewise.
6509 (IN_EXPERIMENTAL): Likewise.
6510 (IN_BADCLASS): Likewise.
6511 (INADDR_ANY): Likewise.
6512 (INADDR_BROADCAST): Likewise.
6513 (INADDR_NONE): Likewise.
6514 (INADDR_LOOPBACK): Likewise.
6515 (INADDR_UNSPEC_GROUP): Likewise.
6516 (INADDR_ALLHOSTS_GROUP): Likewise.
6517 (INADDR_ALLRTRS_GROUP): Likewise.
6518 (INADDR_MAX_LOCAL_GROUP): Likewise.
6519 (struct sockaddr_in): Use in_port_t for sin_port element.
6520 (struct sockaddr_in6): Use in_port_t for sin6_port element.
6521 Use uint8_t instead of u_int8_t.
6523 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6524 Call __inet_aton instead of inet_aton.
6525 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
6527 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6528 (innetgr): Likewise.
6529 (struct addrinfo): Use socklen_t for ai_addrlen element.
6531 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6532 IPV6_RECVERR): New defines.
6534 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6535 * inet/getnetbyad.c: Likewise.
6536 * inet/getnetbyad_r.c: Likewise.
6537 * nis/nss_nis/nis-network.c: Likewise.
6538 * nis/nssplus_nis/nisplus-network.c: Likewise.
6539 * nss/nss_files/files-network.c: Likewise.
6540 * resolv/netdb.h: Define uint32_t if not already happened.
6541 Include bits/netdb.h. Remove definition of struct netent.
6542 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6543 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6544 * sysdeps/generic/bits/netdb.h: New file.
6545 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6547 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6548 (tests): Add glrefmain.
6549 Add rules to build modules and run tests. Ignore result of glrefmain
6550 for now since it fails.
6551 * dlfcn/glrefmain.c: New file.
6552 * dlfcn/glreflib1.c: New file.
6553 * dlfcn/glreflib2.c: New file.
6555 * test-skeleton.c: Include <string.h> for strsignal prototype.
6557 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6560 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6561 former init-first.h. Initialize __libc_multiple_libcs.
6563 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6565 * iconv/skeleton.c: Define access macros with u suffix. Adjust
6566 #if expression for use of unaligned function to the one used in
6567 the definition of these functions.
6568 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6569 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6570 (internal_ucs4le_loop_unaligned): New function.
6572 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6574 (module-names): Add dep1, dep2, dep3, and dep4.
6575 Add dependencies for dep* modules and order.
6576 Define rule for order.out which checks the result.
6577 * elf/dep1.c: New file.
6578 * elf/dep2.c: New file.
6579 * elf/dep3.c: New file.
6580 * elf/dep4.c: New file.
6581 * elf/order.c: New file.
6583 * elf/dl-init.c: Fix typo in comment.
6585 2000-03-31 Andreas Jaeger <aj@suse.de>
6587 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6588 init function interface.
6589 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6591 2000-03-31 Andreas Jaeger <aj@suse.de>
6593 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6594 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6595 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6596 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6597 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6599 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6600 anymore, update comment.
6602 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6604 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6605 SHLIB_COMPAT - the struct is always needed.
6607 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6609 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6610 * elf/dl-support.c: Define _dl_starting_up.
6612 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6614 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
6615 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
6617 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
6619 * elf/Makefile (dl-routines): Remove preinit.
6620 * elf/Versions: Remove _dl_preinit.
6621 * elf/dl-preinit.c: Removed. Move content into...
6622 * elf/dl-init.c: ...here.
6623 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
6625 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6628 2000-03-29 Geoff Clare <gwc@unisoft.com>
6630 * stdlib/strfmon.c: Corrected problems with the code that
6631 sets default values for [np]_sep_by_space and
6632 [np]_sign_posn; also the new positive/negative alignment
6633 code from the previous patch was not quite right for
6636 * localedata/tst-fmon.data: Changes corresponding to the
6637 two sets of fixes made to stdlib/strfmon.c.
6639 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
6641 * malloc/malloc.c: Declare bit flags UL so that they will not
6642 default to int size when being inverted.
6644 2000-03-29 Andreas Jaeger <aj@suse.de>
6646 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
6647 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6649 2000-03-29 Andreas Jaeger <aj@suse.de>,
6650 Ralf Baechle <ralf@uni-koblenz.de>
6652 * Makeconfig: Introduce new variable SHARED to mark code used in
6654 * elf/dl-close.c: Use it instead of PIC.
6655 * elf/dl-load.c: Likewise.
6656 * elf/dl-open.c: Likewise.
6657 * hurd/geteuids.c: Likewise.
6658 * include/libc-symbols.h: Likewise.
6659 * include/shlib-compat.h: Likewise.
6660 * libio/freopen.c: Likewise.
6661 * linuxthreads/cancel.c: Likewise.
6662 * linuxthreads/pthread.c: Likewise.
6663 * linuxthreads/wrapsyscall.c: Likewise.
6664 * nss/nsswitch.c: Likewise.
6665 * stdio-common/vfprintf.c: Likewise.
6666 * sysdeps/arm/init-first.c: Likewise.
6667 * sysdeps/i386/init-first.c: Likewise
6668 * sysdeps/generic/init-first.c: Likewise.
6669 * sysdeps/generic/libc-start.c: Likewise.
6670 * sysdeps/mips/init-first.c: Likewise.
6671 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6672 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6673 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6674 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6675 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6677 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6679 2000-03-29 Andreas Jaeger <aj@suse.de>
6681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6682 Use D_PTR to access relocated entries in l_info.
6683 (elf_machine_rela): Likewise.
6685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6687 (elf_machine_rela): Likewise.
6689 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6691 (__elf_machine_fixup_plt): Likewise.
6692 (__process_machine_rela): Likewise.
6694 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6695 (elf_machine_rela): Likewise.
6697 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6698 (elf_machine_rel): Likewise.
6700 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6701 (elf_machine_fixup_plt): Likewise.
6702 (elf_machine_rela): Likewise.
6704 2000-03-29 Andreas Jaeger <aj@suse.de>
6706 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
6707 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6708 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6709 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6710 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6711 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
6712 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6713 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
6714 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6715 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
6716 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
6717 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
6718 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
6719 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6720 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6722 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
6723 macros, remove K&R prototypes.
6725 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6727 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
6728 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
6731 2000-03-30 Andreas Jaeger <aj@suse.de>
6733 * misc/sys/cdefs.h: Remove K&R support.
6735 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6737 * iconv/skeleton.c: Avoid compiling unaligned versions in some
6739 * iconv/loop.c: Likewise.
6741 2000-03-29 Bruno Haible <haible@clisp.cons.org>
6743 * iconv/loop.c (put16): Remove __const. Fix access index.
6744 (put32): Remove __const. Use uint32_t instead of uint16_t.
6745 * iconv/skeleton.c: Likewise.
6747 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
6749 * mach/Versions (libc: GLIBC_2.0)
6750 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
6751 __vm_allocate on this.
6752 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
6753 mutex- and spinlock-related symbols on this.
6754 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6755 New version set. Lock-related symbols go here instead in this case.
6756 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
6757 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
6758 cthread_getspecific, cthread_setspecific, __libc_getspecific.
6760 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
6761 Put them here instead.
6762 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6763 New version set. Those cthreads symbols go here instead in this case.
6764 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
6766 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6768 * elf/dl-init.c (_dl_init): We don't need to call constructors
6769 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
6771 Implement dynamic determination of constructor/destructor order in
6773 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
6774 (GLIBC_2.2): Add _dl_init.
6775 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
6776 r_duplist is not anymore allocated separately. l_initfini is and
6777 therefore free it if necessary.
6778 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
6779 malloc block. Otherwise allocate l_initfini list only.
6780 Put dependencies for the object in l_initfini list.
6781 Sort dependencies for the object to be loaded topologically.
6782 * elf/dl-fini.c: Before running the destructors sort the topologically.
6783 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
6784 call constructors instead of iterating over the pointers. Get list of
6785 objects for which to run constructors from l_initfini element. Accept
6786 argc, argv, and env as parameters and pass them to the constructors.
6787 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
6788 with size of dynamic section.
6789 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
6790 _dl_init_next and calling constructors ourself.
6791 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
6792 Take argc, argv, and env as parameters and pass them to the
6793 constructors. Rewrite to call all constructors and not iterate over
6795 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
6796 precompute l_initcount and l_preinitcount.
6797 * elf/link.h (struct link_map): Add l_ldnum member.
6798 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
6799 l_initcount, and l_preinitcount. Add l_initfini.
6800 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
6802 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
6804 * sysdeps/unix/sysv/linux/init-first.h: Removed.
6805 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
6806 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
6807 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
6808 conventions now match.
6810 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
6811 effect for shared objects. Don't emit message and call only for
6814 2000-03-29 Ulrich Drepper <drepper@redhat.com>
6816 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
6817 CSA_Z243.4-1985-1..UCS2.
6818 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
6821 2000-03-29 Andreas Jaeger <aj@suse.de>
6823 * include/unistd.h: Remove duplicate entry for __rmdir.
6824 Remove declaration of __mkdir since __mkdir is declared in
6827 * manual/creature.texi (Feature Test Macros): Fix typo, reported
6828 by Michael Deutschmann <michael@talamasca.ocis.net>.
6830 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
6831 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6832 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6833 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6834 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
6836 2000-03-28 Andreas Jaeger <aj@suse.de>
6838 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
6839 declaration, the prototype is defined via bits/mathcalls.h.
6840 (__sincosf): Likewise.
6841 (__sincosl): Likewise.
6845 (__finite): Likewise.
6846 (__inline_mathcodeNP): New macro without prototype
6848 (__inline_mathcodeNP2): Likewise.
6849 (__inline_mathcodeNP3): Likewise.
6850 (__inline_mathcodeNP_): Likewise.
6851 (__inline_mathcodeNP2_): Likewise.
6852 (__inline_mathcodeNP3_): Likewise.
6853 (__inline_mathopNP): Likewise.
6854 (__inline_mathop_declNP): Likewise.
6855 (__inline_mathop_declNP_): Likewise.
6856 (__inline_mathcode_): Use __inline_mathcodeNP_.
6857 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
6858 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
6859 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
6860 (__expm1l): Don't define prototype, the prototype is defined via
6866 (__atan2l): Likewise.
6871 (__fabsl): Likewise.
6889 (__sqrtl): Likewise.
6899 2000-03-28 Ulrich Drepper <drepper@redhat.com>
6901 * Makerules: If make variable md5 is defined to yes after
6902 generating dependencies generate MD5 sum for the object.
6904 * iconv/gconv_builtin.h: Fix length in transformation definition
6907 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
6909 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
6910 allow as well reading from/writing to unaligned addresses on machines
6911 which don't support this in hardware. Use FCTNAME macro to define
6912 function name. Include the file a second time for platforms which
6913 need special unaligned handling.
6914 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
6915 to access potentially unaligned addresses. These macros are intended
6916 to be used only outside the loops.
6917 (unaligned): New definition. In case the machine can handle unaligned
6918 access define as zero. Otherwise as a variable which is initialized
6919 as nonzero in case the buffer passed in at runtime is unaligned with
6920 respect to the character set encoding involved.
6921 Call aligned or unaligned looop functions according to unaligned
6923 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
6924 of direct casting pointer to potentially handle unaligned memory
6926 * iconvdata/8bit-generic.c: Likewise.
6927 * iconvdata/ansi_x3.110.c: Likewise.
6928 * iconvdata/big5.c: Likewise.
6929 * iconvdata/euc-cn.c: Likewise.
6930 * iconvdata/euc-jp.c: Likewise.
6931 * iconvdata/euc-kr.c: Likewise.
6932 * iconvdata/euc-tw.c: Likewise.
6933 * iconvdata/gbk.c: Likewise.
6934 * iconvdata/iso-2022-cn.c: Likewise.
6935 * iconvdata/iso-2022-jp.c: Likewise.
6936 * iconvdata/iso-2022-kr.c: Likewise.
6937 * iconvdata/iso646.c: Likewise.
6938 * iconvdata/iso_6937-2.c: Likewise.
6939 * iconvdata/iso_6937.c: Likewise.
6940 * iconvdata/johab.c: Likewise.
6941 * iconvdata/sjis.c: Likewise.
6942 * iconvdata/t.61.c: Likewise.
6943 * iconvdata/uhc.c: Likewise.
6944 * iconvdata/unicode.c: Likewise.
6945 * iconvdata/utf-16.c: Likewise.
6947 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
6950 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
6951 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
6953 * malloc/mcheck.h (mcheck_check_all): Declare.
6955 * stdio-common/Makefile (tests): Add tst-obprintf.
6957 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
6959 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
6960 Declare pthread_sigmask.
6962 * csu/version.c: Add 2000 to copyright years.
6963 Remove Emacs local variables section.
6965 2000-03-23 Bruno Haible <haible@clisp.cons.org>
6967 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
6968 __gconv_transform_internal_ucs2little): Remove declarations.
6969 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
6970 __gconv_transform_internal_ucs2): Never need to bswap_16.
6971 (__gconv_transform_ucs2reverse_internal,
6972 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
6974 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
6976 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
6977 obsoleting version not being defined at all, in which case the
6978 result is always true.
6980 * Makeconfig (preprocess-versions): New canned sequence for running
6981 cpp on shlib-versions and the like.
6982 (soversions.i): Use it.
6983 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
6984 Versions.def and Versions files.
6986 2000-03-27 Ulrich Drepper <drepper@redhat.com>
6988 * stdio-common/tst-obprintf.c (main): Add another check to see
6989 obstack_printf handling all possible beginnings of the block
6990 inside an obstack chunk.
6992 * locale/programs/localedef.c: Use __malloc_initialize_hook to
6993 install mcheck handler.
6995 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
6998 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
7000 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
7002 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
7003 on [HAVE_ELF && DO_VERSIONING].
7005 2000-03-27 Ulrich Drepper <drepper@redhat.com>
7007 * stdio-common/tst-obprintf.c: New file.
7009 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7011 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
7012 _IO_OVERFLOW directly instead through __overflow.
7014 * locale/programs/localedef.c (construct_output_path): If path
7015 contains a / compute the end of the directory name correctly.
7017 * include/features.h: Undef and document __USE_XOPEN2K.
7019 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
7020 whenever a function is called. Initiated by calling mcheck_pedantic
7022 * malloc/mcheck.h: Declare mcheck_pedantic.
7023 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
7024 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
7027 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
7029 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
7030 * dlfcn/dlopenold.c: Likewise.
7031 * nss/getXXbyYY_r.c: Likewise.
7032 * nss/getXXent_r.c: Likewise.
7033 * hurd/hurdinit.c: Likewise.
7034 * hurd/compat-20.c: Likewise.
7035 * libio/oldiofopen.c: Likewise.
7036 * libio/oldiofclose.c: Likewise.
7037 * libio/oldiofdopen.c: Likewise.
7038 * libio/oldfileops.c: Likewise.
7039 * libio/oldstdfiles.c: Likewise.
7040 * libio/oldiofsetpos.c: Likewise.
7041 * libio/oldiofgetpos.c: Likewise.
7042 * libio/oldiofgetpos64.c: Likewise.
7043 * libio/oldiofsetpos64.c: Likewise.
7044 * libio/oldiopopen.c: Likewise.
7045 * libio/oldpclose.c: Likewise.
7046 * libio/oldtmpfile.c: Likewise.
7047 * libio/freopen.c (freopen): Likewise.
7048 * libio/iofclose.c (_IO_new_fclose): Likewise.
7050 * sysdeps/mach/sys/reboot.h: Include <features.h>.
7051 (reboot): Declare it.
7053 * libio/Makefile (headers): Add bits/stdio-lock.h here.
7055 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
7057 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
7059 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
7060 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
7061 We need this for the sbrk decl, which can be included without Unix98.
7063 2000-03-20 Richard Henderson <rth@cygnus.com>
7065 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
7066 argument to yperr2nss is an int, not size_t.
7067 * posix/regex.c (print_partial_compiled_pattern): Cast all
7068 ptrdiff_t to long for printing.
7069 (print_compiled_pattern): Use Z for printing size_t.
7070 * posix/testfnm.c (tests): Avoid trigraphs.
7071 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7072 Use a C comment, not an assembly comment.
7074 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
7075 of __ASSUME_32BITUIDS.
7077 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7079 * libio/iofopncook.c: Remove K&R prototypes.
7081 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
7083 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
7084 an initial value of 1024 instead of RLIM_INFINITY.
7086 * Versions.def (libmachuser, libhurduser): Remove these sections,
7087 since these libraries do not presently use symbol versions.
7089 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
7090 is RLIM_INFINITY, return -1 instead.
7092 2000-03-24 Andreas Jaeger <aj@suse.de>
7094 * Makefile (postclean): Added soversions.i.
7096 2000-03-24 Scott Bambrough <scottb@netwinder.org>
7098 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
7099 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
7100 and _FPU_IEEE. Change _FPU_RESERVED.
7102 2000-03-24 Scott Bambrough <scottb@netwinder.org>
7104 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
7106 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7108 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
7109 (gaih_inet): Remove unused duplicate variable.
7111 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
7112 Don't use __libc_sa_len, which only exists for Linux. Just handle
7113 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
7114 only flavors supported by this function anyway.
7116 2000-03-24 Geoff Clare <gwc@unisoft.com>
7118 * stdlib/strfmon.c: Corrected problems with missing signs and
7119 missing or extra spaces; allow for sign strings longer than
7120 one character; add padding to ensure positive and negative
7121 formats are aligned when a left precision is used.
7123 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7125 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
7126 Patch by John Mizel <John.Mizel@msdw.com>.
7128 2000-03-25 Ulrich Drepper <drepper@redhat.com>
7130 * manual/install.texi: Remove references to crypt add-on.
7132 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
7134 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
7135 section while taking the _hurd_rlimit_lock.
7136 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7138 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7140 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
7143 * sysdeps/mach/hurd/if_index.c: New file.
7145 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
7146 * sysdeps/gnu/net/if.h: here.
7147 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
7148 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
7149 * sysdeps/generic/net/if.h: New file. Declares just the standard
7150 functions and `struct if_nameindex' type.
7151 * socket/Makefile (headers): Add net/if.h here.
7152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
7153 * sysdeps/mach/hurd/Dist: Remove it here.
7154 * sysdeps/unix/sysv/linux/Dist: And here.
7155 * sysdeps/generic/if_index.c: Include <net/if.h>.
7157 2000-03-24 Andreas Jaeger <aj@suse.de>
7159 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
7160 access relocated entries in l_info.
7161 (elf_machine_got_rel): Likewise.
7162 (elf_machine_runtime_setup): Likewise.
7163 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
7164 (elf_machine_runtime_setup): Likewise.
7165 (__dl_runtime_resolve): Likewise.
7167 2000-03-23 Ulrich Drepper <drepper@redhat.com>
7169 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
7170 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
7171 according to RFC 2553.
7172 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
7173 * inet/getnameinfo.c: Likewise.
7174 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7176 2000-03-23 Bruno Haible <haible@clisp.cons.org>
7178 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
7179 Remove no-op pointer increment.
7181 2000-03-23 Andreas Jaeger <aj@suse.de>
7183 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
7184 follow change for libio.h from 2000-03-10.
7186 2000-03-23 Andreas Jaeger <aj@suse.de>
7188 * elf/dl-addr.c: Adjust include paths for ldsodefs location
7190 * elf/dl-debug.c: Likewise.
7191 * elf/dl-deps.c: Likewise.
7192 * elf/dl-error.c: Likewise.
7193 * elf/dl-fini.c: Likewise.
7194 * elf/dl-init.c: Likewise.
7195 * elf/dl-load.c: Likewise.
7196 * elf/dl-lookup.c: Likewise.
7197 * elf/dl-minimal.c: Likewise.
7198 * elf/dl-object.c: Likewise.
7199 * elf/dl-open.c: Likewise.
7200 * elf/dl-preinit.c: Likewise.
7201 * elf/dl-profile.c: Likewise.
7202 * elf/dl-profstub.c: Likewise.
7203 * elf/dl-reloc.c: Likewise.
7204 * elf/dl-runtime.c: Likewise.
7205 * elf/dl-support.c: Likewise.
7206 * elf/dl-symbol.c: Likewise.
7207 * elf/dl-version.c: Likewise.
7208 * elf/rtld.c: Likewise.
7209 * elf/sprof.c: Likewise.
7210 * sysdeps/generic/dl-cache.c: Likewise.
7211 * sysdeps/generic/dl-origin.c: Likewise.
7212 * sysdeps/generic/dl-sysdep.c: Likewise.
7213 * sysdeps/generic/elf/backtracesyms.c: Likewise.
7214 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7215 * sysdeps/generic/libc-start.c: Likewise.
7216 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7217 * sysdeps/powerpc/dl-machine.c: Likewise.
7218 * sysdeps/powerpc/elf/libc-start.c: Likewise.
7219 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7220 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7221 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
7223 * elf/ldsodefs.h: Move file to ...
7224 * sysdeps/generic/ldsodefs.h: ... here.
7226 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7228 * sysdeps/mips/elf/ldsodefs.h: New file.
7230 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
7232 (_dl_check_map_versions): Likewise.
7233 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7234 * elf/dl-load.c (_dl_init_paths): Likewise.
7235 (_dl_map_object): Likewise.
7236 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
7237 (elf_get_dynamic_info): Likewise.
7238 * elf/do-lookup.h (FCT): Likewise.
7239 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
7240 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7241 * elf/dl-addr.c (_dl_addr): Likewise.
7242 * elf/dl-runtime.c (profile_fixup): Likewise.
7244 * elf/dl-init.c (_dl_init_next): Likewise.
7245 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
7246 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7247 (DISTINGUISH_LIB_VERSIONS): Likewise.
7248 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
7249 (elf_machine_rel): Likewise.
7251 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
7252 for writable dynamic section.
7254 2000-03-22 Ulrich Drepper <drepper@redhat.com>
7256 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
7257 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7259 2000-03-22 Andreas Jaeger <aj@suse.de>
7261 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
7262 from latest Linux kernel.
7264 2000-03-21 Andreas Jaeger <aj@suse.de>
7266 * Versions.def: Add version 2.1.4.
7268 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7270 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
7271 * libio/oldiofopen.c: Likewise.
7272 * libio/oldiofclose.c: Likewise.
7273 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7275 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
7277 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
7278 indicating the first version set to obsolete the conditionalized code.
7279 (compat_symbol): New macro.
7280 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
7281 rhs be the ABI_* macro for the subsuming version. Assign increasing
7282 integer values to the ABI_* macros for supported versions.
7283 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
7284 compat_symbol macro.
7286 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7288 * nscd/connections.c (nscd_run): Pretty print.
7289 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
7291 * manual/charset.texi: Fix typos. Rephrase.
7292 * manual/process.texi: Likewise.
7293 * manual/signal.texi: Likewise.
7294 Patches by Mike Coleman <mkc@kc.net>.
7296 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
7298 * libio/iofdopen.c: Likewise.
7299 * libio/iofgetpos.c: Likewise.
7300 * libio/iofgetpos64.c: Likewise.
7301 * libio/iofopen.c: Likewise.
7302 * libio/iofsetpos.c: Likewise.
7303 * libio/iofsetpos64.c: Likewise.
7304 * libio/iopopen.c: Likewise.
7305 * libio/oldiofopen.c: Likewise.
7306 * libio/pclose.c: Likewise.
7307 * sysdeps/gnu/siglist.c: Likewise.
7308 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7310 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
7311 chance to expand VERSION_##lib##_##version.
7313 * libio/fileops.c: Use new macros from shlib-compat.h to define
7315 * libio/iofclose.c: Likewise.
7316 * libio/oldiofclose.c: Likewise.
7317 Patch by Roland McGrath <roland@frob.com>.
7319 2000-03-21 Jakub Jelinek <jakub@redhat.com>
7321 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
7322 Lay out struct sigcontext according to what really gets passed on
7324 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
7325 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
7326 (prgregset_t, prfpregset_t): Define to elf_* types.
7327 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
7328 Define to correct value.
7329 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
7331 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
7333 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
7335 * scripts/firstversions.awk: Allow multiple version sets in the
7336 "earliest version" specification, meaning that version sets in the
7337 gaps between listed versions should be folded into the earliest later
7338 version that is explicitly listed.
7339 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
7340 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
7342 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7344 * iconv/gconv_builtin.c: Include <endian.h>.
7345 * iconv/gconv_builtin.h: Add UCS-BE aliases.
7346 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
7347 according to current platform.
7348 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
7349 __gconv_transform_internal_ucs2reverse, and
7350 __gconv_transform_internal_ucs4le.
7351 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
7352 __gconv_transform_ucs2reverse_internal and
7353 __gconv_transform_internal_ucs2reverse.
7354 * iconvdata/Makefile (modules): Add UNICODE.
7355 (distribute): Add unicode.c.
7356 * iconvdata/gconv-modules: Add definitions for UNICODE module.
7357 * iconvdata/unicode.c: New file.
7359 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
7360 determine byte order of input and convert accordingly.
7362 * iconvdata/utf-16.c (gconv_init): Fix typo.
7364 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7366 * iconvdata/gconv-modules: Fix typo.
7368 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
7371 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
7373 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7375 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
7377 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7379 * misc/Makefile (routines): Add mincore.
7381 2000-03-20 Andreas Jaeger <aj@suse.de>
7383 * sysdeps/generic/mincore.c: New stub file.
7385 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
7386 from latest Linux kernel.
7388 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7390 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
7391 _SC_GETPW_R_SIZE_MAX.
7393 2000-03-20 Richard Henderson <rth@cygnus.com>
7395 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
7398 2000-03-20 Richard Henderson <rth@cygnus.com>
7400 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
7401 of arithmetic instructions.
7403 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
7404 with the fpcr. Protect from INV exception.
7405 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
7406 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
7407 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
7409 * sysdeps/alpha/fpu/s_copysign.c: New.
7410 * sysdeps/alpha/fpu/s_copysignf.c: New.
7411 * sysdeps/alpha/fpu/s_fabs.c: New.
7412 * sysdeps/alpha/fpu/s_fabsf.c: New.
7413 * sysdeps/alpha/fpu/s_rint.c: New.
7414 * sysdeps/alpha/fpu/s_rintf.c: New.
7416 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
7418 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7420 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
7421 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
7422 Use physical addresses not KSEG addresses.
7423 (io_system): Add PYXIS.
7424 (io): Remove hae.reg, sys, hae_shift.
7425 (stb_mb, stw_mb, stl_mb, __sethae): New.
7426 (inline_outb, inline_outw, inline_outl): Don't set hae.
7427 (inline_inb, inline_inw, inline_inl): Likewise.
7428 (dense_sethae): New null function.
7429 (struct cpuinfo_data): New.
7430 (process_cpuinfo): Use local and stack variables, not static.
7431 Move readlink check here from init_iosys.
7432 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
7434 (_hae_shift): Calculate it here.
7435 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
7436 add pciconfig_iobase.
7438 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
7440 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
7441 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
7443 * scripts/versions.awk: Fixed version renaming code to distinguish
7446 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7448 * include/stdlib.h: Add prototype for __cxa_atexit.
7450 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
7451 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
7453 2000-03-17 Cristian Gafton <gafton@redhat.com>
7455 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
7456 existing rtld-installed-name.
7457 ($(rtld-installed-name)): Request libc-$(version) be installed too.
7458 replace existing rtld-installed-name using $(symbolic-link-prog).
7460 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7462 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
7463 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
7464 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
7467 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7469 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
7470 glob64. Since there is no glob64 in the LFS proposal applications
7471 can assume that glob handles LFS situations. glob64 is only needed
7472 if alternative filesystem functions are used.
7474 2000-03-19 Geoff Clare <gwc@unisoft.com>
7476 * sysdeps/generic/glob.c: Correct gl_pathc value returned
7477 when GLOB_DOOFFS is set; correct handling of patterns
7478 containing escaped wildcards (and no unescaped ones);
7479 GLOB_ERR flag was being ignored in some situations.
7481 * posix/globtest.c, posix/globtest.sh: Updated to include
7482 tests for the problems fixed by the above changes to glob.c.
7484 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
7486 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
7488 * Makeconfig (soversion.i): Use only first match for each lib.
7490 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
7492 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
7493 rather than $(sysd-dirs-done) to protect these rules.
7495 * Makerules (version-renames.def): Target removed.
7496 (Versions.all): Depend on soversions.i directly and parse it.
7498 * Makeconfig (soversions.i): New target, input-reading parts of
7499 soversions.mk generation moved here; result is a canonicalized
7500 list "LIB VERSION [SET]" for this configuration.
7501 (soversions.mk): Use that as input. Don't emit map-firstversions.
7502 * Makerules (version-renames.def): New target, generated from
7503 soversions.i with contents that was in $(map-firstversions).
7504 (Versions.all): Don't depend on soversions.mk, depend on
7505 version-renames.def instead; just cat it into the input.
7507 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7508 for $(map-firstversions), which better handles it being empty.
7510 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7511 supported version for libc 0.2.90.libio to GLIBC_2.2.
7513 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7514 and use it to emit new variable `map-firstversions'.
7515 * scripts/firstversions.awk: New file.
7516 * Makerules (Versions.all): Use scripts/firstversions.awk and
7517 the $(map-firstversions) value to generate a modified versions list
7518 that includes renames in "A = B" syntax for each version set earlier
7519 than the "earliest symbol version" named in shlib-versions.
7520 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7521 rename version set A to B in the output to the intermediate file.
7522 * scripts/abi-versions.awk: New file.
7523 * Makerules (abi-versions.h): New target, generated by that script.
7524 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7525 * include/shlib-compat.h: New file, uses that generated header.
7527 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
7529 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7530 after stripping # comments, and then run it through cpp.
7531 This allows things like "%ifdef FOO" based on config.h settings.
7532 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7534 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7535 and other errors that indicate a pseudo-receive happened, grok through
7536 the message buffer for port rights that need references fixed up.
7538 2000-03-16 Andreas Jaeger <aj@suse.de>
7540 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7542 * sysdeps/unix/sysv/linux/madvise.c: Remove.
7544 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7545 from latest Linux kernel.
7546 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7548 * misc/sys/mman.h: Add prototype for mincore.
7550 2000-03-17 Ulrich Drepper <drepper@redhat.com>
7552 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7553 entry for GLIBC_2.0 version of setrlimit.
7554 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7556 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7558 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7559 * nis/nss_compat/compat-initgroups.c: Likewise.
7560 * nis/nss_nis/nis-initgroups.c: Likewise.
7561 * nis/nss_nis/nis-netgrp.c: Likewise.
7562 * nis/nss_nis/nis-proto.c: Likewise.
7563 * nis/nss_nis/nis-rpc.c: Likewise.
7564 * nis/nss_nis/nis-service.c: Likewise.
7565 * nis/ypclnt.c: Likewise.
7567 2000-03-16 Andreas Jaeger <aj@suse.de>
7569 * manual/Makefile: MAKEINFO is set to `:' from configure if it
7570 doesn't exist, correct checks. Fixes PR libc/1649.
7572 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7574 * nscd/hstcache.c: Restore correct UID.
7575 * nscd/pwdcache.c: Likewise.
7576 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7578 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7580 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7581 macros for register names, in line with 2000-03-14 linux change.
7583 * sysdeps/mach/sched_yield.c: New file.
7585 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
7587 * sysdeps/generic/lockfile.c: Include <stdio.h>
7588 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7589 case <libio.h> defined them.
7590 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7592 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7593 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7595 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7596 for more pleasing parse error.
7598 2000-03-16 Ulrich Drepper <drepper@redhat.com>
7600 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7602 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7604 * elf/Makefile: Add rules to compile and run constload1 test.
7605 * elf/constload1.c: New file.
7606 * elf/constload2.c: New file.
7607 * elf/constload3.c: New file.
7609 2000-03-15 Ulrich Drepper <drepper@redhat.com>
7611 * sysdeps/posix/open64.c: Make __open64 weak alias.
7612 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
7613 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7614 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7615 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7616 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
7617 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
7618 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7619 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7620 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7621 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
7623 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7625 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7626 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7628 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7630 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7631 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7633 2000-03-08 Andreas Jaeger <aj@suse.de>
7635 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
7637 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7639 * timezone/africa: Update from tzdata2000d.
7640 * timezone/asia: Likewise.
7641 * timezone/australasia: Likewise.
7642 * timezone/europe: Likewise.
7643 * timezone/northamerica: Likewise.
7644 * timezone/southamerica: Likewise.
7646 * po/fr.po: Update from translation team.
7647 * po/de.po: Likewise.
7649 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
7650 last parameter. Move code to add map to global scope from here...
7651 * elf/dl-open.c (dl_open_worker): ...here.
7652 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
7653 * elf/rtld.c: Adjust call to _dl_map_object_deps.
7655 * locale/programs/ld-collate.c (collate_read): Fix warning.
7657 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
7658 values and macros for register names.
7660 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7661 returned by seek cookie function is -1.
7663 2000-03-14 Andreas Jaeger <aj@suse.de>
7665 * locale/localeconv.c (localeconv): Fix typo.
7666 Reported by Andre Charbonneau <andrec@corel.com>.
7668 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7670 * iconv/skeleton.c: Increment __invocation_counter in inner loop
7671 since modules depend on it counting the number of times the conversion
7672 function got called.
7674 * iconv/gconv_open.c: Optimize loop to setup step data structure.
7676 * iconv/gconv.h: Pretty print.
7678 2000-03-04 Ulrich Drepper <drepper@redhat.com>
7680 * posix/wordexp-test.c: Correct one of the tests added in the last
7681 change. Really get the root passwd entry to check again ~root.
7683 2000-03-10 Andreas Jaeger <aj@suse.de>
7685 * manual/filesys.texi (Working Directory): Fix last patch.
7686 Patch by Martin Buchholz <martin@xemacs.org>.
7688 2000-03-10 Andreas Jaeger <aj@suse.de>
7690 * manual/creature.texi (Feature Test Macros): Fix language.
7692 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
7694 * mach/devstream.c (devstream_write, devstream_read): New functions.
7695 (input, output): Functions removed.
7696 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
7697 using only the vanilla fopencookie interface.
7699 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
7700 as macro for __io_functions.
7701 (funcsio): Use cookie_io_functions_t type name.
7702 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
7704 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7706 (fopencookie): Use it.
7707 * libio/libio.h: Declare _IO_cookie_init.
7708 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
7711 * libio/libio.h (__io_seek_fn): Fix second argument type
7712 to be a pointer, in line with the manual and the old stdio.
7713 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
7715 * sysdeps/generic/bits/stdio-lock.h: New file.
7716 This is a stub with #error, but that's better than no file at all.
7718 2000-03-09 Martin Buchholz <martin@xemacs.org>
7720 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
7721 * manual/message.texi (Using gettextized software): Doc Fixes.
7722 * manual/message.texi (Message Translation): Doc Fixes.
7723 * manual/filesys.texi (File Size): Doc Fixes.
7724 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
7725 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
7726 * iconv/gconv_db.c (find_derivation): Doc Fixes.
7727 * manual/install.texi: Doc Fixes.
7728 * manual/search.texi (Hash Search Function): Doc Fixes.
7729 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
7730 * FAQ.in: Doc Fixes.
7731 * config.h.in: Doc Fixes.
7732 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
7733 Doc Fixes. `allows to' is not correct English.
7735 * elf/rtld.c: Doc fixes.
7736 * manual/creature.texi (Feature Test Macros): Doc fixes.
7737 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
7739 * manual/filesys.texi (Working Directory): Check for ERANGE to
7742 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7744 * string/argz-stringify.c (__argz_stringify): Fix loop termination
7745 conditions so as not to clobber the final '\0' when there is only one
7746 element in the vector.
7748 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7750 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
7751 broken by 2000-02-27 change.
7753 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
7755 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7757 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
7758 argument type, for 2000-02-22 change in signal/signal.h declaration.
7760 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7762 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
7763 to getdirentries64 (no __), since the Linux implementation
7764 has no __ name, and there is no declaration for the __ name.
7766 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
7768 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
7769 sed regexp so as not to break directory names including /../ within.
7771 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
7772 The sysdeps/generic file is right for BSD. This file was in fact the
7773 Hurd file, but the only difference was the WNOREAP flag that was never
7774 actually implemented or used anywhere.
7776 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
7777 since AC_PATH_PROG already does it for us.
7778 (PERL): Rewrite check added in 2000-02-29 change for syntactic
7779 correctness and sh portability. I replaced the broken check
7780 with a more sensible implementation of the apparently intended
7781 semantics, which might still be questionable. Using expr causes
7782 a non-numeric value for `perl -V:apiversion` to be accepted,
7783 refusing to use only a perl that reports a number less than 5;
7784 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
7785 * configure: Regenerated.
7787 2000-03-08 Andreas Jaeger <aj@suse.de>
7789 * manual/crypt.texi: Fix paths.
7791 2000-03-07 Andreas Jaeger <aj@suse.de>
7793 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
7795 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
7798 2000-03-06 Andreas Jaeger <aj@suse.de>
7800 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
7801 in __sgn1l, otherwise g++ fails to parse this.
7802 Reported by Sean Chen <sean.chen@turbolinux.com>.
7804 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7806 * configure.in: Compute sizeof-long-double.
7807 * configure: Regenerated.
7808 * config.make.in: Make sizeof-long-double available to sub-makes.
7810 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7812 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7815 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7817 * Makeconfig (rpath-dirs): Add crypt.
7818 (all-subdirs): Remove md5crypt.
7819 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
7820 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
7821 * sysdeps/generic/crypt-entry.c: Delete.
7822 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
7823 * sysdeps/generic/crypt.h: Delete.
7824 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
7825 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
7826 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
7827 * sysdeps/generic/des_impl.c: Delete.
7828 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
7829 * crypt/sysdeps: Delete.
7830 * crypt/crypt_util.c: Don't use `patchlevel.h'.
7831 * md5-crypt/Versions: Move to crypt/.
7832 * md5-crypt/md5-crypt.c: Move to crypt/.
7833 * md5-crypt/md5.c: Move to crypt/.
7834 * md5-crypt/md5c-test.c: Move to crypt/.
7835 * md5-crypt/md5test.c: Move to crypt/.
7836 * md5-crypt: Delete.
7837 * crypt/Makefile: Adjust for new structure.
7839 2000-03-03 Paul Eggert <eggert@twinsun.com>
7841 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
7842 define to 1 if not defined.
7844 2000-03-03 Andreas Jaeger <aj@suse.de>
7846 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
7848 2000-03-03 Andreas Jaeger <aj@suse.de>
7850 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
7852 (xdr_int64_t): Correctly handle lower half.
7853 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
7855 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7857 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7860 2000-03-02 Andreas Jaeger <aj@suse.de>
7862 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
7865 2000-03-02 Andreas Jaeger <aj@suse.de>
7867 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
7869 2000-03-01 Andreas Jaeger <aj@suse.de>
7871 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
7872 (tests): Added tst-getdate.
7874 * time/tst-getdate.c: New file.
7876 * time/datemsk: New file, needed for tst-getdate.
7878 2000-02-29 Cristian Gafton <gafton@redhat.com>
7880 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
7882 2000-02-17 H.J. Lu <hjl@gnu.org>
7884 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
7886 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
7888 (svcudp_recv): Set up message with the new "xp_pad" field for
7890 (svcudp_reply): Support IP_PKTINFO if available.
7892 2000-03-01 Andreas Jaeger <aj@suse.de>
7894 * time/getdate.c (check_mday): Fix check for february.
7895 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
7896 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
7898 2000-03-02 Andreas Jaeger <aj@suse.de>
7900 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
7901 g++ fails to parse this.
7902 Reported by Sean Chen <sean.chen@turbolinux.com>.
7904 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7906 * io/creat.c: Moved to...
7907 * sysdeps/generic/creat.c: ...here.
7908 * io/creat64.c: Moved to...
7909 * sysdeps/generic/creat64.c: ...here.
7910 * io/lockf.c: Moved to...
7911 * sysdeps/generic/lockf.c: ...here.
7913 * crypt/crypt.texi: Moved to...
7914 * manual/crypt.texi: ...here.
7915 * crypt/examples/genpass.c: Moved to...
7916 * manual/examples/genpass.c: ...here.
7917 * crypt/examples/mygenpass.c: Moved to...
7918 * manual/examples/mygenpass.c: ...here.
7919 * crypt/examples/testpass.c: Moved to...
7920 * manual/examples/testpass.c: ...here.
7922 * manual/Makefile (chapters): Add crypt.
7923 * manual/conf.texi: Add usual header for not-last chapter.
7924 * manual/crypt.texi: Add special header for last chapter.
7926 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7928 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
7929 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
7930 complain if there is no crypt add-on.
7931 * crypt/configure: Removed.
7933 * crypt/crypt.texi: Update documentation of US export restrictions
7934 to match the 14 Jan 2000 regulations.
7936 2000-02-28 Geoff Keating <geoffk@cygnus.com>
7938 * crypt: New subdirectory, merged in from the crypt add-on.
7940 2000-02-28 Ulrich Drepper <drepper@redhat.com>
7942 * include/unistd.h: Add __rmdir and __mkdir prototypes.
7945 See ChangeLog.10 for earlier changes.