1 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
4 have all types defined.
5 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
7 1998-10-08 Paul Eggert <eggert@twinsun.com>
9 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
10 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
11 a body that merely expands localtime_r; this works around a
12 bug in Digital Unix 4.0A and 4.0D.
14 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
16 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
17 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
18 __ioctl to __syscall_ioctl and include Linux version of this file.
19 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
20 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
21 ioctl calls which handle struct termios.
22 Based on a patch by Dan Jacobowitz <drow@false.org>.
24 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
26 * version.h (VERSION): Bump to 2.0.98.
28 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
29 here instead of including kernel_termios.h.
31 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
33 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
34 unnecessary after the changes of 1998-10-12.
36 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
38 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
39 parameter format string.
40 (inline_outw): Likewise.
42 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
43 string.h to get memcpy prototype and NULL definition.
45 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
47 * misc/sys/cdefs.h (__THROW): New macro.
48 * argp/argp.h: Use it to replace the kludgey __P in inline
50 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51 * stdlib/stdlib.h: Likewise.
52 * wcsmbs/wchar.h: Likewise.
53 * libio/stdio.h: Likewise.
54 * stdio/stdio.h: Likewise.
55 * sysdeps/wordsize-64/inttypes.h: Likewise.
56 * sysdeps/wordsize-32/inttypes.h: Likewise.
57 * string/argz.h: Likewise.
58 * io/sys/stat.h: Likewise.
60 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
62 * Rules (stdio_lim): New variable.
63 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
64 on Rules and config.make, use $(move-if-change) to avoid unnessary
65 recompilations, and cleanup command.
66 (common-generated): Add bits/stdio_lim.st.
68 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
70 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
71 variable to prevent warnings from use of modern CPU instructions.
72 Patch by Richard Henderson <rth@cygnus.com>.
74 * sysdeps/unix/opendir.c: Test whether NAME is directory before
77 1998-10-12 Philip Blundell <pb@nexus.co.uk>
79 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
80 semicolon so that profiling works.
82 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
84 * sysdeps/generic/glob.c: #undef mempcpy before #define.
86 * sysdeps/unix/bsd/clock.c: Use prototype defns.
88 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
90 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
91 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
93 * string/bits/string2.h [!_STRING_ARCH_unaligned]
94 (__mempcpy_small): Add parameter for 1 byte copy and use it.
95 Reported by Geoff Keating <geoffk@ozemail.com.au>.
97 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
99 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
100 it is already defined in <bits/environments.h>.
102 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
104 * posix/ptestcases.h: Fix typo.
106 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
108 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
109 (regexec): Allocate regs.start and regs.end as one block.
111 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
113 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
116 1998-10-08 Philip Blundell <pb@nexus.co.uk>
118 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
119 sigcontext union to ...
120 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
122 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
125 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
127 * malloc/mtrace.c (tr_reallochook): Produce better output for real
130 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
131 * argp/argp-xinl.c: Likewise.
133 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
135 Patch by Christian Gafton.
137 1998-10-08 Paul Eggert <eggert@twinsun.com>
139 * time/mktime.c (__mktime_internal): When the requested time falls
140 in a spring-forward gap of size DT, return a time that is DT away
141 from the requested time, preferring a time whose tm_isdst differs
142 from the requested value. Bump the max number of probes from 4 to
143 6 to account for the extra probes needed to discover a
144 spring-forward gap in the worst case.
146 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
148 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
149 of the weird alpha architectures.
150 Patch by Cristian Gafton <gafton@redhat.com>.
152 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
154 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
155 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
157 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
159 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
160 (dl_open_worker): Use realloc, not malloc to resize array.
161 * elf/rtld.c (_dl_initial_searchlist): New variable.
162 (_dl_main): Copy content of _dl_main_searchlist to
163 _dl_initial_searchlist.
164 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
165 _dl_global_scope_alloc.
166 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
167 * elf/dl-close.c (_dl_close): When removing object with global
168 scope remove allocated searchlist if no dynamically loaded object
170 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
171 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
173 * malloc/mtrace.c (tr_where): Don't print space in location string,
174 print it afterwards. Print better symbol name information.
176 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
178 * manual/filesys.texi (Setting Permissions): Fix example for
181 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
183 * elf/sprof.c (load_profdata): Fix typo in error message.
185 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
187 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
190 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
192 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
194 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
196 * version.h (VERSION): Bump to 2.0.97.
198 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
200 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
201 in definitions of inline stat functions so that they match the
203 * stdlib/stdlib.h: Likewise.
204 * wcsmbs/wchar.h: Likewise.
205 * libio/stdio.h: Likewise.
206 * stdio/stdio.h: Likewise.
207 * sysdeps/wordsize-64/inttypes.h: Likewise.
208 * sysdeps/wordsize-32/inttypes.h: Likewise.
209 * string/argz.h: Likewise.
210 * argp/argp.h: Likewise.
212 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
214 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
217 1998-10-05 Philip Blundell <philb@gnu.org>
219 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
220 and constants. Tidy up formatting a little.
222 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
223 Move definitions to in.h.
225 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
227 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
228 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
229 Remove inclusion of <linux/swap.h>.
231 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
233 * io/sys/stat.h: Use __P in definitions of inline stat functions
234 so that they match the declaration.
236 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
238 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
240 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
242 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
245 1998-10-02 Philip Blundell <pb@nexus.co.uk>
247 * sysdeps/arm/dl-machine.h: Fix typo in last change.
249 * sysdeps/arm/bits/huge_val.h: New file.
251 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
253 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
255 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
258 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
260 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
261 store result of realloc instead of using BUF.
263 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
265 * misc/sgtty.h (_SGTTY_H): Correct spelling.
266 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
268 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
270 * manual/memory.texi (Obstacks): Document
271 obstack_alloc_failed_handler usage.
273 * malloc/obstack.h: Enhance comment about
274 obstack_alloc_failed_handler usage.
275 * malloc/obstack.c: Likewise.
277 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
279 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
280 gcc before 2.8 is used.
282 1998-10-01 Philip Blundell <pb@nexus.co.uk>
284 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
285 from Scott Bambrough.
287 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
289 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
290 include the lock member.
292 1998-09-03 Philip Blundell <pb@nexus.co.uk>
294 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
296 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
298 * timezone/zic.c: Update from tzcode1998h.
299 * timezone/europe: Update from tzdata1998i.
300 * timezone/southamerica: Likewise.
302 * sys/types.h: Protect use of long long by __extension__.
303 * stdlib/stdlib.h: Likewise.
304 * string/string.h: Likewise.
305 * sysdeps/i386/bits/byteswap.h: Likewise.
306 * sysdeps/geeric/bits/byteswap.h: Likewise.
307 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
308 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
309 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
310 * sysdeps/wordsize-32/inttypes.h: Likewise.
311 * sysdeps/wordsize-32/stdint.h: Likewise.
312 * wcsmbs/wchar.h: Likewise.
314 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
316 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
318 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
319 __strsep): Greatly reduce size of expansion by combining common
321 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
323 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
324 by the above definitions.
326 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
328 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
329 correct struct ipc_perm definition.
331 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
333 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
335 1998-09-29 Cristian Gafton <gafton@redhat.com>
337 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
338 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
339 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
340 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
343 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
345 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
347 * nis/ypclnt.c: Remove not needed close calls.
349 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
351 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
352 check a bit. Also close socket of domain client. Close socket
353 in IPPORT_RESERVED error case.
355 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
357 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
358 CMSG_ALIGN (fixes a bug) and correct test for availability of
360 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
362 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
363 availability of another entry.
366 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
369 * libio/libio.h [!__STDC__]: Define const only if not defined.
371 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
373 * posix/annexc.c (xsystem): New function. Use it instead of
376 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
378 * stdlib/longlong.h: Remove #endif for #if removed in last change.
380 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
382 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
383 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
384 allow using `ut' parameter.
385 [!emacs]: Define ut_argument, ut_argument_spec, and
386 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
387 argument_spec to prototypes and definitions.
388 (my_strftime): Don't call tzset of ut != 0.
389 Compute diff as 0 is ut != 0;
390 [emacs]: Define new emacs_strftime function.
391 Based on a patch by Paul Eggert.
393 1998-09-24 Paul Eggert <eggert@twinsun.com>
395 * time/strftime.c (my_strftime): When asking for the length of the
396 subformatted buffer, do not limit the length to look for;
397 otherwise, we have no reliable way to distinguish between the
398 empty buffer and an error.
400 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
402 * math/Makefile (gmp-objs): Add mp_clz_tab.
404 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
406 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
408 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
409 cpus lacking hardware multiply and divide.
411 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
413 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
416 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
418 * db/btree/bt_delete.c: Fix -Wparentheses warning.
420 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
422 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
425 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
427 * debug/catchsegv.sh: Also produce output if clone process died.
429 1998-09-24 Paul Eggert <eggert@twinsun.com>
431 * time/strftime.c (f_wkday): Remove duplicate definition.
432 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
433 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
434 1998-09-11 fix to this case.
435 (wkday_len, month_len): Remove these macros; they're no longer needed.
437 1998-09-24 Paul Eggert <eggert@twinsun.com>
439 * time/strftime.c (my_strftime): Don't store past the end of a
442 1998-09-24 Paul Eggert <eggert@twinsun.com>
444 * time/strftime.c (underlying_strftime):
445 Set the buffer to a nonzero value before calling
446 strftime, and check to see whether strftime has set the buffer to zero.
447 This lets us distinguish between an empty buffer and an error.
449 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
451 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
452 This fix is propagated from tzcode1998g.tar.gz.
454 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
456 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
457 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
458 sys_siglist. This is handled correctly by the weak_alias macro.
460 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
462 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
463 of mempcpy. Reported by Andreas Jaeger.
465 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
466 pollute the namespace since the compiler will resolve it inline.
467 Reported by Florian La Roche <florian@suse.de>.
469 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
471 * timezone/private.h: Update from tzcode1998g.
473 * timezone/africa: Update from tzdata1998h.
474 * timezone/asia: Likewise.
475 * timezone/australasia: Likewise.
476 * timezone/europe: Likewise.
477 * timezone/northamerica: Likewise.
478 * timezone/southamerica: Likewise.
479 * timezone/zone.tab: Likewise.
481 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
483 * misc/sys/mman.h: New file.
485 * sysdeps/generic/bits/mman.h: New file.
486 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
487 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
488 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
489 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
491 * sysdeps/generic/sys/mman.h: Removed.
492 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
493 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
494 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
495 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
496 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
498 * include/sys/mman.h: Look directly for misc/sys/mman.h.
499 * misc/Makefile (headers): Add bits/mman.h.
500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
503 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
504 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
505 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
506 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
507 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
508 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
509 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
510 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
512 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
514 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
515 * sysdeps/mach/alpha/thread_state.h: Likewise.
516 * sysdeps/mach/i386/sysdep.h: Likewise.
517 * sysdeps/mach/i386/thread_state.h: Likewise.
518 * sysdeps/mach/mips/sysdep.h: Likewise.
519 * sysdeps/mach/mips/thread_state.h: Likewise.
520 * sysdeps/posix/profil.c: Likewise.
521 * sysdeps/i386/i586/memcopy.h: Likewise.
522 * sysdeps/mach/pagecopy.h: Likewise.
524 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
526 * libio/stdio.h: Define __need_getopt and include getopt.h to define
528 * posix/unistd.h: Likewise.
529 * stdio/stdio.h: Likewise.
530 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
531 define only getopt and the variables.
533 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
535 * scripts/test-installation.pl (installation_problem): Don't link
536 the test program against libdb1.
538 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
540 * Makeconfig (all-subdirs): Add db.
541 * Versions.def: Add definition for libdb1.
542 * shlib-versions: Add definitions for libdb1.
543 * db/Makefile (extra-libs): Replace by libdb1.
544 (libdb-routines): Rename to libdb1-routines.
545 (headers): Rename to db1-headers.
546 (distribute): Add $(db1-headers).
547 (install-others): Define to install symlink libdb.so.NN and the
549 (CPPFLAGS): Add -DUSE_LIBDB1
550 Remove rules to build makedb.
551 * db/Versions: Rename libdb to libdb1.
552 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
553 * db/makedb.c: Removed.
555 * scripts/versions.awk: Recognize digits in library names.
557 * db/btree/bt_open.c: Fix compiler warnings.
558 * db/btree/bt_put.c: Likewise.
559 * db/btree/bt_split.c: Likewise.
560 * db/hash/hash.c: Likewise.
561 * db/hash/hash_bigkey.c: Likewise.
562 * db/recno/rec_close.c: Likewise.
564 * Makefile: Add localedata/% goal.
566 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
568 * posix/execvp.c: Don't give up searching the PATH if execve
571 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
573 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
574 if _dl_fpu_control_set is set.
575 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
576 * elf/rtld.c: Don't define _dl_fpu_control_set.
577 * elf/Versions: Remove _dl_fpu_control_set.
579 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
581 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
582 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
583 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
584 Correct values of other SA_* macros according to kernel headers.
586 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
588 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
590 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
593 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
595 * elf/ldsodefs.h: Fix typo in comment.
597 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
599 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
600 char when comparing buffer contents with putback character.
602 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
604 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
606 * elf/Versions: Undo last change. Export _dl_fpu_control and
608 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
609 variables. Include <fpu_control.h>.
610 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
611 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
612 to indicate that is was seen.
613 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
614 only if _dl_fpu_control was set and is equal to desired value.
615 * math/Makefile (aux): Undo last change.
616 * math/Versions: Export __fpu_control with version GLIBC_2.0.
618 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
620 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
623 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
625 * string/bits/string2.h: Add mempcpy optimization.
626 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
627 * intl/localealias.c: Define mempcpy only if not already defined.
629 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
632 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
634 * csu/abi-note.S: Emit the note directly instead of defining
635 a preprocessor macro that's only used once. Don't include sysdep.h.
636 * abi-tags: Generalize Solaris entry.
638 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
640 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
641 Change to array to avoid runtime relocation.
642 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
644 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
646 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
647 * math/Makefile ($(objpfx)libieee.a): Likewise.
649 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
651 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
652 Patch by John Tobey <jtobey@banta-im.com>.
654 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
656 * login/Makefile (distribute): Remove pty-internal.h, add
659 * stdlib/tst-strtol.c: Add more checks.
660 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
662 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
664 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
665 * elf/elf.h: Add AT_FPUCW.
666 * elf/Makefile (dl-routines): Add fpu_control.
667 (elide-routines.os): Add fpu_control.
668 (rtld-routines): Add fpu_control.
669 * math/Makefile (aux): Remove fpu_control.
670 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
671 (_dl_show_auxv): Likewise.
672 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
673 if different from OS default.
675 * stdio-common/tstscanf.c: Add test case for (nil).
677 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
679 * libio/fileops.c (_IO_new_file_underflow): Before allocating
680 buffer make sure the pushback buffer is destroyed.
681 (_IO_new_file_seekoff): Likewise.
682 If mode==0 quit early with the result.
683 Clear OEF flag after successful fseek.
684 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
685 * libio/ftello.c (ftello): Add offset from original buffer if
686 stream has pushed back characters.
687 * libio/ftello64.c (ftello64): Likewise.
688 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
689 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
690 * libio/ioftell.c (_IO_ftell): Likewise.
691 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
693 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
694 (_IO_default_pbackfail): Only stored push back character in original
695 buffer if it is the same as the one in the file at this position.
696 * libio/iofclose.c: Free backup buffer if one is available.
697 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
700 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
702 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
704 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
706 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
708 * login/programs/pt_chown.c (more_help): Correct message that
709 describes the purpose of the program.
711 * login/openpty.c: Do not include pty-private.h.
712 (pts_name): New function. Return name of slave pseudo terminal in
713 an allocated buffer if necessary.
714 (openpty): Use pts_name to get name of the slave end of the pseudo
717 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
718 pts_name before return.
720 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
722 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
724 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
726 * login/openpty.c: Include pty-private.h instead of
729 1998-09-09 Philip Blundell <pb@nexus.co.uk>
731 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
733 1998-09-07 Philip Blundell <pb@nexus.co.uk>
735 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
736 recent ld.so changes.
737 (elf_machine_runtime_setup): Correct behaviour when profiling.
739 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
741 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
742 Patch by John Tobey <jtobey@banta-im.com>.
744 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
746 * login/pty-internal.h: Removed. Moved constants related to the
747 `grantpt' helper program protocol to ...
748 * login/pty-private.h: ... here. New file.
749 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
750 to make the function work with kernels >= 2.1.115.
751 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
752 version if using the cloning device fails.
753 * sysdeps/unix/sysv/linux/grantpt.c: New file.
754 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
755 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
756 use by Linux specific code.
757 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
758 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
759 function. (grantpt): Use pts_name, check group and permission
760 mode in addition to owner. Try to set the owner, group and
761 permission mode first without invoking the helper program.
762 * login/programs/pt_chown.c: Largely rewritten. Add argp and
763 internationalization support. Use symbolic constants instead of
764 hardwired numbers for permission mode.
765 * sysdeps/unix/bsd/ptsname.c: New file.
767 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
769 * posix/wordexp-test.c: Undo last change.
771 * posix/wordexp.c: Undo last change.
773 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
775 * nscd/grpcache.c (save_grp): Partly undo last change.
777 * nscd/pwdcache.c (save_pwd): Undo last change.
779 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
781 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
782 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
784 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
786 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
787 Add profiling support.
788 (TRAMPOLINE_TEMPLATE): New macro.
789 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
790 (RTLD_START): Prettify, and set __libc_stack_end properly.
791 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
792 and check for sym being NULL instead.
793 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
795 * sysdeps/sparc/sparc64/lshift.S: Likewise.
796 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
797 * sysdeps/sparc/sparc64/rshift.S: Likewise.
798 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
799 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
800 MEDANY code model %g4 usage.
801 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
802 MEDANY code model %g4 usage.
803 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
804 code model address formation.
805 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
806 include elf/ldsodefs.h
808 (elf_machine_matches_host): It is now EM_SPARCV9.
809 (elf_machine_dynamic): Clean up to remove ugly cast.
810 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
812 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
813 Prettify rest of function.
814 [R_SPARC_COPY]: Check for sym being NULL.
815 [R_SPARC_32]: Handle it.
816 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
818 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
820 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
821 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
822 Add profiling support.
823 (TRAMPOLINE_TEMPLATE): New macro.
824 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
825 (RTLD_START): Prettify and set __libc_stack_end.
826 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
828 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
829 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
830 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
831 unused variable scratch.
832 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
833 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
835 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
836 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
837 old format kernel sigaction structures.
838 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
839 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
840 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
841 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
843 (_JMPBUF_UNWINDS): Define.
844 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
845 statfs64 structure, which is exactly the same as the normal one.
846 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
847 of stack. Use correct syscall trap number. Add branch prediction
848 settings to branch instructions. Remove old MEDANY code model %g4
849 referneces for non-PIC.
850 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
851 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
852 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
853 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
855 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
856 __libc_longjmp and __libc_siglongjmp strong aliases.
857 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
858 Also define to __no__readdir64_decl around readdir.c inclusion.
859 (__readdir64): Add strong alias.
860 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
861 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
862 Set strong and weak names properly.
864 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
866 * manual/Makefile (AWK): Default to gawk if standalone.
868 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
870 * Makefile (distribute): Undo last change.
871 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
873 (+subdir-headers): Removed, unused.
875 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
877 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
880 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
882 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
883 absolute name in $(config-sysdirs), can never happen.
884 ($(+sysdir_pfx)sysd-rules): Likewise.
885 * Makeconfig (full-config-sysdirs): Likewise.
886 (all-Subdirs-files): Prepend $(..).
888 * configure.in: Don't check for absolute name in $add_ons_pfx, can
889 not happen. Let --enable-add-ons=yes work if no add-ons actually
892 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
894 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
895 continuations in command.
897 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
899 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
901 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
903 * posix/wordexp-test.c: If expansion or substitution occurs
904 anywhere in a word, the entire word is subject to field-splitting.
906 * posix/wordexp.c (parse_glob): Look for end of word instead of
907 end of field when deciding what to glob.
908 (field_split_word): New function, now the only place where
909 field-splitting is performed.
910 (parse_dollars): New parameter - tell the caller if
911 field-splitting should be performed on this word.
913 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
914 succeeded (or failed with WRDE_NOSPACE).
916 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
918 * posix/wordexp.c (wordexp): Don't convert IFS characters to
921 * posix/wordexp-test.c: Words not the result of expansion or
922 substitution should remain unchanged.
924 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
926 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
927 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
929 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
931 * stdio-common/Makefile: Include Makeconfig so that
932 $(inst_includedir) is defined.
934 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
936 * io/pwd.c: Include <mcheck.h>.
938 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
940 * nscd/pwdcache.c (save_pwd): Correct copying.
941 * nscd/grpcache.c (save_grp): Likewise.
943 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
945 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
946 (free_pwd): Adjust for this change.
947 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
948 (free_grp): Adjust for this change.
950 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
952 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
954 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
956 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
957 (install-others): Add bits/stdio_lim.h.
958 Add rule to install bits/stdio_lim.h.
960 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
962 * Makefile (distribute): Add include/sys/mman.h.
964 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
965 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
966 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
968 * grp/initgroups.c: Include stdlib.h.
969 Patch by Zack Weinberg.
971 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
973 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
974 for field-splitting :abc: is correct, and that two fields should
975 result. Revert tests to reflect this.
977 * posix/wordexp.c (w_emptyword): Remove function.
978 (exec_comm): Don't use w_emptyword.
979 (parse_param): Likewise.
981 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
983 * sysdeps/arm/fpu/Dist: Moved to...
984 * sysdeps/arm/Dist: ...here.
985 * sysdeps/posix/Dist: Removed.
986 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
987 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
989 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
991 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
993 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
995 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
997 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
999 * libc-work/nis/nss_nisplus/nisplus-service.c
1000 (_nss_nisplus_parse_servent): Convert port in network byte order.
1002 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1004 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1005 to provide only malloc and calloc.
1006 * include/stdlib.h: Support the above.
1007 * string/bits/string2.h: Use __need_malloc_and_calloc when
1009 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1011 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1012 * iconvdata/iso646.c: Include <stdlib.h>.
1014 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1016 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1017 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1018 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1019 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1021 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1023 * stdio-common/stdio_lim.h.in: New file. All parameters
1024 are adjustable at build time.
1025 * Rules: Add a rule to build bits/stdio_lim.h from
1026 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1027 all subdirectories know how to make the file. It can't be
1028 in Makerules because then it gets built at top level and the
1029 dependencies are wrong.)
1031 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1032 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1034 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1035 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1036 * sysdeps/posix/Makefile: Removed.
1037 * sysdeps/posix/mk-stdiolim.c: Removed.
1038 * sysdeps/generic/bits/stdio_lim.h: Removed.
1040 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1042 * argp/argp-help.c: Fixup indentation.
1043 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1044 * resolv/nss_dns/dns-network.c: Likewise.
1045 * resolv/res_send.c: Likewise.
1046 * rt/aio_cancel.c: Likewise.
1047 * rt/aio_misc.c: Likewise.
1049 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1051 * Makefile (install-symbolic-link): Remove the link list file at last.
1052 * Makerules (install-clean-symbolic-link-list): Removed.
1054 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1056 * timezone/tst-timezone.c: Print time in UTC to get consistent
1059 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1061 * elf/rtld.c (_dl_rpath): Removed.
1062 * elf/dl-support.c (_dl_path): Removed.
1063 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1064 (CFLAGS-dl-support.c): Removed.
1066 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
1068 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1069 instead of appending it to the main map's rpath info.
1070 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1071 DT_RPATHs. This makes it effective again.
1072 (decompose_rpath): Remove second parameter, callers changed.
1073 (fillin_rpath): Allocate enough space in curwd.
1074 (expand_dynamic_string_token): Cope with get_origin returning -1.
1076 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1078 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1081 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1084 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1086 * locale/programs/locale.c: Update dates.
1088 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
1090 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
1091 size_t is defined. Some reordering of defenitions to make
1092 maintaining this file in parallel with the linux-specific file easier.
1094 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
1096 * io/pwd.c (main): Add call to mtrace.
1098 * malloc/mtrace.pl: Quote @ in string.
1100 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1102 * posix/wordexp.c (parse_arith): Fix memory leaks.
1103 (exec_comm): Likewise.
1104 (parse_param): Likewise.
1105 (wordexp): Likewise.
1106 (exec_comm): Reduce number of function return points.
1107 (parse_param): Likewise.
1108 (wordexp): Likewise.
1110 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
1112 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1113 yield three fields, not two. Test both parameter expansion and
1114 command substitution for correct field-splitting behaviour.
1116 * posix/wordexp.c (w_emptyword): New function.
1117 (parse_param): Use it.
1118 (exec_comm): Likewise, for consistency with the way parse_param
1120 (parse_param): Fix some memory leaks.
1122 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
1124 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1125 Don't mark asm `volatile'.
1126 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1127 from the data cache too. Assume it isn't in the instruction cache yet.
1128 (__elf_machine_fixup_plt): Clear the modified address from the caches.
1130 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1132 * sysdeps/generic/segfault.c (install_handler): Install signal
1133 handler with SA_ONSTACK instead of setting the stack flags to
1134 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
1137 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1139 * signal/signal.h: Fix multiple inclusion guard to cover the
1141 * wcsmbs/wchar.h: Remove prototype of internal function
1143 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1144 arithmetic on `void *'.
1146 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
1148 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
1150 * posix/wordexp.c (wordexp): Perform word-splitting instead of
1151 field-splitting here.
1152 (wordexp): If out of memory mid-word, free the word (but still
1153 leave pwordexp alone for caller to see).
1154 (parse_param): Allow for zero-length fields (smarter checking of
1155 memory allocation failure).
1156 (w_addword): Convert NULL words to "".
1157 (wordexp): Convert left-over IFS characters to blanks (like bash).
1159 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1161 * configure.in: Use test -f instead of test -e.
1162 Patch by John Tobey <jtobey@banta-im.com>.
1164 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1165 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1166 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1167 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1168 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1169 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1170 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1171 Patches by John Tobey <jtobey@banta-im.com>.
1173 * time/strftime.c (my_strftime): Delay use of *tp values until
1174 latest possible point to allow partly initialized structures
1175 (e.g., from strptime).
1177 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1179 Define *-routines variables for new modules.
1180 (distribute): Add .c files for new modules.
1181 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1183 Add rules for header generation.
1184 * iconvdata/gconv-modules: Add entries for new modules.
1185 * iconvdata/iso_10367-box.c: New file.
1186 * iconvdata/mac-is.c: New file.
1187 * iconvdata/nats-dano.c: New file.
1188 * iconvdata/nats-sefi.c: New file.
1190 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
1192 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1193 loader if PIC is not defined.
1195 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1197 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1198 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1199 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1201 Define *-routines variables for new modules.
1202 (distribute): Add .c files for new modules.
1203 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1204 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1205 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1206 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
1207 Add rules for header generation.
1208 * iconvdata/gconv-modules: Add entries for new modules.
1209 * iconvdata/csn_369103.c: New file.
1210 * iconvdata/cwi.c: New file.
1211 * iconvdata/dec-mcs.c: New file.
1212 * iconvdata/ecma-cyrillic.c: New file.
1213 * iconvdata/gost_19768-74.c: New file.
1214 * iconvdata/greek-ccitt.c: New file.
1215 * iconvdata/greek7-old.c: New file.
1216 * iconvdata/greek7.c: New file.
1217 * iconvdata/inis-8.c: New file.
1218 * iconvdata/inis-cyrillic.c: New file.
1219 * iconvdata/inis.c: New file.
1220 * iconvdata/iso6937-2.c: New file.
1221 * iconvdata/iso_2033.c: New file.
1222 * iconvdata/iso_5427-ext.c: New file.
1223 * iconvdata/iso_5427.c: New file.
1224 * iconvdata/iso_5428.c: New file.
1226 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1228 Convert U02dd correctly.
1230 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
1232 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1233 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1234 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1235 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1237 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1239 * resolv/res_init.c (res_init): Handle resolv.conf file with only
1240 one nameserver correctly. Patch by HJ Lu.
1242 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1244 Define *-routines variables for new modules.
1245 (distribute): Add .c files for new modules.
1246 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1247 Add rules for hedaer generation.
1248 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
1249 * iconvdata/ansi_x3.110.c: New file.
1250 * iconvdata/asmo_449.c: New file.
1251 * iconvdata/baltic.c: New file.
1252 * iconvdata/iec_p27-1.c: New file.
1254 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1256 Convert U02dc correctly.
1258 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1259 * math/atest-exp2.c: Likewise.
1260 * math/atest-sincos.c: Likewise.
1262 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1265 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1267 * string/strcoll.c: Optimize a few expressions.
1268 * string/strxfrm.c: Likewise.
1270 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1272 * manual/locale.texi: Fix typos.
1274 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
1276 * stdlib/random_r.c (__setstate_r): Allow call with same state
1277 array as currently used (PR libc/774).
1279 * include/limits.h: Include gcc's header even if this file is
1280 found more than once before it (PR libc/778)
1282 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1283 (sysdep_headers): Remove sys/debugreg.h.
1284 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1285 (sysdep_headers): Add sys/debugreg.h.
1286 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1287 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1289 * stdio-common/tmpnam.c: Move local static variable buf to
1290 toplevel and rename to tmpnam_buffer to ease debugging.
1291 Patch by Joe Keane <jgk@jgk.org>.
1292 Optimize s == NULL case a bit.
1294 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1297 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
1299 * resolv/res_init.c (res_init): Initialize _res.nscount and
1300 _res.nsaddr.sin_port differently for the can when no loopback
1301 is available to allow immediate timeout in non-networking environments.
1302 Patch by Cristian Gafton <gafton@redhat.com>.
1304 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1306 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1307 BAR and not EM DASH.
1308 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1309 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1312 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
1314 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1316 * timezone/tst-timezone.c (tests): Fix typo in last patch.
1318 * time/tzfile.c (__tzfile_read): Handle case when there are no
1319 transitions. Set __timezone based on computed offset.
1320 * time/tzset.c (tzset_internal): Set __timezone before returning.
1322 * time/tzset.c (tzset_internal): Optimize handling of local string
1325 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1327 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1330 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
1332 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1333 (csqrt_test): Likewise.
1334 * sysdeps/powerpc/bits/fenv.h: Add parens.
1336 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
1338 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1339 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1340 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1342 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
1344 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1345 the special `-1' pointer.
1347 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
1349 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1352 1998-09-07 Paul Eggert <eggert@twinsun.com>
1354 * time/mktime.c (__EXTENSIONS__): Define if not defined.
1355 (_REENTRANT): Remove. It has undesirable consequences in
1356 Solaris 2.6 (e.g. it turns off the putc macro). Defining
1357 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1359 * time/strftime.c: Likewise.
1361 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1363 * elf/dl-error.c: Fix spelling.
1365 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1367 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1368 * stdio-common/_itoa.c: Likewise.
1369 * stdio-common/printf_fp.c: Likewise.
1370 * stdio-common/vfscanf.c: Likewise.
1371 * wcsmbs/wcstok.c: Likewise.
1372 * sysdeps/generic/glob.c: Likewise.
1373 * posix/getopt.c: Likewise.
1374 * sysdeps/posix/getaddrinfo.c: Likewise.
1375 * posix/wordexp.c: Likewise.
1376 * io/ftw.c: Likewise.
1377 * io/fts.c: Likewise.
1378 * misc/getpass.c: Likewise.
1379 * iconv/gconv_conf.c: Likewise.
1380 * argp/argp-fmtstream.c: Likewise.
1381 * argp/argp-help.c: Likewise.
1382 * elf/dl-load.c: Likewise.
1383 * locale/programs/stringtrans.c: Likewise.
1384 * catgets/gencat.c: Likewise.
1385 * posix/getconf.c: Likewise.
1386 * iconv/gconv_conf.c: Likewise.
1387 * iconv/iconv_prog.c: Likewise.
1389 * string/strcoll.c: Optimize a few expressions.
1390 * string/strxfrm.c: Likewise.
1392 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1394 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1395 level to avoid uninit variable warning.
1397 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1399 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1400 instead of _dl_default_scope[2] as argument to _dl_init_next.
1402 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1405 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
1407 Fix compatibility problems introduced in last change.
1408 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1410 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1411 -DWEAK_GMON_START to CFLAGS-initfini.s.
1413 * elf/dl-object.c (_dl_new_object): Store map address in
1414 _dl_loaded if _dl_loaded is NULL.
1415 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1417 * sysdeps/generic/setrlimit64.c: Remove stub warning.
1419 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
1421 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1423 * db2/btree/bt_cursor.c: Likewise.
1424 * db2/common/db_region.db_c: Likewise.
1425 * db2/common/db_salloc.db_c: Likewise.
1426 * db2/db/db.c: Likewise.
1427 * db2/db/db_rec.c: Likewise.
1428 * db2/hash/hash.c: Likewise.
1429 * db2/hash/hash_page.c: Likewise.
1430 * db2/hash/hash_rec.c: Likewise.
1431 * db2/log/log_findckp.c: Likewise.
1432 * db2/log/log_get.c: Likewise.
1433 * db2/log/log_put.c: Likewise.
1434 * db2/mp/mp_fget.c: Likewise.
1435 * db2/mp/mp_fput.c: Likewise.
1436 * db2/mp/mp_region.c: Likewise.
1437 * stdlib/strtol.c: Likewise.
1438 * string/strcoll.c: Likewise.
1439 * string/strxfrm.c: Likewise.
1440 * argp/argp-help.c: Likewise.
1441 * argp/argp-parse.c: Likewise.
1442 * resolv/res_debug.c: Likewise.
1444 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
1446 * math/tgmath.h (scalb): Only define for __USE_MISC or
1447 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1449 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1451 * libio/stdio.h: Fix comment.
1453 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1456 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1458 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1460 * elf/dl-open.c: Quiet -Wparentheses warnings.
1461 * iconvdata/johab.c: Likewise.
1462 * iconvdata/uhc.c: Likewise.
1463 * inet/inet_net.c: Likewise.
1464 * io/fts.c: Likewise.
1465 * locale/newlocale.c: Likewise.
1466 * misc/getttyent.c: Likewise.
1467 * misc/mntent_r.c: Likewise.
1468 * misc/ttyslot.c: Likewise.
1469 * nscd/nscd_conf.c: Likewise.
1470 * nss/nsswitch.c: Likewise.
1471 * resolv/gethnamaddr.c: Likewise.
1472 * resolv/nsap_addr.c: Likewise.
1473 * resolv/res_debug.c: Likewise.
1474 * stdio-common/_itoa.c: Likewise.
1475 * stdlib/strtod.c: Likewise.
1476 * string/strverscmp.c: Likewise.
1477 * sunrpc/svc.c: Likewise.
1478 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1479 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1480 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1481 * sysdeps/posix/getaddrinfo.c: Likewise.
1483 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1485 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1486 for use of global scope.
1487 * elf/dlvsym.c (dlvsym_doit): Likewise.
1489 1998-09-02 Paul Eggert <eggert@twinsun.com>
1491 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1492 copy the redundant bytes at the end of the format as-is; don't
1493 just copy their first byte and then rescan, as that might get
1494 us an encoding error.
1495 Account correctly for the length of multibyte sequences in the
1498 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
1500 * posix/wordexp-test.c: Add tests for different IFS values.
1501 Change unquoted-newline test so that newline is not in IFS.
1503 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1504 determining IFS characters. Return WRDE_BADCHAR for unquoted
1505 special characters _except_ if they are separators.
1507 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
1509 * include/tgmath.h: New file.
1511 * libio/stdio.h: Correct reversed #ifs.
1512 Patch by Zack Weinberg.
1514 * manual/creature.texi: Better explain reason for feature select
1516 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1518 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1520 * include/alloca.h: Add multiple-inclusion guard.
1521 * include/db.h: Likewise.
1522 * include/db_185.h: Likewise.
1523 * include/dlfcn.h: Likewise.
1524 * include/fcntl.h: Likewise.
1525 * include/grp.h: Likewise.
1526 * include/libintl.h: Likewise.
1527 * include/mntent.h: Likewise.
1528 * include/pwd.h: Likewise.
1529 * include/sched.h: Likewise.
1530 * include/search.h: Likewise.
1531 * include/setjmp.h: Likewise.
1532 * include/shadow.h: Likewise.
1533 * include/signal.h: Likewise.
1534 * include/stdio.h: Likewise.
1535 * include/stdlib.h: Likewise.
1536 * include/string.h: Likewise.
1537 * include/termios.h: Likewise.
1538 * include/time.h: Likewise.
1539 * include/ulimit.h: Likewise.
1540 * include/utmp.h: Likewise.
1541 * include/wchar.h: Likewise.
1542 * include/sys/file.h: Likewise.
1543 * include/sys/gmon.h: Likewise.
1544 * include/sys/ioctl.h: Likewise.
1545 * include/sys/mman.h: Likewise.
1546 * include/sys/resource.h: Likewise.
1547 * include/sys/select.h: Likewise.
1548 * include/sys/socket.h: Likewise.
1549 * include/sys/statfs.h: Likewise.
1550 * include/sys/time.h: Likewise.
1551 * include/sys/times.h: Likewise.
1552 * include/sys/wait.h: Likewise.
1554 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
1556 * version.h (VERSION): Bump to 2.0.96.
1558 Rewrite runtime linker to be truly thread-safe. There is now no
1559 global variable specifying the scope. We create all needed
1560 scopes at the time the link maps are created.
1561 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1562 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1563 l_symbolic_searchlist, l_scope, and l_local_scope elements in
1565 * elf/dl-close.c: Rewritten accordingly.
1566 * elf/dl-deps.c: Likewise.
1567 * elf/dl-error.c: Likewise.
1568 * elf/dl-init.c: Likewise.
1569 * elf/dl-load.c: Likewise.
1570 * elf/dl-lookup.c: Likewise.
1571 * elf/dl-object.c: Likewise.
1572 * elf/dl-open.c: Likewise.
1573 * elf/dl-reloc.c: Likewise.
1574 * elf/dl-runtime.c: Likewise.
1575 * elf/dl-support.c: Likewise.
1576 * elf/dl-symbol.c: Likewise.
1577 * elf/dl-version.c: Likewise.
1578 * elf/dlsym.c: Likewise.
1579 * elf/dlvsym.c: Likewise.
1580 * elf/ldsodefs.h: Likewise.
1581 * elf/rtld.c: Likewise.
1582 * iconv/gconv_dl.c: Likewise.
1583 * nss/nsswitch.c: Likewise.
1584 * sysdeps/i386/dl-machine.h: Likewise.
1585 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1587 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1588 Define RTLD_DEFAULT.
1590 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
1592 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1593 __getopt_clean_environment with __environ instead of envp.
1595 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
1597 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1599 * string/argz-extract.c (__argz_extract): Add de-consting cast for
1602 * string/argz.h (argz_next): Add de-consting cast for return.
1603 * string/argz-next.c (__argz_next): Likewise.
1605 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1606 Don't add netinet/udp.h, netinet/ip_icmp.h here.
1607 * sysdeps/gnu/Makefile: Do it here instead.
1608 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1609 * sysdeps/gnu/Dist: ... to here.
1611 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1612 sysdeps/unix/sysv/linux/netinet/tcp.h,
1613 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1615 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1617 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1618 * string/argz-next.c, string/argz-extract.c: Fix defns.
1620 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1622 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1624 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1625 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1626 * sysdeps/generic/sysd-stdio.c: Likewise.
1628 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
1630 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1631 (_dl_map_object_from_fd): Make NAME argument const.
1632 Remove last parameter in _dl_new_object call.
1633 (print_search_path): Correct construction of composed path name.
1634 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1635 Remove last parameter in _dl_new_object call.
1636 * elf/dl-object.c: Remove last parameter. Determine whether create
1637 origin entry based on empty realname. Handle file in root directory
1639 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1640 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1641 Remove last parameter in _dl_new_object call.
1642 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1643 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1645 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
1647 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1648 Free l_searchlist and l_dupsearchlist.
1650 * debug/catchsegv.sh: Add one more pair of quotes.
1652 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1654 * elf/dl-load.c (add_name_to_object): Change return type to void and
1655 make NAME parameter const. Allocate room for NAME in same memory
1656 block used for l_libname entry.
1657 (_dl_map_object_from_fd): Don't free NAME on failure.
1658 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1659 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1660 _dl_map_object_from_fd.
1661 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1662 memory block used for l_libname entry.
1663 * elf/dl-close.c: Adjust free()ing for this change.
1665 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1667 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1669 * malloc/mtrace.c: Add bug report address. Update email address.
1670 Add more @XXX@ to print correct address size.
1672 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1675 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1676 for munmap call instead of examining phdr again.
1677 Free all malloc()ed strings and arrays.
1679 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1681 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1683 * sysdeps/powerpc/dl-machine.c: New file.
1684 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1685 files. Revise ELF_PREFERRED_ADDRESS to take account of
1686 the new mapping information (fixes bug involving huge bloated
1687 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1688 * sysdeps/powerpc/dl-start.S: New file.
1690 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1692 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1693 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1694 others. Call elf_dynamic_do_##reloc only once (to save even more
1696 * elf/link.h: Add new members l_map_start and l_map_end to keep
1697 track of the memory map.
1698 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1701 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1703 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1704 Reported by Andreas Jaeger.
1706 * posix/glob.h: Use __size_t instead of size_t in definitions and
1707 make sure this is defined.
1709 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1711 * manual/locale.texi: Almost complete rewrite. Document more functions
1713 * manual/arith.texi: Correct reference.
1714 * manual/string.texi: Pretty printing.
1716 * manual/texinfo.tex: Update from last available version.
1718 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1720 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1722 (_nss_nis_getpwuid_r): Likewise.
1723 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1725 * inet/rcmd.c: Implement netgroup support.
1726 Patch by Dick Streefland <dick_streefland@tasking.com>.
1728 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1730 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1731 object on the list is removed. Don't use this code for PIC.
1732 Reported by HJ Lu [PR libc/770].
1734 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1736 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1738 * include/stdio.h: Add __vsscanf.
1740 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1742 Remove __vsscanf declaration.
1743 Always declare fgetpos and fsetpos.
1745 * math/math.h: Define isinf as macro.
1746 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1747 Don't declare scalb for ISO C 9x.
1749 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1751 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1753 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1756 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1759 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1761 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1762 Reported by jreising@frequentis.com [PR libc/767].
1764 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1766 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1767 fl.l_start at beginning of function.
1768 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1770 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1772 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1773 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1775 * nscd/nscd.init: Make it work in RedHat systems.
1776 Patch by Christian Gafton.
1778 1998-08-29 Philip Blundell <philb@gnu.org>
1780 * catgets/Makefile: Don't try to run test programs when
1783 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1785 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1786 Reported by Zack Weinberg.
1788 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1790 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1791 * elf/Makefile (distribute): Remove ldd.sh.in.
1793 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1795 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1798 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
1800 * sysdeps/i386/register-dump.h: Move to ...
1801 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1803 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1805 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1806 with load address, not map address.
1807 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1808 parameter and use this value.
1809 * sysdeps/arm/dl-machine.h: Likewise.
1810 * sysdeps/i386/dl-machine.h: Likewise.
1811 * sysdeps/m68k/dl-machine.h: Likewise.
1812 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1814 * sysdeps/powerpc/dl-machine.h: Likewise
1815 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1816 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1818 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1820 * elf/rtld.c (process_envvars): Fix copy&paste error.
1822 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1824 (realloc_hook_ini): Don't overwrite memalign hook.
1825 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1826 Reported by Philippe Troin <phil@fifi.org>.
1828 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1829 Patch by Philippe Troin <phil@fifi.org>.
1831 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1833 * sysdeps/generic/segfault.c (install_handler): Protect the
1834 non-POSIX signals with #ifdef.
1835 (catch_segfault): Add missing mode parameter for open.
1836 * debug/catchsegv.sh: Avoid termination message from shell. Allow
1837 other termination signals.
1839 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1841 * debug/Makefile (distribute): Add register-dump.h.
1843 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1845 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1847 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
1849 * elf/Makefile (distribute): Add dl-origin.h.
1850 * sysdeps/generic/dl-origin.h: New file.
1851 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1852 * elf/link.h (struct link_map): Add l_origin field.
1853 * elf/dl-load.c (expand_dynamic_string_token): New function.
1854 (decompose_path): Remove WHERE argument, take link map pointer instead.
1855 Call expand_dynamic_string_token instead of local_strdup to make copy
1857 (_dl_init_paths): Call decompose_path with correct argument.
1858 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1860 Check EI_OSABI and EI_ABIVERSION fields in header.
1861 Call _dl_new_object with extra argument.
1862 (_dl_map_object): Call decompose_path with correct argument.
1863 Call expand_dynamic_string_token instead of local_strdup to also
1865 Call _dl_new_object with extra argument.
1866 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1867 but the main one if new argument is nonzero.
1868 * elf/ldsodefs.h: Adjust for _dl_new_object change.
1869 * elf/dl-support.c: Define _dl_origin_path.
1870 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
1871 (dl_main): Call _dl_new_object with extra argument.
1873 * elf/dl-close (_dl_close): Free l_name and l_origin.
1875 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1876 modifier in asm, not c.
1878 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1879 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1881 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
1883 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1884 variable so that map can be freed.
1885 Reported by Philippe Troin <phil@fifi.org>.
1887 * elf/dl-open.c (dl_open_worker): Correct test for extending global
1889 Patch by Philippe Troin <phil@fifi.org>.
1891 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1893 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
1894 Don't call writev() with a 100-element vector.
1895 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1898 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1899 In particular, set __libc_stack_end.
1900 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1901 undefined. Fix copyright notice.
1903 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1905 * math/Makefile (gmp-objs): New variable.
1906 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1908 (tests): Add atest-exp atest-sincos atest-exp2.
1909 (tests-static): Remove atest-exp atest-sincos atest-exp2.
1911 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
1913 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1915 (_dl_unload_cache): New function.
1916 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1917 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1918 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1920 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1921 Correct comment for O_LARGEFILE.
1922 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1923 Change O_LARGEFILE to correct value.
1925 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
1927 * libio/iogetline.c (_IO_getline_info): Don't read anything for
1928 N == 0. Patch by HJ Lu.
1930 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
1932 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1934 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1936 * argp/argp.h: Use __inline__ not inline.
1938 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1939 an input register as being clobbered.
1940 * sysdeps/i386/memset.c (memset): Likewise.
1941 * sysdeps/i386/bzero.c (__bzero): Likewise.
1942 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1944 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1946 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1947 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1949 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
1951 * debug/catchsegv.sh: Handle text preceding backtrace better.
1952 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
1953 to be installed for other signals than SIGSEGV.
1954 * sysdeps/generic/register-dump.h: New file.
1955 * sysdeps/i386/register-dump.h: New file.
1956 * sysdeps/powerpc/register-dump.h: New file.
1958 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1960 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1962 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1964 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1966 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1968 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1969 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1970 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1971 getresuid, getresgid.
1973 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1975 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1976 pointer in userland.
1978 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1980 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1983 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1985 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1986 over arguments Bourne shell compatible. Don't exit unsuccessfully
1987 if nonelf returns successfully. Avoid duplicating most of the
1989 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1992 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1994 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1996 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1997 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1999 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2001 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2002 __modify_ldt and modify_ldt.
2003 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2005 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2006 Use orl $-1 instead of movl $-1 to save two bytes.
2007 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2010 1998-08-17 H.J. Lu <hjl@gnu.org>
2012 * libio/Versions (_IO_do_write, _IO_file_attach,
2013 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2014 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2015 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2016 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2018 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2019 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2020 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2021 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2022 _IO_file_write, _IO_file_xsputn): Change the prefix to
2023 "_IO_new_". Added to GLIBC_2.1.
2025 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2026 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2027 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2028 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2029 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2032 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2033 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2034 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2035 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2036 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2038 1998-08-23 Richard Henderson <rth@cygnus.com>
2040 * Makeconfig (LDFLAGS): Remove.
2042 * csu/initfini.c: Return to .text before __gmon_start__.
2044 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2045 (STO_MIPS_*): Rename from STO_*.
2046 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2047 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2049 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2050 (main): e3s is negative on zero.
2051 * math/atest-exp2.c: Likewise.
2052 * math/atest-sincos.c: Likewise.
2054 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2056 * Makerules (install): Add comment about absolute paths.
2058 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2060 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2061 array to NUL to handle maxlen==1 case correctly.
2064 1998-08-23 Richard Henderson <rth@cygnus.com>
2066 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2067 * sysdeps/alpha/elf/crtend.S: Likewise.
2068 * sysdeps/alpha/elf/start.S: Likewise.
2070 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2071 non-standard pv usage.
2073 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2074 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2075 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2076 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2077 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2078 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2079 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2080 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2081 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2082 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2083 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2085 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2086 a finite non-denormal, deferring to the full IEEE version otherwise.
2088 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2089 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
2090 * sysdeps/alpha/fpu/s_floor.c: New.
2091 * sysdeps/alpha/fpu/s_floorf.c: New.
2092 * sysdeps/alpha/fpu/s_ceil.c: New.
2093 * sysdeps/alpha/fpu/s_ceilf.c: New.
2095 1998-08-22 Philip Blundell <philb@gnu.org>
2097 * sysdeps/arm/bits/string.h: New file.
2099 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2101 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2104 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2105 test for recent Linux 2.1.100+ headers.
2107 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2109 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2111 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
2113 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2115 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2117 * Makefile (elf/ldso_install): Put back. The problem still persists.
2118 * elf/Makefile (ldso_install): Likewise.
2120 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2122 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2124 * include/db.h: Declare __nss_db_open.
2125 * db2/Versions: Export it.
2127 * db2/makedb.c: Convert to use db2 API.
2128 * nss/nss_db/db-XXX.c: Likewise.
2129 * nss/nss_db/db-netgrp.c: Likewise.
2130 * nss/nss_db/db-alias.c: Likewise.
2131 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2133 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2135 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2136 sys_setresuid, already built automatically (or not).
2137 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2138 instead of __syscall_setresuid and add back setresuid.
2139 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2140 __syscall_setresuid.
2142 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2144 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2146 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2148 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2149 BASH-ONLY marked region.
2150 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2152 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2154 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2157 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2159 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
2162 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
2164 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2165 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2166 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2167 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2168 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2169 those magic comments, and to use /bin/sh for @BASH@.
2170 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2171 * elf/ldd.sh.in: File removed.
2173 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
2175 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2176 cast them to unsigned long int.
2177 * pwd/putpwent.c (putpwent): Likewise.
2178 Patch by John Tobey <jtobey@banta-im.com>.
2180 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
2182 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2185 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2187 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2190 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
2192 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2193 Add umount and umount2.
2194 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2195 * sysdeps/unix/sysv/linux/umount.S: New file.
2196 * sysdeps/unix/sysv/linux/umount2.S: New file.
2197 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2200 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2202 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2203 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2205 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2207 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2210 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
2212 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2213 * elf/ldd.bash.in: Likewise.
2215 * elf/sln.c: Avoid warning for no main prototype.
2217 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2219 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2222 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2224 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2225 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2228 1998-08-20 Philip Blundell <pb@nexus.co.uk>
2230 * sysdeps/arm/fpu/ieee754.h: Move to...
2231 * sysdeps/arm/ieee754.h: ... here.
2233 * sysdeps/arm/__longjmp.S: Put return value in correct register.
2234 Don't set the condition flags unnecessarily.
2235 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
2236 registers correctly.
2238 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2239 (patch from Scott Bambrough).
2241 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2243 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2244 NULL, just call it unconditionally.
2245 (__gmon_start__): Provide stub version as a weak symbol.
2247 1998-07-30 Philip Blundell <philb@gnu.org>
2249 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2252 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2253 like `@' in .type directives.
2255 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2256 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2258 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2260 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2262 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2263 (F_GETOWN): Likewise.
2265 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2268 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2270 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2273 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
2275 * include/features.h: Define __USE_EXTERN_INLINES for recent
2277 * argp/argp.h: Define extern inline functions only if
2278 __USE_EXTERN_INLINES is defined.
2279 * libio/stdio.h: Likewise.
2280 * math/math.h: Likewise.
2281 * stdlib/stdlib.h: Likewise.
2282 * string/argz.h: Likewise.
2283 * sysdeps/generic/bits/sigset.h: Likewise.
2284 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2285 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2286 * sysdeps/wordsize-32/inttypes.h: Likewise.
2287 * sysdeps/wordsize-64/inttypes.h: Likewise.
2288 * wcsmbs/wchar.h: Likewise.
2290 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2291 to allow compilation without optimization.
2293 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2295 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2297 * nis/nss_compat/compat-initgroups.c: Likewise.
2298 * nis/nss_compat/compat-pwd.c: Likewise.
2299 * nis/nss_compat/compat-spwd.c: Likewise.
2300 * nis/nss_nis/nis-alias.c: Likewise.
2301 * nis/nss_nis/nis-ethers.c: Likewise.
2302 * nis/nss_nis/nis-grp.c: Likewise.
2303 * nis/nss_nis/nis-hosts.c: Likewise.
2304 * nis/nss_nis/nis-initgroups.c: Likewise.
2305 * nis/nss_nis/nis-network.c: Likewise.
2306 * nis/nss_nis/nis-proto.c: Likewise.
2307 * nis/nss_nis/nis-pwd.c: Likewise.
2308 * nis/nss_nis/nis-rpc.c: Likewise.
2309 * nis/nss_nis/nis-service.c: Likewise.
2310 * nis/nss_nis/nis-spwd.c: Likewise.
2312 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2314 * nis/ypclnt.c: Try binding dir only first time, could be to old.
2316 * nis/yp_xdr.c: Remove 1024 byte limit.
2317 * nis/ypupdate_xdr.c: Likewise.
2319 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2322 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
2324 * Rules (binaries-static, binaries-shared static pattern rules):
2325 Depend on lib%, not just libc%, from $(link-libc{,-static}).
2327 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2328 this here, overriding Makeconfig generic value so we link against
2331 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
2333 * posix/tstgetopt.c (options): Add NULL entry at end
2334 Patch by Adrian Miranda <ade@psg.com>.
2336 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
2338 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
2341 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
2343 * elf/elf.h: Add PPC Diab relocations.
2345 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2347 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
2349 * manual/texinfo.tex: Update.
2351 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
2353 * sysdeps/powerpc/backtrace.c: New file.
2355 1998-08-14 Philip Blundell <pb@nexus.co.uk>
2357 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2359 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2361 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2363 * Makefile (install-symbolic-link): Fix spelling.
2365 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2367 * elf/elf.h (SHT_HIOS): Fix value.
2369 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2371 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2372 part of the expansion, this is undefined by the standard.
2374 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
2376 * posix/getconf.c: Add support for systems with incomplete confname.h.
2378 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2380 * sysdeps/posix/wait3.c: Make it work.
2382 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2384 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2385 (elf/ldso_install): Remove.
2387 * elf/Makefile (distribute): Add sln.c.
2389 (others-static): Add sln.
2390 (install-rootsbin): Add sln.
2391 (others-static): Add sln.
2392 (ldso_install): Remove.
2394 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2396 * Makerules (install-clean-symbolic-link-list): Make phony.
2397 * Makefile (install-symbolic-link): Make phony. Depend on
2398 subdir_install for parallel makes.
2401 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
2403 * elf/Makefile (distribute): Add sln.c
2405 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
2407 * elf/sln.c: New file.
2409 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2410 (install-clean-symbolic-link-list): New target.
2411 (install): Depend on install-clean-symbolic-link-list.
2412 (make-shlib-link): Changed for $(symbolic-link-list).
2414 * Makefile (install-symbolic-link): New target.
2415 (install): Depend on install-symbolic-link.
2417 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
2419 * include/unistd.h: Protect against multiple inclusion.
2421 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2422 is defined, not is glob is defined.
2423 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2425 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
2427 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2428 xdr_string for ut_line, ut_name and ut_host.
2430 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2432 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2433 /var/mail in accordance with FHS 2.0.
2434 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2436 1998-08-12 Richard Henderson <rth@cygnus.com>
2438 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2439 Update aliases for cancelation.
2441 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2442 playing with symbol versions.
2444 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2446 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2447 multiple inclusion protection.
2448 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2449 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2450 define all these to 1.
2451 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2453 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2455 * sysdeps/mach/usleep.c: Include <unistd.h>.
2456 (usleep): Return void.
2458 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2460 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2461 decl to inhibit warning in if_freenameindex defn.
2463 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2465 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2467 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2468 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2469 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2470 * sysdeps/mach/usleep.c: Likewise.
2472 * sysdeps/mach/hurd/bind.c (bind): Add a const.
2474 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2475 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2476 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2477 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2478 * sysdeps/mach/usleep.c (usleep): Likewise.
2479 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2480 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2481 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2482 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2484 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2486 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2489 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2490 %p arg to fprintf, since `void *' is the right type already.
2492 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2494 * sysdeps/mach/hurd/getcwd.c
2495 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2496 for unknown root directories.
2497 (__getcwd): Return NULL when the current root directory could not
2500 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
2502 * string/strsignal.c (strsignal): Count real-time signals from zero.
2505 See ChangeLog.8 for earlier changes.