1 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3 * posix/execvp.c: Don't give up searching the PATH if execve
6 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
8 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
9 if _dl_fpu_control_set is set.
10 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
11 * elf/rtld.c: Don't define _dl_fpu_control_set.
12 * elf/Versions: Remove _dl_fpu_control_set.
14 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
16 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
17 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
18 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
19 Correct values of other SA_* macros according to kernel headers.
21 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
23 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
25 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
28 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
30 * elf/ldsodefs.h: Fix typo in comment.
32 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
34 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
35 char when comparing buffer contents with putback character.
37 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
39 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
41 * elf/Versions: Undo last change. Export _dl_fpu_control and
43 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
44 variables. Include <fpu_control.h>.
45 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
46 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
47 to indicate that is was seen.
48 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
49 only if _dl_fpu_control was set and is equal to desired value.
50 * math/Makefile (aux): Undo last change.
51 * math/Versions: Export __fpu_control with version GLIBC_2.0.
53 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
55 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
58 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
60 * string/bits/string2.h: Add mempcpy optimization.
61 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
62 * intl/localealias.c: Define mempcpy only if not already defined.
64 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
67 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
69 * csu/abi-note.S: Emit the note directly instead of defining
70 a preprocessor macro that's only used once. Don't include sysdep.h.
71 * abi-tags: Generalize Solaris entry.
73 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
75 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
76 Change to array to avoid runtime relocation.
77 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
79 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
81 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
82 * math/Makefile ($(objpfx)libieee.a): Likewise.
84 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
86 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
87 Patch by John Tobey <jtobey@banta-im.com>.
89 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
91 * login/Makefile (distribute): Remove pty-internal.h, add
94 * stdlib/tst-strtol.c: Add more checks.
95 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
97 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
99 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
100 * elf/elf.h: Add AT_FPUCW.
101 * elf/Makefile (dl-routines): Add fpu_control.
102 (elide-routines.os): Add fpu_control.
103 (rtld-routines): Add fpu_control.
104 * math/Makefile (aux): Remove fpu_control.
105 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
106 (_dl_show_auxv): Likewise.
107 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
108 if different from OS default.
110 * stdio-common/tstscanf.c: Add test case for (nil).
112 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
114 * libio/fileops.c (_IO_new_file_underflow): Before allocating
115 buffer make sure the pushback buffer is destroyed.
116 (_IO_new_file_seekoff): Likewise.
117 If mode==0 quit early with the result.
118 Clear OEF flag after successful fseek.
119 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
120 * libio/ftello.c (ftello): Add offset from original buffer if
121 stream has pushed back characters.
122 * libio/ftello64.c (ftello64): Likewise.
123 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
124 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
125 * libio/ioftell.c (_IO_ftell): Likewise.
126 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
128 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
129 (_IO_default_pbackfail): Only stored push back character in original
130 buffer if it is the same as the one in the file at this position.
131 * libio/iofclose.c: Free backup buffer if one is available.
132 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
135 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
137 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
139 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
141 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
143 * login/programs/pt_chown.c (more_help): Correct message that
144 describes the purpose of the program.
146 * login/openpty.c: Do not include pty-private.h.
147 (pts_name): New function. Return name of slave pseudo terminal in
148 an allocated buffer if necessary.
149 (openpty): Use pts_name to get name of the slave end of the pseudo
152 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
153 pts_name before return.
155 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
157 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
159 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
161 * login/openpty.c: Include pty-private.h instead of
164 1998-09-09 Philip Blundell <pb@nexus.co.uk>
166 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
168 1998-09-07 Philip Blundell <pb@nexus.co.uk>
170 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
171 recent ld.so changes.
172 (elf_machine_runtime_setup): Correct behaviour when profiling.
174 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
176 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
177 Patch by John Tobey <jtobey@banta-im.com>.
179 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
181 * login/pty-internal.h: Removed. Moved constants related to the
182 `grantpt' helper program protocol to ...
183 * login/pty-private.h: ... here. New file.
184 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
185 to make the function work with kernels >= 2.1.115.
186 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
187 version if using the cloning device fails.
188 * sysdeps/unix/sysv/linux/grantpt.c: New file.
189 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
190 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
191 use by Linux specific code.
192 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
193 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
194 function. (grantpt): Use pts_name, check group and permission
195 mode in addition to owner. Try to set the owner, group and
196 permission mode first without invoking the helper program.
197 * login/programs/pt_chown.c: Largely rewritten. Add argp and
198 internationalization support. Use symbolic constants instead of
199 hardwired numbers for permission mode.
200 * sysdeps/unix/bsd/ptsname.c: New file.
202 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
204 * posix/wordexp-test.c: Undo last change.
206 * posix/wordexp.c: Undo last change.
208 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
210 * nscd/grpcache.c (save_grp): Partly undo last change.
212 * nscd/pwdcache.c (save_pwd): Undo last change.
214 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
216 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
217 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
219 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
221 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
222 Add profiling support.
223 (TRAMPOLINE_TEMPLATE): New macro.
224 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
225 (RTLD_START): Prettify, and set __libc_stack_end properly.
226 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
227 and check for sym being NULL instead.
228 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
230 * sysdeps/sparc/sparc64/lshift.S: Likewise.
231 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
232 * sysdeps/sparc/sparc64/rshift.S: Likewise.
233 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
234 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
235 MEDANY code model %g4 usage.
236 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
237 MEDANY code model %g4 usage.
238 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
239 code model address formation.
240 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
241 include elf/ldsodefs.h
243 (elf_machine_matches_host): It is now EM_SPARCV9.
244 (elf_machine_dynamic): Clean up to remove ugly cast.
245 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
247 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
248 Prettify rest of function.
249 [R_SPARC_COPY]: Check for sym being NULL.
250 [R_SPARC_32]: Handle it.
251 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
253 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
255 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
256 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
257 Add profiling support.
258 (TRAMPOLINE_TEMPLATE): New macro.
259 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
260 (RTLD_START): Prettify and set __libc_stack_end.
261 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
263 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
264 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
265 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
266 unused variable scratch.
267 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
268 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
270 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
271 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
272 old format kernel sigaction structures.
273 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
274 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
275 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
276 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
278 (_JMPBUF_UNWINDS): Define.
279 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
280 statfs64 structure, which is exactly the same as the normal one.
281 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
282 of stack. Use correct syscall trap number. Add branch prediction
283 settings to branch instructions. Remove old MEDANY code model %g4
284 referneces for non-PIC.
285 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
286 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
287 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
288 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
290 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
291 __libc_longjmp and __libc_siglongjmp strong aliases.
292 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
293 Also define to __no__readdir64_decl around readdir.c inclusion.
294 (__readdir64): Add strong alias.
295 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
296 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
297 Set strong and weak names properly.
299 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
301 * manual/Makefile (AWK): Default to gawk if standalone.
303 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
305 * Makefile (distribute): Undo last change.
306 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
308 (+subdir-headers): Removed, unused.
310 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
312 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
315 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
317 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
318 absolute name in $(config-sysdirs), can never happen.
319 ($(+sysdir_pfx)sysd-rules): Likewise.
320 * Makeconfig (full-config-sysdirs): Likewise.
321 (all-Subdirs-files): Prepend $(..).
323 * configure.in: Don't check for absolute name in $add_ons_pfx, can
324 not happen. Let --enable-add-ons=yes work if no add-ons actually
327 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
329 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
330 continuations in command.
332 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
334 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
336 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
338 * posix/wordexp-test.c: If expansion or substitution occurs
339 anywhere in a word, the entire word is subject to field-splitting.
341 * posix/wordexp.c (parse_glob): Look for end of word instead of
342 end of field when deciding what to glob.
343 (field_split_word): New function, now the only place where
344 field-splitting is performed.
345 (parse_dollars): New parameter - tell the caller if
346 field-splitting should be performed on this word.
348 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
349 succeeded (or failed with WRDE_NOSPACE).
351 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
353 * posix/wordexp.c (wordexp): Don't convert IFS characters to
356 * posix/wordexp-test.c: Words not the result of expansion or
357 substitution should remain unchanged.
359 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
361 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
362 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
364 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
366 * stdio-common/Makefile: Include Makeconfig so that
367 $(inst_includedir) is defined.
369 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
371 * io/pwd.c: Include <mcheck.h>.
373 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
375 * nscd/pwdcache.c (save_pwd): Correct copying.
376 * nscd/grpcache.c (save_grp): Likewise.
378 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
380 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
381 (free_pwd): Adjust for this change.
382 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
383 (free_grp): Adjust for this change.
385 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
387 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
389 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
391 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
392 (install-others): Add bits/stdio_lim.h.
393 Add rule to install bits/stdio_lim.h.
395 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
397 * Makefile (distribute): Add include/sys/mman.h.
399 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
400 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
401 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
403 * grp/initgroups.c: Include stdlib.h.
404 Patch by Zack Weinberg.
406 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
408 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
409 for field-splitting :abc: is correct, and that two fields should
410 result. Revert tests to reflect this.
412 * posix/wordexp.c (w_emptyword): Remove function.
413 (exec_comm): Don't use w_emptyword.
414 (parse_param): Likewise.
416 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
418 * sysdeps/arm/fpu/Dist: Moved to...
419 * sysdeps/arm/Dist: ...here.
420 * sysdeps/posix/Dist: Removed.
421 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
422 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
424 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
426 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
428 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
430 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
432 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
434 * libc-work/nis/nss_nisplus/nisplus-service.c
435 (_nss_nisplus_parse_servent): Convert port in network byte order.
437 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
439 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
440 to provide only malloc and calloc.
441 * include/stdlib.h: Support the above.
442 * string/bits/string2.h: Use __need_malloc_and_calloc when
444 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
446 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
447 * iconvdata/iso646.c: Include <stdlib.h>.
449 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
451 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
452 * sysdeps/libm-ieee754/w_pow.c: Likewise.
453 * sysdeps/libm-ieee754/w_powf.c: Likewise.
454 * sysdeps/libm-ieee754/w_powl.c: Likewise.
456 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
458 * stdio-common/stdio_lim.h.in: New file. All parameters
459 are adjustable at build time.
460 * Rules: Add a rule to build bits/stdio_lim.h from
461 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
462 all subdirectories know how to make the file. It can't be
463 in Makerules because then it gets built at top level and the
464 dependencies are wrong.)
466 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
467 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
469 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
470 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
471 * sysdeps/posix/Makefile: Removed.
472 * sysdeps/posix/mk-stdiolim.c: Removed.
473 * sysdeps/generic/bits/stdio_lim.h: Removed.
475 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
477 * argp/argp-help.c: Fixup indentation.
478 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
479 * resolv/nss_dns/dns-network.c: Likewise.
480 * resolv/res_send.c: Likewise.
481 * rt/aio_cancel.c: Likewise.
482 * rt/aio_misc.c: Likewise.
484 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
486 * Makefile (install-symbolic-link): Remove the link list file at last.
487 * Makerules (install-clean-symbolic-link-list): Removed.
489 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
491 * timezone/tst-timezone.c: Print time in UTC to get consistent
494 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
496 * elf/rtld.c (_dl_rpath): Removed.
497 * elf/dl-support.c (_dl_path): Removed.
498 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
499 (CFLAGS-dl-support.c): Removed.
501 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
503 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
504 instead of appending it to the main map's rpath info.
505 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
506 DT_RPATHs. This makes it effective again.
507 (decompose_rpath): Remove second parameter, callers changed.
508 (fillin_rpath): Allocate enough space in curwd.
509 (expand_dynamic_string_token): Cope with get_origin returning -1.
511 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
513 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
516 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
519 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
521 * locale/programs/locale.c: Update dates.
523 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
525 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
526 size_t is defined. Some reordering of defenitions to make
527 maintaining this file in parallel with the linux-specific file easier.
529 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
531 * io/pwd.c (main): Add call to mtrace.
533 * malloc/mtrace.pl: Quote @ in string.
535 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
537 * posix/wordexp.c (parse_arith): Fix memory leaks.
538 (exec_comm): Likewise.
539 (parse_param): Likewise.
541 (exec_comm): Reduce number of function return points.
542 (parse_param): Likewise.
545 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
547 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
548 yield three fields, not two. Test both parameter expansion and
549 command substitution for correct field-splitting behaviour.
551 * posix/wordexp.c (w_emptyword): New function.
552 (parse_param): Use it.
553 (exec_comm): Likewise, for consistency with the way parse_param
555 (parse_param): Fix some memory leaks.
557 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
559 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
560 Don't mark asm `volatile'.
561 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
562 from the data cache too. Assume it isn't in the instruction cache yet.
563 (__elf_machine_fixup_plt): Clear the modified address from the caches.
565 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
567 * sysdeps/generic/segfault.c (install_handler): Install signal
568 handler with SA_ONSTACK instead of setting the stack flags to
569 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
572 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
574 * signal/signal.h: Fix multiple inclusion guard to cover the
576 * wcsmbs/wchar.h: Remove prototype of internal function
578 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
579 arithmetic on `void *'.
581 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
583 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
585 * posix/wordexp.c (wordexp): Perform word-splitting instead of
586 field-splitting here.
587 (wordexp): If out of memory mid-word, free the word (but still
588 leave pwordexp alone for caller to see).
589 (parse_param): Allow for zero-length fields (smarter checking of
590 memory allocation failure).
591 (w_addword): Convert NULL words to "".
592 (wordexp): Convert left-over IFS characters to blanks (like bash).
594 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
596 * configure.in: Use test -f instead of test -e.
597 Patch by John Tobey <jtobey@banta-im.com>.
599 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
600 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
601 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
602 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
603 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
604 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
605 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
606 Patches by John Tobey <jtobey@banta-im.com>.
608 * time/strftime.c (my_strftime): Delay use of *tp values until
609 latest possible point to allow partly initialized structures
610 (e.g., from strptime).
612 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
614 Define *-routines variables for new modules.
615 (distribute): Add .c files for new modules.
616 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
618 Add rules for header generation.
619 * iconvdata/gconv-modules: Add entries for new modules.
620 * iconvdata/iso_10367-box.c: New file.
621 * iconvdata/mac-is.c: New file.
622 * iconvdata/nats-dano.c: New file.
623 * iconvdata/nats-sefi.c: New file.
625 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
627 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
628 loader if PIC is not defined.
630 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
632 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
633 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
634 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
636 Define *-routines variables for new modules.
637 (distribute): Add .c files for new modules.
638 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
639 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
640 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
641 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
642 Add rules for header generation.
643 * iconvdata/gconv-modules: Add entries for new modules.
644 * iconvdata/csn_369103.c: New file.
645 * iconvdata/cwi.c: New file.
646 * iconvdata/dec-mcs.c: New file.
647 * iconvdata/ecma-cyrillic.c: New file.
648 * iconvdata/gost_19768-74.c: New file.
649 * iconvdata/greek-ccitt.c: New file.
650 * iconvdata/greek7-old.c: New file.
651 * iconvdata/greek7.c: New file.
652 * iconvdata/inis-8.c: New file.
653 * iconvdata/inis-cyrillic.c: New file.
654 * iconvdata/inis.c: New file.
655 * iconvdata/iso6937-2.c: New file.
656 * iconvdata/iso_2033.c: New file.
657 * iconvdata/iso_5427-ext.c: New file.
658 * iconvdata/iso_5427.c: New file.
659 * iconvdata/iso_5428.c: New file.
661 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
663 Convert U02dd correctly.
665 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
667 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
668 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
669 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
670 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
672 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
674 * resolv/res_init.c (res_init): Handle resolv.conf file with only
675 one nameserver correctly. Patch by HJ Lu.
677 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
679 Define *-routines variables for new modules.
680 (distribute): Add .c files for new modules.
681 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
682 Add rules for hedaer generation.
683 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
684 * iconvdata/ansi_x3.110.c: New file.
685 * iconvdata/asmo_449.c: New file.
686 * iconvdata/baltic.c: New file.
687 * iconvdata/iec_p27-1.c: New file.
689 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
691 Convert U02dc correctly.
693 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
694 * math/atest-exp2.c: Likewise.
695 * math/atest-sincos.c: Likewise.
697 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
700 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
702 * string/strcoll.c: Optimize a few expressions.
703 * string/strxfrm.c: Likewise.
705 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
707 * manual/locale.texi: Fix typos.
709 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
711 * stdlib/random_r.c (__setstate_r): Allow call with same state
712 array as currently used (PR libc/774).
714 * include/limits.h: Include gcc's header even if this file is
715 found more than once before it (PR libc/778)
717 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
718 (sysdep_headers): Remove sys/debugreg.h.
719 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
720 (sysdep_headers): Add sys/debugreg.h.
721 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
722 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
724 * stdio-common/tmpnam.c: Move local static variable buf to
725 toplevel and rename to tmpnam_buffer to ease debugging.
726 Patch by Joe Keane <jgk@jgk.org>.
727 Optimize s == NULL case a bit.
729 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
732 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
734 * resolv/res_init.c (res_init): Initialize _res.nscount and
735 _res.nsaddr.sin_port differently for the can when no loopback
736 is available to allow immediate timeout in non-networking environments.
737 Patch by Cristian Gafton <gafton@redhat.com>.
739 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
741 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
743 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
744 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
747 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
749 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
751 * timezone/tst-timezone.c (tests): Fix typo in last patch.
753 * time/tzfile.c (__tzfile_read): Handle case when there are no
754 transitions. Set __timezone based on computed offset.
755 * time/tzset.c (tzset_internal): Set __timezone before returning.
757 * time/tzset.c (tzset_internal): Optimize handling of local string
760 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
762 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
765 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
767 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
768 (csqrt_test): Likewise.
769 * sysdeps/powerpc/bits/fenv.h: Add parens.
771 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
773 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
774 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
775 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
777 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
779 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
780 the special `-1' pointer.
782 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
784 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
787 1998-09-07 Paul Eggert <eggert@twinsun.com>
789 * time/mktime.c (__EXTENSIONS__): Define if not defined.
790 (_REENTRANT): Remove. It has undesirable consequences in
791 Solaris 2.6 (e.g. it turns off the putc macro). Defining
792 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
794 * time/strftime.c: Likewise.
796 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
798 * elf/dl-error.c: Fix spelling.
800 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
802 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
803 * stdio-common/_itoa.c: Likewise.
804 * stdio-common/printf_fp.c: Likewise.
805 * stdio-common/vfscanf.c: Likewise.
806 * wcsmbs/wcstok.c: Likewise.
807 * sysdeps/generic/glob.c: Likewise.
808 * posix/getopt.c: Likewise.
809 * sysdeps/posix/getaddrinfo.c: Likewise.
810 * posix/wordexp.c: Likewise.
811 * io/ftw.c: Likewise.
812 * io/fts.c: Likewise.
813 * misc/getpass.c: Likewise.
814 * iconv/gconv_conf.c: Likewise.
815 * argp/argp-fmtstream.c: Likewise.
816 * argp/argp-help.c: Likewise.
817 * elf/dl-load.c: Likewise.
818 * locale/programs/stringtrans.c: Likewise.
819 * catgets/gencat.c: Likewise.
820 * posix/getconf.c: Likewise.
821 * iconv/gconv_conf.c: Likewise.
822 * iconv/iconv_prog.c: Likewise.
824 * string/strcoll.c: Optimize a few expressions.
825 * string/strxfrm.c: Likewise.
827 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
829 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
830 level to avoid uninit variable warning.
832 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
834 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
835 instead of _dl_default_scope[2] as argument to _dl_init_next.
837 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
840 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
842 Fix compatibility problems introduced in last change.
843 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
845 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
846 -DWEAK_GMON_START to CFLAGS-initfini.s.
848 * elf/dl-object.c (_dl_new_object): Store map address in
849 _dl_loaded if _dl_loaded is NULL.
850 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
852 * sysdeps/generic/setrlimit64.c: Remove stub warning.
854 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
856 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
858 * db2/btree/bt_cursor.c: Likewise.
859 * db2/common/db_region.db_c: Likewise.
860 * db2/common/db_salloc.db_c: Likewise.
861 * db2/db/db.c: Likewise.
862 * db2/db/db_rec.c: Likewise.
863 * db2/hash/hash.c: Likewise.
864 * db2/hash/hash_page.c: Likewise.
865 * db2/hash/hash_rec.c: Likewise.
866 * db2/log/log_findckp.c: Likewise.
867 * db2/log/log_get.c: Likewise.
868 * db2/log/log_put.c: Likewise.
869 * db2/mp/mp_fget.c: Likewise.
870 * db2/mp/mp_fput.c: Likewise.
871 * db2/mp/mp_region.c: Likewise.
872 * stdlib/strtol.c: Likewise.
873 * string/strcoll.c: Likewise.
874 * string/strxfrm.c: Likewise.
875 * argp/argp-help.c: Likewise.
876 * argp/argp-parse.c: Likewise.
877 * resolv/res_debug.c: Likewise.
879 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
881 * math/tgmath.h (scalb): Only define for __USE_MISC or
882 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
884 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
886 * libio/stdio.h: Fix comment.
888 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
891 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
893 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
895 * elf/dl-open.c: Quiet -Wparentheses warnings.
896 * iconvdata/johab.c: Likewise.
897 * iconvdata/uhc.c: Likewise.
898 * inet/inet_net.c: Likewise.
899 * io/fts.c: Likewise.
900 * locale/newlocale.c: Likewise.
901 * misc/getttyent.c: Likewise.
902 * misc/mntent_r.c: Likewise.
903 * misc/ttyslot.c: Likewise.
904 * nscd/nscd_conf.c: Likewise.
905 * nss/nsswitch.c: Likewise.
906 * resolv/gethnamaddr.c: Likewise.
907 * resolv/nsap_addr.c: Likewise.
908 * resolv/res_debug.c: Likewise.
909 * stdio-common/_itoa.c: Likewise.
910 * stdlib/strtod.c: Likewise.
911 * string/strverscmp.c: Likewise.
912 * sunrpc/svc.c: Likewise.
913 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
914 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
915 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
916 * sysdeps/posix/getaddrinfo.c: Likewise.
918 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
920 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
921 for use of global scope.
922 * elf/dlvsym.c (dlvsym_doit): Likewise.
924 1998-09-02 Paul Eggert <eggert@twinsun.com>
926 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
927 copy the redundant bytes at the end of the format as-is; don't
928 just copy their first byte and then rescan, as that might get
929 us an encoding error.
930 Account correctly for the length of multibyte sequences in the
933 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
935 * posix/wordexp-test.c: Add tests for different IFS values.
936 Change unquoted-newline test so that newline is not in IFS.
938 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
939 determining IFS characters. Return WRDE_BADCHAR for unquoted
940 special characters _except_ if they are separators.
942 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
944 * include/tgmath.h: New file.
946 * libio/stdio.h: Correct reversed #ifs.
947 Patch by Zack Weinberg.
949 * manual/creature.texi: Better explain reason for feature select
951 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
953 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
955 * include/alloca.h: Add multiple-inclusion guard.
956 * include/db.h: Likewise.
957 * include/db_185.h: Likewise.
958 * include/dlfcn.h: Likewise.
959 * include/fcntl.h: Likewise.
960 * include/grp.h: Likewise.
961 * include/libintl.h: Likewise.
962 * include/mntent.h: Likewise.
963 * include/pwd.h: Likewise.
964 * include/sched.h: Likewise.
965 * include/search.h: Likewise.
966 * include/setjmp.h: Likewise.
967 * include/shadow.h: Likewise.
968 * include/signal.h: Likewise.
969 * include/stdio.h: Likewise.
970 * include/stdlib.h: Likewise.
971 * include/string.h: Likewise.
972 * include/termios.h: Likewise.
973 * include/time.h: Likewise.
974 * include/ulimit.h: Likewise.
975 * include/utmp.h: Likewise.
976 * include/wchar.h: Likewise.
977 * include/sys/file.h: Likewise.
978 * include/sys/gmon.h: Likewise.
979 * include/sys/ioctl.h: Likewise.
980 * include/sys/mman.h: Likewise.
981 * include/sys/resource.h: Likewise.
982 * include/sys/select.h: Likewise.
983 * include/sys/socket.h: Likewise.
984 * include/sys/statfs.h: Likewise.
985 * include/sys/time.h: Likewise.
986 * include/sys/times.h: Likewise.
987 * include/sys/wait.h: Likewise.
989 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
991 * version.h (VERSION): Bump to 2.0.96.
993 Rewrite runtime linker to be truly thread-safe. There is now no
994 global variable specifying the scope. We create all needed
995 scopes at the time the link maps are created.
996 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
997 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
998 l_symbolic_searchlist, l_scope, and l_local_scope elements in
1000 * elf/dl-close.c: Rewritten accordingly.
1001 * elf/dl-deps.c: Likewise.
1002 * elf/dl-error.c: Likewise.
1003 * elf/dl-init.c: Likewise.
1004 * elf/dl-load.c: Likewise.
1005 * elf/dl-lookup.c: Likewise.
1006 * elf/dl-object.c: Likewise.
1007 * elf/dl-open.c: Likewise.
1008 * elf/dl-reloc.c: Likewise.
1009 * elf/dl-runtime.c: Likewise.
1010 * elf/dl-support.c: Likewise.
1011 * elf/dl-symbol.c: Likewise.
1012 * elf/dl-version.c: Likewise.
1013 * elf/dlsym.c: Likewise.
1014 * elf/dlvsym.c: Likewise.
1015 * elf/ldsodefs.h: Likewise.
1016 * elf/rtld.c: Likewise.
1017 * iconv/gconv_dl.c: Likewise.
1018 * nss/nsswitch.c: Likewise.
1019 * sysdeps/i386/dl-machine.h: Likewise.
1020 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1022 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1023 Define RTLD_DEFAULT.
1025 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
1027 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1028 __getopt_clean_environment with __environ instead of envp.
1030 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
1032 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1034 * string/argz-extract.c (__argz_extract): Add de-consting cast for
1037 * string/argz.h (argz_next): Add de-consting cast for return.
1038 * string/argz-next.c (__argz_next): Likewise.
1040 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1041 Don't add netinet/udp.h, netinet/ip_icmp.h here.
1042 * sysdeps/gnu/Makefile: Do it here instead.
1043 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1044 * sysdeps/gnu/Dist: ... to here.
1046 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1047 sysdeps/unix/sysv/linux/netinet/tcp.h,
1048 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1050 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1052 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1053 * string/argz-next.c, string/argz-extract.c: Fix defns.
1055 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1057 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1059 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1060 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1061 * sysdeps/generic/sysd-stdio.c: Likewise.
1063 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
1065 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1066 (_dl_map_object_from_fd): Make NAME argument const.
1067 Remove last parameter in _dl_new_object call.
1068 (print_search_path): Correct construction of composed path name.
1069 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1070 Remove last parameter in _dl_new_object call.
1071 * elf/dl-object.c: Remove last parameter. Determine whether create
1072 origin entry based on empty realname. Handle file in root directory
1074 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1075 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1076 Remove last parameter in _dl_new_object call.
1077 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1078 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1080 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
1082 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1083 Free l_searchlist and l_dupsearchlist.
1085 * debug/catchsegv.sh: Add one more pair of quotes.
1087 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1089 * elf/dl-load.c (add_name_to_object): Change return type to void and
1090 make NAME parameter const. Allocate room for NAME in same memory
1091 block used for l_libname entry.
1092 (_dl_map_object_from_fd): Don't free NAME on failure.
1093 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1094 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1095 _dl_map_object_from_fd.
1096 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1097 memory block used for l_libname entry.
1098 * elf/dl-close.c: Adjust free()ing for this change.
1100 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1102 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1104 * malloc/mtrace.c: Add bug report address. Update email address.
1105 Add more @XXX@ to print correct address size.
1107 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1110 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1111 for munmap call instead of examining phdr again.
1112 Free all malloc()ed strings and arrays.
1114 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1116 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1118 * sysdeps/powerpc/dl-machine.c: New file.
1119 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1120 files. Revise ELF_PREFERRED_ADDRESS to take account of
1121 the new mapping information (fixes bug involving huge bloated
1122 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1123 * sysdeps/powerpc/dl-start.S: New file.
1125 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1127 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1128 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1129 others. Call elf_dynamic_do_##reloc only once (to save even more
1131 * elf/link.h: Add new members l_map_start and l_map_end to keep
1132 track of the memory map.
1133 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1136 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1138 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1139 Reported by Andreas Jaeger.
1141 * posix/glob.h: Use __size_t instead of size_t in definitions and
1142 make sure this is defined.
1144 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1146 * manual/locale.texi: Almost complete rewrite. Document more functions
1148 * manual/arith.texi: Correct reference.
1149 * manual/string.texi: Pretty printing.
1151 * manual/texinfo.tex: Update from last available version.
1153 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1155 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1157 (_nss_nis_getpwuid_r): Likewise.
1158 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1160 * inet/rcmd.c: Implement netgroup support.
1161 Patch by Dick Streefland <dick_streefland@tasking.com>.
1163 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1165 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1166 object on the list is removed. Don't use this code for PIC.
1167 Reported by HJ Lu [PR libc/770].
1169 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1171 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1173 * include/stdio.h: Add __vsscanf.
1175 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1177 Remove __vsscanf declaration.
1178 Always declare fgetpos and fsetpos.
1180 * math/math.h: Define isinf as macro.
1181 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1182 Don't declare scalb for ISO C 9x.
1184 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1186 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1188 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1191 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1194 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1196 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1197 Reported by jreising@frequentis.com [PR libc/767].
1199 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1201 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1202 fl.l_start at beginning of function.
1203 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1205 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1207 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1208 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1210 * nscd/nscd.init: Make it work in RedHat systems.
1211 Patch by Christian Gafton.
1213 1998-08-29 Philip Blundell <philb@gnu.org>
1215 * catgets/Makefile: Don't try to run test programs when
1218 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1220 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1221 Reported by Zack Weinberg.
1223 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1225 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1226 * elf/Makefile (distribute): Remove ldd.sh.in.
1228 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1230 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1233 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
1235 * sysdeps/i386/register-dump.h: Move to ...
1236 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1238 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1240 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1241 with load address, not map address.
1242 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1243 parameter and use this value.
1244 * sysdeps/arm/dl-machine.h: Likewise.
1245 * sysdeps/i386/dl-machine.h: Likewise.
1246 * sysdeps/m68k/dl-machine.h: Likewise.
1247 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1249 * sysdeps/powerpc/dl-machine.h: Likewise
1250 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1251 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1253 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1255 * elf/rtld.c (process_envvars): Fix copy&paste error.
1257 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1259 (realloc_hook_ini): Don't overwrite memalign hook.
1260 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1261 Reported by Philippe Troin <phil@fifi.org>.
1263 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1264 Patch by Philippe Troin <phil@fifi.org>.
1266 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1268 * sysdeps/generic/segfault.c (install_handler): Protect the
1269 non-POSIX signals with #ifdef.
1270 (catch_segfault): Add missing mode parameter for open.
1271 * debug/catchsegv.sh: Avoid termination message from shell. Allow
1272 other termination signals.
1274 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1276 * debug/Makefile (distribute): Add register-dump.h.
1278 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1280 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1282 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
1284 * elf/Makefile (distribute): Add dl-origin.h.
1285 * sysdeps/generic/dl-origin.h: New file.
1286 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1287 * elf/link.h (struct link_map): Add l_origin field.
1288 * elf/dl-load.c (expand_dynamic_string_token): New function.
1289 (decompose_path): Remove WHERE argument, take link map pointer instead.
1290 Call expand_dynamic_string_token instead of local_strdup to make copy
1292 (_dl_init_paths): Call decompose_path with correct argument.
1293 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1295 Check EI_OSABI and EI_ABIVERSION fields in header.
1296 Call _dl_new_object with extra argument.
1297 (_dl_map_object): Call decompose_path with correct argument.
1298 Call expand_dynamic_string_token instead of local_strdup to also
1300 Call _dl_new_object with extra argument.
1301 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1302 but the main one if new argument is nonzero.
1303 * elf/ldsodefs.h: Adjust for _dl_new_object change.
1304 * elf/dl-support.c: Define _dl_origin_path.
1305 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
1306 (dl_main): Call _dl_new_object with extra argument.
1308 * elf/dl-close (_dl_close): Free l_name and l_origin.
1310 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1311 modifier in asm, not c.
1313 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1314 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1316 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
1318 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1319 variable so that map can be freed.
1320 Reported by Philippe Troin <phil@fifi.org>.
1322 * elf/dl-open.c (dl_open_worker): Correct test for extending global
1324 Patch by Philippe Troin <phil@fifi.org>.
1326 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1328 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
1329 Don't call writev() with a 100-element vector.
1330 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1333 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1334 In particular, set __libc_stack_end.
1335 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1336 undefined. Fix copyright notice.
1338 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1340 * math/Makefile (gmp-objs): New variable.
1341 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1343 (tests): Add atest-exp atest-sincos atest-exp2.
1344 (tests-static): Remove atest-exp atest-sincos atest-exp2.
1346 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
1348 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1350 (_dl_unload_cache): New function.
1351 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1352 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1353 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1355 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1356 Correct comment for O_LARGEFILE.
1357 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1358 Change O_LARGEFILE to correct value.
1360 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
1362 * libio/iogetline.c (_IO_getline_info): Don't read anything for
1363 N == 0. Patch by HJ Lu.
1365 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
1367 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1369 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1371 * argp/argp.h: Use __inline__ not inline.
1373 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1374 an input register as being clobbered.
1375 * sysdeps/i386/memset.c (memset): Likewise.
1376 * sysdeps/i386/bzero.c (__bzero): Likewise.
1377 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1379 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1381 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1382 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1384 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
1386 * debug/catchsegv.sh: Handle text preceding backtrace better.
1387 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
1388 to be installed for other signals than SIGSEGV.
1389 * sysdeps/generic/register-dump.h: New file.
1390 * sysdeps/i386/register-dump.h: New file.
1391 * sysdeps/powerpc/register-dump.h: New file.
1393 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1395 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1397 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1399 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1401 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1403 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1404 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1405 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1406 getresuid, getresgid.
1408 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1410 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1411 pointer in userland.
1413 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1415 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1418 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1420 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1421 over arguments Bourne shell compatible. Don't exit unsuccessfully
1422 if nonelf returns successfully. Avoid duplicating most of the
1424 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1427 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1429 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1431 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1432 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1434 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1436 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1437 __modify_ldt and modify_ldt.
1438 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1440 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1441 Use orl $-1 instead of movl $-1 to save two bytes.
1442 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1445 1998-08-17 H.J. Lu <hjl@gnu.org>
1447 * libio/Versions (_IO_do_write, _IO_file_attach,
1448 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1449 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1450 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1451 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1453 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1454 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1455 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1456 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1457 _IO_file_write, _IO_file_xsputn): Change the prefix to
1458 "_IO_new_". Added to GLIBC_2.1.
1460 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1461 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1462 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1463 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1464 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1467 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1468 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1469 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1470 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1471 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1473 1998-08-23 Richard Henderson <rth@cygnus.com>
1475 * Makeconfig (LDFLAGS): Remove.
1477 * csu/initfini.c: Return to .text before __gmon_start__.
1479 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1480 (STO_MIPS_*): Rename from STO_*.
1481 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1482 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1484 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1485 (main): e3s is negative on zero.
1486 * math/atest-exp2.c: Likewise.
1487 * math/atest-sincos.c: Likewise.
1489 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1491 * Makerules (install): Add comment about absolute paths.
1493 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1495 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1496 array to NUL to handle maxlen==1 case correctly.
1499 1998-08-23 Richard Henderson <rth@cygnus.com>
1501 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1502 * sysdeps/alpha/elf/crtend.S: Likewise.
1503 * sysdeps/alpha/elf/start.S: Likewise.
1505 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1506 non-standard pv usage.
1508 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1509 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1510 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1511 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1512 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1513 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1514 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1515 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1516 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1517 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1518 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1520 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1521 a finite non-denormal, deferring to the full IEEE version otherwise.
1523 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1524 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1525 * sysdeps/alpha/fpu/s_floor.c: New.
1526 * sysdeps/alpha/fpu/s_floorf.c: New.
1527 * sysdeps/alpha/fpu/s_ceil.c: New.
1528 * sysdeps/alpha/fpu/s_ceilf.c: New.
1530 1998-08-22 Philip Blundell <philb@gnu.org>
1532 * sysdeps/arm/bits/string.h: New file.
1534 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1536 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1539 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1540 test for recent Linux 2.1.100+ headers.
1542 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1544 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1546 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1548 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1550 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1552 * Makefile (elf/ldso_install): Put back. The problem still persists.
1553 * elf/Makefile (ldso_install): Likewise.
1555 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1557 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1559 * include/db.h: Declare __nss_db_open.
1560 * db2/Versions: Export it.
1562 * db2/makedb.c: Convert to use db2 API.
1563 * nss/nss_db/db-XXX.c: Likewise.
1564 * nss/nss_db/db-netgrp.c: Likewise.
1565 * nss/nss_db/db-alias.c: Likewise.
1566 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1568 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1570 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1571 sys_setresuid, already built automatically (or not).
1572 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1573 instead of __syscall_setresuid and add back setresuid.
1574 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1575 __syscall_setresuid.
1577 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1579 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1581 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1583 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1584 BASH-ONLY marked region.
1585 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1587 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1589 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1592 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1594 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1597 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1599 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1600 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1601 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1602 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1603 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1604 those magic comments, and to use /bin/sh for @BASH@.
1605 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1606 * elf/ldd.sh.in: File removed.
1608 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1610 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1611 cast them to unsigned long int.
1612 * pwd/putpwent.c (putpwent): Likewise.
1613 Patch by John Tobey <jtobey@banta-im.com>.
1615 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1617 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1620 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1622 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1625 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1627 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1628 Add umount and umount2.
1629 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1630 * sysdeps/unix/sysv/linux/umount.S: New file.
1631 * sysdeps/unix/sysv/linux/umount2.S: New file.
1632 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1635 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1637 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1638 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1640 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1642 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1645 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1647 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1648 * elf/ldd.bash.in: Likewise.
1650 * elf/sln.c: Avoid warning for no main prototype.
1652 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1654 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1657 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1659 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1660 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1661 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1663 1998-08-20 Philip Blundell <pb@nexus.co.uk>
1665 * sysdeps/arm/fpu/ieee754.h: Move to...
1666 * sysdeps/arm/ieee754.h: ... here.
1668 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1669 Don't set the condition flags unnecessarily.
1670 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1671 registers correctly.
1673 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1674 (patch from Scott Bambrough).
1676 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1678 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1679 NULL, just call it unconditionally.
1680 (__gmon_start__): Provide stub version as a weak symbol.
1682 1998-07-30 Philip Blundell <philb@gnu.org>
1684 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1687 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1688 like `@' in .type directives.
1690 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1691 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1693 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1695 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1697 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1698 (F_GETOWN): Likewise.
1700 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1703 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1705 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1708 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
1710 * include/features.h: Define __USE_EXTERN_INLINES for recent
1712 * argp/argp.h: Define extern inline functions only if
1713 __USE_EXTERN_INLINES is defined.
1714 * libio/stdio.h: Likewise.
1715 * math/math.h: Likewise.
1716 * stdlib/stdlib.h: Likewise.
1717 * string/argz.h: Likewise.
1718 * sysdeps/generic/bits/sigset.h: Likewise.
1719 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1720 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1721 * sysdeps/wordsize-32/inttypes.h: Likewise.
1722 * sysdeps/wordsize-64/inttypes.h: Likewise.
1723 * wcsmbs/wchar.h: Likewise.
1725 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1726 to allow compilation without optimization.
1728 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1730 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1732 * nis/nss_compat/compat-initgroups.c: Likewise.
1733 * nis/nss_compat/compat-pwd.c: Likewise.
1734 * nis/nss_compat/compat-spwd.c: Likewise.
1735 * nis/nss_nis/nis-alias.c: Likewise.
1736 * nis/nss_nis/nis-ethers.c: Likewise.
1737 * nis/nss_nis/nis-grp.c: Likewise.
1738 * nis/nss_nis/nis-hosts.c: Likewise.
1739 * nis/nss_nis/nis-initgroups.c: Likewise.
1740 * nis/nss_nis/nis-network.c: Likewise.
1741 * nis/nss_nis/nis-proto.c: Likewise.
1742 * nis/nss_nis/nis-pwd.c: Likewise.
1743 * nis/nss_nis/nis-rpc.c: Likewise.
1744 * nis/nss_nis/nis-service.c: Likewise.
1745 * nis/nss_nis/nis-spwd.c: Likewise.
1747 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1749 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1751 * nis/yp_xdr.c: Remove 1024 byte limit.
1752 * nis/ypupdate_xdr.c: Likewise.
1754 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1757 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1759 * Rules (binaries-static, binaries-shared static pattern rules):
1760 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1762 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1763 this here, overriding Makeconfig generic value so we link against
1766 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
1768 * posix/tstgetopt.c (options): Add NULL entry at end
1769 Patch by Adrian Miranda <ade@psg.com>.
1771 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1773 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1776 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1778 * elf/elf.h: Add PPC Diab relocations.
1780 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1782 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
1784 * manual/texinfo.tex: Update.
1786 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
1788 * sysdeps/powerpc/backtrace.c: New file.
1790 1998-08-14 Philip Blundell <pb@nexus.co.uk>
1792 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1794 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1796 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1798 * Makefile (install-symbolic-link): Fix spelling.
1800 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1802 * elf/elf.h (SHT_HIOS): Fix value.
1804 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1806 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1807 part of the expansion, this is undefined by the standard.
1809 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
1811 * posix/getconf.c: Add support for systems with incomplete confname.h.
1813 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1815 * sysdeps/posix/wait3.c: Make it work.
1817 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1819 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1820 (elf/ldso_install): Remove.
1822 * elf/Makefile (distribute): Add sln.c.
1824 (others-static): Add sln.
1825 (install-rootsbin): Add sln.
1826 (others-static): Add sln.
1827 (ldso_install): Remove.
1829 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1831 * Makerules (install-clean-symbolic-link-list): Make phony.
1832 * Makefile (install-symbolic-link): Make phony. Depend on
1833 subdir_install for parallel makes.
1836 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
1838 * elf/Makefile (distribute): Add sln.c
1840 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
1842 * elf/sln.c: New file.
1844 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1845 (install-clean-symbolic-link-list): New target.
1846 (install): Depend on install-clean-symbolic-link-list.
1847 (make-shlib-link): Changed for $(symbolic-link-list).
1849 * Makefile (install-symbolic-link): New target.
1850 (install): Depend on install-symbolic-link.
1852 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
1854 * include/unistd.h: Protect against multiple inclusion.
1856 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1857 is defined, not is glob is defined.
1858 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1860 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
1862 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1863 xdr_string for ut_line, ut_name and ut_host.
1865 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1867 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1868 /var/mail in accordance with FHS 2.0.
1869 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1871 1998-08-12 Richard Henderson <rth@cygnus.com>
1873 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1874 Update aliases for cancelation.
1876 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1877 playing with symbol versions.
1879 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1881 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1882 multiple inclusion protection.
1883 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1884 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1885 define all these to 1.
1886 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1888 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
1890 * sysdeps/mach/usleep.c: Include <unistd.h>.
1891 (usleep): Return void.
1893 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1895 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1896 decl to inhibit warning in if_freenameindex defn.
1898 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1900 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1902 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1903 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1904 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1905 * sysdeps/mach/usleep.c: Likewise.
1907 * sysdeps/mach/hurd/bind.c (bind): Add a const.
1909 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1910 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1911 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1912 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1913 * sysdeps/mach/usleep.c (usleep): Likewise.
1914 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1915 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1916 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1917 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1919 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
1921 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1924 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1925 %p arg to fprintf, since `void *' is the right type already.
1927 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
1929 * sysdeps/mach/hurd/getcwd.c
1930 (_hurd_canonicalize_directory_name_internal): Do not loop forever
1931 for unknown root directories.
1932 (__getcwd): Return NULL when the current root directory could not
1935 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
1937 * string/strsignal.c (strsignal): Count real-time signals from zero.
1940 See ChangeLog.8 for earlier changes.