1 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
3 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
4 yield three fields, not two. Test both parameter expansion and
5 command substitution for correct field-splitting behaviour.
7 * posix/wordexp.c (w_emptyword): New function.
9 (exec_comm): Likewise, for consistency with the way parse_param
11 (parse_param): Fix some memory leaks.
13 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
15 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
16 Don't mark asm `volatile'.
17 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
18 from the data cache too. Assume it isn't in the instruction cache yet.
19 (__elf_machine_fixup_plt): Clear the modified address from the caches.
21 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
23 * sysdeps/generic/segfault.c (install_handler): Install signal
24 handler with SA_ONSTACK instead of setting the stack flags to
25 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
28 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
30 * signal/signal.h: Fix multiple inclusion guard to cover the
32 * wcsmbs/wchar.h: Remove prototype of internal function
34 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
35 arithmetic on `void *'.
37 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
39 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
41 * posix/wordexp.c (wordexp): Perform word-splitting instead of
43 (wordexp): If out of memory mid-word, free the word (but still
44 leave pwordexp alone for caller to see).
45 (parse_param): Allow for zero-length fields (smarter checking of
46 memory allocation failure).
47 (w_addword): Convert NULL words to "".
48 (wordexp): Convert left-over IFS characters to blanks (like bash).
50 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
52 * configure.in: Use test -f instead of test -e.
53 Patch by John Tobey <jtobey@banta-im.com>.
55 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
56 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
57 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
58 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
59 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
60 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
61 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
62 Patches by John Tobey <jtobey@banta-im.com>.
64 * time/strftime.c (my_strftime): Delay use of *tp values until
65 latest possible point to allow partly initialized structures
66 (e.g., from strptime).
68 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
70 Define *-routines variables for new modules.
71 (distribute): Add .c files for new modules.
72 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
74 Add rules for header generation.
75 * iconvdata/gconv-modules: Add entries for new modules.
76 * iconvdata/iso_10367-box.c: New file.
77 * iconvdata/mac-is.c: New file.
78 * iconvdata/nats-dano.c: New file.
79 * iconvdata/nats-sefi.c: New file.
81 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
83 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
84 loader if PIC is not defined.
86 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
88 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
89 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
90 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
92 Define *-routines variables for new modules.
93 (distribute): Add .c files for new modules.
94 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
95 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
96 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
97 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
98 Add rules for header generation.
99 * iconvdata/gconv-modules: Add entries for new modules.
100 * iconvdata/csn_369103.c: New file.
101 * iconvdata/cwi.c: New file.
102 * iconvdata/dec-mcs.c: New file.
103 * iconvdata/ecma-cyrillic.c: New file.
104 * iconvdata/gost_19768-74.c: New file.
105 * iconvdata/greek-ccitt.c: New file.
106 * iconvdata/greek7-old.c: New file.
107 * iconvdata/greek7.c: New file.
108 * iconvdata/inis-8.c: New file.
109 * iconvdata/inis-cyrillic.c: New file.
110 * iconvdata/inis.c: New file.
111 * iconvdata/iso6937-2.c: New file.
112 * iconvdata/iso_2033.c: New file.
113 * iconvdata/iso_5427-ext.c: New file.
114 * iconvdata/iso_5427.c: New file.
115 * iconvdata/iso_5428.c: New file.
117 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
119 Convert U02dd correctly.
121 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
123 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
124 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
125 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
126 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
128 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
130 * resolv/res_init.c (res_init): Handle resolv.conf file with only
131 one nameserver correctly. Patch by HJ Lu.
133 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
135 Define *-routines variables for new modules.
136 (distribute): Add .c files for new modules.
137 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
138 Add rules for hedaer generation.
139 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
140 * iconvdata/ansi_x3.110.c: New file.
141 * iconvdata/asmo_449.c: New file.
142 * iconvdata/baltic.c: New file.
143 * iconvdata/iec_p27-1.c: New file.
145 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
147 Convert U02dc correctly.
149 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
150 * math/atest-exp2.c: Likewise.
151 * math/atest-sincos.c: Likewise.
153 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
156 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
158 * string/strcoll.c: Optimize a few expressions.
159 * string/strxfrm.c: Likewise.
161 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
163 * manual/locale.texi: Fix typos.
165 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
167 * stdlib/random_r.c (__setstate_r): Allow call with same state
168 array as currently used (PR libc/774).
170 * include/limits.h: Include gcc's header even if this file is
171 found more than once before it (PR libc/778)
173 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
174 (sysdep_headers): Remove sys/debugreg.h.
175 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
176 (sysdep_headers): Add sys/debugreg.h.
177 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
178 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
180 * stdio-common/tmpnam.c: Move local static variable buf to
181 toplevel and rename to tmpnam_buffer to ease debugging.
182 Patch by Joe Keane <jgk@jgk.org>.
183 Optimize s == NULL case a bit.
185 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
188 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
190 * resolv/res_init.c (res_init): Initialize _res.nscount and
191 _res.nsaddr.sin_port differently for the can when no loopback
192 is available to allow immediate timeout in non-networking environments.
193 Patch by Cristian Gafton <gafton@redhat.com>.
195 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
197 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
199 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
200 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
203 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
205 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
207 * timezone/tst-timezone.c (tests): Fix typo in last patch.
209 * time/tzfile.c (__tzfile_read): Handle case when there are no
210 transitions. Set __timezone based on computed offset.
211 * time/tzset.c (tzset_internal): Set __timezone before returning.
213 * time/tzset.c (tzset_internal): Optimize handling of local string
216 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
218 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
221 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
223 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
224 (csqrt_test): Likewise.
225 * sysdeps/powerpc/bits/fenv.h: Add parens.
227 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
229 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
230 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
231 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
233 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
235 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
236 the special `-1' pointer.
238 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
240 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
243 1998-09-07 Paul Eggert <eggert@twinsun.com>
245 * time/mktime.c (__EXTENSIONS__): Define if not defined.
246 (_REENTRANT): Remove. It has undesirable consequences in
247 Solaris 2.6 (e.g. it turns off the putc macro). Defining
248 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
250 * time/strftime.c: Likewise.
252 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
254 * elf/dl-error.c: Fix spelling.
256 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
258 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
259 * stdio-common/_itoa.c: Likewise.
260 * stdio-common/printf_fp.c: Likewise.
261 * stdio-common/vfscanf.c: Likewise.
262 * wcsmbs/wcstok.c: Likewise.
263 * sysdeps/generic/glob.c: Likewise.
264 * posix/getopt.c: Likewise.
265 * sysdeps/posix/getaddrinfo.c: Likewise.
266 * posix/wordexp.c: Likewise.
267 * io/ftw.c: Likewise.
268 * io/fts.c: Likewise.
269 * misc/getpass.c: Likewise.
270 * iconv/gconv_conf.c: Likewise.
271 * argp/argp-fmtstream.c: Likewise.
272 * argp/argp-help.c: Likewise.
273 * elf/dl-load.c: Likewise.
274 * locale/programs/stringtrans.c: Likewise.
275 * catgets/gencat.c: Likewise.
276 * posix/getconf.c: Likewise.
277 * iconv/gconv_conf.c: Likewise.
278 * iconv/iconv_prog.c: Likewise.
280 * string/strcoll.c: Optimize a few expressions.
281 * string/strxfrm.c: Likewise.
283 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
285 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
286 level to avoid uninit variable warning.
288 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
290 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
291 instead of _dl_default_scope[2] as argument to _dl_init_next.
293 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
296 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
298 Fix compatibility problems introduced in last change.
299 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
301 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
302 -DWEAK_GMON_START to CFLAGS-initfini.s.
304 * elf/dl-object.c (_dl_new_object): Store map address in
305 _dl_loaded if _dl_loaded is NULL.
306 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
308 * sysdeps/generic/setrlimit64.c: Remove stub warning.
310 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
312 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
314 * db2/btree/bt_cursor.c: Likewise.
315 * db2/common/db_region.db_c: Likewise.
316 * db2/common/db_salloc.db_c: Likewise.
317 * db2/db/db.c: Likewise.
318 * db2/db/db_rec.c: Likewise.
319 * db2/hash/hash.c: Likewise.
320 * db2/hash/hash_page.c: Likewise.
321 * db2/hash/hash_rec.c: Likewise.
322 * db2/log/log_findckp.c: Likewise.
323 * db2/log/log_get.c: Likewise.
324 * db2/log/log_put.c: Likewise.
325 * db2/mp/mp_fget.c: Likewise.
326 * db2/mp/mp_fput.c: Likewise.
327 * db2/mp/mp_region.c: Likewise.
328 * stdlib/strtol.c: Likewise.
329 * string/strcoll.c: Likewise.
330 * string/strxfrm.c: Likewise.
331 * argp/argp-help.c: Likewise.
332 * argp/argp-parse.c: Likewise.
333 * resolv/res_debug.c: Likewise.
335 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
337 * math/tgmath.h (scalb): Only define for __USE_MISC or
338 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
340 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
342 * libio/stdio.h: Fix comment.
344 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
347 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
349 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
351 * elf/dl-open.c: Quiet -Wparentheses warnings.
352 * iconvdata/johab.c: Likewise.
353 * iconvdata/uhc.c: Likewise.
354 * inet/inet_net.c: Likewise.
355 * io/fts.c: Likewise.
356 * locale/newlocale.c: Likewise.
357 * misc/getttyent.c: Likewise.
358 * misc/mntent_r.c: Likewise.
359 * misc/ttyslot.c: Likewise.
360 * nscd/nscd_conf.c: Likewise.
361 * nss/nsswitch.c: Likewise.
362 * resolv/gethnamaddr.c: Likewise.
363 * resolv/nsap_addr.c: Likewise.
364 * resolv/res_debug.c: Likewise.
365 * stdio-common/_itoa.c: Likewise.
366 * stdlib/strtod.c: Likewise.
367 * string/strverscmp.c: Likewise.
368 * sunrpc/svc.c: Likewise.
369 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
370 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
371 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
372 * sysdeps/posix/getaddrinfo.c: Likewise.
374 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
376 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
377 for use of global scope.
378 * elf/dlvsym.c (dlvsym_doit): Likewise.
380 1998-09-02 Paul Eggert <eggert@twinsun.com>
382 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
383 copy the redundant bytes at the end of the format as-is; don't
384 just copy their first byte and then rescan, as that might get
385 us an encoding error.
386 Account correctly for the length of multibyte sequences in the
389 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
391 * posix/wordexp-test.c: Add tests for different IFS values.
392 Change unquoted-newline test so that newline is not in IFS.
394 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
395 determining IFS characters. Return WRDE_BADCHAR for unquoted
396 special characters _except_ if they are separators.
398 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
400 * include/tgmath.h: New file.
402 * libio/stdio.h: Correct reversed #ifs.
403 Patch by Zack Weinberg.
405 * manual/creature.texi: Better explain reason for feature select
407 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
409 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
411 * include/alloca.h: Add multiple-inclusion guard.
412 * include/db.h: Likewise.
413 * include/db_185.h: Likewise.
414 * include/dlfcn.h: Likewise.
415 * include/fcntl.h: Likewise.
416 * include/grp.h: Likewise.
417 * include/libintl.h: Likewise.
418 * include/mntent.h: Likewise.
419 * include/pwd.h: Likewise.
420 * include/sched.h: Likewise.
421 * include/search.h: Likewise.
422 * include/setjmp.h: Likewise.
423 * include/shadow.h: Likewise.
424 * include/signal.h: Likewise.
425 * include/stdio.h: Likewise.
426 * include/stdlib.h: Likewise.
427 * include/string.h: Likewise.
428 * include/termios.h: Likewise.
429 * include/time.h: Likewise.
430 * include/ulimit.h: Likewise.
431 * include/utmp.h: Likewise.
432 * include/wchar.h: Likewise.
433 * include/sys/file.h: Likewise.
434 * include/sys/gmon.h: Likewise.
435 * include/sys/ioctl.h: Likewise.
436 * include/sys/mman.h: Likewise.
437 * include/sys/resource.h: Likewise.
438 * include/sys/select.h: Likewise.
439 * include/sys/socket.h: Likewise.
440 * include/sys/statfs.h: Likewise.
441 * include/sys/time.h: Likewise.
442 * include/sys/times.h: Likewise.
443 * include/sys/wait.h: Likewise.
445 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
447 * version.h (VERSION): Bump to 2.0.96.
449 Rewrite runtime linker to be truly thread-safe. There is now no
450 global variable specifying the scope. We create all needed
451 scopes at the time the link maps are created.
452 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
453 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
454 l_symbolic_searchlist, l_scope, and l_local_scope elements in
456 * elf/dl-close.c: Rewritten accordingly.
457 * elf/dl-deps.c: Likewise.
458 * elf/dl-error.c: Likewise.
459 * elf/dl-init.c: Likewise.
460 * elf/dl-load.c: Likewise.
461 * elf/dl-lookup.c: Likewise.
462 * elf/dl-object.c: Likewise.
463 * elf/dl-open.c: Likewise.
464 * elf/dl-reloc.c: Likewise.
465 * elf/dl-runtime.c: Likewise.
466 * elf/dl-support.c: Likewise.
467 * elf/dl-symbol.c: Likewise.
468 * elf/dl-version.c: Likewise.
469 * elf/dlsym.c: Likewise.
470 * elf/dlvsym.c: Likewise.
471 * elf/ldsodefs.h: Likewise.
472 * elf/rtld.c: Likewise.
473 * iconv/gconv_dl.c: Likewise.
474 * nss/nsswitch.c: Likewise.
475 * sysdeps/i386/dl-machine.h: Likewise.
476 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
478 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
481 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
483 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
484 __getopt_clean_environment with __environ instead of envp.
486 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
488 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
490 * string/argz-extract.c (__argz_extract): Add de-consting cast for
493 * string/argz.h (argz_next): Add de-consting cast for return.
494 * string/argz-next.c (__argz_next): Likewise.
496 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
497 Don't add netinet/udp.h, netinet/ip_icmp.h here.
498 * sysdeps/gnu/Makefile: Do it here instead.
499 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
500 * sysdeps/gnu/Dist: ... to here.
502 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
503 sysdeps/unix/sysv/linux/netinet/tcp.h,
504 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
506 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
508 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
509 * string/argz-next.c, string/argz-extract.c: Fix defns.
511 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
513 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
515 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
516 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
517 * sysdeps/generic/sysd-stdio.c: Likewise.
519 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
521 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
522 (_dl_map_object_from_fd): Make NAME argument const.
523 Remove last parameter in _dl_new_object call.
524 (print_search_path): Correct construction of composed path name.
525 (_dl_map_object): Prevent looking at RPATH of the main map twice.
526 Remove last parameter in _dl_new_object call.
527 * elf/dl-object.c: Remove last parameter. Determine whether create
528 origin entry based on empty realname. Handle file in root directory
530 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
531 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
532 Remove last parameter in _dl_new_object call.
533 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
534 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
536 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
538 * elf/dl-close.c (_dl_close): Add more comments and correct some.
539 Free l_searchlist and l_dupsearchlist.
541 * debug/catchsegv.sh: Add one more pair of quotes.
543 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
545 * elf/dl-load.c (add_name_to_object): Change return type to void and
546 make NAME parameter const. Allocate room for NAME in same memory
547 block used for l_libname entry.
548 (_dl_map_object_from_fd): Don't free NAME on failure.
549 (map_segment): Pass SONAME to add_name_to_object, not a copy.
550 (_dl_map_object): Don't create copy of NAME. Pass NAME to
551 _dl_map_object_from_fd.
552 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
553 memory block used for l_libname entry.
554 * elf/dl-close.c: Adjust free()ing for this change.
556 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
558 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
560 * malloc/mtrace.c: Add bug report address. Update email address.
561 Add more @XXX@ to print correct address size.
563 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
566 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
567 for munmap call instead of examining phdr again.
568 Free all malloc()ed strings and arrays.
570 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
572 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
574 * sysdeps/powerpc/dl-machine.c: New file.
575 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
576 files. Revise ELF_PREFERRED_ADDRESS to take account of
577 the new mapping information (fixes bug involving huge bloated
578 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
579 * sysdeps/powerpc/dl-start.S: New file.
581 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
583 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
584 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
585 others. Call elf_dynamic_do_##reloc only once (to save even more
587 * elf/link.h: Add new members l_map_start and l_map_end to keep
588 track of the memory map.
589 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
592 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
594 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
595 Reported by Andreas Jaeger.
597 * posix/glob.h: Use __size_t instead of size_t in definitions and
598 make sure this is defined.
600 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
602 * manual/locale.texi: Almost complete rewrite. Document more functions
604 * manual/arith.texi: Correct reference.
605 * manual/string.texi: Pretty printing.
607 * manual/texinfo.tex: Update from last available version.
609 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
611 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
613 (_nss_nis_getpwuid_r): Likewise.
614 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
616 * inet/rcmd.c: Implement netgroup support.
617 Patch by Dick Streefland <dick_streefland@tasking.com>.
619 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
621 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
622 object on the list is removed. Don't use this code for PIC.
623 Reported by HJ Lu [PR libc/770].
625 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
627 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
629 * include/stdio.h: Add __vsscanf.
631 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
633 Remove __vsscanf declaration.
634 Always declare fgetpos and fsetpos.
636 * math/math.h: Define isinf as macro.
637 * math/bits/mathcalls.h: Change to declare __isinf all the time.
638 Don't declare scalb for ISO C 9x.
640 * math/tgmath.h: Define fma. Rewrite the underlying macros.
642 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
644 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
647 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
650 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
652 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
653 Reported by jreising@frequentis.com [PR libc/767].
655 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
657 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
658 fl.l_start at beginning of function.
659 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
661 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
663 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
664 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
666 * nscd/nscd.init: Make it work in RedHat systems.
667 Patch by Christian Gafton.
669 1998-08-29 Philip Blundell <philb@gnu.org>
671 * catgets/Makefile: Don't try to run test programs when
674 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
676 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
677 Reported by Zack Weinberg.
679 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
681 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
682 * elf/Makefile (distribute): Remove ldd.sh.in.
684 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
686 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
689 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
691 * sysdeps/i386/register-dump.h: Move to ...
692 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
694 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
696 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
697 with load address, not map address.
698 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
699 parameter and use this value.
700 * sysdeps/arm/dl-machine.h: Likewise.
701 * sysdeps/i386/dl-machine.h: Likewise.
702 * sysdeps/m68k/dl-machine.h: Likewise.
703 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
705 * sysdeps/powerpc/dl-machine.h: Likewise
706 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
707 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
709 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
711 * elf/rtld.c (process_envvars): Fix copy&paste error.
713 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
715 (realloc_hook_ini): Don't overwrite memalign hook.
716 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
717 Reported by Philippe Troin <phil@fifi.org>.
719 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
720 Patch by Philippe Troin <phil@fifi.org>.
722 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
724 * sysdeps/generic/segfault.c (install_handler): Protect the
725 non-POSIX signals with #ifdef.
726 (catch_segfault): Add missing mode parameter for open.
727 * debug/catchsegv.sh: Avoid termination message from shell. Allow
728 other termination signals.
730 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
732 * debug/Makefile (distribute): Add register-dump.h.
734 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
736 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
738 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
740 * elf/Makefile (distribute): Add dl-origin.h.
741 * sysdeps/generic/dl-origin.h: New file.
742 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
743 * elf/link.h (struct link_map): Add l_origin field.
744 * elf/dl-load.c (expand_dynamic_string_token): New function.
745 (decompose_path): Remove WHERE argument, take link map pointer instead.
746 Call expand_dynamic_string_token instead of local_strdup to make copy
748 (_dl_init_paths): Call decompose_path with correct argument.
749 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
751 Check EI_OSABI and EI_ABIVERSION fields in header.
752 Call _dl_new_object with extra argument.
753 (_dl_map_object): Call decompose_path with correct argument.
754 Call expand_dynamic_string_token instead of local_strdup to also
756 Call _dl_new_object with extra argument.
757 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
758 but the main one if new argument is nonzero.
759 * elf/ldsodefs.h: Adjust for _dl_new_object change.
760 * elf/dl-support.c: Define _dl_origin_path.
761 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
762 (dl_main): Call _dl_new_object with extra argument.
764 * elf/dl-close (_dl_close): Free l_name and l_origin.
766 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
767 modifier in asm, not c.
769 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
770 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
772 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
774 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
775 variable so that map can be freed.
776 Reported by Philippe Troin <phil@fifi.org>.
778 * elf/dl-open.c (dl_open_worker): Correct test for extending global
780 Patch by Philippe Troin <phil@fifi.org>.
782 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
784 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
785 Don't call writev() with a 100-element vector.
786 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
789 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
790 In particular, set __libc_stack_end.
791 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
792 undefined. Fix copyright notice.
794 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
796 * math/Makefile (gmp-objs): New variable.
797 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
799 (tests): Add atest-exp atest-sincos atest-exp2.
800 (tests-static): Remove atest-exp atest-sincos atest-exp2.
802 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
804 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
806 (_dl_unload_cache): New function.
807 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
808 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
809 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
811 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
812 Correct comment for O_LARGEFILE.
813 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
814 Change O_LARGEFILE to correct value.
816 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
818 * libio/iogetline.c (_IO_getline_info): Don't read anything for
819 N == 0. Patch by HJ Lu.
821 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
823 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
825 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
827 * argp/argp.h: Use __inline__ not inline.
829 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
830 an input register as being clobbered.
831 * sysdeps/i386/memset.c (memset): Likewise.
832 * sysdeps/i386/bzero.c (__bzero): Likewise.
833 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
835 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
837 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
838 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
840 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
842 * debug/catchsegv.sh: Handle text preceding backtrace better.
843 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
844 to be installed for other signals than SIGSEGV.
845 * sysdeps/generic/register-dump.h: New file.
846 * sysdeps/i386/register-dump.h: New file.
847 * sysdeps/powerpc/register-dump.h: New file.
849 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
851 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
853 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
855 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
857 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
859 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
860 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
861 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
862 getresuid, getresgid.
864 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
866 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
869 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
871 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
874 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
876 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
877 over arguments Bourne shell compatible. Don't exit unsuccessfully
878 if nonelf returns successfully. Avoid duplicating most of the
880 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
883 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
885 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
887 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
888 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
890 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
892 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
893 __modify_ldt and modify_ldt.
894 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
896 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
897 Use orl $-1 instead of movl $-1 to save two bytes.
898 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
901 1998-08-17 H.J. Lu <hjl@gnu.org>
903 * libio/Versions (_IO_do_write, _IO_file_attach,
904 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
905 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
906 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
907 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
909 * libio/fileops.c (_IO_do_write, _IO_file_attach,
910 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
911 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
912 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
913 _IO_file_write, _IO_file_xsputn): Change the prefix to
914 "_IO_new_". Added to GLIBC_2.1.
916 * libio/libioP.h (_IO_do_write, _IO_file_attach,
917 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
918 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
919 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
920 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
923 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
924 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
925 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
926 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
927 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
929 1998-08-23 Richard Henderson <rth@cygnus.com>
931 * Makeconfig (LDFLAGS): Remove.
933 * csu/initfini.c: Return to .text before __gmon_start__.
935 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
936 (STO_MIPS_*): Rename from STO_*.
937 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
938 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
940 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
941 (main): e3s is negative on zero.
942 * math/atest-exp2.c: Likewise.
943 * math/atest-sincos.c: Likewise.
945 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
947 * Makerules (install): Add comment about absolute paths.
949 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
951 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
952 array to NUL to handle maxlen==1 case correctly.
955 1998-08-23 Richard Henderson <rth@cygnus.com>
957 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
958 * sysdeps/alpha/elf/crtend.S: Likewise.
959 * sysdeps/alpha/elf/start.S: Likewise.
961 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
962 non-standard pv usage.
964 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
965 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
966 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
967 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
968 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
969 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
970 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
971 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
972 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
973 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
974 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
976 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
977 a finite non-denormal, deferring to the full IEEE version otherwise.
979 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
980 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
981 * sysdeps/alpha/fpu/s_floor.c: New.
982 * sysdeps/alpha/fpu/s_floorf.c: New.
983 * sysdeps/alpha/fpu/s_ceil.c: New.
984 * sysdeps/alpha/fpu/s_ceilf.c: New.
986 1998-08-22 Philip Blundell <philb@gnu.org>
988 * sysdeps/arm/bits/string.h: New file.
990 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
992 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
995 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
996 test for recent Linux 2.1.100+ headers.
998 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1000 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1002 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1004 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1006 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1008 * Makefile (elf/ldso_install): Put back. The problem still persists.
1009 * elf/Makefile (ldso_install): Likewise.
1011 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1013 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1015 * include/db.h: Declare __nss_db_open.
1016 * db2/Versions: Export it.
1018 * db2/makedb.c: Convert to use db2 API.
1019 * nss/nss_db/db-XXX.c: Likewise.
1020 * nss/nss_db/db-netgrp.c: Likewise.
1021 * nss/nss_db/db-alias.c: Likewise.
1022 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1024 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1026 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1027 sys_setresuid, already built automatically (or not).
1028 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1029 instead of __syscall_setresuid and add back setresuid.
1030 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1031 __syscall_setresuid.
1033 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1035 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1037 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1039 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1040 BASH-ONLY marked region.
1041 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1043 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1045 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1048 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1050 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1053 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1055 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1056 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1057 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1058 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1059 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1060 those magic comments, and to use /bin/sh for @BASH@.
1061 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1062 * elf/ldd.sh.in: File removed.
1064 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1066 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1067 cast them to unsigned long int.
1068 * pwd/putpwent.c (putpwent): Likewise.
1069 Patch by John Tobey <jtobey@banta-im.com>.
1071 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1073 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1076 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1078 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1081 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1083 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1084 Add umount and umount2.
1085 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1086 * sysdeps/unix/sysv/linux/umount.S: New file.
1087 * sysdeps/unix/sysv/linux/umount2.S: New file.
1088 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1091 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1093 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1094 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1096 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1098 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1101 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1103 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1104 * elf/ldd.bash.in: Likewise.
1106 * elf/sln.c: Avoid warning for no main prototype.
1108 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1110 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1113 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1115 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1116 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1119 1998-08-20 Philip Blundell <pb@nexus.co.uk>
1121 * sysdeps/arm/fpu/ieee754.h: Move to...
1122 * sysdeps/arm/ieee754.h: ... here.
1124 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1125 Don't set the condition flags unnecessarily.
1126 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1127 registers correctly.
1129 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1130 (patch from Scott Bambrough).
1132 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1134 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1135 NULL, just call it unconditionally.
1136 (__gmon_start__): Provide stub version as a weak symbol.
1138 1998-07-30 Philip Blundell <philb@gnu.org>
1140 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1143 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1144 like `@' in .type directives.
1146 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1147 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1149 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1151 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1153 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1154 (F_GETOWN): Likewise.
1156 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1159 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1161 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1164 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
1166 * include/features.h: Define __USE_EXTERN_INLINES for recent
1168 * argp/argp.h: Define extern inline functions only if
1169 __USE_EXTERN_INLINES is defined.
1170 * libio/stdio.h: Likewise.
1171 * math/math.h: Likewise.
1172 * stdlib/stdlib.h: Likewise.
1173 * string/argz.h: Likewise.
1174 * sysdeps/generic/bits/sigset.h: Likewise.
1175 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1176 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1177 * sysdeps/wordsize-32/inttypes.h: Likewise.
1178 * sysdeps/wordsize-64/inttypes.h: Likewise.
1179 * wcsmbs/wchar.h: Likewise.
1181 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1182 to allow compilation without optimization.
1184 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1186 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1188 * nis/nss_compat/compat-initgroups.c: Likewise.
1189 * nis/nss_compat/compat-pwd.c: Likewise.
1190 * nis/nss_compat/compat-spwd.c: Likewise.
1191 * nis/nss_nis/nis-alias.c: Likewise.
1192 * nis/nss_nis/nis-ethers.c: Likewise.
1193 * nis/nss_nis/nis-grp.c: Likewise.
1194 * nis/nss_nis/nis-hosts.c: Likewise.
1195 * nis/nss_nis/nis-initgroups.c: Likewise.
1196 * nis/nss_nis/nis-network.c: Likewise.
1197 * nis/nss_nis/nis-proto.c: Likewise.
1198 * nis/nss_nis/nis-pwd.c: Likewise.
1199 * nis/nss_nis/nis-rpc.c: Likewise.
1200 * nis/nss_nis/nis-service.c: Likewise.
1201 * nis/nss_nis/nis-spwd.c: Likewise.
1203 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1205 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1207 * nis/yp_xdr.c: Remove 1024 byte limit.
1208 * nis/ypupdate_xdr.c: Likewise.
1210 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1213 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1215 * Rules (binaries-static, binaries-shared static pattern rules):
1216 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1218 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1219 this here, overriding Makeconfig generic value so we link against
1222 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
1224 * posix/tstgetopt.c (options): Add NULL entry at end
1225 Patch by Adrian Miranda <ade@psg.com>.
1227 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1229 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1232 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1234 * elf/elf.h: Add PPC Diab relocations.
1236 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1238 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1240 * manual/texinfo.tex: Update.
1242 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1244 * sysdeps/powerpc/backtrace.c: New file.
1246 1998-08-14 Philip Blundell <pb@nexus.co.uk>
1248 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1250 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1252 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1254 * Makefile (install-symbolic-link): Fix spelling.
1256 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1258 * elf/elf.h (SHT_HIOS): Fix value.
1260 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1262 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1263 part of the expansion, this is undefined by the standard.
1265 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1267 * posix/getconf.c: Add support for systems with incomplete confname.h.
1269 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1271 * sysdeps/posix/wait3.c: Make it work.
1273 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1275 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1276 (elf/ldso_install): Remove.
1278 * elf/Makefile (distribute): Add sln.c.
1280 (others-static): Add sln.
1281 (install-rootsbin): Add sln.
1282 (others-static): Add sln.
1283 (ldso_install): Remove.
1285 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1287 * Makerules (install-clean-symbolic-link-list): Make phony.
1288 * Makefile (install-symbolic-link): Make phony. Depend on
1289 subdir_install for parallel makes.
1292 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
1294 * elf/Makefile (distribute): Add sln.c
1296 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1298 * elf/sln.c: New file.
1300 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1301 (install-clean-symbolic-link-list): New target.
1302 (install): Depend on install-clean-symbolic-link-list.
1303 (make-shlib-link): Changed for $(symbolic-link-list).
1305 * Makefile (install-symbolic-link): New target.
1306 (install): Depend on install-symbolic-link.
1308 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1310 * include/unistd.h: Protect against multiple inclusion.
1312 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1313 is defined, not is glob is defined.
1314 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1316 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1318 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1319 xdr_string for ut_line, ut_name and ut_host.
1321 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1323 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1324 /var/mail in accordance with FHS 2.0.
1325 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1327 1998-08-12 Richard Henderson <rth@cygnus.com>
1329 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1330 Update aliases for cancelation.
1332 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1333 playing with symbol versions.
1335 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1337 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1338 multiple inclusion protection.
1339 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1340 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1341 define all these to 1.
1342 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1344 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1346 * sysdeps/mach/usleep.c: Include <unistd.h>.
1347 (usleep): Return void.
1349 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1351 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1352 decl to inhibit warning in if_freenameindex defn.
1354 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1356 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1358 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1359 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1360 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1361 * sysdeps/mach/usleep.c: Likewise.
1363 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1365 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1366 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1367 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1368 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1369 * sysdeps/mach/usleep.c (usleep): Likewise.
1370 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1371 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1372 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1373 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1375 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1377 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1380 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1381 %p arg to fprintf, since `void *' is the right type already.
1383 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1385 * sysdeps/mach/hurd/getcwd.c
1386 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1387 for unknown root directories.
1388 (__getcwd): Return NULL when the current root directory could not
1391 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
1393 * string/strsignal.c (strsignal): Count real-time signals from zero.
1396 See ChangeLog.8 for earlier changes.