1 1997-11-11 21:30 Ulrich Drepper <drepper@cygnus.com>
3 * include/sys/stat.h: Define stat, fstat, lstat and *64 variants
4 as macros so the the library compiles correctly even without
6 * io/fstat.c: Undef fstat.
7 * io/fstat64.c: Undef fstat64
8 * io/lstat.c: Undef lstat.
9 * io/lstat64.c: Undef lstat64
10 * io/stat.c: Undef stat.
11 * io/stat64.c: Undef stat64
12 * io/fts.c: Include <include/sys/stat.h> to get macro definitions.
14 * io/getdirname.c: Likewise.
16 * Makefile (install): Run test-installation.pl if possible.
18 * db2/Makefile: Update from db-2.3.12.
20 * db2/db_int.h: Likewise.
21 * db2/btree/bt_cursor.c: Likewise.
22 * db2/btree/bt_delete.c: Likewise.
23 * db2/btree/bt_open.c: Likewise.
24 * db2/btree/bt_put.c: Likewise.
25 * db2/btree/bt_rec.c: Likewise.
26 * db2/btree/bt_recno.c: Likewise.
27 * db2/btree/bt_search.c: Likewise.
28 * db2/btree/bt_split.c: Likewise.
29 * db2/btree/bt_stat.c: Likewise.
30 * db2/btree/btree.src: Likewise.
31 * db2/btree/btree_auto.c: Likewise.
32 * db2/btree/bt_cursor.c: Likewise.
33 * db2/btree/bt_delete.c: Likewise.
34 * db2/btree/bt_open.c: Likewise.
35 * db2/btree/bt_put.c: Likewise.
36 * db2/btree/bt_rec.c: Likewise.
37 * db2/btree/bt_recno.c: Likewise.
38 * db2/btree/bt_search.c: Likewise.
39 * db2/btree/bt_split.c: Likewise.
40 * db2/btree/bt_stat.c: Likewise.
41 * db2/btree/btree.src: Likewise.
42 * db2/btree/btree_auto.c: Likewise.
43 * db2/common/db_appinit.c: Likewise.
44 * db2/common/db_apprec.c: Likewise.
45 * db2/common/db_byteorder.c: Likewise.
46 * db2/common/db_region.c: Likewise.
47 * db2/db/db.c: Likewise
48 * db2/db/db.src: Likewise
49 * db2/db/db_auto.c: Likewise
50 * db2/db/db_dispatch.c: Likewise
51 * db2/db/db_dup.c: Likewise
52 * db2/db/db_overflow.c: Likewise
53 * db2/db/db_pr.c: Likewise
54 * db2/db/db_rec.c: Likewise
55 * db2/db/db_ret.c: Likewise
56 * db2/db/db_thread.c: Likewise
57 * db2/db185/db185.c: Likewise.
58 * db2/hash/hash.c: Likewise.
59 * db2/hash/hash.src: Likewise.
60 * db2/hash/hash_auto.c: Likewise.
61 * db2/hash/hash_dup.c: Likewise.
62 * db2/hash/hash_page.c: Likewise.
63 * db2/hash/hash_rec.c: Likewise.
64 * db2/include/btree_auto.h: Likewise.
65 * db2/include/btree_ext.h: Likewise.
66 * db2/include/clib_ext.h: Likewise.
67 * db2/include/common_ext.h: Likewise.
68 * db2/include/db.h.src: Likewise.
69 * db2/include/db_am.h: Likewise.
70 * db2/include/db_auto.h: Likewise.
71 * db2/include/db_cxx.h: Likewise.
72 * db2/include/db_ext.h: Likewise.
73 * db2/include/db_int.h.src: Likewise.
74 * db2/include/hash.h: Likewise.
75 * db2/include/hash_auto.h: Likewise.
76 * db2/include/hash_ext.h: Likewise.
77 * db2/include/lock.h: Likewise.
78 * db2/include/lock_ext.h: Likewise.
79 * db2/include/log.h: Likewise.
80 * db2/include/log_ext.h: Likewise.
81 * db2/include/mp.h: Likewise.
82 * db2/include/mp_ext.h: Likewise.
83 * db2/include/mutex_ext.h: Likewise.
84 * db2/include/os_ext.h: Likewise.
85 * db2/include/os_func.h: Likewise.
86 * db2/include/txn.h: Likewise.
87 * db2/include/txn_ext.h: Likewise.
88 * db2/lock/lock.c: Likewise.
89 * db2/lock/lock_deadlock.c: Likewise.
90 * db2/log/log.c: Likewise.
91 * db2/log/log_archive.c: Likewise.
92 * db2/log/log_auto.c: Likewise.
93 * db2/log/log_findckp.c: Likewise.
94 * db2/log/log_get.c: Likewise.
95 * db2/log/log_put.c: Likewise.
96 * db2/log/log_rec.c: Likewise.
97 * db2/log/log_register.c: Likewise.
98 * db2/mp/mp_bh.c: Likewise.
99 * db2/mp/mp_fget.c: Likewise.
100 * db2/mp/mp_fopen.c: Likewise.
101 * db2/mp/mp_fput.c: Likewise.
102 * db2/mp/mp_fset.c: Likewise.
103 * db2/mp/mp_open.c: Likewise.
104 * db2/mp/mp_pr.c: Likewise.
105 * db2/mp/mp_region.c: Likewise.
106 * db2/mp/mp_sync.c: Likewise.
107 * db2/mutex/mutex.c: Likewise.
108 * db2/os/os_abs.c: Likewise.
109 * db2/os/os_dir.c: Likewise.
110 * db2/os/os_fid.c: Likewise.
111 * db2/os/os_fsync.c: Likewise.
112 * db2/os/os_func.c: Likewise.
113 * db2/os/os_map.c: Likewise.
114 * db2/os/os_oflags.c: Likewise.
115 * db2/os/os_open.c: Likewise.
116 * db2/os/os_rpath.c: Likewise.
117 * db2/os/os_rw.c: Likewise.
118 * db2/os/os_seek.c: Likewise.
119 * db2/os/os_sleep.c: Likewise.
120 * db2/os/os_stat.c: Likewise.
121 * db2/os/os_unlink.c: Likewise.
122 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
123 * db2/progs/db_dump/db_dump.c: Likewise.
124 * db2/progs/db_load/db_load.c: Likewise.
125 * db2/progs/db_recover/db_recover.c: Likewise.
126 * db2/progs/db_stat/db_stat.c: Likewise.
127 * db2/txn/txn.c: Likewise.
128 * db2/txn/txn_auto.c: Likewise.
129 * db2/txn/txn_rec.c: Likewise.
130 * db2/os/db_os_abs.c: Removed.
131 * db2/os/db_os_dir.c: Removed.
132 * db2/os/db_os_fid.c: Removed.
133 * db2/os/db_os_lseek.c: Removed.
134 * db2/os/db_os_mmap.c: Removed.
135 * db2/os/db_os_open.c: Removed.
136 * db2/os/db_os_rw.c: Removed.
137 * db2/os/db_os_sleep.c: Removed.
138 * db2/os/db_os_stat.c: Removed.
139 * db2/os/db_os_unlink.c: Removed.
141 * libio/stdio.h (fopen): Add __restrict to parameters.
143 * manual/process.texi (system): Describe behaviour for NULL argument.
145 * stdio-common/printf-parse.h: Parse hh modifier.
146 * stdio-common/vfprintf.c: Handle hh modifier.
147 * stdio-common/vfscanf.c: Likewise.
148 * manual/stdio.texi: Describe hh modifier for scanf/printf.
150 * math/complex.h: Don't define _Imaginary_I, but instead _Complex_I.
151 gcc does no yet know the `imaginary' keyword.
153 * math/test-math.c: Add little test for know gcc bug.
155 * math/tgmath.h: Make complex versions of log10() only available
158 * stdlib/test-canon.c: Fix typo.
160 * sysdeps/generic/setenv.c: Avoid compilation warnings.
161 Reported by Jim Meyering.
163 * sysdeps/generic/bits/errno.h: EILSEQ is an ISO C error number.
164 * sysdeps/mach/hurd/bits/errno.h: Likewise.
165 * sysdeps/standalone/bits/errno.h: Likewise.
166 * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
168 * sysdeps/i386/i586/memcpy.S: New file.
169 * sysdeps/i386/i586/mempcpy.S: New file.
171 * sysdeps/i386/i586/memset.S: Fix typo.
173 * sysdeps/posix/getcwd.c: Define HAVE_MEMPCPY for _LIBC. Add casts.
175 * sysdeps/posix/system.c: Add comment to explain code.
177 * sysdeps/wordsize-32/inttypes.h: Include <stddef.h> for wchar_t.
178 Define PTRDIFF_{MIN,MAX}, SIG_ATOMIC_{MIN,MAX}, SIZE_MAX,
179 WCHAR_{MIN,MAX}, WINT_{MIN,MAX}.
180 Define wcstoimax, wcstoumax.
181 * sysdeps/wordsize-64/inttypes.h: Likewise.
183 * wcsmbs/wchar.h: Define WCHAR_{MIN,MAX} if not already defined.
184 Declare __wcsto{l,ul,ll,ull}_internal only if not already done.
186 * time/Makefile (routines): Add strfxtime.
187 * time/strftime.c: Implement %F and %f format.
188 * time/strfxtime.c: New file.
189 * time/time.h: Define new types and symbols from ISO C 9X.
191 * time/mktime.c: Little comment correction.
193 1997-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
195 * sysdeps/libm-ieee754/s_sincosl.c: Fix typo.
197 * sysdeps/libm-ieee754/s_tanl.c: Fix typo.
199 * sysdeps/libm-ieee754/s_floorl.c: Correct typos.
201 * sysdeps/libm-ieee754/e_remainderl.c: Replace
202 EXTRACT_LDOUBLE_WORDS by GET_LDOUBLE_WORDS.
204 * sysdeps/libm-ieee754/e_atan2l.c: Replace EXTRACT_LDOUBLE_WORDS
205 by GET_LDOUBLE_WORDS.
207 * sysdeps/libm-ieee754/s_scalbnl.c: Replace ";" by "," for correct
208 variable declaration.
209 * sysdeps/libm-ieee754/s_scalblnl.c: Likewise.
211 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Correct function.
213 * math/libm-test.c (sqrt_test): Add test for sqrt (0.25).
214 (asin_test): Add more test.
216 1997-11-10 23:34 Ulrich Drepper <drepper@cygnus.com>
218 * sysdeps/libm-ieee754/e_asin.c: Add braces to make code clearer
219 and to not confuse the poor compiler.
220 * sysdeps/libm-ieee754/e_asinf.c: Likewise.
221 Reported by vertex@cagent.com.
223 1997-11-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
225 * elf/dl-lookup.c (do_lookup): Don't accept the base version if we
226 require a specific one.
228 * libio/oldfreopen.c: Bind old symbols to version GLIBC_2.0.
229 * libio/oldiofopen.c: Likewise.
230 * libio/oldstdfiles.c: Likewise.
231 * libc.map: Export them.
233 1997-11-10 07:40 H.J. Lu <hjl@gnu.ai.mit.edu>
235 * stdlib/exit.c (exit): Handle recursive calls to exit ().
237 1997-11-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
239 * sysdeps/m68k/fpu/s_llrint.c: Fixed to take double argument
240 instead of long double.
241 * sysdeps/m68k/fpu/s_llrintf.c: New file.
242 * sysdeps/m68k/fpu/s_llrintl.c: New file.
244 * sysdeps/libm-ieee754/s_llrint.c: Make compilable and fix
246 * sysdeps/libm-ieee754/s_llrintf.c: Fix overflow condition.
247 * sysdeps/libm-ieee754/s_llrintl.c: Likewise.
248 * sysdeps/libm-ieee754/s_llround.c: Likewise.
249 * sysdeps/libm-ieee754/s_llroundf.c: Likewise.
250 * sysdeps/libm-ieee754/s_llroundl.c: Likewise.
251 * sysdeps/libm-ieee754/s_lrint.c: Likewise.
252 * sysdeps/libm-ieee754/s_lrintf.c: Likewise.
253 * sysdeps/libm-ieee754/s_lrintl.c: Likewise.
254 * sysdeps/libm-ieee754/s_lround.c: Likewise.
255 * sysdeps/libm-ieee754/s_lroundf.c: Likewise.
256 * sysdeps/libm-ieee754/s_lroundl.c: Likewise.
258 * math/libm-test.c: Test all three variants of lrint and llrint.
259 Fix typos in lround and llround tests. Add tests for boundary
260 cases for lrint and llround.
262 1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
264 * manual/arith.texi: Misc doc fixes.
265 * manual/ctype.texi: Likewise.
266 * manual/pattern.texi: Likewise.
267 * manual/terminal.texi: Likewise.
269 1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
271 * sysdeps/unix/sysv/linux/xstatconv.c: Use struct assignment
272 instead of memcpy to let the compiler use whatever it regards as
274 * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Likewise.
276 1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
279 [$(subdir)=misc]: Add sys/prctl.h.
280 * sysdeps/unix/sysv/linux/Dist: Distribute it.
282 1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
284 * io/ftwtest-sh: Don't use the unknown which command, instead try
285 pwd as /bin/pwd and /usr/bin/pwd.
287 1997-11-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
289 * manual/maint.texi (Tools for Installation): Don't recommend
290 broken version 3.76.1 of make.
291 (Porting): Fix wording.
293 1997-11-06 06:13 H.J. Lu <hjl@gnu.ai.mit.edu>
295 * config.make.in (build-pic-default): New, defined with
298 * configure.in (pic_default): New, set to yes if PIC is
301 * Makeconfig (CPPFLAGS-.o, CPPFLAGS-.op, CPPFLAGS-.og,
302 CPPFLAGS-.ob): Add -DPIC if $(build-pic-default) is yes.
304 1997-11-09 18:15 Ulrich Drepper <drepper@cygnus.com>
306 * Makerules (libc.so): Fix typo.
308 * csu/Makefile (CFLAGS-initfini.s): Correctly fix moving function
309 definition. Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
311 * stdlib/strtod.c: Handle numbers like 0.0e10000 correctly which
312 produce ±0.0. Reported by Joe Keane <jgk@jgk.org>.
314 * sysdeps/libm-ieee754/s_ceill.c: Fix typos.
315 * sysdeps/libm-ieee754/s_llrint.c: Correct code, it never worked.
317 1997-11-06 07:00 H.J. Lu <hjl@gnu.ai.mit.edu>
319 * sysdeps/unix/sysv/i386/i686/time.S: Removed.
321 1997-11-08 14:07 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
323 * nis/libnsl.map: Add __do_niscall2 for nis_cachemgr.
325 * nis/nis_call.c: Set UDP resend timeout correct.
327 * nis/nss_compat/compat-grp.c: Rewritten to make it faster.
328 * nis/nss_compat/compat-pwd.c: Likewise.
329 * nis/nss_compat/compat-spwd.c: Likewise.
330 * nis/ypclnt.c: Fix UDP resend timeout, fix yp_bind/do_ypcall
333 * inet/protocols/routed.h: Include sys/socket.h.
334 * inet/protocols/talkd.h: Likewise.
335 * inet/protocols/timed.h: Include rpc/types.h.
336 * sunrpc/rpc/pmap_clnt.h: Include rpc/clnt.h.
338 1997-11-06 01:39 Ulrich Drepper <drepper@cygnus.com>
340 * Makerules (libc.so): Add missing closing brace.
342 1997-11-05 Brendan Kehoe <brendan@lisa.cygnus.com>
344 * libio.h (__P): Name its arg `p' instead of `params'.
345 This was added solely to work around problems with
346 the definition of __P in the Solaris math.h header.
348 1997-11-06 00:06 Ulrich Drepper <drepper@cygnus.com>
350 * argp/argp-help.c: Optimize a bit by using mempcpy.
351 * elf/dl-load.c: Likewise.
352 * elf/dl-lookup.c: Likewise.
353 * inet/rcmd.c: Likewise.
354 * io/ftw.c: Likewise.
355 * libio/fileops.c: Likewise.
356 * libio/genops.c: Likewise.
357 * libio/obprintf.c: Likewise.
358 * nss/nsswitch.c: Likewise.
359 * posix/execvp.c: Likewise.
360 * posix/getopt.c: Likewise.
361 * posix/glob.c: Likewise.
362 * posix/wordexp.c: Likewise.
363 * stdio-common/vfprintf.c: Likewise.
364 * stdlib/canonicalize.c: Likewise.
365 * stdlib/msort.c: Likewise.
366 * string/argz-replace.c: Likewise.
367 * sysdeps/generic/putenv.c: Likewise.
368 * sysdeps/generic/setenv.c: Likewise.
369 * sysdeps/posix/getcwd.c: Likewise.
370 * sysdeps/posix/ttyname.c: Likewise.
371 * sysdeps/posix/writev.c: Likewise.
372 * time/strftime.c: Likewise.
373 * time/tzfile.c: Likewise.
375 * login/utmp_daemon.c: Use memcpy instead of strcpy where possible.
376 * sunrpc/svcauth_des.c: Likewise.
377 * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
379 * misc/tsearch.c: Use memcpy return value if possible.
380 * posix/regex.c: Likewise.
381 * sysdeps/unix/readdir_r.c: Likewise.
382 * wcsmbc/wcsdup.c: Likewise.
384 * nss/digits_dots.c: Little optimization.
386 * inet/ruserpass.c (ruserpass): Optimize by using stpcpy.
387 (struct toktab): Make tokstr field a const char *.
389 * elf/dl-profile.c: Fix typo.
391 * inet/ether_ntoh.c: Don't use relative #include path.
392 * inet/gethstbynm.c: Likewise.
393 * resolv/inet_pton.c: Likewise.
394 * shadow/sgetspent_r.c: Likewise.
396 * libio/oldfileops.c (_IO_old_file_jumps): Use correct sync and write
397 callbacks. Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
399 * posix/confstr.c: Correct string for _CS_LFS_CFLAGS.
400 Handle _CS_XBS5_* constants.
401 * posix/unistd.h: Add comment describing _XBS5_* constants.
402 * sysdeps/generic/bits/confname.h: Add _CS_XBS5_* constants.
404 * posix/regex.c: Indent preprocessor code.
406 * posix/wordexp.c: Using _itoa_word instead of sprintf.
408 * stdlib/canonicalize.c: Avoid unnecessary copying. Handle NULL
409 and "" arguments correctly according to SUS.
410 * stdlib/test-canon.c: Test "" and NULL argument handling.
412 * sysdeps/posix/writev.c: Correct condition to leave the loop.
414 1997-11-05 18:13 Ulrich Drepper <drepper@cygnus.com>
416 * nss/getXXbyYY.c: Set buffer to NULL if realloc fails so that possible
417 next call starts with malloc again.
418 Proposed by Joe Keane <jgk@jgk.org>.
420 1997-11-04 23:57 Ulrich Drepper <drepper@cygnus.com>
422 * configure.in: Correct gcc -pipe test.
423 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
425 * posix/glob.c: Cleanups. Patch by H.J. Lu <hjl@lucon.org>.
427 1997-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
429 * manual/creature.texi (Feature Test Macros): Add _POSIX_C_SOURCE
432 1997-11-04 Ulrich Drepper <drepper@cygnus.com>
434 * manual/filesys.texi: Correct description of return value for
436 * sysdeps/unix/readdir_r.c (__readdir_r): Return value of errno
437 not -1 in error case.
438 * sysdeps/generic/readdir_r.c (__readdir_r): Return ENOSYS not -1.
439 Reported by Jim Meyering <meyering@eng.ascend.com>.
441 1997-11-02 Paul Eggert <eggert@twinsun.com>
443 * strftime.c: Use host's underlying strftime to access
444 locale-specific info. This is useful e.g. when building GNU
445 Emacs under Solaris 2.6.
446 (weekday_name, month_name): Omit if HAVE_STRFTIME.
447 (my_strftime): New macro, which names the strftime function that
448 this source file produces.
449 (strftime): #undef if emacs is defined; this works around Emacs 20.2's
450 method of compiling with -Dstrftime=emacs_strftime.
451 Also, declare as a function returning size_t, for similar reasons.
452 (my_strftime): If HAVE_STRFTIME, use underlying strftime to handle
453 locale-dependent formats like %a and %Ec.
455 1997-11-02 Paul Eggert <eggert@twinsun.com>
457 * strftime.c (memcpy_lowcase, memcpy_uppcase, strftime):
458 Ensure that args to islower and isupper are valid unsigned
459 chars, even if char is signed.
461 1997-11-04 Ulrich Drepper <drepper@cygnus.com>
463 * assert/Makefile (headers): Add assert.h, necessary after patch
465 * ctype/Makefile (headers): Likewise.
466 * pwd/Makefile (headers): Likewise.
467 * grp/Makefile (headers): Likewise.
468 Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
470 1997-11-04 03:08 Ulrich Drepper <drepper@cygnus.com>
472 * glibcbug.in: Add information about configured target.
473 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
475 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Be prepared for
476 empty string as `reference_name' parameter.
477 * elf/rtld.c: Don't set real program name in l_name of main object.
479 * manual/creature.texi: Apply Paul Eggert's patch for better
480 _POSIX_C_SOURCE description.
482 * stdlib/strfmon.c: Fix numerous bugs in formatting.
484 * time/strptime.c [%Y]: Treat all years, not only those which fit
486 [%Oy]: Really store value.
487 Patches by Paul Eggert.
489 * wcsmbs/wchar.h: Fix documentation bugs. Declare wcsdup only
492 1997-11-03 02:48 Ulrich Drepper <drepper@cygnus.com>
494 * sysdeps/generic/bits/errno.h: Remove all error definitions. This
495 is only meant as a stub.
497 1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
499 * sysdeps/standalone/bits/errno.h: Copied from
500 sysdeps/generic/bits/errno.h and added all know error codes that
503 1997-11-03 02:23 Ulrich Drepper <drepper@cygnus.com>
505 * sysdeps/generic/make_siglist.c: Add comment to clarify use and
506 make sure the correct _NSIG value is used.
507 Patch by Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>.
509 1997-11-03 00:20 Ulrich Drepper <drepper@cygnus.com>
511 * intl/localealias.c (read_alias_file): Correct handling of line
512 reader which sometimes skipped complete lines (PR 205).
513 Optimize a bit by using mempcpy.
515 1997-11-02 16:59 Philipp Thomas <kthomas@gwdg.de>
517 * intl/localealias.c (read_alias_file): Correctly set map[].value
518 instead of overwriting map[].alias
520 1997-11-02 15:32 Ulrich Drepper <drepper@cygnus.com>
522 * libc.map: Add _IO_flockfile and _IO_funlockfile.
523 Suggested by H.J. Lu <hjl@lucon.org>.
525 1997-11-02 15:17 Ulrich Drepper <drepper@cygnus.com>
527 * elf/dl-error.c (_dl_signal_error): Use _strerror_internal instead
529 * assert/assert-perr.c: Use _strerror_internal directly instead of
531 Suggested by Joe Keane <jgk@jgk.org>.
533 1997-11-01 16:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
535 * configure.in: Check for gcc-2.7.2 -pipe bug and hack around it
538 1997-11-01 Paul Eggert <eggert@twinsun.com>
540 * time/strptime.c (strptime_internal): Fix bug: %Oy forgot to
541 assign tm_year. Do not restrict %Y to years less than 2037 even
542 on 32-bit time_t hosts, as strptime returns an int tm_year, not a
543 time_t, and it's possible for programs to use the year without
544 having to use time_t.
546 1997-10-31 23:16 Ulrich Drepper <drepper@cygnus.com>
548 * posix/glob.c (glob): If calling glob_in_dir for a list which was
549 generated by a glob call disable GLOB_ERR since there might be
550 non-directories in the list (PR 203).
552 * posix/glob.h (GLOB_ONLYDIR): New flag.
553 (__GLOB_FLAGS): Add GLOB_ONLYDIR.
554 * posix/glob.c: Define HAVE_D_TYPE if _DIRENT_HAVE_D_TYPE is defined.
555 (glob): Add GLOB_ONLYDIR to recursive call to match dirname.
556 (glob_in_dir) [HAVE_D_TYPE]: While reading directory entries test
557 whether they are directories if GLOB_ONLYDIR flag is given.
558 * manual/pattern.texi: Document GLOB_ONLYDIR.
560 * misc/Makefile (tests): Add tst-fdset.
562 * sysdeps/i386/bits/select.h: Rewrite asm macros to be cleaner.
564 * sysdeps/unix/sysv/linux/Dist: Add xstatconv.c.
565 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
567 * time/strptime.c (strptime_internal): In %y format, regard years
568 >= 69 as of twentieth century, all other as of twenty-first.
570 * time/tzset.c: Correct typo and little optimization.
572 1997-10-31 16:01 Ulrich Drepper <drepper@cygnus.com>
574 * inet/getnetgrent.c: Allocate buffer dynamically if needed.
575 Suggested by Joe Keane <jgk@jgk.org>.
577 1997-10-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
579 * io/ftw.h: Declare __ftw64_func_t and __nftw64_func_t only when
580 __USE_FILE_OFFSET64 || __USE_LARGEFILE64 is true.
582 1997-10-30 05:47 Ulrich Drepper <drepper@cygnus.com>
584 * misc/mntent.c: Don't use statically allocated buffer. Allocate
585 it dynamically if necessary.
586 * misc/efgcvt.c: Likewise.
587 Patch by Joe Keane <jgk@jgk.org>.
589 * misc/mntent.c: Allow freeing of allocated buffer in
591 * misc/efgcvt.c: Likewise.
593 * misc/efgcvt.c: Call correct reentrant functions.
594 Use better values for MAXDIG.
595 * misc/qefgcvt.c: Use better values for MAXDIG.
597 1997-10-29 18:48 Richard Henderson <rth@cygnus.com>
599 * sysdeps/unix/sysv/linux/Makefile [io]: Add xstatconv.
600 * sysdeps/unix/sysv/linux/alpha/xstatconv.c: New file. Convert
601 between kernel_stat and the userland version indicated.
602 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
603 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STAT_VER_KERNEL.
605 * sysdeps/unix/sysv/linux/fxstat.c: Defer to __xstat_conv. Alias
606 to __*xstat64 if requested.
607 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
608 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
610 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Add struct stat64.
611 Increment _STAT_VER, and make struct stat the same.
612 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Add __ino64_t, and
613 __off64_t. Reorganize.
614 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Add struct glibc2_stat
615 for backward compatibility. Define XSTAT_IS_XSTAT64.
617 * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Empty file.
618 * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Likewise.
619 * sysdeps/unix/sysv/linux/alpha/xstat64.c: Likewise.
621 * sysdeps/unix/sysv/linux/alpha/bits/dirent.h (struct dirent): For
622 consistency, force d_ino to use ino_t and supply padding.
624 1997-10-29 18:47 Richard Henderson <rth@cygnus.com>
626 * libio/iofopen.c: Correct weak_alias.
628 1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
630 * Makerules (install): Correct last patch.
632 1997-10-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
634 * math/libm-test.c (cbrt_test): Add epsilon for cbrt(0.970299).
636 1997-10-29 21:20 Ulrich Drepper <drepper@cygnus.com>
638 * libio/strops.c (_IO_str_seekoff): If mode is zero and the read/write
639 pointers are tied set mode according to current stream mode.
641 * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to
643 Define _XOPEN_SOURCE to 500 if _POSIX_C_SOURCE is defined.
644 * manual/creature.texi: Describe this.
646 * manual/socket.texi: Describe connect, accept, send, sendmsg, sendto,
647 recv, recvfrom, and recvmsg as cancelation points.
648 * sysdeps/unix/inet/syscalls.list: Add __libc_* names for these
651 1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
653 * Make-dist (try-sysdeps): Don't look for stub files anymore.
655 * manual/maint.texi (Porting): Remove another reference to stub
658 * sysdeps/unix/bsd/sun/sethostid.c: Include stub version from
660 * sysdeps/unix/sysv/irix4/reboot.c: Likewise.
661 * sysdeps/unix/sysv/irix4/swapon.c: Likewise
663 1997-10-29 03:54 Ulrich Drepper <drepper@cygnus.com>
665 * resolv/nss_dns/dns-host.c: Change variable pointed to by h_errnop
666 in all error cases (PR 244).
668 1997-10-29 00:56 Ulrich Drepper <drepper@cygnus.com>
670 * posix/glob.c: Fix handling of expressions like "*/" (PR 325).
671 Optimize by using mempcpy.
673 1997-10-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
675 * po/Makefile ($(mo-installed)): Don't fail during installation if
676 files don't exist (might happen if msgfmt doesn't exist) (PR 328).
677 Suggested by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
679 1997-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
681 * sysdeps/generic/bits/errno.h (ENOMSG): Define it.
682 Pointed out by Klaus Espenlaub
683 <kespenla@hydra.informatik.uni-ulm.de> (PR libc/259).
685 1997-10-28 17:40 Ulrich Drepper <drepper@cygnus.com>
687 * sysdeps/libm-ieee754/s_cbrt.c: Testing the returned exponent for
688 zero isn't enough to determine illegal arguments.
689 * sysdeps/libm-ieee754/s_cbrtf.c: Likewise.
690 * sysdeps/libm-ieee754/s_cbrtl.c: Likewise.
692 1997-10-28 17:14 Ulrich Drepper <drepper@cygnus.com>
694 * manual/filesys.texi (S_ISVTX): Describe that it is available with
696 Reported by Jochen Hein <jochen.hein@delphi.central.de>.
698 1997-10-28 04:26 Ulrich Drepper <drepper@cygnus.com>
700 * time/tzfile.c (__tzfile_compute): Use negated value of offset for
702 * time/tzset.c (tz_compute): Likewise.
703 Reported by Erik Troan <ewt@redhat.com>.
705 1997-10-28 02:51 Ulrich Drepper <drepper@cygnus.com>
707 * manual/filesys.texi: Correct prototype in readdir_r description.
708 Reported by Jim Meyering <meyering@eng.ascend.com>.
710 1997-10-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
712 * math/libm-test.c (cbrt_test): Add test for cbrt(0.970299).
714 1997-10-26 19:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
716 * stdlib/l64a.c: Produce a useful result for n < 0.
717 * stdlib/a64l.c: Use unsigned type for working variable.
718 * manual/string.texi (general): Grammar, typo, overfull fixes.
719 (strlen): Insert warning about sizeof(char *).
720 (a64l, l64a): Make documentation agree with implementation.
722 1997-10-26 18:12 Ulrich Drepper <drepper@cygnus.com>
724 * libio/genops.c: Partial undo of last patch.
725 * libio/stdfiles.c: Likewise.
726 * libio/iofdopen.c: Use _IO_FILE_complete, not _IO_FILE_plus.
727 * libio/iopopen.c: Likewise.
728 * libio/iovdprintf.c: Likewise.
729 * libio/libio.h: Remove duplicated `;'.
730 * libio/stdio.c: Remove misleading comment.
731 * libio/stdio.h: Declare standard streams as variables.
733 * login/Makefile (distribute): Add README.utmpd.
734 * login/README.utmpd: New file.
735 Provided by Mark M. Kettenis <kettenis@phys.uva.nl>.
737 * manual/job.texi: Document tcgetsid.
738 * manual/pattern.texi: Document globfree.
739 * manual/terminal.texi: Document B38400 ... B460800.
741 * posix/confstr.c: Print "-D_FILE_OFFSET_SIZE=64" for _CS_LFS_CFLAGS.
743 * posix/unistd.h: Add explanation of _POSIX_* constants.
745 * posix/unistd.h: Add prototypes for __pread, __pread64, __pwrite
747 * sysdeps/generic/pread.c: Define as __pread and make pread weak alias.
748 * sysdeps/generic/pread64.c: Likewise.
749 * sysdeps/generic/pwrite.c: Likewise.
750 * sysdeps/generic/pwrite64.c: Likewise.
751 * sysdeps/posix/pread.c: Likewise.
752 * sysdeps/posix/pwrite.c: Likewise.
753 * sysdeps/posix/pread64.c: New file.
754 * sysdeps/posix/pwrite64.c: Likewise.
755 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=posix] (sysdep_routines):
756 Add s_pread64 and s_pwrite64.
757 * sysdeps/unix/sysv/linux/pread.c: New file.
758 * sysdeps/unix/sysv/linux/pread64.c: New file.
759 * sysdeps/unix/sysv/linux/pwrite.c: New file.
760 * sysdeps/unix/sysv/linux/pwrite64.c: New file.
761 * sysdeps/unix/sysv/linux/s_pread64.c: New file.
762 * sysdeps/unix/sysv/linux/s_pwrite64.c: New file.
763 * sysdeps/unix/sysv/linux/syscalls.list: Add pread and pwrite.
764 * sysdeps/unix/sysv/linux/alpha/pread64.c: New (empty) file.
765 * sysdeps/unix/sysv/linux/alpha/pwrite64.c: New (empty) file.
766 * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: New (empty) file.
767 * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: New (empty) file.
768 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add pread and pwrite
769 with weak aliases for *64 functions.
770 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
772 * string/bits/string2.h: Add casts to allow void * arguments.
774 * sysdeps/i386/i486/bits/string.h: Define index and rindex only if
775 __USE_BSD or __USE_XOPEN_EXTENDED.
777 * sysdeps/unix/sysv/linux/bits/socket.h: Add SCM_RIGHTS and other
778 SCM_* constants from kernel header.
780 * termios/termios.h: Add prototype for tcgetsid.
782 1997-10-26 13:26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
784 * sunrpc/clnt_perr.c: Add trailing '\0' to strings.
786 * sunrpc/get_myaddr.c: Include rpc/clnt.h for prototypes.
788 * sunrpc/pmap_clnt.c: Use get_myaddress from header file.
790 1997-10-26 05:26 Ulrich Drepper <drepper@cygnus.com>
792 * configure.in: Punt if any directory mentioned in the
793 enable-add-on parameter does not exist.
795 1997-10-25 19:25 Ulrich Drepper <drepper@cygnus.com>
797 * termios/Makefile (routines): Add tcgetsid.
798 * termios/tcgetsid.c: New file.
799 Provided by Mark M. Kettenis <kettenis@phys.uva.nl>.
801 1997-10-25 18:56 Ulrich Drepper <drepper@cygnus.com>
803 * stdlib/stdlib.h: Remove mblen optimization.
804 * stdlib/mblen.c: Rewrite to make sure global state is not changed.
805 Reported by anderson@metrolink.com.
807 1997-10-19 21:51 Wolfram Gloger <wg@wolfram.dent.med.uni-muenchen.de>
809 * malloc/thread-m.h [_LIBC]: Use new __libc_internal_tsd_{set,get}
810 interface for thread-specific data.
812 1997-10-25 06:51 Ulrich Drepper <drepper@cygnus.com>
814 * elf/dl-addr.c: Use braces for correct logical grouping.
815 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
817 1997-10-18 09:15 Geoff Keating <geoffk@ozemail.com.au>
819 * io/ftwtest-sh: Sometimes /tmp is a symlink to somewhere more
820 convenient; that caused this test to break.
822 * sysdeps/powerpc/dl-machine.h: Fix typo.
824 * sysdeps/powerpc/bits/fenv.h: Don't use floating-point registers
825 when -msoft-float is in effect, because this causes compilation to
827 * sysdeps/powerpc/bits/mathinlines.h: Likewise.
829 * rpm/template: Add description, use RPM flags rather than the ones
830 used to build the spec. Build in a temporary directory, not /.
832 * elf/dl-lookup.c: Don't include _itoa.h, it's not used.
833 * elf/dl-minimal.c: Use _itoa_word rather than _itoa. It seems that
834 _itoa is the only routine that ld.so uses that requires something
835 from libgcc.a on powerpc, so it would be best to avoid it in ld.so.
836 * elf/rtld.c: Likewise.
837 * sysdeps/generic/_strerror.c: Likewise.
838 * stdio-common/_itoa.c: Split out digits strings.
839 * stdio-common/itoa-digits.c: New file.
840 * stdio-common/Makefile: Add itoa-digits.
842 1997-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
844 * manual/filesys.texi (Scanning Directory Content): Document error
847 * dirent/scandir.c (scandir): Ignore errors from select function.
848 Suggested by urbanw@cs.umu.se (closes PR libc/316).
850 1997-10-25 06:18 Ulrich Drepper <drepper@cygnus.com>
852 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Corrections.
853 Patch by Erik Troan <ewt@redhat.com>.
855 1997-10-25 04:00 Ulrich Drepper <drepper@cygnus.com>
857 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Favour exact
858 matching of version function if both the general (1) and
859 glibc-specific (3) entry are present.
861 1997-10-22 18:47 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
863 * sunrpc/rpc/clnt.h: Add get_myaddress prototype.
865 * nis/libnsl.map: Fix typo.
867 * nis/nis_call.c: Fix memory leak.
869 1997-10-22 19:29 Ulrich Drepper <drepper@cygnus.com>
871 * sysdeps/generic/memcmp.c: Define __P if not defined before.
872 Patch by Jim Meyering <meyering@eng.ascend.com>.
874 1997-10-21 22:09 Ulrich Drepper <drepper@cygnus.com>
876 * sysdeps/unix/sysv/linux/sys/prctl.h: New file by Richard Gooch
877 <rgooch@atnf.csiro.au>.
879 1997-10-21 21:50 Ulrich Drepper <drepper@cygnus.com>
881 * misc/syslog.c (vsyslog): Open console with O_NOCTTY.
882 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
884 1997-10-21 18:07 Ulrich Drepper <drepper@cygnus.com>
886 * posix/wordexp.c: Improve handling of $... expressions.
887 Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
889 1997-10-21 16:12 Ulrich Drepper <drepper@cygnus.com>
891 * manual/string.texi: Correct return values of bcopy and bzero.
892 Patch by Matthew Wilcox <willy@odie.barnet.ac.uk>.
894 1997-10-18 15:03 Philip Blundell <Philip.Blundell@pobox.com>
896 * sysdeps/unix/sysv/linux/bits/socket.h: Correct types of some
897 elements in struct msghdr and struct cmsghdr, to keep in step with
900 1997-10-17 22:29 Ulrich Drepper <drepper@cygnus.com>
902 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Fix another
904 Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>.
906 1997-10-16 20:17 Richard Henderson <rth@cygnus.com>
908 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Dump args to the
909 stack and give the kernel a pointer. Use the sysdep.h macros.
911 1997-10-17 04:07 Ulrich Drepper <drepper@cygnus.com>
913 * sysdeps/sparc/sparc32/elf/start.S: Calculate argv correctly.
914 Patch by Eric Delaunay <delaunay@lix.polytechnique.fr>.
916 1997-10-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
918 * sysdeps/libm-ieee754/s_nextafterxf.c [!__STDC__]: Correct typo.
920 1997-10-16 14:50 Ulrich Drepper <drepper@cygnus.com>
922 * manual/pattern.texi: Document globfree.
924 1997-10-15 21:11 Philip Blundell <Philip.Blundell@pobox.com>
926 * sysdeps/unix/sysv/linux/net/if_packet.h: New file.
927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
930 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_ASH): New type, for
932 (ARPHRD_ETHER): This is used for 100Mbps networks too.
934 1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
936 * Makerules (install): Use full pathnames for linker script.
937 This is to work around a limitation in `ld' while no better solution
940 1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
942 * malloc/malloc.c (mmap_chunk): Put inline before static in
943 function definition to avoid compiler warning.
944 (malloc_extend): Likewise.
946 * sysdeps/generic/des_impl.c: Include "des.h" to avoid warning.
948 1997-10-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
950 * NEWS: Fix @gnu.ai.mit.edu -> @gnu.org.
951 * README.template: Likewise.
952 * db/makedb.c: Likewise.
953 * elf/ldd.bash.in: Likewise.
954 * elf/ldd.sh.in: Likewise.
955 * intl/locale.alias: Likewise.
956 * login/programs/utmpd.c: Likewise.
957 * libio/stdfiles.c [!_IO_MTSAFE] (DEF_STDFILE): Fix parameter list.
959 1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
961 * Rules: Remove all empty.* files.
962 (shared-only-routines): Correct implementation.
964 1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
966 * sysdeps/libm-ieee754/s_lrintl.c: Make compilable.
967 * sysdeps/libm-ieee754/s_llrintl.c: Likewise. Optimized.
969 1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
971 * elf/ldd.bash.in: Only prepend ./ if the file contains no slash
973 * elf/ldd.sh.in: Likewise.
975 1997-10-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
977 * sysdeps/m68k/sys/ucontext.h: New file.
979 1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
981 * sysdeps/m68k/fpu/s_scalbln.c: New (empty) file.
982 * sysdeps/m68k/fpu/s_scalblnf.c: New (empty) file.
983 * sysdeps/m68k/fpu/s_scalblnl.c: New (empty) file.
985 * sysdeps/m68k/fpu/s_scalbn.c: Add scalbln alias.
986 * sysdeps/m68k/fpu/s_scalbnf.c: Adapted.
987 * sysdeps/m68k/fpu/s_scalbnl.c: Adapted.
989 * sysdeps/m68k/fpu/s_lrint.c: Add standard skeleton stuff.
990 * sysdeps/m68k/fpu/s_lrintf.c: New file.
991 * sysdeps/m68k/fpu/s_lrintl.c: New file.
993 * sysdeps/m68k/fpu/bits/mathinline.h: Add fma and scalbln. Update
995 (__m81_inline) [__cplusplus]: Define to __inline.
997 * math/bits/mathcalls.h: Remove whitespace before second argument
998 of __MATHDECL. Add note explaining this.
1000 1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1002 * manual/arith.texi (Absolute Value): Spelling fix.
1004 1997-10-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1006 * malloc/obstack.h (obstack_empty_p) [!__GNUC__]: Properly
1007 parenthesize the macro parameter.
1009 1997-10-15 06:56 Ulrich Drepper <drepper@cygnus.com>
1011 * Rules: Remove rules to magically install <subdir>.h headers.
1012 Reported by Mark Kettenis <kettenis@phys.uva.nl>.
1014 * glibcbug.in: Fix @gnu.ai.mit.edu -> @gnu.org.
1015 * version.c: Likewise.
1016 * catgets/gencat.c: Likewise.
1017 * db2/makedb.c: Likewise.
1018 * locale/programs/locale.c: Likewise.
1019 * locale/programs/localedef.c: Likewise.
1021 * libc.map: Move _IO_list_all back to GLIBC_2.0.
1023 * elf/rtld.c: Provide name of running program to _dl_new_object.
1025 * Rules: Implement shared-only-sources.
1026 * include/libc-symbols.h: Define default_symbol_version.
1027 * libio/Makefile (shared-only-sources): Define.
1028 * libio/freopen.c: Define as default version.
1029 * libio/iofopen.c: Likewise.
1030 * libio/genops.c: Define _IO_list_all here.
1031 * libio/stdfiles.c: Create linked list with public names.
1032 * libio/oldstdfiles.c: Likewise.
1034 * stdio-common/printf.c: Optimize.
1035 * stdio-common/scanf.c: Optimize.
1037 * sysdeps/generic/setfpucw.c: Include #include <...> not "...".
1039 * sysdeps/i386/i486/bits/string.h: Add optimized versions of index and
1042 1997-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1044 * manual/arith.texi: Spelling fixes.
1045 * manual/conf.texi: Likewise.
1046 * manual/creature.texi: Likewise.
1047 * manual/filesys.texi: Likewise.
1048 * manual/intro.texi: Likewise.
1049 * manual/llio.texi: Likewise.
1050 * manual/math.texi: Likewise.
1051 * manual/message.texi: Likewise.
1052 * manual/pattern.texi: Likewise.
1053 * manual/search.texi: Likewise.
1054 * manual/signal.texi: Likewise.
1055 * manual/socket.texi: Likewise.
1056 * manual/startup.texi: Likewise.
1057 * manual/stdio.texi: Likewise.
1058 * manual/string.texi: Likewise.
1059 * manual/time.texi: Likewise.
1060 * manual/users.texi: Likewise.
1062 1997-10-13 05:25 Ulrich Drepper <drepper@cygnus.com>
1064 * sysdeps/generic/sys/mman.h: Use __ptr_t instead of __caddr_t.
1065 * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
1066 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
1067 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
1068 * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
1069 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1070 * sysdeps/mach/hurd/mmap.c: Likewise.
1071 * sysdeps/generic/mmap.c: Likewise.
1072 * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
1073 * sysdeps/mach/munmap.c: Likewise.
1074 * sysdeps/generic/munmap.c: Likewise.
1075 * sysdeps/mach/mprotect.c: Likewise.
1076 * sysdeps/generic/mprotect.c: Likewise.
1077 * sysdeps/generic/msync.c: Likewise.
1078 * sysdeps/generic/madvise.c: Likewise.
1080 * sysdeps/unix/sysv/linux/madvise.c: Include stub version from generic
1083 1997-10-12 20:27 Zack Weinberg <zack@rabi.phys.columbia.edu>
1085 * sysdeps/stub (all files): Moved to sysdeps/generic.
1086 * all files using stub_warning: Include <stub-tag.h>.
1087 * include/stub-tag.h: New file, marks stubs in .d files.
1088 * Makerules: Look for stub-tag.h, not sysdeps/stub, when building
1090 * configure.in: Don't add sysdeps/stub to $sysnames.
1091 * sysdeps/unix/Makefile: Look for generic headers, not stub
1093 * sysdeps/generic/Makefile: Likewise.
1094 * manual/maint.texi: Delete references to sysdeps/stub.
1096 * configure: Rebuilt.
1098 1997-10-13 03:14 Ulrich Drepper <drepper@cygnus.com>
1100 * libc.map: Move _IO_fopen, fopen, _IO_stdin_, _IO_stdout_,
1101 _IO_stderr_, _IO_list_all, and freopen to GLIBC_2.1 version.
1102 * include/libc-symbol.h: Define define_symbol.
1103 * libio/Makefile [$(versioning)=yes] (routines): Add oldiofopen and
1105 [$(versioning)=yes] (aux): Add oldfileops and oldstdfiles.
1106 * libio/fileops.c: Use _IO_FILE_complete when accessing _offset field.
1107 * libio/freopen.c: Use versioning.
1108 * libio/iofopen.c: Likewise. Generate object of type
1110 * libio/iofopen64.c: Generate object of type _IO_FILE_complete.
1111 * libio/iolibio.h: Declare _IO_{old,new}_fopen and __{old,new}_freopen.
1112 Define _IO_old_freopen.
1113 * libio/libio.h: Remove _offset field from _IO_FILE. Rename _unused2
1114 field to _old_offset. Declare _IO_std*_ streams as of type
1116 * libio/libioP.h: Define _IO_FILE_complete.
1117 Declare callbacks for old fileops implementation.
1118 * libio/stdfile.c: Define standard stream of type _IO_FILE_complete.
1119 * libio/stdio.c: Correctly address FILE part of standard streams.
1120 * libio/oldfileops.c: New file.
1121 * libio/oldfreopen.c: New file.
1122 * libio/oldiofopen.c: New file.
1123 * libio/oldstdfiles.c: New file.
1125 * sysdeps/i386/fpu/bits/mathinline.h: Define fma optimization.
1127 * sysdeps/libm-i387/e_scalb.S: Make sure code gets into .text section.
1128 * sysdeps/libm-i387/e_scalbl.S: Likewise.
1129 * sysdeps/libm-i387/s_fma.S: Fix typo.
1130 * sysdeps/libm-i387/s_fmaf.S: Likewise.
1131 * sysdeps/libm-i387/s_fmal.S: Likewise.
1133 1997-10-12 20:14 Zack Weinberg <zack@rabi.phys.columbia.edu>
1135 * sysdeps/stub/getsid.c: Add a stub_warning.
1136 * sysdeps/stub/mmap.c: Likewise.
1137 * sysdeps/stub/munmap.c: Likewise.
1139 1997-10-12 05:09 Ulrich Drepper <drepper@cygnus.com>
1141 * libio/Makefile (routines): Remove iofprintf.
1142 * stdio-common/fprintf.c [USE_IN_LIBIO]: Define _IO_fprintf.
1143 * libio/filedoalloc.c: Use _G_stat64 instead of stat.
1144 * libio/fileops.c (_IO_file_open): Change to take extra argument
1145 indicating whether 32 or 64 bit mode is wanted.
1146 * libio/iofopen.c: Call _IO_file_open with extra argument set to 0.
1147 * libio/iofopen64.c: Call _IO_file_open with extra argument set to 0.
1148 * libio/iolibio.h (_IO_freopen, _IO_freopen64): Likewise.
1149 * libio/iofgetpos.c: Pretty print.
1150 * libio/iofgetpos64.c: Use _IO_fpos64_t for local variable `pos'.
1152 * manual/conf.texi: Document all the _SC_ and _CS_ constants.
1153 * manual/creature.texi: Document _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE
1154 and _FILE_OFFSET_BITS.
1155 * manual/llio.texi: Document truncate and ftruncate.
1156 * manual/stdio.texi: Document positional parameters for printf.
1158 * math/Makefile (headers): Add tgmath.h.
1159 (libm-support): Remove s_lrint, s_llrint, s_lround, and s_llround and
1161 (libm-calls): ... here. Add scalbln, s_nextafterx and s_fma.
1162 * math/libm-test.c (lround_test, llround_test): Test for all FP formats
1164 * math/libm.map: Add fma, fmaf, fmal, nextafterx, nextafterxf,
1165 nextafterxl, scalbln, scalblnf, scalblnl, lrintf, lrintl, llrintf,
1166 llrintl, lroundf, lroundl, llroundf, and llroundl.
1167 * math/math.h: Document new platform specific macros from mathdef.h.
1168 Remove declaration of lrint, llrint, lround, and llround.
1169 * math/test-double.c: Define TEST_DOUBLE.
1170 * math/test-idouble.c: Likewise.
1171 * math/test-float.c: Define TEST_FLOAT.
1172 * math/test-ifloat.c: Likewise.
1173 * math/tgmath.h: New file.
1174 * math/bits/mathcalls.h: Add nextafterx, scalbln, fma, lrint, llrint,
1175 lround, and llround.
1176 Change second argument of scalbn to `int'.
1177 * sysdeps/libm-ieee754/s_fma.c: New file.
1178 * sysdeps/libm-ieee754/s_fmaf.c: New file.
1179 * sysdeps/libm-ieee754/s_fmal.c: New file.
1180 * sysdeps/libm-i387/s_fma.S: New file.
1181 * sysdeps/libm-i387/s_fmaf.S: New file.
1182 * sysdeps/libm-i387/s_fmal.S: New file.
1183 * sysdeps/libm-i387/s_llrint.S: Change to take double argument.
1184 * sysdeps/libm-i387/s_lrint.S: Likewise.
1185 * sysdeps/libm-i387/s_llrintf.S: New file.
1186 * sysdeps/libm-i387/s_llrintl.S: New file.
1187 * sysdeps/libm-i387/s_lrintf.S: New file.
1188 * sysdeps/libm-i387/s_lrintl.S: New file.
1189 * sysdeps/libm-ieee754/s_llrint.c: Remove version which works on
1191 * sysdeps/libm-ieee754/s_lrint.c: Likewise.
1192 * sysdeps/libm-ieee754/s_llrintf.c: New file.
1193 * sysdeps/libm-ieee754/s_llrintl.c: New file.
1194 * sysdeps/libm-ieee754/s_lrintf.c: New file.
1195 * sysdeps/libm-ieee754/s_lrintl.c: New file.
1196 * sysdeps/libm-i387/s_scalbln.c: New file. Empty file.
1197 * sysdeps/libm-i387/s_scalblnf.c: New file. Empty file.
1198 * sysdeps/libm-i387/s_scalblnl.c: New file. Empty file.
1199 * sysdeps/libm-i387/s_scalbn.c: Add scalbln as alias.
1200 * sysdeps/libm-i387/s_scalbnf.c: Add scalblnf as alias.
1201 * sysdeps/libm-i387/s_scalbnl.c: Add scalblnl as alias.
1202 * sysdeps/libm-ieee754/s_llround.c: Remove version which works on
1204 * sysdeps/libm-ieee754/s_lround.c: Likewise.
1205 * sysdeps/libm-ieee754/s_llroundf.c: Likewise.
1206 * sysdeps/libm-ieee754/s_llroundl.c: Likewise.
1207 * sysdeps/libm-ieee754/s_lroundf.c: Likewise.
1208 * sysdeps/libm-ieee754/s_lroundl.c: Likewise.
1209 * sysdeps/libm-ieee754/s_nextafterl.c: Add alias fo nextafterxl.
1210 * sysdeps/libm-ieee754/s_nextafterx.c: New file.
1211 * sysdeps/libm-ieee754/s_nextafterxf.c: New file.
1212 * sysdeps/libm-ieee754/s_nextafterxl.c: New file.
1213 * sysdeps/libm-ieee754/s_scalbln.c: New file.
1214 * sysdeps/libm-ieee754/s_scalblnf.c: New file.
1215 * sysdeps/libm-ieee754/s_scalblnl.c: New file.
1216 * sysdeps/libm-ieee754/s_scalbn.c: Change to take `int' as second arg.
1217 * sysdeps/libm-ieee754/s_scalbnf.c: Likewise.
1218 * sysdeps/libm-ieee754/s_scalbnl.c: Likewise.
1220 * stdlib/stdlib.h: Protect declarations of __strto*l_internal functions
1221 by #ifdefs since they are duplicated in inttypes.h.
1222 * sysdeps/wordsize-32/inttypes.h: Add definition of strtoimax and
1223 strtoumax plus needed declarations.
1225 * sysdeps/generic/confname.h (_SC_AIO_LISTIO_MAX): Fix typo.
1227 1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1229 * locale/programs/locfile.c (locfile_read): Correct while loop.
1231 * db2/makedb.c (main): Add missing parameter for error output.
1232 (process_input): Likewise.
1234 * resolv/gethnamaddr.c (getanswer): Rewrite a bit to avoid warning.
1236 1997-10-12 05:05 Ulrich Drepper <drepper@cygnus.com>
1238 * libc-map: Add __bzero, __mempcpy.
1240 1997-10-10 18:51 David S. Miller <davem@tanya.rutgers.edu>
1242 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Remove dependencies
1245 1997-10-09 10:24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1247 Add the changes from the Solaris 2.6 header files, use the new public
1249 * nis/nis_addmember.c: Updated.
1250 * nis/nis_checkpoint.c: Updated.
1251 * nis/nis_creategroup.c: updated.
1252 * nis/nis_destroygroup.c: Updated.
1253 * nis/nis_getservlist.c: Updated.
1254 * nis/nis_ismember.c: Updated.
1255 * nis/nis_lookup.c: Updated.
1256 * nis/nis_modify.c: Updated.
1257 * nis/nis_ping.c: Updated.
1258 * nis/nis_print.c: Updated.
1259 * nis/nis_print_group_entry.c: Updated.
1260 * nis/nis_remove.c: Updated.
1261 * nis/nis_removemember.c: Updated.
1262 * nis/nis_xdr.c: Updated.
1263 * nis/nss_nisplus/nisplus-alias.c: Updated.
1264 * nis/nss_nisplus/nisplus-ethers.c: Updated.
1265 * nis/nss_nisplus/nisplus-hosts.c: Updated.
1266 * nis/nss_nisplus/nisplus-network.c: Updated.
1267 * nis/nss_nisplus/nisplus-parser.c: Updated.
1268 * nis/nss_nisplus/nisplus-proto.c: Updated.
1269 * nis/nss_nisplus/nisplus-rpc.c: Updated.
1270 * nis/nss_nisplus/nisplus-service.c: Updated.
1271 * nis/rpcsvc/nis.h: Updated.
1272 * nis/rpcsvc/nis.x: Updated.
1273 * nis/rpcsvc/nis_object.x: Updated.
1274 * nis/rpcsvc/nis_tags.h: Updated.
1275 * nis/rpcsvc/nislib.h: Updated.
1277 * nis/lckcache.c: Removed, since Sun has dropped the directory
1278 signatures. The old cache version is now a security risk and not
1279 longer supported by Sun.
1280 * nis/nis_cache.c: Likewise.
1281 * nis/rpcsvc/nis_cache.h: Likewise.
1282 * nis/rpcsvc/nis_cache.x: Likewise.
1284 * nis/nis_call.c: Remove calls to the cache functions.
1286 * nis/libnsl.map: Remove cache and depending functions.
1287 * nis/nis_intern.h: Likewise.
1289 * nis/nis_add.c: Remove #include <rpcsvc/nislib.h>.
1290 * nis/nis_domain_of.c: Likewise.
1291 * nis/nis_domain_of_r.c: Likewise.
1292 * nis/nis_error.c: Likewise.
1293 * nis/nis_file.c: Likewise.
1294 * nis/nis_local_names.c: Likewise.
1295 * nis/nis_mkdir.c: Likewise.
1296 * nis/nis_rmdir.c: Likewise.
1297 * nis/nis_subr.c: Likewise.
1298 * nis/nis_verifygroup.c: Likewise.
1300 * nis/nis_clone.c: Removed, replaced by ...
1301 * nis/nis_clone_dir.c: New.
1302 * nis/nis_clone_obj.c: New.
1303 * nis/nis_clone_res.c: New.
1304 * nis/nis_table.c: Fixed bugs shown through the new clone functions.
1306 * nis/nis_defaults.c: Fixed a lot of race conditions.
1308 * nis/nis_free.c: Rewritten.
1310 * sunrpc/auth_des.c: Fix use of free'ed pointer.
1312 * nis/Makefile (libnsl-routines): Remove nis_clone, nis_cache and
1313 lckcache. Add nis_clone_dir, nis_clone_obj, and nis_clone_res.
1315 1997-10-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1317 * wctype/test_wctype.c (TEST): Add parens to avoid ambiguity.
1319 1997-10-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1321 * include/features.h: Don't crash if _XOPEN_SOURCE is defined to
1324 1997-10-09 05:54 Ulrich Drepper <drepper@cygnus.com>
1326 * nss/digits_dots.c: Place `result' in resbuf and not in `buffer'.
1327 * nss/getXXbyYY_r.c: Make sure digits_dots.c sees `resbuf' as
1328 struct and not a pointer. Little optimizations.
1330 1997-10-09 05:00 Ulrich Drepper <drepper@cygnus.com>
1332 * sysdeps/stub/getenv.c: Remove unused file.
1333 * sysdeps/stub/lxstat.c: Likewise.
1334 * sysdeps/stub/morecore.c: Likewise.
1335 * sysdeps/stub/putenv.c: Likewise.
1336 * sysdeps/stub/sbrk.c: Likewise.
1337 * sysdeps/stub/setenv.c: Likewise.
1338 * sysdeps/stub/sysd-stdio.c: Likewise.
1339 * sysdeps/stub/sysdep.h: Likewise.
1340 Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1342 1997-10-09 04:58 Ulrich Drepper <drepper@cygnus.com>
1344 * configure.in: Add __bzero definition to DWARF2 unwind test.
1345 Reported by David S. Miller <davem@caip.rutgers.edu>.
1347 1997-10-07 Paul Eggert <eggert@twinsun.com>
1349 * intl/loadmsgcat.c (_nl_load_domain):
1350 Fix &&/|| typo when checking file size.
1351 Check for overflow when stuffing off_t into size_t.
1353 1997-10-07 18:11 Ulrich Drepper <drepper@cygnus.com>
1355 * time/africa: Update from tzdata1997i.
1357 1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1359 * posix/globtest.sh: Add arguments for name of dynamic linker and
1360 call dynamic linker to execute globtest.
1362 * posix/Makefile (tests): Supply arguments to globtest.sh.
1364 1997-10-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1366 * nis/rpcsvc/ypupd.h: Add missing __END_DECLS.
1368 1997-10-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1370 * libc.map: Add mempcpy, prctl.
1372 1997-09-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1374 * sysdeps/generic/memcmp.c: Avoid warnings.
1375 * sysdeps/generic/memset.c: Likewise.
1376 * sysdeps/generic/strchr.c: Likewise.
1377 * sysdeps/generic/strlen.c: Likewise.
1379 1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1381 * malloc/Makefile ($(objpfx)mtrace): Fix typo.
1383 1997-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1385 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix last change.
1386 The R_68K_GLOB_DAT and R_68K_JMP_SLOT relocations really ignore
1387 the addend, Richard.
1388 (elf_machine_fixup_plt): Don't add the addend.
1389 (elf_machine_plt_value): New function.
1391 * sysdeps/alpha/dl-machine.h (elf_machine_plt_value): New
1393 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_plt_value): New
1395 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_plt_value): New
1397 * sysdeps/powerpc/dl-machine.h (elf_machine_plt_value): New
1399 * sysdeps/i386/dl-machine.h (elf_machine_plt_value): New
1402 * elf/dl-runtime.c (fixup, profile_fixup): Don't add in the
1403 addend, instead let the machine dependent setup decide.
1405 1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1407 * sysdeps/m68k/m68020/bits/string.h: New file.
1409 1997-10-07 04:27 Richard Henderson <rth@cygnus.com>
1411 * Makeconfig (+includes): Add -I$(objpfx).
1413 * stdlib/longlong.h [__sparc__]: Prototype __udiv_qrnnd.
1415 * sysdeps/alpha/setjmp.S: __setjmp is the same as _setjmp. Make
1416 the former a strong symbol and the later a weak alias.
1417 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1418 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1420 1997-10-06 21:01 David S. Miller <davem@tanya.rutgers.edu>
1422 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Make ino_t
1424 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Make st_ino
1425 member 64-bits as well, to match the kernel.
1427 1997-10-06 19:35 Ulrich Drepper <drepper@cygnus.com>
1429 * sysdeps/sparc/sparc64/sub_n.S: Fix typo.
1430 Patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1432 1997-10-06 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
1434 * time/README: Correct list of files from tzcode package. Add
1435 contact information for tzcode/tzdata maintainers. Correct
1436 spelling of author's name. Compact lists.
1438 1997-10-06 01:48 Ulrich Drepper <drepper@cygnus.com>
1440 * malloc/malloc.h: Remove hook definition without caller argument.
1441 * malloc/malloc.c: Likewise.
1443 * string/tester.c: Correct strsep test.
1445 * string/bits/string2.h: Define __string2_1bptr_p and use it.
1446 Patch by David S. Miller <davem@tanya.rutgers.edu>.
1448 * math/Makefile (routines): Add s_clog10.
1449 * math/libm-test.c: Add test for clog10.
1450 * math/libm.map: Add clog10{,f,l}.
1451 * math/bits/cmathcalls.h [__USE_GNU]: Add clog10.
1452 * sysdeps/libm-ieee754/s_clog10.c: New file.
1453 * sysdeps/libm-ieee754/s_clog10f.c: New file.
1454 * sysdeps/libm-ieee754/s_clog10l.c: New file.
1455 * manual/math.texi: Describe clog10.
1457 * config.h.in: Add USE_REGPARMS and define internal_function based on
1459 * configure.in: Define USE_REGPARMS for ix86 machines.
1460 * gmon/gmon.c: Mark write_hist, write_call_graph and write_bb_counts
1461 as internal functions.
1462 * inet/getnameinfo.c: Likewise for nrl_domainname.
1463 * inet/getnetgrent_r.c: Likewise for __internal_setnetgrent_reuse.
1464 * inet/rcmd.c: Likewise for __icheckhost.
1465 * intl/dcgettext.c: Likewise for category_to_name and
1466 guess_category_value.
1467 * intl/localealias.c: Likewise for read_alias_file.
1468 * io/fts.c: Likewise for fts_alloc, fts_build, fts_lfree,
1469 fts_maxarglen, fts_padjust, fts_palloc, fts_sort, and fts_stat.
1470 * libio/genops.c: Likewise for save_for_backup.
1471 * malloc/malloc.c (chunk_free, chunk_alloc, chunk_realloc, chunk_align,
1472 main_trim, heap_trim): Likewise.
1473 * malloc/mtrace.c (tr_where): Likewise.
1474 * misc/fstab.c (mnt2fs): Likewise.
1475 * misc/getttyent.c (skip, value): Likewise.
1476 * misc/syslog.c (openlog_internal): Likewise.
1477 * misc/tsearch.c (trecurse, tdestroy_internal): Likewise.
1478 * nss/nsswitch.c (nss_lookup_function, nss_parse_file, nss_getline,
1479 nss_parse_service_list, nss_new_service): Likewise.
1480 * posix/wordexp.c (parse_dollars, parse_backtick, eval_expr): Likewise.
1481 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
1482 * resolv/inet_pton.c (inet_pton4, inet_pton6): Likewise.
1483 * resolv/res_init.c (res_setoptions): Likewise.
1484 * stdio-common/printf_fp.c (group_number): Likewise.
1485 * stdio-common/vfprintf.c (buffered_vfprintf, group_number): Likewise.
1486 * stdlib/fmtmsg.c (internal_addseverity): Likewise.
1487 * sunrpc/auth_des.c (synchronize): Likewise.
1488 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
1489 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
1490 * sunrpc/key_call.c (key_call): Likewise.
1491 * sunprc/pmap_rmt.c (getbroadcastnets): Likewise.
1492 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
1493 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref, invalidate):
1495 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out,
1496 set_input_fragment, get_input_bytes): Likewise.
1497 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path,
1498 phys_pages_info): Likewise.
1499 * sysdeps/unix/sysv/linux/if_index.c (opensock): Likewise.
1500 * sysdeps/unix/sysv/linux/poll.c (__emulate_poll): Likewise.
1501 * sysdeps/unix/sysv/linux/readv.c (__atomic_readv_replacement):
1503 * sysdeps/unix/sysv/linux/readv.c (__atomic_writev_replacement):
1505 * time/strptime.c (strptime_internal): Likewise.
1506 * time/tzfile.c (find_transition, compute_tzname_max): Likewise.
1507 * time/tzset.c (compute_change, tz_compute, tzset_internal): Likewise.
1509 * libc.map: Remove _libio_using_thunks, add _fp_hw and _dl_addr.
1511 * ctype/ctype.h: Pretty print.
1512 * grp/grp.h: Likewise.
1513 * include/libc-symbols.h: Likewise.
1514 * include/limits.h: Likewise.
1515 * include/values.h: Likewise.
1516 * io/fcntl.h: Likewise.
1517 * io/sys/stat.h: Likewise.
1518 * libio/stdio.h: Likewise.
1519 * malloc/malloc.h: Likewise.
1520 * misc/err.h: Likewise.
1521 * misc/regexp.h: Likewise.
1522 * misc/sys/cdefs.h: Likewise.
1523 * misc/sys/file.h: Likewise.
1524 * posix/sys/utsname.h: Likewise.
1525 * posix/sys/wait.h: Likewise.
1526 * pwd/pwd.h: Likewise.
1527 * resolv/netdb.h: Likewise.
1528 * signal/signal.h: Likewise.
1529 * stdlib/stdlib.h: Likewise.
1530 * string/endian.h: Likewise.
1531 * string/memory.h: Likewise.
1532 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
1533 * sysdeps/mach/hurd/sys/param.h: Likewise.
1534 * sysdeps/unix/sysv/linux/sys/param.h: Likewise.
1535 * termios/termios.h: Likewise.
1536 * wcsmbs/wchar.h: Likewise.
1537 * wctype/wctype.h: Likewise.
1539 * sysdeps/unix/bsd/bsd4.4/wait3.c: Use __WAIT_STATUS in definition.
1541 Implement Large File Support API.
1542 * include/features.h: Add suuport for _LARGEFILE_SOURCE,
1543 _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS.
1544 * libc.map: Add new functions for LFS.
1545 * dirent/Makefile (routines): Add readdir64 and readdir64_r.
1546 * dirent/dirent.h: Update readdir prototype for LFS and add new
1547 prototypes for above functions.
1548 * io/Makefile (routines): Add xstat64, fxstat64, lxstat64,
1549 statfs64, fstatfs64, lstat64, open64, lseek64, creat64, and ftw64.
1550 * io/creat64.c: New file.
1551 * io/fstat64.c: New file.
1552 * io/lstat64.c: New file.
1553 * io/stat64.c: New file.
1554 * io/ftw64.c: New file.
1555 * io/ftw.c: Rewrite to allow easy definition of ftw64.
1556 * io/ftw.h: Add LFS interface.
1557 * io/fcntl.h: Likewise.
1558 * io/sys/stat.h: Likewise.
1559 * io/sys/statfs.h: Likewise.
1560 * libio/Makefile (routines): Add iofgetpos64, iofopen64, iofsetpos64,
1561 freopen64, fseeko64, and ftello64.
1562 * libcio/fseeko64.c: New file.
1563 * libio/ftello64.c: New file.
1564 * libio/iofgetpos64.c: New file.
1565 * libio/iofopen64.c: New file.
1566 * libio/iofsetpos64.c: New file.
1567 * libio/fileops.c (_IO_file_fopen): Change to use _IO_off64_t.
1568 (_IO_file_attach): Likewise.
1569 (_IO_do_write): Likewise.
1570 (_IO_file_sync): Likewise.
1571 (_IO_file_seek): Likewise.
1572 (_IO_file_seekoff): Likewise. Use _G_stat64.
1573 (_IO_file_fopen64): New function.
1574 (_IO_file_jumps): Initialize showmanyc and imbue.
1575 * libio/genops.c (_IO_default_seekpos): Change to use _IO_fpos64_t.
1576 (_IO_default_seekoff): Likewise.
1577 (_IO_default_seek): Likewise.
1578 (_IO_default_showmanyc, _IO_default_imbue): New functions.
1579 * libio/iofopncook.c (_IO_cookie_seek): Change to use _IO_off64_t.
1580 * libio/iolibio.h: Add prototypes for LFS functions.
1581 * libio/ioseekoff.c: Change to use _IO_fpos64_t.
1582 * libio/ioseekpos.c: Likewise.
1583 * libio/libio.h: Define _IO_fpos64_t and _IO_off64_t.
1584 (_IO_FILE): Move _offset field to end and change type to _IO_off64_t.
1585 (_IO_seekoff, _IO_seekpos): Change prototype.
1586 * libio/libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Change
1588 Change prototypes for function from the *ops.c files.
1589 * libio/stdio.h: Add LFS interface definition.
1590 * libio/strops.c (_IO_str_seekoff): Change to use _IO_fpos64_t.
1591 * posix/Makefile (routines): Add pread64 and pwrite64.
1592 * posix/confstr.c: Handle _CS_LFS* requests.
1593 * posix/getconf.c: Handle LFS* requests.
1594 * sysdeps/generic/confname.h: Add _CS_LFS* constants.
1595 * posix/unistd.h: Document _LFS64_LARGEFILE and _LFS64_STDIO.
1596 Define off_t and off64_t appropriately. Change prototypes of
1598 * posix/sys/types.h: Add LFS types.
1599 * resources/Makefile (routines): Add getrlimit64 and setlimit64.
1600 * resource/sys/resource.h: Change prototypes of LFS functions.
1601 * stdio-common/Makefile (routines): Add tmpfile64.
1602 * stdio-common/tmpfile64.c: New file.
1603 * sysdeps/generic/_G_config.h: Define _G_fpos64_t and _G_off64_t.
1604 Define _G_OPEN64, _G_LSEEK64, _G_FSTAT64.
1605 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1606 * sysdeps/generic/bits/resource.h: Add LFS definitions.
1607 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
1608 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1609 * sysdeps/generic/statfs.h: Use __fsblkcnt_t for some of the fields.
1610 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
1611 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
1612 * sysdeps/generic/types.h: Define LFS types.
1613 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1614 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1615 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1616 * sysdeps/generic/sys/mman.h: Add LFS definitions.
1617 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1618 * sysdeps/generic/mach/hurd/bits/fcntl.h: Add flock LFS extensions.
1619 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1620 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
1621 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1622 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1623 * sysdeps/generic/mach/hurd/bits/stat.h: Add stat LFS extensions.
1624 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1625 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1626 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1627 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1628 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1629 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1630 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
1631 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1632 * sysdeps/posix/open64.c: New file.
1633 * sysdeps/stub/fstatfs64.c: New file.
1634 * sysdeps/stub/fxstat64.c: New file.
1635 * sysdeps/stub/getrlimit64.c: New file.
1636 * sysdeps/stub/lseek64.c: New file.
1637 * sysdeps/stub/lxstat64.c: New file.
1638 * sysdeps/stub/open64.c: New file.
1639 * sysdeps/stub/pread64.c: New file.
1640 * sysdeps/stub/pwrite64.c: New file.
1641 * sysdeps/stub/readdir64.c: New file.
1642 * sysdeps/stub/readdir64_r.c: New file.
1643 * sysdeps/stub/setrlimit64.c: New file.
1644 * sysdeps/stub/statfs64.c: New file.
1645 * sysdeps/stub/xstat64.c: New file.
1646 * sysdeps/unix/sysv/linux/llseek.c: Define as __llseek and make
1647 llseek and lseek64 weak aliases.
1648 * sysdeps/unix/sysv/linux/lseek64.c: New file. Empty.
1649 * sysdeps/unix/sysv/linux/alpha/bits/dirent.h: New file.
1650 * sysdeps/unix/sysv/linux/bits/dirent.h: Add LFS definitions.
1652 * sysdeps/posix/tempname.c: Add extra argument to trigger use of
1654 * sysdeps/stub/tempname.c: Likewise.
1655 * stdio-common/tempnam.c: Call __stdio_gen_tempname with extra
1657 * stdio-common/tmpfile.c: Likewise.
1658 * stdio-common/tmpnam.c: Likewise.
1659 * stdio-common/tmpnam_r.c: Likewise.
1661 * libio/libioP.h: Add definition ofr showmanyc and imbue callbacks.
1662 * libio/fileops.c (_IO_file_jumps): Initialize showmanyc and imbue.
1663 * libio/iofopncook.c (_IO_cookie_jumps): Likewise.
1664 * libio/iopopen.c (_IO_proc_jumps): Likewise.
1665 * libio/memstream.c (_IO_mem_jumps): Likewise.
1666 * libio/obprintf.c (_IO_obstack_jumps): Likewise.
1667 * libio/vsnprintf.c (_IO_strn_jumps): Likewise.
1668 * libio/strops.c (_IO_str_jumps): Likewise.
1670 * manual/arith.texi: Add a few words why cabs should be used.
1671 * manual/llio.texi: Describe sync, fsync, fdatasync.
1672 Tell about cleanup handlers & fcntl,lseek,write,read,close,open.
1673 * manual/process.texi: Tell about cleanup handlers & system,waitpid,
1675 * manual/signal.texi: Likewise for pause.
1676 * manual/terminal.texi: Likewise for tcdrain.
1677 * manual/time.texi: Document nanosleep.
1679 * posix/exevp.c: Don't use nested function.
1681 * stdlib/ucontext.h: New file.
1682 * sysdeps/i386/sys/ucontext.h: New file. SysV/i386 API definitions.
1684 * sunrpc/xcrypt.c (hexval): Make a macro for efficiency.
1686 * sysdeps/i386/setjmp.h: Make `here` label local.
1688 * sysdeps/i386/elf/start.S: Define _fp_hw "variable".
1690 * sysdeps/stub/fstatfs.c: Correct warning.
1691 * sysdeps/stub/fxstat.c: Likewise.
1692 * sysdeps/stub/lxstat.c: Likewise.
1694 * sysdeps/unix/sysv/i386/i686/time.S: New file.
1696 1997-10-03 20:56 Jason Merrill <jason@yorick.cygnus.com>
1698 * malloc/obstack.h (obstack_empty_p): New macro.
1700 1997-10-04 17:41 Philip Blundell <Philip.Blundell@pobox.com>
1702 * inet/getnameinfo.c (getnameinfo): Remove spurious `#if INET6'.
1704 1997-09-30 Zack Weinberg <zack@rabi.phys.columbia.edu>
1706 * maint.texi: Add copyright terms for libdb (Sleepycat, Harvard).
1707 Document new --with-binutils switch; delete reference to
1708 --with-gnu-as, --with-gnu-ld, --with-gnu-binutils.
1709 Add to description of --without-fp: a kernel FPU emulator
1710 is adequate (from FAQ)
1711 * INSTALL: Regenerated.
1713 1997-09-30 17:29 Richard Henderson <rth@cygnus.com>
1715 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Move
1716 _dl_hwcap declaration to ...
1717 (elf_machine_fixup_plt): ... here.
1719 1997-09-30 18:03 Ulrich Drepper <drepper@cygnus.com>
1721 * Makerules: Undo last change.
1722 * csu/Makefile: Define before-compile at the right place.
1724 * aclocal.m4: Remove a.out file created by assembler test.
1726 * set-init.c: Find set-hooks.h using <...>.
1728 Update to db 2.3.10.
1729 * db2/Makefile: Update.
1730 * db2/db.h: Likewise.
1731 * db2/db_185.h: Likewise.
1732 * db2/db_int.h: Likewise.
1733 * db2/btree/bt_close.c: Likewise.
1734 * db2/btree/bt_conv.c: Likewise.
1735 * db2/btree/bt_cursor.c: Likewise.
1736 * db2/btree/bt_put.c: Likewise.
1737 * db2/btree/bt_rec.c: Likewise.
1738 * db2/btree/bt_recno.c: Likewise.
1739 * db2/btree/btree.src: Likewise.
1740 * db2/btree/btree_auto.c: Likewise.
1741 * db2/clib/getlong.c: Likewise.
1742 * db2/db/db.c: Likewise.
1743 * db2/db/db_auto.c: Likewise.
1744 * db2/db/db_conv.c: Likewise.
1745 * db2/db/db_pr.c: Likewise.
1746 * db2/db/db_ret.c: Likewise.
1747 * db2/db/db_thread.c: Likewise.
1748 * db2/hash/hash.c: Likewise.
1749 * db2/hash/hash_auto.c: Likewise.
1750 * db2/hash/hash_conv.c: Likewise.
1751 * db2/hash/hash_dup.c: Likewise.
1752 * db2/hash/hash_func.c: Likewise.
1753 * db2/hash/hash_page.c: Likewise.
1754 * db2/hash/hash_rec.c: Likewise.
1755 * db2/include/btree.h: Likewise.
1756 * db2/include/btree_ext.h: Likewise.
1757 * db2/include/db.h.src: Likewise.
1758 * db2/include/db_185.h.src: Likewise.
1759 * db2/include/db_cxx.h: Likewise.
1760 * db2/include/db_ext.h: Likewise.
1761 * db2/include/db_int.h.src: Likewise.
1762 * db2/include/db_page.h: Likewise.
1763 * db2/include/db_shash.h: Likewise.
1764 * db2/include/lock.h: Likewise.
1765 * db2/include/log.h: Likewise.
1766 * db2/include/log_ext.h: Likewise.
1767 * db2/include/mp.h: Likewise.
1768 * db2/include/shqueue.h: Likewise.
1769 * db2/include/txn.h: Likewise.
1770 * db2/lock/lock.c: Likewise.
1771 * db2/lock/lock_deadlock.c: Likewise.
1772 * db2/log/log.c: Likewise.
1773 * db2/log/log_archive.c: Likewise.
1774 * db2/log/log_auto.c: Likewise.
1775 * db2/log/log_get.c: Likewise.
1776 * db2/log/log_put.c: Likewise.
1777 * db2/log/log_register.c: Likewise.
1778 * db2/mp/mp_bh.c: Likewise.
1779 * db2/mp/mp_fget.c: Likewise.
1780 * db2/mp/mp_fopen.c: Likewise.
1781 * db2/mp/mp_fput.c: Likewise.
1782 * db2/mp/mp_fset.c: Likewise.
1783 * db2/mp/mp_open.c: Likewise.
1784 * db2/mutex/mutex.c: Likewise.
1785 * db2/os/db_os_dir.c: Likewise.
1786 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1787 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1788 * db2/progs/db_dump185/db_dump185.c: Likewise.
1789 * db2/progs/db_load/db_load.c: Likewise.
1790 * db2/progs/db_recover/db_recover.c: Likewise.
1791 * db2/txn/txn.c: Likewise.
1792 * db2/txn/txn_auto.c: Likewise.
1794 * elf/link.h: Define struct libname_list outside struct link_map
1795 to not confuse C++ compilers.
1797 * include/features.h: Recognize _XOPEN_SOURCE == 500 and set
1799 * manual/creature.texi: Explain this.
1801 * libc.map: Add new functions.
1803 * libio/Makefile (routines): Add fseeko and ftello.
1804 * libio/ftello.c: New file.
1805 * libio/fseeko.c: New file.
1806 * libio/stdio.h: Add prototypes for new functions.
1807 * manual/stdio.texi: Document fseeko and ftello.
1809 * posix/Makefile (routines): Add pread and pwrite.
1810 * sysdeps/posix/pread.c: New file.
1811 * sysdeps/posix/pwrite.c: New file.
1812 * sysdeps/stub/pread.c: New file.
1813 * sysdeps/stub/pwrite.c: New file.
1814 * posix/unistd.h: Add prototypes for pread and pwrite.
1815 Pretty print header.
1816 Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
1817 Declare ctermid and cuserid if __USE_UNIX98.
1818 (swab): Change to take void * arguments.
1819 * string/swab.c: Change parameter to void *.
1820 * posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
1822 * manual/llio.texi: Document pread and pwrite.
1824 * string/strings.h: Don't simply include string.h. Define BSD
1825 functions according to Unix98.
1826 * stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
1827 * sunrpc/clnt_simp.c: Likewise.
1829 * malloc/Makefile (aux): Add set-freeres.
1830 * malloc/mtrace.c: Define function release_libc_mem which calls the
1831 __libc_subfreeres handler.
1832 (mtrace): Register release_libc_mem.
1833 * malloc/set-freeres.c: New file.
1835 * intl/dcgettext.c: Define free_mem function and add to
1836 __libc_subfreeres list.
1837 * intl/finddomain.c: Likewise.
1838 * intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
1839 and mmap_size. Add prototype for _nl_unloaded_domain.
1840 * intl/loadmsgcat.c: Define new function _nl_unload_domain.
1841 (_nl_load_domain): Store informaiton about mmap use and file size.
1842 * intl/localealias.c (read_alias_file): Optimize locale alias file
1843 reading by avoid frequen mallocs.
1844 Define free_mem function and add to __libc_subfreeres list.
1846 * locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
1848 Add prototype for _nl_unload_locale.
1849 * locale/C-collate: Mark data as undeletable by using UNDELETABLE.
1850 * locale/C-ctype: Likewise.
1851 * locale/C-messages: Likewise.
1852 * locale/C-monetary: Likewise.
1853 * locale/C-numeric: Likewise.
1854 * locale/C-time: Likewise.
1855 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
1856 MAX_USAGE_COUNT and UNDELETABLE.
1857 (free_mem): New function. Add it to __libc_subfreeres list.
1858 * locale/loadlocale.c: Define _nl_unload_locale function.
1860 * misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
1862 * stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
1864 Define free_mem function and add to __libc_subfreeres list.
1866 * locale/programs/localedef.c (options): short form os verbose is v.
1867 Reported by Andreas Jaeger.
1869 * misc/sys/select.h: Define pselect only is __USE_POSIX since this
1870 header is used in some others as well for historical reasons.
1872 * resolv/resolv.h: Include <netinet/in.h> to make self-contained.
1874 * string/bits/string2.h: Add missing braces and optimize strcmp a
1876 * sysdeps/i386/i486/bits/string.h: Likewise.
1878 * sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
1881 * sysdeps/mach/hurd/cthreads.c: Add copyright text.
1883 * sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
1885 * sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
1887 * time/time.h: Pretty print.
1889 1997-09-29 Paul Eggert <eggert@twinsun.com>
1891 * time/strftime.c: Synchronize with GNU Emacs strftime.c.
1892 (HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
1893 (gmtime_r, localtime_r): Undef before defining.
1894 (iso_week_days): Use __inline__, not inline.
1896 1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1898 * sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
1899 __ieee754_exp2{,l,f}.
1900 * sysdeps/m68k/fpu/s_exp2.c: Likewise.
1901 * sysdeps/m68k/fpu/s_exp2l.c: Likewise.
1902 * sysdeps/m68k/fpu/s_exp2f.c: Likewise.
1904 1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1906 * elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
1907 section read-only, it contains relocations.
1908 * elf/sofini.c (__FRAME_END__): Likewise.
1910 1997-09-29 03:08 Ulrich Drepper <drepper@cygnus.com>
1912 * sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
1913 __strpbrk_cg, __strstr_cg): Optimize even more. No spill register
1914 needed. Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1916 1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1918 * nis/nis_call.c (__do_niscall2): Fix return code, add missing
1919 break in switch case.
1921 * nis/nis_mkdir.c: Fix return codes to match Solaris version.
1922 * nis/nis_rmdir.c: Likewise.
1924 * nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
1927 1997-09-28 04:32 Ulrich Drepper <drepper@cygnus.com>
1929 * configure.in: Fix typo.
1930 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1932 1997-09-25 20:14 Philip Blundell <Philip.Blundell@pobox.com>
1934 * sysdeps/unix/sysv/linux/scsi/sg.h: New file.
1935 * sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
1937 1997-09-27 01:14 Ulrich Drepper <drepper@cygnus.com>
1939 * Makeconfig (extra-objs): Depend in before-compile.
1941 * configure.in: Locate Perl and substitute with complete path.
1942 * config.make.in: Add PERL for substitution.
1943 * elf/Makefile (routines): Add dl-addr.
1944 * elf/dladdr.c: Move the real code into ...
1945 * elf/dl-addr.c: New file.
1946 * elf/link.h: Add prototype for _dl_addr.
1948 * elf/dladdr.c (dladdr): Change address argument to be const.
1949 * elf/dlfcn.h: Likewise.
1951 * locale/C_name.c: Add _nl_POSIX_name.
1952 * locale/localeinfo.h: Add declaration of _nl_POSIX_name.
1953 * locale/findlocale.c (_nl_find_locale): Use _nl_POSIX_name.
1954 (_nl_remove_locale): Free name of data set.
1955 * locale/setlocale.c (clever_copy): Remove.
1956 (new_composite_name): Use _nl_C_name and _nl_POSIX_name in compare.
1957 (setname): Only remove old name when it is for category LC_ALL.
1959 Change malloc, free, realloc, and memalign hooks for glibc to take
1960 another parameter indicating the location of the caller.
1961 * malloc/malloc.c: Change hook functions and variables.
1962 * malloc/malloc.h: Likewise.
1963 * malloc/mcheck.c: Likewise. Make sure later hooked function also
1964 get the original caller address.
1965 * malloc/mtrace.c: Likewise.
1966 (tr_where): If no information in _mtrace_file is given use the
1967 information about the caller.
1968 * malloc/Makefile (distribute): Replace mtrace.awk by mtrace.pl.
1969 Add rules to install mtrace.pl after rewriting.
1970 * malloc/mtrace.pl: New file. Based on the old AWK script but
1971 with extended functionality.
1972 * malloc/mtrace.awk: Removed.
1974 * po/fr.po: New version.
1976 * string/Makefile: Do use builtins for tester.c and inl-tester.c.
1977 * string/tester.c: Rewrite. Split in many small functions to not
1978 exceed gcc's limits.
1980 * sysdeps/unix/sysv/linux/syscalls.list: Add prctl.
1982 1997-09-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1984 * string/bits/string2.h (__stpcpy_small): Don't use casts as
1987 1997-09-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1989 * manual/time.texi (Formatting Date and Time): Clarify
1990 explanation of strftime flags a bit.
1991 Suggested by Robert Bihlmeyer <robbe@orcus.priv.at>.
1993 1997-09-25 00:13 David S. Miller <davem@tanya.rutgers.edu>
1995 * sysdeps/libm-ieee754/s_exp2f.c: Protect _GNU_SOURCE definition.
1996 Fix typo, it is FLT_MANT_DIG.
1998 1997-09-24 18:52 H.J. Lu <hjl@gnu.ai.mit.edu>
2000 * math/atest-exp2.c: Include <stdlib/gmp.h> instead of <gmp.h>.
2002 1997-08-27 08:10 H.J. Lu <hjl@gnu.ai.mit.edu>
2004 * libio/libio.h, libio/libioP.h: Support libio in libstdc++.
2006 * libio/libio.h (_IO_peekc): Defined as _IO_peekc_unlocked if
2007 _IO_MTSAFE_IO is undefined.
2009 1997-09-24 23:27 Richard Henderson <rth@cygnus.com>
2011 * elf/dl-runtime.c (fixup): Don't go through elf_machine_relplt, but
2012 lookup the value of the target symbol ourselves and call the new
2013 elf_machine_fixup_plt. This kills the ELF_FIXUP_RETURN_VALUE hack.
2014 (profile_fixup): Likewise, but don't fix up the plt.
2015 * elf/rtld.c (_dl_main): ELF_MACHINE_RELOC_NOPLT renamed _JMP_SLOT.
2016 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RELOC_NOPLT): Renamed.
2017 (elf_alpha_fix_plt): Renamed elf_machine_fixup_plt.
2018 * sysdeps/i386/dl-machine.h (elf_machine_relplt): Killed.
2019 (ELF_MACHINE_JMP_SLOT): Renamed.
2020 (elf_machine_fixup_plt): New function.
2021 * sysdeps/m68k/dl-machine.h: Likewise.
2022 * sysdeps/powerpc/dl-machine.h: Likewise.
2023 (elf_machine_rela): Moved JMP_SLOT fixup out to elf_machine_fixup_plt.
2024 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2025 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2026 * sysdeps/stub/dl-machine.h: Update, sorta.
2028 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Do profiling.
2029 (TRAMPOLINE_TEMPLATE): From the carcas of _RUNTIME_TRAMPOLINE, do
2030 both normal and profile code.
2031 (elf_machine_rela): Handle r_addend for .got and .plt too.
2033 1997-09-25 00:23 Ulrich Drepper <drepper@cygnus.com>
2035 * elf/dl-profile.c: Correct implementation.
2037 * io/ftwtest-sh: Don't depend on TMPDIR == /tmp.
2039 * locale/setlocale.c: Rewrite a bit for more clarity.
2041 * math/Makefile (libm-calls): Add w_exp2.
2042 * math/math_private.h: Add prototypes for __ieee754_exp2{,f,l}.
2043 * sysdeps/libm-i387/s_exp2.S: Change name to __ieee754_exp2.
2044 * sysdeps/libm-i387/s_exp2f.S: Likewise.
2045 * sysdeps/libm-i387/s_exp2l.S: Likewise.
2046 * sysdeps/libm-ieee754/k_standard.c: Add error cases for exp2.
2048 * string/bits/string2.h (__strcpy_small): Optimize.
2049 (__stpcpy_small): Likewise.
2050 (strncpy): Use variable for dest argument since it's used more than
2052 (strncat): Likewise.
2053 (strcmp): Add optimization for this function.
2054 * sysdeps/i386/i486/string.h (strlen): Correctly use __builtin_strlen.
2055 (__strcpy_small): Optimize.
2056 (__stpcpy_small): Likewise.
2057 (__stpcpy_c): Correctly use __mempcpy_* macros.
2058 (__mempcpy_by2, __mempcpy_by4, __mempcpy_byn): Return pointer to
2059 byte following last copied.
2060 (strncat): Use variable for dest argument since it's used more than
2062 (strcmp): Add optimization for this function.
2064 * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use
2065 .text and .previous to select correct section.
2067 1997-09-23 19:56 Philip Blundell <Philip.Blundell@pobox.com>
2069 * configure.in: Add `--disable-versioning' option to suppress the
2070 use of symbol versions even if binutils claims to support it.
2072 1997-09-24 20:10 Philip Blundell <Philip.Blundell@pobox.com>
2074 * csu/Makefile (before-compile): Don't try to build abi-tags.h if
2077 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2079 * elf/sofini.c [HAVE_DWARF2_UNWIND_INFO]: Supply termination for
2080 the frame unwind info section.
2082 * elf/soinit.c [HAVE_DWARF2_UNWIND_INFO]: Register and unregister
2083 the frame unwind info.
2085 * config.h.in (HAVE_DWARF2_UNWIND_INFO): Add #undef.
2087 * configure.in: Check whether gcc supports DWARF2 unwind info.
2089 * libc.map: Export frame handling tables.
2091 1997-09-10 06:56 Geoff Keating <geoffk@ozemail.com.au>
2093 * sysdeps/unix/sysv/linux/powerpc/bits/kernel_termios.h:
2094 Use the size of the kernel's termios structure for ioctls.
2096 * sysdeps/powerpc/dl-machine.h: Prepare for library profiling.
2098 * sysdeps/powerpc/bits/mathinline.h: Add slightly slower versions
2099 of the C9X FP comparison macros. Delete 'fabs' and 'sqrt' inline
2100 routines, because gcc has them as internals.
2102 * sysdeps/powerpc/Makefile (pic-ccflags): Define this instead of
2105 * sysdeps/powerpc/bzero.S: New file.
2106 * sysdeps/powerpc/strcat.c: New file.
2107 * sysdeps/powerpc/strcpy.S: New file.
2108 * sysdeps/powerpc/stpcpy.S: New file.
2110 * math/Makefile: Add atest_exp2, test-reduce.
2111 * math/atest_exp2.c: New file.
2112 * math/test-reduce.c: New file.
2113 * sysdeps/libm-ieee754/Dist: New file.
2114 * sysdeps/libm-ieee754/s_exp2.c: New file.
2115 * sysdeps/libm-ieee754/s_exp2f.c: New file.
2116 * sysdeps/libm-ieee754/t_exp2.h: New file.
2117 * sysdeps/libm-ieee754/t_exp2f.h: New file.
2118 * math/libm-test.c (exp2_test): Add some more tests.
2120 * Rules: Use empty.os instead of empty.o, since it gets linked into
2122 * configure.in: Add --disable-static to disable building .a files.
2123 * config.make.in: Substitute the new variable.
2124 * Makeconfig: Don't build .o files if not building .a files.
2126 * elf/dl-runtime.c (fixup): Factor out call to elf_machine_relplt.
2127 (profile_fixup): Likewise.
2129 1997-09-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2131 * posix/globtest.c (main): Change to directory passed as first
2134 * posix/globtest.sh: Don't cd before running the program, instead
2135 pass testdir as argument, so that $common_objpfx remains valid.
2137 1997-09-23 18:01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2139 * nis/nis_call.c (__do_niscall2): Fix multiple Server support.
2141 * nis/nis_findserver.c: Save latest working sockaddr_in.
2143 1997-09-17 22:07 Zack Weinberg <zack@rabi.phys.columbia.edu>
2145 * configure.in: Automatically determine whether as and ld are the
2147 (options): --with-gnu-{as,ld,binutils} replaced by
2148 single option --with-binutils=PATH specifying a -B option to gcc.
2149 * aclocal.m4: Two new macros defined, LIBC_PROG_FOO_GNU and
2152 * configure.in: Allow the user to force configuration for
2153 unsupported platforms with an undocumented option.
2155 1997-09-22 16:55 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2157 * sunrpc/get_myaddr.c (get_myaddress): Avoid loopback interfaces,
2158 return loopback address only if there is no other interface.
2160 * nis/Makefile: Add nis_callback libnsl-routines.
2162 * nis/nis_add.c: Use new __do_niscall* interface.
2163 * nis/nis_cache.c: Likewise.
2164 * nis/nis_checkpoint.c: Likewise.
2165 * nis/nis_lookup.c: Likewise.
2166 * nis/nis_mkdir.c: Likewise.
2167 * nis/nis_modify.c: Likewise.
2168 * nis/nis_ping.c: Likewise.
2169 * nis/nis_remove.c: Likewise.
2170 * nis/nis_rmdir.c: Likewise.
2171 * nis/nis_server.c: Likewise.
2172 * nis/nis_util.c: Likewise.
2174 * nis/rpcsvc/nis.h: Make C++ safe.
2176 * nis/nss_nisplus/nisplus-publickey.c (getsecretkey): Fix use
2179 * nis/nis_findserv.c: Make thread safe.
2181 * nis/nis_call.c: Add support for callback, Fix use of variables.
2182 * nis/nis_table.c: Add support for callback, FOLLOW_PATH and
2184 * nis/nis_callback.c: New, callback functions.
2185 * nis/nis_intern.h: Add callback declarations.
2187 1997-09-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2189 * string/bits/string2.h: Fix logic in preprocessor directive.
2190 (__strsep_1c, __strsep_g): Don't declare __retval as pointing to
2191 const, to save a cast and a possible warning.
2193 1997-09-22 04:12 Ulrich Drepper <drepper@cygnus.com>
2195 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Really address
2196 memory in xadd not %1.
2198 1997-09-21 13:56 Ulrich Drepper <drepper@cygnus.com>
2200 * manual/maint.texi (Supported Configurations): Add SPARC64 to
2201 list of supported platforms.
2203 1997-09-21 03:19 Ulrich Drepper <drepper@cygnus.com>
2205 * libio/libio.h: More libstdc++ cleanups. Define _IO_USE_DTOA if
2206 _G_HAVE_PRINTF_FP is not defined.
2207 * libio/strops.c: Undo patch of 1997-07-08 02:18. Must find a
2208 different solution for the problem.
2210 * misc/search.h [__USE_GNU]: Define comparison_fn_t.
2211 * stdlib/stdlib.h: Define comparison_fn_t only if __COMPAR_FN_T is
2213 Fix typo. Pretty print inline functions.
2215 * sysdeps/i386/i486/string.h (__stpcpy_small): Increment __cp not cp.
2216 Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
2218 1997-09-20 16:45 Ulrich Drepper <drepper@cygnus.com>
2220 * hesiod/hesiod.c (hesiod_init): Use __secure_getenv to get
2221 HES_DOMAIN environment variable.
2222 Suggested by Mark Kettenis <kettenis@phys.uva.nl>.
2224 * hesiod/README.hesiod: A bit of information about Hesiod and how
2225 to use it. Written by Mark Kettenis <kettenis@phys.uva.nl>.
2227 1997-09-20 05:15 Ulrich Drepper <drepper@cygnus.com>
2229 * manual/maint.texi: Update requirement list.
2231 * io/ftw.h: Don't use parameter names from global namespace in
2234 * stdlib/strtol.c: If used outside glibc handle broken systems
2235 which have character classification functions which are not 8-bit
2236 clean gracefully. Patch by Bruno Haible <haible@ilog.fr>.
2238 1997-09-19 21:42 David S. Miller <davem@tanya.rutgers.edu>
2240 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: ssize_t is
2243 1997-09-19 15:12 H.J. Lu <hjl@gnu.ai.mit.edu>
2245 * posix/Makefile (test-srcs): New, set to globtest.
2247 1997-09-20 00:24 Ulrich Drepper <drepper@cygnus.com>
2249 * manual/filesys.texi: Document ftw, nftw and needed data types.
2251 1997-09-19 12:53 H.J. Lu <hjl@gnu.ai.mit.edu>
2253 * sysdeps/i386/i486/bits/string.h: Fix typo.
2255 1997-09-19 14:11 Ulrich Drepper <drepper@cygnus.com>
2257 * io/ftwtest.c (cb): Print level.
2258 * io/ftwtest-sh: Updated for ftwtest.c change.
2260 * string/argz.h (__argz_next): Cast NULL to char * to satisfy C++
2262 Reported by Mirko Streckenbach <mirko@ramz.ing.tu-bs.de>.
2264 * catgets/catgets.c (catopen): Correctly allocate string of nlspath.
2265 Reported by Charles C. Fu <ccwf@klab.caltech.edu>.
2267 1997-09-18 13:30 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>
2269 * sysdeps/i386/init-first.c: Call __getopt_clean_environment with
2270 additional argument.
2271 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2272 * sysdeps/mach/hurd/mips/init-first.c: Likewise.
2273 * sysdeps/stub/init-first.c: Likewise.
2275 1997-09-18 03:16 Ulrich Drepper <drepper@cygnus.com>
2277 * manual/search.texi: Document lsearch, lfind, the hsearch and
2280 1997-09-18 00:04 Ulrich Drepper <drepper@cygnus.com>
2282 * misc/hsearch_r.c (hsearch_r): Only return error for ENTER action
2283 if the table is full and we *really* have to enter a new entry.
2285 1997-09-17 19:44 Ulrich Drepper <drepper@cygnus.com>
2287 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Get rid
2288 of hack for handling flush opcode.
2289 Patch by Richard Henderson <rth@cygnus.com>.
2291 1997-09-16 23:48 Ulrich Drepper <drepper@cygnus.com>
2293 * libio/fileops.c: Define __set_errno if necessary.
2294 * libio/libioP.h: Don't use __BEGIN_DECLS/__END_DECLS, expand macros.
2296 1997-09-16 22:03 Ulrich Drepper <drepper@cygnus.com>
2298 * string/Makefile (headers): Instead bits/string2.h.
2299 Reported by David S. Miller <davem@jenolan.rutgers.edu>.
2301 1997-09-16 13:31 David S. Miller <davem@tanya.rutgers.edu>
2303 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: New file.
2305 1997-09-16 17:42 Ulrich Drepper <drepper@cygnus.com>
2307 * sysdeps/generic/bits/select.h (__FD_ZERO): Declare __arr variable
2308 as of type __fdset *.
2309 * sysdeps/i386/bits/select.h: Likewise.
2310 Reported by David S. Miller <davem@jenolan.rutgers.edu>.
2312 1997-09-16 04:32 Ulrich Drepper <drepper@cygnus.com>
2314 * hesiod/hesiod.c: Don't use and define cistrcmp. We have
2316 (hesiod_init): Use of HES_DOMAIN need not be protected by
2318 (hesiod_to_bind): Avoid using strcat and extra strlen calls, use
2321 * string/Makefile (noinl-tester-ENV): New variable to make
2323 (CFLAGS-noinl-tester): Make sure we test the correct functions.
2325 * sysdeps/stub/atomicity.h: Fix typo.
2326 Zack Weinberg <zack@rabi.phys.columbia.edu> told me this twice.
2328 * manual/string.texi: Document strnlen and mempcpy.
2329 Tell a bit more about the locale dependence of strcasecmp and
2332 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove ptrace.
2333 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace): Change return
2334 value type to long int.
2335 * sysdeps/unix/sysv/linux/ptrace.c: Likewise. Adopt local variable
2337 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Fix typo.
2338 Patches by David S. Miller <davem@jenolan.rutgers.edu>.
2340 1997-09-16 02:14 Ulrich Drepper <drepper@cygnus.com>
2342 Implementation of Hesiod NSS module by Mark Kettenis.
2343 * hesiod/Makefile: New file.
2344 * hesiod/hesiod.c: New file.
2345 * hesiod/hesiod.h: New file.
2346 * hesiod/hesiod_p.h: New file.
2347 * hesiod/libnss_hesiod.map: New file.
2348 * hesiod/nss_hesiod/hesiod-grp.c: New file.
2349 * hesiod/nss_hesiod/hesiod-pwd.c: New file.
2350 * hesiod/nss_hesiod/hesiod-service.c: New file.
2351 * sysdeps/unix/inet/Subdirs: Add hesiod.
2353 * shlib-versions: Add version number for libnss_hesiod.
2355 * libio/iolibio.h: Remove definition of _IO_* macros.
2356 * libio/fileops.c: Define close, fstat, lseek, read, and write as
2357 macros to use __ protected versions. Use those functions instead
2359 * libio/iopopen.c: Define _IO_close to close.
2361 * manual/math.texi: Explain the use of the optimizing inline
2363 Describe rand_r function and tell about SysV RNGs in introduction.
2365 * resolv/res_send.c (res_send): Use socklen_t type for `fromlen'
2368 * string/Makefile (tests): Add noinl-tester.
2369 * string/noinl-tester.c: New file.
2370 * string/tester.c: Add more stpcpy tests for constant arguments for
2373 * string/string.h: Always declare __bzero.
2374 Describe __NO_STRING_INLINES.
2375 Always include <bits/string.h>.
2376 * string/bits/string2.h: Add warning about direct use.
2377 Change __strcpy_small and __stpcpy_small implementation to use
2378 macros and provide alternative for platforms which cannot do
2380 * sysdeps/i386/bits/string.h: Don't define anything is
2381 __NO_STRING_INLINES is defined.
2382 * sysdeps/i386/i486/bits/string.h: Change __strcpy_small and
2383 __stpcpy_small implementation to use macros and provide
2384 alternative for platforms which cannot do unaligned stores.
2385 * sysdeps/alpha/bzero.S: Define bzero as weak alias of __bzero.
2386 * sysdeps/generic/bzero.c: Likewise.
2387 * sysdeps/i386/bzero.c: Likewise.
2388 * sysdeps/i386/i586/bzero.S: Likewise.
2389 * sysdeps/vax/bzero.s: Likewise.
2391 * sysdeps/generic/bits/select.h: Don't use ugly casts to access array.
2392 * sysdeps/i386/bits/select.h: Likewise.
2394 * sysdeps/i386/fpu/bits/mathinline.c (__finite): Relax register
2396 Don't define and test for _BITS_MATHINLINE_H. Emit warning if used
2397 directly and not through math.h.
2399 * sysdeps/i386/i486/atomicity.h: Change return type of compare_and_swap
2400 to char to get better code. Fix typo.
2401 * sysdeps/stub/atomicity.h: Fix typo.
2403 1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2405 * sysdeps/generic/stpcpy.c: #undef stpcpy and __stpcpy.
2407 1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2409 * string/bits/string2.h: Add prototypes to avoid warning.
2411 1997-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2413 * string/bits/string2.h (strsep): Fix handling of empty REJECT.
2414 (__strsep_1c): Handle NULL and empty string.
2415 (__strsep_g): Likewise.
2417 1997-09-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2419 * catgets/Makefile (extra-objs): Set this instead of generated.
2421 * md5-crypt/Makefile (extra-objs): Add all object file variants of
2424 1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2426 * sysdeps/generic/sysd-stdio.c (__stdio_read): Fix typo in last
2429 1997-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2431 * sysdeps/m68k/m68020/atomicity.h: New file.
2433 1997-09-15 05:11 Ulrich Drepper <drepper@cygnus.com>
2435 * posix/Makefile (distribute): Add globtest.c and globtest.sh.
2436 Compile and run globtest if not cross-compiling.
2437 * posix/globtest.c: New file.
2438 * posix/globtest.sh: New file.
2439 * posix/glob.c: Pretty print preprocessor stuff.
2440 (glob_in_dir): If PATTERN is not really a pattern still check
2441 whether it is a real file in the current directory and return
2443 Reported by Eugene Mamchits <eugin@ips.ras.ru>.
2445 * libio/fileops.c (_IO_file_sync): Acquire lock before doing the work.
2446 * libio/ioseekoff.c (_IO_seekoff): Likewise.
2447 * libio/ioseekpos.c (_IO_seekpos): Likewise.
2449 1997-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
2451 * configure.in: Prevent configuration for unsupported platforms.
2453 1997-09-13 04:07 Ulrich Drepper <drepper@cygnus.com>
2455 * elf/rtld.c (dl_main): Make sure we always have a file argument by
2456 testing for < 2 arguments after recognizing the options.
2458 1997-09-12 11:47 Fila Kolodny <fila@ibi.com>
2460 * string/bits/string2.h (__strsep_1c): Cast out const from __retval.
2461 (__strsep_g): Likewise.
2463 1997-09-11 17:32 Ulrich Drepper <drepper@cygnus.com>
2465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define O_ASYNC.
2466 Patch by David S. Miller <davem@jenolan.rutgers.edu>.
2468 1997-09-11 04:36 Ulrich Drepper <drepper@cygnus.com>
2470 * db2/db_int.h: Define __set_errno if not yet available.
2471 * db2/btree/bt_rec.c: Use __set_errno to set errno value.
2472 * db2/clib/getlong.c: Likewise.
2473 * db2/db185/db185.c: Likewise.
2474 * db2/db185/db185_int.h: Likewise.
2475 * db2/dbm/dbm.c: Likewise.
2476 * db2/lock/lock_deadlock.c: Likewise.
2477 * db2/log/log_archive.c: Likewise.
2479 * elf/dl-profile.c: Implement mcount function.
2481 * gmon/gmon.c: Use __profil not profil because of namespace pollution.
2482 * gmon/mcount.c: Remove BSD kernel code.
2483 Use compare&swap instruction if possible to change state variable.
2484 Optimize frompc folding.
2485 * gmon/sys/gmon.h (struct gmonparam): Change state field to long int.
2486 * sysdeps/i386/i486/atomicity.h: New file.
2487 * sysdeps/stub/atomicity.h: New file.
2488 * sysdeps/mach/hurd/profil.c: Define function as __profil and make
2490 * sysdeps/posix/profil.c: Likewise.
2492 * string/bits/string2.h: New file.
2493 * include/bits/string2.h: New file.
2494 * string/Makefile (routines): Add mempcpy.
2495 (tests): Add inl-tester.
2496 Remove _D__NO_STRING_INLINES from CFLAGS-* variables.
2497 * sysdeps/generic/mempcpy.c: New file.
2498 * sysdeps/generic/memccpy.c: Undef function name to enable definition
2500 * sysdeps/generic/memchr.c: Likewise.
2501 * sysdeps/generic/memcmp.c: Likewise.
2502 * sysdeps/generic/memmem.c: Likewise.
2503 * sysdeps/generic/memmove.c: Likewise.
2504 * sysdeps/generic/strcat.c: Likewise.
2505 * sysdeps/generic/strchr.c: Likewise.
2506 * sysdeps/generic/strcmp.c: Likewise.
2507 * sysdeps/generic/strcpy.c: Likewise.
2508 * sysdeps/generic/strcspn.c: Likewise.
2509 * sysdeps/generic/strlen.c: Likewise.
2510 * sysdeps/generic/strncat.c: Likewise.
2511 * sysdeps/generic/strncmp.c: Likewise.
2512 * sysdeps/generic/strncpy.c: Likewise.
2513 * sysdeps/generic/strpbrk.c: Likewise.
2514 * sysdeps/generic/strrchr.c: Likewise.
2515 * sysdeps/generic/strsep.c: Likewise.
2516 * sysdeps/generic/strspn.c: Likewise.
2517 * sysdeps/generic/strstr.c: Likewise.
2518 * sysdeps/generic/strtok.c: Likewise.
2519 * sysdeps/generic/strtok_r.c: Likewise.
2520 * sysdeps/i386/memset.c: Likewise.
2521 * sysdeps/i386/bits/string.h: Correct a few types and constraints.
2522 * sysdeps/i386/i486/bits/string.h: Heavy rewrites and optimizations.
2523 * string/stratcliff.c: Undefine __USE_STRING_INLINES.
2524 * string/tst-strlen.c: Likewise.
2525 * string/string.h: Add prototype for mempcpy. Include bits/string2.h
2526 header always if optimizing.
2527 * intl/dcgettext.c: Don't unconditionally define stpcpy, only if not
2529 * intl/l10nflist.c: Likewise.
2531 * string/tester.c: Add copyright and make little cleanups.
2533 * inet/test_ifindex.c: Change type of ni variable to unsigned int.
2535 * locale/programs/ld-ctype.c (struct locale_ctype_t): Change type
2536 of fields map_collection_max and map_collection_act to size_t.
2538 * nss/libnss_files.map: Group entries.
2540 * posix/unistd.h: Add prototype for __setpgid and __profil.
2542 * sysdeps/generic/crypt.h: Declare __crypt_r.
2544 * sysdeps/i386/bits/select.h: Fix fatal bugs, use correct casts now.
2546 * sysdeps/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
2547 isless, islessequal, islessgreater, isunordered): Optimize a bit.
2549 * sysdeps/stub/ftruncate.c: Include missing header for prototype.
2550 * sysdeps/stub/getdents.c: Likewise.
2551 * sysdeps/stub/reboot.c: Likewise.
2552 * sysdeps/stub/swapon.c: Likewise.
2553 * sysdeps/stub/syscall.c: Likewise.
2554 * sysdeps/stub/ualarm.c: Likewise.
2555 * sysdeps/stub/usleep.c: Likewise.
2557 * sysdeps/unix/sysv/linux/if_index.c: Don't compile or use opensock
2558 if SIOGIFINDEX and SIOGIFNAME are not defined.
2560 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_PORTSEL and IFF_AUTOMEDIA
2561 according to recent kernel changes.
2563 1997-09-10 21:32 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>
2565 * Makeconfig: Use $(have-initfini) instead of $(elf) to figure out
2566 the installed name of the startup code.
2567 (common-generated): Add version.mk.
2568 * Makefile (distclean-1): Add glibcbug.
2569 * Makerules: Replace -lgcc by $(gnulib).
2570 * catgets/Makefile (generated): Add xmalloc.o.
2571 * csu/Makefile (generated): Replace align.h and end.h by defs.h to
2572 match the generated file.
2573 * manual/Makefile (mostlyclean): Add stub-manual and stamp.o.
2574 (realclean): Changed to remove chapters-incl[12].
2575 * po/Makefile (realclean): New rule to remove the generated .mo files.
2576 * time/Makefile: Only include zonefile dependencies if $(no_deps) is
2577 not true to avoid make clean failure when directory time doesn't exist
2579 (generated): Add tzselect.
2581 * stdio/fgets.c (fgets): Add casts to reduce gcc warning noise.
2582 * stdio/internals.c (flushbuf): Likewise.
2583 * stdio/linewrap.c (lwupdate): Likewise.
2584 * stdio/memstream.c (enlarge_buffer): Likewise.
2585 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
2586 * time/tzset.c (compute_change): Likewise.
2587 * misc/init-misc.c (__init_misc): Only declare static if HAVE_GNU_LD
2589 * sysdeps/posix/pipestream.c (FUNC): Change to generate ANSI C style
2591 * sysdeps/stub/init-posix.c: Likewise.
2592 * sysdeps/stub/profil.c: Likewise.
2593 * munch-tmpl.c (__libc_init): Convert to ANSI C style declaration to
2594 reduce gcc warning noise.
2595 * stdio/glue.c (_filbuf, _flsbuf): Likewise.
2596 * stdio/obstream.c (grow, seek, input, init_obstream): Likewise.
2597 * stdio/vasprintf.c (enlarge_buffer): Likewise.
2598 * sysdeps/generic/sysd-stdio.c (__stdio_read, __stdio_write,
2599 __stdio_seek, __stdio_close, __stdio_fileno, __stdio_open,
2600 __stdio_reopen): Likewise.
2601 * sysdeps/posix/defs.c (_cleanup): Likewise.
2602 * time/offtime.c (__offtime): Add cast.
2604 * posix/getopt.c: Don't use text_set_element if not defined.
2606 * configure.in: Provide a check for underscores before user labels
2607 that works even when the compiler used for building doesn't work
2608 (like when there is no C library). Use the old way if the compiler
2611 1997-09-10 05:08 David S. Miller <davem@caip.rutgers.edu>
2613 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: The TC* ioctls use
2614 'T' not 't' on SparcLinux.
2615 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: tcflag_t is 32 bits.
2617 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add aliases for
2618 _longjmp and siglongjmp.
2620 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2622 * libio/stdio.h: Add format attributes to the extra printf and
2623 scanf like functions.
2624 * stdio/stdio.h: Likewise.
2626 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2628 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
2629 Print tablename_val, not tablename_len.
2631 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
2632 Use sprintf instead of sprintf, the string always fits.
2633 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
2635 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
2637 * nis/nss_nisplus/nisplus-proto.c
2638 (_nss_nisplus_getprotobynumber_r): Likewise.
2639 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbynumber_r):
2641 * nis/nss_nisplus/nisplus-service.c
2642 (_nss_nisplus_getservbynumber_r): Likewise.
2644 * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Use
2645 __stpcpy, __stpncpy and __strdup instead of public names.
2646 * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename):
2648 * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise.
2649 * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename):
2651 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_parse_netgroup):
2653 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
2655 (_nss_create_tablename): Likewise.
2656 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
2658 (_nss_create_tablename): Likewise.
2659 * nis/nss_nisplus/nisplus-pwd.c (_nss_create_tablename):
2661 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
2663 (_nss_create_tablename): Likewise.
2664 * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
2666 (_nss_create_tablename): Likewise.
2667 * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename):
2670 * libc.map: Export __stpcpy and __strdup.
2672 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2674 * math/Makefile (CFLAGS-test-float.c, CFLAGS-test-double.c,
2675 CFLAGS-test-ldouble.c): Pass -ffloat-store to avoid excessive
2678 1997-09-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2680 * include/rpc/auth_des.h: New file.
2682 1997-09-09 Paul Eggert <eggert@twinsun.com>
2684 * time/mktime.c (__mktime_internal): Declare sec_requested even if
2685 !LEAP_SECONDS_POSSIBLE, since it's needed at the end when checking
2686 for time_t overflow.
2688 1997-09-09 22:11 Ulrich Drepper <drepper@cygnus.com>
2690 * sysdeps/posix/getcwd.c: Correct test for too small buffer.
2691 Reported by Erik Troan <ewt@redhat.com>.
2693 * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
2694 * elf/dl-open.c: Likewise.
2696 1997-09-07 17:09 Richard Henderson <rth@cygnus.com>
2698 * sysdeps/alpha/Makefile: Kill setjmp_aux.
2699 * sysdeps/alpha/bits/setjmp.h: Rewrite in terms of an array.
2700 * sysdeps/alpha/__longjmp.c: Remove.
2701 * sysdeps/alpha/setjmp_aux.c: Remove.
2702 * sysdeps/alpha/__longjmp.S: New file.
2703 * sysdeps/alpha/bsd-_setjmp.S: Stub out.
2704 * sysdeps/alpha/bsd-setjmp.S: Likewise.
2705 * sysdeps/alpha/setjmp.S: Do the work; don't call __setjmp_aux.
2706 Move _setjmp and setjmp from bsd-*.S.
2708 1997-09-06 20:20 Ulrich Drepper <drepper@cygnus.com>
2710 * include/rpc/auth.h: New file.
2711 * include/rpc/auth_unix.h: New file.
2713 1997-09-06 Paul Eggert <eggert@twinsun.com>
2715 Fix gmtime so that it reports leap seconds when TZ
2716 indicates that leap seconds are desired.
2718 * time/gmtime.c (<stddef.h>): Remove unnecessary include.
2719 (gmtime): Put after gmtime_r, to help the compiler inline.
2720 (__tz_convert): New decl.
2721 (gmtime_r): Use __tz_convert instead of __offtime,
2722 so that leap seconds are handled correctly.
2724 * time/localtime.c (<errno.h>, <libc-lock.h>): Remove includes that
2725 are now unnecessary.
2726 (__tzset_internal, __tz_compute, __tzfile_compute, __use_tzfile,
2727 __tzset_lock): Remove extern decls that are now unnecessary.
2728 (localtime_internal): Moved to __tz_convert in tzset.c.
2729 so that localtime and gmtime can both use it easily.
2730 (localtime): Put after localtime_r, to help the compiler inline.
2731 (localtime_r): Use __tz_convert instead of localtime_internal.
2733 * time/strftime.c (__tz_compute): Remove unused (and now incorrect)
2736 * time/tzfile.c (__tzfile_compute): New arg USE_LOCALTIME.
2738 * time/tzset.c (<errno.h>): Include.
2740 (__tzfile_compute): New function.
2741 (tz_compute): Renamed from __tz_compute. No longer extern.
2742 Remove redundant call to tzset_internal.
2743 (tzset_internal): Renamed from __tzset_internal. No longer extern.
2744 (tzset_lock): Renamed from __tzset_lock. No longer extern.
2745 (__tz_convert): New function, containing functionality of old
2746 localtime_internal function, plus locking and optional UTC.
2748 1997-09-06 Paul Eggert <eggert@twinsun.com>
2750 * time/tzfile.c (__tzfile_read): Don't read a file if TZ is the empty
2751 string, just use UTC without leap seconds. This is for compatibility
2752 with the Olson code.
2754 1997-09-06 Paul Eggert <eggert@twinsun.com>
2756 * time/tzset.c (__tzname_max): Lock tz data structures before
2757 invoking tzset_internal.
2759 * time/tzfile.c: Define compute_tzname_max statically.
2761 1997-09-07 10:57 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2763 * nis/nis_call.c: Remove not longer necessary HAVE_SECURE_RPC ifdefs.
2764 * nis/nis_intern.h: Likewise.
2765 * nis/nss_nis/nis-publickey.c: Likewise.
2766 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2767 * nis/ypclnt.c: Likewise.
2769 * sunrpc/auth_des.c: Don't dereference NULL pointer,
2770 initialize ad->ad_timediff.
2772 * sunrpc/auth_none.c: Don't define our own prototypes, use the one
2773 from the header files.
2774 * sunrpc/auth_unix.c: Likewise.
2775 * sunrpc/clnt_raw.c: Likewise.
2776 * sunrpc/clnt_tcp.c: Likewise.
2777 * sunrpc/rpc_cmsg.c: Likewise.
2779 * sunrpc/key_call.c: Fix signal handling.
2781 * sunrpc/openchild.c: Don't use /bin/sh to start /usr/etc/keyenvoy,
2782 or we will get a deadlock with NIS+.
2784 * sunrpc/rpc/auth.h: Add prototype for xdr_opaque_auth, don't define
2787 1997-09-07 15:51 Ulrich Drepper <drepper@cygnus.com>
2789 * sysdeps/i386/bits/select.h [__GNUC__] (__FD_ZERO, __FD_SET, __FD_CLR,
2790 __FD_ISSET): Use correct casts to address array correctly.
2791 Reported by urbanw@cs.umu.se.
2793 1997-09-07 05:07 Ulrich Drepper <drepper@cygnus.com>
2795 * elf/dl-close.c: Include <bits/libc-lock.h>, not <libc-lock.h>.
2796 * elf/dl-open.c: Likewise.
2797 * sysdeps/i386/memset.c: Undefine memset in case the header with the
2798 optimized functions is included.
2799 Patches by NIIBE Yutaka <gniibe@mri.co.jp>.
2801 * sysdeps/i386/bits/string.h [__PIC__] (strcspn, strspn, strpbrk,
2802 strsep): Use register for second parameter.
2803 * sysdeps/i386/i486/bits/string.h: Likewise.
2804 Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
2806 1997-09-03 09:48 Geoff Keating <geoffk@ozemail.com.au>
2808 * math/libm-test.c: Change various tolerances to match what the
2809 tested routines can actually provide.
2811 * math/Makefile: Add new tests.
2812 * math/atest-sincos.c: New file.
2813 * math/atest-exp.c: New file.
2815 * csu/Makefile: Give initfini.s and initfiniS.s their own
2816 CFLAGS-* macros so they can be overridden.
2817 * sysdeps/powerpc/Makefile [subdir=csu]: Override flags for
2818 initfiniS.s to use -fpic instead of -fPIC, because the sed script
2821 * sysdeps/powerpc/Makefile [build-shared]: Use -fpic not -fPIC for
2824 * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2825 Don't use register 0, to let _mcount be in a shared object.
2827 * sysdeps/powerpc/dl-machine.h: Use full sentences in comments.
2828 Generally clean up. Suppress some code we don't need when relocating
2830 * sysdeps/powerpc/test-arith.c: Change loop indices to size_t when
2831 appropriate to suppress gcc warning.
2832 * resolv/res_send.c: Suppress warning.
2833 * sunrpc/xdr_sizeof.c: Suppress warning.
2835 * FAQ: Add ppc-linux.
2836 * manual/maint.texi: Add ppc-linux. Explain that gcc can't build it
2839 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Correct for
2842 1997-08-15 07:45 Geoff Keating <geoffk@ozemail.com.au>
2844 * stdlib/fmtmsg.c: Use two parameters for __libc_once_define.
2845 * sysdeps/i386/machine-gmon.h: Correct typo.
2847 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Change to match
2850 * sysdeps/generic/dl-sysdep.c: Add hook for bizzare PPC argument hack.
2851 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Rewrite to use
2852 sysdeps/linux/dl-sysdep.c.
2854 * sysdeps/powerpc/Makefile [subdir=gmon]: Compile ppc-mcount.
2855 * sysdeps/powerpc/machine-gmon.h: Use ppc-mcount.
2856 * sysdeps/powerpc/ppc-mcount: New file.
2858 The following are mostly changes to allow profiling:
2859 * sysdeps/powerpc/add_n.S: Added.
2860 * sysdeps/powerpc/add_n.s: Removed.
2861 * sysdeps/powerpc/addmul_1.S: Added.
2862 * sysdeps/powerpc/addmul_1.s: Removed.
2863 * sysdeps/powerpc/bsd-_setjmp.S: Use JUMPTARGET macro.
2864 * sysdeps/powerpc/bsd-setjmp.S: Use JUMPTARGET macro.
2865 * sysdeps/powerpc/lshift.S: Added.
2866 * sysdeps/powerpc/lshift.s: Removed.
2867 * sysdeps/powerpc/memset.S: Added.
2868 * sysdeps/powerpc/memset.s: Removed.
2869 * sysdeps/powerpc/mul_1.S: Added.
2870 * sysdeps/powerpc/mul_1.s: Removed.
2871 * sysdeps/powerpc/rshift.S: Added.
2872 * sysdeps/powerpc/rshift.s: Removed.
2873 * sysdeps/powerpc/s_copysign.S: Use ENTRY, END, weak_alias macros.
2874 * sysdeps/powerpc/s_fabs.S: Use ENTRY, END, weak_alias macros.
2875 * sysdeps/powerpc/setjmp.S: Use JUMPTARGET macro.
2876 * sysdeps/powerpc/strchr.S: Added.
2877 * sysdeps/powerpc/strchr.s: Removed.
2878 * sysdeps/powerpc/strcmp.S: Added.
2879 * sysdeps/powerpc/strcmp.s: Removed.
2880 * sysdeps/powerpc/strlen.S: Added.
2881 * sysdeps/powerpc/strlen.s: Removed.
2882 * sysdeps/powerpc/sub_n.S: Added.
2883 * sysdeps/powerpc/sub_n.s: Removed.
2884 * sysdeps/powerpc/submul_1.S: Added.
2885 * sysdeps/powerpc/submul_1.s: Removed.
2886 * sysdeps/unix/sysv/linux/powerpc/_exit.S: Removed.
2887 * sysdeps/unix/sysv/linux/powerpc/brk.S: Added.
2888 * sysdeps/unix/sysv/linux/powerpc/brk.c: Removed.
2889 * sysdeps/unix/sysv/linux/powerpc/clone.S: Use new macros. Fix
2890 various bugs. Document that it isn't tested.
2891 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Make look like
2892 sysdeps/unix/_exit.S.
2893 * sysdeps/unix/sysv/linux/powerpc/socket.S: Use new macros.
2894 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Use new macros.
2895 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Define some new macros
2896 to make assembler (possibly) more portable, allow profiling, etc.
2898 1997-09-05 03:15 Ulrich Drepper <drepper@cygnus.com>
2900 * Makefile (subdirs): Reorganize order so that nss follows add-ons.
2901 * config.make.in (LDAP): Add.
2902 * configure.in: Prepare for ldap add-on.
2903 * shlib-versions: Add version numbers for ldap NSS module.
2904 * nss/Makefile: Add rules to build ldap NSS module.
2906 * db/btree/bt_page.c (__bt_free): Update meta data information.
2908 Update db from db-2.3.6.
2909 * db2/db.h: Updated.
2910 * db2/btree/bt_close.c: Updated.
2911 * db2/btree/bt_compare.c: Updated.
2912 * db2/btree/bt_conv.c: Updated.
2913 * db2/btree/bt_cursor.c: Updated.
2914 * db2/btree/bt_delete.c: Updated.
2915 * db2/btree/bt_put.c: Updated.
2916 * db2/btree/bt_rec.c: Updated.
2917 * db2/btree/bt_recno.c: Updated.
2918 * db2/btree/bt_search.c: Updated.
2919 * db2/btree/bt_split.c: Updated.
2920 * db2/btree/bt_stat.c: Updated.
2921 * db2/common/db_appinit.c: Updated.
2922 * db2/common/db_apprec.c: Updated.
2923 * db2/common/db_byteorder.c: Updated.
2924 * db2/common/db_err.c: Updated.
2925 * db2/common/db_region.c: Updated.
2926 * db2/db/db.c: Updated.
2927 * db2/db/db_conv.c: Updated.
2928 * db2/db/db_dup.c: Updated.
2929 * db2/db/db_pr.c: Updated.
2930 * db2/db/db_ret.c: Updated.
2931 * db2/db185/db185.c: Updated.
2932 * db2/dbm/dbm.c: Updated.
2933 * db2/hash/hash_dup.c: Updated.
2934 * db2/include/db_am.h: Updated.
2935 * db2/include/db_page.h: Updated.
2936 * db2/include/mp.h: Updated.
2937 * db2/include/queue.h: Updated.
2938 * db2/log/log.c: Updated.
2939 * db2/log/log_findckp.c: Updated.
2940 * db2/log/log_get.c: Updated.
2941 * db2/log/log_rec.c: Updated.
2942 * db2/mp/mp_bh.c: Updated.
2943 * db2/mp/mp_fopen.c: Updated.
2944 * db2/mp/mp_pr.c: Updated.
2945 * db2/mp/mp_sync.c: Updated.
2946 * db2/mutex/x86.gcc: Updated.
2947 * db2/os/db_os_dir.c: Updated.
2948 * db2/os/db_os_fid.c: Updated.
2949 * db2/progs/db_archive/db_archive.c: Updated.
2950 * db2/progs/db_checkpoint/db_checkpoint.c: Updated.
2951 * db2/progs/db_deadlock/db_deadlock.c: Updated.
2952 * db2/progs/db_dump/db_dump.c: Updated.
2953 * db2/progs/db_dump185/db_dump185.c: Updated.
2954 * db2/progs/db_load/db_load.c: Updated.
2955 * db2/progs/db_printlog/db_printlog.c: Updated.
2956 * db2/progs/db_recover/db_recover.c: Updated.
2957 * db2/progs/db_stat/db_stat.c: Updated.
2958 * db2/txn/txn.c: Updated.
2959 * db2/txn/txn_rec.c: Updated.
2961 * db2/Makefile: Add rule to build db_printlog.
2962 * db2/config.h: Don't include endian.h and don't define
2963 WORDS_BIGENDIAN. Only define HAVE_ENDIAN_H.
2965 * elf/dl-open.c (_dl_open): Make thread-safe.
2966 * elf/dl-close.c (_dl_close): Likewise.
2967 * elf/dlclose.c: Pretty print.
2968 * elf/dl-version.c (make_string): Use __strdup not strdup.
2969 (find_needed): Don't use l_searchlist of _dl_loaded, use the
2971 * elf/dl-deps.c (_dl_map_object_deps): Remove variable head.
2973 * manual/math.texi: Add note about == and != for FP values.
2974 * manual/message.texi: Mention problems with relative paths and
2976 * manual/string.texi: Mark strdupa and strndupa correctly as macros.
2978 * sunrpc/Makefile (CFLAGS-xkey_prot.c): Define to prevent warnings.
2979 * sunrpc/rpc_cout.c: Avoid needless races around return value.
2981 * sysdeps/generic/stpcpy.c: Include <config.h> if wanted.
2983 Update from tzdata-1997h.
2984 * time/africa: Updated.
2985 * time/europe: Updated.
2986 * time/iso3166.tab: Updated.
2987 * time/northamerica: Updated.
2988 * time/southamerica: Updated.
2989 * time/zone.tab: Updated.
2991 1997-09-04 13:19 Richard Henderson <rth@cygnus.com>
2993 * sysdeps/alpha/w_sqrt.S: Removed.
2994 * sysdeps/alpha/fpu/e_sqrt.c: New. Obey -mieee and -mieee-with-inexact
2995 and build a version that is as fast as possible given the constraint.
2997 1997-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2999 * manual/maint.texi: Document some defaults for configuration
3002 1997-09-04 15:57 Ulrich Drepper <drepper@cygnus.com>
3004 * termios/cfsetspeed.c (cfsetspeed): Change return value to int.
3005 * termios/termios.h: Change prototype accordingly.
3006 Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
3008 1997-07-26 14:42 H.J. Lu <hjl@gnu.ai.mit.edu>
3010 * libio/stdfiles.c (_libio_using_thunks): Define if
3011 _G_USING_THUNKS is defined.
3013 * libio/_G_config.h: Moved to ...
3014 * sysdeps/generic/_G_config.h: ...here.
3016 * sysdeps/unix/sysv/linux/_G_config.h: New,
3017 Add vtable thunks support.
3019 1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3021 * sysdeps/m68k/Makefile (pic-ccflag): Override it for more
3022 efficient code (together with a change in gcc).
3024 * Makeconfig (pic-ccflag): New variable.
3025 (CFLAGS-.os): Use it instead of hardcoding -fPIC.
3027 1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3029 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
3030 _dl_start instead of a local label, to avoid getting an unreadable
3033 1997-09-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3035 * nss/Makefile ($(objpfx)libnss_db.so): Use $(dbobjdir) to find
3038 * Makeconfig (dbobjdir): Use db2.
3040 1997-08-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3042 * manual/maint.texi (Porting to Unix): Update description of the
3043 implementation of Unix system calls.
3044 (Contributors): Use real umlaut in tege's name.
3046 1997-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3048 * sysdeps/libm-ieee754/w_gamma.c: Make compilable with
3050 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
3051 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
3053 1997-08-29 21:45 Ulrich Drepper <drepper@cygnus.com>
3055 * sunrpc/auth_des.c: New file. Copied from former secure_rpc add-on.
3056 * sunrpc/authdes_prot.c: New file. Likewise.
3057 * sunrpc/des.h: New file. Likewise.
3058 * sunrpc/des_crypt.c: New file. Likewise.
3059 * sunrpc/des_soft.c: New file. Likewise.
3060 * sunrpc/key_call.c: New file. Likewise.
3061 * sunrpc/key_prot.c: New file. Likewise.
3062 * sunrpc/netname.c: New file. Likewise.
3063 * sunrpc/openchild.c: New file. Likewise.
3064 * sunrpc/rtime.c: New file. Likewise.
3065 * sunrpc/svc_auth.c: New file. Likewise.
3066 * sunrpc/svcauth_des.c: New file. Likewise.
3067 * sunrpc/xcrypt.c: New file. Likewise.
3068 * sunrpc/rpc/auth.h: New file. Likewise.
3069 * sunrpc/rpc/auth_des.h: New file. Likewise.
3070 * sunrpc/rpc/des_crypt.h: New file. Likewise.
3071 * sunrpc/rpc/key_prot.h: New file. Likewise.
3072 * sunrpc/rpcsvc/key_prot.x: New file. Likewise.
3073 * sysdeps/generic/svc_auth.h: Removed.
3074 * sysdeps/generic/rpc/auth.h: Removed.
3075 * sysdeps/generic/rpc/auth_des.h: Removed.
3076 * sysdeps/stub/des_impl.c: New file. Stub version for DES.
3077 * sunrpc/Makefile (rpcsvc): Add keyprot.x.
3078 (headers): Add des_crypt.h and key_prot.h.
3079 (routines): Add auth_des, authdes_prot, des_crypt, des_impl, des_soft,
3080 key_call, key_prot, netname, openchild, rtime, svcauth_des, xcrypt.
3081 (distribute): Add des.h.
3083 * db2/Makefile: Add all headers and other files to distribute.
3084 (others): Add db_printlog.
3086 * sysdeps/mach/hurd/Dist: Add net/* headers.
3087 * sysdeps/mach/hurd/mips/Dist: New file.
3088 * sysdeps/powerpc/Dist: Add fe_nomask.c and t_sqrt.c.
3089 * sysdeps/sparc/Dist: Add sys/trap.h.
3090 * sysdeps/sparc/sparc32/Dist: Remove sys/trap.h.
3091 * sysdeps/sparc/sparc32/sparcv8/Dist: New file.
3092 * sysdeps/unix/sysv/linux/mips/Dist: Add sgidefs.h.
3093 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/trap.h.
3094 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove sys/trap.h.
3096 Add previously missing assembler files for PPC.
3097 * sysdeps/powerpc/add_n.s: New file.
3098 * sysdeps/powerpc/addmul_1.s: New file.
3099 * sysdeps/powerpc/lshift.s: New file.
3100 * sysdeps/powerpc/memset.s: New file.
3101 * sysdeps/powerpc/mul_1.s: New file.
3102 * sysdeps/powerpc/rshift.s: New file.
3103 * sysdeps/powerpc/strchr.s: New file.
3104 * sysdeps/powerpc/strcmp.s: New file.
3105 * sysdeps/powerpc/sub_n.s: New file.
3106 * sysdeps/powerpc/submul_1.s: New file.
3108 1997-08-28 18:42 Thorsten Kukuk <kukuk@uni-paderborn.de>
3110 * nis/nis_server.c: Rewritten to fix a lot of bugs.
3112 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3114 * md5-crypt/Makefile (LDFLAGS-md5crypt.so, libmd5crypt-map): New
3117 1997-08-29 02:36 Ulrich Drepper <drepper@cygnus.com>
3119 * Makefile (version-info.h): Use ISO form for the date.
3121 * catgets/catgetsinfo.h: Include <bits/libc-lock.h>.
3122 (struct catalog_obj): Add lock field.
3123 (__open_catalog): Remove second parameter from prototype.
3124 * catgets/catgets.c (catopen): Initialize lock field.
3125 (catgets): Don't pass second parameter to __open_catalog.
3126 * catgets/gencat.c: Initialize lock field and don't pass second
3127 parameter to __open_catalog.
3128 * catgets/open_catalog.c (__open_catalog): Decide about use of
3129 path by examining path in struct, not based on extra argument.
3130 Acquire a the lock before trying to load the catalog and release
3131 it before returning.
3133 * csu/Makefile (abi-tag.h): Make sure target directory exists.
3135 * io/Makefile (headers): Add bits/poll.h.
3136 * io/sys/poll.h: Remove definitions of POLL* constants.
3137 Include <bits/poll.h>.
3138 * sysdeps/generic/bits/poll.h: New file.
3139 * sysdeps/unix/sysv/linux/bits/poll.h: New file.
3140 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: New file.
3141 * sysdeps/unix/sysv/linux/mips/bits/poll.h: New file.
3142 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: New file.
3144 * libio/fileops.c (_IO_file_read, _IO_file_write): Remove dead code.
3146 * malloc/obstack.c: Add casts to keep very verbose compilers on
3147 64bit machine quiet.
3149 * nss/Makefile (libnss_db.so): Find libdb.so in db2 directory.
3151 1997-08-28 17:30 Ulrich Drepper <drepper@cygnus.com>
3153 * catgets/catgets.c (catopen): Correctly determine length of string
3154 in NLSPATH environment variable. Patch by HJ Lu <hjl@gnu.ai.mit.edu>.
3156 1997-08-27 23:19 Richard Henderson <rth@cygnus.com>
3158 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Provide
3159 default macro to track down arguments from stack start.
3160 (_dl_sysdep_start): Use it.
3161 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Truncate to simply
3162 providing a special DL_FIND_ARG_COMPONENTS and including the next
3165 * sysdeps/powerpc/e_sqrt.c: Move contents to w_sqrt.c and provide stub.
3166 * sysdeps/powerpc/e_sqrtf.c: Likewise.
3167 * sysdeps/powerpc/s_copysignf.S: Provide empty file; symbol is with
3168 the double precision version.
3169 * sysdeps/powerpc/s_fabsf.S: Likewise.
3170 * sysdeps/powerpc/s_isnanf.S: Likewise.
3172 1997-08-10 19:17 Philip Blundell <Philip.Blundell@pobox.com>
3174 * nss/nss_db/db-XXX.c: Include <db_185.h> not <db.h>. Somebody
3175 should update this to use the new db API.
3176 * nss/nss_db/db-netgrp.c: Likewise.
3177 * nss/nss_db/db-alias.c: Likewise.
3178 * db2/Makefile: Makefile for db-2.x in glibc.
3180 1997-08-27 21:20 Ulrich Drepper <drepper@cygnus.com>
3182 * csu/Makefile (before-compile): New goal. Make sure abi-tag.h
3184 [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found.
3186 * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add
3187 -D__USE_STRING_INLINES.
3188 * string/string.f: Move strnlen optimization after inclusion of
3189 <bits/string.h>. Include <bits/string.h> only if __USE_STRING_INLINES
3191 * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name
3193 * sysdeps/generic/memset.c: Likewise.
3194 * sysdeps/i386/string.h: i386 optimized string functions.
3195 * sysdeps/i386/i486string.h: i486+ optimized string functions.
3197 * Makefile (subdirs): Change db to db2.
3198 * shlib-versions: Bump libdb verion number to 3.
3199 * include/db.h: Include from db2 directory.
3200 * include/db_185.h: New file.
3201 * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros
3202 to provide spinlock information for db2.
3203 * sysdeps/m68k/m68020/Makefile: New file. Likewise.
3204 * sysdeps/sparc/Makefile: New file. Likewise.
3205 * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS):
3207 * db2/config.h: Hand-edited config file for db2 in glibc.
3208 * db2/compat.h: New file from db-2.3.4.
3209 * db2/db.h: Likewise.
3210 * db2/db_185.h: Likewise.
3211 * db2/db_int.h: Likewise.
3212 * db2/makedb.c: Likewise.
3213 * db2/btree/bt_close.c: Likewise.
3214 * db2/btree/bt_compare.c: Likewise.
3215 * db2/btree/bt_conv.c: Likewise.
3216 * db2/btree/bt_cursor.c: Likewise.
3217 * db2/btree/bt_delete.c: Likewise.
3218 * db2/btree/bt_open.c: Likewise.
3219 * db2/btree/bt_page.c: Likewise.
3220 * db2/btree/bt_put.c: Likewise.
3221 * db2/btree/bt_rec.c: Likewise.
3222 * db2/btree/bt_recno.c: Likewise.
3223 * db2/btree/btree_auto.c: Likewise.
3224 * db2/btree/bt_rsearch.c: Likewise.
3225 * db2/btree/bt_search.c: Likewise.
3226 * db2/btree/bt_split.c: Likewise.
3227 * db2/btree/bt_stat.c: Likewise.
3228 * db2/btree/btree.src: Likewise.
3229 * db2/common/db_appinit.c: Likewise.
3230 * db2/common/db_err.c: Likewise.
3231 * db2/common/db_byteorder.c: Likewise.
3232 * db2/common/db_apprec.c: Likewise.
3233 * db2/common/db_salloc.c: Likewise.
3234 * db2/common/db_log2.c: Likewise.
3235 * db2/common/db_region.c: Likewise.
3236 * db2/common/db_shash.c: Likewise.
3237 * db2/db/db.c: Likewise.
3238 * db2/db/db.src: Likewise.
3239 * db2/db/db_conv.c: Likewise.
3240 * db2/db/db_dispatch.c: Likewise.
3241 * db2/db/db_dup.c: Likewise.
3242 * db2/db/db_overflow.c: Likewise.
3243 * db2/db/db_pr.c: Likewise.
3244 * db2/db/db_rec.c: Likewise.
3245 * db2/db/db_ret.c: Likewise.
3246 * db2/db/db_thread.c: Likewise.
3247 * db2/db/db_auto.c: Likewise.
3248 * db2/db185/db185.c: Likewise.
3249 * db2/db185/db185_int.h: Likewise.
3250 * db2/dbm/dbm.c: Likewise.
3251 * db2/hash/hash.c: Likewise.
3252 * db2/hash/hash.src: Likewise.
3253 * db2/hash/hash_page.c: Likewise.
3254 * db2/hash/hash_conv.c: Likewise.
3255 * db2/hash/hash_debug.c: Likewise.
3256 * db2/hash/hash_stat.c: Likewise.
3257 * db2/hash/hash_rec.c: Likewise.
3258 * db2/hash/hash_dup.c: Likewise.
3259 * db2/hash/hash_func.c: Likewise.
3260 * db2/hash/hash_auto.c: Likewise.
3261 * db2/include/mp.h: Likewise.
3262 * db2/include/btree.h: Likewise.
3263 * db2/include/db.h.src: Likewise.
3264 * db2/include/db_int.h.src: Likewise.
3265 * db2/include/db_shash.h: Likewise.
3266 * db2/include/db_swap.h: Likewise.
3267 * db2/include/db_185.h.src: Likewise.
3268 * db2/include/txn.h: Likewise.
3269 * db2/include/db_am.h: Likewise.
3270 * db2/include/shqueue.h: Likewise.
3271 * db2/include/hash.h: Likewise.
3272 * db2/include/db_dispatch.h: Likewise.
3273 * db2/include/lock.h: Likewise.
3274 * db2/include/db_page.h: Likewise.
3275 * db2/include/log.h: Likewise.
3276 * db2/include/db_auto.h: Likewise.
3277 * db2/include/btree_auto.h: Likewise.
3278 * db2/include/hash_auto.h: Likewise.
3279 * db2/include/log_auto.h: Likewise.
3280 * db2/include/txn_auto.h: Likewise.
3281 * db2/include/db_ext.h: Likewise.
3282 * db2/include/btree_ext.h: Likewise.
3283 * db2/include/clib_ext.h: Likewise.
3284 * db2/include/common_ext.h: Likewise.
3285 * db2/include/hash_ext.h: Likewise.
3286 * db2/include/lock_ext.h: Likewise.
3287 * db2/include/log_ext.h: Likewise.
3288 * db2/include/mp_ext.h: Likewise.
3289 * db2/include/mutex_ext.h: Likewise.
3290 * db2/include/os_ext.h: Likewise.
3291 * db2/include/txn_ext.h: Likewise.
3292 * db2/include/cxx_int.h: Likewise.
3293 * db2/include/db_cxx.h: Likewise.
3294 * db2/include/queue.h: Likewise.
3295 * db2/lock/lock.c: Likewise.
3296 * db2/lock/lock_conflict.c: Likewise.
3297 * db2/lock/lock_util.c: Likewise.
3298 * db2/lock/lock_deadlock.c: Likewise.
3299 * db2/log/log.c: Likewise.
3300 * db2/log/log_get.c: Likewise.
3301 * db2/log/log.src: Likewise.
3302 * db2/log/log_compare.c: Likewise.
3303 * db2/log/log_put.c: Likewise.
3304 * db2/log/log_rec.c: Likewise.
3305 * db2/log/log_archive.c: Likewise.
3306 * db2/log/log_register.c: Likewise.
3307 * db2/log/log_auto.c: Likewise.
3308 * db2/log/log_findckp.c: Likewise.
3309 * db2/mp/mp_bh.c: Likewise.
3310 * db2/mp/mp_fget.c: Likewise.
3311 * db2/mp/mp_fopen.c: Likewise.
3312 * db2/mp/mp_fput.c: Likewise.
3313 * db2/mp/mp_fset.c: Likewise.
3314 * db2/mp/mp_open.c: Likewise.
3315 * db2/mp/mp_region.c: Likewise.
3316 * db2/mp/mp_pr.c: Likewise.
3317 * db2/mp/mp_sync.c: Likewise.
3318 * db2/mutex/68020.gcc: Likewise.
3319 * db2/mutex/mutex.c: Likewise.
3320 * db2/mutex/README: Likewise.
3321 * db2/mutex/x86.gcc: Likewise.
3322 * db2/mutex/sparc.gcc: Likewise.
3323 * db2/mutex/uts4.cc.s: Likewise.
3324 * db2/mutex/alpha.dec: Likewise.
3325 * db2/mutex/alpha.gcc: Likewise.
3326 * db2/mutex/parisc.gcc: Likewise.
3327 * db2/mutex/parisc.hp: Likewise.
3328 * db2/os/db_os_abs.c: Likewise.
3329 * db2/os/db_os_dir.c: Likewise.
3330 * db2/os/db_os_fid.c: Likewise.
3331 * db2/os/db_os_lseek.c: Likewise.
3332 * db2/os/db_os_mmap.c: Likewise.
3333 * db2/os/db_os_open.c: Likewise.
3334 * db2/os/db_os_rw.c: Likewise.
3335 * db2/os/db_os_sleep.c: Likewise.
3336 * db2/os/db_os_stat.c: Likewise.
3337 * db2/os/db_os_unlink.c: Likewise.
3338 * db2/txn/txn.c: Likewise.
3339 * db2/txn/txn.src: Likewise.
3340 * db2/txn/txn_rec.c: Likewise.
3341 * db2/txn/txn_auto.c: Likewise.
3342 * db2/clib/getlong.c: Likewise.
3343 * db2/progs/db_archive/db_archive.c: Likewise.
3344 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
3345 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
3346 * db2/progs/db_dump/db_dump.c: Likewise.
3347 * db2/progs/db_dump185/db_dump185.c: Likewise.
3348 * db2/progs/db_load/db_load.c: Likewise.
3349 * db2/progs/db_printlog/db_printlog.c: Likewise.
3350 * db2/progs/db_recover/db_recover.c: Likewise.
3351 * db2/progs/db_stat/db_stat.c: Likewise.
3353 * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline.
3355 * po/de.po, po/sv.po: Update from 2.0.5 translations.
3357 * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print.
3359 * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback
3361 * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const.
3362 * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise.
3363 * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise.
3365 1997-08-27 18:47 Ulrich Drepper <drepper@cygnus.com>
3367 * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>.
3368 Reported by Benjamin Kosnik <bkoz@cygnus.com>.
3370 1997-08-27 02:27 Roland McGrath <roland@baalperazim.frob.com>
3372 * abi-tags: New file.
3373 * csu/Makefile (distribute): Remove abi-tag.h.
3374 ($(objpfx)abi-tag.h): New target.
3375 * Makefile (distribute): Add abi-tags.
3376 * sysdeps/unix/sysv/linux/abi-tag.h: File removed.
3377 * sysdeps/mach/hurd/abi-tag.h: File removed.
3378 * sysdeps/stub/abi-tag.h: File removed.
3380 1997-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3382 * sysdeps/unix/make-syscalls.sh: Change output so that it
3383 generates compilation rules only for the currently selected object
3386 1997-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3388 * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous
3389 section to avoid confusing the compiler.
3390 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3391 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3392 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3393 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
3394 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3396 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT
3397 relocation instead of a constant to avoid text relocation.
3398 (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
3399 (RTLD_START): Declare global labels as functions and add size
3402 1997-08-25 17:01 Ulrich Drepper <drepper@cygnus.com>
3404 * sysdeps/i386/bits/select.h: Correct assembler versions to work even
3405 for descriptors >= 32.
3407 * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
3408 is used __alloca is not defined to __builtin_alloca and so might
3410 Reported by Uwe Ohse <uwe@ohse.de>.
3412 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
3413 way if gcc is not used and so dev_t is an array.
3414 Reported by Uwe Ohse <uwe@ohse.de>.
3416 1997-08-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3418 * manual/libc.texinfo: Reorder chapters to match logical order.
3420 1997-08-25 12:22 Ulrich Drepper <drepper@cygnus.com>
3422 * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
3423 xdr_reference, xdrmem_create, and xdrstdio_create because of clash
3424 with g++ internal symbols.
3425 Patch by Sudish Joseph <sj@eng.mindspring.net>.
3427 1997-08-24 Miles Bader <miles@gnu.ai.mit.edu>
3429 * string/argz.h: Add missing __END_DECLS.
3431 1997-08-24 12:24 Ulrich Drepper <drepper@cygnus.com>
3433 * configure.in (INSTALL): Quote `$'.
3435 * libc.map: Add __xpg_basename.
3437 * csu/Makefile (initfini.s): Disable optimization.
3439 * elf/dl-deps.c: Implement handling of DT_FILTER.
3441 * elf/dl-load.c (_dl_init_paths): Add error check.
3443 * intl/finddomain.c (_nl_find_domain): Correct comment.
3444 * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>.
3446 * libio/stdio.h: Make {,v}snprintf available if __USE_BSD.
3447 Change extern inline functions to work correctly in C++.
3449 * locale/iso-4217.def: Update for more recent ISO 4217 version.
3451 * locale/loadlocale.c (_nl_load_locale): Add cast.
3453 * manual/message.texi: Finish gettext section.
3455 * posix/getopt_init.c: Don't use relative #include path.
3456 (__getopt_clean_environment): Change function to take pointer to
3457 environment as argument. Optimize generation of test string a bit.
3458 * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment
3459 with additional argument.
3461 * poisx/glob.c: Add prototype for next_brace_sub.
3463 * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary
3466 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite
3467 to not generate relocation entry. Suggested by Richard Henderson.
3468 (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
3469 (elf_machine_runtime_setup): Add .aligns.
3471 * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms.
3473 * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of
3474 1997-08-14 03:14. gcc 2.7.2* is really broken in some aspects.
3476 * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit.
3477 * sysdeps/standalone/i960/i960ca.h: Likewise.
3479 1997-08-22 19:04 Richard Henderson <rth@cygnus.com>
3481 * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to
3482 undocumented test addition in _dl_map_object.
3484 Support ET_EXEC versions of ld.so, for debugging at least:
3486 * elf/dl-load.c (_dl_map_object): Add_name_to_object could get
3487 called despite the DT_SONAME != NULL test, segfaulting. Simplify
3488 the code here as well.
3489 * elf/dl-lookup.c (do_lookup): Skip objects with no symtab.
3490 (_dl_setup_hash): Likewise for hash tables.
3491 * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs.
3492 * elf/rtld.c (_dl_start): Likewise for rpath.
3493 (_dl_rtld_libname2): New variable.
3494 (dl_main): Use it to add an soname for ourselves when we don't have
3495 one of our own. Base it on the target's .interp.
3496 (dl_main): Again, skip printing of objects that don't have strtabs.
3500 * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value.
3501 (fixup): Simplify code. Use ELF_FIXUP_RETURN_VALUE.
3502 (profile_fixup): Likewise, though this still needs fixing for
3504 * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS
3505 to ELF_FIXUP_RETURN_VALUE.
3507 * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation.
3508 Fix up _dl_start_user to handle _dl_skip_args properly.
3509 Use _dl_hwcap to determine if "flush" is available/needed.
3511 * sysdeps/sparc/configure.in: Remove. It doesn't actually do
3512 anything anymore, and what it did do is done somewhere else.
3513 * sysdeps/sparc/configure: Likewise.
3515 * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New.
3517 * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code.