1 1997-09-30 18:03 Ulrich Drepper <drepper@cygnus.com>
3 * Makerules: Undo last change.
4 * csu/Makefile: Define before-compile at the right place.
6 * aclocal.m4: Remove a.out file created by assembler test.
8 * set-init.c: Find set-hooks.h using <...>.
11 * db2/Makefile: Update.
13 * db2/db_185.h: Likewise.
14 * db2/db_int.h: Likewise.
15 * db2/btree/bt_close.c: Likewise.
16 * db2/btree/bt_conv.c: Likewise.
17 * db2/btree/bt_cursor.c: Likewise.
18 * db2/btree/bt_put.c: Likewise.
19 * db2/btree/bt_rec.c: Likewise.
20 * db2/btree/bt_recno.c: Likewise.
21 * db2/btree/btree.src: Likewise.
22 * db2/btree/btree_auto.c: Likewise.
23 * db2/clib/getlong.c: Likewise.
24 * db2/db/db.c: Likewise.
25 * db2/db/db_auto.c: Likewise.
26 * db2/db/db_conv.c: Likewise.
27 * db2/db/db_pr.c: Likewise.
28 * db2/db/db_ret.c: Likewise.
29 * db2/db/db_thread.c: Likewise.
30 * db2/hash/hash.c: Likewise.
31 * db2/hash/hash_auto.c: Likewise.
32 * db2/hash/hash_conv.c: Likewise.
33 * db2/hash/hash_dup.c: Likewise.
34 * db2/hash/hash_func.c: Likewise.
35 * db2/hash/hash_page.c: Likewise.
36 * db2/hash/hash_rec.c: Likewise.
37 * db2/include/btree.h: Likewise.
38 * db2/include/btree_ext.h: Likewise.
39 * db2/include/db.h.src: Likewise.
40 * db2/include/db_185.h.src: Likewise.
41 * db2/include/db_cxx.h: Likewise.
42 * db2/include/db_ext.h: Likewise.
43 * db2/include/db_int.h.src: Likewise.
44 * db2/include/db_page.h: Likewise.
45 * db2/include/db_shash.h: Likewise.
46 * db2/include/lock.h: Likewise.
47 * db2/include/log.h: Likewise.
48 * db2/include/log_ext.h: Likewise.
49 * db2/include/mp.h: Likewise.
50 * db2/include/shqueue.h: Likewise.
51 * db2/include/txn.h: Likewise.
52 * db2/lock/lock.c: Likewise.
53 * db2/lock/lock_deadlock.c: Likewise.
54 * db2/log/log.c: Likewise.
55 * db2/log/log_archive.c: Likewise.
56 * db2/log/log_auto.c: Likewise.
57 * db2/log/log_get.c: Likewise.
58 * db2/log/log_put.c: Likewise.
59 * db2/log/log_register.c: Likewise.
60 * db2/mp/mp_bh.c: Likewise.
61 * db2/mp/mp_fget.c: Likewise.
62 * db2/mp/mp_fopen.c: Likewise.
63 * db2/mp/mp_fput.c: Likewise.
64 * db2/mp/mp_fset.c: Likewise.
65 * db2/mp/mp_open.c: Likewise.
66 * db2/mutex/mutex.c: Likewise.
67 * db2/os/db_os_dir.c: Likewise.
68 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
69 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
70 * db2/progs/db_dump185/db_dump185.c: Likewise.
71 * db2/progs/db_load/db_load.c: Likewise.
72 * db2/progs/db_recover/db_recover.c: Likewise.
73 * db2/txn/txn.c: Likewise.
74 * db2/txn/txn_auto.c: Likewise.
76 * elf/link.h: Define struct libname_list outside struct link_map
77 to not confuse C++ compilers.
79 * include/features.h: Recognize _XOPEN_SOURCE == 500 and set
81 * manual/creature.texi: Explain this.
83 * libc.map: Add new functions.
85 * libio/Makefile (routines): Add fseeko and ftello.
86 * libio/ftello.c: New file.
87 * libio/fseeko.c: New file.
88 * libio/stdio.h: Add prototypes for new functions.
89 * manual/stdio.texi: Document fseeko and ftello.
91 * posix/Makefile (routines): Add pread and pwrite.
92 * sysdeps/posix/pread.c: New file.
93 * sysdeps/posix/pwrite.c: New file.
94 * sysdeps/stub/pread.c: New file.
95 * sysdeps/stub/pwrite.c: New file.
96 * posix/unistd.h: Add prototypes for pread and pwrite.
98 Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
99 Declare ctermid and cuserid if __USE_UNIX98.
100 (swab): Change to take void * arguments.
101 * string/swab.c: Change parameter to void *.
102 * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
104 * manual/llio.texi: Document pread and pwrite.
106 * string/strings.h: Don't simply include string.h. Define BSD
107 functions according to Unix98.
108 * stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
109 * sunrpc/clnt_simp.c: Likewise.
111 * malloc/Makefile (aux): Add set-freeres.
112 * malloc/mtrace.c: Define function release_libc_mem which calls the
113 __libc_subfreeres handler.
114 (mtrace): Register release_libc_mem.
115 * malloc/set-freeres.c: New file.
117 * intl/dcgettext.c: Define free_mem function and add to
118 __libc_subfreeres list.
119 * intl/finddomain.c: Likewise.
120 * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
121 and mmap_size. Add prototype for _nl_unloaded_domain.
122 * intl/loadmsgcat.c: Define new function _nl_unload_domain.
123 (_nl_load_domain): Store informaiton about mmap use and file size.
124 * intl/localealias.c (read_alias_file): Optimize locale alias file
125 reading by avoid frequen mallocs.
126 Define free_mem function and add to __libc_subfreeres list.
128 * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
130 Add prototype for _nl_unload_locale.
131 * locale/C-collate: Mark data as undeletable by using UNDELETABLE.
132 * locale/C-ctype: Likewise.
133 * locale/C-messages: Likewise.
134 * locale/C-monetary: Likewise.
135 * locale/C-numeric: Likewise.
136 * locale/C-time: Likewise.
137 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
138 MAX_USAGE_COUNT and UNDELETABLE.
139 (free_mem): New function. Add it to __libc_subfreeres list.
140 * locale/loadlocale.c: Define _nl_unload_locale function.
142 * misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
144 * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
146 Define free_mem function and add to __libc_subfreeres list.
148 * locale/programs/localedef.c (options): short form os verbose is v.
149 Reported by Andreas Jaeger.
151 * misc/sys/select.h: Define pselect only is __USE_POSIX since this
152 header is used in some others as well for historical reasons.
154 * resolv/resolv.h: Include <netinet/in.h> to make self-contained.
156 * string/bits/string2.h: Add missing braces and optimize strcmp a
158 * sysdeps/i386/i486/bits/string.h: Likewise.
160 * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
163 * sysdeps/mach/hurd/cthreads.c: Add copyright text.
165 * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
167 * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
169 * time/time.h: Pretty print.
171 1997-09-29 Paul Eggert <eggert@twinsun.com>
173 * time/strftime.c: Synchronize with GNU Emacs strftime.c.
174 (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
175 (gmtime_r, localtime_r): Undef before defining.
176 (iso_week_days): Use __inline__, not inline.
178 1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
180 * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
181 __ieee754_exp2{,l,f}.
182 * sysdeps/m68k/fpu/s_exp2.c: Likewise.
183 * sysdeps/m68k/fpu/s_exp2l.c: Likewise.
184 * sysdeps/m68k/fpu/s_exp2f.c: Likewise.
186 1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
188 * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
189 section read-only, it contains relocations.
190 * elf/sofini.c (__FRAME_END__): Likewise.
192 1997-09-29 03:08 Ulrich Drepper <drepper@cygnus.com>
194 * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
195 __strpbrk_cg, __strstr_cg): Optimize even more. No spill register
196 needed. Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
198 1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
200 * nis/nis_call.c (__do_niscall2): Fix return code, add missing
201 break in switch case.
203 * nis/nis_mkdir.c: Fix return codes to match Solaris version.
204 * nis/nis_rmdir.c: Likewise.
206 * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
209 1997-09-28 04:32 Ulrich Drepper <drepper@cygnus.com>
211 * configure.in: Fix typo.
212 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
214 1997-09-25 20:14 Philip Blundell <Philip.Blundell@pobox.com>
216 * sysdeps/unix/sysv/linux/scsi/sg.h: New file.
217 * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
219 1997-09-27 01:14 Ulrich Drepper <drepper@cygnus.com>
221 * Makeconfig (extra-objs): Depend in before-compile.
223 * configure.in: Locate Perl and substitute with complete path.
224 * config.make.in: Add PERL for substitution.
225 * elf/Makefile (routines): Add dl-addr.
226 * elf/dladdr.c: Move the real code into ...
227 * elf/dl-addr.c: New file.
228 * elf/link.h: Add prototype for _dl_addr.
230 * elf/dladdr.c (dladdr): Change address argument to be const.
231 * elf/dlfcn.h: Likewise.
233 * locale/C_name.c: Add _nl_POSIX_name.
234 * locale/localeinfo.h: Add declaration of _nl_POSIX_name.
235 * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name.
236 (_nl_remove_locale): Free name of data set.
237 * locale/setlocale.c (clever_copy): Remove.
238 (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare.
239 (setname): Only remove old name when it is for category LC_ALL.
241 Change malloc, free, realloc, and memalign hooks for glibc to take
242 another parameter indicating the location of the caller.
243 * malloc/malloc.c: Change hook functions and variables.
244 * malloc/malloc.h: Likewise.
245 * malloc/mcheck.c: Likewise. Make sure later hooked function also
246 get the original caller address.
247 * malloc/mtrace.c: Likewise.
248 (tr_where): If no information in _mtrace_file is given use the
249 information about the caller.
250 * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl.
251 Add rules to install mtrace.pl after rewriting.
252 * malloc/mtrace.pl: New file. Based on the old AWK script but
253 with extended functionality.
254 * malloc/mtrace.awk: Removed.
256 * po/fr.po: New version.
258 * string/Makefile: Do use builtins for tester.c and inl-tester.c.
259 * string/tester.c: Rewrite. Split in many small functions to not
262 * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
264 1997-09-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
266 * string/bits/string2.h (__stpcpy_small): Don't use casts as
269 1997-09-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
271 * manual/time.texi (Formatting Date and Time): Clarify
272 explanation of strftime flags a bit.
273 Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>.
275 1997-09-25 00:13 David S. Miller <davem@tanya.rutgers.edu>
277 * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition.
278 Fix typo, it is FLT_MANT_DIG.
280 1997-09-24 18:52 H.J. Lu <hjl@gnu.ai.mit.edu>
282 * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>.
284 1997-08-27 08:10 H.J. Lu <hjl@gnu.ai.mit.edu>
286 * libio/libio.h, libio/libioP.h: Support libio in libstdc++.
288 * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if
289 _IO_MTSAFE_IO is undefined.
291 1997-09-24 23:27 Richard Henderson <rth@cygnus.com>
293 * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but
294 lookup the value of the target symbol ourselves and call the new
295 elf_machine_fixup_plt. This kills the ELF_FIXUP_RETURN_VALUE hack.
296 (profile_fixup): Likewise, but don't fix up the plt.
297 * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT.
298 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed.
299 (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt.
300 * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed.
301 (ELF_MACHINE_JMP_SLOT): Renamed.
302 (elf_machine_fixup_plt): New function.
303 * sysdeps/m68k/dl-machine.h: Likewise.
304 * sysdeps/powerpc/dl-machine.h: Likewise.
305 (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt.
306 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
307 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
308 * sysdeps/stub/dl-machine.h: Update, sorta.
310 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling.
311 (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do
312 both normal and profile code.
313 (elf_machine_rela): Handle r_addend for .got and .plt too.
315 1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com>
317 * elf/dl-profile.c: Correct implementation.
319 * io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
321 * locale/setlocale.c: Rewrite a bit for more clarity.
323 * math/Makefile (libm-calls): Add w_exp2.
324 * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
325 * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
326 * sysdeps/libm-i387/s_exp2f.S: Likewise.
327 * sysdeps/libm-i387/s_exp2l.S: Likewise.
328 * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
330 * string/bits/string2.h (__strcpy_small): Optimize.
331 (__stpcpy_small): Likewise.
332 (strncpy): Use variable for dest argument since it's used more than
335 (strcmp): Add optimization for this function.
336 * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
337 (__strcpy_small): Optimize.
338 (__stpcpy_small): Likewise.
339 (__stpcpy_c): Correctly use __mempcpy_* macros.
340 (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
341 byte following last copied.
342 (strncat): Use variable for dest argument since it's used more than
344 (strcmp): Add optimization for this function.
346 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
347 .text and .previous to select correct section.
349 1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com>
351 * configure.in: Add `--disable-versioning' option to suppress the
352 use of symbol versions even if binutils claims to support it.
354 1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com>
356 * csu/Makefile (before-compile): Don't try to build abi-tags.h if
359 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
361 * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
362 the frame unwind info section.
364 * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
365 the frame unwind info.
367 * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
369 * configure.in: Check whether gcc supports DWARF2 unwind info.
371 * libc.map: Export frame handling tables.
373 1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au>
375 * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
376 Use the size of the kernel's termios structure for ioctls.
378 * sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
380 * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
381 of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
382 routines, because gcc has them as internals.
384 * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
387 * sysdeps/powerpc/bzero.S: New file.
388 * sysdeps/powerpc/strcat.c: New file.
389 * sysdeps/powerpc/strcpy.S: New file.
390 * sysdeps/powerpc/stpcpy.S: New file.
392 * math/Makefile: Add atest_exp2, test-reduce.
393 * math/atest_exp2.c: New file.
394 * math/test-reduce.c: New file.
395 * sysdeps/libm-ieee754/Dist: New file.
396 * sysdeps/libm-ieee754/s_exp2.c: New file.
397 * sysdeps/libm-ieee754/s_exp2f.c: New file.
398 * sysdeps/libm-ieee754/t_exp2.h: New file.
399 * sysdeps/libm-ieee754/t_exp2f.h: New file.
400 * math/libm-test.c (exp2_test): Add some more tests.
402 * Rules: Use empty.os instead of empty.o, since it gets linked into
404 * configure.in: Add --disable-static to disable building .a files.
405 * config.make.in: Substitute the new variable.
406 * Makeconfig: Don't build .o files if not building .a files.
408 * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
409 (profile_fixup): Likewise.
411 1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
413 * posix/globtest.c (main): Change to directory passed as first
416 * posix/globtest.sh: Don't cd before running the program, instead
417 pass testdir as argument, so that $common_objpfx remains valid.
419 1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
421 * nis/nis_call.c (__do_niscall2): Fix multiple Server support.
423 * nis/nis_findserver.c: Save latest working sockaddr_in.
425 1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu>
427 * configure.in: Automatically determine whether as and ld are the
429 (options): --with-gnu-{as,ld,binutils} replaced by
430 single option --with-binutils=PATH specifying a -B option to gcc.
431 * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
434 * configure.in: Allow the user to force configuration for
435 unsupported platforms with an undocumented option.
437 1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
439 * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
440 return loopback address only if there is no other interface.
442 * nis/Makefile: Add nis_callback libnsl-routines.
444 * nis/nis_add.c: Use new __do_niscall* interface.
445 * nis/nis_cache.c: Likewise.
446 * nis/nis_checkpoint.c: Likewise.
447 * nis/nis_lookup.c: Likewise.
448 * nis/nis_mkdir.c: Likewise.
449 * nis/nis_modify.c: Likewise.
450 * nis/nis_ping.c: Likewise.
451 * nis/nis_remove.c: Likewise.
452 * nis/nis_rmdir.c: Likewise.
453 * nis/nis_server.c: Likewise.
454 * nis/nis_util.c: Likewise.
456 * nis/rpcsvc/nis.h: Make C++ safe.
458 * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
461 * nis/nis_findserv.c: Make thread safe.
463 * nis/nis_call.c: Add support for callback, Fix use of variables.
464 * nis/nis_table.c: Add support for callback, FOLLOW_PATH and
466 * nis/nis_callback.c: New, callback functions.
467 * nis/nis_intern.h: Add callback declarations.
469 1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
471 * string/bits/string2.h: Fix logic in preprocessor directive.
472 (__strsep_1c, __strsep_g): Don't declare __retval as pointing to
473 const, to save a cast and a possible warning.
475 1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com>
477 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
478 memory in xadd not %1.
480 1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com>
482 * manual/maint.texi (Supported Configurations): Add SPARC64 to
483 list of supported platforms.
485 1997-09-21 03:19 Ulrich Drepper <drepper@cygnus.com>
487 * libio/libio.h: More libstdc++ cleanups. Define _IO_USE_DTOA if
488 _G_HAVE_PRINTF_FP is not defined.
489 * libio/strops.c: Undo patch of 1997-07-08 02:18. Must find a
490 different solution for the problem.
492 * misc/search.h [__USE_GNU]: Define comparison_fn_t.
493 * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is
495 Fix typo. Pretty print inline functions.
497 * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp.
498 Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
500 1997-09-20 16:45 Ulrich Drepper <drepper@cygnus.com>
502 * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get
503 HES_DOMAIN environment variable.
504 Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
506 * hesiod/README.hesiod: A bit of information about Hesiod and how
507 to use it. Written by Mark Kettenis <kettenis@phys.uva.nl>.
509 1997-09-20 05:15 Ulrich Drepper <drepper@cygnus.com>
511 * manual/maint.texi: Update requirement list.
513 * io/ftw.h: Don't use parameter names from global namespace in
516 * stdlib/strtol.c: If used outside glibc handle broken systems
517 which have character classification functions which are not 8-bit
518 clean gracefully. Patch by Bruno Haible <haible@ilog.fr>.
520 1997-09-19 21:42 David S. Miller <davem@tanya.rutgers.edu>
522 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is
525 1997-09-19 15:12 H.J. Lu <hjl@gnu.ai.mit.edu>
527 * posix/Makefile (test-srcs): New, set to globtest.
529 1997-09-20 00:24 Ulrich Drepper <drepper@cygnus.com>
531 * manual/filesys.texi: Document ftw, nftw and needed data types.
533 1997-09-19 12:53 H.J. Lu <hjl@gnu.ai.mit.edu>
535 * sysdeps/i386/i486/bits/string.h: Fix typo.
537 1997-09-19 14:11 Ulrich Drepper <drepper@cygnus.com>
539 * io/ftwtest.c (cb): Print level.
540 * io/ftwtest-sh: Updated for ftwtest.c change.
542 * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
544 Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
546 * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
547 Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
549 1997-09-18 13:30 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>
551 * sysdeps/i386/init-first.c: Call __getopt_clean_environment with
553 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
554 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
555 * sysdeps/stub/init-first.c: Likewise.
557 1997-09-18 03:16 Ulrich Drepper <drepper@cygnus.com>
559 * manual/search.texi: Document lsearch, lfind, the hsearch and
562 1997-09-18 00:04 Ulrich Drepper <drepper@cygnus.com>
564 * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action
565 if the table is full and we *really* have to enter a new entry.
567 1997-09-17 19:44 Ulrich Drepper <drepper@cygnus.com>
569 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid
570 of hack for handling flush opcode.
571 Patch by Richard Henderson <rth@cygnus.com>.
573 1997-09-16 23:48 Ulrich Drepper <drepper@cygnus.com>
575 * libio/fileops.c: Define __set_errno if necessary.
576 * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros.
578 1997-09-16 22:03 Ulrich Drepper <drepper@cygnus.com>
580 * string/Makefile (headers): Instead bits/string2.h.
581 Reported by David S. Miller <davem@jenolan.rutgers.edu>.
583 1997-09-16 13:31 David S. Miller <davem@tanya.rutgers.edu>
585 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file.
587 1997-09-16 17:42 Ulrich Drepper <drepper@cygnus.com>
589 * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable
590 as of type __fdset *.
591 * sysdeps/i386/bits/select.h: Likewise.
592 Reported by David S. Miller <davem@jenolan.rutgers.edu>.
594 1997-09-16 04:32 Ulrich Drepper <drepper@cygnus.com>
596 * hesiod/hesiod.c: Don't use and define cistrcmp. We have
598 (hesiod_init): Use of HES_DOMAIN need not be protected by
600 (hesiod_to_bind): Avoid using strcat and extra strlen calls, use
603 * string/Makefile (noinl-tester-ENV): New variable to make
605 (CFLAGS-noinl-tester): Make sure we test the correct functions.
607 * sysdeps/stub/atomicity.h: Fix typo.
608 Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice.
610 * manual/string.texi: Document strnlen and mempcpy.
611 Tell a bit more about the locale dependence of strcasecmp and
614 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace.
615 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
616 value type to long int.
617 * sysdeps/unix/sysv/linux/ptrace.c: Likewise. Adopt local variable
619 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo.
620 Patches by David S. Miller <davem@jenolan.rutgers.edu>.
622 1997-09-16 02:14 Ulrich Drepper <drepper@cygnus.com>
624 Implementation of Hesiod NSS module by Mark Kettenis.
625 * hesiod/Makefile: New file.
626 * hesiod/hesiod.c: New file.
627 * hesiod/hesiod.h: New file.
628 * hesiod/hesiod_p.h: New file.
629 * hesiod/libnss_hesiod.map: New file.
630 * hesiod/nss_hesiod/hesiod-grp.c: New file.
631 * hesiod/nss_hesiod/hesiod-pwd.c: New file.
632 * hesiod/nss_hesiod/hesiod-service.c: New file.
633 * sysdeps/unix/inet/Subdirs: Add hesiod.
635 * shlib-versions: Add version number for libnss_hesiod.
637 * libio/iolibio.h: Remove definition of _IO_* macros.
638 * libio/fileops.c: Define close, fstat, lseek, read, and write as
639 macros to use __ protected versions. Use those functions instead
641 * libio/iopopen.c: Define _IO_close to close.
643 * manual/math.texi: Explain the use of the optimizing inline
645 Describe rand_r function and tell about SysV RNGs in introduction.
647 * resolv/res_send.c (res_send): Use socklen_t type for `fromlen'
650 * string/Makefile (tests): Add noinl-tester.
651 * string/noinl-tester.c: New file.
652 * string/tester.c: Add more stpcpy tests for constant arguments for
655 * string/string.h: Always declare __bzero.
656 Describe __NO_STRING_INLINES.
657 Always include <bits/string.h>.
658 * string/bits/string2.h: Add warning about direct use.
659 Change __strcpy_small and __stpcpy_small implementation to use
660 macros and provide alternative for platforms which cannot do
662 * sysdeps/i386/bits/string.h: Don't define anything is
663 __NO_STRING_INLINES is defined.
664 * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and
665 __stpcpy_small implementation to use macros and provide
666 alternative for platforms which cannot do unaligned stores.
667 * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero.
668 * sysdeps/generic/bzero.c: Likewise.
669 * sysdeps/i386/bzero.c: Likewise.
670 * sysdeps/i386/i586/bzero.S: Likewise.
671 * sysdeps/vax/bzero.s: Likewise.
673 * sysdeps/generic/bits/select.h: Don't use ugly casts to access array.
674 * sysdeps/i386/bits/select.h: Likewise.
676 * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register
678 Don't define and test for _BITS_MATHINLINE_H. Emit warning if used
679 directly and not through math.h.
681 * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap
682 to char to get better code. Fix typo.
683 * sysdeps/stub/atomicity.h: Fix typo.
685 1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
687 * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy.
689 1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
691 * string/bits/string2.h: Add prototypes to avoid warning.
693 1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
695 * string/bits/string2.h (strsep): Fix handling of empty REJECT.
696 (__strsep_1c): Handle NULL and empty string.
697 (__strsep_g): Likewise.
699 1997-09-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
701 * catgets/Makefile (extra-objs): Set this instead of generated.
703 * md5-crypt/Makefile (extra-objs): Add all object file variants of
706 1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
708 * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last
711 1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
713 * sysdeps/m68k/m68020/atomicity.h: New file.
715 1997-09-15 05:11 Ulrich Drepper <drepper@cygnus.com>
717 * posix/Makefile (distribute): Add globtest.c and globtest.sh.
718 Compile and run globtest if not cross-compiling.
719 * posix/globtest.c: New file.
720 * posix/globtest.sh: New file.
721 * posix/glob.c: Pretty print preprocessor stuff.
722 (glob_in_dir): If PATTERN is not really a pattern still check
723 whether it is a real file in the current directory and return
725 Reported by Eugene Mamchits <eugin@ips.ras.ru>.
727 * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work.
728 * libio/ioseekoff.c (_IO_seekoff): Likewise.
729 * libio/ioseekpos.c (_IO_seekpos): Likewise.
731 1997-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
733 * configure.in: Prevent configuration for unsupported platforms.
735 1997-09-13 04:07 Ulrich Drepper <drepper@cygnus.com>
737 * elf/rtld.c (dl_main): Make sure we always have a file argument by
738 testing for < 2 arguments after recognizing the options.
740 1997-09-12 11:47 Fila Kolodny <fila@ibi.com>
742 * string/bits/string2.h (__strsep_1c): Cast out const from __retval.
743 (__strsep_g): Likewise.
745 1997-09-11 17:32 Ulrich Drepper <drepper@cygnus.com>
747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC.
748 Patch by David S. Miller <davem@jenolan.rutgers.edu>.
750 1997-09-11 04:36 Ulrich Drepper <drepper@cygnus.com>
752 * db2/db_int.h: Define __set_errno if not yet available.
753 * db2/btree/bt_rec.c: Use __set_errno to set errno value.
754 * db2/clib/getlong.c: Likewise.
755 * db2/db185/db185.c: Likewise.
756 * db2/db185/db185_int.h: Likewise.
757 * db2/dbm/dbm.c: Likewise.
758 * db2/lock/lock_deadlock.c: Likewise.
759 * db2/log/log_archive.c: Likewise.
761 * elf/dl-profile.c: Implement mcount function.
763 * gmon/gmon.c: Use __profil not profil because of namespace pollution.
764 * gmon/mcount.c: Remove BSD kernel code.
765 Use compare&swap instruction if possible to change state variable.
766 Optimize frompc folding.
767 * gmon/sys/gmon.h (struct gmonparam): Change state field to long int.
768 * sysdeps/i386/i486/atomicity.h: New file.
769 * sysdeps/stub/atomicity.h: New file.
770 * sysdeps/mach/hurd/profil.c: Define function as __profil and make
772 * sysdeps/posix/profil.c: Likewise.
774 * string/bits/string2.h: New file.
775 * include/bits/string2.h: New file.
776 * string/Makefile (routines): Add mempcpy.
777 (tests): Add inl-tester.
778 Remove _D__NO_STRING_INLINES from CFLAGS-* variables.
779 * sysdeps/generic/mempcpy.c: New file.
780 * sysdeps/generic/memccpy.c: Undef function name to enable definition
782 * sysdeps/generic/memchr.c: Likewise.
783 * sysdeps/generic/memcmp.c: Likewise.
784 * sysdeps/generic/memmem.c: Likewise.
785 * sysdeps/generic/memmove.c: Likewise.
786 * sysdeps/generic/strcat.c: Likewise.
787 * sysdeps/generic/strchr.c: Likewise.
788 * sysdeps/generic/strcmp.c: Likewise.
789 * sysdeps/generic/strcpy.c: Likewise.
790 * sysdeps/generic/strcspn.c: Likewise.
791 * sysdeps/generic/strlen.c: Likewise.
792 * sysdeps/generic/strncat.c: Likewise.
793 * sysdeps/generic/strncmp.c: Likewise.
794 * sysdeps/generic/strncpy.c: Likewise.
795 * sysdeps/generic/strpbrk.c: Likewise.
796 * sysdeps/generic/strrchr.c: Likewise.
797 * sysdeps/generic/strsep.c: Likewise.
798 * sysdeps/generic/strspn.c: Likewise.
799 * sysdeps/generic/strstr.c: Likewise.
800 * sysdeps/generic/strtok.c: Likewise.
801 * sysdeps/generic/strtok_r.c: Likewise.
802 * sysdeps/i386/memset.c: Likewise.
803 * sysdeps/i386/bits/string.h: Correct a few types and constraints.
804 * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations.
805 * string/stratcliff.c: Undefine __USE_STRING_INLINES.
806 * string/tst-strlen.c: Likewise.
807 * string/string.h: Add prototype for mempcpy. Include bits/string2.h
808 header always if optimizing.
809 * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not
811 * intl/l10nflist.c: Likewise.
813 * string/tester.c: Add copyright and make little cleanups.
815 * inet/test_ifindex.c: Change type of ni variable to unsigned int.
817 * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type
818 of fields map_collection_max and map_collection_act to size_t.
820 * nss/libnss_files.map: Group entries.
822 * posix/unistd.h: Add prototype for __setpgid and __profil.
824 * sysdeps/generic/crypt.h: Declare __crypt_r.
826 * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now.
828 * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
829 isless, islessequal, islessgreater, isunordered): Optimize a bit.
831 * sysdeps/stub/ftruncate.c: Include missing header for prototype.
832 * sysdeps/stub/getdents.c: Likewise.
833 * sysdeps/stub/reboot.c: Likewise.
834 * sysdeps/stub/swapon.c: Likewise.
835 * sysdeps/stub/syscall.c: Likewise.
836 * sysdeps/stub/ualarm.c: Likewise.
837 * sysdeps/stub/usleep.c: Likewise.
839 * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock
840 if SIOGIFINDEX and SIOGIFNAME are not defined.
842 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA
843 according to recent kernel changes.
845 1997-09-10 21:32 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>
847 * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out
848 the installed name of the startup code.
849 (common-generated): Add version.mk.
850 * Makefile (distclean-1): Add glibcbug.
851 * Makerules: Replace -lgcc by $(gnulib).
852 * catgets/Makefile (generated): Add xmalloc.o.
853 * csu/Makefile (generated): Replace align.h and end.h by defs.h to
854 match the generated file.
855 * manual/Makefile (mostlyclean): Add stub-manual and stamp.o.
856 (realclean): Changed to remove chapters-incl[12].
857 * po/Makefile (realclean): New rule to remove the generated .mo files.
858 * time/Makefile: Only include zonefile dependencies if $(no_deps) is
859 not true to avoid make clean failure when directory time doesn't exist
861 (generated): Add tzselect.
863 * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise.
864 * stdio/internals.c (flushbuf): Likewise.
865 * stdio/linewrap.c (lwupdate): Likewise.
866 * stdio/memstream.c (enlarge_buffer): Likewise.
867 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
868 * time/tzset.c (compute_change): Likewise.
869 * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD
871 * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style
873 * sysdeps/stub/init-posix.c: Likewise.
874 * sysdeps/stub/profil.c: Likewise.
875 * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to
876 reduce gcc warning noise.
877 * stdio/glue.c (_filbuf, _flsbuf): Likewise.
878 * stdio/obstream.c (grow, seek, input, init_obstream): Likewise.
879 * stdio/vasprintf.c (enlarge_buffer): Likewise.
880 * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write,
881 __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open,
882 __stdio_reopen): Likewise.
883 * sysdeps/posix/defs.c (_cleanup): Likewise.
884 * time/offtime.c (__offtime): Add cast.
886 * posix/getopt.c: Don't use text_set_element if not defined.
888 * configure.in: Provide a check for underscores before user labels
889 that works even when the compiler used for building doesn't work
890 (like when there is no C library). Use the old way if the compiler
893 1997-09-10 05:08 David S. Miller <davem@caip.rutgers.edu>
895 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use
896 'T' not 't' on SparcLinux.
897 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits.
899 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for
900 _longjmp and siglongjmp.
902 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
904 * libio/stdio.h: Add format attributes to the extra printf and
905 scanf like functions.
906 * stdio/stdio.h: Likewise.
908 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
910 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
911 Print tablename_val, not tablename_len.
913 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
914 Use sprintf instead of sprintf, the string always fits.
915 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
917 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
919 * nis/nss_nisplus/nisplus-proto.c
920 (_nss_nisplus_getprotobynumber_r): Likewise.
921 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r):
923 * nis/nss_nisplus/nisplus-service.c
924 (_nss_nisplus_getservbynumber_r): Likewise.
926 * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use
927 __stpcpy, __stpncpy and __strdup instead of public names.
928 * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename):
930 * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise.
931 * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename):
933 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup):
935 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
937 (_nss_create_tablename): Likewise.
938 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
940 (_nss_create_tablename): Likewise.
941 * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename):
943 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
945 (_nss_create_tablename): Likewise.
946 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
948 (_nss_create_tablename): Likewise.
949 * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename):
952 * libc.map: Export __stpcpy and __strdup.
954 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
956 * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
957 CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive
960 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
962 * include/rpc/auth_des.h: New file.
964 1997-09-09 Paul Eggert <eggert@twinsun.com>
966 * time/mktime.c (__mktime_internal): Declare sec_requested even if
967 !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
970 1997-09-09 22:11 Ulrich Drepper <drepper@cygnus.com>
972 * sysdeps/posix/getcwd.c: Correct test for too small buffer.
973 Reported by Erik Troan <ewt@redhat.com>.
975 * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
976 * elf/dl-open.c: Likewise.
978 1997-09-07 17:09 Richard Henderson <rth@cygnus.com>
980 * sysdeps/alpha/Makefile: Kill setjmp_aux.
981 * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array.
982 * sysdeps/alpha/__longjmp.c: Remove.
983 * sysdeps/alpha/setjmp_aux.c: Remove.
984 * sysdeps/alpha/__longjmp.S: New file.
985 * sysdeps/alpha/bsd-_setjmp.S: Stub out.
986 * sysdeps/alpha/bsd-setjmp.S: Likewise.
987 * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux.
988 Move _setjmp and setjmp from bsd-*.S.
990 1997-09-06 20:20 Ulrich Drepper <drepper@cygnus.com>
992 * include/rpc/auth.h: New file.
993 * include/rpc/auth_unix.h: New file.
995 1997-09-06 Paul Eggert <eggert@twinsun.com>
997 Fix gmtime so that it reports leap seconds when TZ
998 indicates that leap seconds are desired.
1000 * time/gmtime.c (<stddef.h>): Remove unnecessary include.
1001 (gmtime): Put after gmtime_r, to help the compiler inline.
1002 (__tz_convert): New decl.
1003 (gmtime_r): Use __tz_convert instead of __offtime,
1004 so that leap seconds are handled correctly.
1006 * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
1007 are now unnecessary.
1008 (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
1009 __tzset_lock): Remove extern decls that are now unnecessary.
1010 (localtime_internal): Moved to __tz_convert in tzset.c.
1011 so that localtime and gmtime can both use it easily.
1012 (localtime): Put after localtime_r, to help the compiler inline.
1013 (localtime_r): Use __tz_convert instead of localtime_internal.
1015 * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
1018 * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
1020 * time/tzset.c (<errno.h>): Include.
1022 (__tzfile_compute): New function.
1023 (tz_compute): Renamed from __tz_compute. No longer extern.
1024 Remove redundant call to tzset_internal.
1025 (tzset_internal): Renamed from __tzset_internal. No longer extern.
1026 (tzset_lock): Renamed from __tzset_lock. No longer extern.
1027 (__tz_convert): New function, containing functionality of old
1028 localtime_internal function, plus locking and optional UTC.
1030 1997-09-06 Paul Eggert <eggert@twinsun.com>
1032 * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
1033 string, just use UTC without leap seconds. This is for compatibility
1034 with the Olson code.
1036 1997-09-06 Paul Eggert <eggert@twinsun.com>
1038 * time/tzset.c (__tzname_max): Lock tz data structures before
1039 invoking tzset_internal.
1041 * time/tzfile.c: Define compute_tzname_max statically.
1043 1997-09-07 10:57 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1045 * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs.
1046 * nis/nis_intern.h: Likewise.
1047 * nis/nss_nis/nis-publickey.c: Likewise.
1048 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1049 * nis/ypclnt.c: Likewise.
1051 * sunrpc/auth_des.c: Don't dereference NULL pointer,
1052 initialize ad->ad_timediff.
1054 * sunrpc/auth_none.c: Don't define our own prototypes, use the one
1055 from the header files.
1056 * sunrpc/auth_unix.c: Likewise.
1057 * sunrpc/clnt_raw.c: Likewise.
1058 * sunrpc/clnt_tcp.c: Likewise.
1059 * sunrpc/rpc_cmsg.c: Likewise.
1061 * sunrpc/key_call.c: Fix signal handling.
1063 * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy,
1064 or we will get a deadlock with NIS+.
1066 * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define
1069 1997-09-07 15:51 Ulrich Drepper <drepper@cygnus.com>
1071 * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
1072 __FD_ISSET): Use correct casts to address array correctly.
1073 Reported by urbanw@cs.umu.se.
1075 1997-09-07 05:07 Ulrich Drepper <drepper@cygnus.com>
1077 * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
1078 * elf/dl-open.c: Likewise.
1079 * sysdeps/i386/memset.c: Undefine memset in case the header with the
1080 optimized functions is included.
1081 Patches by NIIBE Yutaka <gniibe@mri.co.jp>.
1083 * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk,
1084 strsep): Use register for second parameter.
1085 * sysdeps/i386/i486/bits/string.h: Likewise.
1086 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
1088 1997-09-03 09:48 Geoff Keating <geoffk@ozemail.com.au>
1090 * math/libm-test.c: Change various tolerances to match what the
1091 tested routines can actually provide.
1093 * math/Makefile: Add new tests.
1094 * math/atest-sincos.c: New file.
1095 * math/atest-exp.c: New file.
1097 * csu/Makefile: Give initfini.s and initfiniS.s their own
1098 CFLAGS-* macros so they can be overridden.
1099 * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for
1100 initfiniS.s to use -fpic instead of -fPIC, because the sed script
1103 * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for
1106 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1107 Don't use register 0, to let _mcount be in a shared object.
1109 * sysdeps/powerpc/dl-machine.h: Use full sentences in comments.
1110 Generally clean up. Suppress some code we don't need when relocating
1112 * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when
1113 appropriate to suppress gcc warning.
1114 * resolv/res_send.c: Suppress warning.
1115 * sunrpc/xdr_sizeof.c: Suppress warning.
1117 * FAQ: Add ppc-linux.
1118 * manual/maint.texi: Add ppc-linux. Explain that gcc can't build it
1121 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for
1124 1997-08-15 07:45 Geoff Keating <geoffk@ozemail.com.au>
1126 * stdlib/fmtmsg.c: Use two parameters for __libc_once_define.
1127 * sysdeps/i386/machine-gmon.h: Correct typo.
1129 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match
1132 * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack.
1133 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use
1134 sysdeps/linux/dl-sysdep.c.
1136 * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount.
1137 * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount.
1138 * sysdeps/powerpc/ppc-mcount: New file.
1140 The following are mostly changes to allow profiling:
1141 * sysdeps/powerpc/add_n.S: Added.
1142 * sysdeps/powerpc/add_n.s: Removed.
1143 * sysdeps/powerpc/addmul_1.S: Added.
1144 * sysdeps/powerpc/addmul_1.s: Removed.
1145 * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro.
1146 * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro.
1147 * sysdeps/powerpc/lshift.S: Added.
1148 * sysdeps/powerpc/lshift.s: Removed.
1149 * sysdeps/powerpc/memset.S: Added.
1150 * sysdeps/powerpc/memset.s: Removed.
1151 * sysdeps/powerpc/mul_1.S: Added.
1152 * sysdeps/powerpc/mul_1.s: Removed.
1153 * sysdeps/powerpc/rshift.S: Added.
1154 * sysdeps/powerpc/rshift.s: Removed.
1155 * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros.
1156 * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros.
1157 * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro.
1158 * sysdeps/powerpc/strchr.S: Added.
1159 * sysdeps/powerpc/strchr.s: Removed.
1160 * sysdeps/powerpc/strcmp.S: Added.
1161 * sysdeps/powerpc/strcmp.s: Removed.
1162 * sysdeps/powerpc/strlen.S: Added.
1163 * sysdeps/powerpc/strlen.s: Removed.
1164 * sysdeps/powerpc/sub_n.S: Added.
1165 * sysdeps/powerpc/sub_n.s: Removed.
1166 * sysdeps/powerpc/submul_1.S: Added.
1167 * sysdeps/powerpc/submul_1.s: Removed.
1168 * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed.
1169 * sysdeps/unix/sysv/linux/powerpc/brk.S: Added.
1170 * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed.
1171 * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix
1172 various bugs. Document that it isn't tested.
1173 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like
1174 sysdeps/unix/_exit.S.
1175 * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros.
1176 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros.
1177 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros
1178 to make assembler (possibly) more portable, allow profiling, etc.
1180 1997-09-05 03:15 Ulrich Drepper <drepper@cygnus.com>
1182 * Makefile (subdirs): Reorganize order so that nss follows add-ons.
1183 * config.make.in (LDAP): Add.
1184 * configure.in: Prepare for ldap add-on.
1185 * shlib-versions: Add version numbers for ldap NSS module.
1186 * nss/Makefile: Add rules to build ldap NSS module.
1188 * db/btree/bt_page.c (__bt_free): Update meta data information.
1190 Update db from db-2.3.6.
1191 * db2/db.h: Updated.
1192 * db2/btree/bt_close.c: Updated.
1193 * db2/btree/bt_compare.c: Updated.
1194 * db2/btree/bt_conv.c: Updated.
1195 * db2/btree/bt_cursor.c: Updated.
1196 * db2/btree/bt_delete.c: Updated.
1197 * db2/btree/bt_put.c: Updated.
1198 * db2/btree/bt_rec.c: Updated.
1199 * db2/btree/bt_recno.c: Updated.
1200 * db2/btree/bt_search.c: Updated.
1201 * db2/btree/bt_split.c: Updated.
1202 * db2/btree/bt_stat.c: Updated.
1203 * db2/common/db_appinit.c: Updated.
1204 * db2/common/db_apprec.c: Updated.
1205 * db2/common/db_byteorder.c: Updated.
1206 * db2/common/db_err.c: Updated.
1207 * db2/common/db_region.c: Updated.
1208 * db2/db/db.c: Updated.
1209 * db2/db/db_conv.c: Updated.
1210 * db2/db/db_dup.c: Updated.
1211 * db2/db/db_pr.c: Updated.
1212 * db2/db/db_ret.c: Updated.
1213 * db2/db185/db185.c: Updated.
1214 * db2/dbm/dbm.c: Updated.
1215 * db2/hash/hash_dup.c: Updated.
1216 * db2/include/db_am.h: Updated.
1217 * db2/include/db_page.h: Updated.
1218 * db2/include/mp.h: Updated.
1219 * db2/include/queue.h: Updated.
1220 * db2/log/log.c: Updated.
1221 * db2/log/log_findckp.c: Updated.
1222 * db2/log/log_get.c: Updated.
1223 * db2/log/log_rec.c: Updated.
1224 * db2/mp/mp_bh.c: Updated.
1225 * db2/mp/mp_fopen.c: Updated.
1226 * db2/mp/mp_pr.c: Updated.
1227 * db2/mp/mp_sync.c: Updated.
1228 * db2/mutex/x86.gcc: Updated.
1229 * db2/os/db_os_dir.c: Updated.
1230 * db2/os/db_os_fid.c: Updated.
1231 * db2/progs/db_archive/db_archive.c: Updated.
1232 * db2/progs/db_checkpoint/db_checkpoint.c: Updated.
1233 * db2/progs/db_deadlock/db_deadlock.c: Updated.
1234 * db2/progs/db_dump/db_dump.c: Updated.
1235 * db2/progs/db_dump185/db_dump185.c: Updated.
1236 * db2/progs/db_load/db_load.c: Updated.
1237 * db2/progs/db_printlog/db_printlog.c: Updated.
1238 * db2/progs/db_recover/db_recover.c: Updated.
1239 * db2/progs/db_stat/db_stat.c: Updated.
1240 * db2/txn/txn.c: Updated.
1241 * db2/txn/txn_rec.c: Updated.
1243 * db2/Makefile: Add rule to build db_printlog.
1244 * db2/config.h: Don't include endian.h and don't define
1245 WORDS_BIGENDIAN. Only define HAVE_ENDIAN_H.
1247 * elf/dl-open.c (_dl_open): Make thread-safe.
1248 * elf/dl-close.c (_dl_close): Likewise.
1249 * elf/dlclose.c: Pretty print.
1250 * elf/dl-version.c (make_string): Use __strdup not strdup.
1251 (find_needed): Don't use l_searchlist of _dl_loaded, use the
1253 * elf/dl-deps.c (_dl_map_object_deps): Remove variable head.
1255 * manual/math.texi: Add note about == and != for FP values.
1256 * manual/message.texi: Mention problems with relative paths and
1258 * manual/string.texi: Mark strdupa and strndupa correctly as macros.
1260 * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings.
1261 * sunrpc/rpc_cout.c: Avoid needless races around return value.
1263 * sysdeps/generic/stpcpy.c: Include <config.h> if wanted.
1265 Update from tzdata-1997h.
1266 * time/africa: Updated.
1267 * time/europe: Updated.
1268 * time/iso3166.tab: Updated.
1269 * time/northamerica: Updated.
1270 * time/southamerica: Updated.
1271 * time/zone.tab: Updated.
1273 1997-09-04 13:19 Richard Henderson <rth@cygnus.com>
1275 * sysdeps/alpha/w_sqrt.S: Removed.
1276 * sysdeps/alpha/fpu/e_sqrt.c: New. Obey -mieee and -mieee-with-inexact
1277 and build a version that is as fast as possible given the constraint.
1279 1997-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1281 * manual/maint.texi: Document some defaults for configuration
1284 1997-09-04 15:57 Ulrich Drepper <drepper@cygnus.com>
1286 * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
1287 * termios/termios.h: Change prototype accordingly.
1288 Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1290 1997-07-26 14:42 H.J. Lu <hjl@gnu.ai.mit.edu>
1292 * libio/stdfiles.c (_libio_using_thunks): Define if
1293 _G_USING_THUNKS is defined.
1295 * libio/_G_config.h: Moved to ...
1296 * sysdeps/generic/_G_config.h: ...here.
1298 * sysdeps/unix/sysv/linux/_G_config.h: New,
1299 Add vtable thunks support.
1301 1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1303 * sysdeps/m68k/Makefile (pic-ccflag): Override it for more
1304 efficient code (together with a change in gcc).
1306 * Makeconfig (pic-ccflag): New variable.
1307 (CFLAGS-.os): Use it instead of hardcoding -fPIC.
1309 1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1311 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
1312 _dl_start instead of a local label, to avoid getting an unreadable
1315 1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1317 * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find
1320 * Makeconfig (dbobjdir): Use db2.
1322 1997-08-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1324 * manual/maint.texi (Porting to Unix): Update description of the
1325 implementation of Unix system calls.
1326 (Contributors): Use real umlaut in tege's name.
1328 1997-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1330 * sysdeps/libm-ieee754/w_gamma.c: Make compilable with
1332 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
1333 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
1335 1997-08-29 21:45 Ulrich Drepper <drepper@cygnus.com>
1337 * sunrpc/auth_des.c: New file. Copied from former secure_rpc add-on.
1338 * sunrpc/authdes_prot.c: New file. Likewise.
1339 * sunrpc/des.h: New file. Likewise.
1340 * sunrpc/des_crypt.c: New file. Likewise.
1341 * sunrpc/des_soft.c: New file. Likewise.
1342 * sunrpc/key_call.c: New file. Likewise.
1343 * sunrpc/key_prot.c: New file. Likewise.
1344 * sunrpc/netname.c: New file. Likewise.
1345 * sunrpc/openchild.c: New file. Likewise.
1346 * sunrpc/rtime.c: New file. Likewise.
1347 * sunrpc/svc_auth.c: New file. Likewise.
1348 * sunrpc/svcauth_des.c: New file. Likewise.
1349 * sunrpc/xcrypt.c: New file. Likewise.
1350 * sunrpc/rpc/auth.h: New file. Likewise.
1351 * sunrpc/rpc/auth_des.h: New file. Likewise.
1352 * sunrpc/rpc/des_crypt.h: New file. Likewise.
1353 * sunrpc/rpc/key_prot.h: New file. Likewise.
1354 * sunrpc/rpcsvc/key_prot.x: New file. Likewise.
1355 * sysdeps/generic/svc_auth.h: Removed.
1356 * sysdeps/generic/rpc/auth.h: Removed.
1357 * sysdeps/generic/rpc/auth_des.h: Removed.
1358 * sysdeps/stub/des_impl.c: New file. Stub version for DES.
1359 * sunrpc/Makefile (rpcsvc): Add keyprot.x.
1360 (headers): Add des_crypt.h and key_prot.h.
1361 (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft,
1362 key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt.
1363 (distribute): Add des.h.
1365 * db2/Makefile: Add all headers and other files to distribute.
1366 (others): Add db_printlog.
1368 * sysdeps/mach/hurd/Dist: Add net/* headers.
1369 * sysdeps/mach/hurd/mips/Dist: New file.
1370 * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c.
1371 * sysdeps/sparc/Dist: Add sys/trap.h.
1372 * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h.
1373 * sysdeps/sparc/sparc32/sparcv8/Dist: New file.
1374 * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h.
1375 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h.
1376 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h.
1378 Add previously missing assembler files for PPC.
1379 * sysdeps/powerpc/add_n.s: New file.
1380 * sysdeps/powerpc/addmul_1.s: New file.
1381 * sysdeps/powerpc/lshift.s: New file.
1382 * sysdeps/powerpc/memset.s: New file.
1383 * sysdeps/powerpc/mul_1.s: New file.
1384 * sysdeps/powerpc/rshift.s: New file.
1385 * sysdeps/powerpc/strchr.s: New file.
1386 * sysdeps/powerpc/strcmp.s: New file.
1387 * sysdeps/powerpc/sub_n.s: New file.
1388 * sysdeps/powerpc/submul_1.s: New file.
1390 1997-08-28 18:42 Thorsten Kukuk <kukuk@uni-paderborn.de>
1392 * nis/nis_server.c: Rewritten to fix a lot of bugs.
1394 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1396 * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New
1399 1997-08-29 02:36 Ulrich Drepper <drepper@cygnus.com>
1401 * Makefile (version-info.h): Use ISO form for the date.
1403 * catgets/catgetsinfo.h: Include <bits/libc-lock.h>.
1404 (struct catalog_obj): Add lock field.
1405 (__open_catalog): Remove second parameter from prototype.
1406 * catgets/catgets.c (catopen): Initialize lock field.
1407 (catgets): Don't pass second parameter to __open_catalog.
1408 * catgets/gencat.c: Initialize lock field and don't pass second
1409 parameter to __open_catalog.
1410 * catgets/open_catalog.c (__open_catalog): Decide about use of
1411 path by examining path in struct, not based on extra argument.
1412 Acquire a the lock before trying to load the catalog and release
1413 it before returning.
1415 * csu/Makefile (abi-tag.h): Make sure target directory exists.
1417 * io/Makefile (headers): Add bits/poll.h.
1418 * io/sys/poll.h: Remove definitions of POLL* constants.
1419 Include <bits/poll.h>.
1420 * sysdeps/generic/bits/poll.h: New file.
1421 * sysdeps/unix/sysv/linux/bits/poll.h: New file.
1422 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file.
1423 * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file.
1424 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file.
1426 * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code.
1428 * malloc/obstack.c: Add casts to keep very verbose compilers on
1429 64bit machine quiet.
1431 * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory.
1433 1997-08-28 17:30 Ulrich Drepper <drepper@cygnus.com>
1435 * catgets/catgets.c (catopen): Correctly determine length of string
1436 in NLSPATH environment variable. Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
1438 1997-08-27 23:19 Richard Henderson <rth@cygnus.com>
1440 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide
1441 default macro to track down arguments from stack start.
1442 (_dl_sysdep_start): Use it.
1443 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply
1444 providing a special DL_FIND_ARG_COMPONENTS and including the next
1447 * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub.
1448 * sysdeps/powerpc/e_sqrtf.c: Likewise.
1449 * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with
1450 the double precision version.
1451 * sysdeps/powerpc/s_fabsf.S: Likewise.
1452 * sysdeps/powerpc/s_isnanf.S: Likewise.
1454 1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com>
1456 * nss/nss_db/db-XXX.c: Include <db_185.h> not <db.h>. Somebody
1457 should update this to use the new db API.
1458 * nss/nss_db/db-netgrp.c: Likewise.
1459 * nss/nss_db/db-alias.c: Likewise.
1460 * db2/Makefile: Makefile for db-2.x in glibc.
1462 1997-08-27 21:20 Ulrich Drepper <drepper@cygnus.com>
1464 * csu/Makefile (before-compile): New goal. Make sure abi-tag.h
1466 [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found.
1468 * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add
1469 -D__USE_STRING_INLINES.
1470 * string/string.f: Move strnlen optimization after inclusion of
1471 <bits/string.h>. Include <bits/string.h> only if __USE_STRING_INLINES
1473 * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name
1475 * sysdeps/generic/memset.c: Likewise.
1476 * sysdeps/i386/string.h: i386 optimized string functions.
1477 * sysdeps/i386/i486string.h: i486+ optimized string functions.
1479 * Makefile (subdirs): Change db to db2.
1480 * shlib-versions: Bump libdb verion number to 3.
1481 * include/db.h: Include from db2 directory.
1482 * include/db_185.h: New file.
1483 * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros
1484 to provide spinlock information for db2.
1485 * sysdeps/m68k/m68020/Makefile: New file. Likewise.
1486 * sysdeps/sparc/Makefile: New file. Likewise.
1487 * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS):
1489 * db2/config.h: Hand-edited config file for db2 in glibc.
1490 * db2/compat.h: New file from db-2.3.4.
1491 * db2/db.h: Likewise.
1492 * db2/db_185.h: Likewise.
1493 * db2/db_int.h: Likewise.
1494 * db2/makedb.c: Likewise.
1495 * db2/btree/bt_close.c: Likewise.
1496 * db2/btree/bt_compare.c: Likewise.
1497 * db2/btree/bt_conv.c: Likewise.
1498 * db2/btree/bt_cursor.c: Likewise.
1499 * db2/btree/bt_delete.c: Likewise.
1500 * db2/btree/bt_open.c: Likewise.
1501 * db2/btree/bt_page.c: Likewise.
1502 * db2/btree/bt_put.c: Likewise.
1503 * db2/btree/bt_rec.c: Likewise.
1504 * db2/btree/bt_recno.c: Likewise.
1505 * db2/btree/btree_auto.c: Likewise.
1506 * db2/btree/bt_rsearch.c: Likewise.
1507 * db2/btree/bt_search.c: Likewise.
1508 * db2/btree/bt_split.c: Likewise.
1509 * db2/btree/bt_stat.c: Likewise.
1510 * db2/btree/btree.src: Likewise.
1511 * db2/common/db_appinit.c: Likewise.
1512 * db2/common/db_err.c: Likewise.
1513 * db2/common/db_byteorder.c: Likewise.
1514 * db2/common/db_apprec.c: Likewise.
1515 * db2/common/db_salloc.c: Likewise.
1516 * db2/common/db_log2.c: Likewise.
1517 * db2/common/db_region.c: Likewise.
1518 * db2/common/db_shash.c: Likewise.
1519 * db2/db/db.c: Likewise.
1520 * db2/db/db.src: Likewise.
1521 * db2/db/db_conv.c: Likewise.
1522 * db2/db/db_dispatch.c: Likewise.
1523 * db2/db/db_dup.c: Likewise.
1524 * db2/db/db_overflow.c: Likewise.
1525 * db2/db/db_pr.c: Likewise.
1526 * db2/db/db_rec.c: Likewise.
1527 * db2/db/db_ret.c: Likewise.
1528 * db2/db/db_thread.c: Likewise.
1529 * db2/db/db_auto.c: Likewise.
1530 * db2/db185/db185.c: Likewise.
1531 * db2/db185/db185_int.h: Likewise.
1532 * db2/dbm/dbm.c: Likewise.
1533 * db2/hash/hash.c: Likewise.
1534 * db2/hash/hash.src: Likewise.
1535 * db2/hash/hash_page.c: Likewise.
1536 * db2/hash/hash_conv.c: Likewise.
1537 * db2/hash/hash_debug.c: Likewise.
1538 * db2/hash/hash_stat.c: Likewise.
1539 * db2/hash/hash_rec.c: Likewise.
1540 * db2/hash/hash_dup.c: Likewise.
1541 * db2/hash/hash_func.c: Likewise.
1542 * db2/hash/hash_auto.c: Likewise.
1543 * db2/include/mp.h: Likewise.
1544 * db2/include/btree.h: Likewise.
1545 * db2/include/db.h.src: Likewise.
1546 * db2/include/db_int.h.src: Likewise.
1547 * db2/include/db_shash.h: Likewise.
1548 * db2/include/db_swap.h: Likewise.
1549 * db2/include/db_185.h.src: Likewise.
1550 * db2/include/txn.h: Likewise.
1551 * db2/include/db_am.h: Likewise.
1552 * db2/include/shqueue.h: Likewise.
1553 * db2/include/hash.h: Likewise.
1554 * db2/include/db_dispatch.h: Likewise.
1555 * db2/include/lock.h: Likewise.
1556 * db2/include/db_page.h: Likewise.
1557 * db2/include/log.h: Likewise.
1558 * db2/include/db_auto.h: Likewise.
1559 * db2/include/btree_auto.h: Likewise.
1560 * db2/include/hash_auto.h: Likewise.
1561 * db2/include/log_auto.h: Likewise.
1562 * db2/include/txn_auto.h: Likewise.
1563 * db2/include/db_ext.h: Likewise.
1564 * db2/include/btree_ext.h: Likewise.
1565 * db2/include/clib_ext.h: Likewise.
1566 * db2/include/common_ext.h: Likewise.
1567 * db2/include/hash_ext.h: Likewise.
1568 * db2/include/lock_ext.h: Likewise.
1569 * db2/include/log_ext.h: Likewise.
1570 * db2/include/mp_ext.h: Likewise.
1571 * db2/include/mutex_ext.h: Likewise.
1572 * db2/include/os_ext.h: Likewise.
1573 * db2/include/txn_ext.h: Likewise.
1574 * db2/include/cxx_int.h: Likewise.
1575 * db2/include/db_cxx.h: Likewise.
1576 * db2/include/queue.h: Likewise.
1577 * db2/lock/lock.c: Likewise.
1578 * db2/lock/lock_conflict.c: Likewise.
1579 * db2/lock/lock_util.c: Likewise.
1580 * db2/lock/lock_deadlock.c: Likewise.
1581 * db2/log/log.c: Likewise.
1582 * db2/log/log_get.c: Likewise.
1583 * db2/log/log.src: Likewise.
1584 * db2/log/log_compare.c: Likewise.
1585 * db2/log/log_put.c: Likewise.
1586 * db2/log/log_rec.c: Likewise.
1587 * db2/log/log_archive.c: Likewise.
1588 * db2/log/log_register.c: Likewise.
1589 * db2/log/log_auto.c: Likewise.
1590 * db2/log/log_findckp.c: Likewise.
1591 * db2/mp/mp_bh.c: Likewise.
1592 * db2/mp/mp_fget.c: Likewise.
1593 * db2/mp/mp_fopen.c: Likewise.
1594 * db2/mp/mp_fput.c: Likewise.
1595 * db2/mp/mp_fset.c: Likewise.
1596 * db2/mp/mp_open.c: Likewise.
1597 * db2/mp/mp_region.c: Likewise.
1598 * db2/mp/mp_pr.c: Likewise.
1599 * db2/mp/mp_sync.c: Likewise.
1600 * db2/mutex/68020.gcc: Likewise.
1601 * db2/mutex/mutex.c: Likewise.
1602 * db2/mutex/README: Likewise.
1603 * db2/mutex/x86.gcc: Likewise.
1604 * db2/mutex/sparc.gcc: Likewise.
1605 * db2/mutex/uts4.cc.s: Likewise.
1606 * db2/mutex/alpha.dec: Likewise.
1607 * db2/mutex/alpha.gcc: Likewise.
1608 * db2/mutex/parisc.gcc: Likewise.
1609 * db2/mutex/parisc.hp: Likewise.
1610 * db2/os/db_os_abs.c: Likewise.
1611 * db2/os/db_os_dir.c: Likewise.
1612 * db2/os/db_os_fid.c: Likewise.
1613 * db2/os/db_os_lseek.c: Likewise.
1614 * db2/os/db_os_mmap.c: Likewise.
1615 * db2/os/db_os_open.c: Likewise.
1616 * db2/os/db_os_rw.c: Likewise.
1617 * db2/os/db_os_sleep.c: Likewise.
1618 * db2/os/db_os_stat.c: Likewise.
1619 * db2/os/db_os_unlink.c: Likewise.
1620 * db2/txn/txn.c: Likewise.
1621 * db2/txn/txn.src: Likewise.
1622 * db2/txn/txn_rec.c: Likewise.
1623 * db2/txn/txn_auto.c: Likewise.
1624 * db2/clib/getlong.c: Likewise.
1625 * db2/progs/db_archive/db_archive.c: Likewise.
1626 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1627 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1628 * db2/progs/db_dump/db_dump.c: Likewise.
1629 * db2/progs/db_dump185/db_dump185.c: Likewise.
1630 * db2/progs/db_load/db_load.c: Likewise.
1631 * db2/progs/db_printlog/db_printlog.c: Likewise.
1632 * db2/progs/db_recover/db_recover.c: Likewise.
1633 * db2/progs/db_stat/db_stat.c: Likewise.
1635 * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline.
1637 * po/de.po, po/sv.po: Update from 2.0.5 translations.
1639 * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print.
1641 * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback
1643 * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const.
1644 * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise.
1645 * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise.
1647 1997-08-27 18:47 Ulrich Drepper <drepper@cygnus.com>
1649 * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>.
1650 Reported by Benjamin Kosnik <bkoz@cygnus.com>.
1652 1997-08-27 02:27 Roland McGrath <roland@baalperazim.frob.com>
1654 * abi-tags: New file.
1655 * csu/Makefile (distribute): Remove abi-tag.h.
1656 ($(objpfx)abi-tag.h): New target.
1657 * Makefile (distribute): Add abi-tags.
1658 * sysdeps/unix/sysv/linux/abi-tag.h: File removed.
1659 * sysdeps/mach/hurd/abi-tag.h: File removed.
1660 * sysdeps/stub/abi-tag.h: File removed.
1662 1997-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1664 * sysdeps/unix/make-syscalls.sh: Change output so that it
1665 generates compilation rules only for the currently selected object
1668 1997-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1670 * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous
1671 section to avoid confusing the compiler.
1672 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1673 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1674 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1675 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
1676 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1678 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT
1679 relocation instead of a constant to avoid text relocation.
1680 (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
1681 (RTLD_START): Declare global labels as functions and add size
1684 1997-08-25 17:01 Ulrich Drepper <drepper@cygnus.com>
1686 * sysdeps/i386/bits/select.h: Correct assembler versions to work even
1687 for descriptors >= 32.
1689 * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
1690 is used __alloca is not defined to __builtin_alloca and so might
1692 Reported by Uwe Ohse <uwe@ohse.de>.
1694 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
1695 way if gcc is not used and so dev_t is an array.
1696 Reported by Uwe Ohse <uwe@ohse.de>.
1698 1997-08-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1700 * manual/libc.texinfo: Reorder chapters to match logical order.
1702 1997-08-25 12:22 Ulrich Drepper <drepper@cygnus.com>
1704 * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
1705 xdr_reference, xdrmem_create, and xdrstdio_create because of clash
1706 with g++ internal symbols.
1707 Patch by Sudish Joseph <sj@eng.mindspring.net>.
1709 1997-08-24 Miles Bader <miles@gnu.ai.mit.edu>
1711 * string/argz.h: Add missing __END_DECLS.
1713 1997-08-24 12:24 Ulrich Drepper <drepper@cygnus.com>
1715 * configure.in (INSTALL): Quote `$'.
1717 * libc.map: Add __xpg_basename.
1719 * csu/Makefile (initfini.s): Disable optimization.
1721 * elf/dl-deps.c: Implement handling of DT_FILTER.
1723 * elf/dl-load.c (_dl_init_paths): Add error check.
1725 * intl/finddomain.c (_nl_find_domain): Correct comment.
1726 * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>.
1728 * libio/stdio.h: Make {,v}snprintf available if __USE_BSD.
1729 Change extern inline functions to work correctly in C++.
1731 * locale/iso-4217.def: Update for more recent ISO 4217 version.
1733 * locale/loadlocale.c (_nl_load_locale): Add cast.
1735 * manual/message.texi: Finish gettext section.
1737 * posix/getopt_init.c: Don't use relative #include path.
1738 (__getopt_clean_environment): Change function to take pointer to
1739 environment as argument. Optimize generation of test string a bit.
1740 * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment
1741 with additional argument.
1743 * poisx/glob.c: Add prototype for next_brace_sub.
1745 * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary
1748 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite
1749 to not generate relocation entry. Suggested by Richard Henderson.
1750 (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
1751 (elf_machine_runtime_setup): Add .aligns.
1753 * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms.
1755 * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of
1756 1997-08-14 03:14. gcc 2.7.2* is really broken in some aspects.
1758 * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit.
1759 * sysdeps/standalone/i960/i960ca.h: Likewise.
1761 1997-08-22 19:04 Richard Henderson <rth@cygnus.com>
1763 * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to
1764 undocumented test addition in _dl_map_object.
1766 Support ET_EXEC versions of ld.so, for debugging at least:
1768 * elf/dl-load.c (_dl_map_object): Add_name_to_object could get
1769 called despite the DT_SONAME != NULL test, segfaulting. Simplify
1770 the code here as well.
1771 * elf/dl-lookup.c (do_lookup): Skip objects with no symtab.
1772 (_dl_setup_hash): Likewise for hash tables.
1773 * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs.
1774 * elf/rtld.c (_dl_start): Likewise for rpath.
1775 (_dl_rtld_libname2): New variable.
1776 (dl_main): Use it to add an soname for ourselves when we don't have
1777 one of our own. Base it on the target's .interp.
1778 (dl_main): Again, skip printing of objects that don't have strtabs.
1782 * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value.
1783 (fixup): Simplify code. Use ELF_FIXUP_RETURN_VALUE.
1784 (profile_fixup): Likewise, though this still needs fixing for
1786 * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS
1787 to ELF_FIXUP_RETURN_VALUE.
1789 * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation.
1790 Fix up _dl_start_user to handle _dl_skip_args properly.
1791 Use _dl_hwcap to determine if "flush" is available/needed.
1793 * sysdeps/sparc/configure.in: Remove. It doesn't actually do
1794 anything anymore, and what it did do is done somewhere else.
1795 * sysdeps/sparc/configure: Likewise.
1797 * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New.
1799 * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code.
1801 * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits
1802 in divrem expansions.
1804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New
1805 definitions for assembly syntax differences.
1807 * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the
1808 "system". Use %g2,%g3 instead. Use new local label macro.
1809 * sysdeps/sparc/sparc32/add_n.S: Use <sysdep.h> and ENTRY, END,
1810 and LOC for proper assembly headers/footers.
1811 * sysdeps/sparc/sparc32/addmul_1.S: Likewise.
1812 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1813 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1814 * sysdeps/sparc/sparc32/lshift.S: Likewise.
1815 * sysdeps/sparc/sparc32/mul_1.S: Likewise.
1816 * sysdeps/sparc/sparc32/rshift.S: Likewise.
1817 * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise.
1818 * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise.
1819 * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise.
1820 * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise.
1821 * sysdeps/sparc/sparc32/sub_n.S: Likewise.
1822 * sysdeps/sparc/sparc32/submul_1.S: Likewise.
1823 * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise.
1824 * sysdeps/sparc/sparc32/umul.S: Likewise.
1825 * sysdeps/sparc/sparc32/divrem.m4: Likewise.
1826 * sysdeps/sparc/sparc32/rem.S: Regenerate.
1827 * sysdeps/sparc/sparc32/sdiv.S: Regenerate.
1828 * sysdeps/sparc/sparc32/udiv.S: Regenerate.
1829 * sysdeps/sparc/sparc32/urem.S: Regenerate.
1831 * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file.
1832 * sysdeps/sparc/sparc32/sparcv8/rem.S: New file.
1833 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file.
1834 * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file.
1835 * sysdeps/sparc/sparc32/sparcv8/umul.S: New file.
1836 * sysdeps/sparc/sparc32/sparcv8/urem.S: New file.
1838 * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out.
1839 * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise.
1840 * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points.
1842 * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S:
1845 * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified
1846 from the sparc64 version.
1847 * sysdeps/sparc/sparc32/elf/start.c: Removed.
1849 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in
1850 assembly based on the sparc64 version.
1852 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh. Use proper syntax
1853 for manipulating %fsr.
1854 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance
1857 * elf/elf.h (HWCAP_SPARC_*): New definitions.
1858 * elf/rtld.c (_dl_hwcap): New variable.
1859 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP.
1861 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file.
1862 Attempt to get hold of the page size based on what we might have
1863 been told at startup time in _dl_pagesize. This will be obsolete
1864 when I finish the kernel hooks for a proper sysconf(), stay tuned.
1868 * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New.
1869 Figure out the right thing to return based on the .plt format.
1871 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment.
1873 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t):
1874 Should have been 64-bits wide.
1876 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx,
1877 optimize for branch delay slot usage.
1879 1997-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1881 * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os
1884 1997-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1886 * math/libm-test.c (identities): Change epsilon.
1888 * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs,
1889 fabsf, fabsl, __fabsl.
1891 1997-08-20 05:30 Ulrich Drepper <drepper@cygnus.com>
1893 * catgets/catgets.c (catclose): Use __munmap instead of munmap.
1894 * catgets/gencat.c (read_input_file): Fix typo.
1896 * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN.
1898 * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets
1899 executed (e.g., when it is a static binary).
1901 * intl/bindtextdomain.c: Use strdup in glibc. Correct comment.
1902 * intl/dcgettext.c: Likewise.
1903 * intl/dgettext.c: Likewise.
1904 * intl/explodename.c: Likewise.
1905 * intl/finddomain.c: Likewise.
1906 * intl/gettext.c: Likewise.
1907 * intl/gettext.h: Likewise.
1908 * intl/hash-string.h: Likewise.
1909 * intl/l10nflist.c: Likewise.
1910 * intl/libintl.h: Likewise.
1911 * intl/loadinfo.h: Likewise.
1912 * intl/loadmsgcat.c: Likewise.
1913 * intl/localealias.c: Likewise.
1914 * intl/textdomain.c: Likewise.
1916 Unify libio sources with code in libg++.
1917 * libio/fcloseall.c: Update and reformat copyright. Protect use
1918 of weak_alias. Use _IO_* thread macros instead of __libc_*.
1919 * libio/feof.c: Likewise.
1920 * libio/feof_u.c: Likewise.
1921 * libio/ferror.c: Likewise.
1922 * libio/ferror_u.c: Likewise.
1923 * libio/fgetc.c: Likewise.
1924 * libio/filedoalloc.c: Likewise.
1925 * libio/fileno.c: Likewise.
1926 * libio/fileops.c: Likewise.
1927 * libio/fputc.c: Likewise.
1928 * libio/fputc_u.c: Likewise.
1929 * libio/freopen.c: Likewise.
1930 * libio/fseek.c: Likewise.
1931 * libio/genops.c: Likewise.
1932 * libio/getc.c: Likewise.
1933 * libio/getc_u.c: Likewise.
1934 * libio/getchar.c: Likewise.
1935 * libio/getchar_u.c: Likewise.
1936 * libio/iofclose.c: Likewise.
1937 * libio/iofdopen.c: Likewise.
1938 * libio/iofflush.c: Likewise.
1939 * libio/iofflush_u.c: Likewise.
1940 * libio/iofgetpos.c: Likewise.
1941 * libio/iofgets.c: Likewise.
1942 * libio/iofopen.c: Likewise.
1943 * libio/iofopncook.c: Likewise.
1944 * libio/iofprintf.c: Likewise.
1945 * libio/iofputs.c: Likewise.
1946 * libio/iofread.c: Likewise.
1947 * libio/iofsetpos.c: Likewise.
1948 * libio/ioftell.c: Likewise.
1949 * libio/iofwrite.c: Likewise.
1950 * libio/iogetdelim.c: Likewise.
1951 * libio/iogetline.c: Likewise.
1952 * libio/iogets.c: Likewise.
1953 * libio/iopadn.c: Likewise.
1954 * libio/iopopen.c: Likewise.
1955 * libio/ioputs.c: Likewise.
1956 * libio/ioseekoff.c: Likewise.
1957 * libio/ioseekpos.c: Likewise.
1958 * libio/iosetbuffer.c: Likewise.
1959 * libio/iosetvbuf.c: Likewise.
1960 * libio/iosprintf.c: Likewise.
1961 * libio/ioungetc.c: Likewise.
1962 * libio/iovdprintf.c: Likewise.
1963 * libio/iovsprintf.c: Likewise.
1964 * libio/iovsscanf.c: Likewise.
1965 * libio/libio.h: Likewise.
1966 * libio/libioP.h: Likewise.
1967 * libio/obprintf.c: Likewise.
1968 * libio/pclose.c: Likewise.
1969 * libio/peekc.c: Likewise.
1970 * libio/putc.c: Likewise.
1971 * libio/putchar.c: Likewise.
1972 * libio/rewind.c: Likewise.
1973 * libio/setbuf.c: Likewise.
1974 * libio/setlinebuf.c: Likewise.
1975 * libio/stdfiles.c: Likewise.
1976 * libio/stdio.c: Likewise.
1977 * libio/strfile.h: Likewise.
1978 * libio/strops.c: Likewise.
1979 * libio/vasprintf.c: Likewise.
1980 * libio/vscanf.c: Likewise.
1981 * libio/vsnprintf.c: Likewise.
1983 * manual/libc.texinfo: Add menu entries for chapter on message
1985 * manual/locale.texi: Correct next entry in @node for new chapter.
1986 * manual/search.texi: Likewise for previous link.
1987 * manual/message.texi: New file.
1988 * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH,
1989 setenv, unsetenv, and clearenv.
1990 * manual/string.texi: Fix typos. Patch by Jim Meyering.
1992 * math/Makefile (test-longdouble-yes): Enable. We want long double
1995 Crusade against strcat.
1996 * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat.
1997 * stdlib/canonicalize.c: Likewise.
1999 * posix/glob.h: Define __const if necessary. Use __const in all
2002 * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other
2005 * posix/wordexp.c: Completely reworked buffer handling for much
2006 better performance. Patch by Tim Waugh.
2008 * socket/sys/sochet.h (getpeername): Fix type of LEN parameter,
2009 it must be socklen_t.
2011 * sysdeps/libm-i387/e_remainder.S: Pretty print.
2012 * sysdeps/libm-i387/e_remainderf.S: Likewise.
2013 * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
2014 * sysdeps/libm-i387/s_cexp.S: Little optimization.
2015 * sysdeps/libm-i387/s_cexpl.S: Likewise.
2016 * sysdeps/libm-ieee754/s_csinhl.c: Include <fenv.h>.
2018 1997-08-18 15:21 Ulrich Drepper <drepper@cygnus.com>
2020 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak
2023 1997-08-17 Paul Eggert <eggert@twinsun.com>
2025 * tzset.c (__tzset_internal): Fix memory leak when the user
2026 specifies a TZ value that uses a default rule file.
2027 Do not assume US DST rules when the user specifies
2028 that there is no DST.
2030 1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com>
2032 * inet/getnameinfo.c: Tidy up.
2033 * sysdeps/posix/getaddrinfo.c: Likewise.
2035 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if
2037 (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it.
2038 (if_nameindex): Use alloca() rather than malloc(); use
2039 SIOCGIFCOUNT ioctl if the kernel supports it.
2041 1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2043 * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
2044 they operate on internal kernel structures and have no place in a
2047 1997-08-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2049 * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit).
2050 (build-shlib): Filter them out of $^.
2052 1997-08-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2054 * elf/dl-error.c (_dl_signal_error): Fix error message.
2056 1997-08-16 04:06 Ulrich Drepper <drepper@cygnus.com>
2058 * assert/assert.h [__USE_GNU]: Undefine assert_perror.
2059 Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
2061 1997-08-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2063 * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb]
2064 to avoid conflict with PO files.
2065 * Makerules: Likewise.
2067 * elf/Makefile: Likewise.
2068 * extra-lib.mk: Likewise.
2069 * gmon/Makefile: Likewise.
2070 * nis/Makefile: Likewise.
2071 * nss/Makefile: Likewise.
2072 * resolv/Makefile: Likewise.
2073 * rpm/Makefile: Likewise.
2074 * sunrpc/Makefile: Likewise.
2075 * sysdeps/sparc/elf/Makefile: Likewise.
2076 * sysdeps/sparc64/elf/Makefile: Likewise.
2077 * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
2078 (ASFLAGS-.os): Renamed from as-FLAGS.os.
2080 1997-08-14 03:14 Ulrich Drepper <drepper@cygnus.com>
2082 * elf/dl-minimal.c: Don't use relative #include paths.
2083 (malloc): Don't try to initialize _dl_pagesize, it already is.
2084 (__sigjmp_save, longjmp): Reformat.
2086 * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to
2087 show content of auxiliary array.
2088 (_dl_sysdep_start): Remember start of auxiliary vector.
2089 * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function.
2090 * elf/link.h: Add prototype for _dl_show_auxv.
2091 * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar
2094 * libio/iofdopen.c: Better prepare for use in libstdc++.
2095 * libio/iofflush.c: Likewise.
2096 * libio/iofgetpos.c: Likewise.
2097 * libio/iofgets.c: Likewise.
2098 * libio/iofopen.c: Likewise.
2099 * libio/iofputs.c: Likewise.
2100 * libio/iofread.c: Likewise.
2101 * libio/iofsetpos.c: Likewise.
2102 * libio/ioftell.c: Likewise.
2103 * libio/iofwrite.c: Likewise.
2104 * libio/iogetdelim.c: Likewise.
2105 * libio/iogets.c: Likewise.
2106 * libio/iopopen.c: Likewise.
2107 * libio/ioputs.c: Likewise.
2108 * libio/iosetbuffer.c: Likewise.
2109 * libio/iosetvbuf.c: Likewise.
2110 * libio/ioungetc.c: Likewise.
2111 * libio/iovsprintf.c: Likewise.
2112 * libio/iovsscanf.c: Likewise.
2114 * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct
2117 * manual/math.texi: Add comment to sincos decsription to say it's a
2119 Fix description of random function.
2121 * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32.
2122 * posix/glob.c: Likewise. Handle stupid system headers on SunOS.
2123 Add casts for all __alloca calls.
2124 * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32.
2125 Declare additional GLOB_* constants also if _GNU_SOURCE is defined.
2126 Patches by Paul D. Smith <psmith@BayNetworks.COM>.
2128 * stdio-common/_itoa.c: Don't use relateive #include paths.
2130 * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for
2132 (atan): Loading 1.0 from memory does not pay off.
2135 1997-08-13 09:44 Philip Blundell <Philip.Blundell@pobox.com>
2137 * sysdeps/stub/accept.c: Use socklen_t where necessary.
2138 * sysdeps/stub/bind.c: Likewise.
2139 * sysdeps/stub/connect.c: Likewise.
2140 * sysdeps/stub/getsockname.c: Likewise.
2141 * sysdeps/stub/getsockopt.c: Likewise.
2142 * sysdeps/stub/recvfrom.c: Likewise.
2143 * sysdeps/stub/sendto.c: Likewise.
2144 * sysdeps/stub/setsockopt.c: Likewise.
2146 1997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2148 * io/ftw.c (object_compare): Avoid memcmp when comparing scalar
2151 1997-08-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2153 * math/libm-test.c (cbrt_test): Add epsilon for long double to
2156 1997-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2158 * sysdeps/stub/bits/string.h: Fix comment.
2160 1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2162 * elf/Makefile (routines): Remove dl-version.
2163 (dl-routines): Add it here instead. This removes dead code from
2166 1997-08-12 17:17 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2168 * malloc/thread-m.h (thread_atfork, thread_atfork_static): New
2169 macros to encapsulate pthread_atfork's functionality.
2170 * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New
2171 functions, registered via thread_atfork in the initialization
2172 routine or via thread_atfork_static in global scope. This
2173 ensures a consistent state of all locks across fork().
2175 1997-08-11 23:00:32 1997 Mark Kettenis <kettenis@phys.uva.nl>
2177 * login/programs/xtmp.c (compare_entry):
2178 Partially undo patch made by Klaus Espenlaub. There
2179 was no xtmp/utmp typo. Added comment to cclarify this.
2180 * login/programs/xtmp.h: Likewise.
2182 * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32.
2183 Patch by Paul D. Smith <psmith@BayNetworks.COM>.
2185 1997-08-12 13:51 Ulrich Drepper <drepper@cygnus.com>
2187 * login/getutid.c: Rename to __getutid and make getutid and getutxid
2189 Patch by ir. Mark M._Kettenis <kettenis@phys.uva.nl>.
2191 1997-08-11 23:55 Ulrich Drepper <drepper@cygnus.com>
2193 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
2196 1997-08-11 08:51:21 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
2198 * stdlib/fmtmsg.c (fmtmsg): Add static to
2199 __libc_once_define macro.
2201 * libc.map (__progname_full, __progname): Added.
2203 1997-08-04 08:31 H.J. Lu <hjl@gnu.ai.mit.edu>
2205 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0
2206 if SIOGIFINDEX is not defined.
2207 (if_indextoname): Initialize "result" to NULL.
2208 (if_nametoindex, if_nameindex): Fix ENOSYS setting.
2210 1997-08-11 11:58 Richard Henderson <rth@cygnus.com>
2212 Sparc ISO C 9x exception handling:
2213 * sysdeps/sparc/fpu/bits/mathdef.h: New file.
2214 * sysdeps/sparc/fpu/fclrexcpt.c: New file.
2215 * sysdeps/sparc/fpu/fegetenv.c: New file.
2216 * sysdeps/sparc/fpu/fegetround.c: New file.
2217 * sysdeps/sparc/fpu/feholdexcpt.c: New file.
2218 * sysdeps/sparc/fpu/fesetenv.c: New file.
2219 * sysdeps/sparc/fpu/fesetround.c: New file.
2220 * sysdeps/sparc/fpu/feupdateenv.c: New file.
2221 * sysdeps/sparc/fpu/fgetexcptflg.c: New file.
2222 * sysdeps/sparc/fpu/fraiseexcpt.c: New file.
2223 * sysdeps/sparc/fpu/fsetexcptflg.c: New file.
2224 * sysdeps/sparc/fpu/ftestexcept.c: New file.
2225 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file.
2226 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file.
2228 1997-08-11 11:58 Richard Henderson <rth@cygnus.com>
2231 * configure.in: Change up subdirectories, rename sparc8->sparcv8.
2233 * csu/Makefile: Nuke need-nopic-initfini bits. The problem was
2234 that sparc64 ld did not recognize pic relocs at all.
2236 * elf/dl-deps.c: Include <string.h>.
2237 * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size
2238 directly instead of the DT names to get them from.
2239 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled
2240 from ELF_DYNAMIC_DO_REL{,A}. Define a second version that accounts
2241 for the possibility that DT_RELA and DT_JMPPLT overlap, as such is
2242 the case on the Sparc.
2244 * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the
2245 Elf32_Ver* bits. The linker does not even know to differentiate
2246 between the word sizes. Someone should examine this and figure
2247 out what the proper sizes of things should be for 64-bit hosts
2248 before the sparc64 libraries are distributed.
2250 * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32
2251 on the same machine.
2253 Move old sysdeps/sparc contents to sysdeps/sparc/sparc32,
2254 rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to
2255 sysdeps/sparc/sparc64. Same for sysdeps/unix/sysv/linux/sparc.
2257 * sysdeps/sparc/Implies: Do ieee754 here.
2258 * sysdeps/sparc/configure.in: Move from sparc32/.
2259 * sysdeps/sparc/sparc32/Implies: Do wordsize here.
2260 * sysdeps/sparc/sparc64/Implies: Likewise.
2262 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address):
2263 Use uninitialized .got to find load address instead of AT_BASE, as
2264 the later does not exist when running ld.so directly.
2266 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../.
2267 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2269 * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support.
2271 * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel
2272 and s_signbitl for stdio.
2273 * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need
2276 * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove.
2277 * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove.
2278 * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file.
2279 * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file.
2280 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias.
2281 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp
2282 and setjmp entry points.
2284 * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation.
2286 * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC.
2287 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise.
2289 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction):
2290 Fix sa_flags size for sparc64; add sa_restorer for kernel.
2292 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix PIC.
2293 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2294 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2295 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2297 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file.
2299 1997-08-10 18:29:08 1997 Mark Kettenis <kettenis@phys.uva.nl>
2301 * login/login.c (login): Check for correct return value of
2304 1997-08-11 16:49 Ulrich Drepper <drepper@cygnus.com>
2306 * time/tzset.c (__tzset_internal): Correctly handle TZ strings
2307 following incorrect old POSIX specs.
2308 Patch by Paul Eggert <eggert@twinsun.com>.
2310 * sysdeps/generic/bits/sigaction.h: Correct comment for SA_RESTART.
2311 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
2312 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
2313 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
2314 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2315 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2316 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
2317 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
2318 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2320 1997-08-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2322 * manual/math.texi: Define the macros @mul and @infinity and use
2323 them to format the multiplication and infinity signs.
2324 (FP Comparison Functions): Use @code, not @math, for C code
2327 1997-08-10 18:48 Ulrich Drepper <drepper@cygnus.com>
2329 * Makeconfig: Define build-programs to no if not set and $(config-os)
2331 * Makerules (+depfiles): Don't add $(others) if not build-programs.
2332 * Rules (others): Don't depend on $(install-bin), $(install-rootbin)
2333 and $(install-sbin) if not build-programs.
2334 * Makefile (subdirs): Remove login.
2335 * sysdeps/mach/hurd/Subdirs: Add login.
2336 * sysdeps/unix/Subdirs: Add login.
2338 * sysdeps/generic/sys/mman.h: Test feature macros before defining
2339 non-POSIX things. Add MAP_FAILED.
2340 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
2341 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
2342 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
2343 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
2344 * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header
2345 but bits/mman.h. Test feature macros before definitions non-POSIX
2347 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file.
2348 * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file.
2349 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file.
2350 * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file.
2351 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file.
2352 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file.
2353 * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file.
2354 * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h.
2355 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
2356 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2357 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2358 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
2359 * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
2360 * sysdeps/unix/sysv/linux/sparc64/Dist: New file. Likewise.
2362 * catgets/open_catalog.c (__open_catalog): Compare result of mmap
2363 with MAP_FAILED and not -1.
2364 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2365 * elf/dl-minimal.c (malloc): Likewise.
2366 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise.
2367 * locale/loadlocale.c (_nl_load_locale): Likewise.
2368 * locale/programs/localedef.c: Likewise.
2369 * malloc/malloc.c (mmap_chunk): Likewise.
2370 (new_heap): Likewise.
2371 * string/stratcliff.c: Likewise.
2372 * string/tester.c: Add tests for stpcpy.
2374 * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset.
2376 * gmon/sys/gmon.h: Add prototype for write_profiling.
2378 * elf/dl-profile.c: Add descriptions and implement reading of
2379 existing data in profiling file.
2380 * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared
2383 * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first
2384 parameter for class.
2386 * inet/inet_ntoa.c: Make once control variable static.
2387 Correctly handle case where key cannot be retrieved.
2388 * inet/Makefile (tests): Add tst-ntoa.
2389 * inet/tst-ntoa.c: New file.
2391 * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and
2393 Mention that tzname values must not be changed.
2395 * manual/users.texi: Document UTMP/WTMP handling functions.
2396 Mainly written by Mark Kettenis.
2398 * math/libm-test.c (cbrt_test): Add test for number with aboslute
2401 * nss/nss_files/files-XXX.c (internal_setent): If opening of file
2402 failed with EGAIN return NSS_STATUS_TRYAGAIN.
2403 * nss/nss_files/files-alias.c (internal_setent): Likewise.
2405 * sysdeps/generic/bits/utmp.h: Pretty print.
2407 * sysdeps/i386/i586/strcpy.S: New file. Much faster implementation.
2408 * sysdeps/i386/i586/stpcpy.S: New file.
2409 * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since
2410 these are less efficient than i486/i386 versions.
2412 * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the
2413 version from libm-ieee754 be compiled since the later is not needed.
2414 * sysdeps/libm-i387/e_rem_pio2f.c: Likewise.
2415 * sysdeps/libm-i387/e_rem_pio2l.c: Likewise.
2416 * sysdeps/libm-i387/k_rem_pio2.c: Likewise.
2417 * sysdeps/libm-i387/k_rem_pio2f.c: Likewise.
2418 * sysdeps/libm-i387/k_rem_pio2l.c: Likewise.
2419 * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
2420 * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
2421 * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
2422 * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
2423 * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
2424 * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
2426 * sysdeps/libm-i387/s_cbrt.S: Fix several bugs.
2427 * sysdeps/libm-i387/s_cbrtf.S: Likewise.
2428 * sysdeps/libm-i387/s_cbrtl.S: Likewise.
2430 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
2433 * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field
2434 msg_iovlen of type int.
2436 * time/tzfile.c: Change return type of __tzstring to char *.
2437 * time/tzset.c: Likewise. Change definition of __tzstring.
2439 * time/tzset.c: Interpret no DST information in user provided time
2440 zone specification as it is meant: no DST.
2441 Patch by Paul Eggert <eggert@twinsun.com>.
2443 1997-07-20 03:01 Geoff Keating <geoffk@ozemail.com.au>
2445 * sysdeps/elf/dl-load.c (add_name_to_object): New procedure.
2446 (_dl_map_object_from_fd): Use add_name_to_object.
2447 (_dl_map_object): If an object's SONAME is used to resolve a
2448 dependency, add it to the list of the object's names.
2450 * inet/getnameinfo.c: Make `domain' non-const.
2452 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up.
2454 * math/test-fenv.c (feenv_nomask_test): Don't execute if
2455 FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV)
2456 sets errno to ENOSYS.
2458 * sysdeps/powerpc/dl-machine.h: Print proper error message on
2459 unknown reloc type (rather than using assert).
2461 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file.
2462 * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted.
2464 1997-07-16 12:47 Geoff Keating <geoffk@ozemail.com.au>
2466 * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro.
2467 (feclearexcept): New optimising macro.
2468 (FE_NOMASK_ENV): Change to procedure so it can enable exceptions.
2469 (FE_ENABLED_ENV): Add.
2470 (FE_NONIEEE_ENV): Add.
2471 * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env,
2472 __fe_nonieee_env; delete __fe_nomask_env.
2473 * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it
2474 gets implemented in the kernel).
2476 * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have
2477 FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity.
2478 * sysdeps/powerpc/fsetexcptflag.c: Likewise.
2480 * io/ftw.c: Don't compare holes in structures.
2481 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the
2482 macros to `int', because otherwise it might be `long long' which
2483 the calling code is probably not expecting.
2485 * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs,
2486 document the existence of some more.
2488 * sysdeps/powerpc/s_llrint.c: New file.
2489 * sysdeps/powerpc/s_lrint.c: New file.
2490 * sysdeps/powerpc/s_llround.c: New file.
2491 * sysdeps/powerpc/s_lround.c: New file.
2493 * sysdeps/powerpc/s_sqrt.c: New file.
2494 * sysdeps/powerpc/s_sqrtf.c: New file.
2495 * sysdeps/powerpc/w_sqrt.s: New empty file.
2496 * sysdeps/powerpc/w_sqrtf.s: New empty file.
2497 * sysdeps/powerpc/t_sqrt.c: New file.
2498 * sysdeps/powerpc/test-arithf.c: New file.
2499 * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support
2500 routines. Add test-arithf to test programs.
2502 * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN.
2504 * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater,
2505 and possibly faster (or possibly slower, depending on input).
2507 1997-06-08 22:55 Geoff Keating <geoffk@ozemail.com.au>
2509 * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV
2511 * sysdeps/powerpc/s_rint.c: New file.
2513 1997-05-22 08:47 Geoff Keating <geoffk@ozemail.com.au>
2515 * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines.
2516 * sysdeps/powerpc/Dist: Add quad_float.h.
2517 * sysdeps/powerpc/q_dtoq.c: New file.
2518 * sysdeps/powerpc/q_itoq.c: New file.
2519 * sysdeps/powerpc/q_lltoq.c: New file.
2520 * sysdeps/powerpc/q_neg.c: New file.
2521 * sysdeps/powerpc/q_qtoi.c: New file.
2522 * sysdeps/powerpc/q_qtoll.c: New file.
2523 * sysdeps/powerpc/q_qtos.c: New file.
2524 * sysdeps/powerpc/q_qtou.c: New file.
2525 * sysdeps/powerpc/q_qtoull.c: New file.
2526 * sysdeps/powerpc/q_stoq.c: New file.
2527 * sysdeps/powerpc/q_ulltoq.c: New file.
2528 * sysdeps/powerpc/q_utoq.c: New file.
2529 * sysdeps/powerpc/quad_float.h: New file.
2530 * sysdeps/powerpc/test-arith.c: New file.
2532 * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW.
2533 * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not
2534 require a stack frame.
2535 * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround.
2537 1997-05-18 05:55 Geoff Keating <geoffk@ozemail.com.au>
2539 * sysdeps/powerpc/fenv_libc.h (fegetenv_register,
2540 fesetenv_register): Add 'volatile'.
2541 (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_*
2542 constants to use with them.
2543 * sysdeps/powerpc/s_copysign.S: New file.
2544 * sysdeps/powerpc/s_copysignf.s: New file.
2545 * sysdeps/powerpc/s_fabs.S: New file.
2546 * sysdeps/powerpc/s_fabsf.s: New file.
2547 * sysdeps/powerpc/s_isnan.c: New file.
2548 * sysdeps/powerpc/s_isnanf.s: New file.
2549 * sysdeps/powerpc/s_rintf.c: New file.
2551 * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary
2552 bit in the FPSCR, not the enable bit.
2553 * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above.
2554 * sysdeps/powerpc/fclrexcpt.c: Correct.
2555 * sysdeps/powerpc/fsetexcptflag.c: Correct.
2556 * sysdeps/powerpc/ftestexcpt.c: Is now much simpler.
2557 * sysdeps/powerpc/fgetexcptflg.c: Simplify.
2559 * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-).
2561 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment
2562 explaining some reentrancy issues with lazy PLT entries.
2564 1997-08-09 13:04 Mark Kettenis <kettenis@phys.uva.nl>
2566 * login/logout.c (logout): utmpname returns -1 on error.
2568 * login/libutil.map: Remove updwtmp.
2570 * login/getutline.c: Rename getutline to __getutline and make
2571 getutline a weak alias. Make getutxline a weak alias for
2573 * login/getutid.c: Rename getutid to __getutid and make getutid a
2574 weak alias. Make getutxid a weak alias for __getutid.
2575 * libc.map: Add getutxid, getutxline.
2577 * login/utmpname.c (__utmpname): Reset backend right after backend
2579 * login/utmp_file.c: Reordered functions. Remove unecessary
2581 (getutent_r_file, pututline_file): Do not call setutent_file. At this
2582 point the file is guaranteed to be open (assert!).
2583 (getutid_r_file, getutline_r_file): Remove check for validity of file
2584 descriptor. At this point the file is guaranteed to be open.
2585 (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
2586 updwtmp_file): Do not wait when unlocking file.
2587 * login/utmp_daemon.c: General cleanup and a bit of reordering.
2588 (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon.
2589 At this point the socket is guaranteed to be open (assert!).
2590 (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is
2591 valid. At this point the socket is guaranteed to be open (assert!).
2592 * login/getutline_r.c: Remove unnecessary header files.
2593 (__getutline_r): Do not call backend setutent.
2594 * login/getutid_r.c: Remove unnecessary header files.
2595 (__getutid_r): Do not call backend setutent.
2596 * login/getutent_r.c: Remove unneccesary header files.
2597 (__libc_utmp_unknown_functions): Added getutid_r_unknown,
2598 getutline_r_unknown.
2599 (setutent_unknown): Only set file backend if setutent for the file
2600 backend was successful.
2601 (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead
2602 of __setutent. Report failure if no backend was selected.
2603 (getutid_r_unknown): New function.
2604 (getutline_r_unknown): New function.
2605 (__endutent): Reset backend. This makes sure all backends are checked
2606 on the next setutent call.
2608 1997-08-08 20:20 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2610 * nis_cache.c: Replace dummy functions.
2612 * libc.map: Add xdr_sizeof symbol.
2614 * sunrpc/Makefile: Add xdr_sizeof to routines.
2615 * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype.
2616 * sunrpc/xdr_sizeof.c: New, from tirpc 2.3.
2618 1997-08-08 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2620 * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
2622 1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2624 * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
2627 1997-08-06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2629 * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
2630 PC's in long long to avoid overflow.
2632 1997-08-07 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2634 * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
2637 1997-08-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2639 * nis/Makefile (headers): Remove bits/nislib.h.
2641 1997-08-06 14:54 Ulrich Drepper <drepper@cygnus.com>
2643 * sysdeps/mach/hurd/Subdirs: Add login.
2645 1997-08-06 14:23 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
2647 * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide
2648 the preferred block size.
2650 * login/programs/database.c (store_state_entry): Don't compile if
2651 there is no ut_type field.
2652 (store_state_entry, store_process_entry): Use the ut_tv field
2653 for timestamps if supported.
2655 * login/programs/utmpdump.c (print_entry): Always use ut_tv field.
2657 * login/programs/xtmp.c: Fix numerous xtmp/utmp typos. Use the ut_tv
2658 field for timestamps if supported.
2660 * login/programs/xtmp.h: Fix xtmp/utmp typo.
2662 * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *).
2664 * sysdeps/stub/connect.c (connect): Change to __connect, add alias.
2665 * sysdeps/stub/send.c (send): Likewise.
2666 * sysdeps/stub/s_exp2f.c: Emit correct stub_warning().
2667 * sysdeps/stub/statfs.c: Move stub_warning() to the usual place.
2668 * sysdeps/stub/init-first.c: Add definition of __libc_pid.
2670 1997-08-05 13:28 Philip Blundell <pb@spring.nexus.co.uk>
2672 * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP;
2675 * Makefile (subdirs): Remove `login'.
2676 * sysdeps/unix/Subdirs: New file; build `login' subdirectory
2679 1997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2681 * sysdeps/generic/bits/utmpx.h: New file.
2683 * sysdeps/mach/hurd/Dist: Add some files.
2684 * sysdeps/mips/Dist: Likewise.
2685 * sysdeps/mips/mips64/Dist: Likewise.
2686 * sysdeps/sparc/Dist: Likewise.
2687 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2688 * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
2689 * sysdeps/mips/mipsel/Dist: New file.
2690 * sysdeps/sparc64/elf/Dist: New file.
2691 * sysdeps/unix/sysv/linux/sparc64/Dist: New file.
2693 1997-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2695 * libc.map: Add missing symbols.
2697 1997-08-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2699 * manual/socket.texi: Correct typos.
2701 * manual/math.texi: Correct typos.
2703 * manual/time.texi (Formatting Date and Time): Likewise.
2705 1997-08-04 13:06 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2707 * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
2708 (_mcleanup): Use write_gmon.
2709 (write_profiling): This function can be safely called at any time
2710 to write a current histogram without interfering with ongoing
2713 * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
2715 1997-08-01 17:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2717 * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
2718 not be vm_deallocated; it's a stack buffer.
2719 (profil_vm_deallocate): Delete prototype.
2720 (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
2722 * sysdeps/mach/hurd/Makefile
2723 ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
2726 * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
2727 from profile_waiter.
2728 (profile_waiter): Use fetch_samples.
2729 (profil): When turning off profiling, fetch the last bunch of
2730 samples before disabling PC sampling.
2731 (fetch_samples): Add prototype.
2733 1997-07-30 12:53 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2735 * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
2736 source included by profil.c instead of trying to use
2737 before-compile grot.
2739 1997-07-23 15:04 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
2741 * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
2742 after releasing lock. Use special RPC stubs and avoid assert,
2743 thus making this function entirely independent of the threadvar
2744 mechanism and of cthreads.
2745 (lock): Convert to be a spin lock instead of a mutex, so that the
2746 waiter thread need not use cthreads. Use a fork prepare hook
2747 instead of _hurd_fork_locks to make sure we are clean before
2749 (fork_profil_child): Renamed from fork_profil.
2750 (profil_reply_port): New variable.
2751 (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
2752 stubs made by special hacks.
2753 * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
2754 source files that profil.c needs if we are in the gmon directory.
2756 * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
2757 cthreads bug that hasn't existed for two years.
2759 1997-08-04 15:29 Ulrich Drepper <drepper@cygnus.com>
2761 * locale/programs/localedef.c (main): Set bit in avail for those
2762 categories which are successfully read.
2763 * locale/programs/locfile.c (check_all_categories): Don't check
2764 categories if they are not available.
2765 (write_all_categories): Don't write categories if they are not
2768 * login/setutent_r.c (setutent_unknown): Change return type to
2769 int and return result of called function.
2771 * manual/arith.texi: Mark floating-point test macro from ISO C 9X
2772 as macros (not functions).
2773 * manual/libc.texinfo (UPDATED): Update.
2774 * manual/math.texi: Document exceptions, functions to handle
2775 exceptions, mathematical constants, FP comparison functions
2776 and several new functions from ISO C 9X.
2777 Change parameter of drand48, lrand48, and mrand48 to void (not
2779 * manual/pattern.texi: Remove paragraph which explained that wordexp
2780 is executed by running a shell.
2781 * manual/time.texi: Explain difficulties with strftime if the
2782 functions returns 0 and no error occurred.
2784 * math/math.h: Correct comment for some M_* constants.
2785 (isgreater, isgreaterequal, isless, islessequal, islessgreater,
2786 inunordered): Rewrite to make sure the arguments are evaluated
2789 * nis/rpcsvc/nis.x: Undo last change.
2790 * nis/rpcsvc/nis.h: Likewise.
2791 * nis/rpcsvc/nislib.h: File moved back to here.
2793 * posix/sys/types.h: Don't define socklen_t. Pretty print.
2794 * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
2795 getsockopt, setsockopt, accept): Change size argument to type
2798 * manual/socket.texi: Describe socklen_t and change prototypes of
2799 socket functions to use socklen_t.
2800 * sysdeps/generic/bits/socket.h: Define socklen_t.
2801 (struct msghdr): Correct types to use socklen_t.
2802 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2803 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2805 * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
2807 * stdio-common/tfformat.c: Add new tests for above bug.
2809 * stdlib/strtod.c: Fix typo.
2811 * string/Makefile (headers): Add bits/string.h.
2812 (CFLAGS-*): Add -D__NO_STRING_INLINES.
2813 * string/string.h: Include <bits/string.h> if optimizing and
2814 __NO_STRING_INLINES is not defined.
2815 * sysdeps/stub/bits/string.h: New file.
2817 * sysdeps/powerpc/bits/fenv.h: Fix typos.
2819 * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS
2820 if SIOGIFINDEX is not defined.
2822 * sysdeps/wordsize-32/inttypes.h: Pretty print.
2823 * sysdeps/wordsize-64/inttypes.h: Pretty print.
2825 * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
2827 * wcsmbs/Makefile (tests): Add tst-wcstof.
2828 * wcsmbs/tst-wcstof.c: New file.
2830 1997-08-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2832 * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
2833 loop, to avoid dragging stdio into the dynamic linker.
2835 1997-08-02 19:44 H.J. Lu <hjl@gnu.ai.mit.edu>
2837 * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them
2840 1997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2842 * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and
2844 Include <stdio.h> to get prototypes of *printf.
2845 (exec_comm): Remove unneeded variable *sh.
2847 * libc.map: Add wordexp, wordfree.
2849 * posix/Makefile (routines): Add wordexp.
2851 1997-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2853 * posix/wordexp.c: Correct typo in comment.
2854 (wordexp): Likewise.
2856 * manual/errno.texi (Error Codes): Fix typo.
2858 1997-08-03 15:28 Ulrich Drepper <drepper@cygnus.com>
2860 * csu/initfini.c (SECTION): Don't put quotes around section name
2861 since this is not understood by all assemblers.
2862 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
2864 1997-08-02 21:27 Ulrich Drepper <drepper@cygnus.com>
2866 * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h.
2867 * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h.
2868 * sysdeps/generic/netinet/inbits.h: Move to...
2869 * sysdeps/generic/bits/in.h: ... here.
2870 * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ...
2871 * sysdeps/unix/sysv/linux/bits/in.h: ... here.
2873 * nis/Makefile (headers): Add bits/nislib.h.
2874 * nis/rpcsvc/nislib.h: Moved to ....
2875 * nis/bits/nislib.h: ... here.
2877 * nis/nss_compat/compat-grp.c: Don't include <rpcsvc/nislib.h>.
2878 * nis/nss_compat/compat-pwd.c: Likewise.
2879 * nis/nss_compat/compat-spwd.c: Likewise.
2880 * nis/nss_nisplus/nisplus-alias.c: Likewise.
2881 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2882 * nis/nss_nisplus/nisplus-grp.c: Likewise.
2883 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2884 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
2885 * nis/nss_nisplus/nisplus-ntework.c: Likewise.
2886 * nis/nss_nisplus/nisplus-proto.c: Likewise.
2887 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2888 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2889 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2890 * nis/nss_nisplus/nisplus-service.c: Likewise.
2891 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2893 * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h.
2894 * nis/rpcsvc/nis.h: Likewise.
2896 * inet/getnameinfo.c (nrl_domainname): Change return type to const
2898 (getnameinfo): Change type of local variable c to const char *.
2900 * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization.
2901 * stdlib/fmtmsg.c: Likewise.
2903 * intl/bindtextdom.c: Update from latest gettext.
2904 * intl/dcgettext.c: Likewise.
2905 * intl/finddomain.c: Likewise.
2906 * intl/l10nflist.c: Likewise.
2907 * intl/localealias.c: Likewise.
2908 * intl/textdomain.c: Likewise.
2910 * login/getutid_r.c: Remove parameter to setutent call.
2911 * login/getutline_r.c: Likewise.
2913 * posix/wordexp.c: Complete rewrite. Not fully implemented yet,
2914 though. Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
2916 * stdio-common/printf_fp.c: Remove relative include paths.
2917 * stdio-common/printf_fphex.c: Likewise.
2919 * sysdeps/generic/crypt.h: Cleanup. Don't define non standard
2920 elements unless __USE_GNU.
2922 * sysdeps/generic/vlimit.c: Pretty print.
2923 * sysdeps/generic/vtimes.c: Likewise.
2925 * sysdeps/i386/elf/bsd-_setjmp.S: New file. Empty dummy file.
2926 * sysdeps/i386/elf/bsd-setjmp.S: New file. Empty dummy file.
2927 * sysdeps/i386/elf/setjmp.S: New file. Define __setjmp and also
2928 weak definitions of setjmp and _setjmp.
2930 * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman.
2932 * sysdeps/stub/if_index.h: Set errno in all functions and add
2935 * sysdeps/stub/libc-lock.h: Add __libc_once.
2937 1997-08-02 01:57 Ulrich Drepper <drepper@cygnus.com>
2939 * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
2940 case since the __syscall_ptrace call already did this.
2941 Reported by Philip Gladstone <philip@talon.raptor.com>.
2943 1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2945 * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
2946 <gnu/types.h> to <sys/types.h>.
2948 1997-08-01 23:18 Ulrich Drepper <drepper@cygnus.com>
2950 * csu/defs.awk: Fix regexp for end and align.
2951 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
2953 * locale/programs/locale.c (print_escaped): New function.
2954 (show_info): Use print_escaped if strings can control unprintable
2956 Patch by Jochen Hein <jochen.hein@delphi.central.de>.
2958 1997-08-01 18:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2960 * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems
2961 * nis/nss_nisplus/nisplus-grp.c: Likewise.
2963 1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2965 * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error
2968 1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2970 * manual/socket.texi (Host Address Functions): Fix arguments of
2973 1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2975 * elf/dl-runtime.c: Avoid warning about profile_fixup being
2978 * sysdeps/m68k/dl-machine.h: Add support for shared library
2981 1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2983 * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
2986 1997-07-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2988 * Make-dist (subdirs): Distribute both aout and elf.
2990 1997-07-31 23:04 Mark Kettenis <kettenis@phys.uva.nl>
2992 * login/utmp-private.h: Remove reset argument from backend
2994 * login/getutent_r.c (__setutent): Allways call the setutent
2995 function in the daemon backend.
2996 (setutent_unknown): Function removed.
2997 (getutent_unknown, pututline_unknown): Call __setutent instead of
2999 * login/utmp_file.c (setutent_file): Removed reset argument. All
3001 * login/utmp_daemon.c (setutent_daemon): Removed reset
3002 argument. All callers changed. Try to open connection even if a
3003 previous connection failed, but first check if the sockets exist
3006 * login/utmp_daemon.c (pututline_daemon): Try to open connection
3007 before reporting failure.
3009 * login/programs/database.c (open_database): Create compatibility
3010 file if it does not already exist. Supply mode argument in open
3011 calls to guarantee that created files have the proper protection.
3013 * login/programs/utmpd.c (main): Remove files created by a
3014 previous `bind' before creating sockets.
3015 Suggested by a sun <asum@zoology.washington.edu>.
3017 1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3019 * math/libm-test.c: Remove unneeded function check_int_exec.
3021 * BUGS: Correct typos.
3023 * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal.
3025 1997-07-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3027 * manual/socket.texi (Host Address Functions): Reformat inet_ntop
3028 entry to confirm with expected behaviour of some scripts.
3030 * libc.map: Add functions/variables in global namespace,
3033 1997-07-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3035 * resolv/libresolv.map: Add variables and routines used by named,
3036 nslookup and other bind utils.
3037 * libc.map: Likewise.
3039 1997-07-31 00:35 Philip Blundell <Philip.Blundell@pobox.com>
3041 * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc
3043 * inet/test_ifindex.c: New file.
3044 * inet/Makefile (tests): Add test_ifindex.
3046 1997-08-01 04:25 Ulrich Drepper <drepper@cygnus.com>
3048 * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser.
3049 Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
3051 * manual/errno.texi: Fix typo.
3052 Reported by Erik Talvola <etalvo@sapient.com>.
3054 1997-07-28 23:35 Ulrich Drepper <drepper@cygnus.com>
3056 * csu/gmon-start.c (__gmon_start__): Call __monstartup not
3058 * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup
3060 * gmon/sys/gmon.h: Fix prototypes.
3061 * gmon/sys/gmon_out.h: Pretty print.
3063 * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy.
3064 * gmon/gmon.c (__monstartup): Likewise.
3065 (write_hist): Remove dependency on 32 bit int.
3066 (_mcleanup): Don't call perror, use fprintf.
3068 * elf/dl-load.c: Fix handling of current directory in search path.
3070 * elf/Makefile (dl-routines): Add dl-profile.
3071 * elf/dl-profile.c: New file.
3072 * elf/dl-runtime.c (fixup): Add new parameter with address to store
3073 relocation result in to elf_machine_relplt.
3074 (profile_fixup): New function.
3075 * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address
3076 to store relocation result in to elf_machine_relplt.
3077 * elf/dl-support.c: Define _dl_profile and _dl_profile_map.
3078 * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and
3079 call elf_machine_runtime_setup with extra argument.
3080 * elf/dl-reloc.c (_dl_relocate_object): Add new argument to
3081 ELF_DYNAMIC_RELOCATE.
3082 * elf/link.h: Add prototypes for new functions and variables.
3083 * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment
3084 variables and call _dl_start_profile if necessary.
3085 * include/sys/gmon_out.h: New file.
3086 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add
3087 new parameter to enable profiling.
3088 (elf_machine_rela): Add new parameter to specify place to store
3090 * sysdeps/m68k/dl-machine.h: Likewise.
3091 * sysdeps/mips/dl-machine.h: Likewise.
3092 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3093 * sysdeps/powerpc/dl-machine.h: Likewise.
3094 * sysdeps/sparc/dl-machine.h: Likewise.
3095 * sysdeps/sparc64/dl-machine.h: Likewise.
3096 * sysdeps/i386/dl-machine.h: Likewise.
3097 (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if
3099 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile.
3101 * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
3102 for stream on input file.
3103 * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
3104 * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
3105 * nss/nss_db/db-XXX.c (internal_setent): Likewise.
3106 * nss/nss_db/db-alias.c (internal_setent): Likewise.
3107 * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
3108 * nss/nss_files/files-XXX.c (internal_setent): Likewise.
3109 * nss/nss_files/files-alias.c (internal_setent): Likewise.
3110 * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
3112 * string/string.h: Pretty print.
3114 * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman.
3115 Add float and long double versions.
3117 1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3119 * elf/rtld.c (print_unresolved): Replace empty object name by main
3122 1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3124 * sysdeps/generic/htons.c (htons): Renamed from __htons.
3126 1997-07-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3128 * sysdeps/m68k/bits/byteswap.h: New file.
3130 1997-07-27 23:50 Philip Blundell <Philip.Blundell@pobox.com>
3132 * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6
3134 * inet/netinet/in.h: Likewise.
3135 * inet/netinet/ip6.h: Likewise.
3136 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3137 * posix/sys/types.h: Add socklen_t.
3139 * manual/socket.texi: Document some more IPv6 things.
3140 * manual/libc.texinfo: Likewise.
3142 1997-07-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3144 * libc.map: Define missing symbol.
3146 1997-07-27 14:31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3148 * nis/Makefile: Add nis_findserv.
3149 * nis/lckcache.c: Fix typo.
3150 * nis/nis_call.c: Fix problems with multihomed servers.
3151 * nis/nis_findserv.c: New file.
3152 * nis/nis_intern.h: Add more prototypes.
3153 * nis/nis_lookup.c (nis_lookup): Don't try the next server if network
3155 * nis/nis_table.c (nis_list): Likewise.
3156 * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort()
3158 * nis/nis_util.c (__nis_finddirectory): Give the right error code
3160 * nis/ypclnt.c: Make sure, that all sockets are closed.
3162 1997-07-26 04:14 Ulrich Drepper <drepper@cygnus.com>
3164 * elf/Makefile (distribute): Add genrtldtbl.awk.
3165 (before-compile): Add rtldtbl.h.
3166 (GAWK): New variable.
3167 (generated): Add trusted-dirs.h and rtldtbl.h.
3168 ($(objpfx)rtldtbl.h): New rule. File is needed by dl-load.c.
3169 * elf/dl-load.c: Rewrite. Now use cache and look for shared
3170 objects in machine dependent directories.
3171 * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member.
3172 * elf/dl-support.c: Rename function to non_dynamic_init and add
3173 initialization for _dl_platform, _dl_platformlen, _dl_pagesize
3174 and call to initializer for search path.
3175 * elf/elf.h: Add AT_PLATFORM and AT_HWCAP.
3176 * elf/genrtldtbl.awk: New file.
3177 * elf/link.h: Add type definitions and declarations for search
3179 * elf/rtld.c: Add definitions of variables used for search path cache.
3180 * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize
3181 _dl_platform. Initialize _dl_pagesize early and use this value.
3182 * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling.
3183 * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize.
3184 * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead
3185 of calling getpagesize.
3187 * elf/dl-error.c (_dl_signal_error): Make message nicer.
3189 * nss/libnss_files.map: Fix typo.
3190 Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
3192 * sysdeps/generic/strsep.c: Optimize case where separator set contains
3195 * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real
3197 * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
3198 * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
3200 1997-07-25 09:15 H.J. Lu <hjl@gnu.ai.mit.edu>
3202 * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__.
3203 * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise.
3204 * sysdeps/unix/mips/sysdep.S: Likewise.
3205 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3207 * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment.
3208 * sysdeps/mips/bsd-setjmp.S: Likewise.
3210 * sysdeps/mips/dl-machine.h: Remove extra stuff.
3211 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3213 1997-07-25 18:55 Philip Blundell <Philip.Blundell@pobox.com>
3215 * sysdeps/standalone/arm/sysdep.c: New file.
3217 1997-07-25 13:25 Philip Blundell <Philip.Blundell@pobox.com>
3219 * aout/Makefile: New file.
3220 * Makeconfig (binfmt-subdir): Assume a.out when not ELF.
3222 * sysdeps/generic/machine-gmon.h: Add warning about limitations of
3223 __builtin_return_address().
3224 * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid
3227 1997-07-25 16:24 H.J. Lu <hjl@gnu.ai.mit.edu>
3229 * elf/dl-deps.c (_dl_map_object_deps): Fix a typo.
3231 1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3233 * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some
3236 1997-07-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3238 * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
3239 not shadow the variable in the outer scope.
3241 1997-07-24 03:14 Ulrich Drepper <drepper@cygnus.com>
3243 * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly.
3245 * inet/Makefile (tests): Add htontest.
3246 * inet/htontest.c: New file.
3248 * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions
3249 when they are no noops.
3250 * sysdeps/alpha/htonl.S: Don't define __ protected names.
3251 * sysdeps/alpha/htons.S: Likewise.
3252 * sysdeps/generic/htonl.c: Likewise.
3253 * sysdeps/generic/htons.c: Likewise.
3254 * sysdeps/i386/htonl.S: Likewise.
3255 * sysdeps/i386/htons.S: Likewise.
3256 * sysdeps/i386/i486/htonl.S: Likewise.
3257 * sysdeps/vax/htonl.s: Likewise.
3258 * sysdeps/vax/htons.s: Likewise.
3260 * string/Makefile (headers): Add byteswap.h and bits/byteswap.h.
3261 * string/byteswap.h: New file.
3262 * sysdeps/generic/bits/byteswap.h: New file.
3263 * sysdeps/i386/bits/byteswap.h: New file.
3264 * sysdeps/generic/bits/htontoh.h: Removed.
3265 * sysdeps/i386/bits/htontoh.h: Removed.
3267 * misc/search.h: General cleanup. Don't define reentrant hsearch
3268 functions uless __USE_GNU.
3270 * nss/nsswitch.c: Pretty print.
3272 * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent
3275 * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have
3276 been fixed meanwhile.
3277 Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3279 1997-07-24 00:53 Philip Blundell <Philip.Blundell@pobox.com>
3281 * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it
3282 exists for this port.
3284 1997-07-24 00:12 Philip Blundell <Philip.Blundell@pobox.com>
3286 * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add.
3288 1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3290 * manual/argp.texi (Argp Option Vectors): Use @minus, not @math,
3291 to format a proper minus sign.
3293 1997-07-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3295 * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT
3296 specially, the standard doesn't require it.
3298 * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument,
3299 if non-zero then don't test inexact flag. Callers changed.
3300 (set_single_exc): Ignore inexact flag if underflow or overflow
3301 exception is raised.
3303 1997-07-23 05:10 Ulrich Drepper <drepper@cygnus.com>
3305 * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
3306 Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
3307 * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
3308 * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
3310 1997-07-16 10:09 Fila Kolodny <fila@ibi.com>
3312 * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034
3313 and 1035 state that a fully qualified domain name cannot exceed 255
3315 * resolv/nss_dns/dns-host.c: Likewise.
3317 1997-07-22 09:54 H.J. Lu <hjl@gnu.ai.mit.edu>
3319 * inet/netinet/in.h (htons): Fix typos.
3321 * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value.
3323 1997-07-22 11:47 Ulrich Drepper <drepper@cygnus.com>
3325 * nss/nsswitch.c (nss_lookup_function): Include function.def, not
3327 Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
3329 1997-07-22 01:35 Ulrich Drepper <drepper@cygnus.com>
3331 * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so
3332 that optimizing is also selected for dependency generation.
3334 * configure.in: Add machine description for TI c[34]x.
3336 * inet/Makefile (routines): Remove ntohl and ntohs.
3337 * inet/netinet/in.h: Use optimized version of hton? and ntoh?
3338 for little endian machines.
3339 * sysdeps/alpha/ntohl.s: Removed.
3340 * sysdeps/alpha/ntohs.s: Removed.
3341 * sysdeps/generic/ntohl.c: Removed.
3342 * sysdeps/generic/ntohs.c: Removed.
3343 * sysdeps/generic/htonl.c: Add aliases for ntohl.
3344 * sysdeps/vax/htonl.s: Likewise.
3345 * sysdeps/generic/htons.c: Add aliases for ntohs.
3346 * sysdeps/vax/htons.s: Likewise.
3347 * sysdeps/vax/ntohl.s: Removed.
3348 * sysdeps/vax/ntohs.s: Removed.
3349 * sysdeps/generic/bits/htontoh.h: New file.
3350 * sysdeps/i386/htonl.S: New file.
3351 * sysdeps/i386/htons.S: New file.
3352 * sysdeps/i386/i486/htonl.S: New file.
3354 * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare
3357 * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts.
3358 * sysdeps/mips/mips64/dl-machine.h: New file.
3360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install
3363 1997-07-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3365 * libc.map: Add missing symbol _obstack.
3367 1997-07-14 08:22 H.J. Lu <hjl@gnu.ai.mit.edu>
3369 * sysdeps/mips/rtld-parms: New.
3371 * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to
3372 * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this.
3374 * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to
3375 * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this.
3377 * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT.
3379 1997-07-17 08:39 H.J. Lu <hjl@gnu.ai.mit.edu>
3381 * sysdeps/mips/dl-machine.h: Remove extra stuff.
3383 1997-07-06 07:18 Geoff Keating <geoffk@ozemail.com.au>
3384 * sysdeps/powerpc/bits/endian.h: Handle multiple endianess.
3386 * stdlib/grouping.h: Suppress gcc warning about testing
3387 unsigned char for less-than-zero.
3388 * stdio-common/printf_fp.c: Likewise.
3389 * stdio-common/vfprintf.c: Likewise.
3391 * sysdeps/powerpc/add_n.s: New file.
3392 * sysdeps/powerpc/sub_n.s: New file.
3393 * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP).
3394 * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP).
3395 * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP).
3396 * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP).
3397 * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP).
3399 * math/libm-test.c (cos_test, sin_test, sincos_test): Use
3400 precomputed pi/6 rather than having gcc calculate it, otherwise
3401 tests give inaccurate result due to inaccurate input.
3402 * math/libm.map: Add __fe_*_env constants to list of exported
3405 * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster.
3406 * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster.
3407 * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct
3408 round-to-nearest value.
3410 * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised.
3411 * sysdeps/libm-ieee754/e_log10.c: Likewise.
3412 * sysdeps/libm-ieee754/e_log10f.c: Likewise.
3413 * sysdeps/libm-ieee754/e_logf.c: Likewise.
3414 * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf.
3415 * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf.
3416 * sysdeps/libm-ieee754/s_log2.c: Likewise.
3417 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
3419 1997-07-15 21:54 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3421 * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems
3423 * nis/nss_compat/compat-pwd.c: Likewise.
3424 * nis/nss_compat/compat-spwd.c: Likewise.
3425 * nis/nss_nis/nis-alias.c: Likewise.
3426 * nis/nss_nis/nis-ethers.c: Likewise.
3427 * nis/nss_nis/nis-grp.c: Likewise.
3428 * nis/nss_nis/nis-hosts.c: Likewise.
3429 * nis/nss_nis/nis-network.c: Likewise.
3430 * nis/nss_nis/nis-proto.c: Likewise.
3431 * nis/nss_nis/nis-pwd.c: Likewise.
3432 * nis/nss_nis/nis-rpc.c: Likewise.
3433 * nis/nss_nis/nis-service.c: Likewise.
3434 * nis/nss_nis/nis-spwd.c: Likewise.
3435 * nis/nss_nisplus-alias.c: Likewise.
3436 * nis/nss_nisplus-ethers.c: Likewise.
3437 * nis/nss_nisplus-grp.c: Likewise.
3438 * nis/nss_nisplus-hosts.c: Likewise.
3439 * nis/nss_nisplus-netgrp.c: Likewise.
3440 * nis/nss_nisplus-network.c: Likewise.
3441 * nis/nss_nisplus-proto.c: Likewise.
3442 * nis/nss_nisplus-pwd.c: Likewise.
3443 * nis/nss_nisplus-rpc.c: Likewise.
3444 * nis/nss_nisplus-service.c: Likewise.
3445 * nis/nss_nisplus-spwd.c: Likewise.
3447 * nis/nss_nisplus-parse.c: If buffer to small, give -1 back.
3449 1997-07-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3451 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program
3452 name in warning message.
3453 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
3454 * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
3455 * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3457 * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name
3460 1997-07-20 19:33 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3462 * libc.map: Add _null_auth and _seterr_reply.
3464 * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it.
3466 1997-07-19 22:53 Ulrich Drepper <drepper@cygnus.com>
3468 * time/africa: Update from tzdata1997g.
3469 * time/asia: Likewise.
3470 * time/australasia: Likewise.
3471 * time/europe: Likewise.
3472 * time/iso3166.tab: Likewise.
3473 * time/zone.tab: Likewise.
3474 * time/private.h: Update from tzcode1997f.
3475 * time/scheck.c: Likewise.
3477 * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X.
3479 * math/math.h: Correct comments. Include <bits/mathinline.h>
3480 always when optimizing.
3482 1997-07-19 10:23 Mark Kettenis <kettenis@phys.uva.nl>
3484 * time/getdate.c (__getdate_r):
3485 Report failure if string was not completely parsed.
3486 (getdate): Set getdate_err on failure.
3488 1997-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3490 * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
3491 Synchronize with malloc/obstack.c.
3493 1997-07-16 Miles Bader <miles@gnu.ai.mit.edu>
3495 * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
3496 than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
3497 Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
3499 1997-07-15 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
3501 * manual/Makefile (INSTALL_INFO): Introduce variable to override
3502 path to install-info for systems like Debian that have an
3503 install-info with a different command line interface from the
3504 canonical GNU texinfo version.
3506 1997-07-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3508 * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
3509 * posix/unistd.h: Likewise.
3510 * sysdeps/stub/ttyname_r.c: Likewise.
3512 1997-07-14 23:37 Ulrich Drepper <drepper@cygnus.com>
3514 * inet/getnameinfo.c: Pretty print.
3515 Correctly enlarge buffers.