1 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
3 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
4 (dl_open_worker): Use realloc, not malloc to resize array.
5 * elf/rtld.c (_dl_initial_searchlist): New variable.
6 (_dl_main): Copy content of _dl_main_searchlist to
7 _dl_initial_searchlist.
8 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
9 _dl_global_scope_alloc.
10 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
11 * elf/dl-close.c (_dl_close): When removing object with global
12 scope remove allocated searchlist if no dynamically loaded object
14 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
15 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
17 * malloc/mtrace.c (tr_where): Don't print space in location string,
18 print it afterwards. Print better symbol name information.
20 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
22 * manual/filesys.texi (Setting Permissions): Fix example for
25 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
27 * elf/sprof.c (load_profdata): Fix typo in error message.
29 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
31 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
34 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
36 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
38 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
40 * version.h (VERSION): Bump to 2.0.97.
42 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
44 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
45 in definitions of inline stat functions so that they match the
47 * stdlib/stdlib.h: Likewise.
48 * wcsmbs/wchar.h: Likewise.
49 * libio/stdio.h: Likewise.
50 * stdio/stdio.h: Likewise.
51 * sysdeps/wordsize-64/inttypes.h: Likewise.
52 * sysdeps/wordsize-32/inttypes.h: Likewise.
53 * string/argz.h: Likewise.
54 * argp/argp.h: Likewise.
56 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
58 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
61 1998-10-05 Philip Blundell <philb@gnu.org>
63 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
64 and constants. Tidy up formatting a little.
66 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
67 Move definitions to in.h.
69 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
71 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
72 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
73 Remove inclusion of <linux/swap.h>.
75 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
77 * io/sys/stat.h: Use __P in definitions of inline stat functions
78 so that they match the declaration.
80 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
82 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
84 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
86 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
89 1998-10-02 Philip Blundell <pb@nexus.co.uk>
91 * sysdeps/arm/dl-machine.h: Fix typo in last change.
93 * sysdeps/arm/bits/huge_val.h: New file.
95 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
97 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
99 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
102 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
104 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
105 store result of realloc instead of using BUF.
107 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
109 * misc/sgtty.h (_SGTTY_H): Correct spelling.
110 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
112 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
114 * manual/memory.texi (Obstacks): Document
115 obstack_alloc_failed_handler usage.
117 * malloc/obstack.h: Enhance comment about
118 obstack_alloc_failed_handler usage.
119 * malloc/obstack.c: Likewise.
121 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
123 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
124 gcc before 2.8 is used.
126 1998-10-01 Philip Blundell <pb@nexus.co.uk>
128 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
129 from Scott Bambrough.
131 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
133 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
134 include the lock member.
136 1998-09-03 Philip Blundell <pb@nexus.co.uk>
138 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
140 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
142 * timezone/zic.c: Update from tzcode1998h.
143 * timezone/europe: Update from tzdata1998i.
144 * timezone/southamerica: Likewise.
146 * sys/types.h: Protect use of long long by __extension__.
147 * stdlib/stdlib.h: Likewise.
148 * string/string.h: Likewise.
149 * sysdeps/i386/bits/byteswap.h: Likewise.
150 * sysdeps/geeric/bits/byteswap.h: Likewise.
151 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
152 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
153 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
154 * sysdeps/wordsize-32/inttypes.h: Likewise.
155 * sysdeps/wordsize-32/stdint.h: Likewise.
156 * wcsmbs/wchar.h: Likewise.
158 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
160 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
162 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
163 __strsep): Greatly reduce size of expansion by combining common
165 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
167 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
168 by the above definitions.
170 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
172 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
173 correct struct ipc_perm definition.
175 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
177 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
179 1998-09-29 Cristian Gafton <gafton@redhat.com>
181 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
182 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
183 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
184 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
187 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
189 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
191 * nis/ypclnt.c: Remove not needed close calls.
193 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
195 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
196 check a bit. Also close socket of domain client. Close socket
197 in IPPORT_RESERVED error case.
199 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
201 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
202 CMSG_ALIGN (fixes a bug) and correct test for availability of
204 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
206 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
207 availability of another entry.
210 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
213 * libio/libio.h [!__STDC__]: Define const only if not defined.
215 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
217 * posix/annexc.c (xsystem): New function. Use it instead of
220 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
222 * stdlib/longlong.h: Remove #endif for #if removed in last change.
224 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
226 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
227 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
228 allow using `ut' parameter.
229 [!emacs]: Define ut_argument, ut_argument_spec, and
230 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
231 argument_spec to prototypes and definitions.
232 (my_strftime): Don't call tzset of ut != 0.
233 Compute diff as 0 is ut != 0;
234 [emacs]: Define new emacs_strftime function.
235 Based on a patch by Paul Eggert.
237 1998-09-24 Paul Eggert <eggert@twinsun.com>
239 * time/strftime.c (my_strftime): When asking for the length of the
240 subformatted buffer, do not limit the length to look for;
241 otherwise, we have no reliable way to distinguish between the
242 empty buffer and an error.
244 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
246 * math/Makefile (gmp-objs): Add mp_clz_tab.
248 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
250 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
252 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
253 cpus lacking hardware multiply and divide.
255 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
257 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
260 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
262 * db/btree/bt_delete.c: Fix -Wparentheses warning.
264 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
266 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
269 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
271 * debug/catchsegv.sh: Also produce output if clone process died.
273 1998-09-24 Paul Eggert <eggert@twinsun.com>
275 * time/strftime.c (f_wkday): Remove duplicate definition.
276 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
277 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
278 1998-09-11 fix to this case.
279 (wkday_len, month_len): Remove these macros; they're no longer needed.
281 1998-09-24 Paul Eggert <eggert@twinsun.com>
283 * time/strftime.c (my_strftime): Don't store past the end of a
286 1998-09-24 Paul Eggert <eggert@twinsun.com>
288 * time/strftime.c (underlying_strftime):
289 Set the buffer to a nonzero value before calling
290 strftime, and check to see whether strftime has set the buffer to zero.
291 This lets us distinguish between an empty buffer and an error.
293 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
295 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
296 This fix is propagated from tzcode1998g.tar.gz.
298 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
300 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
301 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
302 sys_siglist. This is handled correctly by the weak_alias macro.
304 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
306 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
307 of mempcpy. Reported by Andreas Jaeger.
309 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
310 pollute the namespace since the compiler will resolve it inline.
311 Reported by Florian La Roche <florian@suse.de>.
313 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
315 * timezone/private.h: Update from tzcode1998g.
317 * timezone/africa: Update from tzdata1998h.
318 * timezone/asia: Likewise.
319 * timezone/australasia: Likewise.
320 * timezone/europe: Likewise.
321 * timezone/northamerica: Likewise.
322 * timezone/southamerica: Likewise.
323 * timezone/zone.tab: Likewise.
325 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
327 * misc/sys/mman.h: New file.
329 * sysdeps/generic/bits/mman.h: New file.
330 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
331 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
332 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
333 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
335 * sysdeps/generic/sys/mman.h: Removed.
336 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
337 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
338 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
339 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
340 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
342 * include/sys/mman.h: Look directly for misc/sys/mman.h.
343 * misc/Makefile (headers): Add bits/mman.h.
344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
347 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
348 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
349 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
350 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
351 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
352 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
353 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
354 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
356 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
358 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
359 * sysdeps/mach/alpha/thread_state.h: Likewise.
360 * sysdeps/mach/i386/sysdep.h: Likewise.
361 * sysdeps/mach/i386/thread_state.h: Likewise.
362 * sysdeps/mach/mips/sysdep.h: Likewise.
363 * sysdeps/mach/mips/thread_state.h: Likewise.
364 * sysdeps/posix/profil.c: Likewise.
365 * sysdeps/i386/i586/memcopy.h: Likewise.
366 * sysdeps/mach/pagecopy.h: Likewise.
368 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
370 * libio/stdio.h: Define __need_getopt and include getopt.h to define
372 * posix/unistd.h: Likewise.
373 * stdio/stdio.h: Likewise.
374 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
375 define only getopt and the variables.
377 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
379 * scripts/test-installation.pl (installation_problem): Don't link
380 the test program against libdb1.
382 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
384 * Makeconfig (all-subdirs): Add db.
385 * Versions.def: Add definition for libdb1.
386 * shlib-versions: Add definitions for libdb1.
387 * db/Makefile (extra-libs): Replace by libdb1.
388 (libdb-routines): Rename to libdb1-routines.
389 (headers): Rename to db1-headers.
390 (distribute): Add $(db1-headers).
391 (install-others): Define to install symlink libdb.so.NN and the
393 (CPPFLAGS): Add -DUSE_LIBDB1
394 Remove rules to build makedb.
395 * db/Versions: Rename libdb to libdb1.
396 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
397 * db/makedb.c: Removed.
399 * scripts/versions.awk: Recognize digits in library names.
401 * db/btree/bt_open.c: Fix compiler warnings.
402 * db/btree/bt_put.c: Likewise.
403 * db/btree/bt_split.c: Likewise.
404 * db/hash/hash.c: Likewise.
405 * db/hash/hash_bigkey.c: Likewise.
406 * db/recno/rec_close.c: Likewise.
408 * Makefile: Add localedata/% goal.
410 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
412 * posix/execvp.c: Don't give up searching the PATH if execve
415 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
417 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
418 if _dl_fpu_control_set is set.
419 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
420 * elf/rtld.c: Don't define _dl_fpu_control_set.
421 * elf/Versions: Remove _dl_fpu_control_set.
423 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
425 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
426 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
427 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
428 Correct values of other SA_* macros according to kernel headers.
430 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
432 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
434 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
437 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
439 * elf/ldsodefs.h: Fix typo in comment.
441 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
443 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
444 char when comparing buffer contents with putback character.
446 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
448 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
450 * elf/Versions: Undo last change. Export _dl_fpu_control and
452 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
453 variables. Include <fpu_control.h>.
454 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
455 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
456 to indicate that is was seen.
457 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
458 only if _dl_fpu_control was set and is equal to desired value.
459 * math/Makefile (aux): Undo last change.
460 * math/Versions: Export __fpu_control with version GLIBC_2.0.
462 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
464 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
467 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
469 * string/bits/string2.h: Add mempcpy optimization.
470 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
471 * intl/localealias.c: Define mempcpy only if not already defined.
473 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
476 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
478 * csu/abi-note.S: Emit the note directly instead of defining
479 a preprocessor macro that's only used once. Don't include sysdep.h.
480 * abi-tags: Generalize Solaris entry.
482 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
484 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
485 Change to array to avoid runtime relocation.
486 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
488 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
490 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
491 * math/Makefile ($(objpfx)libieee.a): Likewise.
493 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
495 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
496 Patch by John Tobey <jtobey@banta-im.com>.
498 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
500 * login/Makefile (distribute): Remove pty-internal.h, add
503 * stdlib/tst-strtol.c: Add more checks.
504 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
506 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
508 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
509 * elf/elf.h: Add AT_FPUCW.
510 * elf/Makefile (dl-routines): Add fpu_control.
511 (elide-routines.os): Add fpu_control.
512 (rtld-routines): Add fpu_control.
513 * math/Makefile (aux): Remove fpu_control.
514 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
515 (_dl_show_auxv): Likewise.
516 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
517 if different from OS default.
519 * stdio-common/tstscanf.c: Add test case for (nil).
521 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
523 * libio/fileops.c (_IO_new_file_underflow): Before allocating
524 buffer make sure the pushback buffer is destroyed.
525 (_IO_new_file_seekoff): Likewise.
526 If mode==0 quit early with the result.
527 Clear OEF flag after successful fseek.
528 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
529 * libio/ftello.c (ftello): Add offset from original buffer if
530 stream has pushed back characters.
531 * libio/ftello64.c (ftello64): Likewise.
532 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
533 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
534 * libio/ioftell.c (_IO_ftell): Likewise.
535 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
537 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
538 (_IO_default_pbackfail): Only stored push back character in original
539 buffer if it is the same as the one in the file at this position.
540 * libio/iofclose.c: Free backup buffer if one is available.
541 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
544 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
546 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
548 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
550 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
552 * login/programs/pt_chown.c (more_help): Correct message that
553 describes the purpose of the program.
555 * login/openpty.c: Do not include pty-private.h.
556 (pts_name): New function. Return name of slave pseudo terminal in
557 an allocated buffer if necessary.
558 (openpty): Use pts_name to get name of the slave end of the pseudo
561 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
562 pts_name before return.
564 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
566 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
568 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
570 * login/openpty.c: Include pty-private.h instead of
573 1998-09-09 Philip Blundell <pb@nexus.co.uk>
575 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
577 1998-09-07 Philip Blundell <pb@nexus.co.uk>
579 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
580 recent ld.so changes.
581 (elf_machine_runtime_setup): Correct behaviour when profiling.
583 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
585 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
586 Patch by John Tobey <jtobey@banta-im.com>.
588 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
590 * login/pty-internal.h: Removed. Moved constants related to the
591 `grantpt' helper program protocol to ...
592 * login/pty-private.h: ... here. New file.
593 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
594 to make the function work with kernels >= 2.1.115.
595 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
596 version if using the cloning device fails.
597 * sysdeps/unix/sysv/linux/grantpt.c: New file.
598 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
599 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
600 use by Linux specific code.
601 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
602 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
603 function. (grantpt): Use pts_name, check group and permission
604 mode in addition to owner. Try to set the owner, group and
605 permission mode first without invoking the helper program.
606 * login/programs/pt_chown.c: Largely rewritten. Add argp and
607 internationalization support. Use symbolic constants instead of
608 hardwired numbers for permission mode.
609 * sysdeps/unix/bsd/ptsname.c: New file.
611 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
613 * posix/wordexp-test.c: Undo last change.
615 * posix/wordexp.c: Undo last change.
617 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
619 * nscd/grpcache.c (save_grp): Partly undo last change.
621 * nscd/pwdcache.c (save_pwd): Undo last change.
623 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
625 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
626 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
628 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
630 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
631 Add profiling support.
632 (TRAMPOLINE_TEMPLATE): New macro.
633 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
634 (RTLD_START): Prettify, and set __libc_stack_end properly.
635 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
636 and check for sym being NULL instead.
637 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
639 * sysdeps/sparc/sparc64/lshift.S: Likewise.
640 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
641 * sysdeps/sparc/sparc64/rshift.S: Likewise.
642 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
643 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
644 MEDANY code model %g4 usage.
645 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
646 MEDANY code model %g4 usage.
647 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
648 code model address formation.
649 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
650 include elf/ldsodefs.h
652 (elf_machine_matches_host): It is now EM_SPARCV9.
653 (elf_machine_dynamic): Clean up to remove ugly cast.
654 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
656 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
657 Prettify rest of function.
658 [R_SPARC_COPY]: Check for sym being NULL.
659 [R_SPARC_32]: Handle it.
660 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
662 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
664 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
665 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
666 Add profiling support.
667 (TRAMPOLINE_TEMPLATE): New macro.
668 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
669 (RTLD_START): Prettify and set __libc_stack_end.
670 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
672 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
673 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
674 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
675 unused variable scratch.
676 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
677 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
679 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
680 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
681 old format kernel sigaction structures.
682 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
683 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
684 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
685 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
687 (_JMPBUF_UNWINDS): Define.
688 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
689 statfs64 structure, which is exactly the same as the normal one.
690 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
691 of stack. Use correct syscall trap number. Add branch prediction
692 settings to branch instructions. Remove old MEDANY code model %g4
693 referneces for non-PIC.
694 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
695 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
696 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
697 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
699 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
700 __libc_longjmp and __libc_siglongjmp strong aliases.
701 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
702 Also define to __no__readdir64_decl around readdir.c inclusion.
703 (__readdir64): Add strong alias.
704 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
705 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
706 Set strong and weak names properly.
708 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
710 * manual/Makefile (AWK): Default to gawk if standalone.
712 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
714 * Makefile (distribute): Undo last change.
715 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
717 (+subdir-headers): Removed, unused.
719 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
721 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
724 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
726 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
727 absolute name in $(config-sysdirs), can never happen.
728 ($(+sysdir_pfx)sysd-rules): Likewise.
729 * Makeconfig (full-config-sysdirs): Likewise.
730 (all-Subdirs-files): Prepend $(..).
732 * configure.in: Don't check for absolute name in $add_ons_pfx, can
733 not happen. Let --enable-add-ons=yes work if no add-ons actually
736 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
738 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
739 continuations in command.
741 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
743 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
745 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
747 * posix/wordexp-test.c: If expansion or substitution occurs
748 anywhere in a word, the entire word is subject to field-splitting.
750 * posix/wordexp.c (parse_glob): Look for end of word instead of
751 end of field when deciding what to glob.
752 (field_split_word): New function, now the only place where
753 field-splitting is performed.
754 (parse_dollars): New parameter - tell the caller if
755 field-splitting should be performed on this word.
757 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
758 succeeded (or failed with WRDE_NOSPACE).
760 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
762 * posix/wordexp.c (wordexp): Don't convert IFS characters to
765 * posix/wordexp-test.c: Words not the result of expansion or
766 substitution should remain unchanged.
768 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
770 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
771 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
773 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
775 * stdio-common/Makefile: Include Makeconfig so that
776 $(inst_includedir) is defined.
778 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
780 * io/pwd.c: Include <mcheck.h>.
782 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
784 * nscd/pwdcache.c (save_pwd): Correct copying.
785 * nscd/grpcache.c (save_grp): Likewise.
787 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
789 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
790 (free_pwd): Adjust for this change.
791 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
792 (free_grp): Adjust for this change.
794 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
796 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
798 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
800 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
801 (install-others): Add bits/stdio_lim.h.
802 Add rule to install bits/stdio_lim.h.
804 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
806 * Makefile (distribute): Add include/sys/mman.h.
808 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
809 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
810 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
812 * grp/initgroups.c: Include stdlib.h.
813 Patch by Zack Weinberg.
815 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
817 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
818 for field-splitting :abc: is correct, and that two fields should
819 result. Revert tests to reflect this.
821 * posix/wordexp.c (w_emptyword): Remove function.
822 (exec_comm): Don't use w_emptyword.
823 (parse_param): Likewise.
825 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
827 * sysdeps/arm/fpu/Dist: Moved to...
828 * sysdeps/arm/Dist: ...here.
829 * sysdeps/posix/Dist: Removed.
830 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
831 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
833 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
835 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
837 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
839 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
841 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
843 * libc-work/nis/nss_nisplus/nisplus-service.c
844 (_nss_nisplus_parse_servent): Convert port in network byte order.
846 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
848 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
849 to provide only malloc and calloc.
850 * include/stdlib.h: Support the above.
851 * string/bits/string2.h: Use __need_malloc_and_calloc when
853 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
855 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
856 * iconvdata/iso646.c: Include <stdlib.h>.
858 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
860 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
861 * sysdeps/libm-ieee754/w_pow.c: Likewise.
862 * sysdeps/libm-ieee754/w_powf.c: Likewise.
863 * sysdeps/libm-ieee754/w_powl.c: Likewise.
865 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
867 * stdio-common/stdio_lim.h.in: New file. All parameters
868 are adjustable at build time.
869 * Rules: Add a rule to build bits/stdio_lim.h from
870 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
871 all subdirectories know how to make the file. It can't be
872 in Makerules because then it gets built at top level and the
873 dependencies are wrong.)
875 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
876 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
878 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
879 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
880 * sysdeps/posix/Makefile: Removed.
881 * sysdeps/posix/mk-stdiolim.c: Removed.
882 * sysdeps/generic/bits/stdio_lim.h: Removed.
884 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
886 * argp/argp-help.c: Fixup indentation.
887 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
888 * resolv/nss_dns/dns-network.c: Likewise.
889 * resolv/res_send.c: Likewise.
890 * rt/aio_cancel.c: Likewise.
891 * rt/aio_misc.c: Likewise.
893 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
895 * Makefile (install-symbolic-link): Remove the link list file at last.
896 * Makerules (install-clean-symbolic-link-list): Removed.
898 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
900 * timezone/tst-timezone.c: Print time in UTC to get consistent
903 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
905 * elf/rtld.c (_dl_rpath): Removed.
906 * elf/dl-support.c (_dl_path): Removed.
907 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
908 (CFLAGS-dl-support.c): Removed.
910 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
912 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
913 instead of appending it to the main map's rpath info.
914 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
915 DT_RPATHs. This makes it effective again.
916 (decompose_rpath): Remove second parameter, callers changed.
917 (fillin_rpath): Allocate enough space in curwd.
918 (expand_dynamic_string_token): Cope with get_origin returning -1.
920 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
922 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
925 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
928 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
930 * locale/programs/locale.c: Update dates.
932 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
934 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
935 size_t is defined. Some reordering of defenitions to make
936 maintaining this file in parallel with the linux-specific file easier.
938 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
940 * io/pwd.c (main): Add call to mtrace.
942 * malloc/mtrace.pl: Quote @ in string.
944 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
946 * posix/wordexp.c (parse_arith): Fix memory leaks.
947 (exec_comm): Likewise.
948 (parse_param): Likewise.
950 (exec_comm): Reduce number of function return points.
951 (parse_param): Likewise.
954 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
956 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
957 yield three fields, not two. Test both parameter expansion and
958 command substitution for correct field-splitting behaviour.
960 * posix/wordexp.c (w_emptyword): New function.
961 (parse_param): Use it.
962 (exec_comm): Likewise, for consistency with the way parse_param
964 (parse_param): Fix some memory leaks.
966 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
968 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
969 Don't mark asm `volatile'.
970 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
971 from the data cache too. Assume it isn't in the instruction cache yet.
972 (__elf_machine_fixup_plt): Clear the modified address from the caches.
974 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
976 * sysdeps/generic/segfault.c (install_handler): Install signal
977 handler with SA_ONSTACK instead of setting the stack flags to
978 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
981 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
983 * signal/signal.h: Fix multiple inclusion guard to cover the
985 * wcsmbs/wchar.h: Remove prototype of internal function
987 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
988 arithmetic on `void *'.
990 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
992 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
994 * posix/wordexp.c (wordexp): Perform word-splitting instead of
995 field-splitting here.
996 (wordexp): If out of memory mid-word, free the word (but still
997 leave pwordexp alone for caller to see).
998 (parse_param): Allow for zero-length fields (smarter checking of
999 memory allocation failure).
1000 (w_addword): Convert NULL words to "".
1001 (wordexp): Convert left-over IFS characters to blanks (like bash).
1003 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1005 * configure.in: Use test -f instead of test -e.
1006 Patch by John Tobey <jtobey@banta-im.com>.
1008 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1009 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1010 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1011 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1012 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1013 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1014 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1015 Patches by John Tobey <jtobey@banta-im.com>.
1017 * time/strftime.c (my_strftime): Delay use of *tp values until
1018 latest possible point to allow partly initialized structures
1019 (e.g., from strptime).
1021 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1023 Define *-routines variables for new modules.
1024 (distribute): Add .c files for new modules.
1025 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1027 Add rules for header generation.
1028 * iconvdata/gconv-modules: Add entries for new modules.
1029 * iconvdata/iso_10367-box.c: New file.
1030 * iconvdata/mac-is.c: New file.
1031 * iconvdata/nats-dano.c: New file.
1032 * iconvdata/nats-sefi.c: New file.
1034 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
1036 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1037 loader if PIC is not defined.
1039 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1041 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1042 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1043 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1045 Define *-routines variables for new modules.
1046 (distribute): Add .c files for new modules.
1047 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1048 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1049 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1050 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
1051 Add rules for header generation.
1052 * iconvdata/gconv-modules: Add entries for new modules.
1053 * iconvdata/csn_369103.c: New file.
1054 * iconvdata/cwi.c: New file.
1055 * iconvdata/dec-mcs.c: New file.
1056 * iconvdata/ecma-cyrillic.c: New file.
1057 * iconvdata/gost_19768-74.c: New file.
1058 * iconvdata/greek-ccitt.c: New file.
1059 * iconvdata/greek7-old.c: New file.
1060 * iconvdata/greek7.c: New file.
1061 * iconvdata/inis-8.c: New file.
1062 * iconvdata/inis-cyrillic.c: New file.
1063 * iconvdata/inis.c: New file.
1064 * iconvdata/iso6937-2.c: New file.
1065 * iconvdata/iso_2033.c: New file.
1066 * iconvdata/iso_5427-ext.c: New file.
1067 * iconvdata/iso_5427.c: New file.
1068 * iconvdata/iso_5428.c: New file.
1070 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1072 Convert U02dd correctly.
1074 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
1076 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1077 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1078 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1079 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1081 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1083 * resolv/res_init.c (res_init): Handle resolv.conf file with only
1084 one nameserver correctly. Patch by HJ Lu.
1086 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1088 Define *-routines variables for new modules.
1089 (distribute): Add .c files for new modules.
1090 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1091 Add rules for hedaer generation.
1092 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
1093 * iconvdata/ansi_x3.110.c: New file.
1094 * iconvdata/asmo_449.c: New file.
1095 * iconvdata/baltic.c: New file.
1096 * iconvdata/iec_p27-1.c: New file.
1098 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1100 Convert U02dc correctly.
1102 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1103 * math/atest-exp2.c: Likewise.
1104 * math/atest-sincos.c: Likewise.
1106 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1109 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1111 * string/strcoll.c: Optimize a few expressions.
1112 * string/strxfrm.c: Likewise.
1114 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1116 * manual/locale.texi: Fix typos.
1118 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
1120 * stdlib/random_r.c (__setstate_r): Allow call with same state
1121 array as currently used (PR libc/774).
1123 * include/limits.h: Include gcc's header even if this file is
1124 found more than once before it (PR libc/778)
1126 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1127 (sysdep_headers): Remove sys/debugreg.h.
1128 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1129 (sysdep_headers): Add sys/debugreg.h.
1130 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1131 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1133 * stdio-common/tmpnam.c: Move local static variable buf to
1134 toplevel and rename to tmpnam_buffer to ease debugging.
1135 Patch by Joe Keane <jgk@jgk.org>.
1136 Optimize s == NULL case a bit.
1138 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1141 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
1143 * resolv/res_init.c (res_init): Initialize _res.nscount and
1144 _res.nsaddr.sin_port differently for the can when no loopback
1145 is available to allow immediate timeout in non-networking environments.
1146 Patch by Cristian Gafton <gafton@redhat.com>.
1148 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1150 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1151 BAR and not EM DASH.
1152 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1153 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1156 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
1158 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1160 * timezone/tst-timezone.c (tests): Fix typo in last patch.
1162 * time/tzfile.c (__tzfile_read): Handle case when there are no
1163 transitions. Set __timezone based on computed offset.
1164 * time/tzset.c (tzset_internal): Set __timezone before returning.
1166 * time/tzset.c (tzset_internal): Optimize handling of local string
1169 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1171 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1174 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
1176 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1177 (csqrt_test): Likewise.
1178 * sysdeps/powerpc/bits/fenv.h: Add parens.
1180 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
1182 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1183 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1184 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1186 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
1188 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1189 the special `-1' pointer.
1191 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
1193 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1196 1998-09-07 Paul Eggert <eggert@twinsun.com>
1198 * time/mktime.c (__EXTENSIONS__): Define if not defined.
1199 (_REENTRANT): Remove. It has undesirable consequences in
1200 Solaris 2.6 (e.g. it turns off the putc macro). Defining
1201 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1203 * time/strftime.c: Likewise.
1205 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1207 * elf/dl-error.c: Fix spelling.
1209 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1211 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1212 * stdio-common/_itoa.c: Likewise.
1213 * stdio-common/printf_fp.c: Likewise.
1214 * stdio-common/vfscanf.c: Likewise.
1215 * wcsmbs/wcstok.c: Likewise.
1216 * sysdeps/generic/glob.c: Likewise.
1217 * posix/getopt.c: Likewise.
1218 * sysdeps/posix/getaddrinfo.c: Likewise.
1219 * posix/wordexp.c: Likewise.
1220 * io/ftw.c: Likewise.
1221 * io/fts.c: Likewise.
1222 * misc/getpass.c: Likewise.
1223 * iconv/gconv_conf.c: Likewise.
1224 * argp/argp-fmtstream.c: Likewise.
1225 * argp/argp-help.c: Likewise.
1226 * elf/dl-load.c: Likewise.
1227 * locale/programs/stringtrans.c: Likewise.
1228 * catgets/gencat.c: Likewise.
1229 * posix/getconf.c: Likewise.
1230 * iconv/gconv_conf.c: Likewise.
1231 * iconv/iconv_prog.c: Likewise.
1233 * string/strcoll.c: Optimize a few expressions.
1234 * string/strxfrm.c: Likewise.
1236 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1238 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1239 level to avoid uninit variable warning.
1241 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1243 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1244 instead of _dl_default_scope[2] as argument to _dl_init_next.
1246 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1249 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
1251 Fix compatibility problems introduced in last change.
1252 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1254 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1255 -DWEAK_GMON_START to CFLAGS-initfini.s.
1257 * elf/dl-object.c (_dl_new_object): Store map address in
1258 _dl_loaded if _dl_loaded is NULL.
1259 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1261 * sysdeps/generic/setrlimit64.c: Remove stub warning.
1263 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
1265 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1267 * db2/btree/bt_cursor.c: Likewise.
1268 * db2/common/db_region.db_c: Likewise.
1269 * db2/common/db_salloc.db_c: Likewise.
1270 * db2/db/db.c: Likewise.
1271 * db2/db/db_rec.c: Likewise.
1272 * db2/hash/hash.c: Likewise.
1273 * db2/hash/hash_page.c: Likewise.
1274 * db2/hash/hash_rec.c: Likewise.
1275 * db2/log/log_findckp.c: Likewise.
1276 * db2/log/log_get.c: Likewise.
1277 * db2/log/log_put.c: Likewise.
1278 * db2/mp/mp_fget.c: Likewise.
1279 * db2/mp/mp_fput.c: Likewise.
1280 * db2/mp/mp_region.c: Likewise.
1281 * stdlib/strtol.c: Likewise.
1282 * string/strcoll.c: Likewise.
1283 * string/strxfrm.c: Likewise.
1284 * argp/argp-help.c: Likewise.
1285 * argp/argp-parse.c: Likewise.
1286 * resolv/res_debug.c: Likewise.
1288 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
1290 * math/tgmath.h (scalb): Only define for __USE_MISC or
1291 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1293 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1295 * libio/stdio.h: Fix comment.
1297 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1300 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1302 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1304 * elf/dl-open.c: Quiet -Wparentheses warnings.
1305 * iconvdata/johab.c: Likewise.
1306 * iconvdata/uhc.c: Likewise.
1307 * inet/inet_net.c: Likewise.
1308 * io/fts.c: Likewise.
1309 * locale/newlocale.c: Likewise.
1310 * misc/getttyent.c: Likewise.
1311 * misc/mntent_r.c: Likewise.
1312 * misc/ttyslot.c: Likewise.
1313 * nscd/nscd_conf.c: Likewise.
1314 * nss/nsswitch.c: Likewise.
1315 * resolv/gethnamaddr.c: Likewise.
1316 * resolv/nsap_addr.c: Likewise.
1317 * resolv/res_debug.c: Likewise.
1318 * stdio-common/_itoa.c: Likewise.
1319 * stdlib/strtod.c: Likewise.
1320 * string/strverscmp.c: Likewise.
1321 * sunrpc/svc.c: Likewise.
1322 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1323 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1324 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1325 * sysdeps/posix/getaddrinfo.c: Likewise.
1327 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1329 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1330 for use of global scope.
1331 * elf/dlvsym.c (dlvsym_doit): Likewise.
1333 1998-09-02 Paul Eggert <eggert@twinsun.com>
1335 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1336 copy the redundant bytes at the end of the format as-is; don't
1337 just copy their first byte and then rescan, as that might get
1338 us an encoding error.
1339 Account correctly for the length of multibyte sequences in the
1342 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
1344 * posix/wordexp-test.c: Add tests for different IFS values.
1345 Change unquoted-newline test so that newline is not in IFS.
1347 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1348 determining IFS characters. Return WRDE_BADCHAR for unquoted
1349 special characters _except_ if they are separators.
1351 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
1353 * include/tgmath.h: New file.
1355 * libio/stdio.h: Correct reversed #ifs.
1356 Patch by Zack Weinberg.
1358 * manual/creature.texi: Better explain reason for feature select
1360 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1362 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1364 * include/alloca.h: Add multiple-inclusion guard.
1365 * include/db.h: Likewise.
1366 * include/db_185.h: Likewise.
1367 * include/dlfcn.h: Likewise.
1368 * include/fcntl.h: Likewise.
1369 * include/grp.h: Likewise.
1370 * include/libintl.h: Likewise.
1371 * include/mntent.h: Likewise.
1372 * include/pwd.h: Likewise.
1373 * include/sched.h: Likewise.
1374 * include/search.h: Likewise.
1375 * include/setjmp.h: Likewise.
1376 * include/shadow.h: Likewise.
1377 * include/signal.h: Likewise.
1378 * include/stdio.h: Likewise.
1379 * include/stdlib.h: Likewise.
1380 * include/string.h: Likewise.
1381 * include/termios.h: Likewise.
1382 * include/time.h: Likewise.
1383 * include/ulimit.h: Likewise.
1384 * include/utmp.h: Likewise.
1385 * include/wchar.h: Likewise.
1386 * include/sys/file.h: Likewise.
1387 * include/sys/gmon.h: Likewise.
1388 * include/sys/ioctl.h: Likewise.
1389 * include/sys/mman.h: Likewise.
1390 * include/sys/resource.h: Likewise.
1391 * include/sys/select.h: Likewise.
1392 * include/sys/socket.h: Likewise.
1393 * include/sys/statfs.h: Likewise.
1394 * include/sys/time.h: Likewise.
1395 * include/sys/times.h: Likewise.
1396 * include/sys/wait.h: Likewise.
1398 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
1400 * version.h (VERSION): Bump to 2.0.96.
1402 Rewrite runtime linker to be truly thread-safe. There is now no
1403 global variable specifying the scope. We create all needed
1404 scopes at the time the link maps are created.
1405 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1406 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1407 l_symbolic_searchlist, l_scope, and l_local_scope elements in
1409 * elf/dl-close.c: Rewritten accordingly.
1410 * elf/dl-deps.c: Likewise.
1411 * elf/dl-error.c: Likewise.
1412 * elf/dl-init.c: Likewise.
1413 * elf/dl-load.c: Likewise.
1414 * elf/dl-lookup.c: Likewise.
1415 * elf/dl-object.c: Likewise.
1416 * elf/dl-open.c: Likewise.
1417 * elf/dl-reloc.c: Likewise.
1418 * elf/dl-runtime.c: Likewise.
1419 * elf/dl-support.c: Likewise.
1420 * elf/dl-symbol.c: Likewise.
1421 * elf/dl-version.c: Likewise.
1422 * elf/dlsym.c: Likewise.
1423 * elf/dlvsym.c: Likewise.
1424 * elf/ldsodefs.h: Likewise.
1425 * elf/rtld.c: Likewise.
1426 * iconv/gconv_dl.c: Likewise.
1427 * nss/nsswitch.c: Likewise.
1428 * sysdeps/i386/dl-machine.h: Likewise.
1429 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1431 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1432 Define RTLD_DEFAULT.
1434 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
1436 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1437 __getopt_clean_environment with __environ instead of envp.
1439 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
1441 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1443 * string/argz-extract.c (__argz_extract): Add de-consting cast for
1446 * string/argz.h (argz_next): Add de-consting cast for return.
1447 * string/argz-next.c (__argz_next): Likewise.
1449 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1450 Don't add netinet/udp.h, netinet/ip_icmp.h here.
1451 * sysdeps/gnu/Makefile: Do it here instead.
1452 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1453 * sysdeps/gnu/Dist: ... to here.
1455 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1456 sysdeps/unix/sysv/linux/netinet/tcp.h,
1457 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1459 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1461 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1462 * string/argz-next.c, string/argz-extract.c: Fix defns.
1464 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1466 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1468 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1469 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1470 * sysdeps/generic/sysd-stdio.c: Likewise.
1472 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
1474 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1475 (_dl_map_object_from_fd): Make NAME argument const.
1476 Remove last parameter in _dl_new_object call.
1477 (print_search_path): Correct construction of composed path name.
1478 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1479 Remove last parameter in _dl_new_object call.
1480 * elf/dl-object.c: Remove last parameter. Determine whether create
1481 origin entry based on empty realname. Handle file in root directory
1483 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1484 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1485 Remove last parameter in _dl_new_object call.
1486 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1487 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1489 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
1491 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1492 Free l_searchlist and l_dupsearchlist.
1494 * debug/catchsegv.sh: Add one more pair of quotes.
1496 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1498 * elf/dl-load.c (add_name_to_object): Change return type to void and
1499 make NAME parameter const. Allocate room for NAME in same memory
1500 block used for l_libname entry.
1501 (_dl_map_object_from_fd): Don't free NAME on failure.
1502 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1503 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1504 _dl_map_object_from_fd.
1505 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1506 memory block used for l_libname entry.
1507 * elf/dl-close.c: Adjust free()ing for this change.
1509 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1511 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1513 * malloc/mtrace.c: Add bug report address. Update email address.
1514 Add more @XXX@ to print correct address size.
1516 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1519 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1520 for munmap call instead of examining phdr again.
1521 Free all malloc()ed strings and arrays.
1523 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1525 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1527 * sysdeps/powerpc/dl-machine.c: New file.
1528 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1529 files. Revise ELF_PREFERRED_ADDRESS to take account of
1530 the new mapping information (fixes bug involving huge bloated
1531 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1532 * sysdeps/powerpc/dl-start.S: New file.
1534 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1536 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1537 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1538 others. Call elf_dynamic_do_##reloc only once (to save even more
1540 * elf/link.h: Add new members l_map_start and l_map_end to keep
1541 track of the memory map.
1542 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1545 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1547 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1548 Reported by Andreas Jaeger.
1550 * posix/glob.h: Use __size_t instead of size_t in definitions and
1551 make sure this is defined.
1553 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1555 * manual/locale.texi: Almost complete rewrite. Document more functions
1557 * manual/arith.texi: Correct reference.
1558 * manual/string.texi: Pretty printing.
1560 * manual/texinfo.tex: Update from last available version.
1562 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1564 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1566 (_nss_nis_getpwuid_r): Likewise.
1567 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1569 * inet/rcmd.c: Implement netgroup support.
1570 Patch by Dick Streefland <dick_streefland@tasking.com>.
1572 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1574 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1575 object on the list is removed. Don't use this code for PIC.
1576 Reported by HJ Lu [PR libc/770].
1578 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1580 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1582 * include/stdio.h: Add __vsscanf.
1584 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1586 Remove __vsscanf declaration.
1587 Always declare fgetpos and fsetpos.
1589 * math/math.h: Define isinf as macro.
1590 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1591 Don't declare scalb for ISO C 9x.
1593 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1595 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1597 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1600 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1603 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1605 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1606 Reported by jreising@frequentis.com [PR libc/767].
1608 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1610 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1611 fl.l_start at beginning of function.
1612 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1614 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1616 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1617 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1619 * nscd/nscd.init: Make it work in RedHat systems.
1620 Patch by Christian Gafton.
1622 1998-08-29 Philip Blundell <philb@gnu.org>
1624 * catgets/Makefile: Don't try to run test programs when
1627 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1629 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1630 Reported by Zack Weinberg.
1632 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1634 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1635 * elf/Makefile (distribute): Remove ldd.sh.in.
1637 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1639 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1642 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
1644 * sysdeps/i386/register-dump.h: Move to ...
1645 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1647 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1649 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1650 with load address, not map address.
1651 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1652 parameter and use this value.
1653 * sysdeps/arm/dl-machine.h: Likewise.
1654 * sysdeps/i386/dl-machine.h: Likewise.
1655 * sysdeps/m68k/dl-machine.h: Likewise.
1656 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1658 * sysdeps/powerpc/dl-machine.h: Likewise
1659 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1660 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1662 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1664 * elf/rtld.c (process_envvars): Fix copy&paste error.
1666 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1668 (realloc_hook_ini): Don't overwrite memalign hook.
1669 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1670 Reported by Philippe Troin <phil@fifi.org>.
1672 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1673 Patch by Philippe Troin <phil@fifi.org>.
1675 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1677 * sysdeps/generic/segfault.c (install_handler): Protect the
1678 non-POSIX signals with #ifdef.
1679 (catch_segfault): Add missing mode parameter for open.
1680 * debug/catchsegv.sh: Avoid termination message from shell. Allow
1681 other termination signals.
1683 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1685 * debug/Makefile (distribute): Add register-dump.h.
1687 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1689 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1691 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
1693 * elf/Makefile (distribute): Add dl-origin.h.
1694 * sysdeps/generic/dl-origin.h: New file.
1695 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1696 * elf/link.h (struct link_map): Add l_origin field.
1697 * elf/dl-load.c (expand_dynamic_string_token): New function.
1698 (decompose_path): Remove WHERE argument, take link map pointer instead.
1699 Call expand_dynamic_string_token instead of local_strdup to make copy
1701 (_dl_init_paths): Call decompose_path with correct argument.
1702 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1704 Check EI_OSABI and EI_ABIVERSION fields in header.
1705 Call _dl_new_object with extra argument.
1706 (_dl_map_object): Call decompose_path with correct argument.
1707 Call expand_dynamic_string_token instead of local_strdup to also
1709 Call _dl_new_object with extra argument.
1710 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1711 but the main one if new argument is nonzero.
1712 * elf/ldsodefs.h: Adjust for _dl_new_object change.
1713 * elf/dl-support.c: Define _dl_origin_path.
1714 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
1715 (dl_main): Call _dl_new_object with extra argument.
1717 * elf/dl-close (_dl_close): Free l_name and l_origin.
1719 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1720 modifier in asm, not c.
1722 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1723 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1725 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
1727 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1728 variable so that map can be freed.
1729 Reported by Philippe Troin <phil@fifi.org>.
1731 * elf/dl-open.c (dl_open_worker): Correct test for extending global
1733 Patch by Philippe Troin <phil@fifi.org>.
1735 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1737 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
1738 Don't call writev() with a 100-element vector.
1739 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1742 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1743 In particular, set __libc_stack_end.
1744 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1745 undefined. Fix copyright notice.
1747 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1749 * math/Makefile (gmp-objs): New variable.
1750 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1752 (tests): Add atest-exp atest-sincos atest-exp2.
1753 (tests-static): Remove atest-exp atest-sincos atest-exp2.
1755 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
1757 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1759 (_dl_unload_cache): New function.
1760 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1761 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1762 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1764 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1765 Correct comment for O_LARGEFILE.
1766 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1767 Change O_LARGEFILE to correct value.
1769 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
1771 * libio/iogetline.c (_IO_getline_info): Don't read anything for
1772 N == 0. Patch by HJ Lu.
1774 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
1776 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1778 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1780 * argp/argp.h: Use __inline__ not inline.
1782 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1783 an input register as being clobbered.
1784 * sysdeps/i386/memset.c (memset): Likewise.
1785 * sysdeps/i386/bzero.c (__bzero): Likewise.
1786 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1788 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1790 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1791 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1793 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
1795 * debug/catchsegv.sh: Handle text preceding backtrace better.
1796 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
1797 to be installed for other signals than SIGSEGV.
1798 * sysdeps/generic/register-dump.h: New file.
1799 * sysdeps/i386/register-dump.h: New file.
1800 * sysdeps/powerpc/register-dump.h: New file.
1802 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1804 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1806 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1808 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1810 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1812 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1813 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1814 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1815 getresuid, getresgid.
1817 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1819 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1820 pointer in userland.
1822 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1824 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1827 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1829 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1830 over arguments Bourne shell compatible. Don't exit unsuccessfully
1831 if nonelf returns successfully. Avoid duplicating most of the
1833 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1836 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1838 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1840 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1841 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1843 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1845 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1846 __modify_ldt and modify_ldt.
1847 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1849 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1850 Use orl $-1 instead of movl $-1 to save two bytes.
1851 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1854 1998-08-17 H.J. Lu <hjl@gnu.org>
1856 * libio/Versions (_IO_do_write, _IO_file_attach,
1857 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1858 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1859 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1860 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1862 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1863 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1864 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1865 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1866 _IO_file_write, _IO_file_xsputn): Change the prefix to
1867 "_IO_new_". Added to GLIBC_2.1.
1869 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1870 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1871 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1872 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1873 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1876 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1877 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1878 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1879 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1880 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1882 1998-08-23 Richard Henderson <rth@cygnus.com>
1884 * Makeconfig (LDFLAGS): Remove.
1886 * csu/initfini.c: Return to .text before __gmon_start__.
1888 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1889 (STO_MIPS_*): Rename from STO_*.
1890 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1891 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1893 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1894 (main): e3s is negative on zero.
1895 * math/atest-exp2.c: Likewise.
1896 * math/atest-sincos.c: Likewise.
1898 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1900 * Makerules (install): Add comment about absolute paths.
1902 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1904 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1905 array to NUL to handle maxlen==1 case correctly.
1908 1998-08-23 Richard Henderson <rth@cygnus.com>
1910 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1911 * sysdeps/alpha/elf/crtend.S: Likewise.
1912 * sysdeps/alpha/elf/start.S: Likewise.
1914 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1915 non-standard pv usage.
1917 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1918 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1919 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1920 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1921 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1922 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1923 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1924 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1925 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1926 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1927 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1929 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1930 a finite non-denormal, deferring to the full IEEE version otherwise.
1932 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1933 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1934 * sysdeps/alpha/fpu/s_floor.c: New.
1935 * sysdeps/alpha/fpu/s_floorf.c: New.
1936 * sysdeps/alpha/fpu/s_ceil.c: New.
1937 * sysdeps/alpha/fpu/s_ceilf.c: New.
1939 1998-08-22 Philip Blundell <philb@gnu.org>
1941 * sysdeps/arm/bits/string.h: New file.
1943 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1945 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1948 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1949 test for recent Linux 2.1.100+ headers.
1951 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1953 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1955 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1957 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1959 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1961 * Makefile (elf/ldso_install): Put back. The problem still persists.
1962 * elf/Makefile (ldso_install): Likewise.
1964 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1966 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1968 * include/db.h: Declare __nss_db_open.
1969 * db2/Versions: Export it.
1971 * db2/makedb.c: Convert to use db2 API.
1972 * nss/nss_db/db-XXX.c: Likewise.
1973 * nss/nss_db/db-netgrp.c: Likewise.
1974 * nss/nss_db/db-alias.c: Likewise.
1975 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1977 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1979 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1980 sys_setresuid, already built automatically (or not).
1981 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1982 instead of __syscall_setresuid and add back setresuid.
1983 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1984 __syscall_setresuid.
1986 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1988 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1990 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1992 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1993 BASH-ONLY marked region.
1994 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1996 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1998 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2001 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2003 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
2006 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
2008 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2009 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2010 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2011 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2012 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2013 those magic comments, and to use /bin/sh for @BASH@.
2014 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2015 * elf/ldd.sh.in: File removed.
2017 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
2019 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2020 cast them to unsigned long int.
2021 * pwd/putpwent.c (putpwent): Likewise.
2022 Patch by John Tobey <jtobey@banta-im.com>.
2024 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
2026 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2029 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2031 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2034 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
2036 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2037 Add umount and umount2.
2038 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2039 * sysdeps/unix/sysv/linux/umount.S: New file.
2040 * sysdeps/unix/sysv/linux/umount2.S: New file.
2041 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2044 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2046 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2047 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2049 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2051 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2054 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
2056 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2057 * elf/ldd.bash.in: Likewise.
2059 * elf/sln.c: Avoid warning for no main prototype.
2061 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2063 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2066 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2068 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2069 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2070 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2072 1998-08-20 Philip Blundell <pb@nexus.co.uk>
2074 * sysdeps/arm/fpu/ieee754.h: Move to...
2075 * sysdeps/arm/ieee754.h: ... here.
2077 * sysdeps/arm/__longjmp.S: Put return value in correct register.
2078 Don't set the condition flags unnecessarily.
2079 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
2080 registers correctly.
2082 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2083 (patch from Scott Bambrough).
2085 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2087 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2088 NULL, just call it unconditionally.
2089 (__gmon_start__): Provide stub version as a weak symbol.
2091 1998-07-30 Philip Blundell <philb@gnu.org>
2093 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2096 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2097 like `@' in .type directives.
2099 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2100 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2102 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2104 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2106 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2107 (F_GETOWN): Likewise.
2109 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2112 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2114 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2117 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
2119 * include/features.h: Define __USE_EXTERN_INLINES for recent
2121 * argp/argp.h: Define extern inline functions only if
2122 __USE_EXTERN_INLINES is defined.
2123 * libio/stdio.h: Likewise.
2124 * math/math.h: Likewise.
2125 * stdlib/stdlib.h: Likewise.
2126 * string/argz.h: Likewise.
2127 * sysdeps/generic/bits/sigset.h: Likewise.
2128 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2129 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2130 * sysdeps/wordsize-32/inttypes.h: Likewise.
2131 * sysdeps/wordsize-64/inttypes.h: Likewise.
2132 * wcsmbs/wchar.h: Likewise.
2134 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2135 to allow compilation without optimization.
2137 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2139 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2141 * nis/nss_compat/compat-initgroups.c: Likewise.
2142 * nis/nss_compat/compat-pwd.c: Likewise.
2143 * nis/nss_compat/compat-spwd.c: Likewise.
2144 * nis/nss_nis/nis-alias.c: Likewise.
2145 * nis/nss_nis/nis-ethers.c: Likewise.
2146 * nis/nss_nis/nis-grp.c: Likewise.
2147 * nis/nss_nis/nis-hosts.c: Likewise.
2148 * nis/nss_nis/nis-initgroups.c: Likewise.
2149 * nis/nss_nis/nis-network.c: Likewise.
2150 * nis/nss_nis/nis-proto.c: Likewise.
2151 * nis/nss_nis/nis-pwd.c: Likewise.
2152 * nis/nss_nis/nis-rpc.c: Likewise.
2153 * nis/nss_nis/nis-service.c: Likewise.
2154 * nis/nss_nis/nis-spwd.c: Likewise.
2156 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2158 * nis/ypclnt.c: Try binding dir only first time, could be to old.
2160 * nis/yp_xdr.c: Remove 1024 byte limit.
2161 * nis/ypupdate_xdr.c: Likewise.
2163 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2166 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
2168 * Rules (binaries-static, binaries-shared static pattern rules):
2169 Depend on lib%, not just libc%, from $(link-libc{,-static}).
2171 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2172 this here, overriding Makeconfig generic value so we link against
2175 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
2177 * posix/tstgetopt.c (options): Add NULL entry at end
2178 Patch by Adrian Miranda <ade@psg.com>.
2180 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
2182 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
2185 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
2187 * elf/elf.h: Add PPC Diab relocations.
2189 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2191 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
2193 * manual/texinfo.tex: Update.
2195 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
2197 * sysdeps/powerpc/backtrace.c: New file.
2199 1998-08-14 Philip Blundell <pb@nexus.co.uk>
2201 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2203 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2205 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2207 * Makefile (install-symbolic-link): Fix spelling.
2209 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2211 * elf/elf.h (SHT_HIOS): Fix value.
2213 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2215 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2216 part of the expansion, this is undefined by the standard.
2218 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
2220 * posix/getconf.c: Add support for systems with incomplete confname.h.
2222 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2224 * sysdeps/posix/wait3.c: Make it work.
2226 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2228 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2229 (elf/ldso_install): Remove.
2231 * elf/Makefile (distribute): Add sln.c.
2233 (others-static): Add sln.
2234 (install-rootsbin): Add sln.
2235 (others-static): Add sln.
2236 (ldso_install): Remove.
2238 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2240 * Makerules (install-clean-symbolic-link-list): Make phony.
2241 * Makefile (install-symbolic-link): Make phony. Depend on
2242 subdir_install for parallel makes.
2245 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
2247 * elf/Makefile (distribute): Add sln.c
2249 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
2251 * elf/sln.c: New file.
2253 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2254 (install-clean-symbolic-link-list): New target.
2255 (install): Depend on install-clean-symbolic-link-list.
2256 (make-shlib-link): Changed for $(symbolic-link-list).
2258 * Makefile (install-symbolic-link): New target.
2259 (install): Depend on install-symbolic-link.
2261 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
2263 * include/unistd.h: Protect against multiple inclusion.
2265 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2266 is defined, not is glob is defined.
2267 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2269 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
2271 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2272 xdr_string for ut_line, ut_name and ut_host.
2274 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2276 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2277 /var/mail in accordance with FHS 2.0.
2278 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2280 1998-08-12 Richard Henderson <rth@cygnus.com>
2282 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2283 Update aliases for cancelation.
2285 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2286 playing with symbol versions.
2288 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2290 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2291 multiple inclusion protection.
2292 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2293 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2294 define all these to 1.
2295 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2297 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2299 * sysdeps/mach/usleep.c: Include <unistd.h>.
2300 (usleep): Return void.
2302 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2304 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2305 decl to inhibit warning in if_freenameindex defn.
2307 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2309 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2311 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2312 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2313 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2314 * sysdeps/mach/usleep.c: Likewise.
2316 * sysdeps/mach/hurd/bind.c (bind): Add a const.
2318 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2319 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2320 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2321 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2322 * sysdeps/mach/usleep.c (usleep): Likewise.
2323 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2324 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2325 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2326 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2328 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2330 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2333 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2334 %p arg to fprintf, since `void *' is the right type already.
2336 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2338 * sysdeps/mach/hurd/getcwd.c
2339 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2340 for unknown root directories.
2341 (__getcwd): Return NULL when the current root directory could not
2344 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
2346 * string/strsignal.c (strsignal): Count real-time signals from zero.
2349 See ChangeLog.8 for earlier changes.