1 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
3 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
6 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
8 * math/tgmath.h (scalb): Only define for __USE_MISC or
9 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
11 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13 * libio/stdio.h: Fix comment.
15 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
18 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
20 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
22 * elf/dl-open.c: Quiet -Wparentheses warnings.
23 * iconvdata/johab.c: Likewise.
24 * iconvdata/uhc.c: Likewise.
25 * inet/inet_net.c: Likewise.
27 * locale/newlocale.c: Likewise.
28 * misc/getttyent.c: Likewise.
29 * misc/mntent_r.c: Likewise.
30 * misc/ttyslot.c: Likewise.
31 * nscd/nscd_conf.c: Likewise.
32 * nss/nsswitch.c: Likewise.
33 * resolv/gethnamaddr.c: Likewise.
34 * resolv/nsap_addr.c: Likewise.
35 * resolv/res_debug.c: Likewise.
36 * stdio-common/_itoa.c: Likewise.
37 * stdlib/strtod.c: Likewise.
38 * string/strverscmp.c: Likewise.
39 * sunrpc/svc.c: Likewise.
40 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
41 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
42 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
43 * sysdeps/posix/getaddrinfo.c: Likewise.
45 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
47 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
48 for use of global scope.
49 * elf/dlvsym.c (dlvsym_doit): Likewise.
51 1998-09-02 Paul Eggert <eggert@twinsun.com>
53 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
54 copy the redundant bytes at the end of the format as-is; don't
55 just copy their first byte and then rescan, as that might get
57 Account correctly for the length of multibyte sequences in the
60 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
62 * posix/wordexp-test.c: Add tests for different IFS values.
63 Change unquoted-newline test so that newline is not in IFS.
65 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
66 determining IFS characters. Return WRDE_BADCHAR for unquoted
67 special characters _except_ if they are separators.
69 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
71 * include/tgmath.h: New file.
73 * libio/stdio.h: Correct reversed #ifs.
74 Patch by Zack Weinberg.
76 * manual/creature.texi: Better explain reason for feature select
78 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
80 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
82 * include/alloca.h: Add multiple-inclusion guard.
83 * include/db.h: Likewise.
84 * include/db_185.h: Likewise.
85 * include/dlfcn.h: Likewise.
86 * include/fcntl.h: Likewise.
87 * include/grp.h: Likewise.
88 * include/libintl.h: Likewise.
89 * include/mntent.h: Likewise.
90 * include/pwd.h: Likewise.
91 * include/sched.h: Likewise.
92 * include/search.h: Likewise.
93 * include/setjmp.h: Likewise.
94 * include/shadow.h: Likewise.
95 * include/signal.h: Likewise.
96 * include/stdio.h: Likewise.
97 * include/stdlib.h: Likewise.
98 * include/string.h: Likewise.
99 * include/termios.h: Likewise.
100 * include/time.h: Likewise.
101 * include/ulimit.h: Likewise.
102 * include/utmp.h: Likewise.
103 * include/wchar.h: Likewise.
104 * include/sys/file.h: Likewise.
105 * include/sys/gmon.h: Likewise.
106 * include/sys/ioctl.h: Likewise.
107 * include/sys/mman.h: Likewise.
108 * include/sys/resource.h: Likewise.
109 * include/sys/select.h: Likewise.
110 * include/sys/socket.h: Likewise.
111 * include/sys/statfs.h: Likewise.
112 * include/sys/time.h: Likewise.
113 * include/sys/times.h: Likewise.
114 * include/sys/wait.h: Likewise.
116 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
118 * version.h (VERSION): Bump to 2.0.96.
120 Rewrite runtime linker to be truly thread-safe. There is now no
121 global variable specifying the scope. We create all needed
122 scopes at the time the link maps are created.
123 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
124 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
125 l_symbolic_searchlist, l_scope, and l_local_scope elements in
127 * elf/dl-close.c: Rewritten accordingly.
128 * elf/dl-deps.c: Likewise.
129 * elf/dl-error.c: Likewise.
130 * elf/dl-init.c: Likewise.
131 * elf/dl-load.c: Likewise.
132 * elf/dl-lookup.c: Likewise.
133 * elf/dl-object.c: Likewise.
134 * elf/dl-open.c: Likewise.
135 * elf/dl-reloc.c: Likewise.
136 * elf/dl-runtime.c: Likewise.
137 * elf/dl-support.c: Likewise.
138 * elf/dl-symbol.c: Likewise.
139 * elf/dl-version.c: Likewise.
140 * elf/dlsym.c: Likewise.
141 * elf/dlvsym.c: Likewise.
142 * elf/ldsodefs.h: Likewise.
143 * elf/rtld.c: Likewise.
144 * iconv/gconv_dl.c: Likewise.
145 * nss/nsswitch.c: Likewise.
146 * sysdeps/i386/dl-machine.h: Likewise.
147 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
149 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
152 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
154 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
155 __getopt_clean_environment with __environ instead of envp.
157 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
159 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
161 * string/argz-extract.c (__argz_extract): Add de-consting cast for
164 * string/argz.h (argz_next): Add de-consting cast for return.
165 * string/argz-next.c (__argz_next): Likewise.
167 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
168 Don't add netinet/udp.h, netinet/ip_icmp.h here.
169 * sysdeps/gnu/Makefile: Do it here instead.
170 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
171 * sysdeps/gnu/Dist: ... to here.
173 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
174 sysdeps/unix/sysv/linux/netinet/tcp.h,
175 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
177 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
179 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
180 * string/argz-next.c, string/argz-extract.c: Fix defns.
182 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
184 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
186 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
187 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
188 * sysdeps/generic/sysd-stdio.c: Likewise.
190 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
192 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
193 (_dl_map_object_from_fd): Make NAME argument const.
194 Remove last parameter in _dl_new_object call.
195 (print_search_path): Correct construction of composed path name.
196 (_dl_map_object): Prevent looking at RPATH of the main map twice.
197 Remove last parameter in _dl_new_object call.
198 * elf/dl-object.c: Remove last parameter. Determine whether create
199 origin entry based on empty realname. Handle file in root directory
201 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
202 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
203 Remove last parameter in _dl_new_object call.
204 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
205 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
207 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
209 * elf/dl-close.c (_dl_close): Add more comments and correct some.
210 Free l_searchlist and l_dupsearchlist.
212 * debug/catchsegv.sh: Add one more pair of quotes.
214 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
216 * elf/dl-load.c (add_name_to_object): Change return type to void and
217 make NAME parameter const. Allocate room for NAME in same memory
218 block used for l_libname entry.
219 (_dl_map_object_from_fd): Don't free NAME on failure.
220 (map_segment): Pass SONAME to add_name_to_object, not a copy.
221 (_dl_map_object): Don't create copy of NAME. Pass NAME to
222 _dl_map_object_from_fd.
223 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
224 memory block used for l_libname entry.
225 * elf/dl-close.c: Adjust free()ing for this change.
227 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
229 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
231 * malloc/mtrace.c: Add bug report address. Update email address.
232 Add more @XXX@ to print correct address size.
234 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
237 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
238 for munmap call instead of examining phdr again.
239 Free all malloc()ed strings and arrays.
241 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
243 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
245 * sysdeps/powerpc/dl-machine.c: New file.
246 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
247 files. Revise ELF_PREFERRED_ADDRESS to take account of
248 the new mapping information (fixes bug involving huge bloated
249 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
250 * sysdeps/powerpc/dl-start.S: New file.
252 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
254 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
255 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
256 others. Call elf_dynamic_do_##reloc only once (to save even more
258 * elf/link.h: Add new members l_map_start and l_map_end to keep
259 track of the memory map.
260 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
263 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
265 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
266 Reported by Andreas Jaeger.
268 * posix/glob.h: Use __size_t instead of size_t in definitions and
269 make sure this is defined.
271 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
273 * manual/locale.texi: Almost complete rewrite. Document more functions
275 * manual/arith.texi: Correct reference.
276 * manual/string.texi: Pretty printing.
278 * manual/texinfo.tex: Update from last available version.
280 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
282 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
284 (_nss_nis_getpwuid_r): Likewise.
285 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
287 * inet/rcmd.c: Implement netgroup support.
288 Patch by Dick Streefland <dick_streefland@tasking.com>.
290 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
292 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
293 object on the list is removed. Don't use this code for PIC.
294 Reported by HJ Lu [PR libc/770].
296 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
298 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
300 * include/stdio.h: Add __vsscanf.
302 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
304 Remove __vsscanf declaration.
305 Always declare fgetpos and fsetpos.
307 * math/math.h: Define isinf as macro.
308 * math/bits/mathcalls.h: Change to declare __isinf all the time.
309 Don't declare scalb for ISO C 9x.
311 * math/tgmath.h: Define fma. Rewrite the underlying macros.
313 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
315 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
318 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
321 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
323 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
324 Reported by jreising@frequentis.com [PR libc/767].
326 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
328 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
329 fl.l_start at beginning of function.
330 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
332 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
334 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
335 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
337 * nscd/nscd.init: Make it work in RedHat systems.
338 Patch by Christian Gafton.
340 1998-08-29 Philip Blundell <philb@gnu.org>
342 * catgets/Makefile: Don't try to run test programs when
345 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
347 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
348 Reported by Zack Weinberg.
350 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
352 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
353 * elf/Makefile (distribute): Remove ldd.sh.in.
355 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
357 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
360 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
362 * sysdeps/i386/register-dump.h: Move to ...
363 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
365 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
367 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
368 with load address, not map address.
369 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
370 parameter and use this value.
371 * sysdeps/arm/dl-machine.h: Likewise.
372 * sysdeps/i386/dl-machine.h: Likewise.
373 * sysdeps/m68k/dl-machine.h: Likewise.
374 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
376 * sysdeps/powerpc/dl-machine.h: Likewise
377 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
378 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
380 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
382 * elf/rtld.c (process_envvars): Fix copy&paste error.
384 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
386 (realloc_hook_ini): Don't overwrite memalign hook.
387 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
388 Reported by Philippe Troin <phil@fifi.org>.
390 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
391 Patch by Philippe Troin <phil@fifi.org>.
393 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
395 * sysdeps/generic/segfault.c (install_handler): Protect the
396 non-POSIX signals with #ifdef.
397 (catch_segfault): Add missing mode parameter for open.
398 * debug/catchsegv.sh: Avoid termination message from shell. Allow
399 other termination signals.
401 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
403 * debug/Makefile (distribute): Add register-dump.h.
405 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
407 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
409 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
411 * elf/Makefile (distribute): Add dl-origin.h.
412 * sysdeps/generic/dl-origin.h: New file.
413 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
414 * elf/link.h (struct link_map): Add l_origin field.
415 * elf/dl-load.c (expand_dynamic_string_token): New function.
416 (decompose_path): Remove WHERE argument, take link map pointer instead.
417 Call expand_dynamic_string_token instead of local_strdup to make copy
419 (_dl_init_paths): Call decompose_path with correct argument.
420 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
422 Check EI_OSABI and EI_ABIVERSION fields in header.
423 Call _dl_new_object with extra argument.
424 (_dl_map_object): Call decompose_path with correct argument.
425 Call expand_dynamic_string_token instead of local_strdup to also
427 Call _dl_new_object with extra argument.
428 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
429 but the main one if new argument is nonzero.
430 * elf/ldsodefs.h: Adjust for _dl_new_object change.
431 * elf/dl-support.c: Define _dl_origin_path.
432 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
433 (dl_main): Call _dl_new_object with extra argument.
435 * elf/dl-close (_dl_close): Free l_name and l_origin.
437 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
438 modifier in asm, not c.
440 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
441 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
443 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
445 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
446 variable so that map can be freed.
447 Reported by Philippe Troin <phil@fifi.org>.
449 * elf/dl-open.c (dl_open_worker): Correct test for extending global
451 Patch by Philippe Troin <phil@fifi.org>.
453 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
455 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
456 Don't call writev() with a 100-element vector.
457 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
460 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
461 In particular, set __libc_stack_end.
462 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
463 undefined. Fix copyright notice.
465 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
467 * math/Makefile (gmp-objs): New variable.
468 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
470 (tests): Add atest-exp atest-sincos atest-exp2.
471 (tests-static): Remove atest-exp atest-sincos atest-exp2.
473 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
475 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
477 (_dl_unload_cache): New function.
478 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
479 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
480 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
482 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
483 Correct comment for O_LARGEFILE.
484 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
485 Change O_LARGEFILE to correct value.
487 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
489 * libio/iogetline.c (_IO_getline_info): Don't read anything for
490 N == 0. Patch by HJ Lu.
492 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
494 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
496 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
498 * argp/argp.h: Use __inline__ not inline.
500 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
501 an input register as being clobbered.
502 * sysdeps/i386/memset.c (memset): Likewise.
503 * sysdeps/i386/bzero.c (__bzero): Likewise.
504 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
506 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
508 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
509 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
511 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
513 * debug/catchsegv.sh: Handle text preceding backtrace better.
514 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
515 to be installed for other signals than SIGSEGV.
516 * sysdeps/generic/register-dump.h: New file.
517 * sysdeps/i386/register-dump.h: New file.
518 * sysdeps/powerpc/register-dump.h: New file.
520 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
522 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
524 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
526 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
528 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
530 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
531 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
532 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
533 getresuid, getresgid.
535 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
537 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
540 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
542 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
545 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
547 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
548 over arguments Bourne shell compatible. Don't exit unsuccessfully
549 if nonelf returns successfully. Avoid duplicating most of the
551 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
554 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
556 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
558 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
559 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
561 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
563 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
564 __modify_ldt and modify_ldt.
565 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
567 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
568 Use orl $-1 instead of movl $-1 to save two bytes.
569 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
572 1998-08-17 H.J. Lu <hjl@gnu.org>
574 * libio/Versions (_IO_do_write, _IO_file_attach,
575 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
576 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
577 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
578 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
580 * libio/fileops.c (_IO_do_write, _IO_file_attach,
581 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
582 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
583 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
584 _IO_file_write, _IO_file_xsputn): Change the prefix to
585 "_IO_new_". Added to GLIBC_2.1.
587 * libio/libioP.h (_IO_do_write, _IO_file_attach,
588 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
589 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
590 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
591 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
594 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
595 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
596 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
597 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
598 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
600 1998-08-23 Richard Henderson <rth@cygnus.com>
602 * Makeconfig (LDFLAGS): Remove.
604 * csu/initfini.c: Return to .text before __gmon_start__.
606 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
607 (STO_MIPS_*): Rename from STO_*.
608 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
609 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
611 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
612 (main): e3s is negative on zero.
613 * math/atest-exp2.c: Likewise.
614 * math/atest-sincos.c: Likewise.
616 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
618 * Makerules (install): Add comment about absolute paths.
620 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
622 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
623 array to NUL to handle maxlen==1 case correctly.
626 1998-08-23 Richard Henderson <rth@cygnus.com>
628 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
629 * sysdeps/alpha/elf/crtend.S: Likewise.
630 * sysdeps/alpha/elf/start.S: Likewise.
632 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
633 non-standard pv usage.
635 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
636 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
637 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
638 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
639 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
640 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
641 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
642 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
643 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
644 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
645 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
647 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
648 a finite non-denormal, deferring to the full IEEE version otherwise.
650 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
651 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
652 * sysdeps/alpha/fpu/s_floor.c: New.
653 * sysdeps/alpha/fpu/s_floorf.c: New.
654 * sysdeps/alpha/fpu/s_ceil.c: New.
655 * sysdeps/alpha/fpu/s_ceilf.c: New.
657 1998-08-22 Philip Blundell <philb@gnu.org>
659 * sysdeps/arm/bits/string.h: New file.
661 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
663 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
666 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
667 test for recent Linux 2.1.100+ headers.
669 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
671 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
673 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
675 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
677 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
679 * Makefile (elf/ldso_install): Put back. The problem still persists.
680 * elf/Makefile (ldso_install): Likewise.
682 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
684 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
686 * include/db.h: Declare __nss_db_open.
687 * db2/Versions: Export it.
689 * db2/makedb.c: Convert to use db2 API.
690 * nss/nss_db/db-XXX.c: Likewise.
691 * nss/nss_db/db-netgrp.c: Likewise.
692 * nss/nss_db/db-alias.c: Likewise.
693 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
695 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
697 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
698 sys_setresuid, already built automatically (or not).
699 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
700 instead of __syscall_setresuid and add back setresuid.
701 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
704 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
706 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
708 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
710 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
711 BASH-ONLY marked region.
712 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
714 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
716 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
719 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
721 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
724 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
726 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
727 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
728 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
729 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
730 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
731 those magic comments, and to use /bin/sh for @BASH@.
732 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
733 * elf/ldd.sh.in: File removed.
735 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
737 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
738 cast them to unsigned long int.
739 * pwd/putpwent.c (putpwent): Likewise.
740 Patch by John Tobey <jtobey@banta-im.com>.
742 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
744 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
747 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
749 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
752 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
754 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
755 Add umount and umount2.
756 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
757 * sysdeps/unix/sysv/linux/umount.S: New file.
758 * sysdeps/unix/sysv/linux/umount2.S: New file.
759 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
762 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
764 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
765 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
767 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
769 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
772 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
774 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
775 * elf/ldd.bash.in: Likewise.
777 * elf/sln.c: Avoid warning for no main prototype.
779 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
781 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
784 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
786 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
787 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
790 1998-08-20 Philip Blundell <pb@nexus.co.uk>
792 * sysdeps/arm/fpu/ieee754.h: Move to...
793 * sysdeps/arm/ieee754.h: ... here.
795 * sysdeps/arm/__longjmp.S: Put return value in correct register.
796 Don't set the condition flags unnecessarily.
797 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
800 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
801 (patch from Scott Bambrough).
803 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
805 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
806 NULL, just call it unconditionally.
807 (__gmon_start__): Provide stub version as a weak symbol.
809 1998-07-30 Philip Blundell <philb@gnu.org>
811 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
814 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
815 like `@' in .type directives.
817 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
818 * sysdeps/arm/bsd-_setjmp.S: Likewise.
820 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
822 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
824 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
825 (F_GETOWN): Likewise.
827 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
830 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
832 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
835 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
837 * include/features.h: Define __USE_EXTERN_INLINES for recent
839 * argp/argp.h: Define extern inline functions only if
840 __USE_EXTERN_INLINES is defined.
841 * libio/stdio.h: Likewise.
842 * math/math.h: Likewise.
843 * stdlib/stdlib.h: Likewise.
844 * string/argz.h: Likewise.
845 * sysdeps/generic/bits/sigset.h: Likewise.
846 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
847 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
848 * sysdeps/wordsize-32/inttypes.h: Likewise.
849 * sysdeps/wordsize-64/inttypes.h: Likewise.
850 * wcsmbs/wchar.h: Likewise.
852 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
853 to allow compilation without optimization.
855 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
857 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
859 * nis/nss_compat/compat-initgroups.c: Likewise.
860 * nis/nss_compat/compat-pwd.c: Likewise.
861 * nis/nss_compat/compat-spwd.c: Likewise.
862 * nis/nss_nis/nis-alias.c: Likewise.
863 * nis/nss_nis/nis-ethers.c: Likewise.
864 * nis/nss_nis/nis-grp.c: Likewise.
865 * nis/nss_nis/nis-hosts.c: Likewise.
866 * nis/nss_nis/nis-initgroups.c: Likewise.
867 * nis/nss_nis/nis-network.c: Likewise.
868 * nis/nss_nis/nis-proto.c: Likewise.
869 * nis/nss_nis/nis-pwd.c: Likewise.
870 * nis/nss_nis/nis-rpc.c: Likewise.
871 * nis/nss_nis/nis-service.c: Likewise.
872 * nis/nss_nis/nis-spwd.c: Likewise.
874 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
876 * nis/ypclnt.c: Try binding dir only first time, could be to old.
878 * nis/yp_xdr.c: Remove 1024 byte limit.
879 * nis/ypupdate_xdr.c: Likewise.
881 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
884 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
886 * Rules (binaries-static, binaries-shared static pattern rules):
887 Depend on lib%, not just libc%, from $(link-libc{,-static}).
889 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
890 this here, overriding Makeconfig generic value so we link against
893 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
895 * posix/tstgetopt.c (options): Add NULL entry at end
896 Patch by Adrian Miranda <ade@psg.com>.
898 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
900 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
903 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
905 * elf/elf.h: Add PPC Diab relocations.
907 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
909 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
911 * manual/texinfo.tex: Update.
913 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
915 * sysdeps/powerpc/backtrace.c: New file.
917 1998-08-14 Philip Blundell <pb@nexus.co.uk>
919 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
921 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
923 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
925 * Makefile (install-symbolic-link): Fix spelling.
927 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
929 * elf/elf.h (SHT_HIOS): Fix value.
931 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
933 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
934 part of the expansion, this is undefined by the standard.
936 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
938 * posix/getconf.c: Add support for systems with incomplete confname.h.
940 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
942 * sysdeps/posix/wait3.c: Make it work.
944 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
946 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
947 (elf/ldso_install): Remove.
949 * elf/Makefile (distribute): Add sln.c.
951 (others-static): Add sln.
952 (install-rootsbin): Add sln.
953 (others-static): Add sln.
954 (ldso_install): Remove.
956 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
958 * Makerules (install-clean-symbolic-link-list): Make phony.
959 * Makefile (install-symbolic-link): Make phony. Depend on
960 subdir_install for parallel makes.
963 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
965 * elf/Makefile (distribute): Add sln.c
967 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
969 * elf/sln.c: New file.
971 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
972 (install-clean-symbolic-link-list): New target.
973 (install): Depend on install-clean-symbolic-link-list.
974 (make-shlib-link): Changed for $(symbolic-link-list).
976 * Makefile (install-symbolic-link): New target.
977 (install): Depend on install-symbolic-link.
979 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
981 * include/unistd.h: Protect against multiple inclusion.
983 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
984 is defined, not is glob is defined.
985 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
987 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
989 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
990 xdr_string for ut_line, ut_name and ut_host.
992 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
994 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
995 /var/mail in accordance with FHS 2.0.
996 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
998 1998-08-12 Richard Henderson <rth@cygnus.com>
1000 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1001 Update aliases for cancelation.
1003 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1004 playing with symbol versions.
1006 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1008 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1009 multiple inclusion protection.
1010 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1011 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1012 define all these to 1.
1013 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1015 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1017 * sysdeps/mach/usleep.c: Include <unistd.h>.
1018 (usleep): Return void.
1020 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1022 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1023 decl to inhibit warning in if_freenameindex defn.
1025 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1027 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1029 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1030 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1031 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1032 * sysdeps/mach/usleep.c: Likewise.
1034 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1036 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1037 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1038 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1039 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1040 * sysdeps/mach/usleep.c (usleep): Likewise.
1041 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1042 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1043 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1044 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1046 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1048 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1051 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1052 %p arg to fprintf, since `void *' is the right type already.
1054 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1056 * sysdeps/mach/hurd/getcwd.c
1057 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1058 for unknown root directories.
1059 (__getcwd): Return NULL when the current root directory could not
1062 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
1064 * string/strsignal.c (strsignal): Count real-time signals from zero.
1067 See ChangeLog.8 for earlier changes.