1 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3 * sysdeps/ia64/bits/byteswap.h: New file.
4 Patch by Dan Pop <Dan.Pop@cern.ch>.
6 * misc/sys/cdefs.h: Define __attribute_format_arg__.
7 * intl/libintl.h: Use it here instead of using __attribute__ directly.
9 2000-07-13 H.J. Lu <hjl@gnu.org>
11 * posix/regex.c (re_max_failures): Set to 4000.
13 2000-08-01 Ulrich Drepper <drepper@redhat.com>
15 * gnulib/Makefile (tests): Add tst-gcc.
16 * gnulib/tst-gcc.c: New file.
18 * assert/Makefile (routines): Add __assert.
19 * assert/Versions: Export __assert for glibc 2.2.
20 * assert/__assert.c: New file.
21 * assert/assert.h: Declare __assert.
23 2000-07-27 Bruno Haible <haible@clisp.cons.org>
25 * locale/localeinfo.h (_ISCTYPE): New macro.
26 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
27 LC_CTYPE locale format.
28 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
29 (ctype_output): Output class_b[nr] right before class_3level[nr].
30 (allocate_arrays): Fill class_b, similarly to class_3level.
32 2000-08-01 Ulrich Drepper <drepper@redhat.com>
33 Joseph S. Myers <jsm28@cam.ac.uk>
35 * math/tgmath.h: Make standard compliant. Don't ask how.
37 2000-07-04 H.J. Lu <hjl@gnu.org>
39 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
40 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
41 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
43 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
45 * include/features.h (_XOPEN_SOURCE): Update the explanation.
46 (__USE_LARGEFILE): Add an explanation.
47 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
48 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
50 2000-08-01 Ulrich Drepper <drepper@redhat.com>
52 * libio/Makefile: Enable exception handling for genops, wgenops,
53 fileops, and wfileops.
55 2000-07-29 Mark Kettenis <kettenis@gnu.org>
57 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
58 acount that elf/rtld's main program might remove some varibales
59 from the environment if we're trying to be secure. Move the Hurd
60 startup data if necessary, or, if we there is no startup data,
61 make sure the magical convention that ARGV[0] is stored just after
64 2000-08-01 Philip Blundell <philb@gnu.org>
66 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
67 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
68 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
69 oldsetrlimit for GLIBC_2.0.
71 2000-08-01 Andreas Jaeger <aj@suse.de>
73 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
74 (LINE_PARSER): Allow any number of spaces between ip address and
75 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
77 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
79 * include/netdb.h: Remove getipnodebyaddr and friends, leave
82 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
83 _nss_nisplus_getipnodebyname_r.
85 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
86 now, getipnodebyname is deprecated.
87 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
90 * inet/Makefile (routines): Don't build getipnodebyaddr and
93 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
95 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
97 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
99 * wctype/Makefile (distribute): Add wchar-lookup.h.
101 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
103 * iconvdata/Makefile (distribute): Add isiri-3342.h.
105 2000-08-01 Andreas Schwab <schwab@suse.de>
107 * Make-dist (dist): Resolve `..' in file names.
109 2000-08-01 Andreas Jaeger <aj@suse.de>
111 * stdio-common/Makefile (distribute): Remove removed files, add
114 * Makefile (distribute): Remove include/db_185.h and db.h.
116 * include/db_185.h: Remove, it's not needed anymore.
117 * include/db.h: Likewise.
119 2000-07-31 Ulrich Drepper <drepper@redhat.com>
121 * inet/Makefile (tests): Remove tst-ipnode.
122 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
125 2000-07-31 Jes Sorensen <jes@linuxcare.com>
127 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
128 endp statements have already been added.
130 2000-04-18 David Mosberger <davidm@hpl.hp.com>
132 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
133 <sysdeps/ia64/sysdep.h>.
135 * sysdeps/ia64/_mcount.S: New file.
137 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
138 __gmon_start__. Fix up extraneous whitespace.
140 2000-01-12 H.J. Lu <hjl@gnu.org>
142 * sysdeps/ia64/elf/initfini.c: New file.
144 2000-07-31 Jes Sorensen <jes@linuxcare.com>
146 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
147 dependency between branch and ar.pfs write.
149 2000-07-31 H.J. Lu <hjl@gnu.org>
151 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
152 handle the wchar_t array.
154 2000-07-31 Ulrich Drepper <drepper@redhat.com>
156 * iconvdata/gb18030.c: Don't map to and from positions in ISO
157 10646 which are not yet assigned.
158 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
160 2000-07-31 Andreas Jaeger <aj@suse.de>
162 * inet/Versions: Remove getipnodebyaddr and friends from
165 * resolv/netdb.h: Remove getipnodebyaddr and friends.
167 2000-07-30 Bruno Haible <haible@clisp.cons.org>
169 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
170 ch >= 0x81 && ch2 < 0x40 as invalid.
172 2000-07-30 Bruno Haible <haible@clisp.cons.org>
174 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
175 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
177 2000-07-30 Bruno Haible <haible@clisp.cons.org>
179 * iconvdata/johab.c (BODY for TO_LOOP): After calling
180 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
182 2000-07-30 Bruno Haible <haible@clisp.cons.org>
184 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
186 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
188 2000-07-30 Bruno Haible <haible@clisp.cons.org>
190 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
192 2000-07-30 Bruno Haible <haible@clisp.cons.org>
194 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
195 (from_ucs4): Change values of U+00A4 and U+00ED.
196 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
198 2000-07-30 Bruno Haible <haible@clisp.cons.org>
200 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
201 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
203 2000-07-30 Bruno Haible <haible@clisp.cons.org>
205 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
206 * iconvdata/isiri-3342.h: New file.
207 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
210 2000-07-30 Bruno Haible <haible@clisp.cons.org>
212 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
213 (utf8_encode): Use simple shifts instead. Fix return value.
215 2000-07-31 Ulrich Drepper <drepper@redhat.com>
217 * timezone/private.h: Update from tzcode2000e.
218 * timezone/asia: Update from tzdata2000e.
219 * timezone/australasia: Likewise.
220 * timezone/europe: Likewise.
221 * timezone/northamerica: Likewise.
222 * timezone/zone-tab: Likewise.
224 2000-07-30 Ralf Baechle <ralf@gnu.org>
226 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
227 the order of struct sigaltstack members is different.
229 2000-07-26 Philip Blundell <philb@gnu.org>
231 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
233 2000-07-29 Ulrich Drepper <drepper@redhat.com>
235 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
236 * locale/programs/ld-ctype.c: Adjust for this.
238 * locale/programs/ld-collate.c: Add more alignment checks.
239 * locale/string/strcoll.c: Likewise.
241 2000-07-30 Mark Kettenis <kettenis@gnu.org>
243 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
244 outside USE_IN_LIBIO block.
246 2000-07-26 Philip Blundell <philb@gnu.org>
248 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
249 (elf_machine_rel): Use it for out-of-range PC24 relocs.
251 2000-07-28 Philip Blundell <philb@gnu.org>
253 * math/test-fpucw.c: Ignore reserved bits in control word.
255 2000-07-28 Philip Blundell <philb@gnu.org>
257 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
258 (ret): Redefine to PSEUDO_RET.
259 (PSEUDO): Remove jump to syscall_error.
261 2000-07-29 Mark Kettenis <kettenis@gnu.org>
263 * resolv/README: Add some information about using the resolver in
264 multi-threaded code and with C++. Spelling fixes.
266 2000-07-29 Mark Kettenis <kettenis@gnu.org>
268 * resolv/resolv.h (struct __sockaddr_in): Remove.
269 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
271 2000-07-29 Greg McGary <greg@mcgary.org>
273 * Rules (test-bp-inputs, make-test-out): New variables.
274 ($(objpfx)%-bp.out): New rule.
275 ($(objpfx)%.out): Rewrite in terms of new variables.
277 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
278 internal function that uses vtable.
279 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
280 * libio/vswprintf.c (_IO_vswprintf): Likewise.
282 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
283 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
284 (chunk_align): Likewise.
286 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
287 in a way that conforms to decl, and avoids spurious bounds violation.
289 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
290 * sysdeps/generic/frame.h: Likewise.
291 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
293 (__backtrace): Qualify frame-pointer chain and return address
294 pointers as __unbounded. Wrap bounds around variable `current'.
295 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
297 (catch_segfault): Qualify frame-pointer chain and return address
298 pointers as __unbounded. Wrap bounds around variable `current'.
299 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
300 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
301 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
303 (__backtrace): Qualify frame-pointer chain and return address
304 pointers as __unbounded. Wrap bounds around variable `current'.
306 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
307 * sysdeps/i386/mul_1.S: Likewise.
308 * sysdeps/i386/submul_1.S: Likewise.
309 * sysdeps/i386/i586/addmul_1.S: Likewise.
310 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
311 * sysdeps/i386/i586/submul_1.S: Likewise.
313 2000-07-27 Andreas Jaeger <aj@suse.de>
315 * libio/Depend: New file, libio needs localedata for tests.
316 * posix/Depend: Likewise.
318 2000-07-28 Ulrich Drepper <drepper@redhat.com>
320 * stdio-common/_i18n_itoa.c: Removed.
321 * stdio-common/_i18n_itoa.h: Removed.
322 * stdio-common/_i18n_itowa.c: Removed.
323 * stdio-common/_i18n_itowa.h: Removed.
324 * stdio-common/_i18n_number.h: New file.
325 * stdio-common/Depend: New file.
326 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
327 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
328 printing. Change printing of numbers with locale specific digits to
329 use new code in _i18n_number.h.
330 * stdio-common/Makefile (routines): Remove _i18n_itoa and
333 * stdio-common/bug13.c: Improve messages.
335 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
336 (set_class_defaults): Always search also for Uxxxx names.
337 Detect insufficient number of outdigits.
339 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
341 2000-07-27 Bruno Haible <haible@clisp.cons.org>
343 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
345 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
346 * wctype/wcfuncs.c (towlower, towupper): Use them.
347 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
348 * wctype/wctrans.c (wctrans): Likewise.
349 * wctype/wctrans_l.c (__wctrans_l): Likewise.
351 2000-07-27 Bruno Haible <haible@clisp.cons.org>
353 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
354 Use the optimized version of this function outside glibc as well.
356 2000-07-27 Jakub Jelinek <jakub@redhat.com>
358 * locale/indigits.h (indigit_value): Correct.
359 * locale/indigitswc.h (indigitwc_value): Correct.
360 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
361 conversion, add GROUP checking for it, fix GROUP number
362 conversion with strlen(thousands) > 1.
363 Honour width correctly in the presence of floating
364 decimal points and thousands separators.
365 * stdio-common/tst-sscanf.c: New test.
366 * stdio-common/Makefile: Add it to tests.
367 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
368 thousands separators and group argument is non-zero.
370 2000-07-25 Bruno Haible <haible@clisp.cons.org>
372 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
375 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
377 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
378 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
380 (headers): Add sys/tas.h.
381 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
383 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
384 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
387 2000-07-28 Andreas Jaeger <aj@suse.de>
389 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
391 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
392 ($(objpfx)tst-dladdr.out): new.
393 (tests): Add tst-dladdr.
394 ($(objpfx)glrefmain): Use libdl.
396 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
399 2000-07-27 Jes Sorensen <jes@linuxcare.com>
401 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
404 2000-07-27 Jes Sorensen <jes@linuxcare.com>
406 * intl/tst-translit.c: Include string.h to get prototype for
409 2000-07-27 Jes Sorensen <jes@linuxcare.com>
411 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
412 name and add weak alias for __fork.
414 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
415 & pwrite to use __libc_<name> as strong names instead of
418 * include/sched.h: Add clone2 prototype.
420 2000-07-26 Jes Sorensen <jes@linuxcare.com>
422 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
423 procedure name twice.
425 2000-07-27 Philip Blundell <philb@gnu.org>
427 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
429 2000-07-27 Andreas Jaeger <aj@suse.de>
431 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
432 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
433 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
434 Reported by Andi Kleen <ak@suse.de>.
436 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
437 (do_wait): Test requests with aio_return64.
438 (do_test): Change callers of do_wait.
440 2000-07-26 Andreas Jaeger <aj@suse.de>
442 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
443 (do_wait): Test requests with aio_return.
444 (do_test): Change callers of do_wait.
446 2000-07-27 Ulrich Drepper <drepper@redhat.com>
448 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
449 from request list. Don't do the list handling here, call
450 __aio_remove_request.
451 * rt/aio_misc.h: Add prototype for __aio_remove_request.
452 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
453 request might already be processed. Don't do the list handling
454 here, call __aio_remove_request.
456 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
459 * rt/aio_misc.c: Add comment explaining why writer memory barriers
462 2000-07-27 Greg McGary <greg@mcgary.org>
464 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
465 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
466 in union init. Pass zero for ignored semnum arg to semctl.
467 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
469 2000-07-26 Greg McGary <greg@mcgary.org>
471 * sysdeps/gnu/bits/msq.h: Qualify kernel's
472 data structure pointers as __unbounded.
473 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
474 * sysdeps/generic/bp-semctl.h: New file.
475 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
476 pointers as __unbounded. Check bounds of syscall args.
477 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
478 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
479 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
480 * sysdeps/unix/sysv/linux/semop.c: Likewise.
481 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
482 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
483 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
484 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
485 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
486 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
487 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
488 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
489 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
490 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
491 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
492 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
494 2000-07-26 Ulrich Drepper <drepper@redhat.com>
496 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
498 * locale/C-ctype.c: Likewise.
499 * wcsmbs/wcsmbsload.c: Likewise.
501 2000-07-26 Greg McGary <greg@mcgary.org>
503 * Makeconfig (+link-bounded, link-libc-bounded,
504 link-extra-libs-bounded): New variables.
505 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
506 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
507 * Rules (tests-bp.out): New variable.
508 (tests): Conditionally add BP tests.
509 (binaries-bounded): Add variable and associated rule.
510 * csu/Makefile [build-bounded] (extra-objs, install-lib):
511 Move conditional stuff after place where condition is defined.
513 * malloc/malloc.c (bp-checks.h): Add #include.
514 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
515 (_bin_at): Add unbounded version of bin_at.
516 (IAV, chunk_alloc): Use unbounded _bin_at.
517 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
518 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
519 Wrap BOUNDED_N around return value.
520 (chunk_realloc): Adjust oldsize once.
522 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
523 (__ubp_memchr): Add correct decl.
524 (_CHECK_STRING): Use __ubp_memchr.
525 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
526 New alias for unbounded-pointer __memchr.
527 * sysdeps/i386/memchr.S: Likewise.
528 * sysdeps/ia64/memchr.S: Likewise.
529 * sysdeps/m68k/memchr.S: Likewise.
530 * sysdeps/sparc/sparc32/memchr.S: Likewise.
531 * sysdeps/sparc/sparc64/memchr.S: Likewise.
532 * sysdeps/vax/memchr.s: Likewise.
534 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
535 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
536 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
537 * sysdeps/i386/i686/strtok.S: Likewise.
538 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
539 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
541 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
542 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
544 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
545 bounds of copy_result to mount_proc.
547 2000-07-25 Bruno Haible <haible@clisp.cons.org>
549 * wctype/wctype.h (__wctrans_l): New declaration.
550 * wctype/wctrans_l.c: New file.
551 * wctype/Makefile (routines): Add wctrans_l.
553 2000-07-26 Ulrich Drepper <drepper@redhat.com>
555 * posix/fnmatch_loop.c: Fixes for use outside glibc.
556 Patch by MacGyver <macgyver@tos.net>.
558 2000-07-26 Andreas Jaeger <aj@suse.de>
560 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
561 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
562 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
564 * rt/tst-aio.c (test_file): Fix typo.
565 * rt/tst-aio64.c (test_file): Likewise.
567 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
568 * rt/Makefile: Add rules to build and run tst-aio3.
570 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
571 it's not needed and confuses only.
573 2000-07-26 Ulrich Drepper <drepper@redhat.com>
575 * resolv/res_init.c: Add support for nameserver communication with
577 * resolv/res_send.c: Likewise.
578 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
580 Patch by <venaas@nvg.ntnu.no>.
582 2000-07-25 Bruno Haible <haible@clisp.cons.org>
584 * locale/programs/ld-ctype.c (wctype_table_get): New function.
585 (wcwidth_table_get): New function.
586 (wcwidth_table_add): Call it.
587 (wctrans_table_get): New function.
588 (wctrans_table_add): Call it.
590 2000-07-25 Ulrich Drepper <drepper@redhat.com>
592 * rt/lio_listio.c (lio_listio): Always disable individual
594 * rt/Makefile: Add rules to build and run tst-aio2.
595 * rt/tst-aio2.c: New file.
597 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
598 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
600 2000-07-25 Mark Kettenis <kettenis@gnu.org>
602 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
603 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
604 leading and trailing spaces from host, user and domain name.
606 2000-07-25 Jes Sorensen <jes@linuxcare.com>
608 * csu/defs.awk: Add support for need_endp.
610 2000-07-25 Mark Kettenis <kettenis@gnu.org>
612 * resolv/resolv.h: Remove __P from res_send_qhook and
613 res_send_rhook typedefs.
615 2000-07-25 Bruno Haible <haible@clisp.cons.org>
617 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
619 2000-07-25 Ulrich Drepper <drepper@redhat.com>
621 * iconv/gconv_builtin.h: Add WCHAR_T alias.
623 2000-07-25 Mark Kettenis <kettenis@gnu.org>
625 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
626 calling thread, set the cancellation flag and return success
629 2000-07-25 Ulrich Drepper <drepper@redhat.com>
631 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
632 * libio/tst-widetext.c: New file.
633 * libio/tst-widetext.input: New file.
635 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
637 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
638 empty external buffer correctly.
640 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
642 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
643 __STRING(entry) and not #entry.
644 (_RTLD_EPILOGUE): Likewise.
645 * sysdeps/mips/mips64/dl-machine.h: Likewise.
647 2000-07-25 Andreas Jaeger <aj@suse.de>
649 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
650 according to changes in test program, run also with static only
652 ($(objpfx)tst-printf.out): Likewise.
654 * stdio-common/tst-unbputc.sh: Likewise.
655 * stdio-common/tst-printf.sh: Likewise.
657 2000-07-25 Ulrich Drepper <drepper@redhat.com>
659 * libio/wfileops.c (_IO_wdo_write): Correct return value.
661 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
664 * libio/fileops.c: Pretty print.
666 2000-07-23 Bruno Haible <haible@clisp.cons.org>
668 * wctype/wchar-lookup.h: New file.
669 * wctype/iswctype.c: Include "wchar-lookup.h".
670 (__iswctype): Support alternate locale format with 3-level tables.
671 * wctype/iswctype_l.c (__iswctype_l): Likewise.
672 * wctype/towctrans.c (__towctrans): Likewise.
673 * wctype/towctrans_l.c (__towctrans_l): Likewise.
674 * wctype/wcfuncs.c: Include "wchar-lookup.h".
675 (__ctype32_wctype, __ctype32_wctrans): Declare external.
676 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
677 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
678 __iswxdigit, towlower, towupper): Support alternate locale format
680 * wctype/wcextra.c (iswblank): Likewise.
681 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
682 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
683 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
684 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
685 format with 3-level tables.
686 * wctype/wcextra_l.c (__iswblank_l): Likewise.
687 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
688 format, return a 3-level table pointer.
689 * wctype/wctype_l.c (__wctype_l): Likewise.
690 * wctype/wctrans.c (wctrans): Likewise.
691 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
692 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
693 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
694 (iswctype): Remove macro definition.
695 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
696 (internal_wcwidth): Support alternate locale format with 3-level
698 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
700 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
701 Define them as being type "word".
702 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
703 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
704 __ctype32_width): New exported variables.
705 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
706 alternate locale format. Don't initialize __ctype_names and
707 __ctype_width in the alternate locale format.
708 * locale/programs/localedef.h (oldstyle_tables): New declaration.
709 * locale/programs/localedef.c (oldstyle_tables): New variable.
710 (OPT_OLDSTYLE): New macro.
711 (options): Add --old-style option.
712 (parse_opt): Handle --old-style option.
713 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
714 map_offset, class_3level, map_3level, width_3level members.
715 (ctype_output): Support for alternate locale format: Computation of
716 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
717 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
718 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
719 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
720 now contain both class and map tables.
721 (struct wctype_table): New type.
722 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
724 (struct wcwidth_table): New type.
725 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
727 (struct wctrans_table): New type.
728 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
730 (allocate_arrays): Support for alternate locale format: Set
731 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
732 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
733 to the first 256 characters. Compute ctype->map_3level. Set
734 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
735 instead of ctype->width.
737 2000-07-24 Ulrich Drepper <drepper@redhat.com>
739 * libio/iogetwline.c (_IO_getwline_info): Use wide character
742 2000-07-24 Jakub Jelinek <jakub@redhat.com>
744 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
745 in wide characters, not bytes.
746 * libio/tst_putwc.c (do_test): Add test for writing lots of data
749 2000-07-22 Bruno Haible <haible@clisp.cons.org>
751 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
752 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
753 LC_MEASUREMENT, LC_IDENTIFICATION.
755 * locale/xlocale.h (struct __locale_struct): Increase size of
757 * locale/duplocale.c (__duplocale): Copy newly added categories as
759 * locale/freelocale.c (__freelocale): Free newly added categories.
760 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
761 If a base is given, use it, don't simply return it.
763 2000-07-22 Bruno Haible <haible@clisp.cons.org>
765 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
766 variables, copied_key and copied_salt, instead of boolean variables.
768 2000-07-24 Andreas Jaeger <aj@suse.de>
770 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
773 * grp/initgroups.c (initgroups_dyn_function): Renamed from
774 initgroups_function, adopted prototype for change from 2000-07-23.
775 (initgroups): Follow type change.
777 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
778 & PAGE_MASK case, reformat.
780 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
781 from stdin and setup environment.
783 2000-07-24 Andreas Schwab <schwab@suse.de>
785 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
787 2000-07-23 Ulrich Drepper <drepper@redhat.com>
789 * string/endian.h: Explain the _*_ENDIAN constant values a bit
790 more. Patch by scarlet@mit.edu [PR libc/1799].
792 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
795 * argp/argp-parse.c (parser_finalize): Reverse order in which
796 parsers are run for ARGP_KEY_END. [PR libc/1755].
798 * grp/initgroups.c (initgroups): Don't limit the possible number
799 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
800 the setgroups call while the call fails and descrease the number
801 of groups each round.
802 The name of the initgroups function in the NSS modules changed.
803 (compat_call): Adapt for dynamic resizing.
804 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
805 Implement dynamic resizing.
806 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
808 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
809 * hesiod/Versions: Change exported interface name.
810 * nis/Versions: Change exported interface name.
812 2000-07-23 Ulrich Drepper <drepper@redhat.com>
814 * locale/iso-639.def: Some errors corrected.
815 Patch by Keld Simonsen.
817 * include/limits.h: Update non-gcc portion.
818 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
820 2000-07-22 Mark Kettenis <kettenis@gnu.org>
822 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
823 program's data space, reallocate only the space that was just
824 deallocated to release its backing space.
826 2000-07-23 Ulrich Drepper <drepper@redhat.com>
828 * stdio-common/vfprintf.c (process_string_arg): For wide character
829 version, handle precision also correctly.
831 * nss/nss_files/files-hosts.c: Correct problem with three or more
832 entries with the same name.
834 * nss/nss_files/files-hosts.c: Implement multi handling.
835 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
837 2000-07-22 Ulrich Drepper <drepper@redhat.com>
839 * nss/nss_files/files-parse.c: Don't pollute namespace by using
842 * grp/Makefile: Change Makefiles and tests to run only when necessary.
843 * malloc/Makefile: Likewise.
844 * malloc/tst-mtrace.sh: Likewise.
845 * posix/Makefile: Likewise.
846 * posix/globtest.sh: Likewise.
847 * posix/wordexp-tst.sh: Likewise.
848 * string/Makefile: Likewise.
850 2000-07-22 Mark Kettenis <kettenis@gnu.org>
852 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
853 size instead of LC_ALL to take into account the new locale
856 2000-07-22 Ulrich Drepper <drepper@redhat.com>
858 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
859 remainders of hash table.
860 * locale/categories.def: Remove remainders of transliteration
862 * locale/langinfo.h: Likewise.
863 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
864 transliteration tables.
866 * locale/gen-translit.pl: New file.
867 * locale/C-translit.h.in: New file.
868 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
869 data pointers with data from this file.
870 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
872 Add rule to generate C-translit.h.
873 * intl/tst-translit.c (main): Update for now performed
876 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
877 (it's no input error).
878 * stdio-common/tstscanf.c: Add test case for format %f with input --.
879 * stdio-common/scanf12.c: Correct expected result for first scanf.
881 * stdio-common/vfprintf.c (process_string_arg): Correct handling
882 of multibyte character strings in %s format with precision.
884 2000-07-21 Ulrich Drepper <drepper@redhat.com>
886 * locale/programs/ld-collate.c (collate_read): Allow collating
887 symbols and elements be named in reorder-after instructions.
888 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
890 * locale/programs/ld-collate.c (handle_ellipsis): Test for
891 duplication with generated name, not the name of the first
893 Patch by Yong Li <yong.li@asu.edu>.
895 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
896 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
898 2000-07-21 Wolfram Gloger <wg@malloc.de>
900 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
901 allocations only if a non-main arena cannot be extended.
903 2000-07-21 Ulrich Drepper <drepper@redhat.com>
905 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
906 in DF_1_NODEFLIB handling.
908 2000-07-21 Andreas Jaeger <aj@suse.de>
910 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
913 * libio/fwide.c: Include <wchar.h> for prototype.
915 2000-07-21 Greg McGary <greg@mcgary.org>
917 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
918 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
919 Define in terms of chunk_at_offset.
920 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
921 (next_bin, prev_bin): offset by size of real array elements.
922 (chunk_align): Make `m' a scalar, since that's how it's used.
924 2000-07-21 Greg McGary <greg@mcgary.org>
926 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
928 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
929 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
930 Wrap bounds around argv & envp and each of their string members.
931 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
932 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
933 symbol in BP_SYM (). Discard bounds of address arg.
934 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
935 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
936 Discard bounds on address arg, add bounds to return value.
938 2000-07-20 Ulrich Drepper <drepper@redhat.com>
940 * elf/Makefile (tests): Add filter. Add rules to generate filter.
941 * elf/filter.c: New file.
942 * elf/filtmod1.c: New file.
943 * elf/filtmod2.c: New file.
945 * elf/rtld.c: Define _dl_bind_not variable.
946 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
947 * elf/dl-support.c: Likewise.
948 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
949 * elf/dl-runtime.c (fixup): Don't remember looked up value if
951 (profile_fixup): Likewise.
953 * libio/Makefile (routines): Add fwide.
954 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
955 fwide now. Internal calls to _IO_fwide must do locking themselves
956 or don't need locking.
957 * libio/fwide.c: New file.
959 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
961 * elf/Makefile: Add no modules for nodelete test.
962 * elf/nodelmod3.c: New file.
963 * elf/nodelmod4.c: New file.
964 * elf/nodelete.c: Also test case where dependency of dlopen() object
967 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
968 * elf/nodlopen.c: New file.
969 * elf/nodlopenmod.c: New file.
970 * include/dlfcn.h: Define __RTLD_DLOPEN.
971 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
972 and this is a dlopen() call, do not load the binary.
973 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
974 * dlfcn/dlopenold.c: Likewise.
975 * configure.in: Add test for -z nodelete option.
976 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
978 2000-07-20 Mark Kettenis <kettenis@gnu.org>
980 Make Hesiod NSS module thread-safe.
982 * hesiod/README.hesiod: Update.
984 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
985 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
986 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
987 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
989 * hesiod/nss_hesiod/hesiod-init.c: New file.
990 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
991 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
992 * hesiod/nss_hesiod/nss_hesiod.h: New file.
993 * hesiod/nss_hesiod/hesiod-service.c
994 (_nss_hesiod_getservbyport_r): New function. Provide support for
995 looking up services by port number.
996 * hesiod/nss_hesiod/hesiod-proto.c: New file.
998 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
999 * hesiod/hesiod.h: Likewise.
1000 * hesiod/hesiod_p.h: Likewise.
1002 2000-07-20 Mark Kettenis <kettenis@gnu.org>
1004 Fix problems with `struct __res_state' getting too big.
1005 * resolv/resolv.h (struct __sockaddr_in): New definition.
1006 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
1007 the private parts of the structure to save some space.
1008 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
1009 (struct sockaddr_in *) in call to sock_eq.
1010 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
1012 2000-07-20 Ulrich Drepper <drepper@redhat.com>
1014 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
1015 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
1017 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
1018 to _dl_map_object. Return immediately if no object loaded.
1019 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
1020 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
1021 if it exists into l_flags_1 word.
1022 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
1023 it to determine whether loading is wanted or not.
1024 (_dl_map_object): Likewise.
1025 Call _dl_map_object_from_fd with new parameter.
1026 * sysdeps/generic/ldsodefs.h: Update prototype.
1027 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
1028 * elf/rtld.c: Likewise.
1029 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1030 * elf/Makefile (tests): Add noload. Add rules to generate noload.
1031 * elf/noload.c: New file.
1032 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
1033 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
1034 * sysdeps/mips/bits/dlfcn.h: Likewise.
1035 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
1036 (tests-nodelete-yes): Define.
1037 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
1038 Add rules to build nodelete and modules.
1039 * elf/nodelete.c: New file.
1040 * elf/nodelmod1.c: New file.
1041 * elf/nodelmod2.c: New file.
1042 * configure.in: Add test for -z nodelete option.
1043 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
1045 * libio/Makefile (tests): Add tst_wprintf2.
1046 (tst_wprintf2-ARGS): Define.
1047 * libio/tst_wprintf2.c: New file.
1048 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
1050 * libio/wfiledoalloc.c: Only allocate external buffer if this
1051 hasn't happened yet.
1053 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
1054 something in the buffer. gconv call can write up to end of the
1055 buffer, not only _IO_write_end.
1056 (_IO_wfile_overflow): Allocate also external buffer.
1058 2000-07-19 Ulrich Drepper <drepper@redhat.com>
1060 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
1061 strings with precision in vfwprintf correctly.
1062 * stdio-common/vfprintf.c: Fix completely broken handling of
1063 unbuffered wide character streams.
1064 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
1066 * resolv/Makefile (distribute): Add README.
1068 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
1070 2000-07-18 Mark Kettenis <kettenis@gnu.org>
1072 Update resolver code to BIND 8.2.3-T5B.
1074 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
1076 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
1077 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
1079 * resolv/Banner: BIND-8.2.3-T5B.
1081 * resolv/base64.c: Update from BIND 8.2.3-T5B.
1082 * resolv/herror.c: Likewise.
1083 * resolv/inet_addr.c: Likewise.
1084 * resolv/inet_net_ntop.c: Likewise.
1085 * resolv/inet_net_pton.c: Likewise.
1086 * resolv/inet_neta.c: Likewise.
1087 * resolv/inet_ntop.c: Likewise.
1088 * resolv/nsap_addr.c: Likewise.
1089 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
1090 IPv6 addresses (ISC bug #520).
1092 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
1093 * resolv/ns_parse.c: Likewise.
1094 * resolv/ns_netint.c: Likewise.
1095 * resolv/ns_samedomain.c: Likewise.
1096 * resolv/ns_ttl.c: Likewise.
1097 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
1098 RCS ID in object file.
1100 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
1101 * resolv/res_mkquery.c: Likewise.
1102 * resolv/res_query.c: Likewise.
1103 * resolv/res_init.c: Likewise.
1104 (res_setoptions): Mark internal.
1105 * resolv/res_send.c: Likewise.
1106 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
1107 by using poll instead.
1108 * resolv/res_comp.c: Likewise.
1109 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
1110 weak alias for __dn_expand.
1111 * resolv/res_data.c: Likewise.
1112 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
1113 in _res.options. Avoids a potential security risk by avoiding a
1115 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
1116 res_mkquery, res_query, res_querydomain adn res_search weak
1117 aliases for __res_mkquery, __res_query, __res_querydomain and
1119 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
1120 instead to avoid close(0).
1121 (res_init): Always use the static resolver context.
1122 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
1123 alias for __res_init.
1125 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
1126 RES_SET_H_ERRNO and accompanying comment to...
1127 * include/resolv.h: ... here.
1129 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
1130 * resolv/arpa/nameser_compat.h: Likewise.
1132 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1134 * nss/makedb.c (main): Compare result of load_db with
1135 NSS_STATUS_SUCCESS and not 0.
1136 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
1138 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
1140 2000-07-18 Greg McGary <greg@mcgary.org>
1142 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
1143 (EXTEND_BUFFER): Use it.
1145 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1147 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
1148 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
1149 __builtin_return_address.
1150 * dlfcn/dlopenold.c: Likewise.
1151 * dlfcn/dlsym.c: Likewise.
1152 * dlfcn/dlvsym.c: Likewise.
1153 * elf/dl-profstub.c: Likewise.
1154 * malloc/malloc.c: Likewise.
1155 * sysdeps/generic/machine-gmon.h: Likewise.
1156 Based on a patch by schwidefsky@de.ibm.com.
1158 2000-07-18 Andreas Jaeger <aj@suse.de>
1160 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
1161 NULL to elf_machine_fixup_plt t argument to silence GCC.
1163 * include/string.h: Add prototype for __memchr.
1165 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
1167 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
1170 2000-07-18 Ulrich Drepper <drepper@redhat.com>
1172 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
1174 * locale/C-ctype.c: Add initializers for gap elements.
1175 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
1178 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1180 * nscd/nscd.c (print_version): Update copyright year.
1182 2000-07-17 Greg McGary <greg@mcgary.org>
1184 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1185 keyletters F, I, S, W. Remove unused keyletter V. Surround
1186 signature argnames with angle-brackets for use as word delimiters,
1187 and to induce syntax errors for any args not handled. Split
1188 multi-echo echoes and comment each stage.
1189 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
1190 * sysdeps/unix/inet/syscalls.list: Likewise.
1191 * sysdeps/unix/mman/syscalls.list: Likewise.
1192 * sysdeps/unix/syscalls.list: Likewise.
1193 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1194 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1195 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1196 * sysdeps/unix/sysv/syscalls.list: Likewise.
1197 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
1199 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
1200 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
1201 qualifiers. Don't check NULL-terminator of argv & envp.
1202 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
1203 unbounded pointer type in word-size assertion.
1204 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
1205 cases to stifle warnings.
1207 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
1209 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1211 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
1212 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
1215 * Makerules (o-objects): Supplement with $(o-objects$o).
1216 * string/Makefile (o-objects.ob): Add variable to pull
1217 unbounded versions of memcpy, memset and memchr into libc_b.
1219 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
1220 rather than non-existent __ubp_memchr.
1221 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
1222 (_CHECK_STRING, _CHECK_N): New macros.
1223 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
1224 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
1225 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
1226 Add weak alias "memchr".
1227 * sysdeps/generic/memchr.c: Likewise.
1228 * sysdeps/i386/memchr.S: Likewise.
1229 * sysdeps/ia64/memchr.S: Likewise.
1230 * sysdeps/m68k/memchr.S: Likewise.
1231 * sysdeps/sparc/sparc32/memchr.S: Likewise.
1232 * sysdeps/sparc/sparc64/memchr.S: Likewise.
1233 * sysdeps/vax/memchr.s: Likewise.
1235 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
1237 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
1238 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
1239 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
1240 __BOUNDED_POINTERS__.
1241 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
1242 for __BOUNDED_POINTERS__.
1244 2000-07-17 Bruno Haible <haible@clisp.cons.org>
1246 * iconv/gconv_open.c (__gconv_open): Initialize the __data
1247 field of struct __gconv_trans_data differently. Don't pass NULL to
1248 trans_init_fct. Simplify list append operation.
1250 2000-07-14 Bruno Haible <haible@clisp.cons.org>
1252 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
1253 not only those having tsearch.
1255 2000-07-17 Ulrich Drepper <drepper@redhat.com>
1257 * locale/langinfo.h: Add placeholder values in enum for removed
1260 2000-07-17 Jakub Jelinek <jakub@redhat.com>
1262 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
1263 chain if the PHDR check fails.
1265 2000-07-17 Mark Kettenis <kettenis@gnu.org>
1267 * nss/getent.c (print_hosts): Make sure we always print a space
1268 between numeric addresses and hostnames.
1270 2000-07-17 Wolfram Gloger <wg@malloc.de>
1272 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
1273 i.e. if n_mmaps_max>0.
1275 2000-07-16 Mark Kettenis <kettenis@gnu.org>
1277 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
1278 values to remove possible clash with other AI_* constants.
1279 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
1280 hexadecimal constants to stress the fact they're in fact
1283 2000-07-15 Mark Kettenis <kettenis@gnu.org>
1285 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
1286 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
1287 instead of res_init.
1289 2000-07-16 Ulrich Drepper <drepper@redhat.com>
1291 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
1292 parameters of memset calls to avoid warnings.
1294 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1296 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
1299 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
1300 Patch by Greg McGary <greg@mcgary.org>.
1302 * io/Makefile (tests): Add tst-getcwd.
1303 * io/tst-getcwd.c: New file.
1305 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
1307 2000-07-15 Jakub Jelinek <jakub@redhat.com>
1309 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
1312 2000-07-13 Jakub Jelinek <jakub@redhat.com>
1314 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
1315 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
1317 2000-07-12 H.J. Lu <hjl@gnu.org>
1319 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
1321 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
1322 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
1323 (sysdep-routines): Add clone2.
1324 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
1326 2000-07-13 Jes Sorensen <jes@linuxcare.com>
1328 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
1329 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
1331 2000-06-05 David Mosberger <davidm@hpl.hp.com>
1333 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
1334 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
1335 Change type of si_band from "int" to "long".
1336 (si_imm) [USE_GNU]: Define
1337 (si_isr) [USE_GNU]: Ditto.
1338 (ILL_BREAK) [USE_GNU]: Ditto.
1339 (FPE_DECOVF) [USE_GNU]: Ditto.
1340 (FPE_DECDIV) [USE_GNU]: Ditto.
1341 (FPE_DECERR) [USE_GNU]: Ditto.
1342 (FPE_INVASC) [USE_GNU]: Ditto.
1343 (FPE_INVDEC) [USE_GNU]: Ditto.
1344 (TRAP_BRANCH) [USE_GNU]: Ditto.
1345 (TRAP_HWBKPT) [USE_GNU]: Ditto.
1347 2000-07-06 Jes Sorensen <jes@linuxcare.com>
1349 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1350 bits/sigcontext as struct mcontext does not depend on it.
1352 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
1354 2000-07-04 Jes Sorensen <jes@linuxcare.com>
1356 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
1358 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
1360 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
1362 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1364 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
1366 2000-07-15 Ulrich Drepper <drepper@redhat.com>
1368 * intl/Makefile (test-srcs): Add tst-translit.
1370 Add rules to build and run tst-translit.
1371 * intl/tst-translit.c: New file.
1372 * intl/tst-translit.sh: New file.
1373 * intl/translit.po: New file.
1375 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1377 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
1378 transliteration function did its job, continue, don't stop.
1380 * iconvdata/iso646.c: Little optimizations in body for conversion
1383 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1385 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
1387 2000-07-14 Mark Kettenis <kettenis@gnu.org>
1389 * configure.in: Check for pwd binary.
1390 * config.make.in: Add PWD_P to be subsituted.
1391 * Makerules: Use $(PWD_P) instead of /bin/pwd.
1393 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1395 * iconvdata/Makefile (modules): Add GB18030.
1396 (distribute): Add gb18030.c.
1397 * iconvdata/gconv-modules: Add entries for GB18030 module.
1398 * iconvdata/gb18030.c: New file.
1399 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
1402 2000-07-13 Andreas Jaeger <aj@suse.de>
1404 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
1407 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
1408 * inet/getnetgrent.c (free_mem): Likewise.
1409 * misc/mntent.c (free_mem): Likewise.
1410 * nss/getXXbyYY.c (free_mem): Likewise.
1411 * nss/getXXent.c (free_mem): Likewise.
1412 * pwd/fgetpwent.c (free_mem): Likewise.
1413 * shadow/fgetspent.c (free_mem): Likewise.
1415 2000-07-14 Ulrich Drepper <drepper@redhat.com>
1417 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
1418 64-bit architecture correctly [PR libc/1794].
1420 2000-07-13 Ulrich Drepper <drepper@redhat.com>
1422 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
1423 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
1424 report that we are out of memory.
1425 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1426 * elf/dl-libc.c (dlerror_run): Likewise.
1427 * elf/dl-open.c (_dl_open): Likewise.
1428 * elf/rtld.c (dl_main): Likewise.
1429 * elf/dl-error.c: Define _dl_out_of_memory.
1430 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
1432 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
1435 * dlfcn/dlerror.c (free_key_mem): Also free error string.
1437 * iconv/loop.c: Fix comment.
1439 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
1441 2000-07-13 Andreas Jaeger <aj@suse.de>
1443 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
1444 getcwd (NULL, size) with size > 0.
1445 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
1447 2000-07-13 Andreas Jaeger <aj@suse.de>
1449 * posix/Makefile: Remove build rules for libposix.
1451 2000-07-13 Andreas Schwab <schwab@suse.de>
1453 * sysdeps/generic/glob.c (glob): Fix memory leak.
1454 [SHELL]: Remove reference to undefined variable `files'.
1457 2000-07-13 Andreas Jaeger <aj@suse.de>
1459 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
1462 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
1463 memory if it was allocated.
1465 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1467 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
1470 * iconv/gconv_open.c (__gconv_open): Reapply
1471 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1473 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1475 * iconv/gconv_open.c: Undo last two changes for now. They break
1478 2000-07-12 Andreas Jaeger <aj@suse.de>
1480 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
1482 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
1483 (CFLAGS-dl-cache.c): Likewise.
1484 (CFLAGS-ldconfig.c): Added, passes directory locations.
1486 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
1488 * elf/ldconfig.c (LD_SO_CONF): Likewise.
1489 (main): Use configured LIBDIR and SLIBDIR.
1491 2000-07-11 Jakub Jelinek <jakub@redhat.com>
1493 * math/bits/cmathcalls.h (cimag): Add __THROW.
1494 (creal, conj): Likewise.
1495 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
1498 2000-07-12 H.J. Lu <hjl@gnu.org>
1500 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
1501 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
1503 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1505 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
1508 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1510 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
1512 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1514 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
1517 2000-07-12 Bruno Haible <haible@clisp.cons.org>
1519 * iconv/gconv_open.c (__gconv_open): Initialize
1520 result->__steps[cnt].__data.
1522 2000-07-12 Mark Kettenis <kettenis@gnu.org>
1524 * nss/getent.c (services_keys): Pass port number in network byte
1525 order in call to getservbyport.
1527 2000-07-11 Andreas Jaeger <aj@suse.de>
1529 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
1531 * intl/Makefile (do-gettext-test): Likewise.
1532 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
1534 2000-07-11 Andreas Schwab <schwab@suse.de>
1536 * Makeconfig (run-program-prefix): New rule.
1537 (built-program-cmd): Use run-program-prefix.
1539 2000-07-12 Ulrich Drepper <drepper@redhat.com>
1541 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
1542 and NOEXPR unconditionally available.
1544 2000-07-12 Greg McGary <greg@mcgary.org>
1546 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
1547 * sysdeps/posix/open64.c: Likewise.
1548 * sysdeps/generic/fegetenv.c: Likewise.
1549 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
1550 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1551 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1552 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
1553 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
1554 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
1556 2000-07-11 Greg McGary <greg@mcgary.org>
1558 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
1559 Add extra level of macro expansion.
1560 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
1561 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
1562 is available at the time `select' prototype is declared.
1563 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
1564 Collect non-versioned weak aliases. Consider only non-versioned
1565 aliases for the user-visible systemcall name. Do checks inline with
1566 call to primitive system call.
1567 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
1568 stand-alone bounds checks to suppress unused value warnings.
1569 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1571 2000-07-10 Mark Kettenis <kettenis@gnu.org>
1573 * sysdeps/mach/hurd/check_fds.c: New file. Implements
1574 file descriptor checking in SUID programs for the Hurd.
1576 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
1577 res_hostalias instead of __hostalias for thread-safety.
1579 2000-07-09 Mark Kettenis <kettenis@gnu.org>
1581 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
1582 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
1584 2000-07-10 Ulrich Drepper <drepper@redhat.com>
1586 * include/features.h: Include ISO C99 features if the compiler used
1587 is an ISO C99 compiler.
1588 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1590 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1592 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
1594 2000-07-10 Andreas Jaeger <aj@suse.de>
1596 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
1597 it's overridden by libpthreads.
1598 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1599 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1600 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1601 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1602 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1604 * malloc/Makefile: Run tst-mtrace only with shared libs.
1606 * stdio-common/Makefile: Run unbputc and tst-printf tests only
1609 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1611 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
1612 that gpreg really points to the GOT section of the calling object.
1613 Scan all PT_LOAD segments of objects for stub_pc, instead of only
1614 checking a start address of first one.
1616 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
1619 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
1621 2000-07-10 Andreas Jaeger <aj@suse.de>
1623 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
1624 (string_alias->strong_alias).
1626 2000-07-08 Mark Kettenis <kettenis@gnu.org>
1628 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
1630 2000-07-07 Greg McGary <greg@mcgary.org>
1632 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
1633 have no names without leading underscores.
1635 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1637 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
1640 * stdio-common/Makefile (tests): Remove tst-printf here...
1641 (tests-srcs): ...and add it here.
1642 (distribute): Add tst-unbputc.sh and tst-printf.sh.
1643 Add rules to run tst-printf.sh.
1644 * stdio-common/tst-printf.c: Move code around so that there is really
1645 no further output where it's stated.
1646 * stdio-common/tst-printf.sh: New file.
1648 2000-07-07 Mark Kettenis <kettenis@gnu.org>
1650 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
1651 (do_write): Renamed from pwrite.
1652 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
1653 `struct _IO_cookie_file'.
1655 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1657 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
1659 * malloc/tst-mtrace.sh: Run mtrace script.
1661 2000-07-07 Greg McGary <greg@mcgary.org>
1663 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
1664 Move all three components of a bounded pointer.
1666 2000-07-07 Ulrich Drepper <drepper@redhat.com>
1668 * locale/programs/locale.c (write_locales): Don't simply add all
1669 directories found in the subdir, test whether at least the
1670 LC_CTYPE file is in there.
1672 2000-07-06 Ulrich Drepper <drepper@redhat.com>
1674 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
1675 * iconvdata/euc-kr.c: Likewise.
1677 * stdio-common/vfprintf.c (process_string_arg): Check result of
1678 wcrtomb call and bail out if it failed.
1680 * malloc/Makefile (test-srcs): Add tst-mtrace.
1681 (distribute): Add tst-mtrace.sh.
1682 Add rule to run tst-mtrace.sh.
1683 * malloc/tst-mtrace.c: New file.
1684 * malloc/tst-mtrace.sh: New file.
1686 * include/signal.h: Declare __libc_sigaction.
1687 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
1688 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
1689 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1690 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1691 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1692 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1693 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1695 * configure.in: Fix CFLAGS-memprofstat.c definition after
1697 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
1699 2000-07-06 Jakub Jelinek <jakub@redhat.com>
1701 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
1702 instead of NULL to elf_machine_fixup_plt t argument.
1703 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1704 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
1707 2000-07-06 Andreas Jaeger <aj@suse.de>
1709 * crypt/Makefile (LDLIBS-cert): Removed.
1710 (LDLIBS-md5c-test): Removed.
1711 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
1712 ($(objpfx)md5c-test): Likewise for md5c-test.out.
1714 2000-07-06 Andreas Jaeger <aj@suse.de>
1716 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
1717 of the proc system is "proc".
1719 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
1720 thread library for static programs.
1722 2000-07-06 Greg McGary <greg@mcgary.org>
1724 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
1726 * sysdeps/generic/strcpy.c: Add bounds checks.
1727 * sysdeps/unix/fxstat.c: Likewise.
1728 * sysdeps/unix/xstat.c: Likewise.
1729 * sysdeps/unix/common/lxstat.c: Likewise.
1730 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1731 * sysdeps/unix/sysv/linux/execve.c: Likewise.
1732 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1733 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1734 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1735 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1736 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
1737 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1738 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1739 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1740 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1741 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1742 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1743 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1744 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1745 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1746 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1747 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1748 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1749 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1750 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1751 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1752 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1753 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1754 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1755 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1756 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1757 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1758 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1759 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1760 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1761 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
1762 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1763 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1764 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1765 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1766 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1767 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1768 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1769 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1770 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1771 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1772 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1773 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1774 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
1775 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
1776 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1777 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
1778 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
1779 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
1780 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
1781 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1782 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1783 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1784 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1785 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1786 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1787 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
1788 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
1789 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
1790 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1791 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
1792 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
1793 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
1795 * string/endian.h (__LONG_LONG_PAIR): New macro.
1796 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
1797 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1798 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1799 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1800 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1801 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1802 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1803 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1804 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1805 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1806 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1807 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1809 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
1811 2000-07-06 Andreas Jaeger <aj@suse.de>
1813 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
1816 * math/test-fpucw.c: Include <stdio.h> for printf.
1818 2000-07-05 Greg McGary <greg@mcgary.org>
1820 * sysdeps/generic/bp-checks.h: New file.
1821 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
1822 with list of #include files.
1823 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
1824 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
1825 Don't generate BP thunk if `V' appears in signature.
1826 Generate thunks with complete bounds checks.
1827 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
1828 * sysdeps/unix/inet/syscalls.list: Likewise.
1829 * sysdeps/unix/mman/syscalls.list: Likewise.
1830 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1831 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1832 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1833 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1835 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1837 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
1838 result. Search first in /etc/mtab (proc/mounts would be stupid).
1839 If mount not in the file fall back on /proc.
1841 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
1842 string got copied in.
1843 Patch by Solar Designer <solar@false.com>.
1845 2000-07-05 Andreas Jaeger <aj@suse.de>
1847 * manual/install.texi (Installation): Update information about
1849 (Configuring and compiling): Update for glibc 2.2.
1851 2000-07-04 Andreas Jaeger <aj@suse.de>
1853 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
1854 (_FPU_IEEE): Likewise.
1856 * math/Makefile (tests): Add test-fpucw.
1858 * math/test-fpucw.c (main): New file.
1860 2000-07-05 Ulrich Drepper <drepper@redhat.com>
1862 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
1864 * locale/programs/ld-collate.c (collate_output): Also write out the
1865 collation sequence values and the wide character string for the
1866 collation symbol table.
1868 * posix/fnmatch.c: Include "../locale/elem-hash.h".
1869 * posix/fnmatch_loop.c: Implement collating symbol handling.
1870 * posix/tst-fnmatch.input: Add more tests, especially for collating
1873 * posix/regex.c: Fix comment.
1875 2000-07-05 Andreas Jaeger <aj@suse.de>
1877 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
1878 (_FPU_GETCW): Remove extra colon.
1879 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1881 * posix/fnmatch_loop.c (FCT): Only declare len if
1882 !WIDE_CHAR_VERSION to silence GCC.
1884 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
1886 * sysdeps/generic/strchrnul.c: Likewise.
1887 * sysdeps/generic/strlen.c: Likewise.
1888 * sysdeps/generic/strchr.c: Likewise.
1889 * sysdeps/generic/memchr.c: Likewise.
1891 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1893 * posix/fnmatch_loop.c: Implement equivalence class handling.
1894 * posix/tst-fnmatch.input: Add tests for equivalence class
1897 * posix/fnmatch_loop.c: Improve performance for single-byte
1898 character sets by not using btowc.
1900 * posix/tst-fnmatch.input: Add tests for locale dependent
1902 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
1904 * posix/tst-fnmatch.input: Add more test cases.
1906 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
1907 are not aligned to alignof(md5_uint32) do it before calling
1908 __md5_process_bytes.
1909 * crypt/md5.c: Make sure buffers are aligned.
1910 * crypt/md5.h: Likewise.
1911 Reported by Solar Designer <solar@false.com>.
1913 * crypt/Makefile: Add dependencies for test programs.
1915 * Rules: Define LC_ALL=C in environments of all programs we run.
1917 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
1919 2000-07-03 H.J. Lu <hjl@gnu.org>
1921 * locale/programs/ld-ctype.c (ctype_output): The size of iov
1922 is 2 + elem + offset, not 2 + elem + offset + 2.
1924 2000-07-04 Ulrich Drepper <drepper@redhat.com>
1926 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
1928 * posix/Makefile (tests): Add tst-fnmatch.
1929 (tst-fnmatch-ENV): Define.
1930 * posix/tst-fnmatch.c: New file.
1931 * posix/tst-fnmatch.sh: New file.
1933 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
1935 * locale/programs/charmap.c (charmap_read): Prepend
1936 the condition filename == NULL.
1938 2000-07-03 Greg McGary <greg@mcgary.org>
1940 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
1942 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
1943 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
1945 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
1946 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
1947 (FILEBUF_LITERAL): Add cast for CHAIN init.
1948 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
1949 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
1950 Revert type of `fp' to _IO_FILE*.
1951 (_IO_iter_file): Remove cast.
1952 (_IO_iter_next): Elide intermediate member reference.
1954 * sysdeps/powerpc/strchr.S: Check bounds.
1955 Wrap extern symbols in BP_SYM ().
1957 2000-07-03 Andreas Jaeger <aj@suse.de>
1959 * dlfcn/Makefile (generated): New.
1961 2000-07-03 Ulrich Drepper <drepper@redhat.com>
1963 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
1964 (__uflow): Likewise.
1965 (__underflow): Likewise.
1966 * libio/wgenops.c (__wunderflow): Likewise.
1967 * stdio-common/tst-unbputc.c: New file.
1968 * stdio-common/tst-unbputc.sh: New file.
1969 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
1971 * po/en_GB.po: New file.
1972 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
1974 2000-07-01 Andreas Jaeger <aj@suse.de>
1976 * intl/Makefile (generated-dirs): New.
1978 * elf/Makefile (generated): trusted-dirs.h is always generated,
1979 move out of build-shared condition.
1980 (generated): Merge the two entries for build-shared.
1982 2000-07-01 Ulrich Drepper <drepper@redhat.com>
1984 * debug/Makefile (distribute): Add xtrace.sh.
1986 2000-06-30 Ulrich Drepper <drepper@redhat.com>
1988 * version.h (VERSION): Bump to 2.1.91.
1990 * configure.in: Update warning comment. glibc should not be
1993 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
1994 ioperm.c, sys/procfs.h, and sys/io.h.
1996 * sysdeps/powerpc/Dist: Add bp-asm.h.
1998 * assert/Depend: Add localedata.
1999 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
2000 (test-assert-perr-ENV): New. Define LANGUAGE=C.
2002 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
2003 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
2004 relocation address to prevent unaligned trap.
2005 Suggested by Richard Henderson <rth@cygnus.com>.
2007 2000-06-30 Jakub Jelinek <jakub@redhat.com>
2009 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
2010 if redirecting and either redirection is done using defines or
2013 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2015 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
2016 generated expressions.
2017 Patch by Darren McClelland <dmcclell@zetec.com>.
2019 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
2020 since zic uses setlocale and gettext but we cannot make it use the
2021 new locale data since zic calls a shell which might not use the
2024 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
2025 handling the internation currency symbol. POSIX says that the
2026 fourth character is used to separate the currency symbol from the
2027 value. Therefore it does not have to be printed. But we cannot
2028 remove the space if the currency symbol is printed before the
2029 number since this is what many locales expect.
2031 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
2032 whether this information is available.
2034 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
2035 buffers in case the translation is too large. Remember allocated
2036 memory blocks in a list.
2037 (free_mem): Free memory for translations.
2039 * intl/tst-gettext.c: Use correct locale. Improve error messages.
2041 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
2042 information is available set the string length to zero.
2044 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
2046 2000-06-30 Greg McGary <greg@mcgary.org>
2048 * sysdeps/powerpc/bp-asm.h: New file.
2049 * sysdeps/powerpc/__longjmp.S: Check bounds.
2050 Wrap extern symbols in BP_SYM ().
2051 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
2052 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
2053 * sysdeps/powerpc/setjmp.S: Likewise.
2054 * sysdeps/powerpc/add_n.S: Likewise.
2055 * sysdeps/powerpc/addmul_1.S: Likewise.
2056 * sysdeps/powerpc/lshift.S: Likewise.
2057 * sysdeps/powerpc/rshift.S: Likewise.
2058 * sysdeps/powerpc/mul_1.S: Likewise.
2059 * sysdeps/powerpc/sub_n.S: Likewise.
2060 * sysdeps/powerpc/submul_1.S: Likewise.
2061 * sysdeps/powerpc/strlen.S: Likewise.
2062 * sysdeps/powerpc/memset.S: Likewise.
2063 * sysdeps/powerpc/stpcpy.S: Likewise.
2064 * sysdeps/powerpc/strcmp.S: Likewise.
2065 * sysdeps/powerpc/strcpy.S: Likewise.
2066 * sysdeps/powerpc/elf/bzero.S: Likewise.
2068 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
2069 Line up operands column with tabs.
2071 2000-06-30 Ulrich Drepper <drepper@redhat.com>
2073 * elf/Makefile (LDFLAGS-origtest): Actually add it.
2075 * sysdeps/ia64/htonl.S: New file.
2076 * sysdeps/ia64/htons.S: New file.
2077 * sysdeps/ia64/memcpy.S: Replace with version which does not use
2078 floating point registers.
2079 Patches by Dan Pop <Dan.Pop@cern.ch>.
2081 2000-06-30 Andreas Jaeger <aj@suse.de>
2083 * posix/Makefile (tests): tst-exec and tst-spawn only work with
2086 * io/Makefile (CFLAGS-test-lfs.c): New.
2087 (tests): Add test-lfs.
2089 * io/test-lfs.c: New file.
2091 2000-06-30 Jakub Jelinek <jakub@redhat.com>
2093 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
2096 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
2098 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
2100 2000-06-29 Jes Sorensen <jes@linuxcare.com>
2102 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
2103 alias to the fstatfs call.
2105 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
2106 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
2108 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
2109 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
2111 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
2112 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
2113 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
2114 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
2116 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
2117 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
2119 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
2120 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
2122 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
2123 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
2125 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
2127 2000-06-29 Andreas Jaeger <aj@suse.de>
2129 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
2131 (print_err_message): Likewise.
2132 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
2134 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2136 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
2137 used as words is properly aligned.
2139 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
2142 2000-06-29 Greg McGary <greg@mcgary.org>
2144 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
2145 * sysdeps/unix/make-syscalls.sh: Handle signatures of
2146 length 7..9, just in case...
2147 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
2149 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
2150 (POP_ERRNO_LOCATION_RETURN): Fold insns.
2151 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
2152 (PUSH_SIGNAL_MASK): New macro.
2153 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
2154 LEAVE is unnecessary. Check bounds of jmp_buf.
2155 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
2156 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
2157 immediately before tail-call.
2158 * sysdeps/i386/setjmp.S: Likewise.
2159 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2160 * sysdeps/i386/bsd-setjmp.S: Likewise.
2162 2000-06-29 Jakub Jelinek <jakub@redhat.com>
2164 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
2166 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
2167 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
2168 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
2169 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2170 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
2171 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
2172 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
2173 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
2175 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2177 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
2178 we later need to calling free().
2179 Patch by Matt Wilson <msw@redhat.com>.
2181 * stdio-common/tst-printf.c: Add test for above problem.
2183 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
2185 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
2186 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
2188 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2190 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
2191 prototype for abs().
2192 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
2194 2000-06-23 Andreas Jaeger <aj@suse.de>
2196 * config.h.in: Don't use regparm with bounded pointers.
2198 2000-06-29 Ulrich Drepper <drepper@redhat.com>
2200 * stdlib/grouping.h: Correctly handle multibyte thousands
2201 separator and decimal point.
2202 * stdlib/stdtod.c: Likewise.
2203 * sysdeps/generic/strtol.c: Likewise.
2205 * locale/categories.def: Add entries for wide character decimal point
2206 and thousands separator in numeric and monetary category.
2208 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2210 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
2211 second definition and initialization of decimal.
2213 2000-06-28 Greg McGary <greg@mcgary.org>
2215 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
2217 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
2218 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
2220 (_IO_JUMPS): Don't cast THIS--expect arg to be a
2221 (struct _IO_FILE_plus *).
2222 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
2223 THIS, since _IO_JUMPS no longer does it implicitly.
2224 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
2225 arg type as (struct _IO_FILE_plus *).
2226 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
2227 arg as (_IO_strfile *).
2228 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
2229 Declare 1st arg as (_IO_strfile *).
2230 * libio/fileops.c (_IO_new_file_init): Declare
2231 arg type as (struct _IO_FILE_plus *).
2232 * libio/oldfileops.c (_IO_old_file_init): Likewise.
2233 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
2234 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
2235 Declare iteration pointer as (struct _IO_FILE_plus *).
2236 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
2237 (struct _IO_FILE_plus *).
2238 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
2239 * libio/oldstdfiles.c (_IO_list_all): Likewise.
2240 (_IO_check_libio): Set user-visible handles to
2241 (struct _IO_FILE_plus *).
2242 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
2243 to (struct _IO_FILE_plus *).
2245 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
2246 whose high bound includes vtable to all functions that will use
2247 vtable. For streambufs, pass pointer whose bounds include struct
2249 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
2250 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2251 * libio/iofopen.c (_IO_new_fopen): Likewise.
2252 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2253 * libio/iofopen64.c (_IO_fopen64): Likewise.
2254 * libio/iopopen.c (_IO_new_popen): Likewise.
2255 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2256 * libio/memstream.c (open_memstream): Likewise.
2257 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2258 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
2259 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2260 * libio/iofopncook.c (_IO_cookie_init): Likewise.
2261 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
2262 * libio/vasprintf.c (_IO_vasprintf): Likewise.
2263 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2264 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2265 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
2266 * stdlib/strfmon.c (__strfmon_l): Likewise.
2267 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
2268 (vfprintf): Qualify computed-goto targets as unbounded.
2270 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2272 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
2273 thousands separator correctly.
2275 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
2276 * stdio-common/vfwscanf.c: Likewise.
2278 2000-06-27 Jes Sorensen <jes@linuxcare.com>
2280 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
2281 count into signatures for most calls.
2283 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2285 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
2286 the generic parser now.
2288 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2290 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
2291 table entries are 32 bit on the ia64 (as specified by the ABI),
2292 not 64 bit as on the Alpha.
2294 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
2295 change of objects to use 32 bit hash table indices (see above).
2297 2000-06-28 Jes Sorensen <jes@linuxcare.com>
2299 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
2300 prototype for abs().
2302 2000-06-28 Wolfram Gloger <wg@malloc.de>
2304 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
2305 fails, try mmap_chunk() as a last resort even though n_mmaps_max
2306 may have been reached.
2308 2000-06-28 Ulrich Drepper <drepper@redhat.com>
2310 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
2311 symbols in multi-character weights correctly.
2313 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
2314 depending on whether the input string is empty or not.
2316 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
2317 given state and not avoiding this by modifying a local object.
2318 * wcsmbs/wcrtomb.c: Likewise.
2320 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
2321 object since some incomplete characters might be in there.
2323 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
2324 sequences with first byte 0x8e correctly.
2326 * iconvdata/jis0208.h: Remove redundant test.
2328 2000-06-27 Ulrich Drepper <drepper@redhat.com>
2330 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
2331 Add it where it is needed now.
2333 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
2334 the input charset into account when generating the hash table.
2335 (allocate_arrays): Correct setting default width. Not all empty slots
2336 in the table are filled, only those not covert explicitly by the
2337 locale description and in the charset.
2339 * wctype/towctrans.c (__towctrans): Be graceful and accept error
2340 return values from the wctrans function.
2342 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
2343 wide character version.
2344 For %C handling, test correct pointer variable for NULL.
2346 * wcsmbs/wctob.c: Handle WEOF special.
2348 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
2350 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
2351 always-true test to avoid warning.
2353 2000-06-27 Greg McGary <greg@mcgary.org>
2355 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
2356 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
2357 (symbol_version, default_symbol_version): Factor redundant
2358 definitions out of conditional.
2360 2000-06-27 Jakub Jelinek <jakub@redhat.com>
2362 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
2365 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2367 * include/libc-symbols.h (symbol_version): Add extra level of
2369 (default_symbol_version): Likewise.
2371 2000-06-26 Greg McGary <greg@mcgary.org>
2373 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
2374 for BP return value & push implicit struct-return pointer to
2376 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2377 (SYSCALL_ERROR_HANDLER): Likewise.
2378 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2379 (SYSCALL_ERROR_HANDLER): Likewise.
2381 * Makeconfig: Add missing comment.
2382 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
2383 BP-flavored startup object.
2384 ($(objpfx)b$(start-installed-name)): New rule.
2385 * include/libc-symbols.h (symbol_set_declare): Change type
2386 of `__start_##set' and `__stop_##set' to pointer-to-function.
2387 (symbol_set_declare): Change type of `set' to array of
2388 pointer-to-function.
2389 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
2390 pointer-to-function.
2392 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
2394 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
2395 Remove clock_* and timer_* entries.
2396 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
2397 arg-count with signatures.
2399 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
2400 Check bounds of arguments.
2401 * sysdeps/i386/addmul_1.S: Likewise.
2402 * sysdeps/i386/lshift.S: Likewise.
2403 * sysdeps/i386/mul_1.S: Likewise.
2404 * sysdeps/i386/rshift.S: Likewise.
2405 * sysdeps/i386/sub_n.S: Likewise.
2406 * sysdeps/i386/submul_1.S: Likewise.
2407 * sysdeps/i386/i586/add_n.S: Likewise.
2408 * sysdeps/i386/i586/addmul_1.S: Likewise.
2409 * sysdeps/i386/i586/lshift.S: Likewise.
2410 * sysdeps/i386/i586/rshift.S: Likewise.
2411 * sysdeps/i386/i586/sub_n.S: Likewise.
2412 * sysdeps/i386/i686/add_n.S: Likewise.
2414 * sysdeps/i386/memchr.S: Likewise.
2415 * sysdeps/i386/memcmp.S: Likewise.
2416 * sysdeps/i386/rawmemchr.S: Likewise.
2417 * sysdeps/i386/i586/bzero.S: Likewise.
2418 * sysdeps/i386/i586/memcpy.S: Likewise.
2419 * sysdeps/i386/i586/mempcpy.S: Likewise.
2420 * sysdeps/i386/i586/memset.S: Likewise.
2421 * sysdeps/i386/i686/bzero.S: Likewise.
2422 * sysdeps/i386/i686/memcpy.S: Likewise.
2423 * sysdeps/i386/i686/mempcpy.S: Likewise.
2424 * sysdeps/i386/i686/memset.S: Likewise.
2426 * sysdeps/i386/stpcpy.S: Likewise.
2427 * sysdeps/i386/stpncpy.S: Likewise.
2428 * sysdeps/i386/strchr.S: Likewise.
2429 * sysdeps/i386/strchrnul.S: Likewise.
2430 * sysdeps/i386/strcspn.S: Likewise.
2431 * sysdeps/i386/strpbrk.S: Likewise.
2432 * sysdeps/i386/strrchr.S: Likewise.
2433 * sysdeps/i386/strspn.S: Likewise.
2434 * sysdeps/i386/strtok.S: Likewise.
2435 * sysdeps/i386/strtok_r.S: Likewise.
2436 * sysdeps/i386/i486/strcat.S: Likewise.
2437 * sysdeps/i386/i486/strlen.S: Likewise.
2438 * sysdeps/i386/i586/strchr.S: Likewise.
2439 * sysdeps/i386/i586/strcpy.S: Likewise.
2440 * sysdeps/i386/i586/strlen.S: Likewise.
2441 * sysdeps/i386/i686/strcmp.S: Likewise.
2442 * sysdeps/i386/i686/strtok.S: Likewise.
2443 * sysdeps/i386/i686/strtok_r.S: Likewise.
2445 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
2446 * sysdeps/i386/fpu/fesetenv.c: Likewise.
2447 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
2448 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
2449 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
2451 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
2452 * sysdeps/i386/mul_1.S: Likewise.
2453 * sysdeps/i386/submul_1.S: Likewise.
2454 * sysdeps/i386/i586/add_n.S: Likewise.
2455 * sysdeps/i386/i586/addmul_1.S: Likewise.
2456 * sysdeps/i386/i586/lshift.S: Likewise.
2457 * sysdeps/i386/i586/mul_1.S: Likewise.
2458 * sysdeps/i386/i586/rshift.S: Likewise.
2459 * sysdeps/i386/i586/sub_n.S: Likewise.
2460 * sysdeps/i386/i586/submul_1.S: Likewise.
2462 2000-06-26 Ulrich Drepper <drepper@redhat.com>
2464 * rt/Makefile (librt-routines): Add clock_nanosleep.
2465 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
2466 * sysdeps/generic/clock_nanosleep.c: New file.
2467 * sysdeps/unix/clock_nanosleep.c: New file.
2468 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
2469 * time/time.h: Declare clock_nanosleep.
2471 2000-06-26 Greg McGary <greg@mcgary.org>
2473 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
2474 INSN1, INSN2, TEXT, GLOBL): Remove macros.
2475 (ALIGN): Cleanup surrounding conditionals.
2477 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
2478 Call ENTER/LEAVE macros.
2479 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
2480 * sysdeps/i386/submul_1.S: Likewise.
2482 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
2483 syntax. Define & use symbolic argument stack offsets. Call
2485 * sysdeps/i386/i586/mul_1.S: Likewise.
2486 * sysdeps/i386/i586/submul_1.S: Likewise.
2488 2000-06-25 Greg McGary <greg@mcgary.org>
2490 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
2493 2000-06-25 Ulrich Drepper <drepper@redhat.com>
2495 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
2496 * iconvdata/gen-8bit-gap.sh: Likewise.
2497 * iconvdata/gen-8bit.sh: Likewise.
2499 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
2501 * locale/programs/ld-collate.c (collate_read): Don't actually read
2502 the copy locale if we are ignoring the content.
2504 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
2507 * locale/programs/ld-collate.c: Correct handling of different
2509 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
2510 as extra parameter from which to copy category information.
2512 (load_locale): Likewise.
2513 * locale/programs/localedef.h: Update prototypes of add_to_readlist
2515 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
2516 * locale/programs/locfile.h: Likewise.
2517 * locale/programs/locfile-kw.gperf: Add entry for script.
2518 * locale/programs/locfile-token.h: Add tok_script.
2520 * locale/programs/locale.c: Update copyright year.
2521 * locale/programs/localedef.c: Likewise.
2523 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
2525 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
2526 Jens Moeller <jens.moeller@waii.com>.
2528 2000-06-24 Ulrich Drepper <drepper@redhat.com>
2530 * locale/programs/ld-name.c (name_finish): Add missing format
2531 specifier to test for name_fmt.
2533 * locale/programs/ld-address.c (iso639): Correct length of string
2535 (iso3166): Likewise.
2537 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
2539 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
2542 * elf/elf.h (NT_PRFPXREG): Define.
2544 2000-06-23 Ulrich Drepper <drepper@redhat.com>
2546 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
2547 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
2549 2000-06-23 Andreas Schwab <schwab@suse.de>
2551 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
2554 2000-06-23 Andreas Jaeger <aj@suse.de>
2556 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
2558 * io/test-stat.c: Add copyright header, mention Maciej.
2560 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
2561 SYS_mincore, SYS_madvise): Added.
2563 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
2566 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2568 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
2569 (CFLAGS-tst_putwc.c): New definition.
2570 * libio/tst_getwc.c: New file.
2571 * libio/tst_getwc.input: New file.
2572 * libio/tst_putwc.c: New file.
2574 * include/string.h: Add prototype for __strdup.
2576 2000-06-22 Greg McGary <greg@mcgary.org>
2578 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
2579 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
2582 2000-06-23 Jes Sorensen <jes@linuxcare.com>
2584 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
2586 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2588 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
2590 2000-06-22 Jes Sorensen <jes@linuxcare.com>
2592 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
2593 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
2595 2000-06-22 Ulrich Drepper <drepper@redhat.com>
2597 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
2598 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
2600 * sysdeps/mach/hurd/bits/stat.h: Likewise.
2601 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2602 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
2603 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2604 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
2605 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
2606 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
2607 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2608 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2609 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2610 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
2611 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
2612 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
2613 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
2616 2000-06-22 Andreas Jaeger <aj@suse.de>
2618 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
2621 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
2623 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
2625 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2627 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
2630 2000-06-21 Greg McGary <greg@mcgary.org>
2632 * Makerules (elide-routines.*, elide-bp-thunks):
2633 Define unconditionally.
2635 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2637 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2639 2000-06-21 Andreas Jaeger <aj@suse.de>
2641 * io/Makefile (tests): Add test-stat.
2642 (CFLAGS-test-stat.c): New.
2644 * io/test-stat.c: New file from Maciej W. Rozycki
2645 <macro@ds2.pg.gda.pl>.
2647 2000-06-21 Jes Sorensen <jes@linuxcare.com>
2649 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
2650 in __rlimit_resource to make them match the kernel order.
2651 rlim_t is always 64 bit, use __rlim64_t to declare it
2654 2000-05-04 Jes Sorensen <jes@linuxcare.com>
2656 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
2657 RLIM_INFINITY before defining it to avoid clash with kernel header
2659 2000-05-03 Jes Sorensen <jes@linuxcare.com>
2661 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
2663 2000-06-21 Ulrich Drepper <drepper@redhat.com>
2665 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
2667 2000-06-21 Andreas Jaeger <aj@suse.de>
2669 * stdio-common/temptest.c: Include <stdlib.h>.
2670 * stdio-common/tst-fileno.c: Likewise.
2671 * stdio-common/scanf4.c: Likewise.
2672 * stdio-common/scanf5.c: Likewise.
2673 * time/clocktest.c: Likewise.
2674 * posix/test-vfork.c: Likewise.
2675 * posix/globtest.c: Likewise.
2676 * io/test-utime.c: Likewise.
2677 * wctype/test_wcfuncs.c: Likewise.
2678 * crypt/cert.c: Likewise.
2680 * stdio-common/tst-printfsz.c: Include <string.h>.
2681 * libio/tst_swscanf.c: Likewise.
2682 * libio/tst_wscanf.c: Likewise.
2683 * posix/runtests.c: Likewise.
2684 * posix/tst-getaddrinfo.c: Likewise.
2685 * posix/wordexp-test.c: Likewise.
2686 * misc/tst-efgcvt.c: Likewise.
2688 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
2689 * nss/test-netdb.c: Likewise.
2691 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
2692 supported kernel for MIPS.
2694 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
2695 * rt/aio_suspend.c: Likewise.
2697 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2699 * math/libm-test.inc: Include <string.h>.
2701 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2703 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
2705 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2707 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
2708 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
2710 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
2712 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
2714 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2716 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
2718 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2720 * locale/programs/ld-collate.c (insert_value): Now take string and
2721 length instead of struct token* parameter. Adjust use of token.
2722 (handle_ellipsis): Likewise.
2723 (collate_read): Allow <Uxxxx> names and transform them into names
2724 to be passed to insert_value and handle_ellipsis.
2726 * locale/programs/ld-ctype.c (uninames): New array with names of
2727 digits in <Uxxxxxxxx> format.
2728 (ctype_finish): Correct search for space character value. Likewise
2729 for default outdigits values.
2731 2000-06-20 Greg McGary <greg@mcgary.org>
2733 * Makerules (objects): Add BP thunks.
2735 2000-06-20 Ulrich Drepper <drepper@redhat.com>
2737 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
2738 in width definitions.
2740 2000-06-20 Andreas Jaeger <aj@suse.de>
2742 * sysdeps/mips/fpu/libm-test-ulps: New file.
2744 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
2747 * sysdeps/mips/fpu/feholdexcpt.c: New file.
2749 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
2751 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2753 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
2754 change in gconv_builtin.h.
2756 * malloc/Makefile: Change all references to memprof into memusage.
2757 * malloc/memprof.c: Rename to...
2758 * malloc/memusage.c: ...this. New file.
2759 * malloc/memprof.sh: Rename to...
2760 * malloc/memusage.sh: ...this. New file.
2761 * malloc/memprofstat.c: Rename to...
2762 * malloc/memusagestat.c: ...this. New file.
2763 * sysdeps/alpha/memprof.h: Rename to..
2764 * sysdeps/alpha/memusage.h: ...this. New file.
2765 * sysdeps/arm/memprof.h: Rename to..
2766 * sysdeps/arm/memusage.h: ...this. New file.
2767 * sysdeps/generic/memprof.h: Rename to..
2768 * sysdeps/generic/memusage.h: ...this. New file.
2769 * sysdeps/i386/memprof.h: Rename to..
2770 * sysdeps/i386/memusage.h: ...this. New file.
2771 * sysdeps/ia64/memprof.h: Rename to..
2772 * sysdeps/ia64/memusage.h: ...this. New file.
2773 * sysdeps/m68k/memprof.h: Rename to..
2774 * sysdeps/m68k/memusage.h: ...this. New file.
2775 * sysdeps/mips/memprof.h: Rename to..
2776 * sysdeps/mips/memusage.h: ...this. New file.
2777 * sysdeps/powerpc/memprof.h: Rename to..
2778 * sysdeps/powerpc/memusage.h: ...this. New file.
2779 * sysdeps/sparc/memprof.h: Rename to..
2780 * sysdeps/sparc/memusage.h: ...this. New file.
2781 * sysdeps/sh/memprof.h: Rename to..
2782 * sysdeps/sh/memusage.h: ...this. New file.
2784 * elf/sprof.c (print_version): Update year.
2786 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
2787 table entry values. Use D_PTR.
2788 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
2789 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
2791 2000-06-20 Jes Sorensen <jes@linuxcare.com>
2793 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
2794 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
2795 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
2796 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
2798 2000-05-05 Jes Sorensen <jes@linuxcare.com>
2800 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
2802 2000-06-16 Jes Sorensen <jes@linuxcare.com>
2804 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
2805 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
2806 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
2808 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
2810 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
2813 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
2814 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
2816 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
2819 2000-06-15 Jes Sorensen <jes@linuxcare.com>
2821 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
2823 2000-06-08 Jes Sorensen <jes@linuxcare.com>
2825 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
2827 2000-06-19 Ulrich Drepper <drepper@redhat.com>
2829 * iconv/gconv_int.h (strict gconv_module): Remove all members
2830 associated with regular expressions. Use a simple string as the
2832 * iconv/gconv_db.c: Remove code handling regular expressions.
2833 * iconv/gconv_conf.c: Likewise.
2834 * iconv/iconv_prog.c: Likewise.
2835 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
2837 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
2838 General namespace cleanup.
2839 (struct __gconv_trans_data): Add next field.
2840 (struct __gconv_step_data): Make __trans a pointer.
2841 * iconv/gconv_conf.c: Split out code to find gconv directories from
2842 __gconv_read_conf in new functions.
2843 * iconv/gconv_int.h: Define new data structure and declare new
2844 functions for handling of gconv directory list.
2845 * iconv/gconv_open.c: Allow more than one error handling step being
2846 used. Call function to load error handling module if it is none
2847 of the builtin transformations.
2848 * iconv/gconv_close.c: Add code to free transliteration data.
2849 * iconv/gconv_trans.c: Add functions to load and unload modules
2850 implementing transliteration etc.
2851 * iconv/skeleton.c: Call all context functions now that more than
2852 one module is allowed.
2853 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
2854 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
2855 where the full error handling using transliteration is needed.
2856 * iconvdata/8bit-gap.c: Likewise.
2857 * iconvdata/8bit-generic.c: Likewise.
2858 * iconvdata/ansi_x3.110.c: Likewise.
2859 * iconvdata/big5.c: Likewise.
2860 * iconvdata/big5hkscs.c: Likewise.
2861 * iconvdata/euc-cn.c: Likewise.
2862 * iconvdata/euc-jp.c: Likewise.
2863 * iconvdata/euc-kr.c: Likewise.
2864 * iconvdata/euc-tw.c: Likewise.
2865 * iconvdata/gbgbk.c: Likewise.
2866 * iconvdata/gbk.c: Likewise.
2867 * iconvdata/iso-2022-cn.c: Likewise.
2868 * iconvdata/iso-2022-jp.c: Likewise.
2869 * iconvdata/iso-2022-kr.c: Likewise.
2870 * iconvdata/iso646.c: Likewise.
2871 * iconvdata/iso8859-1.c: Likewise.
2872 * iconvdata/iso_6937-2.c: Likewise.
2873 * iconvdata/iso_6937.c: Likewise.
2874 * iconvdata/johab.c: Likewise.
2875 * iconvdata/sjis.c: Likewise.
2876 * iconvdata/t.61.c: Likewise.
2877 * iconvdata/uhc.c: Likewise.
2878 * iconvdata/unicode.c: Likewise.
2879 * iconvdata/utf-16.c: Likewise.
2880 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
2881 structure correctly after last change.
2882 * wcsmbs/btowc.c: Likewise.
2883 * wcsmbs/mbrtowc.c: Likewise.
2884 * wcsmbs/mbsnrtowcs.c: Likewise.
2885 * wcsmbs/mbsrtowcs.c: Likewise.
2886 * wcsmbs/wcrtomb.c: Likewise.
2887 * wcsmbs/wcsnrtombs.c: Likewise.
2888 * wcsmbs/wcsrtombs.c: Likewise.
2889 * wcsmbs/wctob.c: Likewise.
2891 * localedata/Makefile: Set -Wno-format for some files since gcc does
2892 not know all the format specifiers.
2894 2000-06-18 Ulrich Drepper <drepper@redhat.com>
2896 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
2898 * locale/lc-time.c (_nl_init_era_entries): Likewise.
2900 2000-06-18 Andreas Jaeger <aj@suse.de>
2902 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
2903 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2905 2000-06-17 Ulrich Drepper <drepper@redhat.com>
2907 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
2909 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2911 * locale/programs/ld-ctype.c (ctype_output): Really write out
2912 mboutdigits information.
2913 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
2914 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
2915 * localedata/tests/trans.def: Add outdigit information.
2917 * localedata/tst-mbswcs3.c: Remove comment.
2919 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
2920 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
2921 * libio/tst_wprintf.c (main): Add test for I flag.
2923 * iconv/gconv_trans.c: Implement handling if translit_ignore.
2924 * locale/langinfo.h: Add entries for translit_ignore information.
2925 * locale/categories.def: Add entries for new LC_CTYPE elements.
2926 * locale/C-ctype.c: Add initializers for new fields. Use NULL
2927 pointer instead of "" where possible.
2928 * locale/programs/ld-ctype.c: Write out translit_ignore information.
2929 * intl/Depend: Add localedata.
2930 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
2931 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
2933 2000-06-16 Ulrich Drepper <drepper@redhat.com>
2935 * locale/langinfo.h: Add entries for default_missing information.
2936 * locale/C-ctype.c: Add initializers for new fields.
2937 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
2939 * locale/categories.h: Add entries for all LC_CTYPE values.
2940 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
2943 * localedata/tst-trans.c: Write out an error message if class is
2946 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
2947 * iconv/gconv_open.c: Remove error handling specification from `from'
2949 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
2950 new parameter to always enable transliteration.
2951 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
2953 (struct locale_data): Add new members use_translit and options.
2954 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
2955 character set name contained modifier TRANSLIT.
2956 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
2958 (_nl_unload_locale): Free options string if necessary.
2959 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
2960 the locale names suggested this.
2961 * locale/C-address.c: Add two new initialilzers to adjust data
2962 structure for new format.
2963 * locale/C-collate.c: Likewise.
2964 * locale/C-ctype.c: Likewise.
2965 * locale/C-identification.c: Likewise.
2966 * locale/C-measurement.c: Likewise.
2967 * locale/C-messages.c: Likewise.
2968 * locale/C-monetary.c: Likewise.
2969 * locale/C-name.c: Likewise.
2970 * locale/C-numeric.c: Likewise.
2971 * locale/C-paper.c: Likewise.
2972 * locale/C-telephone.c: Likewise.
2973 * locale/C-time.c: Likewise.
2975 * locale/setlocale.c: Add some more __builtin_expect.
2977 2000-06-15 Ulrich Drepper <drepper@redhat.com>
2979 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
2981 (__gconv_init_fct): Remove two parameters.
2982 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
2983 gconv_transliterate. Remove two parameters.
2984 Change prototypes of builtin functions according to __gconv_fct change.
2985 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
2986 != NULL only during error handling. Stop in this case after the
2988 * iconv/gconv_trans.c: Replace with real implementation for
2989 __gconv_transliterate.
2990 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
2991 * iconv/gconv.c: Change calls to downstream functions once again.
2992 Use NULL for the fifth parameter instead of pointer to output buffer.
2993 * libio/iofwide.c: Likewise.
2994 * wcsmbs/btowc.c: Likewise.
2995 * wcsmbs/mbrtowc.c: Likewise.
2996 * wcsmbs/mbsnrtowcs.c: Likewise.
2997 * wcsmbs/mbsrtowcs.c: Likewise.
2998 * wcsmbs/wcrtomb.c: Likewise.
2999 * wcsmbs/wcsnrtombs.c: Likewise.
3000 * wcsmbs/wcsrtombs.c: Likewise.
3001 * wcsmbs/wctob.c: Likewise.
3002 * iconv/gconv_simple.c: Remove two parameters from error handling
3004 * iconvdata/8bit-gap.c: Likewise.
3005 * iconvdata/8bit-generic.c: Likewise.
3006 * iconvdata/ansi_x3.110.c: Likewise.
3007 * iconvdata/big5.c: Likewise.
3008 * iconvdata/big5hkscs.c: Likewise.
3009 * iconvdata/euc-cn.c: Likewise.
3010 * iconvdata/euc-jp.c: Likewise.
3011 * iconvdata/euc-kr.c: Likewise.
3012 * iconvdata/euc-tw.c: Likewise.
3013 * iconvdata/gbgbk.c: Likewise.
3014 * iconvdata/gbk.c: Likewise.
3015 * iconvdata/iso-2022-cn.c: Likewise.
3016 * iconvdata/iso-2022-jp.c: Likewise.
3017 * iconvdata/iso-2022-kr.c: Likewise.
3018 * iconvdata/iso646.c: Likewise.
3019 * iconvdata/iso8859-1.c: Likewise.
3020 * iconvdata/iso_6937-2.c: Likewise.
3021 * iconvdata/iso_6937.c: Likewise.
3022 * iconvdata/johab.c: Likewise.
3023 * iconvdata/sjis.c: Likewise.
3024 * iconvdata/t.61.c: Likewise.
3025 * iconvdata/uhc.c: Likewise.
3026 * iconvdata/unicode.c: Likewise.
3027 * iconvdata/utf-16.c: Likewise.
3029 2000-06-15 Greg McGary <greg@mcgary.org>
3031 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
3032 of callnum assignment. Tolerate callnum expressions containing
3035 2000-06-14 Ulrich Drepper <drepper@redhat.com>
3037 * login/Makefile (utmpd): Remove rule to build utmpd.
3039 * csu/Versions: Move libgcc frame handling functions from here...
3040 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
3041 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
3042 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
3043 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
3044 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
3045 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
3047 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
3049 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
3051 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
3053 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3055 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
3057 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
3058 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
3059 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
3060 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
3062 2000-06-14 Jakub Jelinek <jakub@redhat.com>
3064 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
3065 defined, terminate quotes and read them after the comment char.
3066 * configure.in (HAVE_SECTION_QUOTES): Test whether
3067 __attribute__((section ("x"))) puts quotes around x or not.
3068 * config.h.in (HAVE_SECTION_QUOTES): Add.
3069 * configure: Rebuilt.
3071 2000-06-14 Andreas Jaeger <aj@suse.de>
3073 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
3074 depending on the configure option --sysconfdir.
3075 Closes PR libc/1762.
3076 Patch by Andreas Schwab <schwab@suse.de>.
3078 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
3080 Reported by Jim Pick <jim@jimpick.com>.
3082 2000-06-14 Ulrich Drepper <drepper@redhat.com>
3084 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
3085 crashing the application. Emit some simple error message.
3086 Reported by mju@panasas.com [PR libc/1769].
3088 2000-06-13 Ulrich Drepper <drepper@redhat.com>
3090 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
3092 * crypt/Makefile (distribute): Add md5.h.
3094 * Makefile (distribute): Add include/shlib-compat.h.
3096 * Make-dist: Search for tests also in sysdeps hierachy.
3098 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
3099 ufc.c, speeds.c, README.ufc-crypt, and Banner.
3101 * sysdeps/sparc/Subdirs: New file.
3103 * locale/Makefile (distribute): Add weightwc.h and
3104 programs/localedef.h.
3106 * time/Makefile (distribute): Add datemsk.
3108 * sysdeps/ia64/Dist: Add softpipe.h.
3110 * sysdeps/unix/sysv/aix/Dist: New file.
3112 * posix/setpgrp.c: Moved to...
3113 * sysdeps/generic/setpgrp.c: ...here. New file.
3114 * io/mknod.c: Moved to...
3115 * sysdeps/generic/mknod.c: ...here. New file.
3117 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
3119 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
3121 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
3123 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
3124 gprsave0.S, gprrest1.S, and gprrest0.S.
3126 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
3128 * posix/Makefile (routines): Add spawnattr_getsigmask,
3129 spawnattr_getschedpolicy, spawnattr_getschedparam,
3130 spawnattr_setsigmask, spawnattr_setschedpolicy, and
3131 spawnattr_setschedparam.
3132 * posix/Versions: Add posix_spawnattr_getschedpolicy,
3133 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
3134 posix_spawnattr_setschedparam.
3136 * posix/spawnattr_setschedparam.c: Fix typo.
3138 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
3141 * login/programs/utmpd.c: Removed.
3142 * login/programs/utmpd.h: Removed.
3143 * login/programs/utmpd-private.h: Removed.
3145 * Makefile (distribute): Add include/db_185.h and include/db.h.
3147 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
3150 * elf/Makefile (distribute): Add missing files.
3152 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
3153 * elf/eval.c: Moved to...
3154 * dlfcn/eval.c: ...here. New file.
3156 * Makefile (distribute): Also distribute ChangeLog.1?.
3158 * Make-dist (+tsrcs): Remove .args handling here as well.
3160 * rt/Makefile (tests): Add tst-timer.
3161 * sysdeps/generic/tst-timer.c: New file.
3163 * Makerules (sources): Don't add BP sources here.
3165 * login/Makefile (distribute): Remove xtmp.h.
3167 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
3168 is true. Reported by Bruno Haible <haible@ilog.fr>.
3170 2000-06-13 Andreas Jaeger <aj@suse.de>
3172 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
3173 Patch by Ralf Baechle <ralf@gnu.org>.
3175 2000-06-13 Ulrich Drepper <drepper@redhat.com>
3177 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
3178 for mincore syscall.
3180 * misc/sys/cdefs.h: Define __bounded and __unbounded if
3181 __BOUNDED_POINTERS__ is not defined.
3183 2000-06-07 Greg McGary <greg@mcgary.org>
3185 * sysdeps/generic/bp-sym.h: New file.
3186 * sysdeps/generic/bp-start.h: New file.
3187 * sysdeps/i386/elf/start.S: Designate BP symbols.
3188 * sysdeps/generic/libc-start.c: Wrap bounds around
3189 argv & envp and each of their string members.
3191 2000-06-07 Greg McGary <greg@mcgary.org>
3193 * sysdeps/unix/make-syscalls.sh: Add comments to
3194 output that aid debugging & comprehension.
3195 Map simple syscall signatures to number of args.
3196 Generate BP syscall thunk definitions.
3197 * sysdeps/generic/bp-thunks.h: New file.
3198 * sysdeps/unix/syscalls.list: Replace arg-count with
3199 simple return+arg signature.
3200 * sysdeps/unix/common/syscalls.list: Likewise.
3201 * sysdeps/unix/inet/syscalls.list: Likewise.
3202 * sysdeps/unix/mman/syscalls.list: Likewise.
3203 * sysdeps/unix/sysv/syscalls.list: Likewise.
3204 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3205 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3207 2000-06-07 Greg McGary <greg@mcgary.org>
3209 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
3210 for all files *.[cS].
3211 (CFLAGS-.ob): Don't optimize sibling calls.
3212 (bppfx): New variable.
3213 * Makerules (elide-bp-thunks): New variable.
3214 (elide-routines.*): Elide BP-* files for all but *.ob.
3215 (sources): Include bp-thunks.
3217 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3219 * iconv/gconv_simple.c: Remove unnecessary prototype.
3221 * iconv/gconv_trans.c: Pretty print.
3223 * elf/elf.h (R_SH_NUM): Got accidently dropped.
3225 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
3226 minimal kernel versions. Add information about IA-64 kernel.
3228 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
3229 specific minimal supported kernel versions to be specified.
3231 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
3232 step data structure.
3233 * wcsmbs/btowc.c: Likewise.
3234 * wcsmbs/mbrtowc.c: Likewise.
3235 * wcsmbs/mbsnrtowcs.c: Likewise.
3236 * wcsmbs/mbsrtowcs.c: Likewise.
3237 * wcsmbs/wcrtomb.c: Likewise.
3238 * wcsmbs/wcsnrtombs.c: Likewise.
3239 * wcsmbs/wcsrtombs.c: Likewise.
3240 * wcsmbs/wctob.c: Likewise.
3242 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
3243 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
3245 * shlib-versions: Earliest backward compatible version for SH is 2.2.
3247 * misc/sys/cdefs.h: Remove one more __P.
3249 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
3252 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
3253 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
3254 * sysdeps/sh/bits/setjmp.h: ...here. New file.
3256 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3257 Yutaka Niibe <gniibe@chroot.org>
3259 * configure.in: Add machine sh3, sh4.
3260 * elf/elf.h: Add SH specific declarations of relocations.
3261 * shlib-versions: Add sh*-*-linux* cases.
3263 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3265 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
3266 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
3267 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
3268 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
3269 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
3270 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
3272 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
3273 instead of KERNEL_MATH_EMULATION.
3274 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
3275 KERNEL_MATH_EMULATION.
3277 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
3278 * sysdeps/sh/sh3/dl-machine.h: Moved to...
3279 * sysdeps/sh/dl-machine.h: ...here. New file.
3280 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
3281 and include generic SH version.
3282 * sysdeps/sh/sh3/bits/endian.h: Move to...
3283 * sysdeps/sh/bits/endian.h: ...here. New file.
3284 * sysdeps/sh/sh4/bits/endian.h: Removed.
3285 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
3286 * sysdeps/sh/bits/huge_val.h: ...here. New file.
3287 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
3289 * include/libc-symbols.h (link_warning): Work around a change in
3290 GAS which warns about changing section attributes.
3291 Proposed by Nick Clifton <nickc@redhat.com>.
3293 2000-06-12 H.J. Lu <hjl@gnu.org>
3295 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
3297 2000-06-11 H.J. Lu <hjl@gnu.org>
3299 * sysdeps/i386/fpu/Versions: New file.
3301 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3303 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
3305 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
3308 2000-06-12 Jes Sorensen <jes@linuxcare.com>
3310 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
3311 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
3312 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
3314 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
3315 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
3316 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
3318 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
3319 Yutaka Niibe <gniibe@chroot.org>
3321 * sysdeps/sh/Dist: New file.
3322 * sysdeps/sh/Implies: New file.
3323 * sysdeps/sh/elf/initfini.c: New file.
3324 * sysdeps/sh/gmp-mparam.h: New file.
3325 * sysdeps/sh/init-first.c: New file.
3326 * sysdeps/sh/machine-gmon.h: New file.
3327 * sysdeps/sh/memcpy.S: New file.
3328 * sysdeps/sh/memprof.h: New file.
3329 * sysdeps/sh/memset.S: New file.
3330 * sysdeps/sh/sh3/__longjmp.S: New file.
3331 * sysdeps/sh/sh3/bits/endian.h: New file.
3332 * sysdeps/sh/sh3/bits/huge_val.h: New file.
3333 * sysdeps/sh/sh3/bits/setjmp.h: New file.
3334 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
3335 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
3336 * sysdeps/sh/sh3/dl-machine.h: New file.
3337 * sysdeps/sh/sh3/setjmp.S: New file.
3338 * sysdeps/sh/sh4/__longjmp.S: New file.
3339 * sysdeps/sh/sh4/bits/endian.h: New file.
3340 * sysdeps/sh/sh4/bits/huge_val.h: New file.
3341 * sysdeps/sh/sh4/bits/setjmp.h: New file.
3342 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
3343 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
3344 * sysdeps/sh/sh4/dl-machine.h: New file.
3345 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
3346 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
3347 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
3348 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
3349 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
3350 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
3351 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
3352 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
3353 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
3354 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
3355 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
3356 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
3357 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
3358 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
3359 * sysdeps/sh/sh4/setjmp.S: New file.
3360 * sysdeps/sh/elf/start.S: New file.
3361 * sysdeps/sh/sys/ucontext.h: New file.
3362 * sysdeps/sh/strlen.S: New file.
3363 * sysdeps/sh/sysdep.h: New file.
3364 * sysdeps/unix/sh/sysdep.S: New file.
3365 * sysdeps/unix/sh/sysdep.h: New file.
3366 * sysdeps/unix/sysv/linux/sh/Dist: New file.
3367 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
3368 * sysdeps/unix/sysv/linux/sh/Versions: New file.
3369 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
3370 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
3371 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
3372 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
3373 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
3374 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
3375 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
3376 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
3377 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
3378 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
3379 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
3380 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
3381 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
3382 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
3383 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
3384 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
3385 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
3386 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
3387 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
3388 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
3389 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
3390 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
3391 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
3392 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
3393 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
3394 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
3395 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
3396 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
3397 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
3398 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
3399 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
3400 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
3401 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
3402 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
3403 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
3404 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
3405 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
3406 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
3407 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
3408 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
3409 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3410 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
3411 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
3412 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
3413 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
3414 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
3415 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
3417 2000-06-12 Ulrich Drepper <drepper@redhat.com>
3419 * Rules (%.out): Define GCONV_PATH in the environment.
3420 * assert/Depend: New file.
3421 * iconvdata/Depend: New file.
3422 * intl/Depend: New file.
3423 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
3424 * intl/tst-gettext.sh: Likewise.
3425 * iconv/Makefile (routines): Add gconv_trans.
3426 * iconv/gconv_trans.c: New file.
3427 * iconv/gconv.h (struct __gconv_trans_data): New type.
3428 (__gconv_fct): New parameter with starting position in output buffer.
3429 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
3430 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
3431 (struct __gconv_step): Add new member __trans.
3432 * iconv/gconv_int.h: Pretty print prototypes.
3433 (gconv_transliterate): New prototype.
3434 (__BUILTIN_TRANS): Update for new conversion function interface.
3435 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
3436 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
3437 in names, find appropriate function, and install in the conversion
3438 steps it can be used.
3439 * iconv/skeleton.c: Add additional parameter for beginning of output
3440 buffer. Change calls of downstream functions.
3441 * iconv/loop.c: Change loop function interface completely. Pass in
3442 step and step_data structure. Remove optimization for BODY with
3443 NEED_LENGTH_TEST == 0.
3444 * iconv/gconv_simple.c: Update interfaces of functions. Insert
3445 appropriate error handling code to use transliteration steps. Remove
3446 optimization for BODY with NEED_LENGTH_TEST == 0.
3447 * iconvdata/8bit-gap.c: Likewise.
3448 * iconvdata/8bit-generic.c: Likewise.
3449 * iconvdata/ansi_x3.110.c: Likewise.
3450 * iconvdata/big5.c: Likewise.
3451 * iconvdata/big5hkscs.c: Likewise.
3452 * iconvdata/euc-cn.c: Likewise.
3453 * iconvdata/euc-jp.c: Likewise.
3454 * iconvdata/euc-kr.c: Likewise.
3455 * iconvdata/euc-tw.c: Likewise.
3456 * iconvdata/gbgbk.c: Likewise.
3457 * iconvdata/gbk.c: Likewise.
3458 * iconvdata/iso-2022-cn.c: Likewise.
3459 * iconvdata/iso-2022-jp.c: Likewise.
3460 * iconvdata/iso-2022-kr.c: Likewise.
3461 * iconvdata/iso646.c: Likewise.
3462 * iconvdata/iso8859-1.c: Likewise.
3463 * iconvdata/iso_6937-2.c: Likewise.
3464 * iconvdata/iso_6937.c: Likewise.
3465 * iconvdata/johab.c: Likewise.
3466 * iconvdata/sjis.c: Likewise.
3467 * iconvdata/t.61.c: Likewise.
3468 * iconvdata/uhc.c: Likewise.
3469 * iconvdata/unicode.c: Likewise.
3470 * iconvdata/utf-16.c: Likewise.
3471 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
3473 * wcsmbs/btowc.c: Likewise.
3474 * wcsmbs/mbrtowc.c: Likewise.
3475 * wcsmbs/mbsnrtowcs.c: Likewise.
3476 * wcsmbs/mbsrtowcs.c: Likewise.
3477 * wcsmbs/wcrtomb.c: Likewise.
3478 * wcsmbs/wcsnrtombs.c: Likewise.
3479 * wcsmbs/wcsrtombs.c: Likewise.
3480 * wcsmbs/wctob.c: Likewise.
3482 2000-04-11 Geoff Keating <geoffk@cygnus.com>
3484 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
3485 other header files. Mention about 128-byte cache line sizes.
3486 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
3487 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
3488 for current calling sequence.
3489 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
3491 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
3492 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3494 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
3495 and setrlimit syscalls for backwards compatibility.
3497 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3499 * iconv/skeleton.c: Rename converted written to correcter name
3501 * iconv/gconv.c: Rename converted variable to correcter name
3503 * iconv/gconv_int.h: Likewise.
3504 * iconv/gconv_simple.c: Likewise.
3505 * iconv/iconv.c: Likewise.
3506 * iconv/loop.c: Likewise.
3507 * iconvdata/8bit-gap.c: Likewise.
3508 * iconvdata/8bit-generic.c: Likewise.
3509 * iconvdata/ansi_x3.110.c: Likewise.
3510 * iconvdata/big5.c: Likewise.
3511 * iconvdata/big5hkscs.c: Likewise.
3512 * iconvdata/euc-cn.c: Likewise.
3513 * iconvdata/euc-jp.c: Likewise.
3514 * iconvdata/euc-kr.c: Likewise.
3515 * iconvdata/gbgbk.c: Likewise.
3516 * iconvdata/gbk.c: Likewise.
3517 * iconvdata/iso-2022-cn.c: Likewise.
3518 * iconvdata/iso-2022-jp.c: Likewise.
3519 * iconvdata/iso-2022-kr.c: Likewise.
3520 * iconvdata/iso646.c: Likewise.
3521 * iconvdata/iso8859-1.c: Likewise.
3522 * iconvdata/iso_6937-2.c: Likewise.
3523 * iconvdata/iso_6937.c: Likewise.
3524 * iconvdata/johab.c: Likewise.
3525 * iconvdata/sjis.c: Likewise.
3526 * iconvdata/t.61.c: Likewise.
3527 * iconvdata/uhc.c: Likewise.
3528 * iconvdata/unicode.c: Likewise.
3529 * iconvdata/utf-16.c: Likewise.
3531 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
3532 __cmsg_data field with __extension__.
3534 2000-06-10 David Mosberger <davidm@hpl.hp.com>
3536 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
3538 2000-06-10 Ulrich Drepper <drepper@redhat.com>
3540 * iconv/gconv_simple.c: Fix various small bugs in several
3543 * iconv/loop.c: Fix comment.
3545 2000-06-10 Jakub Jelinek <jakub@redhat.com>
3547 * elf/link.h: Remove libc internal declarations.
3548 * include/link.h: Move them here.
3550 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3552 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
3553 Patch by Dan Pop <Dan.Pop@cern.ch>.
3555 Rewrite error message handling.
3556 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
3558 * elf/dl-error (struct catch): Add objname member.
3559 (_dl_signal_error): Take new parameter with object name. When
3560 passing message on simply store object name and duplicate error
3562 (_dl_catch_error): Take new parameter. Store object name in the
3564 * include/dlfcn.h: Adjust _dl_catch_error prototype.
3565 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
3566 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
3567 (dlerror): Add objname to asprintf() parameters.
3568 (_dl_error_run): Pass new parameter to _dl_catch_error.
3569 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
3570 * elf/dl-open.c (_dl_open): Likewise.
3571 * elf/rtld.c (dl_main): Likewise.
3572 * elf/dl-close.c: Mark error messages with N_().
3573 * elf/dl-deps.c: Likewise.
3574 * elf/dl-error.c: Likewise.
3575 * elf/dl-load.c: Likewise.
3576 * elf/dl-open.c: Likewise.
3577 * elf/dl-reloc.c: Likewise.
3578 * elf/dl-support.c: Likewise.
3579 * elf/dl-sym.c: Likewise.
3580 * elf/dl-version.c: Likewise.
3581 * elf/dl-lookup.c: Add comments about problems with error message
3583 * elf/dl-reloc.c: Likewise.
3584 * elf/dl-version.c: Likewise.
3586 2000-06-09 H.J. Lu <hjl@gnu.org>
3588 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
3591 * dlfcn/Makefile (distribute): Add failtestmod.c.
3592 (tests): Add failtest.
3593 Add rules to build and run failtest.
3594 * dlfcn/failtest.c: New file.
3595 * dlfcn/failtestmod.c: New file.
3597 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
3599 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
3600 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
3601 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
3602 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
3603 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
3605 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3607 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
3608 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
3610 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3611 Ulrich Drepper <drepper@redhat.com>
3613 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
3614 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
3615 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
3616 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
3617 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
3618 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
3620 2000-06-09 Ulrich Drepper <drepper@redhat.com>
3622 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
3623 to find correct mount point despite wrong information from the
3626 2000-06-09 Jes Sorensen <jes@linuxcare.com>
3628 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
3629 the address of a symbol so function pointers are handled properly.
3631 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3633 * sysdeps/i386/Dist: Add bp-asm.h.
3635 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
3636 defaultdir variable instead of "/var/shm" everywhere.
3637 (defaultdir): Change to /dev/shm/.
3639 2000-06-08 Greg McGary <greg@mcgary.org>
3641 * sysdeps/i386/bp-asm.h: New file.
3642 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
3643 offsets. Add ENTER/LEAVE macros for optionally maintaining
3644 frame-pointer chain when debugging.
3645 * sysdeps/i386/add_n.S: Likewise.
3646 * sysdeps/i386/addmul_1.S: Likewise.
3647 * sysdeps/i386/lshift.S: Likewise.
3648 * sysdeps/i386/memchr.S: Likewise.
3649 * sysdeps/i386/memcmp.S: Likewise.
3650 * sysdeps/i386/mul_1.S: Likewise.
3651 * sysdeps/i386/rawmemchr.S: Likewise.
3652 * sysdeps/i386/rshift.S: Likewise.
3653 * sysdeps/i386/stpcpy.S: Likewise.
3654 * sysdeps/i386/stpncpy.S: Likewise.
3655 * sysdeps/i386/strchr.S: Likewise.
3656 * sysdeps/i386/strchrnul.S: Likewise.
3657 * sysdeps/i386/strcspn.S: Likewise.
3658 * sysdeps/i386/strpbrk.S: Likewise.
3659 * sysdeps/i386/strrchr.S: Likewise.
3660 * sysdeps/i386/strspn.S: Likewise.
3661 * sysdeps/i386/strtok.S: Likewise.
3662 * sysdeps/i386/sub_n.S: Likewise.
3663 * sysdeps/i386/submul_1.S: Likewise.
3664 * sysdeps/i386/elf/setjmp.S: Likewise.
3665 * sysdeps/i386/i486/strcat.S: Likewise.
3666 * sysdeps/i386/i486/strlen.S: Likewise.
3667 * sysdeps/i386/i586/add_n.S: Likewise.
3668 * sysdeps/i386/i586/lshift.S: Likewise.
3669 * sysdeps/i386/i586/memcpy.S: Likewise.
3670 * sysdeps/i386/i586/memset.S: Likewise.
3671 * sysdeps/i386/i586/rshift.S: Likewise.
3672 * sysdeps/i386/i586/strchr.S: Likewise.
3673 * sysdeps/i386/i586/strcpy.S: Likewise.
3674 * sysdeps/i386/i586/strlen.S: Likewise.
3675 * sysdeps/i386/i586/sub_n.S: Likewise.
3676 * sysdeps/i386/i686/add_n.S: Likewise.
3677 * sysdeps/i386/i686/memcpy.S: Likewise.
3678 * sysdeps/i386/i686/mempcpy.S: Likewise.
3679 * sysdeps/i386/i686/memset.S: Likewise.
3680 * sysdeps/i386/i686/strcmp.S: Likewise.
3682 2000-06-08 Ulrich Drepper <drepper@redhat.com>
3684 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
3686 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
3687 256 and don't use OPEN_MAX.
3689 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
3690 use it instead of LINK_MAX.
3691 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
3693 2000-06-08 Andreas Jaeger <aj@suse.de>
3695 * libio/genops.c (_IO_list_lock): Only compile body if we're
3697 (_IO_list_unlock): Likewise.
3698 (_IO_list_resetlock): Likewise.
3700 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3702 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
3703 unless user defined it.
3705 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
3706 if not defined by the user.
3708 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
3709 * libio/iofwrite.c (_IO_fwrite): Likewise.
3711 * time/time.h: Add missing __THROW for clock_getcpuclockid
3714 * elf/Makefile (distribute): Add dl-dtprocnum.h.
3715 * include/elf.h: Include also <dl-dtprocnum.h>.
3716 * elf/dl-deps.c: Likewise.
3717 * elf/dl-lookup.c: Likewise.
3718 * elf/dl-runtime.c: Likewise.
3719 * elf/dl-version.c: Likewise.
3720 * elf/do-rel.h: Likewise.
3721 * elf/dynamic-link.h: Likewise.
3722 * elf/link.h: Likewise.
3723 * elf/rtld.c: Likewise.
3724 * sysdeps/generic/dl-dtprocnum.h: New file.
3725 * sysdeps/ia64/dl-dtprocnum.h: New file.
3726 * sysdeps/mips/dl-dtprocnum.h: New file.
3727 * sysdeps/sparc/dl-dtprocnum.h: New file.
3729 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
3731 * elf/do-lookup.h: Add some __builtin_expect.
3733 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
3735 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
3736 (_dl_dynamic_weak): New variable.
3737 * elf/dl-support.c: Likewise.
3738 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
3739 * elf/do-lookup.h: If we find a weak definition treat it like a
3740 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
3741 case treat it like before.
3743 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
3745 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
3747 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
3748 using l_map_start and l_map_end.
3750 * elf/dl-version.c: Add __builtin_expect in many places.
3752 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
3755 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
3757 Lock for stdio stream list becomes global, for use in LinuxThreads.
3759 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
3760 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
3761 _IO_list_resetlock): New interface for iterating global list of
3762 streams without accessing the _IO_list_all global variable,
3763 and for manipulating the lock which protects this list.
3764 * libio/libioP.h: Likewise.
3765 * libio/Version: Add entries for the new functions.
3767 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
3768 pointer to _IO_FILE.
3770 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3772 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
3773 BIT() must actually be BITw().
3775 * locale/programs/ld-ctype.c: Handle SP and space consistently.
3777 * locale/programs/charmap.c: Allow string arguments for
3778 code_set_name and repertoiremap.
3780 2000-06-07 Andreas Jaeger <aj@suse.de>
3782 * elf/Makefile: Build ldconfig only when building shared libraries.
3784 2000-06-07 Jakub Jelinek <jakub@redhat.com>
3786 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
3788 (fdimf, __fdim, fdim): Likewise.
3790 2000-06-07 Ulrich Drepper <drepper@redhat.com>
3792 * locale/findlocale.c: Add __builtin_expect in many places.
3793 * locale/loadlocale.c: Likewise.
3795 2000-06-06 Greg McGary <greg@mcgary.org>
3797 * sysdeps/mips/elf/start.S: Trim redundant code.
3799 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
3800 Use C comments throughout. Line up operands column with tabs.
3801 * sysdeps/powerpc/strchr.S: Likewise.
3802 * sysdeps/powerpc/strcmp.S: Likewise.
3803 * sysdeps/powerpc/strcpy.S: Likewise.
3804 * sysdeps/powerpc/strlen.S: Likewise.
3806 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
3807 Get low part of &__curbrk with @l.
3809 2000-06-06 Ulrich Drepper <drepper@redhat.com>
3811 * iconvdata/utf-16.c: Add __builtin_expect in many places.
3812 * iconvdata/unicode.c: Likewise.
3813 * iconvdata/uhc.c: Likewise.
3814 * iconvdata/t.61.c: Likewise.
3815 * iconvdata/sjis.c: Likewise.
3816 * iconvdata/johab.c: Likewise.
3817 * iconvdata/iso_6937.c: Likewise.
3818 * iconvdata/iso_6937-2.c: Likewise.
3819 * iconvdata/iso8859-1.c: Likewise.
3820 * iconvdata/iso646.c: Likewise.
3821 * iconvdata/iso-2022-kr.c: Likewise.
3822 * iconvdata/iso-2022-jp.c: Likewise.
3823 * iconvdata/iso-2022-cn.c: Likewise.
3824 * iconvdata/gbgbk.c: Likewise.
3825 * iconvdata/gbk.c: Likewise.
3826 * iconvdata/euc-kr.c: Likewise.
3827 * iconvdata/euc-jp.c: Likewise.
3828 * iconvdata/euc-cn.c: Likewise.
3830 2000-06-05 Ulrich Drepper <drepper@redhat.com>
3832 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
3833 * iconvdata/big5.c: Likewise.
3834 * iconvdata/ansi_x3.110.c: Likewise.
3835 * iconvdata/8bit-generic.c: Likewise.
3836 * iconvdata/8bit-gap.c: Likewise.
3837 * iconv/loop.c: Likewise.
3838 * iconv/gconv_db.c: Likewise.
3839 * iconv/gconv_dl.c: Likewise.
3840 * iconv/gconv_simple.c: Likewise.
3841 * iconv/skeleton.c: Likewise.
3843 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
3844 (struct __gconv_step_data): Rename __is_last to __flags.
3845 * iconv/gconv_close.c: Change all uses of __is_last.
3846 * iconv/skeleton.c: Likewise.
3847 * iconvdata/iso-2022-cn.c: Likewise.
3848 * iconvdata/iso-2022-jp.c: Likewise.
3849 * iconvdata/iso-2022-kr.c: Likewise.
3850 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
3851 Recognize IGNORE error handling, set flag, and remove from name.
3852 * iconv/loop.c (ignore_errors_p): Define.
3853 Add flags parameter to both functions.
3854 * iconv/skeleton.c: Pass flags to all conversion functions.
3855 * iconv/gconv_simple.c: Add flags parameter to all functions.
3856 Don't return error for invald error if ignore flag is set.
3857 (ucs4_internal_loop_single): Add missing pointer increment.
3858 (internal_ucs4le_loop_single): Likewise.
3859 * iconv/iconv_prog.c: Implement handling of -c parameter.
3860 * iconvdata/8bit-gap.c: Don't return error for invald error if
3862 * iconvdata/8bit-generic.c: Likewise.
3863 * iconvdata/ansi_x3.110.c: Likewise.
3864 * iconvdata/big5.c: Likewise.
3865 * iconvdata/big5hkscs.c: Likewise.
3866 * iconvdata/euc-cn.c: Likewise.
3867 * iconvdata/euc-jp.c: Likewise.
3868 * iconvdata/euc-kr.c: Likewise.
3869 * iconvdata/gbgbk.c: Likewise.
3870 * iconvdata/gbk.c: Likewise.
3871 * iconvdata/iso-2022-cn.c: Likewise.
3872 * iconvdata/iso-2022-jp.c: Likewise.
3873 * iconvdata/iso-2022-kr.c: Likewise.
3874 * iconvdata/iso646.c: Likewise.
3875 * iconvdata/iso8859-1.c: Likewise.
3876 * iconvdata/iso_6937-2.c: Likewise.
3877 * iconvdata/iso_6937.c: Likewise.
3878 * iconvdata/johab.c: Likewise.
3879 * iconvdata/sjis.c: Likewise.
3880 * iconvdata/t.61.c: Likewise.
3881 * iconvdata/uhc.c: Likewise.
3882 * iconvdata/unicode.c: Likewise.
3883 * iconvdata/utf-16.c: Likewise.
3884 * libio/fileops.c: Likewise.
3885 * libio/iofwide.c: Likewise.
3886 * wcsmbs/btowc.c: Likewise.
3887 * wcsmbs/mbrtowc.c: Likewise.
3888 * wcsmbs/mbsnrtowcs.c: Likewise.
3889 * wcsmbs/mbsrtowcs.c: Likewise.
3890 * wcsmbs/wcrtomb.c: Likewise.
3891 * wcsmbs/wcsnrtombs.c: Likewise.
3892 * wcsmbs/wcsrtombs.c: Likewise.
3893 * wcsmbs/wctob.c: Likewise.
3895 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
3898 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3900 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
3901 counter for the object we are releasing, just decrement it.
3902 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
3904 2000-06-04 Jakub Jelinek <jakub@redhat.com>
3906 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
3909 2000-06-04 Ulrich Drepper <drepper@redhat.com>
3911 * iconvdata/big5hkscs.c: New file.
3912 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
3914 * iconvdata/gconv-modules: Add entry for new module.
3915 * iconvdata/Makefile (modules): Add BIG5HKSCS.
3916 (distribute): Add big5hkscs.c.
3918 2000-06-01 Jakub Jelinek <jakub@redhat.com>
3920 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
3921 inlines to match prototypes in mathcalls.h.
3922 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3923 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
3924 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
3925 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3927 2000-06-03 Ulrich Drepper <drepper@redhat.com>
3929 * elf/elf.h (SHT_SUNW_move): Define.
3931 * elf/elf.h: Add more Solaris compatiblity definitions.
3933 2000-06-03 Andreas Jaeger <aj@suse.de>
3935 * sysdeps/powerpc/dl-start.S: Close open comment.
3937 2000-06-03 Jakub Jelinek <jakub@redhat.com>
3939 * inet/Versions: Fix typo in rresvport_af export.
3941 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3943 * math/tgmath.h: Pretty print.
3945 2000-06-02 Andreas Jaeger <aj@suse.de>
3947 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
3948 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3950 2000-06-02 Ulrich Drepper <drepper@redhat.com>
3952 * elf/rtld.c (process_envvars): Test for = after variable name.
3954 2000-06-01 Ulrich Drepper <drepper@redhat.com>
3956 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
3957 have extra call to __gmon_start__, use the pointer we already have.
3959 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
3962 * sysdeps/i386/elf/setjmp.S: Work around change is recent
3963 binutils. gas now emits a jump through the PLT instead of a
3964 relative jump if the jump target is an exported symbol.
3966 2000-05-31 Ulrich Drepper <drepper@redhat.com>
3968 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
3970 2000-05-31 Andreas Jaeger <aj@suse.de>
3972 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
3975 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
3976 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3978 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
3980 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3982 2000-05-30 Ulrich Drepper <drepper@redhat.com>
3984 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
3986 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
3987 * locale/localeconv.c: Make function versioned (with same definition).
3989 * elf/Makefile (modules-names): Strip before using it.
3991 2000-05-30 Andreas Jaeger <aj@suse.de>
3993 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
3994 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
3995 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
3996 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
3997 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
3998 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
4000 2000-05-29 Ulrich Drepper <drepper@redhat.com>
4002 * Makefile: Add GNU make magic.
4004 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
4006 * inet/rcmd.c: Remove __P. Remove unused variables.
4007 (iruserfopen): Make first parameter const.
4008 (ruserok_sa): Return result of ruserok2_sa.
4009 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
4010 * inet/rexec.c: Remove unused variables. Other small cleanups.
4011 * inet/ruserpass.c: Remove __P. Remove unused variables.
4012 (ruserpass): Check results of memory allocation.
4013 * include/netdb.h: Add prototype for ruserpass.
4015 2000-05-29 Andreas Jaeger <aj@suse.de>
4017 * elf/readlib.c (interpreters): Use LD_SO since this is supported
4020 2000-05-29 Jakub Jelinek <jakub@redhat.com>
4022 * inet/rcmd.c (rresvport_af): Use correct port number.
4024 2000-05-26 Andreas Schwab <schwab@suse.de>
4026 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
4027 entries in all-sonames.
4028 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
4029 preserving the old name if different for compatibility.
4031 2000-05-29 Ulrich Drepper <drepper@redhat.com>
4033 * posix/Makefile (tests): Add tst-spawn.
4034 (tst-spawn-ARGS): New variable.
4035 * posix/tst-spawn.c: New file.
4037 * posix/spawn_faction_addclose.c: Correctly account for new entry.
4038 * posix/spawn_faction_adddup2.c: Likewise.
4039 * posix/spawn_faction_addopen.c: Likewise.
4040 * posix/spawni.c: Correctly test for success of dup2 calls.
4042 * posix/tst-preadwrite.c: Check success of malloc call.
4044 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4046 * posix/Makefile (tests): Add tst-exec.
4047 (tst-exec-ARGS): New variable.
4048 * posix/tst-exec.c: New file.
4050 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
4052 2000-05-04 Andreas Jaeger <aj@suse.de>
4054 * string/string.h: Remove __strdup prototype, it's not needed in
4057 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4059 * posix/Makefile (tests): Add tst-fork.
4060 * posix/tst-fork.c: New file.
4062 * resolv/inet_pton.c: Loose __P.
4064 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4066 * libio/libioP.h (_IO_CHECK_WIDE): Define.
4067 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
4068 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4069 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
4070 _IO_CHECK_WIDE fails.
4072 2000-05-28 Ulrich Drepper <drepper@redhat.com>
4074 * po/da.po: New file.
4076 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
4077 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
4079 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
4080 (Other iconv Implementations): Fix typo.
4081 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
4083 2000-05-27 Andreas Jaeger <aj@suse.de>
4085 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
4087 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
4088 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
4089 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4090 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4091 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
4092 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
4094 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
4095 endianness to decide how to pass arguments.
4096 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4098 * elf/vismain.c: Use test-skeleton interface.
4099 (TEST_FUNCTION): New macro.
4100 (do_test): Renamed from main.
4102 2000-05-27 Ulrich Drepper <drepper@redhat.com>
4104 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
4105 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
4107 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
4108 handling of AI_V4MAPPED flag.
4110 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
4111 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
4112 perform lookup for T_A type and tell getanswer_r to convert the
4113 result with new argument.
4114 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
4115 Don't convert addresses from IPv4 to IPv6 here.
4116 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
4117 IPv6 is wanted. Allow qtype and type from reply to disagree if
4118 IPv4 mapping has to be done. Perform mappings if required by the
4119 caller and not if RES_USE_INET6 bit in _res.options is set.
4120 Add several __builtin_expect.
4122 2000-05-26 Ulrich Drepper <drepper@redhat.com>
4124 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
4126 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
4129 * posix/tst-preadwrite.c: Allow parallel execution of
4130 tst-preadwrite and tst-preadwrite64.
4132 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
4133 * posix/tst-truncate.c: New file.
4134 * posix/tst-truncate64.c: New file.
4136 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
4139 * posix/Makefile (tests): Add tst-preadwrite64.
4140 * posix/tst-preadwrite.c: Alloc file being used also for testing
4141 pread64 and pwrite64.
4142 * posix/tst-preadwrite64.c: New file.
4144 2000-05-26 Andreas Jaeger <aj@suse.de>
4146 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
4147 of arguments dependend on endianness.
4148 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4150 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
4152 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4153 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4154 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4155 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4157 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
4158 endianness to check how to pass argument.
4159 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4161 * elf/ldconfig.h: Update parameter list for process_elf_file.
4163 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
4164 Add parameter file_length and pass it ot process_elf*file.
4166 * sysdeps/generic/readelflib.c (check_ptr): New.
4167 (process_elf_file): Use check_ptr to check all accesses to the
4168 mmapped file. Add parameter file_length.
4170 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
4173 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
4174 Closes PR libc/1573, reported by Bradley White
4175 <bww@laurelnetworks.com>.
4177 2000-05-25 Ulrich Drepper <drepper@redhat.com>
4179 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
4180 __FAST_MATH__ is defined.
4182 2000-05-22 Andreas Jaeger <aj@suse.de>
4184 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
4185 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
4187 * manual/math.texi (FP Function Optimizations): Document gcc
4188 -ffast-math behaviour with mathinlines.
4190 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
4191 functions unless -ffast-math is given to gcc.
4193 2000-05-23 Jakub Jelinek <jakub@redhat.com>
4195 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
4196 __sincosl): Guard with __USE_GNU.
4198 2000-05-24 Ulrich Drepper <drepper@redhat.com>
4200 * csu/Makefile (routines): Add check_fds.
4201 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
4202 binaries. Add various __builtin_expect.
4203 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
4204 * sysdeps/generic/check_fds.c: ...here. New file.
4206 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
4207 binaries if file /etc/suid-debug is available.
4209 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
4210 and wcseqorder members.
4211 (struct locale_collate_t): Likewise.
4212 (collate_finish): Assign collation sequence value to each character.
4213 Create tables for output.
4214 (collate_output): Write out tables with collation sequence information.
4215 * locale/C-collate.c: Provide C locale data for collation sequence
4217 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
4218 _NL_COLLATE_COLLSEQWC.
4219 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
4220 _NL_COLLATE_COLLSEQWC.
4221 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
4222 include fnmatch_loop.c.
4223 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
4224 character is matched by range expression. Use collation sequence
4225 table. Outside glibc fall back on simple character value comparison.
4227 2000-05-24 Andreas Jaeger <aj@suse.de>
4229 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
4232 * intl/Makefile: Run gettext-test only if msgfmt is available.
4234 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
4235 Define it for newer kernels.
4237 2000-05-23 Ulrich Drepper <drepper@redhat.com>
4239 * elf/dl-sym.c: Minor cleanups.
4241 * configure.in: Add test for .protected.
4242 * config.make.in: Add have-protected variable.
4243 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
4244 (tests-vis-yes): Add vismain.
4245 (modules-names): Add $(modules-vis-$(have-protected)).
4246 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
4247 Add rules to generate and run vismain.
4248 * elf/vismain.c: New file.
4249 * elf/vismod1.c: New file.
4250 * elf/vismod2.c: New file.
4251 * elf/vismod3.c: New file.
4253 2000-05-23 Andreas Jaeger <aj@suse.de>
4255 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
4257 * manual/search.texi (Array Sort Function): Document that qsort is
4258 not necessarily in-place.
4260 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4261 Closes PR libc/1731.
4263 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
4264 * dirent/scandir64.c: Likewise.
4265 * pwd/getpw.c: Likewise.
4266 * stdlib/bsearch.c (bsearch): Likewise.
4267 * stdlib/tst-strtoll.c: Likewise.
4268 * localedata/collate-test.c: Likewise.
4269 * localedata/xfrm-test.c: Likewise.
4270 * posix/bsd-getpgrp.c: Likewise.
4271 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
4272 * sysdeps/generic/bits/siginfo.h: Likewise.
4273 * sysdeps/generic/bits/sockaddr.h: Likewise.
4274 * sysdeps/generic/sys/swap.h: Likewise.
4275 * sysdeps/generic/sys/sysinfo.h: Likewise.
4276 * sysdeps/generic/vfork.c: Likewise.
4277 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
4278 * sysdeps/mach/hurd/fdopen.c: Likewise.
4279 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
4280 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4281 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4282 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4283 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4284 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4285 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
4287 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
4288 * shadow/lckpwdf.c: Likewise.
4289 * stdlib/tst-strtol.c: Likewise.
4290 * sysdeps/generic/tcsetattr.c: Likewise.
4291 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4292 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4294 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4296 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
4297 free it and set to (void *) -1.
4299 2000-05-22 Jakub Jelinek <jakub@redhat.com>
4301 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
4302 not the second character in the range.
4303 * stdio-common/tstscanf.c (main): Add testcase for the above.
4304 Reported by jik@kamens.brookline.ma.us.
4306 2000-05-21 H.J. Lu <hjl@gnu.org>
4308 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
4309 with noexec and noplt parameter.
4310 (do_lookup): Likewise.
4312 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
4313 do_lookup. Support STV_PROTECTED.
4314 (_dl_lookup_symbol_skip): Likewise.
4315 (_dl_lookup_versioned_symbol): Likewise.
4316 (_dl_lookup_versioned_symbol_skip): Likewise.
4318 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
4320 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
4322 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4324 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
4325 * sysdeps/i386/bits/huge_val.h: Likewise.
4326 * sysdeps/ieee754/bits/huge_val.h: Likewise.
4327 * sysdeps/m68k/bits/huge_val.h: Likewise.
4328 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
4329 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
4331 2000-05-22 Andreas Jaeger <aj@suse.de>
4333 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
4336 2000-05-19 Andreas Jaeger <aj@suse.de>
4338 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
4339 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
4340 breaks compilation without linuxthreads.
4342 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4344 * sysdeps/ia64/memccpy.S: New file.
4345 * sysdeps/ia64/memchr.S: New file.
4346 * sysdeps/ia64/memcmp.S: New file.
4347 * sysdeps/ia64/memcpy.S: New file.
4348 * sysdeps/ia64/memmove.S: New file.
4349 * sysdeps/ia64/memset.S: New file.
4350 * sysdeps/ia64/strcat.S: New file.
4351 * sysdeps/ia64/strchr.S: New file.
4352 * sysdeps/ia64/strcmp.S: New file.
4353 * sysdeps/ia64/strcpy.S: New file.
4354 * sysdeps/ia64/strlen.S: New file.
4355 * sysdeps/ia64/strncmp.S: New file.
4356 * sysdeps/ia64/strncpy.S: New file.
4357 * sysdeps/ia64/softpipe.h: New file.
4358 Patches by Dan Pop <Dan.Pop@cern.ch>.
4360 * manual/memory.texi: Document memory handling functions (mlock,
4361 munlock, mlockall, munlockall, brk, and sbrk)
4362 * manual/time.texi: Document timespec and friends.
4363 * manual/conf.texi: Fix references.
4364 * manual/ctype.texi: Likewise.
4365 * manual/errno.texi: Likewise.
4366 * manual/intro.texi: Likewise.
4367 * manual/locale.texi: Likewise.
4368 * manual/sysinfo.texi: Likewise.
4369 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4371 2000-05-09 Jes Sorensen <jes@linuxcare.com>
4373 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
4374 * sysdeps/ia64/dl-lookupcfg.h: ...here.
4376 2000-05-21 Jakub Jelinek <jakub@redhat.com>
4378 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
4381 2000-05-21 Ulrich Drepper <drepper@redhat.com>
4383 * locale/locale.h (struct lconv): Add new elements from ISO C99.
4384 * locale/localeconv.c: Initialize new elements from ISO C99.
4385 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
4386 new standard elements.
4387 * locale/categories.def: Adjust accordingly.
4389 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
4390 * iconv/iconv.c: Likewise.
4391 * conform/data/iconv.h-data: Likewise.
4392 * iconv/iconv_prog.c (process_block): Remove const from second
4394 (main): Remove const from addr definition.
4395 * manual/charset.texi (Generic Conversion Interface): Remove from
4396 inbuf parameter of iconv.
4398 * intl/dcigettext.c: Fix typo in comment.
4400 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
4402 * resolv/res_libc.c (_res): Initialize _sock to -1.
4404 2000-05-18 Jakub Jelinek <jakub@redhat.com>
4406 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
4407 (fopencookie@@GLIBC_2.2): New.
4408 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
4409 (fopencookie@GLIBC_2.0): New.
4410 * libio/Versions: Add fopencookie to GLIBC_2.2.
4412 2000-05-18 Andreas Jaeger <aj@suse.de>
4414 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
4415 Closes PR libc/1731.
4417 * manual/arith.texi (Parsing of Integers): Fix typo.
4418 Closes PR libc/1744, reported by blp@gnu.org.
4420 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4422 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
4423 __extension__ to hexadecimal floating constant notation.
4424 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4426 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
4427 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
4429 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4430 HUGE_VALL): Likewise.
4431 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
4432 HUGE_VALL): Likewise.
4433 (HUGE_VALL): Set to HUGE_VAL on sparc32.
4435 2000-05-17 Andreas Jaeger <aj@suse.de>
4437 * string/envz.h: Add pure attributes if possible.
4439 * string/argz.h: argz_count is a pure function.
4441 * string/strings.h: Add pure and const attributes if possible.
4443 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
4444 possibly searching through the whole memory.
4445 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
4447 2000-05-17 Jakub Jelinek <jakub@redhat.com>
4449 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
4451 (_dl_cache_check_flags): Likewise.
4452 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
4455 2000-05-17 Andreas Jaeger <aj@suse.de>
4457 * manual/creature.texi (Feature Test Macros): Remove paragraph
4458 since the description is wrong.
4459 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
4461 * scripts/config.sub: New version.
4462 * scripts/config.guess: Likewise.
4463 * manual/texinfo.tex: Likewise.
4465 * time/test_time.args: Removed.
4466 * time/Makefile (test_time-ARGS): Added contents here instead.
4468 * posix/tstgetopt.args: Removed.
4469 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
4471 * Rules: Allow arguments for test files to be specified in
4472 Makefile with testname-ARGS; remove rules with .args in it.
4474 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
4475 remove old bogus rule for opendir-tst1.args.
4477 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
4479 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
4480 into objdir. This allows a readonly sourcetree.
4481 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
4483 2000-05-16 Andreas Jaeger <aj@suse.de>,
4484 David Huggins-Daines <dhd@linuxcare.com>
4486 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
4487 cache_data in case of only new cache format correctly.
4489 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
4492 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
4493 struct cache_file_new.
4495 * elf/cache.c (save_cache): Fix str_offset if only new cache is
4498 * elf/cache.c (save_cache): Align struct new_file_cache.
4499 (print_cache): Likewise.
4501 2000-05-13 Jakub Jelinek <jakub@redhat.com>
4503 * elf/soinit.c (__libc_global_ctors): Move
4504 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
4505 * resolv/resolv.h (__res_state): Added __attribute__((const)).
4506 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
4507 variable, don't define it to __res_state call.
4509 2000-05-13 Andreas Jaeger <aj@suse.de>
4511 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
4513 (AF_PPPOX): Likewise.
4514 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
4515 (AF_PPPOX): Likewise.
4517 2000-05-12 Andreas Jaeger <aj@suse.de>
4519 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
4520 Reported by tmoestl@gmx.net, closes PR libc/1732.
4522 2000-05-11 Jan Hubicka <jh@suse.cz>
4524 * misc/sys/cdefs.h: Add support for pure attribute.
4526 * include/string.h: Add __attribute_pure__ to various functions.
4527 * string/string.h: Likewise.
4529 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4531 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
4533 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4535 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
4537 2000-05-10 Jakub Jelinek <jakub@redhat.com>
4539 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
4540 at proper place. Compute the high nibble correctly.
4542 2000-05-09 Jakub Jelinek <jakub@redhat.com>
4544 * elf/ldconfig.c: Include elf.h.
4546 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
4547 (_dl_vsym): Likewise.
4548 Reported by Owen Taylor <otaylor@redhat.com>.
4550 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
4553 2000-05-08 Andreas Jaeger <aj@suse.de>
4555 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
4557 * intl/bindtextdom.c (set_binding_values): Add prototype.
4559 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4561 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
4562 call to elf_machine_fixup_plt.
4563 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4566 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4568 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
4569 they are not dlclose'd from underneath us.
4571 2000-05-08 Andreas Schwab <schwab@suse.de>
4573 * posix/execle.c: Fix size parameter of memcpy.
4575 2000-05-08 Andreas Schwab <schwab@suse.de>
4577 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
4578 getpagesize syscall if available.
4580 2000-05-08 Andreas Jaeger <aj@suse.de>
4582 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
4585 2000-05-08 Jakub Jelinek <jakub@redhat.com>
4587 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
4588 sizeof(struct link_map *) chunks, not in bytes.
4590 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4592 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
4593 only needed for locale.
4594 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
4595 It's only needed for catgets.
4596 Patches by Greg McGary <gkm@eng.ascend.com>.
4598 2000-05-07 Mark Kettenis <kettenis@gnu.org>
4600 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
4601 Remove duplicate <errno.h> include. Remove inclusion of
4602 <libintl.h> and "nsswitch.h".
4603 (set_cloexec_flag): New function, broken out of dbopen.
4604 (dbopen): Changed return type to `enum
4605 nss_status'. Mostly rewritten to make sure that we do not report
4606 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
4607 (internal_setent): Change return type to nss_status.
4608 Document, and make sure that the function
4609 behaves accordingly. Make dynamically loading the database
4610 library really thread-safe and return NSS_STATUS_UNAVAIL if it
4612 (db_cursor): Return ENOMEM is memory allocation failed. Remove
4614 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
4616 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
4617 c_get function member.
4618 * nss/nss_db/nss_db.h: Add and tweak some comments.
4619 (DBT): Move typedef before NSS_DBC typedef.
4620 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
4622 2000-05-07 H.J. Lu <hjl@gnu.org>
4624 * csu/initfini.c: Moved to ....
4625 * sysdeps/generic/initfini.c: ...here.
4627 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
4629 2000-05-07 Ulrich Drepper <drepper@redhat.com>
4631 * manual/resource.texi: Document POSIX scheduling functions.
4632 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4634 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
4635 reading anything. Reported by Andries.Brouwer@cwi.nl.
4637 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
4638 for x since promotion in comparison might leads to unexpected
4639 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
4641 * iconv/Makefile (tests): Add tst-iconv1.
4642 * iconv/tst-iconv1.c: New file.
4643 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
4644 empty input buffer over full output buffer.
4645 (ucs4_internal_loop): Likewise.
4646 (ucs4_internal_loop_unaligned): Likewise.
4647 (internal_ucs4le_loop): Likewise.
4648 (internal_ucs4le_loop_unaligned): Likewise.
4649 (ucs4le_internal_loop): Likewise.
4650 (ucs4le_internal_loop_unaligned): Likewise.
4651 Reported by yaoz@nih.gov.
4653 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4655 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
4656 returned != __GCONV_OK, there is nothing to clean up.
4658 2000-05-06 Bruno Haible <haible@clisp.cons.org>
4660 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
4661 OUTPUT_CHARSET environment variables.
4663 2000-05-06 Andreas Jaeger <aj@suse.de>
4665 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
4666 (struct cache_file_new): New.
4667 (struct file_entry): New (moved from cache.c).
4668 (struct cache_file): New (moved from cache.c).
4670 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
4671 from _dl_load_cache_lookup.
4672 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
4673 the different cache formats.
4674 New variable cache_new for new format.
4676 * elf/ldconfig.h: Change according to changes in cache.c and
4677 ldconfig.c; remove cache_libcmp; add opt_format.
4679 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
4680 stuff that's defined in those headers.
4681 Add hwcap to struct lib_entry.
4682 (opt_format): New variable to select cache format.
4683 (options): Add format parameter.
4684 (is_hwcap): New function.
4685 (path_hwcap): New function.
4686 (parse_opt): Handle new format parameter.
4687 (search_dir): Handle hwcap, search also subdirectories with hwcap.
4689 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
4690 ldconfig is part of glibc.
4691 Include dl-cache.h and remove stuff that's defined there.
4692 (struct cache_entry): Add new member hwcap.
4693 (print_entry): Print hwcap, cleanup a bit.
4694 (print_cache): Print new and old formats.
4695 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
4696 (save_cache): Save new and old formats.
4697 (add_to_cache): Handle hwcap.
4699 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
4700 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
4701 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
4702 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
4703 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
4704 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
4706 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4708 * intl/dcigettext.c (alignof): New macro.
4709 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
4710 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
4713 2000-05-05 Bruno Haible <haible@clisp.cons.org>
4715 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
4718 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4720 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
4721 (mempcpy): Correct typo is parameter list.
4723 2000-05-06 Andreas Jaeger <aj@suse.de>
4725 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
4726 functions unless -ffast-math is given to gcc.
4728 2000-05-06 Ulrich Drepper <drepper@redhat.com>
4730 * po/ko.po: Update from translation team.
4732 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4734 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
4735 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
4736 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
4737 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
4738 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
4739 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
4741 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
4742 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
4743 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
4745 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
4746 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
4747 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
4748 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
4750 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
4751 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
4753 2000-05-05 Jes Sorensen <jes@linuxcare.com>
4755 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
4756 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
4758 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
4759 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
4761 * sysdeps/ia64/Implies: New file.
4762 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
4763 * sysdeps/ia64/Makefile: New file.
4764 * sysdeps/ia64/gmp-mparam.h: New file,
4766 * sysdeps/ia64/elf/start.S: New file.
4768 * sysdeps/ia64/bits/fenv.h: New file.
4770 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
4772 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
4774 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
4776 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
4777 ia64 has 64 bit .hash entries just as the Alpha.
4779 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
4781 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
4783 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
4785 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
4786 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
4787 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
4788 * sysdeps/ia64/fpu/fegetenv.c: New file.
4789 * sysdeps/ia64/fpu/fegetexcept.c: New file.
4790 * sysdeps/ia64/fpu/fegetround.c: New file.
4791 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
4792 * sysdeps/ia64/fpu/fesetenv.c: New file.
4793 * sysdeps/ia64/fpu/fesetround.c: New file.
4794 * sysdeps/ia64/fpu/feupdateenv.c: New file.
4795 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
4796 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
4797 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
4798 * sysdeps/ia64/fpu/ftestexcept.c: New file.
4800 2000-05-05 Andreas Jaeger <aj@suse.de>
4802 * misc/tst-tsearch.c (main): Correct type for initstate argument.
4804 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4805 (_dl_string_hwcap): New, does nothing.
4807 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
4808 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4809 (_dl_string_hwcap): New function, converts from string to hwcap
4811 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
4812 (_DL_HWCAP_COUNT): New.
4813 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4814 (_dl_string_hwcap): New function, converts from string to hwcap
4816 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
4817 (_DL_HWCAP_COUNT): New.
4818 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
4819 (_dl_string_hwcap): New function, converts from string to hwcap
4822 2000-05-05 Ulrich Drepper <drepper@redhat.com>
4824 * elf/Makefile (distribute): Add dl-lookupcfg.h.
4825 * sysdeps/ia64/Dist: New file.
4827 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
4828 parameter to mprotect and for variable assignments.
4830 2000-05-03 Jes Sorensen <jes@linuxcare.com>
4832 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
4833 validity of map before dereferencing it.
4835 * elf/dl-reloc.c (RESOLVE_MAP): Define.
4837 2000-05-02 Jes Sorensen <jes@linuxcare.com>
4839 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
4840 lookup to the arguments to elf_machine_fixup_plt().
4842 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
4843 of the symbol being resolved to input argument list and make the
4844 function return the pointer to the reloc.
4846 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
4847 return valuie to lookup_t and return the value.
4848 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
4849 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
4850 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
4851 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
4852 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
4853 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
4855 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
4856 Make it an inline function returning value after calling
4857 __elf_machine_fixup_plt().
4859 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
4862 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
4863 obtain the symbol address.
4865 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
4866 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
4868 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
4869 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
4872 2000-04-28 Jes Sorensen <jes@linuxcare.com>
4874 * elf/dl-runtime.c (fixup): Use the portable macros to get the
4875 symbol address of an object.
4877 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
4878 the symbol address of an object.
4880 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
4881 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
4882 (_dl_lookup_symbol_skip): Likewise.
4883 (_dl_lookup_versioned_symbol): Likewise.
4884 (_dl_lookup_versioned_symbol_skip): Likewise.
4886 2000-04-27 Jes Sorensen <jes@linuxcare.com>
4888 * elf/rtld.c (_dl_start): Get the function pointer return address
4889 via _dl_start_address for architectures that need a function
4890 pointer descriptor rather than just a pointer (ia64).
4892 * sysdeps/generic/dl-lookupcfg.h: New file.
4893 * sysdeps/ia64/dl-lookupcfg.h: New file.
4894 * sysdeps/ia64/dl-machine.h: New file.
4895 * sysdeps/ia64/dl-symaddr.c: New file.
4896 * sysdeps/ia64/dl-fptr.c: New file.
4898 * elf/elf.h: Add IA-64 specific definitions.
4900 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4902 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
4905 2000-05-04 Jakub Jelinek <jakub@redhat.com>
4907 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
4910 2000-04-11 Geoff Keating <geoffk@cygnus.com>
4912 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
4913 symbol. Call _dl_init rather than the old way.
4915 2000-05-04 Ulrich Drepper <drepper@redhat.com>
4917 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
4918 test for pointer in range of DSO address space.
4920 2000-05-04 Andreas Jaeger <aj@suse.de>
4922 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
4924 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4926 * locale/findlocale.c (_nl_find_locale): Add new parameter to
4927 calls of _nl_make_l10nflist.
4929 * libio/stdio.h: Make fseeko and ftello prototypes available is
4930 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
4932 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
4933 real unsetenv implementation from 1999-07-29 [PR libc/1714].
4935 2000-05-03 Bruno Haible <haible@clisp.cons.org>
4937 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
4938 before calling tfind.
4940 2000-03-05 Jakub Jelinek <jakub@redhat.com>
4942 * resolv/resolv.h (res_querydomain): Remove redefinition to
4943 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
4945 2000-05-03 Ulrich Drepper <drepper@redhat.com>
4947 * po/gl.po: Update from translation team.
4949 * manual/intro.texi (Program Basics): Change section title.
4950 * manual/process.texi: Fix reference.
4951 (Executing a File): Add reference exec in other section.
4952 * manual/signal.texi: Fix reference.
4953 * manual/startup.texi: Document syscall function.
4954 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4956 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4958 * intl/libintl.h (bind_textdomain_codeset): New declaration.
4959 * intl/bindtextdom.c (set_binding_values): New function.
4960 (bindtextdomain): Call it.
4961 (bind_textdomain_codeset): New function.
4962 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
4963 (free_mem): Free each binding's codeset.
4964 * intl/gettextP.h (struct binding): Add codeset field.
4965 (_nl_find_domain): Add domainbinding argument.
4966 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
4967 Pass it to _nl_make_l10nflist.
4968 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
4969 (_nl_make_l10nflist): Add domainbinding argument.
4970 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
4971 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
4972 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
4974 * manual/message.texi: New node "Charset conversion in gettext".
4976 2000-04-30 Bruno Haible <haible@clisp.cons.org>
4978 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
4979 appropriate. Handle possible __read error.
4981 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4983 * intl/gettextP.h (__builtin_expect): Define as empty if not a
4985 * intl/loadinfo.h (__builtin_expect): Likewise.
4986 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
4987 __builtin_expect where appropriate.
4988 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4989 * intl/localealias.c (extend_alias_table): Return an error indicator.
4990 (read_alias_file): Bail out if extend_alias_table fails.
4992 2000-04-29 Bruno Haible <haible@clisp.cons.org>
4994 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
4995 * intl/localealias.c: Likewise.
4997 2000-05-01 Bruno Haible <haible@clisp.cons.org>
4999 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
5000 Initialize domain->plural and domain->nplurals even if there is no
5003 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5005 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
5006 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
5007 In case of failure, goto converted.
5009 2000-05-01 Bruno Haible <haible@clisp.cons.org>
5011 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
5012 * iconv/gconv_int.h (norm_add_slashes): Move to here.
5013 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
5016 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5018 * intl/dcigettext.c (transcmp): Compare the domains as well.
5019 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
5021 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
5024 2000-05-03 Ulrich Drepper <drepper@redhat.com>
5026 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
5027 Reported by Bruno Haible.
5029 2000-04-29 Bruno Haible <haible@clisp.cons.org>
5031 * manual/arith.texi: Remove @w from @itemize.
5033 2000-05-02 Andreas Jaeger <aj@suse.de>
5035 * conform/data/tar.h-data: Add some checks for specific values.
5037 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
5040 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
5043 * conform/data/netinet/in.h-data: Add exact checks for the values
5044 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
5046 * conform/data/float.h-data: Add some minimal values.
5048 * conform/conformtest.pl: Test for macros with string constants,
5049 check for minimum and maximum values.
5050 Add limits.h to headers.
5052 * conform/data/cpio.h-data: Test for value of MAGIC.
5054 * conform/data/limits.h-data: New file.
5056 2000-04-30 Bruno Haible <haible@clisp.cons.org>
5058 * math/Makefile (headers): Add bits/fenvinline.h.
5060 2000-05-01 Ulrich Drepper <drepper@redhat.com>
5062 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
5063 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
5065 * posix/Versions: Change posix_spawnattr_getdefault and
5066 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
5067 and posix_spawnattr_setsigdefault respectively.
5068 * posix/spawn.h: Likewise.
5069 * posix/spawnattr_getdefault.h: Likewise.
5070 * posix/spawnattr_setdefault.h: Likewise.
5071 * conform/data/spawn.h-data: Likewise.
5073 2000-05-01 Andreas Jaeger <aj@suse.de>
5075 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
5077 2000-04-30 Ulrich Drepper <drepper@redhat.com>
5079 * manual/sysinfo.texi: Document getdomainname, setdomainname
5081 * manual/string.texi: Fix typo.
5082 * manual/terminal.texi: Document gtty and stty.
5083 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5085 2000-04-30 Andreas Jaeger <aj@suse.de>
5087 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
5088 accordance with Austin Draft.
5090 2000-04-30 Ulrich Drepper <drepper@redhat.com>
5092 * catgets/gencat.c (read_input_file): Use isblank and not isspace
5093 to recognize second character in comment line.
5095 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
5096 ENOBUFS if we are out of memory.
5098 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
5099 available if __USE_XOPEN2K.
5100 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5101 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5102 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5103 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5104 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5106 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
5107 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5109 2000-04-29 Ulrich Drepper <drepper@redhat.com>
5111 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
5112 Recognize option -s, -c, and -l.
5114 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
5116 * nscd/nscd.c: Start new session for nscd, drop privilegs
5117 to configured user if requested and no -S parameter are used.
5118 * nscd/nscd.conf: Add new option "server-user".
5119 * nscd/nscd_conf.c: Add support for new "server-user" option.
5120 * nscd/nscd.h: Add declaration for server_user variable.
5121 Based on patch by Chris Wing <wingc@engin.umich.edu>
5123 2000-04-29 Mark Kettenis <kettenis@gnu.org>
5125 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
5126 that changing the __restore and __restore_rt signal return code
5129 2000-04-29 Mark Kettenis <kettenis@gnu.org>
5131 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
5134 2000-04-29 Mark Kettenis <kettenis@gnu.org>
5136 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
5138 2000-04-29 Ulrich Drepper <drepper@redhat.com>
5140 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
5141 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
5143 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
5144 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
5145 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
5146 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
5147 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
5148 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
5149 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
5150 posix_fallocate, and posix_madvise.
5151 * conform/data/netdb.h-data: New file.
5152 * conform/data/pthread.h-data: Add pthread_barrier_t,
5153 pthread_barrierattr_t, pthread_barrier_destroy,
5154 pthread_barrier_init, pthread_barrier_wait,
5155 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
5156 pthread_barrierattr_init, pthread_barrierattr_setpshared,
5157 pthread_condattr_getclock, pthread_condattr_setclock,
5158 pthread_getcpuclockid, pthread_mutex_timedlock,
5159 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
5160 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
5161 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
5162 * conform/data/sched.h-data: Add sched_ss_low_priority,
5163 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
5165 * conform/data/semaphore.h-data: Add sem_timedwait.
5166 * conform/data/signal.h-data: Add SIGIO.
5167 * conform/data/spawn.h-data: New file.
5168 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
5169 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
5170 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
5171 Fix typo in gmtime_r definition.
5172 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
5173 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
5174 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
5175 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
5176 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
5177 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
5178 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
5179 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
5180 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
5181 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
5182 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
5183 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
5184 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
5185 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
5186 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
5187 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
5188 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
5189 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
5190 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
5191 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
5192 typo in off_t definition.
5193 * conform/data/net/if.h-data: New file.
5194 * conform/data/netinet/in.h-data: New file.
5195 * conform/data/netinet/tcp.h-data: New file.
5196 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
5197 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
5198 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
5199 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
5200 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
5201 and posix_typed_mem_open.
5202 * conform/data/sys/socket.h-data: New file.
5203 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
5204 * conform/data/sys/types.h-data: Add pthread_barrier_t,
5205 pthread_barrierattr_t, and pthread_spinlock_t.
5206 * conform/data/sys/un.h-data: New file.
5207 * conform/data/sys/utsname.h-data: New file.
5209 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
5211 * inet/gethstbyad.c (gethostbyname): Likewise.
5212 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
5213 * inet/getipnodebyad.c (getipnodebyad): Likewise.
5214 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
5215 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
5217 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
5218 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
5219 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
5220 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
5221 * resolv/gethnamaddr.c (gethostbyname): Likewise.
5222 * resolv/netdb.h (struct hostent): Fix type of h_length member.
5223 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
5224 and second parameter.
5226 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
5229 2000-04-29 Andreas Jaeger <aj@suse.de>
5231 * conform/data/arpa/inet.h-data: New file.
5233 2000-04-28 Geoff Clare <gwc@unisoft.com>
5235 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
5236 path passed to ftw() or nftw() is an empty string.
5237 Closes PR libc/1710.
5239 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5241 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
5242 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
5243 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
5244 * localedata/tst-mbswcs4.c: New file.
5245 * localedata/tst-mbswcs5.c: New file.
5247 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
5248 == NULL. Little optimization.
5250 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
5251 DT_PREINIT_ARRAYSZ).
5252 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
5254 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
5255 overflows in conversion from ASCII.
5257 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5259 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
5260 * Makerules (full_config_sysdirs): Likewise.
5261 * MakeTAGS (full_config_sysdirs): Likewise.
5263 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5265 * .cvsignore: Remove linuxthreads.
5266 * po/.cvsignore: Remove *.pot.
5267 * posix/glob/.cvsignore: Removed.
5268 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
5270 2000-04-25 Andreas Jaeger <aj@suse.de>
5272 * conform/Makefile (distribute): Also distribute contents of
5275 * Makerules (no_deps): Remove abi-versions.h.
5277 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
5279 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5281 * sysdeps/sparc/sparc64/elf/Dist: Remove.
5282 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
5283 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
5284 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
5285 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
5286 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
5289 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
5291 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
5293 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5295 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
5296 * intl/l10nflist.c: Likewise.
5298 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5300 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
5301 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
5302 * intl/textdomain.c [!_LIBC]: Likewise.
5303 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
5304 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
5305 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
5308 2000-04-23 Bruno Haible <haible@clisp.cons.org>
5310 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
5311 character set conversion also in the case the translation was found
5312 after a hash collision or through binary search. Store the maximum
5313 index together with the converted message. Use iconv() when available.
5314 In case of out of memory during conversion, return the unconverted
5315 translated string, not NULL.
5317 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
5319 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
5320 to avoid name clashes with the ia32 linker.
5322 2000-04-25 Jakub Jelinek <jakub@redhat.com>
5324 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
5327 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5329 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
5330 strtoumax, strfry, and memfrob.
5331 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
5332 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5334 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
5335 if this function is available.
5337 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
5340 2000-04-27 Jakub Jelinek <jakub@redhat.com>
5342 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
5344 2000-04-27 Ulrich Drepper <drepper@redhat.com>
5346 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
5347 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
5348 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
5349 * localedata/tst-mbswcs3.c: New file.
5351 2000-04-26 Ulrich Drepper <drepper@redhat.com>
5353 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
5354 characters. Don't handle incomplete characters as errors.
5355 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
5356 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
5357 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
5358 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
5359 * localedata/tst-mbswcs2.c: New file.
5361 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
5362 stored character in state in UNPACK_BYTES macro.
5363 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
5364 test for available characters, handle result of BODY code correctly.
5365 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
5366 (distribute): Add tst-mbswcs.sh.
5367 Add rule to run tst-mbswcs.sh.
5368 * localedata/tst-mbswcs.sh: New file.
5369 * localedata/tst-mbswcs1.c: New file.
5371 2000-04-26 Jakub Jelinek <jakub@redhat.com>
5373 * nis/nis_callback.c (__nis_create_callback): Do failed memory
5374 allocation fixups centrally, fix __builtin_expect call, return NULL
5375 on failure, not NIS_NOMEMORY.
5377 2000-04-27 Bruno Haible <haible@clisp.cons.org>
5379 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
5381 * intl/loadinfo.h (internal_function): Define if not already defined.
5383 2000-04-27 Andreas Jaeger <aj@suse.de>
5385 * intl/libintl.h: Fix typo, reported by Bruno Haible
5386 <haible@clisp.cons.org>.
5388 2000-04-25 Ulrich Drepper <drepper@redhat.com>
5390 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
5391 setting the state to GMON_PROF_BUSY.
5393 2000-04-24 Ulrich Drepper <drepper@redhat.com>
5395 * elf/dl-profile.c (_dl_start_profile): define all variables which
5396 do not have to be global as local variables.
5398 * nis/nis_callback.c (__nis_create_callback): Partially undo last
5399 patch. Keep needed tests for failed memory allocation.
5401 * elf/dl-reloc.c (_dl_relocate_object): Add one more
5402 __builtin_expect saying that we don't normally expect to profile.
5404 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
5405 __builtin_expect where desirable.
5407 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5409 * manual/Makefile (chapters): Add syslog.
5410 * manual/syslog.texi: New file.
5411 * manual/math.texi: Fix references.
5412 * manual/terminal.texi: Likewise.
5413 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5415 2000-04-18 Jakub Jelinek <jakub@redhat.com>
5417 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
5418 stdlib.h was not included or __USE_XOPEN not defined.
5420 2000-04-23 Ulrich Drepper <drepper@redhat.com>
5422 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
5423 Patch by Zack Weinberg <zack@wolery.cumb.org>.
5425 2000-04-22 Ulrich Drepper <drepper@redhat.com>
5427 * manual/examples/subopt.c (mount_opts): Add missing terminating
5429 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
5431 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
5432 * libio/ftello.c: Likewise.
5433 * libio/ftello64.c: Likewise.
5434 * libio/ioftell.c: Likewise.
5435 * sysdeps/generic/memrchr.c: Likewise.
5436 * sysdeps/posix/libc_fatal.c: Likewise.
5437 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5438 * misc/fstab.c: Include <string.h> for strcmp prototype.
5439 * sysdeps/generic/ldsodefs.h: Likewise.
5440 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5441 Patch by Kurt Roeckx <Q@ping.be>.
5443 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
5444 Remove db-open. Change all uses.
5445 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
5447 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5449 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
5450 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
5451 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
5452 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
5453 with .set noat/at to shut up warnings.
5454 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
5455 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
5456 compilation if __NR_pciconfig_iobase is not defined.
5457 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
5460 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5462 * manual/sysinfo.texi: Fix typo.
5463 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
5464 Replace "high precision time" with "high accuracy clock".
5466 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
5468 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
5469 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
5471 * nis/nis_subr.c: Use __builtin_expect.
5472 * nis/ypclnt.c: Likewise.
5473 * nis/nis_getservlist.c: Likewise.
5474 * nis/nis_creategroup.c: Likewise.
5476 * nis/nis_callback.c (__nis_create_callback): Check result of
5477 memory allocation. Fix memory leaks. Use __builtin_expect.
5478 (__nis_destroy_callback): Fix memory leaks.
5480 2000-04-21 Andreas Jaeger <aj@suse.de>
5482 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
5483 * sysdeps/mips/mips64/add_n.S: Likewise.
5484 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
5485 * sysdeps/mips/mips64/lshift.S: Likewise.
5486 * sysdeps/mips/mips64/mul_1.S: Likewise.
5487 * sysdeps/mips/mips64/rshift.S: Likewise.
5488 * sysdeps/mips/mips64/setjmp.S: Likewise.
5489 * sysdeps/mips/mips64/sub_n.S: Likewise.
5490 * sysdeps/mips/mips64/submul_1.S: Likewise
5491 * sysdeps/unix/mips/sysdep.S: Likewise.
5493 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
5494 and update comment. The strtab from _dl_relocate_object can be
5497 2000-04-21 Ulrich Drepper <drepper@redhat.com>
5499 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
5500 * iconv/iconv_close.c (iconv_close): Likewise.
5501 * iconv/iconv_open.c (iconv_open): Likewise.
5503 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
5504 __builtin_expect where useful.
5506 * grp/initgroups.c (initgroups): Test for result of memory
5507 allocation and punt if it fails.
5509 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
5510 * grp/fgetgrent.c (fgetfrent): Likewise.
5511 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
5513 2000-04-21 Jakub Jelinek <jakub@redhat.com>
5515 * libio/vasprintf.c: Include string.h to get memcpy prototype.
5517 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5519 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
5520 don't search for NUL byte to decrement counter.
5521 Reported by Ulrich.Brink@sap.com.
5523 * iconv/gconv_simple.c: Define separate functions to convert from
5524 UCS4/UCS4-LE to the internal encoding.
5525 * iconv/gconv_builtin.h: Use separate functions to convert from
5526 UCS4/UCS4-LE to the internal encoding.
5527 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
5528 __gconv_transform_ucs4le_internal.
5530 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
5531 output buffer overflow. Reported by Ulrich.Brink@sap.com.
5533 * iconv/skeleton.c: Add some more __builtin_expect.
5534 * iconv/loop.c: Likewise.
5536 2000-03-08 H.J. Lu <hjl@gnu.org>
5538 * posix/regex.c (regex_compile): Correctly handle "\{" when
5539 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
5541 2000-04-20 Ulrich Drepper <drepper@redhat.com>
5543 * manual/stdio.texi: Give advise about handling error when using
5545 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
5547 2000-04-19 Jakub Jelinek <jakub@redhat.com>
5549 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
5550 field to nelems * sizeof (uint32_t).
5551 * locale/programs/ld-address.c (address_output): Align word fields
5553 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5554 Don't restart idx pointers to idx end at the duo_int_curr_symbol
5556 Avoid giving arbitrary garbage in the crncystr field.
5557 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
5558 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
5560 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5561 Don't restart idx pointers to idx end at the decimal_point_wc field.
5562 * locale/programs/ld-time.c (time_output): week_1stday should be
5563 word, not byte. Align it properly.
5565 2000-04-19 H.J. Lu <hjl@gnu.org>
5567 * csu/gmon-start.c (_start): Declared as "extern void".
5570 2000-04-18 Andreas Jaeger <aj@suse.de>
5572 * manual/install.texi (Running make install): Don't mention utmpd
5575 2000-04-18 Andreas Jaeger <aj@suse.de>
5577 * linuxthreads/Versions: Use ld instead of ld.so.
5579 * elf/Makefile (ld-map): Use ld.map.
5581 * Versions.def: Use ld instead of ld.so.
5582 * elf/Versions: Likewise.
5583 * sysdeps/mach/hurd/Versions: Likewise.
5585 2000-04-20 Andreas Jaeger <aj@suse.de>
5587 * elf/rtld.c (print_statistics): Move ifndef further up.
5588 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
5589 (dl_main): Likewise.
5591 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5593 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
5594 * gmon/Versions: Move moncontrol to GLIBC_2.2.
5596 * po/cs.po: Update from translation team.
5598 * sysdeps/generic/updwtmp.c: Remove daemon support.
5600 * login/Makefile (routines): Remove utmp_daemon.
5602 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
5603 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
5604 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
5605 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
5607 * elf/rtld.c: Display statitics option also if hp timing is not
5610 * login/programs/connection.c: Removed.
5611 * login/programs/database.c Removed.
5612 * login/programs/error.c: Removed.
5613 * login/programs/request.c: Removed.
5614 * login/programs/xtmp.c: Removed.
5615 * login/programs/xtmp.h: Removed.
5616 * login/Makefile: Remove rules for utmpd.
5617 * login/README.utmpd: Removed.
5618 * login/utmp_daemon.c: Removed.
5619 * login/getutent_r.c: Remove references to daemon functions.
5620 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
5623 2000-04-18 Andreas Jaeger <aj@suse.de>
5625 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5626 2.2 for libnsl, libresolv, librt, libnss_*.
5628 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
5630 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
5632 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5634 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
5635 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
5636 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
5637 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
5638 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
5639 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
5640 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
5641 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
5642 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
5643 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
5644 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
5645 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
5646 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
5648 * sysdeps/unix/sysv/aix/msync.c: New file.
5649 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
5650 * sysdeps/unix/sysv/aix/net/if.h: New file.
5651 * sysdeps/unix/sysv/aix/pipe.c: New file.
5652 * sysdeps/unix/sysv/aix/poll.c: New file.
5653 * sysdeps/unix/sysv/aix/rename.c: New file.
5654 * sysdeps/unix/sysv/aix/rmdir.c: New file.
5655 * sysdeps/unix/sysv/aix/select.c: New file.
5656 * sysdeps/unix/sysv/aix/semctl.c: New file.
5657 * sysdeps/unix/sysv/aix/semget.c: New file.
5658 * sysdeps/unix/sysv/aix/semop.c: New file.
5659 * sysdeps/unix/sysv/aix/sendto.c: New file.
5660 * sysdeps/unix/sysv/aix/setgroups.c: New file.
5661 * sysdeps/unix/sysv/aix/setpgid.c: New file.
5662 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
5663 * sysdeps/unix/sysv/aix/setpriority.c: New file.
5664 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
5665 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
5666 * sysdeps/unix/sysv/aix/setsid.c: New file.
5667 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
5668 * sysdeps/unix/sysv/aix/shmat.c: New file.
5669 * sysdeps/unix/sysv/aix/shmctl.c: New file.
5670 * sysdeps/unix/sysv/aix/shmdt.c: New file.
5671 * sysdeps/unix/sysv/aix/shmget.c: New file.
5672 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
5673 * sysdeps/unix/sysv/aix/sigstack.c: New file.
5674 * sysdeps/unix/sysv/aix/socket.c: New file.
5675 * sysdeps/unix/sysv/aix/socketpair.c: New file.
5676 * sysdeps/unix/sysv/aix/speed.c: New file.
5677 * sysdeps/unix/sysv/aix/symlink.c: New file.
5678 * sysdeps/unix/sysv/aix/sync.c: New file.
5679 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
5680 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
5681 * sysdeps/unix/sysv/aix/times.c: New file.
5682 * sysdeps/unix/sysv/aix/ulimit.c: New file.
5683 * sysdeps/unix/sysv/aix/umask.c: New file.
5684 * sysdeps/unix/sysv/aix/unlink.c: New file.
5685 * sysdeps/unix/sysv/aix/ustat.c: New file.
5686 * sysdeps/unix/sysv/aix/utimes.c: New file.
5688 2000-04-18 Andreas Jaeger <aj@suse.de>
5690 * manual/startup.texi (Environment Access): Fix putenv prototype
5691 according to recent changes.
5692 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
5695 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
5698 2000-04-18 Ulrich Drepper <drepper@redhat.com>
5700 * posix/Makefile (tests): Add tst-getaddrinfo.
5701 * posix/tst-getaddrinfo.c: New file.
5703 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5705 * manual/sysinfo.texi: Document that umount2 is not widely available.
5707 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
5708 signal timing is not really implemented.
5710 2000-04-17 Andreas Jaeger <aj@suse.de>
5712 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
5714 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5716 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
5719 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5721 * manual/intro.texi: Change reference from System Information to
5723 * manual/users.texi: Likewise.
5724 * manual/conf.texi: Likewise.
5725 * manual/sysinfo.texi: Document mount, umount, and umount2.
5726 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5728 2000-04-17 Jakub Jelinek <jakub@redhat.com>
5730 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
5731 Create wnumstr as well as numstr to support wide character output
5734 2000-04-15 Jakub Jelinek <jakub@redhat.com>
5736 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
5737 modification and move it...
5738 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
5739 Add -melf64_sparc switch to $(LD) on sparc64-linux.
5740 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
5741 switch to $(LD) on sparc-linux.
5743 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
5745 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
5746 and setresuid from sysdep_routines.
5748 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5750 * manual/Makefile (chapters): Add resource.
5752 * manual/time.texi: Move section on resources to...
5753 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
5755 * manual/setjmp.texi: Adjust back reference.
5756 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5758 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
5760 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
5761 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
5762 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
5763 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
5764 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
5765 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
5766 * sysdeps/unix/sysv/aix/close.c: Add copyright.
5767 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
5768 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
5769 * sysdeps/unix/sysv/aix/access.c: Add copyright.
5770 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
5771 * sysdeps/unix/sysv/aix/Implies: New file.
5772 * sysdeps/unix/sysv/aix/Versions: New file.
5773 * sysdeps/unix/sysv/aix/bind.c: New file.
5774 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
5775 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
5776 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
5777 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
5778 * sysdeps/unix/sysv/aix/chdir.c: New file.
5779 * sysdeps/unix/sysv/aix/chmod.c: New file.
5780 * sysdeps/unix/sysv/aix/chroot.c: New file.
5781 * sysdeps/unix/sysv/aix/creat.c: New file.
5782 * sysdeps/unix/sysv/aix/dl-close.c: New file.
5783 * sysdeps/unix/sysv/aix/dl-open.c: New file.
5784 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
5785 * sysdeps/unix/sysv/aix/fchdir.c: New file.
5786 * sysdeps/unix/sysv/aix/fchmod.c: New file.
5787 * sysdeps/unix/sysv/aix/getgroups.c: New file.
5788 * sysdeps/unix/sysv/aix/gethostname.c: New file.
5789 * sysdeps/unix/sysv/aix/getpriority.c: New file.
5790 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
5791 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
5792 * sysdeps/unix/sysv/aix/getrusage.c: New file.
5793 * sysdeps/unix/sysv/aix/link.c: New file.
5794 * sysdeps/unix/sysv/aix/madvise.c: New file.
5795 * sysdeps/unix/sysv/aix/mkdir.c: New file.
5796 * sysdeps/unix/sysv/aix/mknod.c: New file.
5797 * sysdeps/unix/sysv/aix/mprotect.c: New file.
5798 * sysdeps/unix/sysv/aix/msgctl.c: New file.
5799 * sysdeps/unix/sysv/aix/msgget.c: New file.
5800 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
5802 2000-04-17 Andreas Jaeger <aj@suse.de>
5804 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
5805 as suggested by Ulrich Drepper.
5806 (__dl_runtime_resolve): Remove unused variable, initialize sym
5808 (RTLD_START): Document OFFSET_GP_GOT.
5809 (OFFSET_GP_GOT): New magic value.
5810 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
5811 (elf_machine_got_rel): Only declare strtab if needed.
5812 (elf_machine_relplt): Removed, it's not needed.
5813 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
5815 * sysdeps/mips/add_n.S: Add newline at EOF.
5816 * sysdeps/mips/rshift.S: Likewise.
5817 * sysdeps/mips/mul_1.S: Likewise.
5818 * sysdeps/mips/lshift.S: Likewise.
5819 * sysdeps/mips/addmul_1.S: Likewise.
5821 2000-04-17 Ulrich Drepper <drepper@redhat.com>
5823 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
5825 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
5826 * elf/dl-lookup.c: Likewise.
5827 * elf/dl-init.c (_dl_init): Likewise.
5828 * elf/dl-fini.c (_dl_fini): Likewise.
5829 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5830 * elf/dl-close.c (_dl_close): Likewise.
5831 * elf/rtld.c (_dl_start_final): Likewise.
5833 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
5835 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5837 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
5838 only fall back on using Linux.
5840 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
5841 Before testing versions check that we actually loaded the object
5842 and whether we are in trace mode. If not loaded during tracing don't
5843 test versions in this object.
5844 (_dl_check_all_versions): Take new parameter and pass to
5845 _dl_check_map_versions.
5846 * sysdeps/generic/ldsodefs.h: Update prototypes for
5847 _dl_check_all_versions and _dl_check_map_versions.
5848 * elf/rtld.c (struct version_check_args): Add dotrace.
5849 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
5850 (dl_main): Pass info about trace mode to version_check_doit.
5851 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
5852 _dl_check_all_versions.
5854 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
5856 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
5858 * manual/argp.texi: Document index parameter of argp_parse.
5860 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
5862 2000-04-14 Andreas Jaeger <aj@suse.de>
5864 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
5865 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
5867 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
5869 2000-04-15 Ulrich Drepper <drepper@redhat.com>
5871 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
5872 compat_symbol call for old adjtime.
5874 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
5875 function interface. Patch by Richard Henderson <rth@cygnus.com>.
5877 * posix/Makefile (headers): Add spawn.h.
5878 (distribute): Add spawn_int.h.
5879 (routines): Add spawn_faction_init, spawn_faction_destroy,
5880 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
5881 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
5882 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
5883 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
5884 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
5885 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
5886 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
5887 posix_spawnattr_init, posix_spawnattr_destroy,
5888 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
5889 posix_spawnattr_getflags, posix_spawnattr_setflags,
5890 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
5892 * posix/spawn.c: New file.
5893 * posix/spawn.h: New file.
5894 * posix/spawn_faction_addclose.c: New file.
5895 * posix/spawn_faction_adddup2.c: New file.
5896 * posix/spawn_faction_addopen.c: New file.
5897 * posix/spawn_faction_destroy.c: New file.
5898 * posix/spawn_faction_init.c: New file.
5899 * posix/spawn_int.h: New file.
5900 * posix/spawnattr_destroy.c: New file.
5901 * posix/spawnattr_getdefault.c: New file.
5902 * posix/spawnattr_getflags.c: New file.
5903 * posix/spawnattr_getpgroup.c: New file.
5904 * posix/spawnattr_getschedparam.c: New file.
5905 * posix/spawnattr_getschedpolicy.c: New file.
5906 * posix/spawnattr_getsigmask.c: New file.
5907 * posix/spawnattr_init.c: New file.
5908 * posix/spawnattr_setdefault.c: New file.
5909 * posix/spawnattr_setflags.c: New file.
5910 * posix/spawnattr_setpgroup.c: New file.
5911 * posix/spawnattr_setschedparam.c: New file.
5912 * posix/spawnattr_setschedpolicy.c: New file.
5913 * posix/spawnattr_setsigmask.c: New file.
5914 * posix/spawni.c: New file.
5915 * posix/spawnp.c: New file.
5917 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
5918 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
5920 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5922 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
5923 * malloc/malloc.c: Implement posix_memalign for glibc.
5924 * include/stdlib.h: Add prototype for __posix_memalign.
5925 * stdlib/stdlib.h: Add prototype for posix_memalign.
5927 2000-04-14 Andreas Jaeger <aj@suse.de>
5929 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
5931 (elf_machine_got_rel): Cast sym correctly.
5933 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
5934 * sysdeps/mips/addmul_1.S: Likewise.
5935 * sysdeps/mips/lshift.S: Likewise.
5936 * sysdeps/mips/mul_1.S: Likewise.
5937 * sysdeps/mips/rshift.S: Likewise.
5938 * sysdeps/mips/sub_n.S: Likewise.
5939 * sysdeps/mips/submul_1.S: Likewise.
5941 * stdlib/stdlib.h: Fix typo in comment.
5943 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
5944 2.2 for libdl, ld and libm.
5946 * sysdeps/generic/madvise.c: Fix typos.
5948 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
5950 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
5952 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
5955 2000-04-14 Ulrich Drepper <drepper@redhat.com>
5957 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
5958 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
5959 Make old name weak alias.
5960 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
5961 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
5962 Make old name weak alias.
5963 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
5965 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
5966 posix_fallocate, and posix_fallocate64.
5967 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
5968 posix_fallocate, and posix_fallocate64.
5969 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
5970 posix_fallocate, and posix_fallocate64.
5971 * sysdeps/generic/fadvise.c: New file.
5972 * sysdeps/generic/fadvise64.c: New file.
5973 * sysdeps/generic/fallocate.c: New file.
5974 * sysdeps/generic/fallocate64.c: New file.
5975 * sysdeps/posix/fallocate.c: New file.
5976 * sysdeps/posix/fallocate64.c: New file.
5977 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
5978 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
5979 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
5980 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
5981 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
5982 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5983 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5984 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5985 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5987 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
5988 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5990 2000-04-13 Ulrich Drepper <drepper@redhat.com>
5992 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
5993 * misc/sys/mman.h (posix_madvise): Add prototype.
5994 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
5995 old name and posix_madvise weak aliases.
5996 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5997 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
5998 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
5999 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6000 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
6001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6002 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6004 2000-04-13 Andreas Jaeger <aj@suse.de>
6006 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
6008 (elf_machine_got_rel): Only add runtime display if needed.
6009 (elf_machine_got_rel): Handle symbol versioning.
6011 2000-04-13 Andreas Jaeger <aj@suse.de>
6013 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
6015 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
6018 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
6019 with some applications.
6020 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
6022 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
6023 * sysdeps/mips/bsd-_setjmp.S: Likewise.
6024 * sysdeps/mips/setjmp.S: Likewise.
6026 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
6028 2000-04-13 Ulrich Drepper <drepper@redhat.com>
6030 * posix/globtest.sh: Work around inconsistency with expanding ~/
6031 in shell (PR libc/1690). Reported by patsmith@pobox.com.
6033 2000-04-12 Ulrich Drepper <drepper@redhat.com>
6035 * posix/getconf.c: Add support for many more POSIX options.
6036 * sysdeps/posix/sysconf.c: Likewise.
6037 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
6038 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
6040 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
6041 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
6042 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
6043 CLOCK_THREAD_CPUTIME_ID.
6044 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
6045 CLOCK_PROCESS_CPUTIME_ID.
6046 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
6047 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
6048 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
6049 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
6051 * malloc/Makefile (tests): Add tst-calloc.
6052 * malloc/tst-calloc.c: New file.
6054 * sysdeps/arm/libm-test-ulps: New file.
6056 * malloc/malloc.c: Undo all of today's changes.
6058 * locale/programs/locale.c (show_info): Don't try to look into
6059 data for LC_ALL (there is none).
6061 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
6062 avoid writing over boundary.
6063 Patch by Greg McGary <gkm@eng.ascend.com>.
6065 * sysdeps/arm/memprof.h: New file.
6067 2000-04-12 Andreas Jaeger <aj@suse.de>
6069 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
6071 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
6072 for memmem declaration.
6074 2000-04-12 Ulrich Drepper <drepper@redhat.com>
6076 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
6078 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6080 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
6082 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6083 Patch by Bart Veer <bartv@redhat.com>.
6085 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
6088 2000-04-11 Andreas Jaeger <aj@suse.de>
6090 * sysdeps/mips/dl-machine.h: Update some comments.
6091 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
6093 2000-04-11 Ulrich Drepper <drepper@redhat.com>
6095 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
6096 _POSIX_SHARED_MEMORY_OBJECTS.
6098 * rt/Makefile (tests): Add tst-shm.
6099 Add rules to generate tst-shm.
6100 * rt/tst-shm.c: New file.
6102 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
6105 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
6106 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
6107 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
6108 * sysdeps/generic/shm_open.c: New file.
6109 * sysdeps/generic/shm_unlink.c: New file.
6110 * sysdeps/unix/sysv/linux/shm_open.c: New file.
6111 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
6112 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
6113 __endmntent, __getmntent_r, __setmntent, and __statfs.
6115 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
6116 fragmentation by allocating new memory at the end instead of
6119 * posix/globtest.sh: Fix last change.
6121 2000-04-10 Philip Blundell <philb@gnu.org>
6123 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
6124 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
6125 IPV6_DROP_MEMBERSHIP.
6126 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
6129 2000-04-11 Ulrich Drepper <drepper@redhat.com>
6131 * elf/readlib (process_file): Close streams in case of an error.
6133 2000-04-09 Andreas Jaeger <aj@suse.de>
6135 * elf/readlib.c (process_file): Check if file is big enough to
6136 contain aout and ELF headers.
6137 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
6139 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
6141 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
6143 2000-04-11 Ulrich Drepper <drepper@redhat.com>
6145 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
6147 * rt/Makefile (tests): Add tst-clock.
6148 Add rules to build tst-clock.
6149 * rt/tst-clock.c: New file.
6150 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
6151 about initialization of nsec.
6152 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
6153 about initialization of freq. Set retval to zero if successful.
6154 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
6156 2000-04-10 Ulrich Drepper <drepper@redhat.com>
6158 * Versions.def (librt): Add GLIBC_2.2.
6159 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
6160 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
6161 timer_getoverr, timer_gettime, and timer_settime.
6162 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
6163 clock_settime, timer_create, timer_delete, timer_getoverrun,
6164 timer_gettime, and timer_settime.
6165 * sysdeps/generic/clock_getcpuclockid.c: New file.
6166 * sysdeps/generic/get_clockfreq.c: New file.
6167 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
6168 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
6169 * sysdeps/mach/hurd/i386/bits/time.h: New file.
6170 * sysdeps/unix/i386/i586/clock_getres.c: New file.
6171 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
6172 * sysdeps/unix/i386/i686/Implies: New file.
6173 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
6174 * time/Makefile (routines): Move clock_getres, clock_gettime,
6175 clock_settime, timer_create, timer_delete, timer_getoverr,
6176 timer_gettime, and timer_settime to rt/Makefile.
6177 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
6178 clock_settime, timer_create, timer_delete, timer_getoverrun,
6179 timer_gettime, and timer_settime.
6180 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6182 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
6183 and not const as attribute name.
6185 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
6187 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
6189 2000-04-10 Andreas Schwab <schwab@suse.de>
6191 * posix/globtest.sh: Skip tests that depend on unreadable
6192 directories if run as root.
6194 2000-04-10 Ulrich Drepper <drepper@redhat.com>
6196 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
6197 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
6199 2000-04-09 Ulrich Drepper <drepper@redhat.com>
6201 * sysdeps/unix/clock_gettime.c: New file.
6202 * sysdeps/unix/clock_settime.c: New file.
6203 * sysdeps/posix/clock_getres.c: New file.
6205 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
6207 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
6208 lseek call be passing in a buffer which never allow a successful
6209 first getdents syscall if not at leas the initial entry can be
6210 stored in the user buffer.
6212 * localedata/Makefile: Add rules to clean up directories created by
6215 2000-04-09 Geoff Clare <gwc@unisoft.com>
6217 * localedata/tst-fmon.data: Added new tests for strfmon()
6218 using test locales with all combinations of cs_precedes,
6219 sign_posn and sep_by_space.
6220 * localedata/tst-fmon.sh: Updated to support the new tests.
6221 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
6222 the localedef source for the new strfmon() test locale.
6223 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
6224 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
6225 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
6226 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
6227 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
6228 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
6229 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
6230 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
6231 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
6232 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
6233 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
6234 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
6235 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
6236 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
6238 * stdlib/strfmon.c: Correct problems with missing or extra
6239 spaces for unusual combinations of sign_posn and sep_by_space.
6240 Improved left-precision alignment code.
6242 2000-04-07 Andreas Jaeger <aj@suse.de>
6244 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
6246 2000-04-10 Andreas Jaeger <aj@suse.de>
6248 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
6250 2000-04-09 Ulrich Drepper <drepper@redhat.com>
6252 Implement handling of restartable conversion functions according to
6254 * iconv/gconv.h (__gconv_fct): Add additional parameter.
6255 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
6256 * iconv/gconv.c: Pass additional parameter to conversion function.
6257 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
6258 (internal_ucs4le_loop_single): New function.
6259 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
6260 (__gconv_transform_internal_ascii): Likewise.
6261 (__gconv_transform_internal_utf8): Likewise.
6262 (__gconv_transform_utf8_internal): Likewise.
6263 (__gconv_transform_ucs2_internal): Likewise.
6264 (__gconv_transform_internal_ucs2): Likewise.
6265 (__gconv_transform_ucs2reverse_internal): Likewise.
6266 (__gconv_transform_internal_ucs2reverse): Likewise.
6267 (internal_ucs4le_loop_unaligned): Before return
6268 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
6269 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
6270 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
6271 * iconv/loop.c: Fit in definition of function to convert one character
6272 for processing of left-over bytes from the state object.
6273 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
6274 inend to match names in loop functions.
6275 (RESET_INPUT_BUFFER): Change apprpriately.
6276 (gconv): If needed, call function to process bytes from the state
6277 object. Similar at the end: store left over bytes if input is
6279 Take extra argument and add new argument to all calls of the
6280 conversion function.
6281 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
6282 information in the state object to not conflict with length count.
6283 * iconvdata/iso-2022-jp.c: Likewise.
6284 * iconvdata/iso-2022-kr.c: Likewise.
6285 * iconvdata/unicode.c: Adjust for change change in parameters of
6287 * iconvdata/utf-16.c: Likewise.
6288 * libio/iofwide.c: Add new parameter to all calls of conversion
6290 * wcsmbs/btowc.c: Likewise.
6291 * wcsmbs/mbrtowc.c: Likewise.
6292 * wcsmbs/mbsnrtowcs.c: Likewise.
6293 * wcsmbs/mbsrtowcs.c: Likewise.
6294 * wcsmbs/wcrtomb.c: Likewise.
6295 * wcsmbs/wcsnrtombs.c: Likewise.
6296 * wcsmbs/wcsrtombs.c: Likewise.
6297 * wcsmbs/wctob.c: Likewise.
6299 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
6302 2000-04-07 Andreas Jaeger <aj@suse.de>
6304 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
6307 2000-04-07 Ulrich Drepper <drepper@redhat.com>
6309 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
6310 element a union to allow byte access.
6311 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
6313 * iconvdata/iso-2022-jp.c: Likewise.
6314 * iconvdata/iso-2022-kr.c: Likewise.
6315 * wcsmbs/mbsinit.c: Likewise.
6316 * stdlib/mblen.c: Likewise.
6317 * stdio-common/printf-parse.h: Likewise.
6319 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6321 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
6322 kernel does not allow relative seeks on descriptors associated
6323 with directories. Go back to get the position in the directory
6324 every time we enter the function. Return -1 and set errno if one
6325 entry could be read from the kernel but does not fit into the
6326 buffer passed in by the user.
6328 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
6329 Support ..(2).. ellipsis.
6330 (parse_charmap): Recognize ..(2).. etc and pass step down.
6331 Correctly generate names for UCS4 characters.
6333 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
6334 (ctype_finish): We know the wide character value for <SP>,
6336 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
6337 (charclass_ucs4_ellipsis): Likewise.
6338 (read_translit_ignore_entry): Store ellipsis step.
6339 (ctype_read): Recognize ..(2).. etc and pass step down.
6341 * locale/programs/linereader.c (lr_token): When seeing comment
6342 character ignore only rest of line in sources but stop at escaped
6344 Recognize ..(2).. and ....(2).....
6346 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
6347 and tok_ellipsis4_2.
6349 2000-04-06 Andreas Jaeger <aj@suse.de>
6351 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
6352 removed, remove it here also.
6353 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
6354 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
6355 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
6356 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
6358 2000-04-06 Jakub Jelinek <jakub@redhat.com>
6360 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
6361 include bits/sigcontext.h.
6362 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6364 2000-04-06 Ulrich Drepper <drepper@redhat.com>
6366 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
6367 collation symbol definition. Value in quivalence definition must
6368 be defined, don't check that it is not.
6370 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
6371 values as character names.
6373 * locale/programs/ld-ctype.c (get_character): Handle missing
6374 repertoire map correctly.
6376 2000-04-05 Cristian Gafton <gafton@redhat.com>
6378 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
6379 because it is used in generic code.
6380 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
6381 * wcsmbs/wcwidth.h: Declare __ctype32_b.
6382 * intl/gettext.c: Include <locale.h>.
6383 * intl/ngettext.c: Likewise.
6385 2000-04-05 Jakub Jelinek <jakub@redhat.com>
6387 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
6388 socklen_t type for size.
6389 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
6390 init function interface.
6391 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6392 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
6394 (__jmp_buf): Declare the whole type structure here, don't use
6397 2000-04-05 Ulrich Drepper <drepper@redhat.com>
6399 * iconv/skeleton.c (put16u): Fix typo.
6400 Reported by Bruno Haible <haible@ilog.fr>.
6402 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
6403 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
6404 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
6405 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
6406 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
6407 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
6409 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
6410 * Makefile (distribute): Add abi-versions.awk and
6412 Patches by Torsten Duwe <duwe@caldera.de>.
6414 2000-04-05 Andreas Schwab <schwab@suse.de>
6416 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
6418 2000-04-05 Andreas Schwab <schwab@suse.de>
6420 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
6421 entry point, used on Hurd.
6423 2000-04-04 Andreas Jaeger <aj@suse.de>
6425 * intl/Makefile: Only run the gettext test with shared libraries.
6427 2000-03-16 Mark Kettenis <kettenis@gnu.org>
6429 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6430 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6432 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
6434 * Makeconfig: Undo last change.
6435 * configure.in: If --disable-shared was given, don't set VERSIONING,
6436 don't define DO_VERSIONING, and don't give scare warning for no
6438 * configure: Regenerated.
6440 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
6442 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
6444 2000-04-04 Andreas Jaeger <aj@suse.de>
6446 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
6448 2000-04-04 Ulrich Drepper <drepper@redhat.com>
6450 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
6451 STV_HIDDEN and STV_INTERNAL during lookup.
6452 (profile_fixup): Likewise.
6453 * elf/dl-reloc.c (RESOLVE): Likewise.
6455 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
6456 unaligned so that it compiles for system which need unaligned
6459 2000-04-04 Andreas Schwab <schwab@suse.de>
6461 * elf/cache.c (print_entry): Only look at the type field when
6464 2000-04-04 Andreas Schwab <schwab@suse.de>
6466 * iconvdata/big5.c (BODY): Fix typo.
6468 2000-04-04 Andreas Schwab <schwab@suse.de>
6470 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
6471 function interface. Remove unused _dl_start_user entry point.
6473 2000-04-03 Andreas Jaeger <aj@suse.de>
6475 * include/arpa/inet.h (__inet_aton): Add protoype.
6477 2000-04-01 Andreas Jaeger <aj@suse.de>
6479 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
6481 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
6482 * sysdeps/mach/mips/thread_state.h: Likewise.
6484 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
6485 * sysdeps/generic/fegetenv.c: Likewise.
6486 * sysdeps/generic/fesetenv.c: Likewise.
6487 * sysdeps/generic/feupdateenv.c: Likewise.
6488 * sysdeps/generic/fraiseexcpt.c: Likewise.
6489 * sysdeps/generic/fsetexcptflg.c: Likewise.
6490 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
6491 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6492 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6493 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6495 2000-04-02 H.J. Lu <hjl@gnu.org>
6497 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
6499 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6501 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
6502 (add_name_to_object): Add cast in malloc call.
6503 (fillin_rpath): Optimize loop to initialize ->status a bit.
6505 * sysdeps/i386/dl-machine.h: Undo last change.
6506 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
6507 Restore %edx register after call here.
6509 * sysdeps/arm/atomicity.h: New file.
6510 Contributed by Jesper Skov <jskov@redhat.com>.
6512 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
6514 * Makeconfig (preprocess-versions): Undo last change.
6515 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
6517 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
6518 here, before we might move the stack.
6519 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
6520 (init1): And not here.
6522 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
6523 change, to restore argc value in call-clobbered register after
6524 RTLD_START_SPECIAL_INIT, which will contain a call.
6526 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
6527 allocating and initializing L->l_initfini.
6529 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
6531 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6533 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
6534 RUNPATH, RPATH, and LD_LIBRARY_PATH.
6535 (open_path): Change type of fourth parameter. Make pointer to array
6536 of pointers. Create variable dirs with original type.
6537 Track whether any directory for the object exists and if not,
6538 change *DIRSP to (void*) -1 to signal there is no such search path.
6539 (_dl_map_object): Change all calls of open_path.
6540 Rewrite decompose_rpath calls.
6542 2000-03-31 Andreas Schwab <schwab@suse.de>
6544 * string/strfry.c: Declare STATE as array of char instead of int
6545 and do not initialize it (done by initstate_r). Pass correct
6548 2000-04-03 Ulrich Drepper <drepper@redhat.com>
6550 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
6552 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
6553 instruction out of the code.
6555 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6557 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
6558 element at this position.
6560 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
6561 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
6563 * elf/dl-lookup.c (add_dependency): New function.
6564 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
6565 dynamically loaded object.
6566 (_dl_lookup_symbol_skip): Likewise.
6567 (_dl_lookup_versioned_symbol): Likewise.
6568 (_dl_lookup_versioned_symbol_skip): Likewise.
6569 * elf/dl-open.c: Don't define _dl_load_lock here...
6570 * elf/rtld.c: ...but here...
6571 * elf/dl-support.c: ...and here.
6572 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
6574 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
6576 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
6578 * dlfcn/glrefmain.c: Add one more debug message.
6580 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
6582 * Makerules (sysd-versions): Use ( ) instead of { }.
6584 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
6585 optimize for the non-debugging case.
6586 * elf/dl-lookup.c: Likewise.
6587 * sysdeps/generic/libc-start.c: Likewise.
6589 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
6591 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
6592 (init1): Don't initialize __environ here, since init already does it.
6593 (first_init): New function, broken out of _init.
6594 (_hurd_stack_setup): Use it.
6595 [SHARED] (_dl_init_first): New function, renamed from old _init.
6596 (init1) [SHARED]: Don't call posixland_init here.
6597 (posixland_init): Take ENVP arg, so signature is usual for initializer.
6598 [SHARED] (_init): Define as alias for posixland_init.
6599 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
6600 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
6601 RTLD_START_SPECIAL_INIT before calling initializers.
6602 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
6603 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
6604 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
6605 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
6607 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
6608 since we define the function with the name `tmpfile'.
6610 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
6611 * hurd/Versions: Likewise.
6613 2000-04-02 Ulrich Drepper <drepper@redhat.com>
6615 * elf/dl-runtime.c (fixup): Fix typo in comment.
6617 * resolv/netdb.h (getnameinfo): All length parameters are of type
6619 * inet/getnameinfo.c: Likewise.
6621 2000-04-01 Ulrich Drepper <drepper@redhat.com>
6623 * posix/unistd.h (socklen_t): Define if it has not yet happened.
6624 (gethostname): Change type of second parameter to socklen_t.
6625 * include/unistd.h (__gethostname): Change type of second
6626 parameter to socklen_t.
6627 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
6628 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6629 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
6630 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
6632 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
6633 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
6634 Allow definition elsewhere.
6635 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
6636 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6637 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6638 * sysdeps/generic/bits/types.h: Define __socklen_t.
6639 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
6640 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
6641 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6642 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6643 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6644 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
6645 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
6647 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
6648 (inet_lnaof): Likewise.
6649 (inet_netof): Likewise.
6650 (inet_network): Likewise.
6651 (inet_aton): Likewise.
6652 (inet_makeaddr): Change parameter types to in_addr_t.
6653 (inet_neta): Likewise.
6654 (inet_ntop): Change type of last parameter to socklen_t.
6655 (inet_aton): Only make available if __USE_MISC.
6656 (inet_neta): Likewise.
6657 (inet_net_ntop): Likewise.
6658 (inet_net_pton): Likewise.
6659 (inet_nsap_ntoa): Likewise.
6661 * inet/in.h: Define in_port_t type.
6662 Define in_addr_t type.
6663 (struct in_addr): Use in_addr_t in definition.
6664 (IN_CLASSA): Use cast to in_addr_t.
6665 (IN_CLASSB): Likewise.
6666 (IN_CLASSC): Likewise.
6667 (IN_CLASSD): Likewise.
6668 (IN_EXPERIMENTAL): Likewise.
6669 (IN_BADCLASS): Likewise.
6670 (INADDR_ANY): Likewise.
6671 (INADDR_BROADCAST): Likewise.
6672 (INADDR_NONE): Likewise.
6673 (INADDR_LOOPBACK): Likewise.
6674 (INADDR_UNSPEC_GROUP): Likewise.
6675 (INADDR_ALLHOSTS_GROUP): Likewise.
6676 (INADDR_ALLRTRS_GROUP): Likewise.
6677 (INADDR_MAX_LOCAL_GROUP): Likewise.
6678 (struct sockaddr_in): Use in_port_t for sin_port element.
6679 (struct sockaddr_in6): Use in_port_t for sin6_port element.
6680 Use uint8_t instead of u_int8_t.
6682 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
6683 Call __inet_aton instead of inet_aton.
6684 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
6686 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
6687 (innetgr): Likewise.
6688 (struct addrinfo): Use socklen_t for ai_addrlen element.
6690 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
6691 IPV6_RECVERR): New defines.
6693 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
6694 * inet/getnetbyad.c: Likewise.
6695 * inet/getnetbyad_r.c: Likewise.
6696 * nis/nss_nis/nis-network.c: Likewise.
6697 * nis/nssplus_nis/nisplus-network.c: Likewise.
6698 * nss/nss_files/files-network.c: Likewise.
6699 * resolv/netdb.h: Define uint32_t if not already happened.
6700 Include bits/netdb.h. Remove definition of struct netent.
6701 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
6702 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
6703 * sysdeps/generic/bits/netdb.h: New file.
6704 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
6706 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
6707 (tests): Add glrefmain.
6708 Add rules to build modules and run tests. Ignore result of glrefmain
6709 for now since it fails.
6710 * dlfcn/glrefmain.c: New file.
6711 * dlfcn/glreflib1.c: New file.
6712 * dlfcn/glreflib2.c: New file.
6714 * test-skeleton.c: Include <string.h> for strsignal prototype.
6716 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
6719 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
6720 former init-first.h. Initialize __libc_multiple_libcs.
6722 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6724 * iconv/skeleton.c: Define access macros with u suffix. Adjust
6725 #if expression for use of unaligned function to the one used in
6726 the definition of these functions.
6727 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
6728 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
6729 (internal_ucs4le_loop_unaligned): New function.
6731 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
6733 (module-names): Add dep1, dep2, dep3, and dep4.
6734 Add dependencies for dep* modules and order.
6735 Define rule for order.out which checks the result.
6736 * elf/dep1.c: New file.
6737 * elf/dep2.c: New file.
6738 * elf/dep3.c: New file.
6739 * elf/dep4.c: New file.
6740 * elf/order.c: New file.
6742 * elf/dl-init.c: Fix typo in comment.
6744 2000-03-31 Andreas Jaeger <aj@suse.de>
6746 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
6747 init function interface.
6748 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
6750 2000-03-31 Andreas Jaeger <aj@suse.de>
6752 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
6753 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6754 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6755 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
6756 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6758 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
6759 anymore, update comment.
6761 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6763 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
6764 SHLIB_COMPAT - the struct is always needed.
6766 2000-03-31 Ulrich Drepper <drepper@redhat.com>
6768 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
6769 * elf/dl-support.c: Define _dl_starting_up.
6771 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6773 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
6774 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
6776 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
6778 * elf/Makefile (dl-routines): Remove preinit.
6779 * elf/Versions: Remove _dl_preinit.
6780 * elf/dl-preinit.c: Removed. Move content into...
6781 * elf/dl-init.c: ...here.
6782 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
6784 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
6787 2000-03-29 Geoff Clare <gwc@unisoft.com>
6789 * stdlib/strfmon.c: Corrected problems with the code that
6790 sets default values for [np]_sep_by_space and
6791 [np]_sign_posn; also the new positive/negative alignment
6792 code from the previous patch was not quite right for
6795 * localedata/tst-fmon.data: Changes corresponding to the
6796 two sets of fixes made to stdlib/strfmon.c.
6798 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
6800 * malloc/malloc.c: Declare bit flags UL so that they will not
6801 default to int size when being inverted.
6803 2000-03-29 Andreas Jaeger <aj@suse.de>
6805 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
6806 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6808 2000-03-29 Andreas Jaeger <aj@suse.de>,
6809 Ralf Baechle <ralf@uni-koblenz.de>
6811 * Makeconfig: Introduce new variable SHARED to mark code used in
6813 * elf/dl-close.c: Use it instead of PIC.
6814 * elf/dl-load.c: Likewise.
6815 * elf/dl-open.c: Likewise.
6816 * hurd/geteuids.c: Likewise.
6817 * include/libc-symbols.h: Likewise.
6818 * include/shlib-compat.h: Likewise.
6819 * libio/freopen.c: Likewise.
6820 * linuxthreads/cancel.c: Likewise.
6821 * linuxthreads/pthread.c: Likewise.
6822 * linuxthreads/wrapsyscall.c: Likewise.
6823 * nss/nsswitch.c: Likewise.
6824 * stdio-common/vfprintf.c: Likewise.
6825 * sysdeps/arm/init-first.c: Likewise.
6826 * sysdeps/i386/init-first.c: Likewise
6827 * sysdeps/generic/init-first.c: Likewise.
6828 * sysdeps/generic/libc-start.c: Likewise.
6829 * sysdeps/mips/init-first.c: Likewise.
6830 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6831 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6832 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
6833 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
6834 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6836 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
6838 2000-03-29 Andreas Jaeger <aj@suse.de>
6840 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
6841 Use D_PTR to access relocated entries in l_info.
6842 (elf_machine_rela): Likewise.
6844 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
6846 (elf_machine_rela): Likewise.
6848 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
6850 (__elf_machine_fixup_plt): Likewise.
6851 (__process_machine_rela): Likewise.
6853 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
6854 (elf_machine_rela): Likewise.
6856 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
6857 (elf_machine_rel): Likewise.
6859 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
6860 (elf_machine_fixup_plt): Likewise.
6861 (elf_machine_rela): Likewise.
6863 2000-03-29 Andreas Jaeger <aj@suse.de>
6865 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
6866 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6867 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6868 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6869 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6870 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
6871 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6872 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
6873 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6874 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
6875 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
6876 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
6877 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
6878 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6879 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6881 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
6882 macros, remove K&R prototypes.
6884 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6886 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
6887 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
6890 2000-03-30 Andreas Jaeger <aj@suse.de>
6892 * misc/sys/cdefs.h: Remove K&R support.
6894 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6896 * iconv/skeleton.c: Avoid compiling unaligned versions in some
6898 * iconv/loop.c: Likewise.
6900 2000-03-29 Bruno Haible <haible@clisp.cons.org>
6902 * iconv/loop.c (put16): Remove __const. Fix access index.
6903 (put32): Remove __const. Use uint32_t instead of uint16_t.
6904 * iconv/skeleton.c: Likewise.
6906 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
6908 * mach/Versions (libc: GLIBC_2.0)
6909 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
6910 __vm_allocate on this.
6911 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
6912 mutex- and spinlock-related symbols on this.
6913 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6914 New version set. Lock-related symbols go here instead in this case.
6915 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
6916 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
6917 cthread_getspecific, cthread_setspecific, __libc_getspecific.
6919 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
6920 Put them here instead.
6921 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
6922 New version set. Those cthreads symbols go here instead in this case.
6923 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
6925 2000-03-30 Ulrich Drepper <drepper@redhat.com>
6927 * elf/dl-init.c (_dl_init): We don't need to call constructors
6928 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
6930 Implement dynamic determination of constructor/destructor order in
6932 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
6933 (GLIBC_2.2): Add _dl_init.
6934 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
6935 r_duplist is not anymore allocated separately. l_initfini is and
6936 therefore free it if necessary.
6937 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
6938 malloc block. Otherwise allocate l_initfini list only.
6939 Put dependencies for the object in l_initfini list.
6940 Sort dependencies for the object to be loaded topologically.
6941 * elf/dl-fini.c: Before running the destructors sort the topologically.
6942 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
6943 call constructors instead of iterating over the pointers. Get list of
6944 objects for which to run constructors from l_initfini element. Accept
6945 argc, argv, and env as parameters and pass them to the constructors.
6946 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
6947 with size of dynamic section.
6948 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
6949 _dl_init_next and calling constructors ourself.
6950 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
6951 Take argc, argv, and env as parameters and pass them to the
6952 constructors. Rewrite to call all constructors and not iterate over
6954 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
6955 precompute l_initcount and l_preinitcount.
6956 * elf/link.h (struct link_map): Add l_ldnum member.
6957 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
6958 l_initcount, and l_preinitcount. Add l_initfini.
6959 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
6961 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
6963 * sysdeps/unix/sysv/linux/init-first.h: Removed.
6964 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
6965 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
6966 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
6967 conventions now match.
6969 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
6970 effect for shared objects. Don't emit message and call only for
6973 2000-03-29 Ulrich Drepper <drepper@redhat.com>
6975 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
6976 CSA_Z243.4-1985-1..UCS2.
6977 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
6980 2000-03-29 Andreas Jaeger <aj@suse.de>
6982 * include/unistd.h: Remove duplicate entry for __rmdir.
6983 Remove declaration of __mkdir since __mkdir is declared in
6986 * manual/creature.texi (Feature Test Macros): Fix typo, reported
6987 by Michael Deutschmann <michael@talamasca.ocis.net>.
6989 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
6990 * sysdeps/mips/fpu/fegetenv.c: Likewise.
6991 * sysdeps/mips/fpu/fesetenv.c: Likewise.
6992 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
6993 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
6995 2000-03-28 Andreas Jaeger <aj@suse.de>
6997 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
6998 declaration, the prototype is defined via bits/mathcalls.h.
6999 (__sincosf): Likewise.
7000 (__sincosl): Likewise.
7004 (__finite): Likewise.
7005 (__inline_mathcodeNP): New macro without prototype
7007 (__inline_mathcodeNP2): Likewise.
7008 (__inline_mathcodeNP3): Likewise.
7009 (__inline_mathcodeNP_): Likewise.
7010 (__inline_mathcodeNP2_): Likewise.
7011 (__inline_mathcodeNP3_): Likewise.
7012 (__inline_mathopNP): Likewise.
7013 (__inline_mathop_declNP): Likewise.
7014 (__inline_mathop_declNP_): Likewise.
7015 (__inline_mathcode_): Use __inline_mathcodeNP_.
7016 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
7017 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
7018 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
7019 (__expm1l): Don't define prototype, the prototype is defined via
7025 (__atan2l): Likewise.
7030 (__fabsl): Likewise.
7048 (__sqrtl): Likewise.
7058 2000-03-28 Ulrich Drepper <drepper@redhat.com>
7060 * Makerules: If make variable md5 is defined to yes after
7061 generating dependencies generate MD5 sum for the object.
7063 * iconv/gconv_builtin.h: Fix length in transformation definition
7066 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
7068 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
7069 allow as well reading from/writing to unaligned addresses on machines
7070 which don't support this in hardware. Use FCTNAME macro to define
7071 function name. Include the file a second time for platforms which
7072 need special unaligned handling.
7073 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
7074 to access potentially unaligned addresses. These macros are intended
7075 to be used only outside the loops.
7076 (unaligned): New definition. In case the machine can handle unaligned
7077 access define as zero. Otherwise as a variable which is initialized
7078 as nonzero in case the buffer passed in at runtime is unaligned with
7079 respect to the character set encoding involved.
7080 Call aligned or unaligned looop functions according to unaligned
7082 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
7083 of direct casting pointer to potentially handle unaligned memory
7085 * iconvdata/8bit-generic.c: Likewise.
7086 * iconvdata/ansi_x3.110.c: Likewise.
7087 * iconvdata/big5.c: Likewise.
7088 * iconvdata/euc-cn.c: Likewise.
7089 * iconvdata/euc-jp.c: Likewise.
7090 * iconvdata/euc-kr.c: Likewise.
7091 * iconvdata/euc-tw.c: Likewise.
7092 * iconvdata/gbk.c: Likewise.
7093 * iconvdata/iso-2022-cn.c: Likewise.
7094 * iconvdata/iso-2022-jp.c: Likewise.
7095 * iconvdata/iso-2022-kr.c: Likewise.
7096 * iconvdata/iso646.c: Likewise.
7097 * iconvdata/iso_6937-2.c: Likewise.
7098 * iconvdata/iso_6937.c: Likewise.
7099 * iconvdata/johab.c: Likewise.
7100 * iconvdata/sjis.c: Likewise.
7101 * iconvdata/t.61.c: Likewise.
7102 * iconvdata/uhc.c: Likewise.
7103 * iconvdata/unicode.c: Likewise.
7104 * iconvdata/utf-16.c: Likewise.
7106 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
7109 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
7110 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
7112 * malloc/mcheck.h (mcheck_check_all): Declare.
7114 * stdio-common/Makefile (tests): Add tst-obprintf.
7116 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
7118 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
7119 Declare pthread_sigmask.
7121 * csu/version.c: Add 2000 to copyright years.
7122 Remove Emacs local variables section.
7124 2000-03-23 Bruno Haible <haible@clisp.cons.org>
7126 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
7127 __gconv_transform_internal_ucs2little): Remove declarations.
7128 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
7129 __gconv_transform_internal_ucs2): Never need to bswap_16.
7130 (__gconv_transform_ucs2reverse_internal,
7131 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
7133 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
7135 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
7136 obsoleting version not being defined at all, in which case the
7137 result is always true.
7139 * Makeconfig (preprocess-versions): New canned sequence for running
7140 cpp on shlib-versions and the like.
7141 (soversions.i): Use it.
7142 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
7143 Versions.def and Versions files.
7145 2000-03-27 Ulrich Drepper <drepper@redhat.com>
7147 * stdio-common/tst-obprintf.c (main): Add another check to see
7148 obstack_printf handling all possible beginnings of the block
7149 inside an obstack chunk.
7151 * locale/programs/localedef.c: Use __malloc_initialize_hook to
7152 install mcheck handler.
7154 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
7157 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
7159 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
7161 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
7162 on [HAVE_ELF && DO_VERSIONING].
7164 2000-03-27 Ulrich Drepper <drepper@redhat.com>
7166 * stdio-common/tst-obprintf.c: New file.
7168 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7170 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
7171 _IO_OVERFLOW directly instead through __overflow.
7173 * locale/programs/localedef.c (construct_output_path): If path
7174 contains a / compute the end of the directory name correctly.
7176 * include/features.h: Undef and document __USE_XOPEN2K.
7178 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
7179 whenever a function is called. Initiated by calling mcheck_pedantic
7181 * malloc/mcheck.h: Declare mcheck_pedantic.
7182 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
7183 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
7186 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
7188 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
7189 * dlfcn/dlopenold.c: Likewise.
7190 * nss/getXXbyYY_r.c: Likewise.
7191 * nss/getXXent_r.c: Likewise.
7192 * hurd/hurdinit.c: Likewise.
7193 * hurd/compat-20.c: Likewise.
7194 * libio/oldiofopen.c: Likewise.
7195 * libio/oldiofclose.c: Likewise.
7196 * libio/oldiofdopen.c: Likewise.
7197 * libio/oldfileops.c: Likewise.
7198 * libio/oldstdfiles.c: Likewise.
7199 * libio/oldiofsetpos.c: Likewise.
7200 * libio/oldiofgetpos.c: Likewise.
7201 * libio/oldiofgetpos64.c: Likewise.
7202 * libio/oldiofsetpos64.c: Likewise.
7203 * libio/oldiopopen.c: Likewise.
7204 * libio/oldpclose.c: Likewise.
7205 * libio/oldtmpfile.c: Likewise.
7206 * libio/freopen.c (freopen): Likewise.
7207 * libio/iofclose.c (_IO_new_fclose): Likewise.
7209 * sysdeps/mach/sys/reboot.h: Include <features.h>.
7210 (reboot): Declare it.
7212 * libio/Makefile (headers): Add bits/stdio-lock.h here.
7214 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
7216 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
7218 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
7219 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
7220 We need this for the sbrk decl, which can be included without Unix98.
7222 2000-03-20 Richard Henderson <rth@cygnus.com>
7224 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
7225 argument to yperr2nss is an int, not size_t.
7226 * posix/regex.c (print_partial_compiled_pattern): Cast all
7227 ptrdiff_t to long for printing.
7228 (print_compiled_pattern): Use Z for printing size_t.
7229 * posix/testfnm.c (tests): Avoid trigraphs.
7230 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7231 Use a C comment, not an assembly comment.
7233 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
7234 of __ASSUME_32BITUIDS.
7236 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7238 * libio/iofopncook.c: Remove K&R prototypes.
7240 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
7242 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
7243 an initial value of 1024 instead of RLIM_INFINITY.
7245 * Versions.def (libmachuser, libhurduser): Remove these sections,
7246 since these libraries do not presently use symbol versions.
7248 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
7249 is RLIM_INFINITY, return -1 instead.
7251 2000-03-24 Andreas Jaeger <aj@suse.de>
7253 * Makefile (postclean): Added soversions.i.
7255 2000-03-24 Scott Bambrough <scottb@netwinder.org>
7257 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
7258 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
7259 and _FPU_IEEE. Change _FPU_RESERVED.
7261 2000-03-24 Scott Bambrough <scottb@netwinder.org>
7263 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
7265 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7267 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
7268 (gaih_inet): Remove unused duplicate variable.
7270 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
7271 Don't use __libc_sa_len, which only exists for Linux. Just handle
7272 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
7273 only flavors supported by this function anyway.
7275 2000-03-24 Geoff Clare <gwc@unisoft.com>
7277 * stdlib/strfmon.c: Corrected problems with missing signs and
7278 missing or extra spaces; allow for sign strings longer than
7279 one character; add padding to ensure positive and negative
7280 formats are aligned when a left precision is used.
7282 2000-03-26 Ulrich Drepper <drepper@redhat.com>
7284 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
7285 Patch by John Mizel <John.Mizel@msdw.com>.
7287 2000-03-25 Ulrich Drepper <drepper@redhat.com>
7289 * manual/install.texi: Remove references to crypt add-on.
7291 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
7293 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
7294 section while taking the _hurd_rlimit_lock.
7295 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7297 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
7299 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
7302 * sysdeps/mach/hurd/if_index.c: New file.
7304 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
7305 * sysdeps/gnu/net/if.h: here.
7306 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
7307 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
7308 * sysdeps/generic/net/if.h: New file. Declares just the standard
7309 functions and `struct if_nameindex' type.
7310 * socket/Makefile (headers): Add net/if.h here.
7311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
7312 * sysdeps/mach/hurd/Dist: Remove it here.
7313 * sysdeps/unix/sysv/linux/Dist: And here.
7314 * sysdeps/generic/if_index.c: Include <net/if.h>.
7316 2000-03-24 Andreas Jaeger <aj@suse.de>
7318 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
7319 access relocated entries in l_info.
7320 (elf_machine_got_rel): Likewise.
7321 (elf_machine_runtime_setup): Likewise.
7322 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
7323 (elf_machine_runtime_setup): Likewise.
7324 (__dl_runtime_resolve): Likewise.
7326 2000-03-23 Ulrich Drepper <drepper@redhat.com>
7328 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
7329 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
7330 according to RFC 2553.
7331 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
7332 * inet/getnameinfo.c: Likewise.
7333 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7335 2000-03-23 Bruno Haible <haible@clisp.cons.org>
7337 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
7338 Remove no-op pointer increment.
7340 2000-03-23 Andreas Jaeger <aj@suse.de>
7342 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
7343 follow change for libio.h from 2000-03-10.
7345 2000-03-23 Andreas Jaeger <aj@suse.de>
7347 * elf/dl-addr.c: Adjust include paths for ldsodefs location
7349 * elf/dl-debug.c: Likewise.
7350 * elf/dl-deps.c: Likewise.
7351 * elf/dl-error.c: Likewise.
7352 * elf/dl-fini.c: Likewise.
7353 * elf/dl-init.c: Likewise.
7354 * elf/dl-load.c: Likewise.
7355 * elf/dl-lookup.c: Likewise.
7356 * elf/dl-minimal.c: Likewise.
7357 * elf/dl-object.c: Likewise.
7358 * elf/dl-open.c: Likewise.
7359 * elf/dl-preinit.c: Likewise.
7360 * elf/dl-profile.c: Likewise.
7361 * elf/dl-profstub.c: Likewise.
7362 * elf/dl-reloc.c: Likewise.
7363 * elf/dl-runtime.c: Likewise.
7364 * elf/dl-support.c: Likewise.
7365 * elf/dl-symbol.c: Likewise.
7366 * elf/dl-version.c: Likewise.
7367 * elf/rtld.c: Likewise.
7368 * elf/sprof.c: Likewise.
7369 * sysdeps/generic/dl-cache.c: Likewise.
7370 * sysdeps/generic/dl-origin.c: Likewise.
7371 * sysdeps/generic/dl-sysdep.c: Likewise.
7372 * sysdeps/generic/elf/backtracesyms.c: Likewise.
7373 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7374 * sysdeps/generic/libc-start.c: Likewise.
7375 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7376 * sysdeps/powerpc/dl-machine.c: Likewise.
7377 * sysdeps/powerpc/elf/libc-start.c: Likewise.
7378 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7379 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7380 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
7382 * elf/ldsodefs.h: Move file to ...
7383 * sysdeps/generic/ldsodefs.h: ... here.
7385 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7387 * sysdeps/mips/elf/ldsodefs.h: New file.
7389 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
7391 (_dl_check_map_versions): Likewise.
7392 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7393 * elf/dl-load.c (_dl_init_paths): Likewise.
7394 (_dl_map_object): Likewise.
7395 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
7396 (elf_get_dynamic_info): Likewise.
7397 * elf/do-lookup.h (FCT): Likewise.
7398 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
7399 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7400 * elf/dl-addr.c (_dl_addr): Likewise.
7401 * elf/dl-runtime.c (profile_fixup): Likewise.
7403 * elf/dl-init.c (_dl_init_next): Likewise.
7404 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
7405 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
7406 (DISTINGUISH_LIB_VERSIONS): Likewise.
7407 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
7408 (elf_machine_rel): Likewise.
7410 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
7411 for writable dynamic section.
7413 2000-03-22 Ulrich Drepper <drepper@redhat.com>
7415 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
7416 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
7418 2000-03-22 Andreas Jaeger <aj@suse.de>
7420 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
7421 from latest Linux kernel.
7423 2000-03-21 Andreas Jaeger <aj@suse.de>
7425 * Versions.def: Add version 2.1.4.
7427 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7429 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
7430 * libio/oldiofopen.c: Likewise.
7431 * libio/oldiofclose.c: Likewise.
7432 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7434 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
7436 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
7437 indicating the first version set to obsolete the conditionalized code.
7438 (compat_symbol): New macro.
7439 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
7440 rhs be the ABI_* macro for the subsuming version. Assign increasing
7441 integer values to the ABI_* macros for supported versions.
7442 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
7443 compat_symbol macro.
7445 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7447 * nscd/connections.c (nscd_run): Pretty print.
7448 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
7450 * manual/charset.texi: Fix typos. Rephrase.
7451 * manual/process.texi: Likewise.
7452 * manual/signal.texi: Likewise.
7453 Patches by Mike Coleman <mkc@kc.net>.
7455 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
7457 * libio/iofdopen.c: Likewise.
7458 * libio/iofgetpos.c: Likewise.
7459 * libio/iofgetpos64.c: Likewise.
7460 * libio/iofopen.c: Likewise.
7461 * libio/iofsetpos.c: Likewise.
7462 * libio/iofsetpos64.c: Likewise.
7463 * libio/iopopen.c: Likewise.
7464 * libio/oldiofopen.c: Likewise.
7465 * libio/pclose.c: Likewise.
7466 * sysdeps/gnu/siglist.c: Likewise.
7467 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
7469 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
7470 chance to expand VERSION_##lib##_##version.
7472 * libio/fileops.c: Use new macros from shlib-compat.h to define
7474 * libio/iofclose.c: Likewise.
7475 * libio/oldiofclose.c: Likewise.
7476 Patch by Roland McGrath <roland@frob.com>.
7478 2000-03-21 Jakub Jelinek <jakub@redhat.com>
7480 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
7481 Lay out struct sigcontext according to what really gets passed on
7483 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
7484 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
7485 (prgregset_t, prfpregset_t): Define to elf_* types.
7486 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
7487 Define to correct value.
7488 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
7490 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
7492 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
7494 * scripts/firstversions.awk: Allow multiple version sets in the
7495 "earliest version" specification, meaning that version sets in the
7496 gaps between listed versions should be folded into the earliest later
7497 version that is explicitly listed.
7498 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
7499 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
7501 2000-03-21 Ulrich Drepper <drepper@redhat.com>
7503 * iconv/gconv_builtin.c: Include <endian.h>.
7504 * iconv/gconv_builtin.h: Add UCS-BE aliases.
7505 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
7506 according to current platform.
7507 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
7508 __gconv_transform_internal_ucs2reverse, and
7509 __gconv_transform_internal_ucs4le.
7510 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
7511 __gconv_transform_ucs2reverse_internal and
7512 __gconv_transform_internal_ucs2reverse.
7513 * iconvdata/Makefile (modules): Add UNICODE.
7514 (distribute): Add unicode.c.
7515 * iconvdata/gconv-modules: Add definitions for UNICODE module.
7516 * iconvdata/unicode.c: New file.
7518 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
7519 determine byte order of input and convert accordingly.
7521 * iconvdata/utf-16.c (gconv_init): Fix typo.
7523 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7525 * iconvdata/gconv-modules: Fix typo.
7527 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
7530 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
7532 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7534 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
7536 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7538 * misc/Makefile (routines): Add mincore.
7540 2000-03-20 Andreas Jaeger <aj@suse.de>
7542 * sysdeps/generic/mincore.c: New stub file.
7544 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
7545 from latest Linux kernel.
7547 2000-03-20 Ulrich Drepper <drepper@redhat.com>
7549 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
7550 _SC_GETPW_R_SIZE_MAX.
7552 2000-03-20 Richard Henderson <rth@cygnus.com>
7554 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
7557 2000-03-20 Richard Henderson <rth@cygnus.com>
7559 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
7560 of arithmetic instructions.
7562 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
7563 with the fpcr. Protect from INV exception.
7564 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
7565 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
7566 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
7568 * sysdeps/alpha/fpu/s_copysign.c: New.
7569 * sysdeps/alpha/fpu/s_copysignf.c: New.
7570 * sysdeps/alpha/fpu/s_fabs.c: New.
7571 * sysdeps/alpha/fpu/s_fabsf.c: New.
7572 * sysdeps/alpha/fpu/s_rint.c: New.
7573 * sysdeps/alpha/fpu/s_rintf.c: New.
7575 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
7577 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7579 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
7580 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
7581 Use physical addresses not KSEG addresses.
7582 (io_system): Add PYXIS.
7583 (io): Remove hae.reg, sys, hae_shift.
7584 (stb_mb, stw_mb, stl_mb, __sethae): New.
7585 (inline_outb, inline_outw, inline_outl): Don't set hae.
7586 (inline_inb, inline_inw, inline_inl): Likewise.
7587 (dense_sethae): New null function.
7588 (struct cpuinfo_data): New.
7589 (process_cpuinfo): Use local and stack variables, not static.
7590 Move readlink check here from init_iosys.
7591 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
7593 (_hae_shift): Calculate it here.
7594 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
7595 add pciconfig_iobase.
7597 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
7599 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
7600 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
7602 * scripts/versions.awk: Fixed version renaming code to distinguish
7605 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7607 * include/stdlib.h: Add prototype for __cxa_atexit.
7609 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
7610 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
7612 2000-03-17 Cristian Gafton <gafton@redhat.com>
7614 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
7615 existing rtld-installed-name.
7616 ($(rtld-installed-name)): Request libc-$(version) be installed too.
7617 replace existing rtld-installed-name using $(symbolic-link-prog).
7619 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7621 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
7622 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
7623 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
7626 2000-03-19 Ulrich Drepper <drepper@redhat.com>
7628 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
7629 glob64. Since there is no glob64 in the LFS proposal applications
7630 can assume that glob handles LFS situations. glob64 is only needed
7631 if alternative filesystem functions are used.
7633 2000-03-19 Geoff Clare <gwc@unisoft.com>
7635 * sysdeps/generic/glob.c: Correct gl_pathc value returned
7636 when GLOB_DOOFFS is set; correct handling of patterns
7637 containing escaped wildcards (and no unescaped ones);
7638 GLOB_ERR flag was being ignored in some situations.
7640 * posix/globtest.c, posix/globtest.sh: Updated to include
7641 tests for the problems fixed by the above changes to glob.c.
7643 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
7645 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
7647 * Makeconfig (soversion.i): Use only first match for each lib.
7649 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
7651 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
7652 rather than $(sysd-dirs-done) to protect these rules.
7654 * Makerules (version-renames.def): Target removed.
7655 (Versions.all): Depend on soversions.i directly and parse it.
7657 * Makeconfig (soversions.i): New target, input-reading parts of
7658 soversions.mk generation moved here; result is a canonicalized
7659 list "LIB VERSION [SET]" for this configuration.
7660 (soversions.mk): Use that as input. Don't emit map-firstversions.
7661 * Makerules (version-renames.def): New target, generated from
7662 soversions.i with contents that was in $(map-firstversions).
7663 (Versions.all): Don't depend on soversions.mk, depend on
7664 version-renames.def instead; just cat it into the input.
7666 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
7667 for $(map-firstversions), which better handles it being empty.
7669 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
7670 supported version for libc 0.2.90.libio to GLIBC_2.2.
7672 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
7673 and use it to emit new variable `map-firstversions'.
7674 * scripts/firstversions.awk: New file.
7675 * Makerules (Versions.all): Use scripts/firstversions.awk and
7676 the $(map-firstversions) value to generate a modified versions list
7677 that includes renames in "A = B" syntax for each version set earlier
7678 than the "earliest symbol version" named in shlib-versions.
7679 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
7680 rename version set A to B in the output to the intermediate file.
7681 * scripts/abi-versions.awk: New file.
7682 * Makerules (abi-versions.h): New target, generated by that script.
7683 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
7684 * include/shlib-compat.h: New file, uses that generated header.
7686 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
7688 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
7689 after stripping # comments, and then run it through cpp.
7690 This allows things like "%ifdef FOO" based on config.h settings.
7691 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
7693 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
7694 and other errors that indicate a pseudo-receive happened, grok through
7695 the message buffer for port rights that need references fixed up.
7697 2000-03-16 Andreas Jaeger <aj@suse.de>
7699 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
7701 * sysdeps/unix/sysv/linux/madvise.c: Remove.
7703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
7704 from latest Linux kernel.
7705 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
7707 * misc/sys/mman.h: Add prototype for mincore.
7709 2000-03-17 Ulrich Drepper <drepper@redhat.com>
7711 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
7712 entry for GLIBC_2.0 version of setrlimit.
7713 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7715 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7717 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
7718 * nis/nss_compat/compat-initgroups.c: Likewise.
7719 * nis/nss_nis/nis-initgroups.c: Likewise.
7720 * nis/nss_nis/nis-netgrp.c: Likewise.
7721 * nis/nss_nis/nis-proto.c: Likewise.
7722 * nis/nss_nis/nis-rpc.c: Likewise.
7723 * nis/nss_nis/nis-service.c: Likewise.
7724 * nis/ypclnt.c: Likewise.
7726 2000-03-16 Andreas Jaeger <aj@suse.de>
7728 * manual/Makefile: MAKEINFO is set to `:' from configure if it
7729 doesn't exist, correct checks. Fixes PR libc/1649.
7731 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
7733 * nscd/hstcache.c: Restore correct UID.
7734 * nscd/pwdcache.c: Likewise.
7735 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
7737 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
7739 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
7740 macros for register names, in line with 2000-03-14 linux change.
7742 * sysdeps/mach/sched_yield.c: New file.
7744 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
7746 * sysdeps/generic/lockfile.c: Include <stdio.h>
7747 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
7748 case <libio.h> defined them.
7749 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
7751 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
7752 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
7754 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
7755 for more pleasing parse error.
7757 2000-03-16 Ulrich Drepper <drepper@redhat.com>
7759 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
7761 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
7763 * elf/Makefile: Add rules to compile and run constload1 test.
7764 * elf/constload1.c: New file.
7765 * elf/constload2.c: New file.
7766 * elf/constload3.c: New file.
7768 2000-03-15 Ulrich Drepper <drepper@redhat.com>
7770 * sysdeps/posix/open64.c: Make __open64 weak alias.
7771 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
7772 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7773 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
7774 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7775 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
7776 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
7777 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7778 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7779 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7780 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
7782 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7784 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
7785 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
7787 2000-03-16 Mark Kettenis <kettenis@gnu.org>
7789 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
7790 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
7792 2000-03-08 Andreas Jaeger <aj@suse.de>
7794 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
7796 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7798 * timezone/africa: Update from tzdata2000d.
7799 * timezone/asia: Likewise.
7800 * timezone/australasia: Likewise.
7801 * timezone/europe: Likewise.
7802 * timezone/northamerica: Likewise.
7803 * timezone/southamerica: Likewise.
7805 * po/fr.po: Update from translation team.
7806 * po/de.po: Likewise.
7808 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
7809 last parameter. Move code to add map to global scope from here...
7810 * elf/dl-open.c (dl_open_worker): ...here.
7811 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
7812 * elf/rtld.c: Adjust call to _dl_map_object_deps.
7814 * locale/programs/ld-collate.c (collate_read): Fix warning.
7816 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
7817 values and macros for register names.
7819 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
7820 returned by seek cookie function is -1.
7822 2000-03-14 Andreas Jaeger <aj@suse.de>
7824 * locale/localeconv.c (localeconv): Fix typo.
7825 Reported by Andre Charbonneau <andrec@corel.com>.
7827 2000-03-14 Ulrich Drepper <drepper@redhat.com>
7829 * iconv/skeleton.c: Increment __invocation_counter in inner loop
7830 since modules depend on it counting the number of times the conversion
7831 function got called.
7833 * iconv/gconv_open.c: Optimize loop to setup step data structure.
7835 * iconv/gconv.h: Pretty print.
7837 2000-03-04 Ulrich Drepper <drepper@redhat.com>
7839 * posix/wordexp-test.c: Correct one of the tests added in the last
7840 change. Really get the root passwd entry to check again ~root.
7842 2000-03-10 Andreas Jaeger <aj@suse.de>
7844 * manual/filesys.texi (Working Directory): Fix last patch.
7845 Patch by Martin Buchholz <martin@xemacs.org>.
7847 2000-03-10 Andreas Jaeger <aj@suse.de>
7849 * manual/creature.texi (Feature Test Macros): Fix language.
7851 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
7853 * mach/devstream.c (devstream_write, devstream_read): New functions.
7854 (input, output): Functions removed.
7855 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
7856 using only the vanilla fopencookie interface.
7858 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
7859 as macro for __io_functions.
7860 (funcsio): Use cookie_io_functions_t type name.
7861 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
7863 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
7865 (fopencookie): Use it.
7866 * libio/libio.h: Declare _IO_cookie_init.
7867 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
7870 * libio/libio.h (__io_seek_fn): Fix second argument type
7871 to be a pointer, in line with the manual and the old stdio.
7872 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
7874 * sysdeps/generic/bits/stdio-lock.h: New file.
7875 This is a stub with #error, but that's better than no file at all.
7877 2000-03-09 Martin Buchholz <martin@xemacs.org>
7879 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
7880 * manual/message.texi (Using gettextized software): Doc Fixes.
7881 * manual/message.texi (Message Translation): Doc Fixes.
7882 * manual/filesys.texi (File Size): Doc Fixes.
7883 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
7884 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
7885 * iconv/gconv_db.c (find_derivation): Doc Fixes.
7886 * manual/install.texi: Doc Fixes.
7887 * manual/search.texi (Hash Search Function): Doc Fixes.
7888 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
7889 * FAQ.in: Doc Fixes.
7890 * config.h.in: Doc Fixes.
7891 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
7892 Doc Fixes. `allows to' is not correct English.
7894 * elf/rtld.c: Doc fixes.
7895 * manual/creature.texi (Feature Test Macros): Doc fixes.
7896 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
7898 * manual/filesys.texi (Working Directory): Check for ERANGE to
7901 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7903 * string/argz-stringify.c (__argz_stringify): Fix loop termination
7904 conditions so as not to clobber the final '\0' when there is only one
7905 element in the vector.
7907 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7909 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
7910 broken by 2000-02-27 change.
7912 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
7914 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
7916 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
7917 argument type, for 2000-02-22 change in signal/signal.h declaration.
7919 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
7921 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
7922 to getdirentries64 (no __), since the Linux implementation
7923 has no __ name, and there is no declaration for the __ name.
7925 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
7927 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
7928 sed regexp so as not to break directory names including /../ within.
7930 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
7931 The sysdeps/generic file is right for BSD. This file was in fact the
7932 Hurd file, but the only difference was the WNOREAP flag that was never
7933 actually implemented or used anywhere.
7935 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
7936 since AC_PATH_PROG already does it for us.
7937 (PERL): Rewrite check added in 2000-02-29 change for syntactic
7938 correctness and sh portability. I replaced the broken check
7939 with a more sensible implementation of the apparently intended
7940 semantics, which might still be questionable. Using expr causes
7941 a non-numeric value for `perl -V:apiversion` to be accepted,
7942 refusing to use only a perl that reports a number less than 5;
7943 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
7944 * configure: Regenerated.
7946 2000-03-08 Andreas Jaeger <aj@suse.de>
7948 * manual/crypt.texi: Fix paths.
7950 2000-03-07 Andreas Jaeger <aj@suse.de>
7952 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
7954 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
7957 2000-03-06 Andreas Jaeger <aj@suse.de>
7959 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
7960 in __sgn1l, otherwise g++ fails to parse this.
7961 Reported by Sean Chen <sean.chen@turbolinux.com>.
7963 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7965 * configure.in: Compute sizeof-long-double.
7966 * configure: Regenerated.
7967 * config.make.in: Make sizeof-long-double available to sub-makes.
7969 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
7971 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
7974 2000-03-03 Geoff Keating <geoffk@cygnus.com>
7976 * Makeconfig (rpath-dirs): Add crypt.
7977 (all-subdirs): Remove md5crypt.
7978 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
7979 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
7980 * sysdeps/generic/crypt-entry.c: Delete.
7981 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
7982 * sysdeps/generic/crypt.h: Delete.
7983 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
7984 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
7985 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
7986 * sysdeps/generic/des_impl.c: Delete.
7987 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
7988 * crypt/sysdeps: Delete.
7989 * crypt/crypt_util.c: Don't use `patchlevel.h'.
7990 * md5-crypt/Versions: Move to crypt/.
7991 * md5-crypt/md5-crypt.c: Move to crypt/.
7992 * md5-crypt/md5.c: Move to crypt/.
7993 * md5-crypt/md5c-test.c: Move to crypt/.
7994 * md5-crypt/md5test.c: Move to crypt/.
7995 * md5-crypt: Delete.
7996 * crypt/Makefile: Adjust for new structure.
7998 2000-03-03 Paul Eggert <eggert@twinsun.com>
8000 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
8001 define to 1 if not defined.
8003 2000-03-03 Andreas Jaeger <aj@suse.de>
8005 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
8007 2000-03-03 Andreas Jaeger <aj@suse.de>
8009 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
8011 (xdr_int64_t): Correctly handle lower half.
8012 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
8014 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
8016 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
8019 2000-03-02 Andreas Jaeger <aj@suse.de>
8021 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
8024 2000-03-02 Andreas Jaeger <aj@suse.de>
8026 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
8028 2000-03-01 Andreas Jaeger <aj@suse.de>
8030 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
8031 (tests): Added tst-getdate.
8033 * time/tst-getdate.c: New file.
8035 * time/datemsk: New file, needed for tst-getdate.
8037 2000-02-29 Cristian Gafton <gafton@redhat.com>
8039 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
8041 2000-02-17 H.J. Lu <hjl@gnu.org>
8043 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
8045 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
8047 (svcudp_recv): Set up message with the new "xp_pad" field for
8049 (svcudp_reply): Support IP_PKTINFO if available.
8051 2000-03-01 Andreas Jaeger <aj@suse.de>
8053 * time/getdate.c (check_mday): Fix check for february.
8054 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
8055 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
8057 2000-03-02 Andreas Jaeger <aj@suse.de>
8059 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
8060 g++ fails to parse this.
8061 Reported by Sean Chen <sean.chen@turbolinux.com>.
8063 2000-02-28 Ulrich Drepper <drepper@redhat.com>
8065 * io/creat.c: Moved to...
8066 * sysdeps/generic/creat.c: ...here.
8067 * io/creat64.c: Moved to...
8068 * sysdeps/generic/creat64.c: ...here.
8069 * io/lockf.c: Moved to...
8070 * sysdeps/generic/lockf.c: ...here.
8072 * crypt/crypt.texi: Moved to...
8073 * manual/crypt.texi: ...here.
8074 * crypt/examples/genpass.c: Moved to...
8075 * manual/examples/genpass.c: ...here.
8076 * crypt/examples/mygenpass.c: Moved to...
8077 * manual/examples/mygenpass.c: ...here.
8078 * crypt/examples/testpass.c: Moved to...
8079 * manual/examples/testpass.c: ...here.
8081 * manual/Makefile (chapters): Add crypt.
8082 * manual/conf.texi: Add usual header for not-last chapter.
8083 * manual/crypt.texi: Add special header for last chapter.
8085 2000-02-28 Geoff Keating <geoffk@cygnus.com>
8087 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
8088 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
8089 complain if there is no crypt add-on.
8090 * crypt/configure: Removed.
8092 * crypt/crypt.texi: Update documentation of US export restrictions
8093 to match the 14 Jan 2000 regulations.
8095 2000-02-28 Geoff Keating <geoffk@cygnus.com>
8097 * crypt: New subdirectory, merged in from the crypt add-on.
8099 2000-02-28 Ulrich Drepper <drepper@redhat.com>
8101 * include/unistd.h: Add __rmdir and __mkdir prototypes.
8104 See ChangeLog.10 for earlier changes.