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