1 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/arm/fpu/Dist: Moved to...
4 * sysdeps/arm/Dist: ...here.
5 * sysdeps/posix/Dist: Removed.
6 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
7 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
9 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
11 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
13 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
15 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
17 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
19 * libc-work/nis/nss_nisplus/nisplus-service.c
20 (_nss_nisplus_parse_servent): Convert port in network byte order.
22 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
24 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
25 to provide only malloc and calloc.
26 * include/stdlib.h: Support the above.
27 * string/bits/string2.h: Use __need_malloc_and_calloc when
29 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
31 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
32 * iconvdata/iso646.c: Include <stdlib.h>.
34 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
36 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
37 * sysdeps/libm-ieee754/w_pow.c: Likewise.
38 * sysdeps/libm-ieee754/w_powf.c: Likewise.
39 * sysdeps/libm-ieee754/w_powl.c: Likewise.
41 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
43 * stdio-common/stdio_lim.h.in: New file. All parameters
44 are adjustable at build time.
45 * Rules: Add a rule to build bits/stdio_lim.h from
46 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
47 all subdirectories know how to make the file. It can't be
48 in Makerules because then it gets built at top level and the
49 dependencies are wrong.)
51 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
52 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
54 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
55 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
56 * sysdeps/posix/Makefile: Removed.
57 * sysdeps/posix/mk-stdiolim.c: Removed.
58 * sysdeps/generic/bits/stdio_lim.h: Removed.
60 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
62 * argp/argp-help.c: Fixup indentation.
63 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
64 * resolv/nss_dns/dns-network.c: Likewise.
65 * resolv/res_send.c: Likewise.
66 * rt/aio_cancel.c: Likewise.
67 * rt/aio_misc.c: Likewise.
69 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
71 * Makefile (install-symbolic-link): Remove the link list file at last.
72 * Makerules (install-clean-symbolic-link-list): Removed.
74 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
76 * timezone/tst-timezone.c: Print time in UTC to get consistent
79 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
81 * elf/rtld.c (_dl_rpath): Removed.
82 * elf/dl-support.c (_dl_path): Removed.
83 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
84 (CFLAGS-dl-support.c): Removed.
86 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
88 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
89 instead of appending it to the main map's rpath info.
90 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
91 DT_RPATHs. This makes it effective again.
92 (decompose_rpath): Remove second parameter, callers changed.
93 (fillin_rpath): Allocate enough space in curwd.
94 (expand_dynamic_string_token): Cope with get_origin returning -1.
96 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
98 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
101 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
104 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
106 * locale/programs/locale.c: Update dates.
108 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
110 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
111 size_t is defined. Some reordering of defenitions to make
112 maintaining this file in parallel with the linux-specific file easier.
114 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
116 * io/pwd.c (main): Add call to mtrace.
118 * malloc/mtrace.pl: Quote @ in string.
120 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
122 * posix/wordexp.c (parse_arith): Fix memory leaks.
123 (exec_comm): Likewise.
124 (parse_param): Likewise.
126 (exec_comm): Reduce number of function return points.
127 (parse_param): Likewise.
130 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
132 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
133 yield three fields, not two. Test both parameter expansion and
134 command substitution for correct field-splitting behaviour.
136 * posix/wordexp.c (w_emptyword): New function.
137 (parse_param): Use it.
138 (exec_comm): Likewise, for consistency with the way parse_param
140 (parse_param): Fix some memory leaks.
142 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
144 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
145 Don't mark asm `volatile'.
146 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
147 from the data cache too. Assume it isn't in the instruction cache yet.
148 (__elf_machine_fixup_plt): Clear the modified address from the caches.
150 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
152 * sysdeps/generic/segfault.c (install_handler): Install signal
153 handler with SA_ONSTACK instead of setting the stack flags to
154 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
157 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
159 * signal/signal.h: Fix multiple inclusion guard to cover the
161 * wcsmbs/wchar.h: Remove prototype of internal function
163 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
164 arithmetic on `void *'.
166 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
168 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
170 * posix/wordexp.c (wordexp): Perform word-splitting instead of
171 field-splitting here.
172 (wordexp): If out of memory mid-word, free the word (but still
173 leave pwordexp alone for caller to see).
174 (parse_param): Allow for zero-length fields (smarter checking of
175 memory allocation failure).
176 (w_addword): Convert NULL words to "".
177 (wordexp): Convert left-over IFS characters to blanks (like bash).
179 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
181 * configure.in: Use test -f instead of test -e.
182 Patch by John Tobey <jtobey@banta-im.com>.
184 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
185 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
186 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
187 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
188 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
189 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
190 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
191 Patches by John Tobey <jtobey@banta-im.com>.
193 * time/strftime.c (my_strftime): Delay use of *tp values until
194 latest possible point to allow partly initialized structures
195 (e.g., from strptime).
197 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
199 Define *-routines variables for new modules.
200 (distribute): Add .c files for new modules.
201 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
203 Add rules for header generation.
204 * iconvdata/gconv-modules: Add entries for new modules.
205 * iconvdata/iso_10367-box.c: New file.
206 * iconvdata/mac-is.c: New file.
207 * iconvdata/nats-dano.c: New file.
208 * iconvdata/nats-sefi.c: New file.
210 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
212 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
213 loader if PIC is not defined.
215 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
217 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
218 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
219 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
221 Define *-routines variables for new modules.
222 (distribute): Add .c files for new modules.
223 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
224 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
225 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
226 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
227 Add rules for header generation.
228 * iconvdata/gconv-modules: Add entries for new modules.
229 * iconvdata/csn_369103.c: New file.
230 * iconvdata/cwi.c: New file.
231 * iconvdata/dec-mcs.c: New file.
232 * iconvdata/ecma-cyrillic.c: New file.
233 * iconvdata/gost_19768-74.c: New file.
234 * iconvdata/greek-ccitt.c: New file.
235 * iconvdata/greek7-old.c: New file.
236 * iconvdata/greek7.c: New file.
237 * iconvdata/inis-8.c: New file.
238 * iconvdata/inis-cyrillic.c: New file.
239 * iconvdata/inis.c: New file.
240 * iconvdata/iso6937-2.c: New file.
241 * iconvdata/iso_2033.c: New file.
242 * iconvdata/iso_5427-ext.c: New file.
243 * iconvdata/iso_5427.c: New file.
244 * iconvdata/iso_5428.c: New file.
246 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
248 Convert U02dd correctly.
250 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
252 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
253 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
254 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
255 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
257 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
259 * resolv/res_init.c (res_init): Handle resolv.conf file with only
260 one nameserver correctly. Patch by HJ Lu.
262 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
264 Define *-routines variables for new modules.
265 (distribute): Add .c files for new modules.
266 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
267 Add rules for hedaer generation.
268 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
269 * iconvdata/ansi_x3.110.c: New file.
270 * iconvdata/asmo_449.c: New file.
271 * iconvdata/baltic.c: New file.
272 * iconvdata/iec_p27-1.c: New file.
274 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
276 Convert U02dc correctly.
278 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
279 * math/atest-exp2.c: Likewise.
280 * math/atest-sincos.c: Likewise.
282 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
285 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
287 * string/strcoll.c: Optimize a few expressions.
288 * string/strxfrm.c: Likewise.
290 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
292 * manual/locale.texi: Fix typos.
294 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
296 * stdlib/random_r.c (__setstate_r): Allow call with same state
297 array as currently used (PR libc/774).
299 * include/limits.h: Include gcc's header even if this file is
300 found more than once before it (PR libc/778)
302 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
303 (sysdep_headers): Remove sys/debugreg.h.
304 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
305 (sysdep_headers): Add sys/debugreg.h.
306 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
307 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
309 * stdio-common/tmpnam.c: Move local static variable buf to
310 toplevel and rename to tmpnam_buffer to ease debugging.
311 Patch by Joe Keane <jgk@jgk.org>.
312 Optimize s == NULL case a bit.
314 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
317 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
319 * resolv/res_init.c (res_init): Initialize _res.nscount and
320 _res.nsaddr.sin_port differently for the can when no loopback
321 is available to allow immediate timeout in non-networking environments.
322 Patch by Cristian Gafton <gafton@redhat.com>.
324 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
326 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
328 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
329 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
332 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
334 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
336 * timezone/tst-timezone.c (tests): Fix typo in last patch.
338 * time/tzfile.c (__tzfile_read): Handle case when there are no
339 transitions. Set __timezone based on computed offset.
340 * time/tzset.c (tzset_internal): Set __timezone before returning.
342 * time/tzset.c (tzset_internal): Optimize handling of local string
345 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
347 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
350 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
352 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
353 (csqrt_test): Likewise.
354 * sysdeps/powerpc/bits/fenv.h: Add parens.
356 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
358 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
359 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
360 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
362 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
364 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
365 the special `-1' pointer.
367 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
369 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
372 1998-09-07 Paul Eggert <eggert@twinsun.com>
374 * time/mktime.c (__EXTENSIONS__): Define if not defined.
375 (_REENTRANT): Remove. It has undesirable consequences in
376 Solaris 2.6 (e.g. it turns off the putc macro). Defining
377 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
379 * time/strftime.c: Likewise.
381 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
383 * elf/dl-error.c: Fix spelling.
385 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
387 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
388 * stdio-common/_itoa.c: Likewise.
389 * stdio-common/printf_fp.c: Likewise.
390 * stdio-common/vfscanf.c: Likewise.
391 * wcsmbs/wcstok.c: Likewise.
392 * sysdeps/generic/glob.c: Likewise.
393 * posix/getopt.c: Likewise.
394 * sysdeps/posix/getaddrinfo.c: Likewise.
395 * posix/wordexp.c: Likewise.
396 * io/ftw.c: Likewise.
397 * io/fts.c: Likewise.
398 * misc/getpass.c: Likewise.
399 * iconv/gconv_conf.c: Likewise.
400 * argp/argp-fmtstream.c: Likewise.
401 * argp/argp-help.c: Likewise.
402 * elf/dl-load.c: Likewise.
403 * locale/programs/stringtrans.c: Likewise.
404 * catgets/gencat.c: Likewise.
405 * posix/getconf.c: Likewise.
406 * iconv/gconv_conf.c: Likewise.
407 * iconv/iconv_prog.c: Likewise.
409 * string/strcoll.c: Optimize a few expressions.
410 * string/strxfrm.c: Likewise.
412 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
414 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
415 level to avoid uninit variable warning.
417 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
419 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
420 instead of _dl_default_scope[2] as argument to _dl_init_next.
422 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
425 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
427 Fix compatibility problems introduced in last change.
428 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
430 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
431 -DWEAK_GMON_START to CFLAGS-initfini.s.
433 * elf/dl-object.c (_dl_new_object): Store map address in
434 _dl_loaded if _dl_loaded is NULL.
435 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
437 * sysdeps/generic/setrlimit64.c: Remove stub warning.
439 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
441 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
443 * db2/btree/bt_cursor.c: Likewise.
444 * db2/common/db_region.db_c: Likewise.
445 * db2/common/db_salloc.db_c: Likewise.
446 * db2/db/db.c: Likewise.
447 * db2/db/db_rec.c: Likewise.
448 * db2/hash/hash.c: Likewise.
449 * db2/hash/hash_page.c: Likewise.
450 * db2/hash/hash_rec.c: Likewise.
451 * db2/log/log_findckp.c: Likewise.
452 * db2/log/log_get.c: Likewise.
453 * db2/log/log_put.c: Likewise.
454 * db2/mp/mp_fget.c: Likewise.
455 * db2/mp/mp_fput.c: Likewise.
456 * db2/mp/mp_region.c: Likewise.
457 * stdlib/strtol.c: Likewise.
458 * string/strcoll.c: Likewise.
459 * string/strxfrm.c: Likewise.
460 * argp/argp-help.c: Likewise.
461 * argp/argp-parse.c: Likewise.
462 * resolv/res_debug.c: Likewise.
464 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
466 * math/tgmath.h (scalb): Only define for __USE_MISC or
467 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
469 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
471 * libio/stdio.h: Fix comment.
473 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
476 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
478 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
480 * elf/dl-open.c: Quiet -Wparentheses warnings.
481 * iconvdata/johab.c: Likewise.
482 * iconvdata/uhc.c: Likewise.
483 * inet/inet_net.c: Likewise.
484 * io/fts.c: Likewise.
485 * locale/newlocale.c: Likewise.
486 * misc/getttyent.c: Likewise.
487 * misc/mntent_r.c: Likewise.
488 * misc/ttyslot.c: Likewise.
489 * nscd/nscd_conf.c: Likewise.
490 * nss/nsswitch.c: Likewise.
491 * resolv/gethnamaddr.c: Likewise.
492 * resolv/nsap_addr.c: Likewise.
493 * resolv/res_debug.c: Likewise.
494 * stdio-common/_itoa.c: Likewise.
495 * stdlib/strtod.c: Likewise.
496 * string/strverscmp.c: Likewise.
497 * sunrpc/svc.c: Likewise.
498 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
499 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
500 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
501 * sysdeps/posix/getaddrinfo.c: Likewise.
503 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
505 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
506 for use of global scope.
507 * elf/dlvsym.c (dlvsym_doit): Likewise.
509 1998-09-02 Paul Eggert <eggert@twinsun.com>
511 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
512 copy the redundant bytes at the end of the format as-is; don't
513 just copy their first byte and then rescan, as that might get
514 us an encoding error.
515 Account correctly for the length of multibyte sequences in the
518 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
520 * posix/wordexp-test.c: Add tests for different IFS values.
521 Change unquoted-newline test so that newline is not in IFS.
523 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
524 determining IFS characters. Return WRDE_BADCHAR for unquoted
525 special characters _except_ if they are separators.
527 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
529 * include/tgmath.h: New file.
531 * libio/stdio.h: Correct reversed #ifs.
532 Patch by Zack Weinberg.
534 * manual/creature.texi: Better explain reason for feature select
536 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
538 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
540 * include/alloca.h: Add multiple-inclusion guard.
541 * include/db.h: Likewise.
542 * include/db_185.h: Likewise.
543 * include/dlfcn.h: Likewise.
544 * include/fcntl.h: Likewise.
545 * include/grp.h: Likewise.
546 * include/libintl.h: Likewise.
547 * include/mntent.h: Likewise.
548 * include/pwd.h: Likewise.
549 * include/sched.h: Likewise.
550 * include/search.h: Likewise.
551 * include/setjmp.h: Likewise.
552 * include/shadow.h: Likewise.
553 * include/signal.h: Likewise.
554 * include/stdio.h: Likewise.
555 * include/stdlib.h: Likewise.
556 * include/string.h: Likewise.
557 * include/termios.h: Likewise.
558 * include/time.h: Likewise.
559 * include/ulimit.h: Likewise.
560 * include/utmp.h: Likewise.
561 * include/wchar.h: Likewise.
562 * include/sys/file.h: Likewise.
563 * include/sys/gmon.h: Likewise.
564 * include/sys/ioctl.h: Likewise.
565 * include/sys/mman.h: Likewise.
566 * include/sys/resource.h: Likewise.
567 * include/sys/select.h: Likewise.
568 * include/sys/socket.h: Likewise.
569 * include/sys/statfs.h: Likewise.
570 * include/sys/time.h: Likewise.
571 * include/sys/times.h: Likewise.
572 * include/sys/wait.h: Likewise.
574 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
576 * version.h (VERSION): Bump to 2.0.96.
578 Rewrite runtime linker to be truly thread-safe. There is now no
579 global variable specifying the scope. We create all needed
580 scopes at the time the link maps are created.
581 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
582 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
583 l_symbolic_searchlist, l_scope, and l_local_scope elements in
585 * elf/dl-close.c: Rewritten accordingly.
586 * elf/dl-deps.c: Likewise.
587 * elf/dl-error.c: Likewise.
588 * elf/dl-init.c: Likewise.
589 * elf/dl-load.c: Likewise.
590 * elf/dl-lookup.c: Likewise.
591 * elf/dl-object.c: Likewise.
592 * elf/dl-open.c: Likewise.
593 * elf/dl-reloc.c: Likewise.
594 * elf/dl-runtime.c: Likewise.
595 * elf/dl-support.c: Likewise.
596 * elf/dl-symbol.c: Likewise.
597 * elf/dl-version.c: Likewise.
598 * elf/dlsym.c: Likewise.
599 * elf/dlvsym.c: Likewise.
600 * elf/ldsodefs.h: Likewise.
601 * elf/rtld.c: Likewise.
602 * iconv/gconv_dl.c: Likewise.
603 * nss/nsswitch.c: Likewise.
604 * sysdeps/i386/dl-machine.h: Likewise.
605 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
607 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
610 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
612 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
613 __getopt_clean_environment with __environ instead of envp.
615 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
617 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
619 * string/argz-extract.c (__argz_extract): Add de-consting cast for
622 * string/argz.h (argz_next): Add de-consting cast for return.
623 * string/argz-next.c (__argz_next): Likewise.
625 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
626 Don't add netinet/udp.h, netinet/ip_icmp.h here.
627 * sysdeps/gnu/Makefile: Do it here instead.
628 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
629 * sysdeps/gnu/Dist: ... to here.
631 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
632 sysdeps/unix/sysv/linux/netinet/tcp.h,
633 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
635 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
637 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
638 * string/argz-next.c, string/argz-extract.c: Fix defns.
640 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
642 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
644 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
645 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
646 * sysdeps/generic/sysd-stdio.c: Likewise.
648 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
650 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
651 (_dl_map_object_from_fd): Make NAME argument const.
652 Remove last parameter in _dl_new_object call.
653 (print_search_path): Correct construction of composed path name.
654 (_dl_map_object): Prevent looking at RPATH of the main map twice.
655 Remove last parameter in _dl_new_object call.
656 * elf/dl-object.c: Remove last parameter. Determine whether create
657 origin entry based on empty realname. Handle file in root directory
659 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
660 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
661 Remove last parameter in _dl_new_object call.
662 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
663 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
665 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
667 * elf/dl-close.c (_dl_close): Add more comments and correct some.
668 Free l_searchlist and l_dupsearchlist.
670 * debug/catchsegv.sh: Add one more pair of quotes.
672 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
674 * elf/dl-load.c (add_name_to_object): Change return type to void and
675 make NAME parameter const. Allocate room for NAME in same memory
676 block used for l_libname entry.
677 (_dl_map_object_from_fd): Don't free NAME on failure.
678 (map_segment): Pass SONAME to add_name_to_object, not a copy.
679 (_dl_map_object): Don't create copy of NAME. Pass NAME to
680 _dl_map_object_from_fd.
681 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
682 memory block used for l_libname entry.
683 * elf/dl-close.c: Adjust free()ing for this change.
685 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
687 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
689 * malloc/mtrace.c: Add bug report address. Update email address.
690 Add more @XXX@ to print correct address size.
692 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
695 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
696 for munmap call instead of examining phdr again.
697 Free all malloc()ed strings and arrays.
699 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
701 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
703 * sysdeps/powerpc/dl-machine.c: New file.
704 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
705 files. Revise ELF_PREFERRED_ADDRESS to take account of
706 the new mapping information (fixes bug involving huge bloated
707 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
708 * sysdeps/powerpc/dl-start.S: New file.
710 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
712 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
713 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
714 others. Call elf_dynamic_do_##reloc only once (to save even more
716 * elf/link.h: Add new members l_map_start and l_map_end to keep
717 track of the memory map.
718 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
721 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
723 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
724 Reported by Andreas Jaeger.
726 * posix/glob.h: Use __size_t instead of size_t in definitions and
727 make sure this is defined.
729 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
731 * manual/locale.texi: Almost complete rewrite. Document more functions
733 * manual/arith.texi: Correct reference.
734 * manual/string.texi: Pretty printing.
736 * manual/texinfo.tex: Update from last available version.
738 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
740 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
742 (_nss_nis_getpwuid_r): Likewise.
743 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
745 * inet/rcmd.c: Implement netgroup support.
746 Patch by Dick Streefland <dick_streefland@tasking.com>.
748 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
750 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
751 object on the list is removed. Don't use this code for PIC.
752 Reported by HJ Lu [PR libc/770].
754 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
756 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
758 * include/stdio.h: Add __vsscanf.
760 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
762 Remove __vsscanf declaration.
763 Always declare fgetpos and fsetpos.
765 * math/math.h: Define isinf as macro.
766 * math/bits/mathcalls.h: Change to declare __isinf all the time.
767 Don't declare scalb for ISO C 9x.
769 * math/tgmath.h: Define fma. Rewrite the underlying macros.
771 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
773 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
776 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
779 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
781 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
782 Reported by jreising@frequentis.com [PR libc/767].
784 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
786 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
787 fl.l_start at beginning of function.
788 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
790 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
792 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
793 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
795 * nscd/nscd.init: Make it work in RedHat systems.
796 Patch by Christian Gafton.
798 1998-08-29 Philip Blundell <philb@gnu.org>
800 * catgets/Makefile: Don't try to run test programs when
803 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
805 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
806 Reported by Zack Weinberg.
808 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
810 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
811 * elf/Makefile (distribute): Remove ldd.sh.in.
813 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
815 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
818 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
820 * sysdeps/i386/register-dump.h: Move to ...
821 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
823 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
825 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
826 with load address, not map address.
827 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
828 parameter and use this value.
829 * sysdeps/arm/dl-machine.h: Likewise.
830 * sysdeps/i386/dl-machine.h: Likewise.
831 * sysdeps/m68k/dl-machine.h: Likewise.
832 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
834 * sysdeps/powerpc/dl-machine.h: Likewise
835 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
836 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
838 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
840 * elf/rtld.c (process_envvars): Fix copy&paste error.
842 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
844 (realloc_hook_ini): Don't overwrite memalign hook.
845 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
846 Reported by Philippe Troin <phil@fifi.org>.
848 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
849 Patch by Philippe Troin <phil@fifi.org>.
851 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
853 * sysdeps/generic/segfault.c (install_handler): Protect the
854 non-POSIX signals with #ifdef.
855 (catch_segfault): Add missing mode parameter for open.
856 * debug/catchsegv.sh: Avoid termination message from shell. Allow
857 other termination signals.
859 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
861 * debug/Makefile (distribute): Add register-dump.h.
863 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
865 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
867 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
869 * elf/Makefile (distribute): Add dl-origin.h.
870 * sysdeps/generic/dl-origin.h: New file.
871 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
872 * elf/link.h (struct link_map): Add l_origin field.
873 * elf/dl-load.c (expand_dynamic_string_token): New function.
874 (decompose_path): Remove WHERE argument, take link map pointer instead.
875 Call expand_dynamic_string_token instead of local_strdup to make copy
877 (_dl_init_paths): Call decompose_path with correct argument.
878 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
880 Check EI_OSABI and EI_ABIVERSION fields in header.
881 Call _dl_new_object with extra argument.
882 (_dl_map_object): Call decompose_path with correct argument.
883 Call expand_dynamic_string_token instead of local_strdup to also
885 Call _dl_new_object with extra argument.
886 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
887 but the main one if new argument is nonzero.
888 * elf/ldsodefs.h: Adjust for _dl_new_object change.
889 * elf/dl-support.c: Define _dl_origin_path.
890 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
891 (dl_main): Call _dl_new_object with extra argument.
893 * elf/dl-close (_dl_close): Free l_name and l_origin.
895 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
896 modifier in asm, not c.
898 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
899 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
901 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
903 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
904 variable so that map can be freed.
905 Reported by Philippe Troin <phil@fifi.org>.
907 * elf/dl-open.c (dl_open_worker): Correct test for extending global
909 Patch by Philippe Troin <phil@fifi.org>.
911 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
913 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
914 Don't call writev() with a 100-element vector.
915 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
918 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
919 In particular, set __libc_stack_end.
920 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
921 undefined. Fix copyright notice.
923 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
925 * math/Makefile (gmp-objs): New variable.
926 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
928 (tests): Add atest-exp atest-sincos atest-exp2.
929 (tests-static): Remove atest-exp atest-sincos atest-exp2.
931 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
933 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
935 (_dl_unload_cache): New function.
936 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
937 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
938 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
940 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
941 Correct comment for O_LARGEFILE.
942 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
943 Change O_LARGEFILE to correct value.
945 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
947 * libio/iogetline.c (_IO_getline_info): Don't read anything for
948 N == 0. Patch by HJ Lu.
950 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
952 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
954 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
956 * argp/argp.h: Use __inline__ not inline.
958 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
959 an input register as being clobbered.
960 * sysdeps/i386/memset.c (memset): Likewise.
961 * sysdeps/i386/bzero.c (__bzero): Likewise.
962 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
964 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
966 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
967 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
969 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
971 * debug/catchsegv.sh: Handle text preceding backtrace better.
972 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
973 to be installed for other signals than SIGSEGV.
974 * sysdeps/generic/register-dump.h: New file.
975 * sysdeps/i386/register-dump.h: New file.
976 * sysdeps/powerpc/register-dump.h: New file.
978 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
980 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
982 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
984 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
986 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
988 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
989 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
990 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
991 getresuid, getresgid.
993 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
995 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
998 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1000 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1003 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1005 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1006 over arguments Bourne shell compatible. Don't exit unsuccessfully
1007 if nonelf returns successfully. Avoid duplicating most of the
1009 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1012 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1014 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1016 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1017 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1019 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1021 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1022 __modify_ldt and modify_ldt.
1023 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1025 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1026 Use orl $-1 instead of movl $-1 to save two bytes.
1027 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1030 1998-08-17 H.J. Lu <hjl@gnu.org>
1032 * libio/Versions (_IO_do_write, _IO_file_attach,
1033 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1034 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1035 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1036 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1038 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1039 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1040 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1041 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1042 _IO_file_write, _IO_file_xsputn): Change the prefix to
1043 "_IO_new_". Added to GLIBC_2.1.
1045 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1046 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1047 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1048 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1049 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1052 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1053 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1054 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1055 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1056 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1058 1998-08-23 Richard Henderson <rth@cygnus.com>
1060 * Makeconfig (LDFLAGS): Remove.
1062 * csu/initfini.c: Return to .text before __gmon_start__.
1064 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1065 (STO_MIPS_*): Rename from STO_*.
1066 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1067 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1069 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1070 (main): e3s is negative on zero.
1071 * math/atest-exp2.c: Likewise.
1072 * math/atest-sincos.c: Likewise.
1074 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1076 * Makerules (install): Add comment about absolute paths.
1078 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1080 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1081 array to NUL to handle maxlen==1 case correctly.
1084 1998-08-23 Richard Henderson <rth@cygnus.com>
1086 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1087 * sysdeps/alpha/elf/crtend.S: Likewise.
1088 * sysdeps/alpha/elf/start.S: Likewise.
1090 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1091 non-standard pv usage.
1093 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1094 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1095 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1096 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1097 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1098 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1099 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1100 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1101 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1102 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1103 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1105 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1106 a finite non-denormal, deferring to the full IEEE version otherwise.
1108 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1109 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1110 * sysdeps/alpha/fpu/s_floor.c: New.
1111 * sysdeps/alpha/fpu/s_floorf.c: New.
1112 * sysdeps/alpha/fpu/s_ceil.c: New.
1113 * sysdeps/alpha/fpu/s_ceilf.c: New.
1115 1998-08-22 Philip Blundell <philb@gnu.org>
1117 * sysdeps/arm/bits/string.h: New file.
1119 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1121 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1124 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1125 test for recent Linux 2.1.100+ headers.
1127 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1129 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1131 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1133 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1135 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1137 * Makefile (elf/ldso_install): Put back. The problem still persists.
1138 * elf/Makefile (ldso_install): Likewise.
1140 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1142 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1144 * include/db.h: Declare __nss_db_open.
1145 * db2/Versions: Export it.
1147 * db2/makedb.c: Convert to use db2 API.
1148 * nss/nss_db/db-XXX.c: Likewise.
1149 * nss/nss_db/db-netgrp.c: Likewise.
1150 * nss/nss_db/db-alias.c: Likewise.
1151 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1153 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1155 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1156 sys_setresuid, already built automatically (or not).
1157 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1158 instead of __syscall_setresuid and add back setresuid.
1159 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1160 __syscall_setresuid.
1162 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1164 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1166 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1168 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1169 BASH-ONLY marked region.
1170 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1172 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1174 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1177 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1179 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1182 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1184 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1185 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1186 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1187 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1188 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1189 those magic comments, and to use /bin/sh for @BASH@.
1190 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1191 * elf/ldd.sh.in: File removed.
1193 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1195 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1196 cast them to unsigned long int.
1197 * pwd/putpwent.c (putpwent): Likewise.
1198 Patch by John Tobey <jtobey@banta-im.com>.
1200 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1202 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1205 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1207 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1210 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1212 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1213 Add umount and umount2.
1214 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1215 * sysdeps/unix/sysv/linux/umount.S: New file.
1216 * sysdeps/unix/sysv/linux/umount2.S: New file.
1217 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1220 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1222 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1223 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1225 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1227 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1230 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1232 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1233 * elf/ldd.bash.in: Likewise.
1235 * elf/sln.c: Avoid warning for no main prototype.
1237 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1239 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1242 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1244 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1245 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1248 1998-08-20 Philip Blundell <pb@nexus.co.uk>
1250 * sysdeps/arm/fpu/ieee754.h: Move to...
1251 * sysdeps/arm/ieee754.h: ... here.
1253 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1254 Don't set the condition flags unnecessarily.
1255 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1256 registers correctly.
1258 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1259 (patch from Scott Bambrough).
1261 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1263 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1264 NULL, just call it unconditionally.
1265 (__gmon_start__): Provide stub version as a weak symbol.
1267 1998-07-30 Philip Blundell <philb@gnu.org>
1269 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1272 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1273 like `@' in .type directives.
1275 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1276 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1278 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1280 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1282 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1283 (F_GETOWN): Likewise.
1285 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1288 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1290 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1293 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
1295 * include/features.h: Define __USE_EXTERN_INLINES for recent
1297 * argp/argp.h: Define extern inline functions only if
1298 __USE_EXTERN_INLINES is defined.
1299 * libio/stdio.h: Likewise.
1300 * math/math.h: Likewise.
1301 * stdlib/stdlib.h: Likewise.
1302 * string/argz.h: Likewise.
1303 * sysdeps/generic/bits/sigset.h: Likewise.
1304 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1305 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1306 * sysdeps/wordsize-32/inttypes.h: Likewise.
1307 * sysdeps/wordsize-64/inttypes.h: Likewise.
1308 * wcsmbs/wchar.h: Likewise.
1310 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1311 to allow compilation without optimization.
1313 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1315 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1317 * nis/nss_compat/compat-initgroups.c: Likewise.
1318 * nis/nss_compat/compat-pwd.c: Likewise.
1319 * nis/nss_compat/compat-spwd.c: Likewise.
1320 * nis/nss_nis/nis-alias.c: Likewise.
1321 * nis/nss_nis/nis-ethers.c: Likewise.
1322 * nis/nss_nis/nis-grp.c: Likewise.
1323 * nis/nss_nis/nis-hosts.c: Likewise.
1324 * nis/nss_nis/nis-initgroups.c: Likewise.
1325 * nis/nss_nis/nis-network.c: Likewise.
1326 * nis/nss_nis/nis-proto.c: Likewise.
1327 * nis/nss_nis/nis-pwd.c: Likewise.
1328 * nis/nss_nis/nis-rpc.c: Likewise.
1329 * nis/nss_nis/nis-service.c: Likewise.
1330 * nis/nss_nis/nis-spwd.c: Likewise.
1332 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1334 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1336 * nis/yp_xdr.c: Remove 1024 byte limit.
1337 * nis/ypupdate_xdr.c: Likewise.
1339 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1342 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1344 * Rules (binaries-static, binaries-shared static pattern rules):
1345 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1347 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1348 this here, overriding Makeconfig generic value so we link against
1351 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
1353 * posix/tstgetopt.c (options): Add NULL entry at end
1354 Patch by Adrian Miranda <ade@psg.com>.
1356 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1358 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1361 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1363 * elf/elf.h: Add PPC Diab relocations.
1365 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1367 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1369 * manual/texinfo.tex: Update.
1371 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1373 * sysdeps/powerpc/backtrace.c: New file.
1375 1998-08-14 Philip Blundell <pb@nexus.co.uk>
1377 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1379 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1381 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1383 * Makefile (install-symbolic-link): Fix spelling.
1385 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1387 * elf/elf.h (SHT_HIOS): Fix value.
1389 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1391 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1392 part of the expansion, this is undefined by the standard.
1394 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1396 * posix/getconf.c: Add support for systems with incomplete confname.h.
1398 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1400 * sysdeps/posix/wait3.c: Make it work.
1402 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1404 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1405 (elf/ldso_install): Remove.
1407 * elf/Makefile (distribute): Add sln.c.
1409 (others-static): Add sln.
1410 (install-rootsbin): Add sln.
1411 (others-static): Add sln.
1412 (ldso_install): Remove.
1414 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1416 * Makerules (install-clean-symbolic-link-list): Make phony.
1417 * Makefile (install-symbolic-link): Make phony. Depend on
1418 subdir_install for parallel makes.
1421 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
1423 * elf/Makefile (distribute): Add sln.c
1425 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1427 * elf/sln.c: New file.
1429 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1430 (install-clean-symbolic-link-list): New target.
1431 (install): Depend on install-clean-symbolic-link-list.
1432 (make-shlib-link): Changed for $(symbolic-link-list).
1434 * Makefile (install-symbolic-link): New target.
1435 (install): Depend on install-symbolic-link.
1437 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1439 * include/unistd.h: Protect against multiple inclusion.
1441 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1442 is defined, not is glob is defined.
1443 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1445 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1447 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1448 xdr_string for ut_line, ut_name and ut_host.
1450 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1452 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1453 /var/mail in accordance with FHS 2.0.
1454 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1456 1998-08-12 Richard Henderson <rth@cygnus.com>
1458 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1459 Update aliases for cancelation.
1461 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1462 playing with symbol versions.
1464 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1466 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1467 multiple inclusion protection.
1468 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1469 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1470 define all these to 1.
1471 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1473 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1475 * sysdeps/mach/usleep.c: Include <unistd.h>.
1476 (usleep): Return void.
1478 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1480 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1481 decl to inhibit warning in if_freenameindex defn.
1483 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1485 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1487 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1488 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1489 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1490 * sysdeps/mach/usleep.c: Likewise.
1492 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1494 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1495 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1496 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1497 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1498 * sysdeps/mach/usleep.c (usleep): Likewise.
1499 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1500 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1501 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1502 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1504 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1506 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1509 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1510 %p arg to fprintf, since `void *' is the right type already.
1512 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1514 * sysdeps/mach/hurd/getcwd.c
1515 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1516 for unknown root directories.
1517 (__getcwd): Return NULL when the current root directory could not
1520 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
1522 * string/strsignal.c (strsignal): Count real-time signals from zero.
1525 See ChangeLog.8 for earlier changes.