1 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
6 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
8 * string/bits/string2.h: Add mempcpy optimization.
9 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
10 * intl/localealias.c: Define mempcpy only if not already defined.
12 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
15 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
17 * csu/abi-note.S: Emit the note directly instead of defining
18 a preprocessor macro that's only used once. Don't include sysdep.h.
19 * abi-tags: Generalize Solaris entry.
21 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
23 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
24 Change to array to avoid runtime relocation.
25 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
27 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
29 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
30 * math/Makefile ($(objpfx)libieee.a): Likewise.
32 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
34 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
35 Patch by John Tobey <jtobey@banta-im.com>.
37 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
39 * login/Makefile (distribute): Remove pty-internal.h, add
42 * stdlib/tst-strtol.c: Add more checks.
43 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
45 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
47 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
48 * elf/elf.h: Add AT_FPUCW.
49 * elf/Makefile (dl-routines): Add fpu_control.
50 (elide-routines.os): Add fpu_control.
51 (rtld-routines): Add fpu_control.
52 * math/Makefile (aux): Remove fpu_control.
53 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
54 (_dl_show_auxv): Likewise.
55 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
56 if different from OS default.
58 * stdio-common/tstscanf.c: Add test case for (nil).
60 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
62 * libio/fileops.c (_IO_new_file_underflow): Before allocating
63 buffer make sure the pushback buffer is destroyed.
64 (_IO_new_file_seekoff): Likewise.
65 If mode==0 quit early with the result.
66 Clear OEF flag after successful fseek.
67 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
68 * libio/ftello.c (ftello): Add offset from original buffer if
69 stream has pushed back characters.
70 * libio/ftello64.c (ftello64): Likewise.
71 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
72 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
73 * libio/ioftell.c (_IO_ftell): Likewise.
74 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
76 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
77 (_IO_default_pbackfail): Only stored push back character in original
78 buffer if it is the same as the one in the file at this position.
79 * libio/iofclose.c: Free backup buffer if one is available.
80 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
83 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
85 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
87 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
89 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
91 * login/programs/pt_chown.c (more_help): Correct message that
92 describes the purpose of the program.
94 * login/openpty.c: Do not include pty-private.h.
95 (pts_name): New function. Return name of slave pseudo terminal in
96 an allocated buffer if necessary.
97 (openpty): Use pts_name to get name of the slave end of the pseudo
100 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
101 pts_name before return.
103 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
105 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
107 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
109 * login/openpty.c: Include pty-private.h instead of
112 1998-09-09 Philip Blundell <pb@nexus.co.uk>
114 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
116 1998-09-07 Philip Blundell <pb@nexus.co.uk>
118 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
119 recent ld.so changes.
120 (elf_machine_runtime_setup): Correct behaviour when profiling.
122 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
124 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
125 Patch by John Tobey <jtobey@banta-im.com>.
127 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
129 * login/pty-internal.h: Removed. Moved constants related to the
130 `grantpt' helper program protocol to ...
131 * login/pty-private.h: ... here. New file.
132 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
133 to make the function work with kernels >= 2.1.115.
134 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
135 version if using the cloning device fails.
136 * sysdeps/unix/sysv/linux/grantpt.c: New file.
137 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
138 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
139 use by Linux specific code.
140 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
141 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
142 function. (grantpt): Use pts_name, check group and permission
143 mode in addition to owner. Try to set the owner, group and
144 permission mode first without invoking the helper program.
145 * login/programs/pt_chown.c: Largely rewritten. Add argp and
146 internationalization support. Use symbolic constants instead of
147 hardwired numbers for permission mode.
148 * sysdeps/unix/bsd/ptsname.c: New file.
150 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
152 * posix/wordexp-test.c: Undo last change.
154 * posix/wordexp.c: Undo last change.
156 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
158 * nscd/grpcache.c (save_grp): Partly undo last change.
160 * nscd/pwdcache.c (save_pwd): Undo last change.
162 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
164 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
165 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
167 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
169 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
170 Add profiling support.
171 (TRAMPOLINE_TEMPLATE): New macro.
172 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
173 (RTLD_START): Prettify, and set __libc_stack_end properly.
174 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
175 and check for sym being NULL instead.
176 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
178 * sysdeps/sparc/sparc64/lshift.S: Likewise.
179 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
180 * sysdeps/sparc/sparc64/rshift.S: Likewise.
181 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
182 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
183 MEDANY code model %g4 usage.
184 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
185 MEDANY code model %g4 usage.
186 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
187 code model address formation.
188 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
189 include elf/ldsodefs.h
191 (elf_machine_matches_host): It is now EM_SPARCV9.
192 (elf_machine_dynamic): Clean up to remove ugly cast.
193 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
195 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
196 Prettify rest of function.
197 [R_SPARC_COPY]: Check for sym being NULL.
198 [R_SPARC_32]: Handle it.
199 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
201 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
203 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
204 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
205 Add profiling support.
206 (TRAMPOLINE_TEMPLATE): New macro.
207 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
208 (RTLD_START): Prettify and set __libc_stack_end.
209 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
211 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
212 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
213 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
214 unused variable scratch.
215 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
216 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
218 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
219 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
220 old format kernel sigaction structures.
221 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
222 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
223 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
224 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
226 (_JMPBUF_UNWINDS): Define.
227 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
228 statfs64 structure, which is exactly the same as the normal one.
229 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
230 of stack. Use correct syscall trap number. Add branch prediction
231 settings to branch instructions. Remove old MEDANY code model %g4
232 referneces for non-PIC.
233 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
234 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
235 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
236 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
237 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
238 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
239 __libc_longjmp and __libc_siglongjmp strong aliases.
240 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
241 Also define to __no__readdir64_decl around readdir.c inclusion.
242 (__readdir64): Add strong alias.
243 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
244 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
245 Set strong and weak names properly.
247 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
249 * manual/Makefile (AWK): Default to gawk if standalone.
251 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
253 * Makefile (distribute): Undo last change.
254 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
256 (+subdir-headers): Removed, unused.
258 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
260 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
263 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
265 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
266 absolute name in $(config-sysdirs), can never happen.
267 ($(+sysdir_pfx)sysd-rules): Likewise.
268 * Makeconfig (full-config-sysdirs): Likewise.
269 (all-Subdirs-files): Prepend $(..).
271 * configure.in: Don't check for absolute name in $add_ons_pfx, can
272 not happen. Let --enable-add-ons=yes work if no add-ons actually
275 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
277 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
278 continuations in command.
280 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
282 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
284 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
286 * posix/wordexp-test.c: If expansion or substitution occurs
287 anywhere in a word, the entire word is subject to field-splitting.
289 * posix/wordexp.c (parse_glob): Look for end of word instead of
290 end of field when deciding what to glob.
291 (field_split_word): New function, now the only place where
292 field-splitting is performed.
293 (parse_dollars): New parameter - tell the caller if
294 field-splitting should be performed on this word.
296 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
297 succeeded (or failed with WRDE_NOSPACE).
299 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
301 * posix/wordexp.c (wordexp): Don't convert IFS characters to
304 * posix/wordexp-test.c: Words not the result of expansion or
305 substitution should remain unchanged.
307 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
309 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
310 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
312 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
314 * stdio-common/Makefile: Include Makeconfig so that
315 $(inst_includedir) is defined.
317 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
319 * io/pwd.c: Include <mcheck.h>.
321 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
323 * nscd/pwdcache.c (save_pwd): Correct copying.
324 * nscd/grpcache.c (save_grp): Likewise.
326 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
328 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
329 (free_pwd): Adjust for this change.
330 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
331 (free_grp): Adjust for this change.
333 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
335 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
337 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
339 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
340 (install-others): Add bits/stdio_lim.h.
341 Add rule to install bits/stdio_lim.h.
343 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
345 * Makefile (distribute): Add include/sys/mman.h.
347 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
348 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
349 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
351 * grp/initgroups.c: Include stdlib.h.
352 Patch by Zack Weinberg.
354 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
356 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
357 for field-splitting :abc: is correct, and that two fields should
358 result. Revert tests to reflect this.
360 * posix/wordexp.c (w_emptyword): Remove function.
361 (exec_comm): Don't use w_emptyword.
362 (parse_param): Likewise.
364 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
366 * sysdeps/arm/fpu/Dist: Moved to...
367 * sysdeps/arm/Dist: ...here.
368 * sysdeps/posix/Dist: Removed.
369 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
370 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
372 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
374 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
376 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
378 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
380 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
382 * libc-work/nis/nss_nisplus/nisplus-service.c
383 (_nss_nisplus_parse_servent): Convert port in network byte order.
385 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
387 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
388 to provide only malloc and calloc.
389 * include/stdlib.h: Support the above.
390 * string/bits/string2.h: Use __need_malloc_and_calloc when
392 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
394 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
395 * iconvdata/iso646.c: Include <stdlib.h>.
397 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
399 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
400 * sysdeps/libm-ieee754/w_pow.c: Likewise.
401 * sysdeps/libm-ieee754/w_powf.c: Likewise.
402 * sysdeps/libm-ieee754/w_powl.c: Likewise.
404 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
406 * stdio-common/stdio_lim.h.in: New file. All parameters
407 are adjustable at build time.
408 * Rules: Add a rule to build bits/stdio_lim.h from
409 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
410 all subdirectories know how to make the file. It can't be
411 in Makerules because then it gets built at top level and the
412 dependencies are wrong.)
414 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
415 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
417 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
418 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
419 * sysdeps/posix/Makefile: Removed.
420 * sysdeps/posix/mk-stdiolim.c: Removed.
421 * sysdeps/generic/bits/stdio_lim.h: Removed.
423 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
425 * argp/argp-help.c: Fixup indentation.
426 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
427 * resolv/nss_dns/dns-network.c: Likewise.
428 * resolv/res_send.c: Likewise.
429 * rt/aio_cancel.c: Likewise.
430 * rt/aio_misc.c: Likewise.
432 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
434 * Makefile (install-symbolic-link): Remove the link list file at last.
435 * Makerules (install-clean-symbolic-link-list): Removed.
437 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
439 * timezone/tst-timezone.c: Print time in UTC to get consistent
442 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
444 * elf/rtld.c (_dl_rpath): Removed.
445 * elf/dl-support.c (_dl_path): Removed.
446 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
447 (CFLAGS-dl-support.c): Removed.
449 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
451 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
452 instead of appending it to the main map's rpath info.
453 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
454 DT_RPATHs. This makes it effective again.
455 (decompose_rpath): Remove second parameter, callers changed.
456 (fillin_rpath): Allocate enough space in curwd.
457 (expand_dynamic_string_token): Cope with get_origin returning -1.
459 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
461 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
464 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
467 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
469 * locale/programs/locale.c: Update dates.
471 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
473 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
474 size_t is defined. Some reordering of defenitions to make
475 maintaining this file in parallel with the linux-specific file easier.
477 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
479 * io/pwd.c (main): Add call to mtrace.
481 * malloc/mtrace.pl: Quote @ in string.
483 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
485 * posix/wordexp.c (parse_arith): Fix memory leaks.
486 (exec_comm): Likewise.
487 (parse_param): Likewise.
489 (exec_comm): Reduce number of function return points.
490 (parse_param): Likewise.
493 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
495 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
496 yield three fields, not two. Test both parameter expansion and
497 command substitution for correct field-splitting behaviour.
499 * posix/wordexp.c (w_emptyword): New function.
500 (parse_param): Use it.
501 (exec_comm): Likewise, for consistency with the way parse_param
503 (parse_param): Fix some memory leaks.
505 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
507 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
508 Don't mark asm `volatile'.
509 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
510 from the data cache too. Assume it isn't in the instruction cache yet.
511 (__elf_machine_fixup_plt): Clear the modified address from the caches.
513 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
515 * sysdeps/generic/segfault.c (install_handler): Install signal
516 handler with SA_ONSTACK instead of setting the stack flags to
517 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
520 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
522 * signal/signal.h: Fix multiple inclusion guard to cover the
524 * wcsmbs/wchar.h: Remove prototype of internal function
526 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
527 arithmetic on `void *'.
529 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
531 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
533 * posix/wordexp.c (wordexp): Perform word-splitting instead of
534 field-splitting here.
535 (wordexp): If out of memory mid-word, free the word (but still
536 leave pwordexp alone for caller to see).
537 (parse_param): Allow for zero-length fields (smarter checking of
538 memory allocation failure).
539 (w_addword): Convert NULL words to "".
540 (wordexp): Convert left-over IFS characters to blanks (like bash).
542 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
544 * configure.in: Use test -f instead of test -e.
545 Patch by John Tobey <jtobey@banta-im.com>.
547 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
548 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
549 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
550 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
551 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
552 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
553 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
554 Patches by John Tobey <jtobey@banta-im.com>.
556 * time/strftime.c (my_strftime): Delay use of *tp values until
557 latest possible point to allow partly initialized structures
558 (e.g., from strptime).
560 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
562 Define *-routines variables for new modules.
563 (distribute): Add .c files for new modules.
564 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
566 Add rules for header generation.
567 * iconvdata/gconv-modules: Add entries for new modules.
568 * iconvdata/iso_10367-box.c: New file.
569 * iconvdata/mac-is.c: New file.
570 * iconvdata/nats-dano.c: New file.
571 * iconvdata/nats-sefi.c: New file.
573 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
575 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
576 loader if PIC is not defined.
578 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
580 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
581 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
582 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
584 Define *-routines variables for new modules.
585 (distribute): Add .c files for new modules.
586 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
587 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
588 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
589 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
590 Add rules for header generation.
591 * iconvdata/gconv-modules: Add entries for new modules.
592 * iconvdata/csn_369103.c: New file.
593 * iconvdata/cwi.c: New file.
594 * iconvdata/dec-mcs.c: New file.
595 * iconvdata/ecma-cyrillic.c: New file.
596 * iconvdata/gost_19768-74.c: New file.
597 * iconvdata/greek-ccitt.c: New file.
598 * iconvdata/greek7-old.c: New file.
599 * iconvdata/greek7.c: New file.
600 * iconvdata/inis-8.c: New file.
601 * iconvdata/inis-cyrillic.c: New file.
602 * iconvdata/inis.c: New file.
603 * iconvdata/iso6937-2.c: New file.
604 * iconvdata/iso_2033.c: New file.
605 * iconvdata/iso_5427-ext.c: New file.
606 * iconvdata/iso_5427.c: New file.
607 * iconvdata/iso_5428.c: New file.
609 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
611 Convert U02dd correctly.
613 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
615 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
616 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
617 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
618 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
620 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
622 * resolv/res_init.c (res_init): Handle resolv.conf file with only
623 one nameserver correctly. Patch by HJ Lu.
625 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
627 Define *-routines variables for new modules.
628 (distribute): Add .c files for new modules.
629 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
630 Add rules for hedaer generation.
631 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
632 * iconvdata/ansi_x3.110.c: New file.
633 * iconvdata/asmo_449.c: New file.
634 * iconvdata/baltic.c: New file.
635 * iconvdata/iec_p27-1.c: New file.
637 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
639 Convert U02dc correctly.
641 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
642 * math/atest-exp2.c: Likewise.
643 * math/atest-sincos.c: Likewise.
645 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
648 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
650 * string/strcoll.c: Optimize a few expressions.
651 * string/strxfrm.c: Likewise.
653 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
655 * manual/locale.texi: Fix typos.
657 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
659 * stdlib/random_r.c (__setstate_r): Allow call with same state
660 array as currently used (PR libc/774).
662 * include/limits.h: Include gcc's header even if this file is
663 found more than once before it (PR libc/778)
665 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
666 (sysdep_headers): Remove sys/debugreg.h.
667 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
668 (sysdep_headers): Add sys/debugreg.h.
669 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
670 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
672 * stdio-common/tmpnam.c: Move local static variable buf to
673 toplevel and rename to tmpnam_buffer to ease debugging.
674 Patch by Joe Keane <jgk@jgk.org>.
675 Optimize s == NULL case a bit.
677 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
680 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
682 * resolv/res_init.c (res_init): Initialize _res.nscount and
683 _res.nsaddr.sin_port differently for the can when no loopback
684 is available to allow immediate timeout in non-networking environments.
685 Patch by Cristian Gafton <gafton@redhat.com>.
687 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
689 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
691 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
692 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
695 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
697 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
699 * timezone/tst-timezone.c (tests): Fix typo in last patch.
701 * time/tzfile.c (__tzfile_read): Handle case when there are no
702 transitions. Set __timezone based on computed offset.
703 * time/tzset.c (tzset_internal): Set __timezone before returning.
705 * time/tzset.c (tzset_internal): Optimize handling of local string
708 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
710 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
713 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
715 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
716 (csqrt_test): Likewise.
717 * sysdeps/powerpc/bits/fenv.h: Add parens.
719 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
721 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
722 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
723 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
725 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
727 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
728 the special `-1' pointer.
730 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
732 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
735 1998-09-07 Paul Eggert <eggert@twinsun.com>
737 * time/mktime.c (__EXTENSIONS__): Define if not defined.
738 (_REENTRANT): Remove. It has undesirable consequences in
739 Solaris 2.6 (e.g. it turns off the putc macro). Defining
740 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
742 * time/strftime.c: Likewise.
744 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
746 * elf/dl-error.c: Fix spelling.
748 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
750 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
751 * stdio-common/_itoa.c: Likewise.
752 * stdio-common/printf_fp.c: Likewise.
753 * stdio-common/vfscanf.c: Likewise.
754 * wcsmbs/wcstok.c: Likewise.
755 * sysdeps/generic/glob.c: Likewise.
756 * posix/getopt.c: Likewise.
757 * sysdeps/posix/getaddrinfo.c: Likewise.
758 * posix/wordexp.c: Likewise.
759 * io/ftw.c: Likewise.
760 * io/fts.c: Likewise.
761 * misc/getpass.c: Likewise.
762 * iconv/gconv_conf.c: Likewise.
763 * argp/argp-fmtstream.c: Likewise.
764 * argp/argp-help.c: Likewise.
765 * elf/dl-load.c: Likewise.
766 * locale/programs/stringtrans.c: Likewise.
767 * catgets/gencat.c: Likewise.
768 * posix/getconf.c: Likewise.
769 * iconv/gconv_conf.c: Likewise.
770 * iconv/iconv_prog.c: Likewise.
772 * string/strcoll.c: Optimize a few expressions.
773 * string/strxfrm.c: Likewise.
775 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
777 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
778 level to avoid uninit variable warning.
780 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
782 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
783 instead of _dl_default_scope[2] as argument to _dl_init_next.
785 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
788 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
790 Fix compatibility problems introduced in last change.
791 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
793 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
794 -DWEAK_GMON_START to CFLAGS-initfini.s.
796 * elf/dl-object.c (_dl_new_object): Store map address in
797 _dl_loaded if _dl_loaded is NULL.
798 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
800 * sysdeps/generic/setrlimit64.c: Remove stub warning.
802 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
804 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
806 * db2/btree/bt_cursor.c: Likewise.
807 * db2/common/db_region.db_c: Likewise.
808 * db2/common/db_salloc.db_c: Likewise.
809 * db2/db/db.c: Likewise.
810 * db2/db/db_rec.c: Likewise.
811 * db2/hash/hash.c: Likewise.
812 * db2/hash/hash_page.c: Likewise.
813 * db2/hash/hash_rec.c: Likewise.
814 * db2/log/log_findckp.c: Likewise.
815 * db2/log/log_get.c: Likewise.
816 * db2/log/log_put.c: Likewise.
817 * db2/mp/mp_fget.c: Likewise.
818 * db2/mp/mp_fput.c: Likewise.
819 * db2/mp/mp_region.c: Likewise.
820 * stdlib/strtol.c: Likewise.
821 * string/strcoll.c: Likewise.
822 * string/strxfrm.c: Likewise.
823 * argp/argp-help.c: Likewise.
824 * argp/argp-parse.c: Likewise.
825 * resolv/res_debug.c: Likewise.
827 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
829 * math/tgmath.h (scalb): Only define for __USE_MISC or
830 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
832 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
834 * libio/stdio.h: Fix comment.
836 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
839 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
841 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
843 * elf/dl-open.c: Quiet -Wparentheses warnings.
844 * iconvdata/johab.c: Likewise.
845 * iconvdata/uhc.c: Likewise.
846 * inet/inet_net.c: Likewise.
847 * io/fts.c: Likewise.
848 * locale/newlocale.c: Likewise.
849 * misc/getttyent.c: Likewise.
850 * misc/mntent_r.c: Likewise.
851 * misc/ttyslot.c: Likewise.
852 * nscd/nscd_conf.c: Likewise.
853 * nss/nsswitch.c: Likewise.
854 * resolv/gethnamaddr.c: Likewise.
855 * resolv/nsap_addr.c: Likewise.
856 * resolv/res_debug.c: Likewise.
857 * stdio-common/_itoa.c: Likewise.
858 * stdlib/strtod.c: Likewise.
859 * string/strverscmp.c: Likewise.
860 * sunrpc/svc.c: Likewise.
861 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
862 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
863 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
864 * sysdeps/posix/getaddrinfo.c: Likewise.
866 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
868 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
869 for use of global scope.
870 * elf/dlvsym.c (dlvsym_doit): Likewise.
872 1998-09-02 Paul Eggert <eggert@twinsun.com>
874 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
875 copy the redundant bytes at the end of the format as-is; don't
876 just copy their first byte and then rescan, as that might get
877 us an encoding error.
878 Account correctly for the length of multibyte sequences in the
881 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
883 * posix/wordexp-test.c: Add tests for different IFS values.
884 Change unquoted-newline test so that newline is not in IFS.
886 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
887 determining IFS characters. Return WRDE_BADCHAR for unquoted
888 special characters _except_ if they are separators.
890 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
892 * include/tgmath.h: New file.
894 * libio/stdio.h: Correct reversed #ifs.
895 Patch by Zack Weinberg.
897 * manual/creature.texi: Better explain reason for feature select
899 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
901 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
903 * include/alloca.h: Add multiple-inclusion guard.
904 * include/db.h: Likewise.
905 * include/db_185.h: Likewise.
906 * include/dlfcn.h: Likewise.
907 * include/fcntl.h: Likewise.
908 * include/grp.h: Likewise.
909 * include/libintl.h: Likewise.
910 * include/mntent.h: Likewise.
911 * include/pwd.h: Likewise.
912 * include/sched.h: Likewise.
913 * include/search.h: Likewise.
914 * include/setjmp.h: Likewise.
915 * include/shadow.h: Likewise.
916 * include/signal.h: Likewise.
917 * include/stdio.h: Likewise.
918 * include/stdlib.h: Likewise.
919 * include/string.h: Likewise.
920 * include/termios.h: Likewise.
921 * include/time.h: Likewise.
922 * include/ulimit.h: Likewise.
923 * include/utmp.h: Likewise.
924 * include/wchar.h: Likewise.
925 * include/sys/file.h: Likewise.
926 * include/sys/gmon.h: Likewise.
927 * include/sys/ioctl.h: Likewise.
928 * include/sys/mman.h: Likewise.
929 * include/sys/resource.h: Likewise.
930 * include/sys/select.h: Likewise.
931 * include/sys/socket.h: Likewise.
932 * include/sys/statfs.h: Likewise.
933 * include/sys/time.h: Likewise.
934 * include/sys/times.h: Likewise.
935 * include/sys/wait.h: Likewise.
937 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
939 * version.h (VERSION): Bump to 2.0.96.
941 Rewrite runtime linker to be truly thread-safe. There is now no
942 global variable specifying the scope. We create all needed
943 scopes at the time the link maps are created.
944 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
945 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
946 l_symbolic_searchlist, l_scope, and l_local_scope elements in
948 * elf/dl-close.c: Rewritten accordingly.
949 * elf/dl-deps.c: Likewise.
950 * elf/dl-error.c: Likewise.
951 * elf/dl-init.c: Likewise.
952 * elf/dl-load.c: Likewise.
953 * elf/dl-lookup.c: Likewise.
954 * elf/dl-object.c: Likewise.
955 * elf/dl-open.c: Likewise.
956 * elf/dl-reloc.c: Likewise.
957 * elf/dl-runtime.c: Likewise.
958 * elf/dl-support.c: Likewise.
959 * elf/dl-symbol.c: Likewise.
960 * elf/dl-version.c: Likewise.
961 * elf/dlsym.c: Likewise.
962 * elf/dlvsym.c: Likewise.
963 * elf/ldsodefs.h: Likewise.
964 * elf/rtld.c: Likewise.
965 * iconv/gconv_dl.c: Likewise.
966 * nss/nsswitch.c: Likewise.
967 * sysdeps/i386/dl-machine.h: Likewise.
968 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
970 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
973 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
975 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
976 __getopt_clean_environment with __environ instead of envp.
978 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
980 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
982 * string/argz-extract.c (__argz_extract): Add de-consting cast for
985 * string/argz.h (argz_next): Add de-consting cast for return.
986 * string/argz-next.c (__argz_next): Likewise.
988 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
989 Don't add netinet/udp.h, netinet/ip_icmp.h here.
990 * sysdeps/gnu/Makefile: Do it here instead.
991 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
992 * sysdeps/gnu/Dist: ... to here.
994 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
995 sysdeps/unix/sysv/linux/netinet/tcp.h,
996 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
998 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1000 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1001 * string/argz-next.c, string/argz-extract.c: Fix defns.
1003 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1005 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1007 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1008 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1009 * sysdeps/generic/sysd-stdio.c: Likewise.
1011 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
1013 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1014 (_dl_map_object_from_fd): Make NAME argument const.
1015 Remove last parameter in _dl_new_object call.
1016 (print_search_path): Correct construction of composed path name.
1017 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1018 Remove last parameter in _dl_new_object call.
1019 * elf/dl-object.c: Remove last parameter. Determine whether create
1020 origin entry based on empty realname. Handle file in root directory
1022 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1023 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1024 Remove last parameter in _dl_new_object call.
1025 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1026 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1028 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
1030 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1031 Free l_searchlist and l_dupsearchlist.
1033 * debug/catchsegv.sh: Add one more pair of quotes.
1035 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1037 * elf/dl-load.c (add_name_to_object): Change return type to void and
1038 make NAME parameter const. Allocate room for NAME in same memory
1039 block used for l_libname entry.
1040 (_dl_map_object_from_fd): Don't free NAME on failure.
1041 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1042 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1043 _dl_map_object_from_fd.
1044 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1045 memory block used for l_libname entry.
1046 * elf/dl-close.c: Adjust free()ing for this change.
1048 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1050 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1052 * malloc/mtrace.c: Add bug report address. Update email address.
1053 Add more @XXX@ to print correct address size.
1055 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1058 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1059 for munmap call instead of examining phdr again.
1060 Free all malloc()ed strings and arrays.
1062 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1064 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1066 * sysdeps/powerpc/dl-machine.c: New file.
1067 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1068 files. Revise ELF_PREFERRED_ADDRESS to take account of
1069 the new mapping information (fixes bug involving huge bloated
1070 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1071 * sysdeps/powerpc/dl-start.S: New file.
1073 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1075 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1076 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1077 others. Call elf_dynamic_do_##reloc only once (to save even more
1079 * elf/link.h: Add new members l_map_start and l_map_end to keep
1080 track of the memory map.
1081 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1084 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1086 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1087 Reported by Andreas Jaeger.
1089 * posix/glob.h: Use __size_t instead of size_t in definitions and
1090 make sure this is defined.
1092 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1094 * manual/locale.texi: Almost complete rewrite. Document more functions
1096 * manual/arith.texi: Correct reference.
1097 * manual/string.texi: Pretty printing.
1099 * manual/texinfo.tex: Update from last available version.
1101 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1103 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1105 (_nss_nis_getpwuid_r): Likewise.
1106 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1108 * inet/rcmd.c: Implement netgroup support.
1109 Patch by Dick Streefland <dick_streefland@tasking.com>.
1111 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1113 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1114 object on the list is removed. Don't use this code for PIC.
1115 Reported by HJ Lu [PR libc/770].
1117 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1119 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1121 * include/stdio.h: Add __vsscanf.
1123 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1125 Remove __vsscanf declaration.
1126 Always declare fgetpos and fsetpos.
1128 * math/math.h: Define isinf as macro.
1129 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1130 Don't declare scalb for ISO C 9x.
1132 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1134 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1136 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1139 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1142 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1144 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1145 Reported by jreising@frequentis.com [PR libc/767].
1147 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1149 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1150 fl.l_start at beginning of function.
1151 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1153 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1155 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1156 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1158 * nscd/nscd.init: Make it work in RedHat systems.
1159 Patch by Christian Gafton.
1161 1998-08-29 Philip Blundell <philb@gnu.org>
1163 * catgets/Makefile: Don't try to run test programs when
1166 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1168 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1169 Reported by Zack Weinberg.
1171 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1173 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1174 * elf/Makefile (distribute): Remove ldd.sh.in.
1176 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1178 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1181 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
1183 * sysdeps/i386/register-dump.h: Move to ...
1184 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1186 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1188 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1189 with load address, not map address.
1190 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1191 parameter and use this value.
1192 * sysdeps/arm/dl-machine.h: Likewise.
1193 * sysdeps/i386/dl-machine.h: Likewise.
1194 * sysdeps/m68k/dl-machine.h: Likewise.
1195 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1197 * sysdeps/powerpc/dl-machine.h: Likewise
1198 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1199 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1201 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1203 * elf/rtld.c (process_envvars): Fix copy&paste error.
1205 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1207 (realloc_hook_ini): Don't overwrite memalign hook.
1208 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1209 Reported by Philippe Troin <phil@fifi.org>.
1211 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1212 Patch by Philippe Troin <phil@fifi.org>.
1214 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1216 * sysdeps/generic/segfault.c (install_handler): Protect the
1217 non-POSIX signals with #ifdef.
1218 (catch_segfault): Add missing mode parameter for open.
1219 * debug/catchsegv.sh: Avoid termination message from shell. Allow
1220 other termination signals.
1222 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1224 * debug/Makefile (distribute): Add register-dump.h.
1226 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1228 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1230 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
1232 * elf/Makefile (distribute): Add dl-origin.h.
1233 * sysdeps/generic/dl-origin.h: New file.
1234 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1235 * elf/link.h (struct link_map): Add l_origin field.
1236 * elf/dl-load.c (expand_dynamic_string_token): New function.
1237 (decompose_path): Remove WHERE argument, take link map pointer instead.
1238 Call expand_dynamic_string_token instead of local_strdup to make copy
1240 (_dl_init_paths): Call decompose_path with correct argument.
1241 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1243 Check EI_OSABI and EI_ABIVERSION fields in header.
1244 Call _dl_new_object with extra argument.
1245 (_dl_map_object): Call decompose_path with correct argument.
1246 Call expand_dynamic_string_token instead of local_strdup to also
1248 Call _dl_new_object with extra argument.
1249 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1250 but the main one if new argument is nonzero.
1251 * elf/ldsodefs.h: Adjust for _dl_new_object change.
1252 * elf/dl-support.c: Define _dl_origin_path.
1253 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
1254 (dl_main): Call _dl_new_object with extra argument.
1256 * elf/dl-close (_dl_close): Free l_name and l_origin.
1258 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1259 modifier in asm, not c.
1261 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1262 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1264 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
1266 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1267 variable so that map can be freed.
1268 Reported by Philippe Troin <phil@fifi.org>.
1270 * elf/dl-open.c (dl_open_worker): Correct test for extending global
1272 Patch by Philippe Troin <phil@fifi.org>.
1274 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1276 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
1277 Don't call writev() with a 100-element vector.
1278 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1281 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1282 In particular, set __libc_stack_end.
1283 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1284 undefined. Fix copyright notice.
1286 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1288 * math/Makefile (gmp-objs): New variable.
1289 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1291 (tests): Add atest-exp atest-sincos atest-exp2.
1292 (tests-static): Remove atest-exp atest-sincos atest-exp2.
1294 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
1296 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1298 (_dl_unload_cache): New function.
1299 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1300 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1301 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1303 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1304 Correct comment for O_LARGEFILE.
1305 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1306 Change O_LARGEFILE to correct value.
1308 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
1310 * libio/iogetline.c (_IO_getline_info): Don't read anything for
1311 N == 0. Patch by HJ Lu.
1313 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
1315 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1317 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1319 * argp/argp.h: Use __inline__ not inline.
1321 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1322 an input register as being clobbered.
1323 * sysdeps/i386/memset.c (memset): Likewise.
1324 * sysdeps/i386/bzero.c (__bzero): Likewise.
1325 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1327 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1329 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1330 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1332 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
1334 * debug/catchsegv.sh: Handle text preceding backtrace better.
1335 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
1336 to be installed for other signals than SIGSEGV.
1337 * sysdeps/generic/register-dump.h: New file.
1338 * sysdeps/i386/register-dump.h: New file.
1339 * sysdeps/powerpc/register-dump.h: New file.
1341 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1343 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1345 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1347 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1349 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1351 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1352 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1353 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1354 getresuid, getresgid.
1356 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1358 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1359 pointer in userland.
1361 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1363 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1366 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1368 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1369 over arguments Bourne shell compatible. Don't exit unsuccessfully
1370 if nonelf returns successfully. Avoid duplicating most of the
1372 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1375 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1377 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1379 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1380 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1382 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1384 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1385 __modify_ldt and modify_ldt.
1386 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1388 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1389 Use orl $-1 instead of movl $-1 to save two bytes.
1390 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1393 1998-08-17 H.J. Lu <hjl@gnu.org>
1395 * libio/Versions (_IO_do_write, _IO_file_attach,
1396 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1397 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1398 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1399 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1401 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1402 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1403 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1404 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1405 _IO_file_write, _IO_file_xsputn): Change the prefix to
1406 "_IO_new_". Added to GLIBC_2.1.
1408 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1409 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1410 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1411 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1412 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1415 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1416 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1417 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1418 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1419 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1421 1998-08-23 Richard Henderson <rth@cygnus.com>
1423 * Makeconfig (LDFLAGS): Remove.
1425 * csu/initfini.c: Return to .text before __gmon_start__.
1427 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1428 (STO_MIPS_*): Rename from STO_*.
1429 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1430 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1432 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1433 (main): e3s is negative on zero.
1434 * math/atest-exp2.c: Likewise.
1435 * math/atest-sincos.c: Likewise.
1437 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1439 * Makerules (install): Add comment about absolute paths.
1441 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1443 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1444 array to NUL to handle maxlen==1 case correctly.
1447 1998-08-23 Richard Henderson <rth@cygnus.com>
1449 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1450 * sysdeps/alpha/elf/crtend.S: Likewise.
1451 * sysdeps/alpha/elf/start.S: Likewise.
1453 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1454 non-standard pv usage.
1456 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1457 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1458 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1459 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1460 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1461 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1462 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1463 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1464 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1465 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1466 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1468 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1469 a finite non-denormal, deferring to the full IEEE version otherwise.
1471 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1472 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1473 * sysdeps/alpha/fpu/s_floor.c: New.
1474 * sysdeps/alpha/fpu/s_floorf.c: New.
1475 * sysdeps/alpha/fpu/s_ceil.c: New.
1476 * sysdeps/alpha/fpu/s_ceilf.c: New.
1478 1998-08-22 Philip Blundell <philb@gnu.org>
1480 * sysdeps/arm/bits/string.h: New file.
1482 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1484 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1487 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1488 test for recent Linux 2.1.100+ headers.
1490 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1492 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1494 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1496 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1498 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1500 * Makefile (elf/ldso_install): Put back. The problem still persists.
1501 * elf/Makefile (ldso_install): Likewise.
1503 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1505 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1507 * include/db.h: Declare __nss_db_open.
1508 * db2/Versions: Export it.
1510 * db2/makedb.c: Convert to use db2 API.
1511 * nss/nss_db/db-XXX.c: Likewise.
1512 * nss/nss_db/db-netgrp.c: Likewise.
1513 * nss/nss_db/db-alias.c: Likewise.
1514 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1516 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1518 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1519 sys_setresuid, already built automatically (or not).
1520 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1521 instead of __syscall_setresuid and add back setresuid.
1522 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1523 __syscall_setresuid.
1525 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1527 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1529 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1531 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1532 BASH-ONLY marked region.
1533 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1535 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1537 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1540 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1542 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1545 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1547 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1548 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1549 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1550 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1551 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1552 those magic comments, and to use /bin/sh for @BASH@.
1553 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1554 * elf/ldd.sh.in: File removed.
1556 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1558 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1559 cast them to unsigned long int.
1560 * pwd/putpwent.c (putpwent): Likewise.
1561 Patch by John Tobey <jtobey@banta-im.com>.
1563 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1565 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1568 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1570 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1573 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1575 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1576 Add umount and umount2.
1577 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1578 * sysdeps/unix/sysv/linux/umount.S: New file.
1579 * sysdeps/unix/sysv/linux/umount2.S: New file.
1580 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1583 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1585 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1586 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1588 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1590 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1593 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1595 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1596 * elf/ldd.bash.in: Likewise.
1598 * elf/sln.c: Avoid warning for no main prototype.
1600 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1602 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1605 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1607 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1608 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1611 1998-08-20 Philip Blundell <pb@nexus.co.uk>
1613 * sysdeps/arm/fpu/ieee754.h: Move to...
1614 * sysdeps/arm/ieee754.h: ... here.
1616 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1617 Don't set the condition flags unnecessarily.
1618 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1619 registers correctly.
1621 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1622 (patch from Scott Bambrough).
1624 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1626 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1627 NULL, just call it unconditionally.
1628 (__gmon_start__): Provide stub version as a weak symbol.
1630 1998-07-30 Philip Blundell <philb@gnu.org>
1632 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1635 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1636 like `@' in .type directives.
1638 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1639 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1641 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1643 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1645 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1646 (F_GETOWN): Likewise.
1648 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1651 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1653 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1656 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
1658 * include/features.h: Define __USE_EXTERN_INLINES for recent
1660 * argp/argp.h: Define extern inline functions only if
1661 __USE_EXTERN_INLINES is defined.
1662 * libio/stdio.h: Likewise.
1663 * math/math.h: Likewise.
1664 * stdlib/stdlib.h: Likewise.
1665 * string/argz.h: Likewise.
1666 * sysdeps/generic/bits/sigset.h: Likewise.
1667 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1668 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1669 * sysdeps/wordsize-32/inttypes.h: Likewise.
1670 * sysdeps/wordsize-64/inttypes.h: Likewise.
1671 * wcsmbs/wchar.h: Likewise.
1673 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1674 to allow compilation without optimization.
1676 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1678 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1680 * nis/nss_compat/compat-initgroups.c: Likewise.
1681 * nis/nss_compat/compat-pwd.c: Likewise.
1682 * nis/nss_compat/compat-spwd.c: Likewise.
1683 * nis/nss_nis/nis-alias.c: Likewise.
1684 * nis/nss_nis/nis-ethers.c: Likewise.
1685 * nis/nss_nis/nis-grp.c: Likewise.
1686 * nis/nss_nis/nis-hosts.c: Likewise.
1687 * nis/nss_nis/nis-initgroups.c: Likewise.
1688 * nis/nss_nis/nis-network.c: Likewise.
1689 * nis/nss_nis/nis-proto.c: Likewise.
1690 * nis/nss_nis/nis-pwd.c: Likewise.
1691 * nis/nss_nis/nis-rpc.c: Likewise.
1692 * nis/nss_nis/nis-service.c: Likewise.
1693 * nis/nss_nis/nis-spwd.c: Likewise.
1695 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1697 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1699 * nis/yp_xdr.c: Remove 1024 byte limit.
1700 * nis/ypupdate_xdr.c: Likewise.
1702 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1705 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1707 * Rules (binaries-static, binaries-shared static pattern rules):
1708 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1710 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1711 this here, overriding Makeconfig generic value so we link against
1714 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
1716 * posix/tstgetopt.c (options): Add NULL entry at end
1717 Patch by Adrian Miranda <ade@psg.com>.
1719 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1721 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1724 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1726 * elf/elf.h: Add PPC Diab relocations.
1728 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1730 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1732 * manual/texinfo.tex: Update.
1734 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1736 * sysdeps/powerpc/backtrace.c: New file.
1738 1998-08-14 Philip Blundell <pb@nexus.co.uk>
1740 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1742 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1744 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1746 * Makefile (install-symbolic-link): Fix spelling.
1748 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1750 * elf/elf.h (SHT_HIOS): Fix value.
1752 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1754 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1755 part of the expansion, this is undefined by the standard.
1757 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1759 * posix/getconf.c: Add support for systems with incomplete confname.h.
1761 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1763 * sysdeps/posix/wait3.c: Make it work.
1765 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1767 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1768 (elf/ldso_install): Remove.
1770 * elf/Makefile (distribute): Add sln.c.
1772 (others-static): Add sln.
1773 (install-rootsbin): Add sln.
1774 (others-static): Add sln.
1775 (ldso_install): Remove.
1777 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1779 * Makerules (install-clean-symbolic-link-list): Make phony.
1780 * Makefile (install-symbolic-link): Make phony. Depend on
1781 subdir_install for parallel makes.
1784 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
1786 * elf/Makefile (distribute): Add sln.c
1788 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1790 * elf/sln.c: New file.
1792 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1793 (install-clean-symbolic-link-list): New target.
1794 (install): Depend on install-clean-symbolic-link-list.
1795 (make-shlib-link): Changed for $(symbolic-link-list).
1797 * Makefile (install-symbolic-link): New target.
1798 (install): Depend on install-symbolic-link.
1800 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1802 * include/unistd.h: Protect against multiple inclusion.
1804 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1805 is defined, not is glob is defined.
1806 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1808 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1810 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1811 xdr_string for ut_line, ut_name and ut_host.
1813 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1815 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1816 /var/mail in accordance with FHS 2.0.
1817 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1819 1998-08-12 Richard Henderson <rth@cygnus.com>
1821 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1822 Update aliases for cancelation.
1824 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1825 playing with symbol versions.
1827 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1829 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1830 multiple inclusion protection.
1831 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1832 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1833 define all these to 1.
1834 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1836 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1838 * sysdeps/mach/usleep.c: Include <unistd.h>.
1839 (usleep): Return void.
1841 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1843 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1844 decl to inhibit warning in if_freenameindex defn.
1846 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1848 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1850 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1851 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1852 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1853 * sysdeps/mach/usleep.c: Likewise.
1855 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1857 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1858 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1859 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1860 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1861 * sysdeps/mach/usleep.c (usleep): Likewise.
1862 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1863 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1864 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1865 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1867 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1869 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1872 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1873 %p arg to fprintf, since `void *' is the right type already.
1875 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1877 * sysdeps/mach/hurd/getcwd.c
1878 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1879 for unknown root directories.
1880 (__getcwd): Return NULL when the current root directory could not
1883 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
1885 * string/strsignal.c (strsignal): Count real-time signals from zero.
1888 See ChangeLog.8 for earlier changes.