1 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3 * misc/sys/mman.h: New file.
5 * sysdeps/generic/bits/mman.h: New file.
6 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
7 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
8 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
9 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
11 * sysdeps/generic/sys/mman.h: Removed.
12 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
13 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
14 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
15 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
16 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
18 * include/sys/mman.h: Look directly for misc/sys/mman.h.
19 * misc/Makefile (headers): Add bits/mman.h.
20 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
23 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
24 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
25 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
26 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
27 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
28 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
29 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
30 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
32 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
34 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
35 * sysdeps/mach/alpha/thread_state.h: Likewise.
36 * sysdeps/mach/i386/sysdep.h: Likewise.
37 * sysdeps/mach/i386/thread_state.h: Likewise.
38 * sysdeps/mach/mips/sysdep.h: Likewise.
39 * sysdeps/mach/mips/thread_state.h: Likewise.
40 * sysdeps/posix/profil.c: Likewise.
41 * sysdeps/i386/i586/memcopy.h: Likewise.
42 * sysdeps/mach/pagecopy.h: Likewise.
44 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
46 * libio/stdio.h: Define __need_getopt and include getopt.h to define
48 * posix/unistd.h: Likewise.
49 * stdio/stdio.h: Likewise.
50 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
51 define only getopt and the variables.
53 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
55 * scripts/test-installation.pl (installation_problem): Don't link
56 the test program against libdb1.
58 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
60 * Makeconfig (all-subdirs): Add db.
61 * Versions.def: Add definition for libdb1.
62 * shlib-versions: Add definitions for libdb1.
63 * db/Makefile (extra-libs): Replace by libdb1.
64 (libdb-routines): Rename to libdb1-routines.
65 (headers): Rename to db1-headers.
66 (distribute): Add $(db1-headers).
67 (install-others): Define to install symlink libdb.so.NN and the
69 (CPPFLAGS): Add -DUSE_LIBDB1
70 Remove rules to build makedb.
71 * db/Versions: Rename libdb to libdb1.
72 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
73 * db/makedb.c: Removed.
75 * scripts/versions.awk: Recognize digits in library names.
77 * db/btree/bt_open.c: Fix compiler warnings.
78 * db/btree/bt_put.c: Likewise.
79 * db/btree/bt_split.c: Likewise.
80 * db/hash/hash.c: Likewise.
81 * db/hash/hash_bigkey.c: Likewise.
82 * db/recno/rec_close.c: Likewise.
84 * Makefile: Add localedata/% goal.
86 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
88 * posix/execvp.c: Don't give up searching the PATH if execve
91 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
93 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
94 if _dl_fpu_control_set is set.
95 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
96 * elf/rtld.c: Don't define _dl_fpu_control_set.
97 * elf/Versions: Remove _dl_fpu_control_set.
99 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
101 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
102 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
103 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
104 Correct values of other SA_* macros according to kernel headers.
106 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
108 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
110 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
113 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
115 * elf/ldsodefs.h: Fix typo in comment.
117 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
119 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
120 char when comparing buffer contents with putback character.
122 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
124 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
126 * elf/Versions: Undo last change. Export _dl_fpu_control and
128 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
129 variables. Include <fpu_control.h>.
130 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
131 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
132 to indicate that is was seen.
133 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
134 only if _dl_fpu_control was set and is equal to desired value.
135 * math/Makefile (aux): Undo last change.
136 * math/Versions: Export __fpu_control with version GLIBC_2.0.
138 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
140 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
143 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
145 * string/bits/string2.h: Add mempcpy optimization.
146 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
147 * intl/localealias.c: Define mempcpy only if not already defined.
149 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
152 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
154 * csu/abi-note.S: Emit the note directly instead of defining
155 a preprocessor macro that's only used once. Don't include sysdep.h.
156 * abi-tags: Generalize Solaris entry.
158 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
160 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
161 Change to array to avoid runtime relocation.
162 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
164 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
166 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
167 * math/Makefile ($(objpfx)libieee.a): Likewise.
169 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
171 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
172 Patch by John Tobey <jtobey@banta-im.com>.
174 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
176 * login/Makefile (distribute): Remove pty-internal.h, add
179 * stdlib/tst-strtol.c: Add more checks.
180 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
182 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
184 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
185 * elf/elf.h: Add AT_FPUCW.
186 * elf/Makefile (dl-routines): Add fpu_control.
187 (elide-routines.os): Add fpu_control.
188 (rtld-routines): Add fpu_control.
189 * math/Makefile (aux): Remove fpu_control.
190 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
191 (_dl_show_auxv): Likewise.
192 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
193 if different from OS default.
195 * stdio-common/tstscanf.c: Add test case for (nil).
197 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
199 * libio/fileops.c (_IO_new_file_underflow): Before allocating
200 buffer make sure the pushback buffer is destroyed.
201 (_IO_new_file_seekoff): Likewise.
202 If mode==0 quit early with the result.
203 Clear OEF flag after successful fseek.
204 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
205 * libio/ftello.c (ftello): Add offset from original buffer if
206 stream has pushed back characters.
207 * libio/ftello64.c (ftello64): Likewise.
208 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
209 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
210 * libio/ioftell.c (_IO_ftell): Likewise.
211 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
213 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
214 (_IO_default_pbackfail): Only stored push back character in original
215 buffer if it is the same as the one in the file at this position.
216 * libio/iofclose.c: Free backup buffer if one is available.
217 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
220 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
222 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
224 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
226 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
228 * login/programs/pt_chown.c (more_help): Correct message that
229 describes the purpose of the program.
231 * login/openpty.c: Do not include pty-private.h.
232 (pts_name): New function. Return name of slave pseudo terminal in
233 an allocated buffer if necessary.
234 (openpty): Use pts_name to get name of the slave end of the pseudo
237 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
238 pts_name before return.
240 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
242 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
244 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
246 * login/openpty.c: Include pty-private.h instead of
249 1998-09-09 Philip Blundell <pb@nexus.co.uk>
251 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
253 1998-09-07 Philip Blundell <pb@nexus.co.uk>
255 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
256 recent ld.so changes.
257 (elf_machine_runtime_setup): Correct behaviour when profiling.
259 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
261 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
262 Patch by John Tobey <jtobey@banta-im.com>.
264 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
266 * login/pty-internal.h: Removed. Moved constants related to the
267 `grantpt' helper program protocol to ...
268 * login/pty-private.h: ... here. New file.
269 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
270 to make the function work with kernels >= 2.1.115.
271 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
272 version if using the cloning device fails.
273 * sysdeps/unix/sysv/linux/grantpt.c: New file.
274 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
275 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
276 use by Linux specific code.
277 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
278 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
279 function. (grantpt): Use pts_name, check group and permission
280 mode in addition to owner. Try to set the owner, group and
281 permission mode first without invoking the helper program.
282 * login/programs/pt_chown.c: Largely rewritten. Add argp and
283 internationalization support. Use symbolic constants instead of
284 hardwired numbers for permission mode.
285 * sysdeps/unix/bsd/ptsname.c: New file.
287 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
289 * posix/wordexp-test.c: Undo last change.
291 * posix/wordexp.c: Undo last change.
293 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
295 * nscd/grpcache.c (save_grp): Partly undo last change.
297 * nscd/pwdcache.c (save_pwd): Undo last change.
299 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
301 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
302 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
304 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
306 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
307 Add profiling support.
308 (TRAMPOLINE_TEMPLATE): New macro.
309 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
310 (RTLD_START): Prettify, and set __libc_stack_end properly.
311 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
312 and check for sym being NULL instead.
313 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
315 * sysdeps/sparc/sparc64/lshift.S: Likewise.
316 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
317 * sysdeps/sparc/sparc64/rshift.S: Likewise.
318 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
319 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
320 MEDANY code model %g4 usage.
321 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
322 MEDANY code model %g4 usage.
323 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
324 code model address formation.
325 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
326 include elf/ldsodefs.h
328 (elf_machine_matches_host): It is now EM_SPARCV9.
329 (elf_machine_dynamic): Clean up to remove ugly cast.
330 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
332 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
333 Prettify rest of function.
334 [R_SPARC_COPY]: Check for sym being NULL.
335 [R_SPARC_32]: Handle it.
336 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
338 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
340 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
341 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
342 Add profiling support.
343 (TRAMPOLINE_TEMPLATE): New macro.
344 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
345 (RTLD_START): Prettify and set __libc_stack_end.
346 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
348 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
349 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
350 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
351 unused variable scratch.
352 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
353 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
355 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
356 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
357 old format kernel sigaction structures.
358 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
359 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
360 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
361 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
363 (_JMPBUF_UNWINDS): Define.
364 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
365 statfs64 structure, which is exactly the same as the normal one.
366 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
367 of stack. Use correct syscall trap number. Add branch prediction
368 settings to branch instructions. Remove old MEDANY code model %g4
369 referneces for non-PIC.
370 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
371 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
372 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
373 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
375 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
376 __libc_longjmp and __libc_siglongjmp strong aliases.
377 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
378 Also define to __no__readdir64_decl around readdir.c inclusion.
379 (__readdir64): Add strong alias.
380 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
381 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
382 Set strong and weak names properly.
384 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
386 * manual/Makefile (AWK): Default to gawk if standalone.
388 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
390 * Makefile (distribute): Undo last change.
391 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
393 (+subdir-headers): Removed, unused.
395 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
397 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
400 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
402 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
403 absolute name in $(config-sysdirs), can never happen.
404 ($(+sysdir_pfx)sysd-rules): Likewise.
405 * Makeconfig (full-config-sysdirs): Likewise.
406 (all-Subdirs-files): Prepend $(..).
408 * configure.in: Don't check for absolute name in $add_ons_pfx, can
409 not happen. Let --enable-add-ons=yes work if no add-ons actually
412 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
414 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
415 continuations in command.
417 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
419 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
421 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
423 * posix/wordexp-test.c: If expansion or substitution occurs
424 anywhere in a word, the entire word is subject to field-splitting.
426 * posix/wordexp.c (parse_glob): Look for end of word instead of
427 end of field when deciding what to glob.
428 (field_split_word): New function, now the only place where
429 field-splitting is performed.
430 (parse_dollars): New parameter - tell the caller if
431 field-splitting should be performed on this word.
433 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
434 succeeded (or failed with WRDE_NOSPACE).
436 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
438 * posix/wordexp.c (wordexp): Don't convert IFS characters to
441 * posix/wordexp-test.c: Words not the result of expansion or
442 substitution should remain unchanged.
444 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
446 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
447 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
449 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
451 * stdio-common/Makefile: Include Makeconfig so that
452 $(inst_includedir) is defined.
454 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
456 * io/pwd.c: Include <mcheck.h>.
458 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
460 * nscd/pwdcache.c (save_pwd): Correct copying.
461 * nscd/grpcache.c (save_grp): Likewise.
463 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
465 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
466 (free_pwd): Adjust for this change.
467 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
468 (free_grp): Adjust for this change.
470 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
472 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
474 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
476 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
477 (install-others): Add bits/stdio_lim.h.
478 Add rule to install bits/stdio_lim.h.
480 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
482 * Makefile (distribute): Add include/sys/mman.h.
484 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
485 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
486 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
488 * grp/initgroups.c: Include stdlib.h.
489 Patch by Zack Weinberg.
491 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
493 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
494 for field-splitting :abc: is correct, and that two fields should
495 result. Revert tests to reflect this.
497 * posix/wordexp.c (w_emptyword): Remove function.
498 (exec_comm): Don't use w_emptyword.
499 (parse_param): Likewise.
501 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
503 * sysdeps/arm/fpu/Dist: Moved to...
504 * sysdeps/arm/Dist: ...here.
505 * sysdeps/posix/Dist: Removed.
506 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
507 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
509 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
511 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
513 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
515 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
517 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
519 * libc-work/nis/nss_nisplus/nisplus-service.c
520 (_nss_nisplus_parse_servent): Convert port in network byte order.
522 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
524 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
525 to provide only malloc and calloc.
526 * include/stdlib.h: Support the above.
527 * string/bits/string2.h: Use __need_malloc_and_calloc when
529 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
531 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
532 * iconvdata/iso646.c: Include <stdlib.h>.
534 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
536 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
537 * sysdeps/libm-ieee754/w_pow.c: Likewise.
538 * sysdeps/libm-ieee754/w_powf.c: Likewise.
539 * sysdeps/libm-ieee754/w_powl.c: Likewise.
541 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
543 * stdio-common/stdio_lim.h.in: New file. All parameters
544 are adjustable at build time.
545 * Rules: Add a rule to build bits/stdio_lim.h from
546 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
547 all subdirectories know how to make the file. It can't be
548 in Makerules because then it gets built at top level and the
549 dependencies are wrong.)
551 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
552 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
554 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
555 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
556 * sysdeps/posix/Makefile: Removed.
557 * sysdeps/posix/mk-stdiolim.c: Removed.
558 * sysdeps/generic/bits/stdio_lim.h: Removed.
560 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
562 * argp/argp-help.c: Fixup indentation.
563 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
564 * resolv/nss_dns/dns-network.c: Likewise.
565 * resolv/res_send.c: Likewise.
566 * rt/aio_cancel.c: Likewise.
567 * rt/aio_misc.c: Likewise.
569 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
571 * Makefile (install-symbolic-link): Remove the link list file at last.
572 * Makerules (install-clean-symbolic-link-list): Removed.
574 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
576 * timezone/tst-timezone.c: Print time in UTC to get consistent
579 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
581 * elf/rtld.c (_dl_rpath): Removed.
582 * elf/dl-support.c (_dl_path): Removed.
583 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
584 (CFLAGS-dl-support.c): Removed.
586 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
588 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
589 instead of appending it to the main map's rpath info.
590 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
591 DT_RPATHs. This makes it effective again.
592 (decompose_rpath): Remove second parameter, callers changed.
593 (fillin_rpath): Allocate enough space in curwd.
594 (expand_dynamic_string_token): Cope with get_origin returning -1.
596 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
598 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
601 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
604 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
606 * locale/programs/locale.c: Update dates.
608 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
610 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
611 size_t is defined. Some reordering of defenitions to make
612 maintaining this file in parallel with the linux-specific file easier.
614 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
616 * io/pwd.c (main): Add call to mtrace.
618 * malloc/mtrace.pl: Quote @ in string.
620 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
622 * posix/wordexp.c (parse_arith): Fix memory leaks.
623 (exec_comm): Likewise.
624 (parse_param): Likewise.
626 (exec_comm): Reduce number of function return points.
627 (parse_param): Likewise.
630 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
632 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
633 yield three fields, not two. Test both parameter expansion and
634 command substitution for correct field-splitting behaviour.
636 * posix/wordexp.c (w_emptyword): New function.
637 (parse_param): Use it.
638 (exec_comm): Likewise, for consistency with the way parse_param
640 (parse_param): Fix some memory leaks.
642 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
644 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
645 Don't mark asm `volatile'.
646 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
647 from the data cache too. Assume it isn't in the instruction cache yet.
648 (__elf_machine_fixup_plt): Clear the modified address from the caches.
650 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
652 * sysdeps/generic/segfault.c (install_handler): Install signal
653 handler with SA_ONSTACK instead of setting the stack flags to
654 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
657 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
659 * signal/signal.h: Fix multiple inclusion guard to cover the
661 * wcsmbs/wchar.h: Remove prototype of internal function
663 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
664 arithmetic on `void *'.
666 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
668 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
670 * posix/wordexp.c (wordexp): Perform word-splitting instead of
671 field-splitting here.
672 (wordexp): If out of memory mid-word, free the word (but still
673 leave pwordexp alone for caller to see).
674 (parse_param): Allow for zero-length fields (smarter checking of
675 memory allocation failure).
676 (w_addword): Convert NULL words to "".
677 (wordexp): Convert left-over IFS characters to blanks (like bash).
679 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
681 * configure.in: Use test -f instead of test -e.
682 Patch by John Tobey <jtobey@banta-im.com>.
684 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
685 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
686 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
687 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
688 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
689 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
690 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
691 Patches by John Tobey <jtobey@banta-im.com>.
693 * time/strftime.c (my_strftime): Delay use of *tp values until
694 latest possible point to allow partly initialized structures
695 (e.g., from strptime).
697 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
699 Define *-routines variables for new modules.
700 (distribute): Add .c files for new modules.
701 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
703 Add rules for header generation.
704 * iconvdata/gconv-modules: Add entries for new modules.
705 * iconvdata/iso_10367-box.c: New file.
706 * iconvdata/mac-is.c: New file.
707 * iconvdata/nats-dano.c: New file.
708 * iconvdata/nats-sefi.c: New file.
710 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
712 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
713 loader if PIC is not defined.
715 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
717 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
718 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
719 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
721 Define *-routines variables for new modules.
722 (distribute): Add .c files for new modules.
723 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
724 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
725 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
726 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
727 Add rules for header generation.
728 * iconvdata/gconv-modules: Add entries for new modules.
729 * iconvdata/csn_369103.c: New file.
730 * iconvdata/cwi.c: New file.
731 * iconvdata/dec-mcs.c: New file.
732 * iconvdata/ecma-cyrillic.c: New file.
733 * iconvdata/gost_19768-74.c: New file.
734 * iconvdata/greek-ccitt.c: New file.
735 * iconvdata/greek7-old.c: New file.
736 * iconvdata/greek7.c: New file.
737 * iconvdata/inis-8.c: New file.
738 * iconvdata/inis-cyrillic.c: New file.
739 * iconvdata/inis.c: New file.
740 * iconvdata/iso6937-2.c: New file.
741 * iconvdata/iso_2033.c: New file.
742 * iconvdata/iso_5427-ext.c: New file.
743 * iconvdata/iso_5427.c: New file.
744 * iconvdata/iso_5428.c: New file.
746 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
748 Convert U02dd correctly.
750 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
752 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
753 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
754 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
755 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
757 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
759 * resolv/res_init.c (res_init): Handle resolv.conf file with only
760 one nameserver correctly. Patch by HJ Lu.
762 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
764 Define *-routines variables for new modules.
765 (distribute): Add .c files for new modules.
766 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
767 Add rules for hedaer generation.
768 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
769 * iconvdata/ansi_x3.110.c: New file.
770 * iconvdata/asmo_449.c: New file.
771 * iconvdata/baltic.c: New file.
772 * iconvdata/iec_p27-1.c: New file.
774 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
776 Convert U02dc correctly.
778 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
779 * math/atest-exp2.c: Likewise.
780 * math/atest-sincos.c: Likewise.
782 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
785 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
787 * string/strcoll.c: Optimize a few expressions.
788 * string/strxfrm.c: Likewise.
790 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
792 * manual/locale.texi: Fix typos.
794 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
796 * stdlib/random_r.c (__setstate_r): Allow call with same state
797 array as currently used (PR libc/774).
799 * include/limits.h: Include gcc's header even if this file is
800 found more than once before it (PR libc/778)
802 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
803 (sysdep_headers): Remove sys/debugreg.h.
804 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
805 (sysdep_headers): Add sys/debugreg.h.
806 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
807 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
809 * stdio-common/tmpnam.c: Move local static variable buf to
810 toplevel and rename to tmpnam_buffer to ease debugging.
811 Patch by Joe Keane <jgk@jgk.org>.
812 Optimize s == NULL case a bit.
814 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
817 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
819 * resolv/res_init.c (res_init): Initialize _res.nscount and
820 _res.nsaddr.sin_port differently for the can when no loopback
821 is available to allow immediate timeout in non-networking environments.
822 Patch by Cristian Gafton <gafton@redhat.com>.
824 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
826 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
828 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
829 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
832 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
834 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
836 * timezone/tst-timezone.c (tests): Fix typo in last patch.
838 * time/tzfile.c (__tzfile_read): Handle case when there are no
839 transitions. Set __timezone based on computed offset.
840 * time/tzset.c (tzset_internal): Set __timezone before returning.
842 * time/tzset.c (tzset_internal): Optimize handling of local string
845 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
847 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
850 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
852 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
853 (csqrt_test): Likewise.
854 * sysdeps/powerpc/bits/fenv.h: Add parens.
856 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
858 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
859 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
860 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
862 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
864 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
865 the special `-1' pointer.
867 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
869 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
872 1998-09-07 Paul Eggert <eggert@twinsun.com>
874 * time/mktime.c (__EXTENSIONS__): Define if not defined.
875 (_REENTRANT): Remove. It has undesirable consequences in
876 Solaris 2.6 (e.g. it turns off the putc macro). Defining
877 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
879 * time/strftime.c: Likewise.
881 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
883 * elf/dl-error.c: Fix spelling.
885 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
887 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
888 * stdio-common/_itoa.c: Likewise.
889 * stdio-common/printf_fp.c: Likewise.
890 * stdio-common/vfscanf.c: Likewise.
891 * wcsmbs/wcstok.c: Likewise.
892 * sysdeps/generic/glob.c: Likewise.
893 * posix/getopt.c: Likewise.
894 * sysdeps/posix/getaddrinfo.c: Likewise.
895 * posix/wordexp.c: Likewise.
896 * io/ftw.c: Likewise.
897 * io/fts.c: Likewise.
898 * misc/getpass.c: Likewise.
899 * iconv/gconv_conf.c: Likewise.
900 * argp/argp-fmtstream.c: Likewise.
901 * argp/argp-help.c: Likewise.
902 * elf/dl-load.c: Likewise.
903 * locale/programs/stringtrans.c: Likewise.
904 * catgets/gencat.c: Likewise.
905 * posix/getconf.c: Likewise.
906 * iconv/gconv_conf.c: Likewise.
907 * iconv/iconv_prog.c: Likewise.
909 * string/strcoll.c: Optimize a few expressions.
910 * string/strxfrm.c: Likewise.
912 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
914 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
915 level to avoid uninit variable warning.
917 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
919 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
920 instead of _dl_default_scope[2] as argument to _dl_init_next.
922 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
925 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
927 Fix compatibility problems introduced in last change.
928 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
930 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
931 -DWEAK_GMON_START to CFLAGS-initfini.s.
933 * elf/dl-object.c (_dl_new_object): Store map address in
934 _dl_loaded if _dl_loaded is NULL.
935 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
937 * sysdeps/generic/setrlimit64.c: Remove stub warning.
939 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
941 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
943 * db2/btree/bt_cursor.c: Likewise.
944 * db2/common/db_region.db_c: Likewise.
945 * db2/common/db_salloc.db_c: Likewise.
946 * db2/db/db.c: Likewise.
947 * db2/db/db_rec.c: Likewise.
948 * db2/hash/hash.c: Likewise.
949 * db2/hash/hash_page.c: Likewise.
950 * db2/hash/hash_rec.c: Likewise.
951 * db2/log/log_findckp.c: Likewise.
952 * db2/log/log_get.c: Likewise.
953 * db2/log/log_put.c: Likewise.
954 * db2/mp/mp_fget.c: Likewise.
955 * db2/mp/mp_fput.c: Likewise.
956 * db2/mp/mp_region.c: Likewise.
957 * stdlib/strtol.c: Likewise.
958 * string/strcoll.c: Likewise.
959 * string/strxfrm.c: Likewise.
960 * argp/argp-help.c: Likewise.
961 * argp/argp-parse.c: Likewise.
962 * resolv/res_debug.c: Likewise.
964 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
966 * math/tgmath.h (scalb): Only define for __USE_MISC or
967 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
969 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
971 * libio/stdio.h: Fix comment.
973 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
976 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
978 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
980 * elf/dl-open.c: Quiet -Wparentheses warnings.
981 * iconvdata/johab.c: Likewise.
982 * iconvdata/uhc.c: Likewise.
983 * inet/inet_net.c: Likewise.
984 * io/fts.c: Likewise.
985 * locale/newlocale.c: Likewise.
986 * misc/getttyent.c: Likewise.
987 * misc/mntent_r.c: Likewise.
988 * misc/ttyslot.c: Likewise.
989 * nscd/nscd_conf.c: Likewise.
990 * nss/nsswitch.c: Likewise.
991 * resolv/gethnamaddr.c: Likewise.
992 * resolv/nsap_addr.c: Likewise.
993 * resolv/res_debug.c: Likewise.
994 * stdio-common/_itoa.c: Likewise.
995 * stdlib/strtod.c: Likewise.
996 * string/strverscmp.c: Likewise.
997 * sunrpc/svc.c: Likewise.
998 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
999 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1000 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1001 * sysdeps/posix/getaddrinfo.c: Likewise.
1003 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1005 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1006 for use of global scope.
1007 * elf/dlvsym.c (dlvsym_doit): Likewise.
1009 1998-09-02 Paul Eggert <eggert@twinsun.com>
1011 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1012 copy the redundant bytes at the end of the format as-is; don't
1013 just copy their first byte and then rescan, as that might get
1014 us an encoding error.
1015 Account correctly for the length of multibyte sequences in the
1018 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
1020 * posix/wordexp-test.c: Add tests for different IFS values.
1021 Change unquoted-newline test so that newline is not in IFS.
1023 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1024 determining IFS characters. Return WRDE_BADCHAR for unquoted
1025 special characters _except_ if they are separators.
1027 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
1029 * include/tgmath.h: New file.
1031 * libio/stdio.h: Correct reversed #ifs.
1032 Patch by Zack Weinberg.
1034 * manual/creature.texi: Better explain reason for feature select
1036 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1038 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1040 * include/alloca.h: Add multiple-inclusion guard.
1041 * include/db.h: Likewise.
1042 * include/db_185.h: Likewise.
1043 * include/dlfcn.h: Likewise.
1044 * include/fcntl.h: Likewise.
1045 * include/grp.h: Likewise.
1046 * include/libintl.h: Likewise.
1047 * include/mntent.h: Likewise.
1048 * include/pwd.h: Likewise.
1049 * include/sched.h: Likewise.
1050 * include/search.h: Likewise.
1051 * include/setjmp.h: Likewise.
1052 * include/shadow.h: Likewise.
1053 * include/signal.h: Likewise.
1054 * include/stdio.h: Likewise.
1055 * include/stdlib.h: Likewise.
1056 * include/string.h: Likewise.
1057 * include/termios.h: Likewise.
1058 * include/time.h: Likewise.
1059 * include/ulimit.h: Likewise.
1060 * include/utmp.h: Likewise.
1061 * include/wchar.h: Likewise.
1062 * include/sys/file.h: Likewise.
1063 * include/sys/gmon.h: Likewise.
1064 * include/sys/ioctl.h: Likewise.
1065 * include/sys/mman.h: Likewise.
1066 * include/sys/resource.h: Likewise.
1067 * include/sys/select.h: Likewise.
1068 * include/sys/socket.h: Likewise.
1069 * include/sys/statfs.h: Likewise.
1070 * include/sys/time.h: Likewise.
1071 * include/sys/times.h: Likewise.
1072 * include/sys/wait.h: Likewise.
1074 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
1076 * version.h (VERSION): Bump to 2.0.96.
1078 Rewrite runtime linker to be truly thread-safe. There is now no
1079 global variable specifying the scope. We create all needed
1080 scopes at the time the link maps are created.
1081 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1082 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1083 l_symbolic_searchlist, l_scope, and l_local_scope elements in
1085 * elf/dl-close.c: Rewritten accordingly.
1086 * elf/dl-deps.c: Likewise.
1087 * elf/dl-error.c: Likewise.
1088 * elf/dl-init.c: Likewise.
1089 * elf/dl-load.c: Likewise.
1090 * elf/dl-lookup.c: Likewise.
1091 * elf/dl-object.c: Likewise.
1092 * elf/dl-open.c: Likewise.
1093 * elf/dl-reloc.c: Likewise.
1094 * elf/dl-runtime.c: Likewise.
1095 * elf/dl-support.c: Likewise.
1096 * elf/dl-symbol.c: Likewise.
1097 * elf/dl-version.c: Likewise.
1098 * elf/dlsym.c: Likewise.
1099 * elf/dlvsym.c: Likewise.
1100 * elf/ldsodefs.h: Likewise.
1101 * elf/rtld.c: Likewise.
1102 * iconv/gconv_dl.c: Likewise.
1103 * nss/nsswitch.c: Likewise.
1104 * sysdeps/i386/dl-machine.h: Likewise.
1105 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1107 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1108 Define RTLD_DEFAULT.
1110 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
1112 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1113 __getopt_clean_environment with __environ instead of envp.
1115 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
1117 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1119 * string/argz-extract.c (__argz_extract): Add de-consting cast for
1122 * string/argz.h (argz_next): Add de-consting cast for return.
1123 * string/argz-next.c (__argz_next): Likewise.
1125 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1126 Don't add netinet/udp.h, netinet/ip_icmp.h here.
1127 * sysdeps/gnu/Makefile: Do it here instead.
1128 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1129 * sysdeps/gnu/Dist: ... to here.
1131 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1132 sysdeps/unix/sysv/linux/netinet/tcp.h,
1133 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1135 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1137 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1138 * string/argz-next.c, string/argz-extract.c: Fix defns.
1140 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1142 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1144 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1145 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1146 * sysdeps/generic/sysd-stdio.c: Likewise.
1148 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
1150 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1151 (_dl_map_object_from_fd): Make NAME argument const.
1152 Remove last parameter in _dl_new_object call.
1153 (print_search_path): Correct construction of composed path name.
1154 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1155 Remove last parameter in _dl_new_object call.
1156 * elf/dl-object.c: Remove last parameter. Determine whether create
1157 origin entry based on empty realname. Handle file in root directory
1159 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1160 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1161 Remove last parameter in _dl_new_object call.
1162 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1163 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1165 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
1167 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1168 Free l_searchlist and l_dupsearchlist.
1170 * debug/catchsegv.sh: Add one more pair of quotes.
1172 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1174 * elf/dl-load.c (add_name_to_object): Change return type to void and
1175 make NAME parameter const. Allocate room for NAME in same memory
1176 block used for l_libname entry.
1177 (_dl_map_object_from_fd): Don't free NAME on failure.
1178 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1179 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1180 _dl_map_object_from_fd.
1181 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1182 memory block used for l_libname entry.
1183 * elf/dl-close.c: Adjust free()ing for this change.
1185 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1187 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1189 * malloc/mtrace.c: Add bug report address. Update email address.
1190 Add more @XXX@ to print correct address size.
1192 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1195 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1196 for munmap call instead of examining phdr again.
1197 Free all malloc()ed strings and arrays.
1199 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1201 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1203 * sysdeps/powerpc/dl-machine.c: New file.
1204 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1205 files. Revise ELF_PREFERRED_ADDRESS to take account of
1206 the new mapping information (fixes bug involving huge bloated
1207 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1208 * sysdeps/powerpc/dl-start.S: New file.
1210 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1212 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1213 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1214 others. Call elf_dynamic_do_##reloc only once (to save even more
1216 * elf/link.h: Add new members l_map_start and l_map_end to keep
1217 track of the memory map.
1218 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1221 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1223 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1224 Reported by Andreas Jaeger.
1226 * posix/glob.h: Use __size_t instead of size_t in definitions and
1227 make sure this is defined.
1229 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1231 * manual/locale.texi: Almost complete rewrite. Document more functions
1233 * manual/arith.texi: Correct reference.
1234 * manual/string.texi: Pretty printing.
1236 * manual/texinfo.tex: Update from last available version.
1238 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1240 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1242 (_nss_nis_getpwuid_r): Likewise.
1243 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1245 * inet/rcmd.c: Implement netgroup support.
1246 Patch by Dick Streefland <dick_streefland@tasking.com>.
1248 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1250 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1251 object on the list is removed. Don't use this code for PIC.
1252 Reported by HJ Lu [PR libc/770].
1254 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1256 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1258 * include/stdio.h: Add __vsscanf.
1260 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1262 Remove __vsscanf declaration.
1263 Always declare fgetpos and fsetpos.
1265 * math/math.h: Define isinf as macro.
1266 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1267 Don't declare scalb for ISO C 9x.
1269 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1271 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1273 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1276 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1279 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1281 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1282 Reported by jreising@frequentis.com [PR libc/767].
1284 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1286 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1287 fl.l_start at beginning of function.
1288 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1290 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1292 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1293 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1295 * nscd/nscd.init: Make it work in RedHat systems.
1296 Patch by Christian Gafton.
1298 1998-08-29 Philip Blundell <philb@gnu.org>
1300 * catgets/Makefile: Don't try to run test programs when
1303 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1305 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1306 Reported by Zack Weinberg.
1308 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1310 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1311 * elf/Makefile (distribute): Remove ldd.sh.in.
1313 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1315 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1318 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
1320 * sysdeps/i386/register-dump.h: Move to ...
1321 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1323 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1325 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1326 with load address, not map address.
1327 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1328 parameter and use this value.
1329 * sysdeps/arm/dl-machine.h: Likewise.
1330 * sysdeps/i386/dl-machine.h: Likewise.
1331 * sysdeps/m68k/dl-machine.h: Likewise.
1332 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1334 * sysdeps/powerpc/dl-machine.h: Likewise
1335 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1336 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1338 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1340 * elf/rtld.c (process_envvars): Fix copy&paste error.
1342 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1344 (realloc_hook_ini): Don't overwrite memalign hook.
1345 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1346 Reported by Philippe Troin <phil@fifi.org>.
1348 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1349 Patch by Philippe Troin <phil@fifi.org>.
1351 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1353 * sysdeps/generic/segfault.c (install_handler): Protect the
1354 non-POSIX signals with #ifdef.
1355 (catch_segfault): Add missing mode parameter for open.
1356 * debug/catchsegv.sh: Avoid termination message from shell. Allow
1357 other termination signals.
1359 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1361 * debug/Makefile (distribute): Add register-dump.h.
1363 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1365 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1367 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
1369 * elf/Makefile (distribute): Add dl-origin.h.
1370 * sysdeps/generic/dl-origin.h: New file.
1371 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1372 * elf/link.h (struct link_map): Add l_origin field.
1373 * elf/dl-load.c (expand_dynamic_string_token): New function.
1374 (decompose_path): Remove WHERE argument, take link map pointer instead.
1375 Call expand_dynamic_string_token instead of local_strdup to make copy
1377 (_dl_init_paths): Call decompose_path with correct argument.
1378 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1380 Check EI_OSABI and EI_ABIVERSION fields in header.
1381 Call _dl_new_object with extra argument.
1382 (_dl_map_object): Call decompose_path with correct argument.
1383 Call expand_dynamic_string_token instead of local_strdup to also
1385 Call _dl_new_object with extra argument.
1386 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1387 but the main one if new argument is nonzero.
1388 * elf/ldsodefs.h: Adjust for _dl_new_object change.
1389 * elf/dl-support.c: Define _dl_origin_path.
1390 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
1391 (dl_main): Call _dl_new_object with extra argument.
1393 * elf/dl-close (_dl_close): Free l_name and l_origin.
1395 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1396 modifier in asm, not c.
1398 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1399 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1401 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
1403 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1404 variable so that map can be freed.
1405 Reported by Philippe Troin <phil@fifi.org>.
1407 * elf/dl-open.c (dl_open_worker): Correct test for extending global
1409 Patch by Philippe Troin <phil@fifi.org>.
1411 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1413 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
1414 Don't call writev() with a 100-element vector.
1415 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1418 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1419 In particular, set __libc_stack_end.
1420 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1421 undefined. Fix copyright notice.
1423 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1425 * math/Makefile (gmp-objs): New variable.
1426 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1428 (tests): Add atest-exp atest-sincos atest-exp2.
1429 (tests-static): Remove atest-exp atest-sincos atest-exp2.
1431 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
1433 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1435 (_dl_unload_cache): New function.
1436 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1437 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1438 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1440 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1441 Correct comment for O_LARGEFILE.
1442 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1443 Change O_LARGEFILE to correct value.
1445 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
1447 * libio/iogetline.c (_IO_getline_info): Don't read anything for
1448 N == 0. Patch by HJ Lu.
1450 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
1452 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1454 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1456 * argp/argp.h: Use __inline__ not inline.
1458 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1459 an input register as being clobbered.
1460 * sysdeps/i386/memset.c (memset): Likewise.
1461 * sysdeps/i386/bzero.c (__bzero): Likewise.
1462 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1464 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1466 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1467 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1469 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
1471 * debug/catchsegv.sh: Handle text preceding backtrace better.
1472 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
1473 to be installed for other signals than SIGSEGV.
1474 * sysdeps/generic/register-dump.h: New file.
1475 * sysdeps/i386/register-dump.h: New file.
1476 * sysdeps/powerpc/register-dump.h: New file.
1478 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1480 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1482 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1484 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1486 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1488 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1489 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1490 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1491 getresuid, getresgid.
1493 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1495 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1496 pointer in userland.
1498 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1500 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1503 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1505 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1506 over arguments Bourne shell compatible. Don't exit unsuccessfully
1507 if nonelf returns successfully. Avoid duplicating most of the
1509 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1512 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1514 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1516 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1517 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1519 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1521 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1522 __modify_ldt and modify_ldt.
1523 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1525 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1526 Use orl $-1 instead of movl $-1 to save two bytes.
1527 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1530 1998-08-17 H.J. Lu <hjl@gnu.org>
1532 * libio/Versions (_IO_do_write, _IO_file_attach,
1533 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1534 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1535 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1536 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1538 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1539 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1540 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1541 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1542 _IO_file_write, _IO_file_xsputn): Change the prefix to
1543 "_IO_new_". Added to GLIBC_2.1.
1545 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1546 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1547 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1548 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1549 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1552 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1553 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1554 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1555 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1556 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1558 1998-08-23 Richard Henderson <rth@cygnus.com>
1560 * Makeconfig (LDFLAGS): Remove.
1562 * csu/initfini.c: Return to .text before __gmon_start__.
1564 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1565 (STO_MIPS_*): Rename from STO_*.
1566 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1567 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1569 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1570 (main): e3s is negative on zero.
1571 * math/atest-exp2.c: Likewise.
1572 * math/atest-sincos.c: Likewise.
1574 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1576 * Makerules (install): Add comment about absolute paths.
1578 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1580 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1581 array to NUL to handle maxlen==1 case correctly.
1584 1998-08-23 Richard Henderson <rth@cygnus.com>
1586 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1587 * sysdeps/alpha/elf/crtend.S: Likewise.
1588 * sysdeps/alpha/elf/start.S: Likewise.
1590 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1591 non-standard pv usage.
1593 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1594 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1595 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1596 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1597 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1598 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1599 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1600 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1601 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1602 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1603 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1605 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1606 a finite non-denormal, deferring to the full IEEE version otherwise.
1608 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1609 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1610 * sysdeps/alpha/fpu/s_floor.c: New.
1611 * sysdeps/alpha/fpu/s_floorf.c: New.
1612 * sysdeps/alpha/fpu/s_ceil.c: New.
1613 * sysdeps/alpha/fpu/s_ceilf.c: New.
1615 1998-08-22 Philip Blundell <philb@gnu.org>
1617 * sysdeps/arm/bits/string.h: New file.
1619 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1621 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1624 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1625 test for recent Linux 2.1.100+ headers.
1627 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1629 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1631 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1633 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1635 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1637 * Makefile (elf/ldso_install): Put back. The problem still persists.
1638 * elf/Makefile (ldso_install): Likewise.
1640 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1642 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1644 * include/db.h: Declare __nss_db_open.
1645 * db2/Versions: Export it.
1647 * db2/makedb.c: Convert to use db2 API.
1648 * nss/nss_db/db-XXX.c: Likewise.
1649 * nss/nss_db/db-netgrp.c: Likewise.
1650 * nss/nss_db/db-alias.c: Likewise.
1651 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1653 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1655 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1656 sys_setresuid, already built automatically (or not).
1657 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1658 instead of __syscall_setresuid and add back setresuid.
1659 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1660 __syscall_setresuid.
1662 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1664 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1666 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1668 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1669 BASH-ONLY marked region.
1670 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1672 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1674 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1677 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1679 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1682 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1684 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1685 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1686 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1687 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1688 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1689 those magic comments, and to use /bin/sh for @BASH@.
1690 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1691 * elf/ldd.sh.in: File removed.
1693 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1695 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1696 cast them to unsigned long int.
1697 * pwd/putpwent.c (putpwent): Likewise.
1698 Patch by John Tobey <jtobey@banta-im.com>.
1700 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1702 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1705 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1707 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1710 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1712 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1713 Add umount and umount2.
1714 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1715 * sysdeps/unix/sysv/linux/umount.S: New file.
1716 * sysdeps/unix/sysv/linux/umount2.S: New file.
1717 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1720 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1722 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1723 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1725 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1727 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1730 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1732 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1733 * elf/ldd.bash.in: Likewise.
1735 * elf/sln.c: Avoid warning for no main prototype.
1737 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1739 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1742 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1744 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1745 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1748 1998-08-20 Philip Blundell <pb@nexus.co.uk>
1750 * sysdeps/arm/fpu/ieee754.h: Move to...
1751 * sysdeps/arm/ieee754.h: ... here.
1753 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1754 Don't set the condition flags unnecessarily.
1755 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1756 registers correctly.
1758 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1759 (patch from Scott Bambrough).
1761 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1763 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1764 NULL, just call it unconditionally.
1765 (__gmon_start__): Provide stub version as a weak symbol.
1767 1998-07-30 Philip Blundell <philb@gnu.org>
1769 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1772 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1773 like `@' in .type directives.
1775 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1776 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1778 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1780 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1782 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1783 (F_GETOWN): Likewise.
1785 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1788 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1790 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1793 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
1795 * include/features.h: Define __USE_EXTERN_INLINES for recent
1797 * argp/argp.h: Define extern inline functions only if
1798 __USE_EXTERN_INLINES is defined.
1799 * libio/stdio.h: Likewise.
1800 * math/math.h: Likewise.
1801 * stdlib/stdlib.h: Likewise.
1802 * string/argz.h: Likewise.
1803 * sysdeps/generic/bits/sigset.h: Likewise.
1804 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1805 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1806 * sysdeps/wordsize-32/inttypes.h: Likewise.
1807 * sysdeps/wordsize-64/inttypes.h: Likewise.
1808 * wcsmbs/wchar.h: Likewise.
1810 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1811 to allow compilation without optimization.
1813 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1815 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1817 * nis/nss_compat/compat-initgroups.c: Likewise.
1818 * nis/nss_compat/compat-pwd.c: Likewise.
1819 * nis/nss_compat/compat-spwd.c: Likewise.
1820 * nis/nss_nis/nis-alias.c: Likewise.
1821 * nis/nss_nis/nis-ethers.c: Likewise.
1822 * nis/nss_nis/nis-grp.c: Likewise.
1823 * nis/nss_nis/nis-hosts.c: Likewise.
1824 * nis/nss_nis/nis-initgroups.c: Likewise.
1825 * nis/nss_nis/nis-network.c: Likewise.
1826 * nis/nss_nis/nis-proto.c: Likewise.
1827 * nis/nss_nis/nis-pwd.c: Likewise.
1828 * nis/nss_nis/nis-rpc.c: Likewise.
1829 * nis/nss_nis/nis-service.c: Likewise.
1830 * nis/nss_nis/nis-spwd.c: Likewise.
1832 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1834 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1836 * nis/yp_xdr.c: Remove 1024 byte limit.
1837 * nis/ypupdate_xdr.c: Likewise.
1839 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1842 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1844 * Rules (binaries-static, binaries-shared static pattern rules):
1845 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1847 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1848 this here, overriding Makeconfig generic value so we link against
1851 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
1853 * posix/tstgetopt.c (options): Add NULL entry at end
1854 Patch by Adrian Miranda <ade@psg.com>.
1856 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1858 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1861 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1863 * elf/elf.h: Add PPC Diab relocations.
1865 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1867 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1869 * manual/texinfo.tex: Update.
1871 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1873 * sysdeps/powerpc/backtrace.c: New file.
1875 1998-08-14 Philip Blundell <pb@nexus.co.uk>
1877 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1879 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1881 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1883 * Makefile (install-symbolic-link): Fix spelling.
1885 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1887 * elf/elf.h (SHT_HIOS): Fix value.
1889 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1891 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1892 part of the expansion, this is undefined by the standard.
1894 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1896 * posix/getconf.c: Add support for systems with incomplete confname.h.
1898 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1900 * sysdeps/posix/wait3.c: Make it work.
1902 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1904 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1905 (elf/ldso_install): Remove.
1907 * elf/Makefile (distribute): Add sln.c.
1909 (others-static): Add sln.
1910 (install-rootsbin): Add sln.
1911 (others-static): Add sln.
1912 (ldso_install): Remove.
1914 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1916 * Makerules (install-clean-symbolic-link-list): Make phony.
1917 * Makefile (install-symbolic-link): Make phony. Depend on
1918 subdir_install for parallel makes.
1921 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
1923 * elf/Makefile (distribute): Add sln.c
1925 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1927 * elf/sln.c: New file.
1929 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1930 (install-clean-symbolic-link-list): New target.
1931 (install): Depend on install-clean-symbolic-link-list.
1932 (make-shlib-link): Changed for $(symbolic-link-list).
1934 * Makefile (install-symbolic-link): New target.
1935 (install): Depend on install-symbolic-link.
1937 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1939 * include/unistd.h: Protect against multiple inclusion.
1941 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1942 is defined, not is glob is defined.
1943 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1945 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1947 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1948 xdr_string for ut_line, ut_name and ut_host.
1950 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1952 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1953 /var/mail in accordance with FHS 2.0.
1954 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1956 1998-08-12 Richard Henderson <rth@cygnus.com>
1958 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1959 Update aliases for cancelation.
1961 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1962 playing with symbol versions.
1964 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1966 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1967 multiple inclusion protection.
1968 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1969 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1970 define all these to 1.
1971 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1973 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1975 * sysdeps/mach/usleep.c: Include <unistd.h>.
1976 (usleep): Return void.
1978 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1980 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1981 decl to inhibit warning in if_freenameindex defn.
1983 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1985 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1987 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1988 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1989 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1990 * sysdeps/mach/usleep.c: Likewise.
1992 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1994 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1995 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1996 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1997 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1998 * sysdeps/mach/usleep.c (usleep): Likewise.
1999 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2000 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2001 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2002 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2004 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2006 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2009 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2010 %p arg to fprintf, since `void *' is the right type already.
2012 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2014 * sysdeps/mach/hurd/getcwd.c
2015 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2016 for unknown root directories.
2017 (__getcwd): Return NULL when the current root directory could not
2020 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
2022 * string/strsignal.c (strsignal): Count real-time signals from zero.
2025 See ChangeLog.8 for earlier changes.