1 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
3 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
4 * elf/elf.h: Add AT_FPUCW.
5 * elf/Makefile (dl-routines): Add fpu_control.
6 (elide-routines.os): Add fpu_control.
7 (rtld-routines): Add fpu_control.
8 * math/Makefile (aux): Remove fpu_control.
9 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
10 (_dl_show_auxv): Likewise.
11 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
12 if different from OS default.
14 * stdio-common/tstscanf.c: Add test case for (nil).
16 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
18 * libio/fileops.c (_IO_new_file_underflow): Before allocating
19 buffer make sure the pushback buffer is destroyed.
20 (_IO_new_file_seekoff): Likewise.
21 If mode==0 quit early with the result.
22 Clear OEF flag after successful fseek.
23 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
24 * libio/ftello.c (ftello): Add offset from original buffer if
25 stream has pushed back characters.
26 * libio/ftello64.c (ftello64): Likewise.
27 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
28 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
29 * libio/ioftell.c (_IO_ftell): Likewise.
30 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
32 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
33 (_IO_default_pbackfail): Only stored push back character in original
34 buffer if it is the same as the one in the file at this position.
35 * libio/iofclose.c: Free backup buffer if one is available.
36 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
39 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
41 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
43 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
45 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
47 * login/programs/pt_chown.c (more_help): Correct message that
48 describes the purpose of the program.
50 * login/openpty.c: Do not include pty-private.h.
51 (pts_name): New function. Return name of slave pseudo terminal in
52 an allocated buffer if necessary.
53 (openpty): Use pts_name to get name of the slave end of the pseudo
56 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
57 pts_name before return.
59 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
61 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
63 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
65 * login/openpty.c: Include pty-private.h instead of
68 1998-09-09 Philip Blundell <pb@nexus.co.uk>
70 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
72 1998-09-07 Philip Blundell <pb@nexus.co.uk>
74 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
76 (elf_machine_runtime_setup): Correct behaviour when profiling.
78 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
80 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
81 Patch by John Tobey <jtobey@banta-im.com>.
83 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
85 * login/pty-internal.h: Removed. Moved constants related to the
86 `grantpt' helper program protocol to ...
87 * login/pty-private.h: ... here. New file.
88 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
89 to make the function work with kernels >= 2.1.115.
90 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
91 version if using the cloning device fails.
92 * sysdeps/unix/sysv/linux/grantpt.c: New file.
93 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
94 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
95 use by Linux specific code.
96 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
97 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
98 function. (grantpt): Use pts_name, check group and permission
99 mode in addition to owner. Try to set the owner, group and
100 permission mode first without invoking the helper program.
101 * login/programs/pt_chown.c: Largely rewritten. Add argp and
102 internationalization support. Use symbolic constants instead of
103 hardwired numbers for permission mode.
104 * sysdeps/unix/bsd/ptsname.c: New file.
106 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
108 * posix/wordexp-test.c: Undo last change.
110 * posix/wordexp.c: Undo last change.
112 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
114 * nscd/grpcache.c (save_grp): Partly undo last change.
116 * nscd/pwdcache.c (save_pwd): Undo last change.
118 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
120 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
121 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
123 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
125 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
126 Add profiling support.
127 (TRAMPOLINE_TEMPLATE): New macro.
128 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
129 (RTLD_START): Prettify, and set __libc_stack_end properly.
130 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
131 and check for sym being NULL instead.
132 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
134 * sysdeps/sparc/sparc64/lshift.S: Likewise.
135 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
136 * sysdeps/sparc/sparc64/rshift.S: Likewise.
137 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
138 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
139 MEDANY code model %g4 usage.
140 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
141 MEDANY code model %g4 usage.
142 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
143 code model address formation.
144 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
145 include elf/ldsodefs.h
147 (elf_machine_matches_host): It is now EM_SPARCV9.
148 (elf_machine_dynamic): Clean up to remove ugly cast.
149 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
151 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
152 Prettify rest of function.
153 [R_SPARC_COPY]: Check for sym being NULL.
154 [R_SPARC_32]: Handle it.
155 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
157 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
159 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
160 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
161 Add profiling support.
162 (TRAMPOLINE_TEMPLATE): New macro.
163 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
164 (RTLD_START): Prettify and set __libc_stack_end.
165 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
167 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
168 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
169 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
170 unused variable scratch.
171 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
172 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
174 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
175 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
176 old format kernel sigaction structures.
177 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
178 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
179 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
180 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
182 (_JMPBUF_UNWINDS): Define.
183 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
184 statfs64 structure, which is exactly the same as the normal one.
185 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
186 of stack. Use correct syscall trap number. Add branch prediction
187 settings to branch instructions. Remove old MEDANY code model %g4
188 referneces for non-PIC.
189 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
190 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
191 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
192 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
194 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
195 __libc_longjmp and __libc_siglongjmp strong aliases.
196 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
197 Also define to __no__readdir64_decl around readdir.c inclusion.
198 (__readdir64): Add strong alias.
199 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
200 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
201 Set strong and weak names properly.
203 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
205 * manual/Makefile (AWK): Default to gawk if standalone.
207 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
209 * Makefile (distribute): Undo last change.
210 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
212 (+subdir-headers): Removed, unused.
214 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
216 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
219 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
221 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
222 absolute name in $(config-sysdirs), can never happen.
223 ($(+sysdir_pfx)sysd-rules): Likewise.
224 * Makeconfig (full-config-sysdirs): Likewise.
225 (all-Subdirs-files): Prepend $(..).
227 * configure.in: Don't check for absolute name in $add_ons_pfx, can
228 not happen. Let --enable-add-ons=yes work if no add-ons actually
231 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
233 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
234 continuations in command.
236 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
238 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
240 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
242 * posix/wordexp-test.c: If expansion or substitution occurs
243 anywhere in a word, the entire word is subject to field-splitting.
245 * posix/wordexp.c (parse_glob): Look for end of word instead of
246 end of field when deciding what to glob.
247 (field_split_word): New function, now the only place where
248 field-splitting is performed.
249 (parse_dollars): New parameter - tell the caller if
250 field-splitting should be performed on this word.
252 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
253 succeeded (or failed with WRDE_NOSPACE).
255 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
257 * posix/wordexp.c (wordexp): Don't convert IFS characters to
260 * posix/wordexp-test.c: Words not the result of expansion or
261 substitution should remain unchanged.
263 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
265 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
266 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
268 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
270 * stdio-common/Makefile: Include Makeconfig so that
271 $(inst_includedir) is defined.
273 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
275 * io/pwd.c: Include <mcheck.h>.
277 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
279 * nscd/pwdcache.c (save_pwd): Correct copying.
280 * nscd/grpcache.c (save_grp): Likewise.
282 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
284 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
285 (free_pwd): Adjust for this change.
286 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
287 (free_grp): Adjust for this change.
289 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
291 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
293 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
295 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
296 (install-others): Add bits/stdio_lim.h.
297 Add rule to install bits/stdio_lim.h.
299 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
301 * Makefile (distribute): Add include/sys/mman.h.
303 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
304 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
305 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
307 * grp/initgroups.c: Include stdlib.h.
308 Patch by Zack Weinberg.
310 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
312 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
313 for field-splitting :abc: is correct, and that two fields should
314 result. Revert tests to reflect this.
316 * posix/wordexp.c (w_emptyword): Remove function.
317 (exec_comm): Don't use w_emptyword.
318 (parse_param): Likewise.
320 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
322 * sysdeps/arm/fpu/Dist: Moved to...
323 * sysdeps/arm/Dist: ...here.
324 * sysdeps/posix/Dist: Removed.
325 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
326 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
328 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
330 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
332 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
334 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
336 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
338 * libc-work/nis/nss_nisplus/nisplus-service.c
339 (_nss_nisplus_parse_servent): Convert port in network byte order.
341 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
343 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
344 to provide only malloc and calloc.
345 * include/stdlib.h: Support the above.
346 * string/bits/string2.h: Use __need_malloc_and_calloc when
348 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
350 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
351 * iconvdata/iso646.c: Include <stdlib.h>.
353 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
355 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
356 * sysdeps/libm-ieee754/w_pow.c: Likewise.
357 * sysdeps/libm-ieee754/w_powf.c: Likewise.
358 * sysdeps/libm-ieee754/w_powl.c: Likewise.
360 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
362 * stdio-common/stdio_lim.h.in: New file. All parameters
363 are adjustable at build time.
364 * Rules: Add a rule to build bits/stdio_lim.h from
365 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
366 all subdirectories know how to make the file. It can't be
367 in Makerules because then it gets built at top level and the
368 dependencies are wrong.)
370 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
371 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
373 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
374 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
375 * sysdeps/posix/Makefile: Removed.
376 * sysdeps/posix/mk-stdiolim.c: Removed.
377 * sysdeps/generic/bits/stdio_lim.h: Removed.
379 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
381 * argp/argp-help.c: Fixup indentation.
382 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
383 * resolv/nss_dns/dns-network.c: Likewise.
384 * resolv/res_send.c: Likewise.
385 * rt/aio_cancel.c: Likewise.
386 * rt/aio_misc.c: Likewise.
388 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
390 * Makefile (install-symbolic-link): Remove the link list file at last.
391 * Makerules (install-clean-symbolic-link-list): Removed.
393 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
395 * timezone/tst-timezone.c: Print time in UTC to get consistent
398 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
400 * elf/rtld.c (_dl_rpath): Removed.
401 * elf/dl-support.c (_dl_path): Removed.
402 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
403 (CFLAGS-dl-support.c): Removed.
405 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
407 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
408 instead of appending it to the main map's rpath info.
409 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
410 DT_RPATHs. This makes it effective again.
411 (decompose_rpath): Remove second parameter, callers changed.
412 (fillin_rpath): Allocate enough space in curwd.
413 (expand_dynamic_string_token): Cope with get_origin returning -1.
415 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
417 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
420 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
423 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
425 * locale/programs/locale.c: Update dates.
427 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
429 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
430 size_t is defined. Some reordering of defenitions to make
431 maintaining this file in parallel with the linux-specific file easier.
433 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
435 * io/pwd.c (main): Add call to mtrace.
437 * malloc/mtrace.pl: Quote @ in string.
439 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
441 * posix/wordexp.c (parse_arith): Fix memory leaks.
442 (exec_comm): Likewise.
443 (parse_param): Likewise.
445 (exec_comm): Reduce number of function return points.
446 (parse_param): Likewise.
449 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
451 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
452 yield three fields, not two. Test both parameter expansion and
453 command substitution for correct field-splitting behaviour.
455 * posix/wordexp.c (w_emptyword): New function.
456 (parse_param): Use it.
457 (exec_comm): Likewise, for consistency with the way parse_param
459 (parse_param): Fix some memory leaks.
461 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
463 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
464 Don't mark asm `volatile'.
465 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
466 from the data cache too. Assume it isn't in the instruction cache yet.
467 (__elf_machine_fixup_plt): Clear the modified address from the caches.
469 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
471 * sysdeps/generic/segfault.c (install_handler): Install signal
472 handler with SA_ONSTACK instead of setting the stack flags to
473 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
476 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
478 * signal/signal.h: Fix multiple inclusion guard to cover the
480 * wcsmbs/wchar.h: Remove prototype of internal function
482 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
483 arithmetic on `void *'.
485 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
487 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
489 * posix/wordexp.c (wordexp): Perform word-splitting instead of
490 field-splitting here.
491 (wordexp): If out of memory mid-word, free the word (but still
492 leave pwordexp alone for caller to see).
493 (parse_param): Allow for zero-length fields (smarter checking of
494 memory allocation failure).
495 (w_addword): Convert NULL words to "".
496 (wordexp): Convert left-over IFS characters to blanks (like bash).
498 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
500 * configure.in: Use test -f instead of test -e.
501 Patch by John Tobey <jtobey@banta-im.com>.
503 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
504 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
505 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
506 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
507 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
508 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
509 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
510 Patches by John Tobey <jtobey@banta-im.com>.
512 * time/strftime.c (my_strftime): Delay use of *tp values until
513 latest possible point to allow partly initialized structures
514 (e.g., from strptime).
516 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
518 Define *-routines variables for new modules.
519 (distribute): Add .c files for new modules.
520 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
522 Add rules for header generation.
523 * iconvdata/gconv-modules: Add entries for new modules.
524 * iconvdata/iso_10367-box.c: New file.
525 * iconvdata/mac-is.c: New file.
526 * iconvdata/nats-dano.c: New file.
527 * iconvdata/nats-sefi.c: New file.
529 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
531 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
532 loader if PIC is not defined.
534 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
536 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
537 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
538 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
540 Define *-routines variables for new modules.
541 (distribute): Add .c files for new modules.
542 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
543 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
544 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
545 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
546 Add rules for header generation.
547 * iconvdata/gconv-modules: Add entries for new modules.
548 * iconvdata/csn_369103.c: New file.
549 * iconvdata/cwi.c: New file.
550 * iconvdata/dec-mcs.c: New file.
551 * iconvdata/ecma-cyrillic.c: New file.
552 * iconvdata/gost_19768-74.c: New file.
553 * iconvdata/greek-ccitt.c: New file.
554 * iconvdata/greek7-old.c: New file.
555 * iconvdata/greek7.c: New file.
556 * iconvdata/inis-8.c: New file.
557 * iconvdata/inis-cyrillic.c: New file.
558 * iconvdata/inis.c: New file.
559 * iconvdata/iso6937-2.c: New file.
560 * iconvdata/iso_2033.c: New file.
561 * iconvdata/iso_5427-ext.c: New file.
562 * iconvdata/iso_5427.c: New file.
563 * iconvdata/iso_5428.c: New file.
565 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
567 Convert U02dd correctly.
569 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
571 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
572 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
573 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
574 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
576 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
578 * resolv/res_init.c (res_init): Handle resolv.conf file with only
579 one nameserver correctly. Patch by HJ Lu.
581 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
583 Define *-routines variables for new modules.
584 (distribute): Add .c files for new modules.
585 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
586 Add rules for hedaer generation.
587 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
588 * iconvdata/ansi_x3.110.c: New file.
589 * iconvdata/asmo_449.c: New file.
590 * iconvdata/baltic.c: New file.
591 * iconvdata/iec_p27-1.c: New file.
593 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
595 Convert U02dc correctly.
597 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
598 * math/atest-exp2.c: Likewise.
599 * math/atest-sincos.c: Likewise.
601 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
604 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
606 * string/strcoll.c: Optimize a few expressions.
607 * string/strxfrm.c: Likewise.
609 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
611 * manual/locale.texi: Fix typos.
613 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
615 * stdlib/random_r.c (__setstate_r): Allow call with same state
616 array as currently used (PR libc/774).
618 * include/limits.h: Include gcc's header even if this file is
619 found more than once before it (PR libc/778)
621 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
622 (sysdep_headers): Remove sys/debugreg.h.
623 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
624 (sysdep_headers): Add sys/debugreg.h.
625 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
626 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
628 * stdio-common/tmpnam.c: Move local static variable buf to
629 toplevel and rename to tmpnam_buffer to ease debugging.
630 Patch by Joe Keane <jgk@jgk.org>.
631 Optimize s == NULL case a bit.
633 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
636 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
638 * resolv/res_init.c (res_init): Initialize _res.nscount and
639 _res.nsaddr.sin_port differently for the can when no loopback
640 is available to allow immediate timeout in non-networking environments.
641 Patch by Cristian Gafton <gafton@redhat.com>.
643 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
645 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
647 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
648 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
651 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
653 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
655 * timezone/tst-timezone.c (tests): Fix typo in last patch.
657 * time/tzfile.c (__tzfile_read): Handle case when there are no
658 transitions. Set __timezone based on computed offset.
659 * time/tzset.c (tzset_internal): Set __timezone before returning.
661 * time/tzset.c (tzset_internal): Optimize handling of local string
664 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
666 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
669 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
671 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
672 (csqrt_test): Likewise.
673 * sysdeps/powerpc/bits/fenv.h: Add parens.
675 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
677 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
678 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
679 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
681 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
683 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
684 the special `-1' pointer.
686 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
688 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
691 1998-09-07 Paul Eggert <eggert@twinsun.com>
693 * time/mktime.c (__EXTENSIONS__): Define if not defined.
694 (_REENTRANT): Remove. It has undesirable consequences in
695 Solaris 2.6 (e.g. it turns off the putc macro). Defining
696 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
698 * time/strftime.c: Likewise.
700 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
702 * elf/dl-error.c: Fix spelling.
704 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
706 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
707 * stdio-common/_itoa.c: Likewise.
708 * stdio-common/printf_fp.c: Likewise.
709 * stdio-common/vfscanf.c: Likewise.
710 * wcsmbs/wcstok.c: Likewise.
711 * sysdeps/generic/glob.c: Likewise.
712 * posix/getopt.c: Likewise.
713 * sysdeps/posix/getaddrinfo.c: Likewise.
714 * posix/wordexp.c: Likewise.
715 * io/ftw.c: Likewise.
716 * io/fts.c: Likewise.
717 * misc/getpass.c: Likewise.
718 * iconv/gconv_conf.c: Likewise.
719 * argp/argp-fmtstream.c: Likewise.
720 * argp/argp-help.c: Likewise.
721 * elf/dl-load.c: Likewise.
722 * locale/programs/stringtrans.c: Likewise.
723 * catgets/gencat.c: Likewise.
724 * posix/getconf.c: Likewise.
725 * iconv/gconv_conf.c: Likewise.
726 * iconv/iconv_prog.c: Likewise.
728 * string/strcoll.c: Optimize a few expressions.
729 * string/strxfrm.c: Likewise.
731 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
733 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
734 level to avoid uninit variable warning.
736 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
738 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
739 instead of _dl_default_scope[2] as argument to _dl_init_next.
741 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
744 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
746 Fix compatibility problems introduced in last change.
747 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
749 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
750 -DWEAK_GMON_START to CFLAGS-initfini.s.
752 * elf/dl-object.c (_dl_new_object): Store map address in
753 _dl_loaded if _dl_loaded is NULL.
754 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
756 * sysdeps/generic/setrlimit64.c: Remove stub warning.
758 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
760 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
762 * db2/btree/bt_cursor.c: Likewise.
763 * db2/common/db_region.db_c: Likewise.
764 * db2/common/db_salloc.db_c: Likewise.
765 * db2/db/db.c: Likewise.
766 * db2/db/db_rec.c: Likewise.
767 * db2/hash/hash.c: Likewise.
768 * db2/hash/hash_page.c: Likewise.
769 * db2/hash/hash_rec.c: Likewise.
770 * db2/log/log_findckp.c: Likewise.
771 * db2/log/log_get.c: Likewise.
772 * db2/log/log_put.c: Likewise.
773 * db2/mp/mp_fget.c: Likewise.
774 * db2/mp/mp_fput.c: Likewise.
775 * db2/mp/mp_region.c: Likewise.
776 * stdlib/strtol.c: Likewise.
777 * string/strcoll.c: Likewise.
778 * string/strxfrm.c: Likewise.
779 * argp/argp-help.c: Likewise.
780 * argp/argp-parse.c: Likewise.
781 * resolv/res_debug.c: Likewise.
783 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
785 * math/tgmath.h (scalb): Only define for __USE_MISC or
786 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
788 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
790 * libio/stdio.h: Fix comment.
792 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
795 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
797 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
799 * elf/dl-open.c: Quiet -Wparentheses warnings.
800 * iconvdata/johab.c: Likewise.
801 * iconvdata/uhc.c: Likewise.
802 * inet/inet_net.c: Likewise.
803 * io/fts.c: Likewise.
804 * locale/newlocale.c: Likewise.
805 * misc/getttyent.c: Likewise.
806 * misc/mntent_r.c: Likewise.
807 * misc/ttyslot.c: Likewise.
808 * nscd/nscd_conf.c: Likewise.
809 * nss/nsswitch.c: Likewise.
810 * resolv/gethnamaddr.c: Likewise.
811 * resolv/nsap_addr.c: Likewise.
812 * resolv/res_debug.c: Likewise.
813 * stdio-common/_itoa.c: Likewise.
814 * stdlib/strtod.c: Likewise.
815 * string/strverscmp.c: Likewise.
816 * sunrpc/svc.c: Likewise.
817 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
818 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
819 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
820 * sysdeps/posix/getaddrinfo.c: Likewise.
822 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
824 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
825 for use of global scope.
826 * elf/dlvsym.c (dlvsym_doit): Likewise.
828 1998-09-02 Paul Eggert <eggert@twinsun.com>
830 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
831 copy the redundant bytes at the end of the format as-is; don't
832 just copy their first byte and then rescan, as that might get
833 us an encoding error.
834 Account correctly for the length of multibyte sequences in the
837 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
839 * posix/wordexp-test.c: Add tests for different IFS values.
840 Change unquoted-newline test so that newline is not in IFS.
842 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
843 determining IFS characters. Return WRDE_BADCHAR for unquoted
844 special characters _except_ if they are separators.
846 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
848 * include/tgmath.h: New file.
850 * libio/stdio.h: Correct reversed #ifs.
851 Patch by Zack Weinberg.
853 * manual/creature.texi: Better explain reason for feature select
855 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
857 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
859 * include/alloca.h: Add multiple-inclusion guard.
860 * include/db.h: Likewise.
861 * include/db_185.h: Likewise.
862 * include/dlfcn.h: Likewise.
863 * include/fcntl.h: Likewise.
864 * include/grp.h: Likewise.
865 * include/libintl.h: Likewise.
866 * include/mntent.h: Likewise.
867 * include/pwd.h: Likewise.
868 * include/sched.h: Likewise.
869 * include/search.h: Likewise.
870 * include/setjmp.h: Likewise.
871 * include/shadow.h: Likewise.
872 * include/signal.h: Likewise.
873 * include/stdio.h: Likewise.
874 * include/stdlib.h: Likewise.
875 * include/string.h: Likewise.
876 * include/termios.h: Likewise.
877 * include/time.h: Likewise.
878 * include/ulimit.h: Likewise.
879 * include/utmp.h: Likewise.
880 * include/wchar.h: Likewise.
881 * include/sys/file.h: Likewise.
882 * include/sys/gmon.h: Likewise.
883 * include/sys/ioctl.h: Likewise.
884 * include/sys/mman.h: Likewise.
885 * include/sys/resource.h: Likewise.
886 * include/sys/select.h: Likewise.
887 * include/sys/socket.h: Likewise.
888 * include/sys/statfs.h: Likewise.
889 * include/sys/time.h: Likewise.
890 * include/sys/times.h: Likewise.
891 * include/sys/wait.h: Likewise.
893 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
895 * version.h (VERSION): Bump to 2.0.96.
897 Rewrite runtime linker to be truly thread-safe. There is now no
898 global variable specifying the scope. We create all needed
899 scopes at the time the link maps are created.
900 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
901 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
902 l_symbolic_searchlist, l_scope, and l_local_scope elements in
904 * elf/dl-close.c: Rewritten accordingly.
905 * elf/dl-deps.c: Likewise.
906 * elf/dl-error.c: Likewise.
907 * elf/dl-init.c: Likewise.
908 * elf/dl-load.c: Likewise.
909 * elf/dl-lookup.c: Likewise.
910 * elf/dl-object.c: Likewise.
911 * elf/dl-open.c: Likewise.
912 * elf/dl-reloc.c: Likewise.
913 * elf/dl-runtime.c: Likewise.
914 * elf/dl-support.c: Likewise.
915 * elf/dl-symbol.c: Likewise.
916 * elf/dl-version.c: Likewise.
917 * elf/dlsym.c: Likewise.
918 * elf/dlvsym.c: Likewise.
919 * elf/ldsodefs.h: Likewise.
920 * elf/rtld.c: Likewise.
921 * iconv/gconv_dl.c: Likewise.
922 * nss/nsswitch.c: Likewise.
923 * sysdeps/i386/dl-machine.h: Likewise.
924 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
926 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
929 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
931 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
932 __getopt_clean_environment with __environ instead of envp.
934 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
936 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
938 * string/argz-extract.c (__argz_extract): Add de-consting cast for
941 * string/argz.h (argz_next): Add de-consting cast for return.
942 * string/argz-next.c (__argz_next): Likewise.
944 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
945 Don't add netinet/udp.h, netinet/ip_icmp.h here.
946 * sysdeps/gnu/Makefile: Do it here instead.
947 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
948 * sysdeps/gnu/Dist: ... to here.
950 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
951 sysdeps/unix/sysv/linux/netinet/tcp.h,
952 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
954 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
956 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
957 * string/argz-next.c, string/argz-extract.c: Fix defns.
959 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
961 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
963 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
964 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
965 * sysdeps/generic/sysd-stdio.c: Likewise.
967 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
969 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
970 (_dl_map_object_from_fd): Make NAME argument const.
971 Remove last parameter in _dl_new_object call.
972 (print_search_path): Correct construction of composed path name.
973 (_dl_map_object): Prevent looking at RPATH of the main map twice.
974 Remove last parameter in _dl_new_object call.
975 * elf/dl-object.c: Remove last parameter. Determine whether create
976 origin entry based on empty realname. Handle file in root directory
978 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
979 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
980 Remove last parameter in _dl_new_object call.
981 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
982 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
984 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
986 * elf/dl-close.c (_dl_close): Add more comments and correct some.
987 Free l_searchlist and l_dupsearchlist.
989 * debug/catchsegv.sh: Add one more pair of quotes.
991 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
993 * elf/dl-load.c (add_name_to_object): Change return type to void and
994 make NAME parameter const. Allocate room for NAME in same memory
995 block used for l_libname entry.
996 (_dl_map_object_from_fd): Don't free NAME on failure.
997 (map_segment): Pass SONAME to add_name_to_object, not a copy.
998 (_dl_map_object): Don't create copy of NAME. Pass NAME to
999 _dl_map_object_from_fd.
1000 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1001 memory block used for l_libname entry.
1002 * elf/dl-close.c: Adjust free()ing for this change.
1004 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1006 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1008 * malloc/mtrace.c: Add bug report address. Update email address.
1009 Add more @XXX@ to print correct address size.
1011 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1014 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1015 for munmap call instead of examining phdr again.
1016 Free all malloc()ed strings and arrays.
1018 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1020 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1022 * sysdeps/powerpc/dl-machine.c: New file.
1023 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1024 files. Revise ELF_PREFERRED_ADDRESS to take account of
1025 the new mapping information (fixes bug involving huge bloated
1026 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1027 * sysdeps/powerpc/dl-start.S: New file.
1029 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1031 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1032 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1033 others. Call elf_dynamic_do_##reloc only once (to save even more
1035 * elf/link.h: Add new members l_map_start and l_map_end to keep
1036 track of the memory map.
1037 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1040 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1042 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1043 Reported by Andreas Jaeger.
1045 * posix/glob.h: Use __size_t instead of size_t in definitions and
1046 make sure this is defined.
1048 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1050 * manual/locale.texi: Almost complete rewrite. Document more functions
1052 * manual/arith.texi: Correct reference.
1053 * manual/string.texi: Pretty printing.
1055 * manual/texinfo.tex: Update from last available version.
1057 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1059 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1061 (_nss_nis_getpwuid_r): Likewise.
1062 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1064 * inet/rcmd.c: Implement netgroup support.
1065 Patch by Dick Streefland <dick_streefland@tasking.com>.
1067 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1069 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1070 object on the list is removed. Don't use this code for PIC.
1071 Reported by HJ Lu [PR libc/770].
1073 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1075 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1077 * include/stdio.h: Add __vsscanf.
1079 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1081 Remove __vsscanf declaration.
1082 Always declare fgetpos and fsetpos.
1084 * math/math.h: Define isinf as macro.
1085 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1086 Don't declare scalb for ISO C 9x.
1088 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1090 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1092 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1095 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1098 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1100 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1101 Reported by jreising@frequentis.com [PR libc/767].
1103 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1105 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1106 fl.l_start at beginning of function.
1107 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1109 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1111 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1112 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1114 * nscd/nscd.init: Make it work in RedHat systems.
1115 Patch by Christian Gafton.
1117 1998-08-29 Philip Blundell <philb@gnu.org>
1119 * catgets/Makefile: Don't try to run test programs when
1122 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1124 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1125 Reported by Zack Weinberg.
1127 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1129 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1130 * elf/Makefile (distribute): Remove ldd.sh.in.
1132 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1134 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1137 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
1139 * sysdeps/i386/register-dump.h: Move to ...
1140 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1142 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1144 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1145 with load address, not map address.
1146 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1147 parameter and use this value.
1148 * sysdeps/arm/dl-machine.h: Likewise.
1149 * sysdeps/i386/dl-machine.h: Likewise.
1150 * sysdeps/m68k/dl-machine.h: Likewise.
1151 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1153 * sysdeps/powerpc/dl-machine.h: Likewise
1154 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1155 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1157 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1159 * elf/rtld.c (process_envvars): Fix copy&paste error.
1161 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1163 (realloc_hook_ini): Don't overwrite memalign hook.
1164 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1165 Reported by Philippe Troin <phil@fifi.org>.
1167 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1168 Patch by Philippe Troin <phil@fifi.org>.
1170 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1172 * sysdeps/generic/segfault.c (install_handler): Protect the
1173 non-POSIX signals with #ifdef.
1174 (catch_segfault): Add missing mode parameter for open.
1175 * debug/catchsegv.sh: Avoid termination message from shell. Allow
1176 other termination signals.
1178 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1180 * debug/Makefile (distribute): Add register-dump.h.
1182 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1184 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1186 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
1188 * elf/Makefile (distribute): Add dl-origin.h.
1189 * sysdeps/generic/dl-origin.h: New file.
1190 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1191 * elf/link.h (struct link_map): Add l_origin field.
1192 * elf/dl-load.c (expand_dynamic_string_token): New function.
1193 (decompose_path): Remove WHERE argument, take link map pointer instead.
1194 Call expand_dynamic_string_token instead of local_strdup to make copy
1196 (_dl_init_paths): Call decompose_path with correct argument.
1197 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1199 Check EI_OSABI and EI_ABIVERSION fields in header.
1200 Call _dl_new_object with extra argument.
1201 (_dl_map_object): Call decompose_path with correct argument.
1202 Call expand_dynamic_string_token instead of local_strdup to also
1204 Call _dl_new_object with extra argument.
1205 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1206 but the main one if new argument is nonzero.
1207 * elf/ldsodefs.h: Adjust for _dl_new_object change.
1208 * elf/dl-support.c: Define _dl_origin_path.
1209 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
1210 (dl_main): Call _dl_new_object with extra argument.
1212 * elf/dl-close (_dl_close): Free l_name and l_origin.
1214 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1215 modifier in asm, not c.
1217 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1218 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1220 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
1222 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1223 variable so that map can be freed.
1224 Reported by Philippe Troin <phil@fifi.org>.
1226 * elf/dl-open.c (dl_open_worker): Correct test for extending global
1228 Patch by Philippe Troin <phil@fifi.org>.
1230 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1232 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
1233 Don't call writev() with a 100-element vector.
1234 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1237 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1238 In particular, set __libc_stack_end.
1239 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1240 undefined. Fix copyright notice.
1242 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1244 * math/Makefile (gmp-objs): New variable.
1245 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1247 (tests): Add atest-exp atest-sincos atest-exp2.
1248 (tests-static): Remove atest-exp atest-sincos atest-exp2.
1250 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
1252 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1254 (_dl_unload_cache): New function.
1255 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1256 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1257 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1259 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1260 Correct comment for O_LARGEFILE.
1261 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1262 Change O_LARGEFILE to correct value.
1264 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
1266 * libio/iogetline.c (_IO_getline_info): Don't read anything for
1267 N == 0. Patch by HJ Lu.
1269 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
1271 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1273 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1275 * argp/argp.h: Use __inline__ not inline.
1277 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1278 an input register as being clobbered.
1279 * sysdeps/i386/memset.c (memset): Likewise.
1280 * sysdeps/i386/bzero.c (__bzero): Likewise.
1281 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1283 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1285 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1286 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1288 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
1290 * debug/catchsegv.sh: Handle text preceding backtrace better.
1291 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
1292 to be installed for other signals than SIGSEGV.
1293 * sysdeps/generic/register-dump.h: New file.
1294 * sysdeps/i386/register-dump.h: New file.
1295 * sysdeps/powerpc/register-dump.h: New file.
1297 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1299 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1301 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1303 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1305 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1307 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1308 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1309 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1310 getresuid, getresgid.
1312 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1314 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1315 pointer in userland.
1317 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1319 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1322 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1324 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1325 over arguments Bourne shell compatible. Don't exit unsuccessfully
1326 if nonelf returns successfully. Avoid duplicating most of the
1328 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1331 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1333 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1335 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1336 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1338 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1340 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1341 __modify_ldt and modify_ldt.
1342 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1344 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1345 Use orl $-1 instead of movl $-1 to save two bytes.
1346 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1349 1998-08-17 H.J. Lu <hjl@gnu.org>
1351 * libio/Versions (_IO_do_write, _IO_file_attach,
1352 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1353 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1354 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1355 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1357 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1358 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1359 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1360 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1361 _IO_file_write, _IO_file_xsputn): Change the prefix to
1362 "_IO_new_". Added to GLIBC_2.1.
1364 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1365 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1366 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1367 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1368 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1371 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1372 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1373 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1374 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1375 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1377 1998-08-23 Richard Henderson <rth@cygnus.com>
1379 * Makeconfig (LDFLAGS): Remove.
1381 * csu/initfini.c: Return to .text before __gmon_start__.
1383 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1384 (STO_MIPS_*): Rename from STO_*.
1385 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1386 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1388 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1389 (main): e3s is negative on zero.
1390 * math/atest-exp2.c: Likewise.
1391 * math/atest-sincos.c: Likewise.
1393 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1395 * Makerules (install): Add comment about absolute paths.
1397 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1399 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1400 array to NUL to handle maxlen==1 case correctly.
1403 1998-08-23 Richard Henderson <rth@cygnus.com>
1405 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1406 * sysdeps/alpha/elf/crtend.S: Likewise.
1407 * sysdeps/alpha/elf/start.S: Likewise.
1409 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1410 non-standard pv usage.
1412 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1413 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1414 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1415 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1416 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1417 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1418 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1419 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1420 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1421 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1422 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1424 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1425 a finite non-denormal, deferring to the full IEEE version otherwise.
1427 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1428 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1429 * sysdeps/alpha/fpu/s_floor.c: New.
1430 * sysdeps/alpha/fpu/s_floorf.c: New.
1431 * sysdeps/alpha/fpu/s_ceil.c: New.
1432 * sysdeps/alpha/fpu/s_ceilf.c: New.
1434 1998-08-22 Philip Blundell <philb@gnu.org>
1436 * sysdeps/arm/bits/string.h: New file.
1438 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1440 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1443 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1444 test for recent Linux 2.1.100+ headers.
1446 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1448 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1450 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1452 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1454 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1456 * Makefile (elf/ldso_install): Put back. The problem still persists.
1457 * elf/Makefile (ldso_install): Likewise.
1459 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1461 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1463 * include/db.h: Declare __nss_db_open.
1464 * db2/Versions: Export it.
1466 * db2/makedb.c: Convert to use db2 API.
1467 * nss/nss_db/db-XXX.c: Likewise.
1468 * nss/nss_db/db-netgrp.c: Likewise.
1469 * nss/nss_db/db-alias.c: Likewise.
1470 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1472 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1474 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1475 sys_setresuid, already built automatically (or not).
1476 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1477 instead of __syscall_setresuid and add back setresuid.
1478 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1479 __syscall_setresuid.
1481 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1483 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1485 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1487 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1488 BASH-ONLY marked region.
1489 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1491 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1493 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1496 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1498 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1501 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1503 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1504 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1505 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1506 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1507 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1508 those magic comments, and to use /bin/sh for @BASH@.
1509 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1510 * elf/ldd.sh.in: File removed.
1512 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1514 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1515 cast them to unsigned long int.
1516 * pwd/putpwent.c (putpwent): Likewise.
1517 Patch by John Tobey <jtobey@banta-im.com>.
1519 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1521 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1524 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1526 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1529 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1531 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1532 Add umount and umount2.
1533 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1534 * sysdeps/unix/sysv/linux/umount.S: New file.
1535 * sysdeps/unix/sysv/linux/umount2.S: New file.
1536 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1539 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1541 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1542 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1544 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1546 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1549 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1551 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1552 * elf/ldd.bash.in: Likewise.
1554 * elf/sln.c: Avoid warning for no main prototype.
1556 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1558 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1561 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1563 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1564 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1567 1998-08-20 Philip Blundell <pb@nexus.co.uk>
1569 * sysdeps/arm/fpu/ieee754.h: Move to...
1570 * sysdeps/arm/ieee754.h: ... here.
1572 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1573 Don't set the condition flags unnecessarily.
1574 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1575 registers correctly.
1577 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1578 (patch from Scott Bambrough).
1580 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1582 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1583 NULL, just call it unconditionally.
1584 (__gmon_start__): Provide stub version as a weak symbol.
1586 1998-07-30 Philip Blundell <philb@gnu.org>
1588 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1591 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1592 like `@' in .type directives.
1594 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1595 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1597 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1599 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1601 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1602 (F_GETOWN): Likewise.
1604 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1607 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1609 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1612 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
1614 * include/features.h: Define __USE_EXTERN_INLINES for recent
1616 * argp/argp.h: Define extern inline functions only if
1617 __USE_EXTERN_INLINES is defined.
1618 * libio/stdio.h: Likewise.
1619 * math/math.h: Likewise.
1620 * stdlib/stdlib.h: Likewise.
1621 * string/argz.h: Likewise.
1622 * sysdeps/generic/bits/sigset.h: Likewise.
1623 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1624 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1625 * sysdeps/wordsize-32/inttypes.h: Likewise.
1626 * sysdeps/wordsize-64/inttypes.h: Likewise.
1627 * wcsmbs/wchar.h: Likewise.
1629 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1630 to allow compilation without optimization.
1632 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1634 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1636 * nis/nss_compat/compat-initgroups.c: Likewise.
1637 * nis/nss_compat/compat-pwd.c: Likewise.
1638 * nis/nss_compat/compat-spwd.c: Likewise.
1639 * nis/nss_nis/nis-alias.c: Likewise.
1640 * nis/nss_nis/nis-ethers.c: Likewise.
1641 * nis/nss_nis/nis-grp.c: Likewise.
1642 * nis/nss_nis/nis-hosts.c: Likewise.
1643 * nis/nss_nis/nis-initgroups.c: Likewise.
1644 * nis/nss_nis/nis-network.c: Likewise.
1645 * nis/nss_nis/nis-proto.c: Likewise.
1646 * nis/nss_nis/nis-pwd.c: Likewise.
1647 * nis/nss_nis/nis-rpc.c: Likewise.
1648 * nis/nss_nis/nis-service.c: Likewise.
1649 * nis/nss_nis/nis-spwd.c: Likewise.
1651 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1653 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1655 * nis/yp_xdr.c: Remove 1024 byte limit.
1656 * nis/ypupdate_xdr.c: Likewise.
1658 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1661 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1663 * Rules (binaries-static, binaries-shared static pattern rules):
1664 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1666 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1667 this here, overriding Makeconfig generic value so we link against
1670 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
1672 * posix/tstgetopt.c (options): Add NULL entry at end
1673 Patch by Adrian Miranda <ade@psg.com>.
1675 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1677 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1680 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1682 * elf/elf.h: Add PPC Diab relocations.
1684 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1686 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1688 * manual/texinfo.tex: Update.
1690 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1692 * sysdeps/powerpc/backtrace.c: New file.
1694 1998-08-14 Philip Blundell <pb@nexus.co.uk>
1696 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1698 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1700 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1702 * Makefile (install-symbolic-link): Fix spelling.
1704 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1706 * elf/elf.h (SHT_HIOS): Fix value.
1708 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1710 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1711 part of the expansion, this is undefined by the standard.
1713 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1715 * posix/getconf.c: Add support for systems with incomplete confname.h.
1717 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1719 * sysdeps/posix/wait3.c: Make it work.
1721 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1723 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1724 (elf/ldso_install): Remove.
1726 * elf/Makefile (distribute): Add sln.c.
1728 (others-static): Add sln.
1729 (install-rootsbin): Add sln.
1730 (others-static): Add sln.
1731 (ldso_install): Remove.
1733 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1735 * Makerules (install-clean-symbolic-link-list): Make phony.
1736 * Makefile (install-symbolic-link): Make phony. Depend on
1737 subdir_install for parallel makes.
1740 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
1742 * elf/Makefile (distribute): Add sln.c
1744 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1746 * elf/sln.c: New file.
1748 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1749 (install-clean-symbolic-link-list): New target.
1750 (install): Depend on install-clean-symbolic-link-list.
1751 (make-shlib-link): Changed for $(symbolic-link-list).
1753 * Makefile (install-symbolic-link): New target.
1754 (install): Depend on install-symbolic-link.
1756 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1758 * include/unistd.h: Protect against multiple inclusion.
1760 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1761 is defined, not is glob is defined.
1762 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1764 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1766 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1767 xdr_string for ut_line, ut_name and ut_host.
1769 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1771 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1772 /var/mail in accordance with FHS 2.0.
1773 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1775 1998-08-12 Richard Henderson <rth@cygnus.com>
1777 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1778 Update aliases for cancelation.
1780 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1781 playing with symbol versions.
1783 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1785 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1786 multiple inclusion protection.
1787 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1788 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1789 define all these to 1.
1790 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1792 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1794 * sysdeps/mach/usleep.c: Include <unistd.h>.
1795 (usleep): Return void.
1797 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1799 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1800 decl to inhibit warning in if_freenameindex defn.
1802 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1804 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1806 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1807 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1808 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1809 * sysdeps/mach/usleep.c: Likewise.
1811 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1813 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1814 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1815 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1816 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1817 * sysdeps/mach/usleep.c (usleep): Likewise.
1818 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1819 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1820 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1821 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1823 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1825 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1828 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1829 %p arg to fprintf, since `void *' is the right type already.
1831 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1833 * sysdeps/mach/hurd/getcwd.c
1834 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1835 for unknown root directories.
1836 (__getcwd): Return NULL when the current root directory could not
1839 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
1841 * string/strsignal.c (strsignal): Count real-time signals from zero.
1844 See ChangeLog.8 for earlier changes.