1 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
3 * elf/dl-support.c: Call __libc_init_secure to make sure
4 __libc_enable_secure is defined early.
5 * sysdeps/generic/enbl-secure.c: Change function name to
6 __libc_init_secure and make it global instead of a constructor.
8 * iconv/gconv.c: Fix lots of bugs.
9 * iconv/gconv.h: Likewise.
10 * iconv/gconv_builtin.h: Likewise.
11 * iconv/gconv_close.c: Likewise.
12 * iconv/gconv_conf.c: Likewise.
13 * iconv/gconv_db.c: Likewise.
14 * iconv/gconv_dl.c: Likewise.
15 * iconv/gconv_open.c: Likewise.
16 * iconv/gconv_simple.c: Likewise.
17 * iconv/iconv.c: Likewise.
18 * iconv/iconv_close.c: Likewise.
19 * iconv/iconv_open.c: Likewise.
21 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
22 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
23 * wcsmbs/wmemrtombs.c: New file.
24 * wcsmbs/wmemrtowcs.c: New file.
26 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
28 * iconv/gconv_simple.c: Fix lots of bugs.
29 * iconv/iconv_open.c: Normalize names before passing them to
32 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
34 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
35 * stdio-common/test-popen.c: Add test for above change.
37 * math/libm-test.c: Print test results also using %a format,
38 specified in PRINTF_XEXPR macro.
39 * math/test-double.c: Define PRINTF_XEXPR.
40 * math/test-float.c: Likewise.
41 * math/test-ldouble.c: Likewise.
42 * math/test-idouble.c: Likewise.
43 * math/test-ifloat.c: Likewise.
44 * math/test-ildoubl.c: Likewise.
46 * stdio-common/vfscanf.c: Recognize a in format specifier only as
47 modifier if used before s, S, or [. Otherwise it's the hexadecimal
50 * stdlib/strtod.c: Little code cleanup.
52 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
53 compiling in math subdir.
55 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
56 instead of __LIBC_M81_MATH_INLINES.
57 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
58 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
59 * sysdeps/m68k/fpu/e_pow.c: Likewise.
60 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
61 * sysdeps/m68k/fpu/k_cos.c: Likewise.
62 * sysdeps/m68k/fpu/k_sin.c: Likewise.
63 * sysdeps/m68k/fpu/k_tan.c: Likewise.
64 * sysdeps/m68k/fpu/s_atan.c: Likewise.
65 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
66 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
67 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
68 * sysdeps/m68k/fpu/s_csin.c: Likewise.
69 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
70 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
71 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
72 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
73 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
74 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
75 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
76 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
77 * sysdeps/m68k/fpu/s_modf.c: Likewise.
78 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
79 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
80 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
81 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
82 __LIBC_INTERNAL_MATH_INLINES is defined.
84 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
85 of compare macros from ISO C 9X. Optimize generic versions a bit.
86 Define __signbit inline functions and __ieee754_sqrt which can be
87 used if the ompiler is fixed.
89 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
91 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
93 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
94 sysdeps/generic in the whole dep file, not only in the first line.
96 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
98 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
100 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
102 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
105 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
107 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
110 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
112 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
115 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
117 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
118 readlink succeeds but the return value is too long.
120 * stdio-common/printf_fphex.c: Determine sign of number correctly.
122 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
124 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
127 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
129 * sysdeps/generic/sys/ucontext.h: Stub context file.
131 * libio/iofprintf.c: Removed. We use the stdio-common version.
133 * manual/Makefile (distribute): Add stdio-fp.c.
135 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
137 * db2/Makefile (distribute): Add include/os_func.h, README and
140 * hesiod/Makefile (distribute): Add README.hesiod.
142 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
144 * iconv/gconv.c: Correctly call transformation function.
146 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
148 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
150 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
151 wrong results for e.g. remquo (3,2, &x)).
152 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
153 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
155 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
157 * configure.in (ld --version-script): Test if the same symbol
158 maybe defined in all versions (needed by recent changes to
159 libc.map and supported with binutils 2.8.1.0.17) and issue warning
160 if versioning is not supported/enabled.
161 (bash test): Correct test case.
163 * math/libm-test.c: Added counting/reporting of number of test cases.
165 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
168 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
170 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
172 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
174 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
176 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
177 Replace revoke call by use of REVOKE.
178 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
179 empty and #include generic version.
180 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
182 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
184 * libc.map: Add socket functions with __libc_* names.
185 Reported by Andreas Jaeger.
187 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
189 * libc.map: Tidy up (remove duplicates, sort entries).
191 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
193 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
195 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
197 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
198 again after successful call.
199 Patch by Marc Lehmann <pcg@goof.com>.
201 1997-11-17 Paul Eggert <eggert@twinsun.com>
203 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
204 as some hosts need this to declare localtime_r properly.
206 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
208 * libc.map: Add iconv_open, iconv, and iconv_close.
210 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
212 * iconv/Makefile: New file.
213 * iconv/gconv.c: New file.
214 * iconv/gconv.h: New file.
215 * iconv/gconv_builtin.c: New file.
216 * iconv/gconv_builtin.h: New file.
217 * iconv/gconv_close.c: New file.
218 * iconv/gconv_conf.c: New file.
219 * iconv/gconv_db.c: New file.
220 * iconv/gconv_dl.c: New file.
221 * iconv/gconv_open.c: New file.
222 * iconv/gconv_simple.c: New file.
223 * iconv/iconv.c: New file.
224 * iconv/iconv.h: New file.
225 * iconv/iconv_close.c: New file.
226 * iconv/iconv_open.c: New file.
227 * include/gconv.h: New file.
229 * Makeconfig: Define gconvdir.
230 * Makefile (subdirs): Add iconv.
232 * string/bits/string2.h: Add optimization for strtok_r.
234 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
236 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
237 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
239 * configure.in: Correct test for bash2.
240 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
242 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
243 (CFLAGS-locfile.c): Likewise.
244 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
246 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
247 non-existing entry if the table is full.
249 * posix/regex.h: Pretty print.
251 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
253 * sysdeps/posix/ctermid.c: Simplify a bit.
255 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
257 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
259 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
260 <sys/types.h> instead of <asm/types.h>.
262 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
264 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
266 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
268 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
269 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
270 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
271 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
272 fclose): Added to GLIBC_2.1.
274 * libio/Makefile (routines, shared-only-routines): Add
275 oldiofclose. Remove oldfreopen.
277 * libio/freopen.c (freopen): When PIC is defined, call
278 _IO_old_freopen () for old stdio.
280 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
281 (_IO_fclose, fclose): Use _IO_new_fclose as default version
284 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
285 instead of _IO_file_close_it.
287 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
289 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
292 * libio/libioP.h (_IO_old_do_flush): New.
294 * libio/oldfileops.c (_IO_old_file_close_it,
295 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
296 Call _IO_old_do_flush () instead of _IO_do_flush ().
297 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
300 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
301 instead of _IO_file_init ().
302 Bind old symbols to version GLIBC_2.0.
304 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
305 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
307 (_IO_check_libio): New function in .init.
309 * libio/oldiofclose.c: New file.
311 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
312 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
313 (DEF_STDFILE): Don't use default_symbol_version.
315 * libio/stdio.c (stdin, stdout, stderr): Set to
317 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
320 * csu/Makefile (distribute): Add init.c.
321 (extra-objs): Add init.o for ELF.
322 (start-installed-name): Add $(objpfx)init.o.
324 * csu/init.c: New file.
326 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
328 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
329 definition as the default.
331 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
333 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
335 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
337 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
340 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
342 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
343 to preserve condition codes on function call.
345 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
347 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
349 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
351 * math/libm-test.c (asin_test): Add epsilon for float.
352 (tan_test): Add epsilon for float.
353 (log1p_test): Add epsilon for float.
354 (inverse_functions): Add epsilons.
356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
359 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
361 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
363 * md5-crypt/Makefile (extra-objs): Make recursively expanded
364 variable, since $(object-suffixes) is not defined yet.
366 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
368 * db2/Makefile (distribute): db185/db185_int.src ->
371 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
373 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
376 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
378 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
380 * sysdeps/generic/e_acosl.c: Likewise.
381 * sysdeps/generic/e_asinl.c: Likewise.
382 * sysdeps/generic/e_atan2l.c: Likewise.
383 * sysdeps/generic/e_expl.c: Likewise.
384 * sysdeps/generic/e_fmodl.c: Likewise.
385 * sysdeps/generic/e_j0l.c: Likewise.
386 * sysdeps/generic/e_j1l.c: Likewise.
387 * sysdeps/generic/e_jnl.c: Likewise.
388 * sysdeps/generic/e_lgammal_r.c: Likewise.
389 * sysdeps/generic/e_log10l.c: Likewise.
390 * sysdeps/generic/e_logl.c: Likewise.
391 * sysdeps/generic/e_powl.c: Likewise.
392 * sysdeps/generic/e_sqrtl.c: Likewise.
393 * sysdeps/generic/e_exp2l.c: Likewise.
395 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
397 * Make-dist (+sysdep-names): Remove extra paren.
398 * Makefile (distribute): Add stub-tag.h.
399 * elf/Makefile (distribute): Add atomicity.h.
400 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
402 [$(subdir)=socket]: Add net/if_packet.h.
403 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
404 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
405 net/if_packet.h, scsi/sg.h.
407 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
409 * Makefile (install): Quote $(CC) expansion.
411 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
413 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
414 working /proc cwd and no restrictions on path length. Following
415 some ideas from Andi Kleen <ak@muc.de> (PR 350).
417 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
419 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
420 * nis/nss_compat/compat-pwd.c: Likewise.
421 * nis/nss_compat/compat-spwd.c: Likewise.
423 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
425 * sysdeps/libm-i387/s_fdim.S: New file.
426 * sysdeps/libm-i387/s_fdimf.S: New file.
427 * sysdeps/libm-i387/s_fdiml.S: New file.
428 * sysdeps/libm-i387/i686/s_fdim.S: New file.
429 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
430 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
432 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
434 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
435 pointer to unsigned char.
437 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
439 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
441 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
443 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
445 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
447 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
449 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
450 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
452 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
454 * sysdeps/libm-i387/s_fmin.S: New file.
455 * sysdeps/libm-i387/s_fminf.S: New file.
456 * sysdeps/libm-i387/s_fminl.S: New file.
457 * sysdeps/libm-i387/s_fmax.S: New file.
458 * sysdeps/libm-i387/s_fmaxf.S: New file.
459 * sysdeps/libm-i387/s_fmaxl.S: New file.
460 * sysdeps/libm-i387/i686/s_fmin.S: New file.
461 * sysdeps/libm-i387/i686/s_fminf.S: New file.
462 * sysdeps/libm-i387/i686/s_fminl.S: New file.
463 * sysdeps/libm-i387/i686/s_fmax.S: New file.
464 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
465 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
467 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
469 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
470 * sysdeps/unix/sysv/linux/send.S: Likewise.
471 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
472 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
473 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
474 * sysdeps/unix/sysv/linux/recv.S: Likewise.
475 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
476 * sysdeps/unix/sysv/linux/connect.S: Likewise.
477 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
479 See ChangeLog.7 for earlier changes.