1 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
3 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
4 for field-splitting :abc: is correct, and that two fields should
5 result. Revert tests to reflect this.
7 * posix/wordexp.c (w_emptyword): Remove function.
8 (exec_comm): Don't use w_emptyword.
9 (parse_param): Likewise.
11 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
13 * sysdeps/arm/fpu/Dist: Moved to...
14 * sysdeps/arm/Dist: ...here.
15 * sysdeps/posix/Dist: Removed.
16 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
17 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
19 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
21 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
23 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
25 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
27 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
29 * libc-work/nis/nss_nisplus/nisplus-service.c
30 (_nss_nisplus_parse_servent): Convert port in network byte order.
32 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
34 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
35 to provide only malloc and calloc.
36 * include/stdlib.h: Support the above.
37 * string/bits/string2.h: Use __need_malloc_and_calloc when
39 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
41 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
42 * iconvdata/iso646.c: Include <stdlib.h>.
44 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
46 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
47 * sysdeps/libm-ieee754/w_pow.c: Likewise.
48 * sysdeps/libm-ieee754/w_powf.c: Likewise.
49 * sysdeps/libm-ieee754/w_powl.c: Likewise.
51 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
53 * stdio-common/stdio_lim.h.in: New file. All parameters
54 are adjustable at build time.
55 * Rules: Add a rule to build bits/stdio_lim.h from
56 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
57 all subdirectories know how to make the file. It can't be
58 in Makerules because then it gets built at top level and the
59 dependencies are wrong.)
61 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
62 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
64 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
65 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
66 * sysdeps/posix/Makefile: Removed.
67 * sysdeps/posix/mk-stdiolim.c: Removed.
68 * sysdeps/generic/bits/stdio_lim.h: Removed.
70 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
72 * argp/argp-help.c: Fixup indentation.
73 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
74 * resolv/nss_dns/dns-network.c: Likewise.
75 * resolv/res_send.c: Likewise.
76 * rt/aio_cancel.c: Likewise.
77 * rt/aio_misc.c: Likewise.
79 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
81 * Makefile (install-symbolic-link): Remove the link list file at last.
82 * Makerules (install-clean-symbolic-link-list): Removed.
84 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
86 * timezone/tst-timezone.c: Print time in UTC to get consistent
89 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
91 * elf/rtld.c (_dl_rpath): Removed.
92 * elf/dl-support.c (_dl_path): Removed.
93 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
94 (CFLAGS-dl-support.c): Removed.
96 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
98 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
99 instead of appending it to the main map's rpath info.
100 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
101 DT_RPATHs. This makes it effective again.
102 (decompose_rpath): Remove second parameter, callers changed.
103 (fillin_rpath): Allocate enough space in curwd.
104 (expand_dynamic_string_token): Cope with get_origin returning -1.
106 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
108 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
111 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
114 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
116 * locale/programs/locale.c: Update dates.
118 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
120 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
121 size_t is defined. Some reordering of defenitions to make
122 maintaining this file in parallel with the linux-specific file easier.
124 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
126 * io/pwd.c (main): Add call to mtrace.
128 * malloc/mtrace.pl: Quote @ in string.
130 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
132 * posix/wordexp.c (parse_arith): Fix memory leaks.
133 (exec_comm): Likewise.
134 (parse_param): Likewise.
136 (exec_comm): Reduce number of function return points.
137 (parse_param): Likewise.
140 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
142 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
143 yield three fields, not two. Test both parameter expansion and
144 command substitution for correct field-splitting behaviour.
146 * posix/wordexp.c (w_emptyword): New function.
147 (parse_param): Use it.
148 (exec_comm): Likewise, for consistency with the way parse_param
150 (parse_param): Fix some memory leaks.
152 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
154 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
155 Don't mark asm `volatile'.
156 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
157 from the data cache too. Assume it isn't in the instruction cache yet.
158 (__elf_machine_fixup_plt): Clear the modified address from the caches.
160 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
162 * sysdeps/generic/segfault.c (install_handler): Install signal
163 handler with SA_ONSTACK instead of setting the stack flags to
164 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
167 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
169 * signal/signal.h: Fix multiple inclusion guard to cover the
171 * wcsmbs/wchar.h: Remove prototype of internal function
173 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
174 arithmetic on `void *'.
176 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
178 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
180 * posix/wordexp.c (wordexp): Perform word-splitting instead of
181 field-splitting here.
182 (wordexp): If out of memory mid-word, free the word (but still
183 leave pwordexp alone for caller to see).
184 (parse_param): Allow for zero-length fields (smarter checking of
185 memory allocation failure).
186 (w_addword): Convert NULL words to "".
187 (wordexp): Convert left-over IFS characters to blanks (like bash).
189 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
191 * configure.in: Use test -f instead of test -e.
192 Patch by John Tobey <jtobey@banta-im.com>.
194 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
195 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
196 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
197 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
198 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
199 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
200 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
201 Patches by John Tobey <jtobey@banta-im.com>.
203 * time/strftime.c (my_strftime): Delay use of *tp values until
204 latest possible point to allow partly initialized structures
205 (e.g., from strptime).
207 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
209 Define *-routines variables for new modules.
210 (distribute): Add .c files for new modules.
211 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
213 Add rules for header generation.
214 * iconvdata/gconv-modules: Add entries for new modules.
215 * iconvdata/iso_10367-box.c: New file.
216 * iconvdata/mac-is.c: New file.
217 * iconvdata/nats-dano.c: New file.
218 * iconvdata/nats-sefi.c: New file.
220 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
222 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
223 loader if PIC is not defined.
225 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
227 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
228 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
229 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
231 Define *-routines variables for new modules.
232 (distribute): Add .c files for new modules.
233 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
234 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
235 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
236 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
237 Add rules for header generation.
238 * iconvdata/gconv-modules: Add entries for new modules.
239 * iconvdata/csn_369103.c: New file.
240 * iconvdata/cwi.c: New file.
241 * iconvdata/dec-mcs.c: New file.
242 * iconvdata/ecma-cyrillic.c: New file.
243 * iconvdata/gost_19768-74.c: New file.
244 * iconvdata/greek-ccitt.c: New file.
245 * iconvdata/greek7-old.c: New file.
246 * iconvdata/greek7.c: New file.
247 * iconvdata/inis-8.c: New file.
248 * iconvdata/inis-cyrillic.c: New file.
249 * iconvdata/inis.c: New file.
250 * iconvdata/iso6937-2.c: New file.
251 * iconvdata/iso_2033.c: New file.
252 * iconvdata/iso_5427-ext.c: New file.
253 * iconvdata/iso_5427.c: New file.
254 * iconvdata/iso_5428.c: New file.
256 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
258 Convert U02dd correctly.
260 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
262 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
263 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
264 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
265 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
267 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
269 * resolv/res_init.c (res_init): Handle resolv.conf file with only
270 one nameserver correctly. Patch by HJ Lu.
272 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
274 Define *-routines variables for new modules.
275 (distribute): Add .c files for new modules.
276 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
277 Add rules for hedaer generation.
278 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
279 * iconvdata/ansi_x3.110.c: New file.
280 * iconvdata/asmo_449.c: New file.
281 * iconvdata/baltic.c: New file.
282 * iconvdata/iec_p27-1.c: New file.
284 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
286 Convert U02dc correctly.
288 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
289 * math/atest-exp2.c: Likewise.
290 * math/atest-sincos.c: Likewise.
292 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
295 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
297 * string/strcoll.c: Optimize a few expressions.
298 * string/strxfrm.c: Likewise.
300 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
302 * manual/locale.texi: Fix typos.
304 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
306 * stdlib/random_r.c (__setstate_r): Allow call with same state
307 array as currently used (PR libc/774).
309 * include/limits.h: Include gcc's header even if this file is
310 found more than once before it (PR libc/778)
312 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
313 (sysdep_headers): Remove sys/debugreg.h.
314 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
315 (sysdep_headers): Add sys/debugreg.h.
316 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
317 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
319 * stdio-common/tmpnam.c: Move local static variable buf to
320 toplevel and rename to tmpnam_buffer to ease debugging.
321 Patch by Joe Keane <jgk@jgk.org>.
322 Optimize s == NULL case a bit.
324 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
327 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
329 * resolv/res_init.c (res_init): Initialize _res.nscount and
330 _res.nsaddr.sin_port differently for the can when no loopback
331 is available to allow immediate timeout in non-networking environments.
332 Patch by Cristian Gafton <gafton@redhat.com>.
334 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
336 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
338 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
339 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
342 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
344 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
346 * timezone/tst-timezone.c (tests): Fix typo in last patch.
348 * time/tzfile.c (__tzfile_read): Handle case when there are no
349 transitions. Set __timezone based on computed offset.
350 * time/tzset.c (tzset_internal): Set __timezone before returning.
352 * time/tzset.c (tzset_internal): Optimize handling of local string
355 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
357 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
360 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
362 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
363 (csqrt_test): Likewise.
364 * sysdeps/powerpc/bits/fenv.h: Add parens.
366 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
368 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
369 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
370 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
372 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
374 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
375 the special `-1' pointer.
377 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
379 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
382 1998-09-07 Paul Eggert <eggert@twinsun.com>
384 * time/mktime.c (__EXTENSIONS__): Define if not defined.
385 (_REENTRANT): Remove. It has undesirable consequences in
386 Solaris 2.6 (e.g. it turns off the putc macro). Defining
387 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
389 * time/strftime.c: Likewise.
391 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
393 * elf/dl-error.c: Fix spelling.
395 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
397 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
398 * stdio-common/_itoa.c: Likewise.
399 * stdio-common/printf_fp.c: Likewise.
400 * stdio-common/vfscanf.c: Likewise.
401 * wcsmbs/wcstok.c: Likewise.
402 * sysdeps/generic/glob.c: Likewise.
403 * posix/getopt.c: Likewise.
404 * sysdeps/posix/getaddrinfo.c: Likewise.
405 * posix/wordexp.c: Likewise.
406 * io/ftw.c: Likewise.
407 * io/fts.c: Likewise.
408 * misc/getpass.c: Likewise.
409 * iconv/gconv_conf.c: Likewise.
410 * argp/argp-fmtstream.c: Likewise.
411 * argp/argp-help.c: Likewise.
412 * elf/dl-load.c: Likewise.
413 * locale/programs/stringtrans.c: Likewise.
414 * catgets/gencat.c: Likewise.
415 * posix/getconf.c: Likewise.
416 * iconv/gconv_conf.c: Likewise.
417 * iconv/iconv_prog.c: Likewise.
419 * string/strcoll.c: Optimize a few expressions.
420 * string/strxfrm.c: Likewise.
422 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
424 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
425 level to avoid uninit variable warning.
427 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
429 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
430 instead of _dl_default_scope[2] as argument to _dl_init_next.
432 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
435 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
437 Fix compatibility problems introduced in last change.
438 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
440 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
441 -DWEAK_GMON_START to CFLAGS-initfini.s.
443 * elf/dl-object.c (_dl_new_object): Store map address in
444 _dl_loaded if _dl_loaded is NULL.
445 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
447 * sysdeps/generic/setrlimit64.c: Remove stub warning.
449 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
451 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
453 * db2/btree/bt_cursor.c: Likewise.
454 * db2/common/db_region.db_c: Likewise.
455 * db2/common/db_salloc.db_c: Likewise.
456 * db2/db/db.c: Likewise.
457 * db2/db/db_rec.c: Likewise.
458 * db2/hash/hash.c: Likewise.
459 * db2/hash/hash_page.c: Likewise.
460 * db2/hash/hash_rec.c: Likewise.
461 * db2/log/log_findckp.c: Likewise.
462 * db2/log/log_get.c: Likewise.
463 * db2/log/log_put.c: Likewise.
464 * db2/mp/mp_fget.c: Likewise.
465 * db2/mp/mp_fput.c: Likewise.
466 * db2/mp/mp_region.c: Likewise.
467 * stdlib/strtol.c: Likewise.
468 * string/strcoll.c: Likewise.
469 * string/strxfrm.c: Likewise.
470 * argp/argp-help.c: Likewise.
471 * argp/argp-parse.c: Likewise.
472 * resolv/res_debug.c: Likewise.
474 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
476 * math/tgmath.h (scalb): Only define for __USE_MISC or
477 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
479 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
481 * libio/stdio.h: Fix comment.
483 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
486 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
488 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
490 * elf/dl-open.c: Quiet -Wparentheses warnings.
491 * iconvdata/johab.c: Likewise.
492 * iconvdata/uhc.c: Likewise.
493 * inet/inet_net.c: Likewise.
494 * io/fts.c: Likewise.
495 * locale/newlocale.c: Likewise.
496 * misc/getttyent.c: Likewise.
497 * misc/mntent_r.c: Likewise.
498 * misc/ttyslot.c: Likewise.
499 * nscd/nscd_conf.c: Likewise.
500 * nss/nsswitch.c: Likewise.
501 * resolv/gethnamaddr.c: Likewise.
502 * resolv/nsap_addr.c: Likewise.
503 * resolv/res_debug.c: Likewise.
504 * stdio-common/_itoa.c: Likewise.
505 * stdlib/strtod.c: Likewise.
506 * string/strverscmp.c: Likewise.
507 * sunrpc/svc.c: Likewise.
508 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
509 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
510 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
511 * sysdeps/posix/getaddrinfo.c: Likewise.
513 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
515 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
516 for use of global scope.
517 * elf/dlvsym.c (dlvsym_doit): Likewise.
519 1998-09-02 Paul Eggert <eggert@twinsun.com>
521 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
522 copy the redundant bytes at the end of the format as-is; don't
523 just copy their first byte and then rescan, as that might get
524 us an encoding error.
525 Account correctly for the length of multibyte sequences in the
528 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
530 * posix/wordexp-test.c: Add tests for different IFS values.
531 Change unquoted-newline test so that newline is not in IFS.
533 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
534 determining IFS characters. Return WRDE_BADCHAR for unquoted
535 special characters _except_ if they are separators.
537 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
539 * include/tgmath.h: New file.
541 * libio/stdio.h: Correct reversed #ifs.
542 Patch by Zack Weinberg.
544 * manual/creature.texi: Better explain reason for feature select
546 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
548 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
550 * include/alloca.h: Add multiple-inclusion guard.
551 * include/db.h: Likewise.
552 * include/db_185.h: Likewise.
553 * include/dlfcn.h: Likewise.
554 * include/fcntl.h: Likewise.
555 * include/grp.h: Likewise.
556 * include/libintl.h: Likewise.
557 * include/mntent.h: Likewise.
558 * include/pwd.h: Likewise.
559 * include/sched.h: Likewise.
560 * include/search.h: Likewise.
561 * include/setjmp.h: Likewise.
562 * include/shadow.h: Likewise.
563 * include/signal.h: Likewise.
564 * include/stdio.h: Likewise.
565 * include/stdlib.h: Likewise.
566 * include/string.h: Likewise.
567 * include/termios.h: Likewise.
568 * include/time.h: Likewise.
569 * include/ulimit.h: Likewise.
570 * include/utmp.h: Likewise.
571 * include/wchar.h: Likewise.
572 * include/sys/file.h: Likewise.
573 * include/sys/gmon.h: Likewise.
574 * include/sys/ioctl.h: Likewise.
575 * include/sys/mman.h: Likewise.
576 * include/sys/resource.h: Likewise.
577 * include/sys/select.h: Likewise.
578 * include/sys/socket.h: Likewise.
579 * include/sys/statfs.h: Likewise.
580 * include/sys/time.h: Likewise.
581 * include/sys/times.h: Likewise.
582 * include/sys/wait.h: Likewise.
584 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
586 * version.h (VERSION): Bump to 2.0.96.
588 Rewrite runtime linker to be truly thread-safe. There is now no
589 global variable specifying the scope. We create all needed
590 scopes at the time the link maps are created.
591 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
592 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
593 l_symbolic_searchlist, l_scope, and l_local_scope elements in
595 * elf/dl-close.c: Rewritten accordingly.
596 * elf/dl-deps.c: Likewise.
597 * elf/dl-error.c: Likewise.
598 * elf/dl-init.c: Likewise.
599 * elf/dl-load.c: Likewise.
600 * elf/dl-lookup.c: Likewise.
601 * elf/dl-object.c: Likewise.
602 * elf/dl-open.c: Likewise.
603 * elf/dl-reloc.c: Likewise.
604 * elf/dl-runtime.c: Likewise.
605 * elf/dl-support.c: Likewise.
606 * elf/dl-symbol.c: Likewise.
607 * elf/dl-version.c: Likewise.
608 * elf/dlsym.c: Likewise.
609 * elf/dlvsym.c: Likewise.
610 * elf/ldsodefs.h: Likewise.
611 * elf/rtld.c: Likewise.
612 * iconv/gconv_dl.c: Likewise.
613 * nss/nsswitch.c: Likewise.
614 * sysdeps/i386/dl-machine.h: Likewise.
615 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
617 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
620 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
622 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
623 __getopt_clean_environment with __environ instead of envp.
625 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
627 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
629 * string/argz-extract.c (__argz_extract): Add de-consting cast for
632 * string/argz.h (argz_next): Add de-consting cast for return.
633 * string/argz-next.c (__argz_next): Likewise.
635 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
636 Don't add netinet/udp.h, netinet/ip_icmp.h here.
637 * sysdeps/gnu/Makefile: Do it here instead.
638 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
639 * sysdeps/gnu/Dist: ... to here.
641 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
642 sysdeps/unix/sysv/linux/netinet/tcp.h,
643 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
645 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
647 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
648 * string/argz-next.c, string/argz-extract.c: Fix defns.
650 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
652 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
654 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
655 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
656 * sysdeps/generic/sysd-stdio.c: Likewise.
658 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
660 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
661 (_dl_map_object_from_fd): Make NAME argument const.
662 Remove last parameter in _dl_new_object call.
663 (print_search_path): Correct construction of composed path name.
664 (_dl_map_object): Prevent looking at RPATH of the main map twice.
665 Remove last parameter in _dl_new_object call.
666 * elf/dl-object.c: Remove last parameter. Determine whether create
667 origin entry based on empty realname. Handle file in root directory
669 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
670 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
671 Remove last parameter in _dl_new_object call.
672 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
673 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
675 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
677 * elf/dl-close.c (_dl_close): Add more comments and correct some.
678 Free l_searchlist and l_dupsearchlist.
680 * debug/catchsegv.sh: Add one more pair of quotes.
682 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
684 * elf/dl-load.c (add_name_to_object): Change return type to void and
685 make NAME parameter const. Allocate room for NAME in same memory
686 block used for l_libname entry.
687 (_dl_map_object_from_fd): Don't free NAME on failure.
688 (map_segment): Pass SONAME to add_name_to_object, not a copy.
689 (_dl_map_object): Don't create copy of NAME. Pass NAME to
690 _dl_map_object_from_fd.
691 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
692 memory block used for l_libname entry.
693 * elf/dl-close.c: Adjust free()ing for this change.
695 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
697 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
699 * malloc/mtrace.c: Add bug report address. Update email address.
700 Add more @XXX@ to print correct address size.
702 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
705 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
706 for munmap call instead of examining phdr again.
707 Free all malloc()ed strings and arrays.
709 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
711 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
713 * sysdeps/powerpc/dl-machine.c: New file.
714 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
715 files. Revise ELF_PREFERRED_ADDRESS to take account of
716 the new mapping information (fixes bug involving huge bloated
717 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
718 * sysdeps/powerpc/dl-start.S: New file.
720 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
722 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
723 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
724 others. Call elf_dynamic_do_##reloc only once (to save even more
726 * elf/link.h: Add new members l_map_start and l_map_end to keep
727 track of the memory map.
728 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
731 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
733 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
734 Reported by Andreas Jaeger.
736 * posix/glob.h: Use __size_t instead of size_t in definitions and
737 make sure this is defined.
739 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
741 * manual/locale.texi: Almost complete rewrite. Document more functions
743 * manual/arith.texi: Correct reference.
744 * manual/string.texi: Pretty printing.
746 * manual/texinfo.tex: Update from last available version.
748 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
750 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
752 (_nss_nis_getpwuid_r): Likewise.
753 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
755 * inet/rcmd.c: Implement netgroup support.
756 Patch by Dick Streefland <dick_streefland@tasking.com>.
758 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
760 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
761 object on the list is removed. Don't use this code for PIC.
762 Reported by HJ Lu [PR libc/770].
764 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
766 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
768 * include/stdio.h: Add __vsscanf.
770 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
772 Remove __vsscanf declaration.
773 Always declare fgetpos and fsetpos.
775 * math/math.h: Define isinf as macro.
776 * math/bits/mathcalls.h: Change to declare __isinf all the time.
777 Don't declare scalb for ISO C 9x.
779 * math/tgmath.h: Define fma. Rewrite the underlying macros.
781 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
783 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
786 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
789 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
791 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
792 Reported by jreising@frequentis.com [PR libc/767].
794 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
796 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
797 fl.l_start at beginning of function.
798 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
800 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
802 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
803 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
805 * nscd/nscd.init: Make it work in RedHat systems.
806 Patch by Christian Gafton.
808 1998-08-29 Philip Blundell <philb@gnu.org>
810 * catgets/Makefile: Don't try to run test programs when
813 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
815 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
816 Reported by Zack Weinberg.
818 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
820 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
821 * elf/Makefile (distribute): Remove ldd.sh.in.
823 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
825 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
828 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
830 * sysdeps/i386/register-dump.h: Move to ...
831 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
833 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
835 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
836 with load address, not map address.
837 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
838 parameter and use this value.
839 * sysdeps/arm/dl-machine.h: Likewise.
840 * sysdeps/i386/dl-machine.h: Likewise.
841 * sysdeps/m68k/dl-machine.h: Likewise.
842 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
844 * sysdeps/powerpc/dl-machine.h: Likewise
845 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
846 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
848 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
850 * elf/rtld.c (process_envvars): Fix copy&paste error.
852 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
854 (realloc_hook_ini): Don't overwrite memalign hook.
855 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
856 Reported by Philippe Troin <phil@fifi.org>.
858 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
859 Patch by Philippe Troin <phil@fifi.org>.
861 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
863 * sysdeps/generic/segfault.c (install_handler): Protect the
864 non-POSIX signals with #ifdef.
865 (catch_segfault): Add missing mode parameter for open.
866 * debug/catchsegv.sh: Avoid termination message from shell. Allow
867 other termination signals.
869 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
871 * debug/Makefile (distribute): Add register-dump.h.
873 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
875 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
877 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
879 * elf/Makefile (distribute): Add dl-origin.h.
880 * sysdeps/generic/dl-origin.h: New file.
881 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
882 * elf/link.h (struct link_map): Add l_origin field.
883 * elf/dl-load.c (expand_dynamic_string_token): New function.
884 (decompose_path): Remove WHERE argument, take link map pointer instead.
885 Call expand_dynamic_string_token instead of local_strdup to make copy
887 (_dl_init_paths): Call decompose_path with correct argument.
888 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
890 Check EI_OSABI and EI_ABIVERSION fields in header.
891 Call _dl_new_object with extra argument.
892 (_dl_map_object): Call decompose_path with correct argument.
893 Call expand_dynamic_string_token instead of local_strdup to also
895 Call _dl_new_object with extra argument.
896 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
897 but the main one if new argument is nonzero.
898 * elf/ldsodefs.h: Adjust for _dl_new_object change.
899 * elf/dl-support.c: Define _dl_origin_path.
900 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
901 (dl_main): Call _dl_new_object with extra argument.
903 * elf/dl-close (_dl_close): Free l_name and l_origin.
905 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
906 modifier in asm, not c.
908 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
909 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
911 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
913 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
914 variable so that map can be freed.
915 Reported by Philippe Troin <phil@fifi.org>.
917 * elf/dl-open.c (dl_open_worker): Correct test for extending global
919 Patch by Philippe Troin <phil@fifi.org>.
921 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
923 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
924 Don't call writev() with a 100-element vector.
925 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
928 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
929 In particular, set __libc_stack_end.
930 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
931 undefined. Fix copyright notice.
933 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
935 * math/Makefile (gmp-objs): New variable.
936 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
938 (tests): Add atest-exp atest-sincos atest-exp2.
939 (tests-static): Remove atest-exp atest-sincos atest-exp2.
941 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
943 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
945 (_dl_unload_cache): New function.
946 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
947 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
948 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
950 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
951 Correct comment for O_LARGEFILE.
952 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
953 Change O_LARGEFILE to correct value.
955 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
957 * libio/iogetline.c (_IO_getline_info): Don't read anything for
958 N == 0. Patch by HJ Lu.
960 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
962 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
964 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
966 * argp/argp.h: Use __inline__ not inline.
968 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
969 an input register as being clobbered.
970 * sysdeps/i386/memset.c (memset): Likewise.
971 * sysdeps/i386/bzero.c (__bzero): Likewise.
972 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
974 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
976 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
977 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
979 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
981 * debug/catchsegv.sh: Handle text preceding backtrace better.
982 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
983 to be installed for other signals than SIGSEGV.
984 * sysdeps/generic/register-dump.h: New file.
985 * sysdeps/i386/register-dump.h: New file.
986 * sysdeps/powerpc/register-dump.h: New file.
988 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
990 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
992 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
994 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
996 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
998 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
999 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1000 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1001 getresuid, getresgid.
1003 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1005 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1006 pointer in userland.
1008 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1010 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1013 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1015 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1016 over arguments Bourne shell compatible. Don't exit unsuccessfully
1017 if nonelf returns successfully. Avoid duplicating most of the
1019 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1022 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1024 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1026 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1027 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1029 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1031 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1032 __modify_ldt and modify_ldt.
1033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1035 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1036 Use orl $-1 instead of movl $-1 to save two bytes.
1037 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1040 1998-08-17 H.J. Lu <hjl@gnu.org>
1042 * libio/Versions (_IO_do_write, _IO_file_attach,
1043 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1044 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1045 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1046 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1048 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1049 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1050 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1051 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1052 _IO_file_write, _IO_file_xsputn): Change the prefix to
1053 "_IO_new_". Added to GLIBC_2.1.
1055 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1056 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1057 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1058 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1059 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1062 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1063 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1064 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1065 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1066 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1068 1998-08-23 Richard Henderson <rth@cygnus.com>
1070 * Makeconfig (LDFLAGS): Remove.
1072 * csu/initfini.c: Return to .text before __gmon_start__.
1074 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1075 (STO_MIPS_*): Rename from STO_*.
1076 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1077 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1079 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1080 (main): e3s is negative on zero.
1081 * math/atest-exp2.c: Likewise.
1082 * math/atest-sincos.c: Likewise.
1084 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1086 * Makerules (install): Add comment about absolute paths.
1088 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1090 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1091 array to NUL to handle maxlen==1 case correctly.
1094 1998-08-23 Richard Henderson <rth@cygnus.com>
1096 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1097 * sysdeps/alpha/elf/crtend.S: Likewise.
1098 * sysdeps/alpha/elf/start.S: Likewise.
1100 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1101 non-standard pv usage.
1103 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1104 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1105 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1106 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1107 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1108 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1109 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1110 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1111 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1112 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1113 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1115 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1116 a finite non-denormal, deferring to the full IEEE version otherwise.
1118 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1119 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1120 * sysdeps/alpha/fpu/s_floor.c: New.
1121 * sysdeps/alpha/fpu/s_floorf.c: New.
1122 * sysdeps/alpha/fpu/s_ceil.c: New.
1123 * sysdeps/alpha/fpu/s_ceilf.c: New.
1125 1998-08-22 Philip Blundell <philb@gnu.org>
1127 * sysdeps/arm/bits/string.h: New file.
1129 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1131 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1134 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1135 test for recent Linux 2.1.100+ headers.
1137 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1139 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1141 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1143 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1145 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1147 * Makefile (elf/ldso_install): Put back. The problem still persists.
1148 * elf/Makefile (ldso_install): Likewise.
1150 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1152 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1154 * include/db.h: Declare __nss_db_open.
1155 * db2/Versions: Export it.
1157 * db2/makedb.c: Convert to use db2 API.
1158 * nss/nss_db/db-XXX.c: Likewise.
1159 * nss/nss_db/db-netgrp.c: Likewise.
1160 * nss/nss_db/db-alias.c: Likewise.
1161 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1163 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1165 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1166 sys_setresuid, already built automatically (or not).
1167 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1168 instead of __syscall_setresuid and add back setresuid.
1169 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1170 __syscall_setresuid.
1172 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1174 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1176 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1178 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1179 BASH-ONLY marked region.
1180 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1182 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1184 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1187 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1189 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1192 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1194 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1195 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1196 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1197 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1198 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1199 those magic comments, and to use /bin/sh for @BASH@.
1200 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1201 * elf/ldd.sh.in: File removed.
1203 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1205 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1206 cast them to unsigned long int.
1207 * pwd/putpwent.c (putpwent): Likewise.
1208 Patch by John Tobey <jtobey@banta-im.com>.
1210 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1212 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1215 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1217 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1220 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1222 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1223 Add umount and umount2.
1224 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1225 * sysdeps/unix/sysv/linux/umount.S: New file.
1226 * sysdeps/unix/sysv/linux/umount2.S: New file.
1227 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1230 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1232 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1233 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1235 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1237 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1240 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1242 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1243 * elf/ldd.bash.in: Likewise.
1245 * elf/sln.c: Avoid warning for no main prototype.
1247 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1249 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1250 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1252 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1254 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1255 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1256 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1258 1998-08-20 Philip Blundell <pb@nexus.co.uk>
1260 * sysdeps/arm/fpu/ieee754.h: Move to...
1261 * sysdeps/arm/ieee754.h: ... here.
1263 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1264 Don't set the condition flags unnecessarily.
1265 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1266 registers correctly.
1268 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1269 (patch from Scott Bambrough).
1271 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1273 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1274 NULL, just call it unconditionally.
1275 (__gmon_start__): Provide stub version as a weak symbol.
1277 1998-07-30 Philip Blundell <philb@gnu.org>
1279 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1282 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1283 like `@' in .type directives.
1285 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1286 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1288 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1290 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1292 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1293 (F_GETOWN): Likewise.
1295 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1298 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1300 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1303 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
1305 * include/features.h: Define __USE_EXTERN_INLINES for recent
1307 * argp/argp.h: Define extern inline functions only if
1308 __USE_EXTERN_INLINES is defined.
1309 * libio/stdio.h: Likewise.
1310 * math/math.h: Likewise.
1311 * stdlib/stdlib.h: Likewise.
1312 * string/argz.h: Likewise.
1313 * sysdeps/generic/bits/sigset.h: Likewise.
1314 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1315 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1316 * sysdeps/wordsize-32/inttypes.h: Likewise.
1317 * sysdeps/wordsize-64/inttypes.h: Likewise.
1318 * wcsmbs/wchar.h: Likewise.
1320 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1321 to allow compilation without optimization.
1323 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1325 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1327 * nis/nss_compat/compat-initgroups.c: Likewise.
1328 * nis/nss_compat/compat-pwd.c: Likewise.
1329 * nis/nss_compat/compat-spwd.c: Likewise.
1330 * nis/nss_nis/nis-alias.c: Likewise.
1331 * nis/nss_nis/nis-ethers.c: Likewise.
1332 * nis/nss_nis/nis-grp.c: Likewise.
1333 * nis/nss_nis/nis-hosts.c: Likewise.
1334 * nis/nss_nis/nis-initgroups.c: Likewise.
1335 * nis/nss_nis/nis-network.c: Likewise.
1336 * nis/nss_nis/nis-proto.c: Likewise.
1337 * nis/nss_nis/nis-pwd.c: Likewise.
1338 * nis/nss_nis/nis-rpc.c: Likewise.
1339 * nis/nss_nis/nis-service.c: Likewise.
1340 * nis/nss_nis/nis-spwd.c: Likewise.
1342 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1344 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1346 * nis/yp_xdr.c: Remove 1024 byte limit.
1347 * nis/ypupdate_xdr.c: Likewise.
1349 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1352 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1354 * Rules (binaries-static, binaries-shared static pattern rules):
1355 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1357 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1358 this here, overriding Makeconfig generic value so we link against
1361 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
1363 * posix/tstgetopt.c (options): Add NULL entry at end
1364 Patch by Adrian Miranda <ade@psg.com>.
1366 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1368 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1371 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1373 * elf/elf.h: Add PPC Diab relocations.
1375 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1377 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1379 * manual/texinfo.tex: Update.
1381 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1383 * sysdeps/powerpc/backtrace.c: New file.
1385 1998-08-14 Philip Blundell <pb@nexus.co.uk>
1387 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1389 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1391 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1393 * Makefile (install-symbolic-link): Fix spelling.
1395 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1397 * elf/elf.h (SHT_HIOS): Fix value.
1399 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1401 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1402 part of the expansion, this is undefined by the standard.
1404 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1406 * posix/getconf.c: Add support for systems with incomplete confname.h.
1408 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1410 * sysdeps/posix/wait3.c: Make it work.
1412 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1414 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1415 (elf/ldso_install): Remove.
1417 * elf/Makefile (distribute): Add sln.c.
1419 (others-static): Add sln.
1420 (install-rootsbin): Add sln.
1421 (others-static): Add sln.
1422 (ldso_install): Remove.
1424 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1426 * Makerules (install-clean-symbolic-link-list): Make phony.
1427 * Makefile (install-symbolic-link): Make phony. Depend on
1428 subdir_install for parallel makes.
1431 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
1433 * elf/Makefile (distribute): Add sln.c
1435 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1437 * elf/sln.c: New file.
1439 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1440 (install-clean-symbolic-link-list): New target.
1441 (install): Depend on install-clean-symbolic-link-list.
1442 (make-shlib-link): Changed for $(symbolic-link-list).
1444 * Makefile (install-symbolic-link): New target.
1445 (install): Depend on install-symbolic-link.
1447 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1449 * include/unistd.h: Protect against multiple inclusion.
1451 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1452 is defined, not is glob is defined.
1453 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1455 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1457 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1458 xdr_string for ut_line, ut_name and ut_host.
1460 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1462 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1463 /var/mail in accordance with FHS 2.0.
1464 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1466 1998-08-12 Richard Henderson <rth@cygnus.com>
1468 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1469 Update aliases for cancelation.
1471 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1472 playing with symbol versions.
1474 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1476 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1477 multiple inclusion protection.
1478 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1479 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1480 define all these to 1.
1481 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1483 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1485 * sysdeps/mach/usleep.c: Include <unistd.h>.
1486 (usleep): Return void.
1488 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1490 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1491 decl to inhibit warning in if_freenameindex defn.
1493 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1495 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1497 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1498 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1499 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1500 * sysdeps/mach/usleep.c: Likewise.
1502 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1504 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1505 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1506 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1507 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1508 * sysdeps/mach/usleep.c (usleep): Likewise.
1509 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1510 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1511 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1512 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1514 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1516 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1519 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1520 %p arg to fprintf, since `void *' is the right type already.
1522 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1524 * sysdeps/mach/hurd/getcwd.c
1525 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1526 for unknown root directories.
1527 (__getcwd): Return NULL when the current root directory could not
1530 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
1532 * string/strsignal.c (strsignal): Count real-time signals from zero.
1535 See ChangeLog.8 for earlier changes.