1 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
3 * libio/stdio.h: Define __need_getopt and include getopt.h to define
5 * posix/unistd.h: Likewise.
6 * stdio/stdio.h: Likewise.
7 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
8 define only getopt and the variables.
10 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12 * scripts/test-installation.pl (installation_problem): Don't link
13 the test program against libdb1.
15 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
17 * Makeconfig (all-subdirs): Add db.
18 * Versions.def: Add definition for libdb1.
19 * shlib-versions: Add definitions for libdb1.
20 * db/Makefile (extra-libs): Replace by libdb1.
21 (libdb-routines): Rename to libdb1-routines.
22 (headers): Rename to db1-headers.
23 (distribute): Add $(db1-headers).
24 (install-others): Define to install symlink libdb.so.NN and the
26 (CPPFLAGS): Add -DUSE_LIBDB1
27 Remove rules to build makedb.
28 * db/Versions: Rename libdb to libdb1.
29 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
30 * db/makedb.c: Removed.
32 * scripts/versions.awk: Recognize digits in library names.
34 * db/btree/bt_open.c: Fix compiler warnings.
35 * db/btree/bt_put.c: Likewise.
36 * db/btree/bt_split.c: Likewise.
37 * db/hash/hash.c: Likewise.
38 * db/hash/hash_bigkey.c: Likewise.
39 * db/recno/rec_close.c: Likewise.
41 * Makefile: Add localedata/% goal.
43 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
45 * posix/execvp.c: Don't give up searching the PATH if execve
48 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
50 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
51 if _dl_fpu_control_set is set.
52 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
53 * elf/rtld.c: Don't define _dl_fpu_control_set.
54 * elf/Versions: Remove _dl_fpu_control_set.
56 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
58 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
59 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
60 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
61 Correct values of other SA_* macros according to kernel headers.
63 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
65 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
67 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
70 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
72 * elf/ldsodefs.h: Fix typo in comment.
74 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
76 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
77 char when comparing buffer contents with putback character.
79 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
81 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
83 * elf/Versions: Undo last change. Export _dl_fpu_control and
85 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
86 variables. Include <fpu_control.h>.
87 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
88 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
89 to indicate that is was seen.
90 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
91 only if _dl_fpu_control was set and is equal to desired value.
92 * math/Makefile (aux): Undo last change.
93 * math/Versions: Export __fpu_control with version GLIBC_2.0.
95 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
97 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
100 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
102 * string/bits/string2.h: Add mempcpy optimization.
103 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
104 * intl/localealias.c: Define mempcpy only if not already defined.
106 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
109 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
111 * csu/abi-note.S: Emit the note directly instead of defining
112 a preprocessor macro that's only used once. Don't include sysdep.h.
113 * abi-tags: Generalize Solaris entry.
115 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
117 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
118 Change to array to avoid runtime relocation.
119 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
121 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
123 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
124 * math/Makefile ($(objpfx)libieee.a): Likewise.
126 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
128 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
129 Patch by John Tobey <jtobey@banta-im.com>.
131 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
133 * login/Makefile (distribute): Remove pty-internal.h, add
136 * stdlib/tst-strtol.c: Add more checks.
137 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
139 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
141 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
142 * elf/elf.h: Add AT_FPUCW.
143 * elf/Makefile (dl-routines): Add fpu_control.
144 (elide-routines.os): Add fpu_control.
145 (rtld-routines): Add fpu_control.
146 * math/Makefile (aux): Remove fpu_control.
147 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
148 (_dl_show_auxv): Likewise.
149 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
150 if different from OS default.
152 * stdio-common/tstscanf.c: Add test case for (nil).
154 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
156 * libio/fileops.c (_IO_new_file_underflow): Before allocating
157 buffer make sure the pushback buffer is destroyed.
158 (_IO_new_file_seekoff): Likewise.
159 If mode==0 quit early with the result.
160 Clear OEF flag after successful fseek.
161 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
162 * libio/ftello.c (ftello): Add offset from original buffer if
163 stream has pushed back characters.
164 * libio/ftello64.c (ftello64): Likewise.
165 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
166 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
167 * libio/ioftell.c (_IO_ftell): Likewise.
168 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
170 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
171 (_IO_default_pbackfail): Only stored push back character in original
172 buffer if it is the same as the one in the file at this position.
173 * libio/iofclose.c: Free backup buffer if one is available.
174 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
177 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
179 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
181 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
183 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
185 * login/programs/pt_chown.c (more_help): Correct message that
186 describes the purpose of the program.
188 * login/openpty.c: Do not include pty-private.h.
189 (pts_name): New function. Return name of slave pseudo terminal in
190 an allocated buffer if necessary.
191 (openpty): Use pts_name to get name of the slave end of the pseudo
194 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
195 pts_name before return.
197 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
199 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
201 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
203 * login/openpty.c: Include pty-private.h instead of
206 1998-09-09 Philip Blundell <pb@nexus.co.uk>
208 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
210 1998-09-07 Philip Blundell <pb@nexus.co.uk>
212 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
213 recent ld.so changes.
214 (elf_machine_runtime_setup): Correct behaviour when profiling.
216 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
218 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
219 Patch by John Tobey <jtobey@banta-im.com>.
221 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
223 * login/pty-internal.h: Removed. Moved constants related to the
224 `grantpt' helper program protocol to ...
225 * login/pty-private.h: ... here. New file.
226 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
227 to make the function work with kernels >= 2.1.115.
228 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
229 version if using the cloning device fails.
230 * sysdeps/unix/sysv/linux/grantpt.c: New file.
231 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
232 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
233 use by Linux specific code.
234 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
235 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
236 function. (grantpt): Use pts_name, check group and permission
237 mode in addition to owner. Try to set the owner, group and
238 permission mode first without invoking the helper program.
239 * login/programs/pt_chown.c: Largely rewritten. Add argp and
240 internationalization support. Use symbolic constants instead of
241 hardwired numbers for permission mode.
242 * sysdeps/unix/bsd/ptsname.c: New file.
244 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
246 * posix/wordexp-test.c: Undo last change.
248 * posix/wordexp.c: Undo last change.
250 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
252 * nscd/grpcache.c (save_grp): Partly undo last change.
254 * nscd/pwdcache.c (save_pwd): Undo last change.
256 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
258 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
259 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
261 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
263 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
264 Add profiling support.
265 (TRAMPOLINE_TEMPLATE): New macro.
266 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
267 (RTLD_START): Prettify, and set __libc_stack_end properly.
268 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
269 and check for sym being NULL instead.
270 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
272 * sysdeps/sparc/sparc64/lshift.S: Likewise.
273 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
274 * sysdeps/sparc/sparc64/rshift.S: Likewise.
275 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
276 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
277 MEDANY code model %g4 usage.
278 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
279 MEDANY code model %g4 usage.
280 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
281 code model address formation.
282 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
283 include elf/ldsodefs.h
285 (elf_machine_matches_host): It is now EM_SPARCV9.
286 (elf_machine_dynamic): Clean up to remove ugly cast.
287 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
289 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
290 Prettify rest of function.
291 [R_SPARC_COPY]: Check for sym being NULL.
292 [R_SPARC_32]: Handle it.
293 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
295 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
297 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
298 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
299 Add profiling support.
300 (TRAMPOLINE_TEMPLATE): New macro.
301 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
302 (RTLD_START): Prettify and set __libc_stack_end.
303 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
305 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
306 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
307 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
308 unused variable scratch.
309 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
310 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
312 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
313 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
314 old format kernel sigaction structures.
315 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
316 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
317 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
318 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
320 (_JMPBUF_UNWINDS): Define.
321 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
322 statfs64 structure, which is exactly the same as the normal one.
323 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
324 of stack. Use correct syscall trap number. Add branch prediction
325 settings to branch instructions. Remove old MEDANY code model %g4
326 referneces for non-PIC.
327 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
328 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
329 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
330 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
332 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
333 __libc_longjmp and __libc_siglongjmp strong aliases.
334 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
335 Also define to __no__readdir64_decl around readdir.c inclusion.
336 (__readdir64): Add strong alias.
337 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
338 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
339 Set strong and weak names properly.
341 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
343 * manual/Makefile (AWK): Default to gawk if standalone.
345 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
347 * Makefile (distribute): Undo last change.
348 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
350 (+subdir-headers): Removed, unused.
352 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
354 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
357 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
359 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
360 absolute name in $(config-sysdirs), can never happen.
361 ($(+sysdir_pfx)sysd-rules): Likewise.
362 * Makeconfig (full-config-sysdirs): Likewise.
363 (all-Subdirs-files): Prepend $(..).
365 * configure.in: Don't check for absolute name in $add_ons_pfx, can
366 not happen. Let --enable-add-ons=yes work if no add-ons actually
369 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
371 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
372 continuations in command.
374 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
376 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
378 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
380 * posix/wordexp-test.c: If expansion or substitution occurs
381 anywhere in a word, the entire word is subject to field-splitting.
383 * posix/wordexp.c (parse_glob): Look for end of word instead of
384 end of field when deciding what to glob.
385 (field_split_word): New function, now the only place where
386 field-splitting is performed.
387 (parse_dollars): New parameter - tell the caller if
388 field-splitting should be performed on this word.
390 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
391 succeeded (or failed with WRDE_NOSPACE).
393 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
395 * posix/wordexp.c (wordexp): Don't convert IFS characters to
398 * posix/wordexp-test.c: Words not the result of expansion or
399 substitution should remain unchanged.
401 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
403 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
404 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
406 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
408 * stdio-common/Makefile: Include Makeconfig so that
409 $(inst_includedir) is defined.
411 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
413 * io/pwd.c: Include <mcheck.h>.
415 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
417 * nscd/pwdcache.c (save_pwd): Correct copying.
418 * nscd/grpcache.c (save_grp): Likewise.
420 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
422 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
423 (free_pwd): Adjust for this change.
424 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
425 (free_grp): Adjust for this change.
427 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
429 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
431 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
433 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
434 (install-others): Add bits/stdio_lim.h.
435 Add rule to install bits/stdio_lim.h.
437 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
439 * Makefile (distribute): Add include/sys/mman.h.
441 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
442 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
443 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
445 * grp/initgroups.c: Include stdlib.h.
446 Patch by Zack Weinberg.
448 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
450 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
451 for field-splitting :abc: is correct, and that two fields should
452 result. Revert tests to reflect this.
454 * posix/wordexp.c (w_emptyword): Remove function.
455 (exec_comm): Don't use w_emptyword.
456 (parse_param): Likewise.
458 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
460 * sysdeps/arm/fpu/Dist: Moved to...
461 * sysdeps/arm/Dist: ...here.
462 * sysdeps/posix/Dist: Removed.
463 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
464 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
466 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
468 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
470 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
472 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
474 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
476 * libc-work/nis/nss_nisplus/nisplus-service.c
477 (_nss_nisplus_parse_servent): Convert port in network byte order.
479 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
481 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
482 to provide only malloc and calloc.
483 * include/stdlib.h: Support the above.
484 * string/bits/string2.h: Use __need_malloc_and_calloc when
486 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
488 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
489 * iconvdata/iso646.c: Include <stdlib.h>.
491 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
493 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
494 * sysdeps/libm-ieee754/w_pow.c: Likewise.
495 * sysdeps/libm-ieee754/w_powf.c: Likewise.
496 * sysdeps/libm-ieee754/w_powl.c: Likewise.
498 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
500 * stdio-common/stdio_lim.h.in: New file. All parameters
501 are adjustable at build time.
502 * Rules: Add a rule to build bits/stdio_lim.h from
503 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
504 all subdirectories know how to make the file. It can't be
505 in Makerules because then it gets built at top level and the
506 dependencies are wrong.)
508 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
509 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
511 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
512 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
513 * sysdeps/posix/Makefile: Removed.
514 * sysdeps/posix/mk-stdiolim.c: Removed.
515 * sysdeps/generic/bits/stdio_lim.h: Removed.
517 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
519 * argp/argp-help.c: Fixup indentation.
520 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
521 * resolv/nss_dns/dns-network.c: Likewise.
522 * resolv/res_send.c: Likewise.
523 * rt/aio_cancel.c: Likewise.
524 * rt/aio_misc.c: Likewise.
526 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
528 * Makefile (install-symbolic-link): Remove the link list file at last.
529 * Makerules (install-clean-symbolic-link-list): Removed.
531 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
533 * timezone/tst-timezone.c: Print time in UTC to get consistent
536 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
538 * elf/rtld.c (_dl_rpath): Removed.
539 * elf/dl-support.c (_dl_path): Removed.
540 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
541 (CFLAGS-dl-support.c): Removed.
543 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
545 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
546 instead of appending it to the main map's rpath info.
547 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
548 DT_RPATHs. This makes it effective again.
549 (decompose_rpath): Remove second parameter, callers changed.
550 (fillin_rpath): Allocate enough space in curwd.
551 (expand_dynamic_string_token): Cope with get_origin returning -1.
553 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
555 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
558 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
561 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
563 * locale/programs/locale.c: Update dates.
565 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
567 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
568 size_t is defined. Some reordering of defenitions to make
569 maintaining this file in parallel with the linux-specific file easier.
571 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
573 * io/pwd.c (main): Add call to mtrace.
575 * malloc/mtrace.pl: Quote @ in string.
577 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
579 * posix/wordexp.c (parse_arith): Fix memory leaks.
580 (exec_comm): Likewise.
581 (parse_param): Likewise.
583 (exec_comm): Reduce number of function return points.
584 (parse_param): Likewise.
587 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
589 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
590 yield three fields, not two. Test both parameter expansion and
591 command substitution for correct field-splitting behaviour.
593 * posix/wordexp.c (w_emptyword): New function.
594 (parse_param): Use it.
595 (exec_comm): Likewise, for consistency with the way parse_param
597 (parse_param): Fix some memory leaks.
599 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
601 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
602 Don't mark asm `volatile'.
603 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
604 from the data cache too. Assume it isn't in the instruction cache yet.
605 (__elf_machine_fixup_plt): Clear the modified address from the caches.
607 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
609 * sysdeps/generic/segfault.c (install_handler): Install signal
610 handler with SA_ONSTACK instead of setting the stack flags to
611 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
614 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
616 * signal/signal.h: Fix multiple inclusion guard to cover the
618 * wcsmbs/wchar.h: Remove prototype of internal function
620 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
621 arithmetic on `void *'.
623 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
625 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
627 * posix/wordexp.c (wordexp): Perform word-splitting instead of
628 field-splitting here.
629 (wordexp): If out of memory mid-word, free the word (but still
630 leave pwordexp alone for caller to see).
631 (parse_param): Allow for zero-length fields (smarter checking of
632 memory allocation failure).
633 (w_addword): Convert NULL words to "".
634 (wordexp): Convert left-over IFS characters to blanks (like bash).
636 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
638 * configure.in: Use test -f instead of test -e.
639 Patch by John Tobey <jtobey@banta-im.com>.
641 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
642 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
643 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
644 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
645 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
646 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
647 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
648 Patches by John Tobey <jtobey@banta-im.com>.
650 * time/strftime.c (my_strftime): Delay use of *tp values until
651 latest possible point to allow partly initialized structures
652 (e.g., from strptime).
654 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
656 Define *-routines variables for new modules.
657 (distribute): Add .c files for new modules.
658 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
660 Add rules for header generation.
661 * iconvdata/gconv-modules: Add entries for new modules.
662 * iconvdata/iso_10367-box.c: New file.
663 * iconvdata/mac-is.c: New file.
664 * iconvdata/nats-dano.c: New file.
665 * iconvdata/nats-sefi.c: New file.
667 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
669 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
670 loader if PIC is not defined.
672 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
674 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
675 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
676 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
678 Define *-routines variables for new modules.
679 (distribute): Add .c files for new modules.
680 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
681 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
682 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
683 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
684 Add rules for header generation.
685 * iconvdata/gconv-modules: Add entries for new modules.
686 * iconvdata/csn_369103.c: New file.
687 * iconvdata/cwi.c: New file.
688 * iconvdata/dec-mcs.c: New file.
689 * iconvdata/ecma-cyrillic.c: New file.
690 * iconvdata/gost_19768-74.c: New file.
691 * iconvdata/greek-ccitt.c: New file.
692 * iconvdata/greek7-old.c: New file.
693 * iconvdata/greek7.c: New file.
694 * iconvdata/inis-8.c: New file.
695 * iconvdata/inis-cyrillic.c: New file.
696 * iconvdata/inis.c: New file.
697 * iconvdata/iso6937-2.c: New file.
698 * iconvdata/iso_2033.c: New file.
699 * iconvdata/iso_5427-ext.c: New file.
700 * iconvdata/iso_5427.c: New file.
701 * iconvdata/iso_5428.c: New file.
703 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
705 Convert U02dd correctly.
707 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
709 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
710 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
711 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
712 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
714 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
716 * resolv/res_init.c (res_init): Handle resolv.conf file with only
717 one nameserver correctly. Patch by HJ Lu.
719 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
721 Define *-routines variables for new modules.
722 (distribute): Add .c files for new modules.
723 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
724 Add rules for hedaer generation.
725 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
726 * iconvdata/ansi_x3.110.c: New file.
727 * iconvdata/asmo_449.c: New file.
728 * iconvdata/baltic.c: New file.
729 * iconvdata/iec_p27-1.c: New file.
731 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
733 Convert U02dc correctly.
735 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
736 * math/atest-exp2.c: Likewise.
737 * math/atest-sincos.c: Likewise.
739 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
742 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
744 * string/strcoll.c: Optimize a few expressions.
745 * string/strxfrm.c: Likewise.
747 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
749 * manual/locale.texi: Fix typos.
751 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
753 * stdlib/random_r.c (__setstate_r): Allow call with same state
754 array as currently used (PR libc/774).
756 * include/limits.h: Include gcc's header even if this file is
757 found more than once before it (PR libc/778)
759 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
760 (sysdep_headers): Remove sys/debugreg.h.
761 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
762 (sysdep_headers): Add sys/debugreg.h.
763 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
764 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
766 * stdio-common/tmpnam.c: Move local static variable buf to
767 toplevel and rename to tmpnam_buffer to ease debugging.
768 Patch by Joe Keane <jgk@jgk.org>.
769 Optimize s == NULL case a bit.
771 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
774 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
776 * resolv/res_init.c (res_init): Initialize _res.nscount and
777 _res.nsaddr.sin_port differently for the can when no loopback
778 is available to allow immediate timeout in non-networking environments.
779 Patch by Cristian Gafton <gafton@redhat.com>.
781 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
783 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
785 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
786 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
789 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
791 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
793 * timezone/tst-timezone.c (tests): Fix typo in last patch.
795 * time/tzfile.c (__tzfile_read): Handle case when there are no
796 transitions. Set __timezone based on computed offset.
797 * time/tzset.c (tzset_internal): Set __timezone before returning.
799 * time/tzset.c (tzset_internal): Optimize handling of local string
802 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
804 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
807 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
809 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
810 (csqrt_test): Likewise.
811 * sysdeps/powerpc/bits/fenv.h: Add parens.
813 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
815 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
816 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
817 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
819 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
821 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
822 the special `-1' pointer.
824 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
826 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
829 1998-09-07 Paul Eggert <eggert@twinsun.com>
831 * time/mktime.c (__EXTENSIONS__): Define if not defined.
832 (_REENTRANT): Remove. It has undesirable consequences in
833 Solaris 2.6 (e.g. it turns off the putc macro). Defining
834 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
836 * time/strftime.c: Likewise.
838 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
840 * elf/dl-error.c: Fix spelling.
842 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
844 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
845 * stdio-common/_itoa.c: Likewise.
846 * stdio-common/printf_fp.c: Likewise.
847 * stdio-common/vfscanf.c: Likewise.
848 * wcsmbs/wcstok.c: Likewise.
849 * sysdeps/generic/glob.c: Likewise.
850 * posix/getopt.c: Likewise.
851 * sysdeps/posix/getaddrinfo.c: Likewise.
852 * posix/wordexp.c: Likewise.
853 * io/ftw.c: Likewise.
854 * io/fts.c: Likewise.
855 * misc/getpass.c: Likewise.
856 * iconv/gconv_conf.c: Likewise.
857 * argp/argp-fmtstream.c: Likewise.
858 * argp/argp-help.c: Likewise.
859 * elf/dl-load.c: Likewise.
860 * locale/programs/stringtrans.c: Likewise.
861 * catgets/gencat.c: Likewise.
862 * posix/getconf.c: Likewise.
863 * iconv/gconv_conf.c: Likewise.
864 * iconv/iconv_prog.c: Likewise.
866 * string/strcoll.c: Optimize a few expressions.
867 * string/strxfrm.c: Likewise.
869 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
871 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
872 level to avoid uninit variable warning.
874 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
876 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
877 instead of _dl_default_scope[2] as argument to _dl_init_next.
879 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
882 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
884 Fix compatibility problems introduced in last change.
885 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
887 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
888 -DWEAK_GMON_START to CFLAGS-initfini.s.
890 * elf/dl-object.c (_dl_new_object): Store map address in
891 _dl_loaded if _dl_loaded is NULL.
892 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
894 * sysdeps/generic/setrlimit64.c: Remove stub warning.
896 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
898 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
900 * db2/btree/bt_cursor.c: Likewise.
901 * db2/common/db_region.db_c: Likewise.
902 * db2/common/db_salloc.db_c: Likewise.
903 * db2/db/db.c: Likewise.
904 * db2/db/db_rec.c: Likewise.
905 * db2/hash/hash.c: Likewise.
906 * db2/hash/hash_page.c: Likewise.
907 * db2/hash/hash_rec.c: Likewise.
908 * db2/log/log_findckp.c: Likewise.
909 * db2/log/log_get.c: Likewise.
910 * db2/log/log_put.c: Likewise.
911 * db2/mp/mp_fget.c: Likewise.
912 * db2/mp/mp_fput.c: Likewise.
913 * db2/mp/mp_region.c: Likewise.
914 * stdlib/strtol.c: Likewise.
915 * string/strcoll.c: Likewise.
916 * string/strxfrm.c: Likewise.
917 * argp/argp-help.c: Likewise.
918 * argp/argp-parse.c: Likewise.
919 * resolv/res_debug.c: Likewise.
921 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
923 * math/tgmath.h (scalb): Only define for __USE_MISC or
924 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
926 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
928 * libio/stdio.h: Fix comment.
930 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
933 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
935 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
937 * elf/dl-open.c: Quiet -Wparentheses warnings.
938 * iconvdata/johab.c: Likewise.
939 * iconvdata/uhc.c: Likewise.
940 * inet/inet_net.c: Likewise.
941 * io/fts.c: Likewise.
942 * locale/newlocale.c: Likewise.
943 * misc/getttyent.c: Likewise.
944 * misc/mntent_r.c: Likewise.
945 * misc/ttyslot.c: Likewise.
946 * nscd/nscd_conf.c: Likewise.
947 * nss/nsswitch.c: Likewise.
948 * resolv/gethnamaddr.c: Likewise.
949 * resolv/nsap_addr.c: Likewise.
950 * resolv/res_debug.c: Likewise.
951 * stdio-common/_itoa.c: Likewise.
952 * stdlib/strtod.c: Likewise.
953 * string/strverscmp.c: Likewise.
954 * sunrpc/svc.c: Likewise.
955 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
956 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
957 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
958 * sysdeps/posix/getaddrinfo.c: Likewise.
960 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
962 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
963 for use of global scope.
964 * elf/dlvsym.c (dlvsym_doit): Likewise.
966 1998-09-02 Paul Eggert <eggert@twinsun.com>
968 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
969 copy the redundant bytes at the end of the format as-is; don't
970 just copy their first byte and then rescan, as that might get
971 us an encoding error.
972 Account correctly for the length of multibyte sequences in the
975 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
977 * posix/wordexp-test.c: Add tests for different IFS values.
978 Change unquoted-newline test so that newline is not in IFS.
980 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
981 determining IFS characters. Return WRDE_BADCHAR for unquoted
982 special characters _except_ if they are separators.
984 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
986 * include/tgmath.h: New file.
988 * libio/stdio.h: Correct reversed #ifs.
989 Patch by Zack Weinberg.
991 * manual/creature.texi: Better explain reason for feature select
993 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
995 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
997 * include/alloca.h: Add multiple-inclusion guard.
998 * include/db.h: Likewise.
999 * include/db_185.h: Likewise.
1000 * include/dlfcn.h: Likewise.
1001 * include/fcntl.h: Likewise.
1002 * include/grp.h: Likewise.
1003 * include/libintl.h: Likewise.
1004 * include/mntent.h: Likewise.
1005 * include/pwd.h: Likewise.
1006 * include/sched.h: Likewise.
1007 * include/search.h: Likewise.
1008 * include/setjmp.h: Likewise.
1009 * include/shadow.h: Likewise.
1010 * include/signal.h: Likewise.
1011 * include/stdio.h: Likewise.
1012 * include/stdlib.h: Likewise.
1013 * include/string.h: Likewise.
1014 * include/termios.h: Likewise.
1015 * include/time.h: Likewise.
1016 * include/ulimit.h: Likewise.
1017 * include/utmp.h: Likewise.
1018 * include/wchar.h: Likewise.
1019 * include/sys/file.h: Likewise.
1020 * include/sys/gmon.h: Likewise.
1021 * include/sys/ioctl.h: Likewise.
1022 * include/sys/mman.h: Likewise.
1023 * include/sys/resource.h: Likewise.
1024 * include/sys/select.h: Likewise.
1025 * include/sys/socket.h: Likewise.
1026 * include/sys/statfs.h: Likewise.
1027 * include/sys/time.h: Likewise.
1028 * include/sys/times.h: Likewise.
1029 * include/sys/wait.h: Likewise.
1031 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
1033 * version.h (VERSION): Bump to 2.0.96.
1035 Rewrite runtime linker to be truly thread-safe. There is now no
1036 global variable specifying the scope. We create all needed
1037 scopes at the time the link maps are created.
1038 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1039 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1040 l_symbolic_searchlist, l_scope, and l_local_scope elements in
1042 * elf/dl-close.c: Rewritten accordingly.
1043 * elf/dl-deps.c: Likewise.
1044 * elf/dl-error.c: Likewise.
1045 * elf/dl-init.c: Likewise.
1046 * elf/dl-load.c: Likewise.
1047 * elf/dl-lookup.c: Likewise.
1048 * elf/dl-object.c: Likewise.
1049 * elf/dl-open.c: Likewise.
1050 * elf/dl-reloc.c: Likewise.
1051 * elf/dl-runtime.c: Likewise.
1052 * elf/dl-support.c: Likewise.
1053 * elf/dl-symbol.c: Likewise.
1054 * elf/dl-version.c: Likewise.
1055 * elf/dlsym.c: Likewise.
1056 * elf/dlvsym.c: Likewise.
1057 * elf/ldsodefs.h: Likewise.
1058 * elf/rtld.c: Likewise.
1059 * iconv/gconv_dl.c: Likewise.
1060 * nss/nsswitch.c: Likewise.
1061 * sysdeps/i386/dl-machine.h: Likewise.
1062 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1064 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1065 Define RTLD_DEFAULT.
1067 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
1069 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1070 __getopt_clean_environment with __environ instead of envp.
1072 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
1074 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1076 * string/argz-extract.c (__argz_extract): Add de-consting cast for
1079 * string/argz.h (argz_next): Add de-consting cast for return.
1080 * string/argz-next.c (__argz_next): Likewise.
1082 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1083 Don't add netinet/udp.h, netinet/ip_icmp.h here.
1084 * sysdeps/gnu/Makefile: Do it here instead.
1085 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1086 * sysdeps/gnu/Dist: ... to here.
1088 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1089 sysdeps/unix/sysv/linux/netinet/tcp.h,
1090 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1092 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1094 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1095 * string/argz-next.c, string/argz-extract.c: Fix defns.
1097 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1099 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1101 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1102 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1103 * sysdeps/generic/sysd-stdio.c: Likewise.
1105 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
1107 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1108 (_dl_map_object_from_fd): Make NAME argument const.
1109 Remove last parameter in _dl_new_object call.
1110 (print_search_path): Correct construction of composed path name.
1111 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1112 Remove last parameter in _dl_new_object call.
1113 * elf/dl-object.c: Remove last parameter. Determine whether create
1114 origin entry based on empty realname. Handle file in root directory
1116 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1117 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1118 Remove last parameter in _dl_new_object call.
1119 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1120 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1122 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
1124 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1125 Free l_searchlist and l_dupsearchlist.
1127 * debug/catchsegv.sh: Add one more pair of quotes.
1129 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1131 * elf/dl-load.c (add_name_to_object): Change return type to void and
1132 make NAME parameter const. Allocate room for NAME in same memory
1133 block used for l_libname entry.
1134 (_dl_map_object_from_fd): Don't free NAME on failure.
1135 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1136 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1137 _dl_map_object_from_fd.
1138 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1139 memory block used for l_libname entry.
1140 * elf/dl-close.c: Adjust free()ing for this change.
1142 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1144 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1146 * malloc/mtrace.c: Add bug report address. Update email address.
1147 Add more @XXX@ to print correct address size.
1149 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1152 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1153 for munmap call instead of examining phdr again.
1154 Free all malloc()ed strings and arrays.
1156 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1158 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1160 * sysdeps/powerpc/dl-machine.c: New file.
1161 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1162 files. Revise ELF_PREFERRED_ADDRESS to take account of
1163 the new mapping information (fixes bug involving huge bloated
1164 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1165 * sysdeps/powerpc/dl-start.S: New file.
1167 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1169 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1170 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1171 others. Call elf_dynamic_do_##reloc only once (to save even more
1173 * elf/link.h: Add new members l_map_start and l_map_end to keep
1174 track of the memory map.
1175 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1178 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1180 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1181 Reported by Andreas Jaeger.
1183 * posix/glob.h: Use __size_t instead of size_t in definitions and
1184 make sure this is defined.
1186 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1188 * manual/locale.texi: Almost complete rewrite. Document more functions
1190 * manual/arith.texi: Correct reference.
1191 * manual/string.texi: Pretty printing.
1193 * manual/texinfo.tex: Update from last available version.
1195 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1197 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1199 (_nss_nis_getpwuid_r): Likewise.
1200 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1202 * inet/rcmd.c: Implement netgroup support.
1203 Patch by Dick Streefland <dick_streefland@tasking.com>.
1205 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1207 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1208 object on the list is removed. Don't use this code for PIC.
1209 Reported by HJ Lu [PR libc/770].
1211 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1213 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1215 * include/stdio.h: Add __vsscanf.
1217 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1219 Remove __vsscanf declaration.
1220 Always declare fgetpos and fsetpos.
1222 * math/math.h: Define isinf as macro.
1223 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1224 Don't declare scalb for ISO C 9x.
1226 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1228 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1230 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1233 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1236 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1238 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1239 Reported by jreising@frequentis.com [PR libc/767].
1241 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1243 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1244 fl.l_start at beginning of function.
1245 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1247 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1249 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1250 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1252 * nscd/nscd.init: Make it work in RedHat systems.
1253 Patch by Christian Gafton.
1255 1998-08-29 Philip Blundell <philb@gnu.org>
1257 * catgets/Makefile: Don't try to run test programs when
1260 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1262 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1263 Reported by Zack Weinberg.
1265 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1267 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1268 * elf/Makefile (distribute): Remove ldd.sh.in.
1270 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1272 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1275 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
1277 * sysdeps/i386/register-dump.h: Move to ...
1278 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1280 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1282 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1283 with load address, not map address.
1284 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1285 parameter and use this value.
1286 * sysdeps/arm/dl-machine.h: Likewise.
1287 * sysdeps/i386/dl-machine.h: Likewise.
1288 * sysdeps/m68k/dl-machine.h: Likewise.
1289 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1291 * sysdeps/powerpc/dl-machine.h: Likewise
1292 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1293 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1295 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1297 * elf/rtld.c (process_envvars): Fix copy&paste error.
1299 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1301 (realloc_hook_ini): Don't overwrite memalign hook.
1302 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1303 Reported by Philippe Troin <phil@fifi.org>.
1305 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1306 Patch by Philippe Troin <phil@fifi.org>.
1308 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1310 * sysdeps/generic/segfault.c (install_handler): Protect the
1311 non-POSIX signals with #ifdef.
1312 (catch_segfault): Add missing mode parameter for open.
1313 * debug/catchsegv.sh: Avoid termination message from shell. Allow
1314 other termination signals.
1316 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1318 * debug/Makefile (distribute): Add register-dump.h.
1320 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1322 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1324 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
1326 * elf/Makefile (distribute): Add dl-origin.h.
1327 * sysdeps/generic/dl-origin.h: New file.
1328 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1329 * elf/link.h (struct link_map): Add l_origin field.
1330 * elf/dl-load.c (expand_dynamic_string_token): New function.
1331 (decompose_path): Remove WHERE argument, take link map pointer instead.
1332 Call expand_dynamic_string_token instead of local_strdup to make copy
1334 (_dl_init_paths): Call decompose_path with correct argument.
1335 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1337 Check EI_OSABI and EI_ABIVERSION fields in header.
1338 Call _dl_new_object with extra argument.
1339 (_dl_map_object): Call decompose_path with correct argument.
1340 Call expand_dynamic_string_token instead of local_strdup to also
1342 Call _dl_new_object with extra argument.
1343 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1344 but the main one if new argument is nonzero.
1345 * elf/ldsodefs.h: Adjust for _dl_new_object change.
1346 * elf/dl-support.c: Define _dl_origin_path.
1347 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
1348 (dl_main): Call _dl_new_object with extra argument.
1350 * elf/dl-close (_dl_close): Free l_name and l_origin.
1352 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1353 modifier in asm, not c.
1355 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1356 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1358 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
1360 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1361 variable so that map can be freed.
1362 Reported by Philippe Troin <phil@fifi.org>.
1364 * elf/dl-open.c (dl_open_worker): Correct test for extending global
1366 Patch by Philippe Troin <phil@fifi.org>.
1368 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1370 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
1371 Don't call writev() with a 100-element vector.
1372 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1375 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1376 In particular, set __libc_stack_end.
1377 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1378 undefined. Fix copyright notice.
1380 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1382 * math/Makefile (gmp-objs): New variable.
1383 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1385 (tests): Add atest-exp atest-sincos atest-exp2.
1386 (tests-static): Remove atest-exp atest-sincos atest-exp2.
1388 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
1390 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1392 (_dl_unload_cache): New function.
1393 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1394 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1395 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1397 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1398 Correct comment for O_LARGEFILE.
1399 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1400 Change O_LARGEFILE to correct value.
1402 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
1404 * libio/iogetline.c (_IO_getline_info): Don't read anything for
1405 N == 0. Patch by HJ Lu.
1407 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
1409 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1411 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1413 * argp/argp.h: Use __inline__ not inline.
1415 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1416 an input register as being clobbered.
1417 * sysdeps/i386/memset.c (memset): Likewise.
1418 * sysdeps/i386/bzero.c (__bzero): Likewise.
1419 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1421 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1423 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1424 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1426 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
1428 * debug/catchsegv.sh: Handle text preceding backtrace better.
1429 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
1430 to be installed for other signals than SIGSEGV.
1431 * sysdeps/generic/register-dump.h: New file.
1432 * sysdeps/i386/register-dump.h: New file.
1433 * sysdeps/powerpc/register-dump.h: New file.
1435 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1437 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1439 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1441 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1443 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1445 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1446 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1447 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1448 getresuid, getresgid.
1450 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1452 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1453 pointer in userland.
1455 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1457 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1460 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1462 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1463 over arguments Bourne shell compatible. Don't exit unsuccessfully
1464 if nonelf returns successfully. Avoid duplicating most of the
1466 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1469 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1471 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1473 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1474 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1476 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1478 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1479 __modify_ldt and modify_ldt.
1480 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1482 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1483 Use orl $-1 instead of movl $-1 to save two bytes.
1484 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1487 1998-08-17 H.J. Lu <hjl@gnu.org>
1489 * libio/Versions (_IO_do_write, _IO_file_attach,
1490 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1491 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1492 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1493 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1495 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1496 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1497 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1498 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1499 _IO_file_write, _IO_file_xsputn): Change the prefix to
1500 "_IO_new_". Added to GLIBC_2.1.
1502 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1503 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1504 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1505 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1506 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1509 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1510 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1511 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1512 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1513 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1515 1998-08-23 Richard Henderson <rth@cygnus.com>
1517 * Makeconfig (LDFLAGS): Remove.
1519 * csu/initfini.c: Return to .text before __gmon_start__.
1521 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1522 (STO_MIPS_*): Rename from STO_*.
1523 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1524 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1526 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1527 (main): e3s is negative on zero.
1528 * math/atest-exp2.c: Likewise.
1529 * math/atest-sincos.c: Likewise.
1531 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1533 * Makerules (install): Add comment about absolute paths.
1535 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1537 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1538 array to NUL to handle maxlen==1 case correctly.
1541 1998-08-23 Richard Henderson <rth@cygnus.com>
1543 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1544 * sysdeps/alpha/elf/crtend.S: Likewise.
1545 * sysdeps/alpha/elf/start.S: Likewise.
1547 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1548 non-standard pv usage.
1550 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1551 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1552 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1553 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1554 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1555 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1556 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1557 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1558 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1559 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1560 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1562 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1563 a finite non-denormal, deferring to the full IEEE version otherwise.
1565 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1566 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1567 * sysdeps/alpha/fpu/s_floor.c: New.
1568 * sysdeps/alpha/fpu/s_floorf.c: New.
1569 * sysdeps/alpha/fpu/s_ceil.c: New.
1570 * sysdeps/alpha/fpu/s_ceilf.c: New.
1572 1998-08-22 Philip Blundell <philb@gnu.org>
1574 * sysdeps/arm/bits/string.h: New file.
1576 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1578 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1581 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1582 test for recent Linux 2.1.100+ headers.
1584 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1586 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1588 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1590 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1592 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1594 * Makefile (elf/ldso_install): Put back. The problem still persists.
1595 * elf/Makefile (ldso_install): Likewise.
1597 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1599 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1601 * include/db.h: Declare __nss_db_open.
1602 * db2/Versions: Export it.
1604 * db2/makedb.c: Convert to use db2 API.
1605 * nss/nss_db/db-XXX.c: Likewise.
1606 * nss/nss_db/db-netgrp.c: Likewise.
1607 * nss/nss_db/db-alias.c: Likewise.
1608 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1610 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1612 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1613 sys_setresuid, already built automatically (or not).
1614 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1615 instead of __syscall_setresuid and add back setresuid.
1616 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1617 __syscall_setresuid.
1619 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1621 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1623 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1625 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1626 BASH-ONLY marked region.
1627 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1629 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1631 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1634 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1636 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1639 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1641 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1642 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1643 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1644 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1645 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1646 those magic comments, and to use /bin/sh for @BASH@.
1647 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1648 * elf/ldd.sh.in: File removed.
1650 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1652 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1653 cast them to unsigned long int.
1654 * pwd/putpwent.c (putpwent): Likewise.
1655 Patch by John Tobey <jtobey@banta-im.com>.
1657 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1659 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1662 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1664 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1667 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1669 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1670 Add umount and umount2.
1671 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1672 * sysdeps/unix/sysv/linux/umount.S: New file.
1673 * sysdeps/unix/sysv/linux/umount2.S: New file.
1674 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1677 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1679 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1680 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1682 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1684 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1687 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1689 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1690 * elf/ldd.bash.in: Likewise.
1692 * elf/sln.c: Avoid warning for no main prototype.
1694 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1696 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1697 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1699 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1701 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1702 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1705 1998-08-20 Philip Blundell <pb@nexus.co.uk>
1707 * sysdeps/arm/fpu/ieee754.h: Move to...
1708 * sysdeps/arm/ieee754.h: ... here.
1710 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1711 Don't set the condition flags unnecessarily.
1712 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1713 registers correctly.
1715 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1716 (patch from Scott Bambrough).
1718 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1720 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1721 NULL, just call it unconditionally.
1722 (__gmon_start__): Provide stub version as a weak symbol.
1724 1998-07-30 Philip Blundell <philb@gnu.org>
1726 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1729 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1730 like `@' in .type directives.
1732 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1733 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1735 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1737 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1739 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1740 (F_GETOWN): Likewise.
1742 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1745 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1747 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1750 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
1752 * include/features.h: Define __USE_EXTERN_INLINES for recent
1754 * argp/argp.h: Define extern inline functions only if
1755 __USE_EXTERN_INLINES is defined.
1756 * libio/stdio.h: Likewise.
1757 * math/math.h: Likewise.
1758 * stdlib/stdlib.h: Likewise.
1759 * string/argz.h: Likewise.
1760 * sysdeps/generic/bits/sigset.h: Likewise.
1761 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1762 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1763 * sysdeps/wordsize-32/inttypes.h: Likewise.
1764 * sysdeps/wordsize-64/inttypes.h: Likewise.
1765 * wcsmbs/wchar.h: Likewise.
1767 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1768 to allow compilation without optimization.
1770 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1772 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1774 * nis/nss_compat/compat-initgroups.c: Likewise.
1775 * nis/nss_compat/compat-pwd.c: Likewise.
1776 * nis/nss_compat/compat-spwd.c: Likewise.
1777 * nis/nss_nis/nis-alias.c: Likewise.
1778 * nis/nss_nis/nis-ethers.c: Likewise.
1779 * nis/nss_nis/nis-grp.c: Likewise.
1780 * nis/nss_nis/nis-hosts.c: Likewise.
1781 * nis/nss_nis/nis-initgroups.c: Likewise.
1782 * nis/nss_nis/nis-network.c: Likewise.
1783 * nis/nss_nis/nis-proto.c: Likewise.
1784 * nis/nss_nis/nis-pwd.c: Likewise.
1785 * nis/nss_nis/nis-rpc.c: Likewise.
1786 * nis/nss_nis/nis-service.c: Likewise.
1787 * nis/nss_nis/nis-spwd.c: Likewise.
1789 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1791 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1793 * nis/yp_xdr.c: Remove 1024 byte limit.
1794 * nis/ypupdate_xdr.c: Likewise.
1796 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1799 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1801 * Rules (binaries-static, binaries-shared static pattern rules):
1802 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1804 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1805 this here, overriding Makeconfig generic value so we link against
1808 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
1810 * posix/tstgetopt.c (options): Add NULL entry at end
1811 Patch by Adrian Miranda <ade@psg.com>.
1813 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1815 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1818 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1820 * elf/elf.h: Add PPC Diab relocations.
1822 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1824 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1826 * manual/texinfo.tex: Update.
1828 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1830 * sysdeps/powerpc/backtrace.c: New file.
1832 1998-08-14 Philip Blundell <pb@nexus.co.uk>
1834 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1836 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1838 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1840 * Makefile (install-symbolic-link): Fix spelling.
1842 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1844 * elf/elf.h (SHT_HIOS): Fix value.
1846 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1848 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1849 part of the expansion, this is undefined by the standard.
1851 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1853 * posix/getconf.c: Add support for systems with incomplete confname.h.
1855 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1857 * sysdeps/posix/wait3.c: Make it work.
1859 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1861 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1862 (elf/ldso_install): Remove.
1864 * elf/Makefile (distribute): Add sln.c.
1866 (others-static): Add sln.
1867 (install-rootsbin): Add sln.
1868 (others-static): Add sln.
1869 (ldso_install): Remove.
1871 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1873 * Makerules (install-clean-symbolic-link-list): Make phony.
1874 * Makefile (install-symbolic-link): Make phony. Depend on
1875 subdir_install for parallel makes.
1878 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
1880 * elf/Makefile (distribute): Add sln.c
1882 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1884 * elf/sln.c: New file.
1886 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1887 (install-clean-symbolic-link-list): New target.
1888 (install): Depend on install-clean-symbolic-link-list.
1889 (make-shlib-link): Changed for $(symbolic-link-list).
1891 * Makefile (install-symbolic-link): New target.
1892 (install): Depend on install-symbolic-link.
1894 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1896 * include/unistd.h: Protect against multiple inclusion.
1898 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1899 is defined, not is glob is defined.
1900 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1902 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1904 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1905 xdr_string for ut_line, ut_name and ut_host.
1907 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1909 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1910 /var/mail in accordance with FHS 2.0.
1911 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1913 1998-08-12 Richard Henderson <rth@cygnus.com>
1915 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1916 Update aliases for cancelation.
1918 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1919 playing with symbol versions.
1921 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1923 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1924 multiple inclusion protection.
1925 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1926 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1927 define all these to 1.
1928 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1930 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1932 * sysdeps/mach/usleep.c: Include <unistd.h>.
1933 (usleep): Return void.
1935 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1937 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1938 decl to inhibit warning in if_freenameindex defn.
1940 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1942 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1944 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1945 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1946 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1947 * sysdeps/mach/usleep.c: Likewise.
1949 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1951 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1952 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1953 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1954 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1955 * sysdeps/mach/usleep.c (usleep): Likewise.
1956 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1957 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1958 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1959 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1961 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1963 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1966 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1967 %p arg to fprintf, since `void *' is the right type already.
1969 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1971 * sysdeps/mach/hurd/getcwd.c
1972 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1973 for unknown root directories.
1974 (__getcwd): Return NULL when the current root directory could not
1977 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
1979 * string/strsignal.c (strsignal): Count real-time signals from zero.
1982 See ChangeLog.8 for earlier changes.