1 2004-07-05 Jakub Jelinek <jakub@redhat.com>
3 * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
4 __libc_siglongjmp): Remove symbol_version.
5 * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
6 Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
7 * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
9 * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
10 * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
11 strong_alias instead of default_symbol_version, remove
13 * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
14 * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
15 into strong_alias to __novmxsetjmp.
16 (__vmx__setjmp): Similarly with __vmxsetjmp.
17 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
18 default_symbol_version and symbol_version.
19 * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
20 into strong_alias to __novmxsetjmp.
21 (__vmx__setjmp): Similarly with __vmxsetjmp.
22 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
23 default_symbol_version and symbol_version.
25 * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
27 2004-07-05 Ulrich Drepper <drepper@redhat.com>
29 * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
31 2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk>
33 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
34 instead of libc_hidden_def.
36 2004-07-01 Roland McGrath <roland@redhat.com>
38 * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
40 * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
41 $(..)shlib-versions file to last in deps list. This lets add-ons give
42 more-specific matches that override defaults in the top-level file.
44 * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
45 already set, don't set it or libc_cv_gcc_unwind_find_fde.
46 * sysdeps/unix/sysv/linux/configure: Regenerated.
48 2004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
50 * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
51 (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
52 (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
53 * sysdeps/s390/fpu/e_sqrt.c: New file.
54 * sysdeps/s390/fpu/e_sqrtf.c: New file.
55 * sysdeps/s390/Implies: New file.
56 * sysdeps/s390/s390-32/Implies: Remove ieee754, move
57 ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
58 * sysdeps/s390/s390-64/Implies: Likewise.
60 2004-06-30 Jakub Jelinek <jakub@redhat.com>
62 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
63 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
65 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
66 DO_CALL (exit, 1) instead of branching to _exit.
67 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
70 * sysdeps/s390/fpu/bits/mathinline.h: New file.
72 * include/glob.h (glob64): Add libc_hidden_proto.
73 * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
74 * sysdeps/gnu/glob64.c (glob64): Likewise.
75 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
77 2004-06-11 Jakub Jelinek <jakub@redhat.com>
79 * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
80 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
82 2004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com>
84 * sysdeps/powerpc/fpu/s_lround.c: Removed.
85 * sysdeps/powerpc/fpu/s_lroundf.c: Removed.
86 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
87 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
88 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
89 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
90 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
91 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
92 * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
93 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
94 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
95 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
96 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
97 * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
98 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
99 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
101 2004-06-30 Ulrich Drepper <drepper@redhat.com>
103 * include/net/if.h: Handle if_nameindex and if_freenameindex with
105 * sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
106 * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
107 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
108 netlink if possible. Fall back on ioctl method if necessary.
109 * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
111 * include/unistd.h: Declare __truncate.
112 * sysdeps/generic/truncate.c: Also define __truncate.
113 * sysdeps/mach/hurd/truncate.c: Likewise.
114 * sysdeps/unix/common/syscalls.list: Likewise.
115 * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
117 2004-06-29 Ulrich Drepper <drepper@redhat.com>
119 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
120 info.extra. Patch by Marcus Meissner.
122 2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
124 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
125 Fix branch offset for a PLT entry.
127 2004-06-20 Jim Meyering <jim@meyering.net>
129 * malloc/obstack.h (obstack_base): Cast to `void *', to align with
132 2004-06-28 Ulrich Drepper <drepper@redhat.com>
134 * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
135 Workaround for [BZ #232].
137 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.
139 2004-06-28 GOTO Masanori <gotom@debian.or.jp>
141 * iconv/gconv_simple.c: Use get16/put16 for user given buffer
142 in ucs2/ucs2reverse when unaligned memory access is attempted.
143 * iconv/tst-iconv5.c: New file.
144 * iconv/Makefile (tests): Add tst-iconv5.
146 2004-06-28 Jakub Jelinek <jakub@redhat.com>
148 * inet/bug-if1.c: Include <string.h>.
150 2004-06-19 Roland McGrath <roland@redhat.com>
152 * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
153 under this macro name instead.
154 [NO_DO_WAITID]: Don't define it at all.
155 (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
156 defined, then return ENOTSUP for combinations of selection bits other
157 than WEXITED and WEXITED|WSTOPPED, which this version cannot support.
159 * posix/tst-waitid.c: New file.
160 * posix/Makefile (tests): Add it.
162 2004-06-28 Jakub Jelinek <jakub@redhat.com>
164 * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.
167 * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
168 relocation in librt.so.
171 * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
172 _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
174 2004-06-27 Ulrich Drepper <drepper@redhat.com>
176 * elf/ldconfig.c (add_dir): Take chroot into account.
177 Based on changes by HJ Lu and Hideki Iwamoto.
179 * nscd/connections.c (invalidate_cache): If the host cache has to
180 be invalidated, re-read resolv.conf.
182 * resolv/resolv.h (RES_NOIP6DOTINT): Define.
183 * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
184 * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
185 if RES_NOIP6DOTINT flag is set.
186 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
188 2004-06-25 Jakub Jelinek <jakub@redhat.com>
190 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
192 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.
196 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
197 F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
199 2004-06-21 Jakub Jelinek <jakub@redhat.com>
202 * sysdeps/unix/alpha/Makefile: New file.
203 * sysdeps/unix/alpha/rt-sysdep.S: New file.
204 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
206 2004-06-18 Ulrich Drepper <drepper@redhat.com>
208 * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
209 determine the canonical name only for the first returned entry.
211 * inet/bug-if1.c: New file.
212 * inet/Makefile (tests): Add bug-if1.
214 2004-06-18 Roland McGrath <roland@frob.com>
216 * Makerules (compile-mkdep-flags): Add -MT $@.
218 * Makefile (dist, tag-for-dist): New targets.
219 (files-for-dist, tag-of-stem): New variables.
220 (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
221 Make tar files using cvs export.
222 (%.bz2, %.gz, tag-%): New pattern rules.
223 (distribute): Variable removed.
224 (+subdir_targets): Remove distinfo targets.
225 (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
226 (rpm/%): Pattern rule removed.
227 * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
228 * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
230 * Makerules (dist, subdir_distinfo): Targets removed.
231 ($(objpfx)distinfo): Depend on $(distribute).
232 * Make-dist: File removed.
234 * NEWS: Fix a typo. Update bug-reporting instructions.
236 2004-06-17 Thorsten Kukuk <kukuk@suse.de>
238 * sysdeps/unix/sysv/linux/sched_setaffinity.c
239 (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
240 cpuset is wrongly set.
242 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
244 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
247 2004-06-14 Jakub Jelinek <jakub@redhat.com>
250 * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
251 in a local variable, point rp to that local variable afterwards.
253 2004-06-11 Jakub Jelinek <jakub@redhat.com>
255 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
258 2004-06-17 Ulrich Drepper <drepper@redhat.com>
260 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
261 error value for unknown interface. [BZ #198]
263 2004-06-13 Jakub Jelinek <jakub@redhat.com>
265 * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
266 (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
267 __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
268 the asm uses as its input, either of size __n where __n is known or
270 (strstr): Add "memory" clobber.
272 2004-06-14 Jakub Jelinek <jakub@redhat.com>
275 * nss/nsswitch.c (free_mem): Don't try to close a library handle
276 if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>.
278 2004-06-11 Dmitry V. Levin <ldv@altlinux.org>
281 * debug/xtrace.sh: Fix typo in error diagnostics.
283 2004-06-14 Andreas Schwab <schwab@suse.de>
285 * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
288 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
291 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
295 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
297 Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19.
298 Fix pasto that overflowed sigcontext.v_reserve.
299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
300 Fix pasto that clobbers r19.
301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
302 of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that
303 overflowed sigcontext.v_reserve.
305 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
308 * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
309 instead of ".gnu.linkonce.ro." as the prefix for linkonce
310 read-only section name.
312 2004-06-14 Richard Henderson <rth@redhat.com>
314 * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
315 (_ITOFT, _FTOIT, _ITOFT2): Likewise.
317 2004-06-08 Jakub Jelinek <jakub@redhat.com>
319 * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
320 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
321 (__backtrace): Don't call init #ifndef SHARED.
322 * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
323 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
324 (__backtrace): Don't call init #ifndef SHARED.
325 * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
326 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
327 (__backtrace): Don't call init #ifndef SHARED.
329 2004-06-11 Roland McGrath <roland@redhat.com>
331 * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
332 From Krzysztof Halasa <khc@pm.waw.pl>.
334 2004-06-10 Jakub Jelinek <jakub@redhat.com>
336 * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
338 2004-06-08 Jakub Jelinek <jakub@redhat.com>
341 * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
342 succeeds. Reported by Miles Ohlrich <miles@cray.com>.
344 * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
345 fails. Avoid memory leak if realloc fails.
347 2004-06-09 Jakub Jelinek <jakub@redhat.com>
349 * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
350 NULL, "" or contains '=' character in it. Reported by
351 Michael T Kerrisk <mtk-lists@gmx.net>.
352 * stdlib/tst-environ.c: Include errno.h.
353 (main): Add tests for these arguments to setenv/unsetenv.
355 2004-06-07 Roland McGrath <roland@frob.com>
357 * NEWS: Update bug reporting instructions. Fix some typos.
359 2004-06-05 Ulrich Drepper <drepper@redhat.com>
361 * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
362 * stdio-common/_itoa.c: Add _itoa implementation.
364 * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
365 to also send request. Add parameter to allow this.
367 * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
368 * nscd/nscd_getpw_r.c: Likewise.
369 * nscd/nscd-client.h: Change __nscd_open_socket prototype.
371 2004-06-05 Andreas Jaeger <aj@suse.de>
373 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
374 Handle more than 6 args correctly. Based on a patch by Masahide
375 Washizawa <washi@jp.ibm.com>.
377 2004-06-04 Ulrich Drepper <drepper@redhat.com>
379 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
380 in all places, not __nss_not_use_nscd_group.
381 Reported by Philippe Gregoire.
383 2004-06-03 Ulrich Drepper <drepper@redhat.com>
385 * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
387 2004-05-07 Dmitry V. Levin <ldv@altlinux.org>
389 * argp/argp-help.c (__argp_error, __argp_failure): Check result
390 of __asprintf call and don't use string if it failed.
391 * stdio-common/psignal.c (psignal): Likewise.
392 * locale/programs/localedef.c (more_help): Likewise.
393 * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
394 arg_bool, parse_line): Check result of __asprintf calls and
395 don't use string if they failed.
396 * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
397 * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
398 call and exit if it failed.
400 2004-05-10 Jakub Jelinek <jakub@redhat.com>
402 * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
403 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
404 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
405 _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
406 _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
407 _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
408 _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
409 _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
410 _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
411 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
412 <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
414 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
416 * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
417 -momit-leaf-frame-pointer.
419 * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
422 * sysdeps/mach/hurd/getcwd.c
423 (_hurd_canonicalize_directory_name_intern): Only realloc when
426 * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
429 * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
432 * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
433 __libc_write and __libc_lseek64.
435 2004-05-29 Roland McGrath <roland@redhat.com>
437 * elf/Makefile (shared-only-routines): Add dl-caller.
439 2004-05-28 Ulrich Drepper <drepper@redhat.com>
441 * sysdeps/powerpc/configure.in: New file.
443 2004-05-28 Steven Munroe <sjmunroe@us.ibm.com>
445 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
446 "altivec" to enable VMX instructions.
447 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
448 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
449 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
457 2004-05-27 Jakub Jelinek <jakub@redhat.com>
459 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
460 __builtin_expm1l for GCC 3.5+.
461 (__expl): Define using __builtin_expl for GCC 3.4+.
462 (exp, expf, expl): Don't define for GCC 3.4+.
463 (tan, tanf, tanl): Don't define for GCC 3.5+.
464 (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
465 (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
466 (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
467 (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
468 (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
470 (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
471 Don't define for GCC 3.5+.
472 (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
473 (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
475 (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
476 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
479 2004-05-27 Jakub Jelinek <jakub@redhat.com>
481 * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
482 * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
483 * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
484 * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
485 * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
486 * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
487 * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
488 * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
489 * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
490 * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
491 * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
492 * sysdeps/i386/i586/memcpy.S (memcpy): Remove
493 libc_hidden_builtin_def if MEMPCPY_P.
494 * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
495 * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
496 * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
497 * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
498 * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
500 2004-05-26 Roland McGrath <roland@frob.com>
502 * sysdeps/generic/bits/in.h
503 (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
504 These are long obsolete in BSD systems where they originated.
505 * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
507 2004-05-26 Jakub Jelinek <jakub@redhat.com>
509 * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
510 * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
511 (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
512 (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
513 constant '\0' and first argument is not constant.
514 (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
515 (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
516 For GCC 3.2+ use __builtin_strncpy.
517 (strncat): For GCC 3.2+ use __builtin_strncat.
518 (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
520 (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
521 if both arguments are constant.
523 2004-05-26 Ulrich Drepper <drepper@redhat.com>
525 * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
526 mapped addresses in gethostbyaddr.
528 2004-05-25 Ulrich Drepper <drepper@redhat.com>
530 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
531 flags parameter, convert afp to simple int parameter. Adjust code.
532 typep was never != NULL and flags therefore also unused. *afp is
534 * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
535 * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter
536 handling for __nss_hostname_digits_dots calls.
537 * nss/getXXbyYY_r.c: Likewise.
539 * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
541 2004-05-25 Steven Munroe <sjmunroe@us.ibm.com>
543 * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
544 * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
545 (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
546 (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
547 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
548 implementation from w_sqrt.c.
549 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
550 implementation from w_sqrtf.c.
551 * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
552 using inline __ieee754_sqrt().
553 * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
554 using inline __ieee754_sqrtf().
555 * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
556 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
557 * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
558 PPC_FEATURE_* independent of __ASSEMBLER__.
560 2004-05-25 Jakub Jelinek <jakub@redhat.com>
562 * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
564 (aio_start_notify_thread): Define if not defined.
565 (notify_func_wrapper): Use it.
566 * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
568 (aio_create_helper_thread): Define if not defined.
569 (__aio_create_helper_thread): New function.
570 (__aio_enqueue_request): Use aio_create_helper_thread.
572 * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
573 (struct ypresp_all_data): New type.
574 (__xdr_ypresp_all): Change second argument to
575 struct ypresp_all_data *. Replace ypall_foreach and
576 ypall_data with objp->foreach and objp->data.
577 (yp_all): Remove status variable, add data. Replace
578 all uses of status with data.status. Initialize data.foreach
579 and data.data instead of ypall_foreach and ypall_data.
581 2004-05-24 Jakub Jelinek <jakub@redhat.com>
583 * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
584 in l_flags_1, not in l_flags.
586 2004-04-10 Robert Millan <robertmh@gnu.org>
588 * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
589 with sysdeps/generic/bits/in.h.
591 2004-05-25 Roland McGrath <roland@frob.com>
593 * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
594 GCC GPL to standard glibc LGPL.
596 2004-05-24 Ulrich Drepper <drepper@redhat.com>
598 * manual/string.texi (Copying and Concatenation): Fixed second
600 Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
602 2004-05-23 Ulrich Drepper <drepper@redhat.com>
604 * malloc/obstack.c: Don't allow linking with _obstack.
606 2004-05-23 Andreas Schwab <schwab@suse.de>
608 * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
609 of separate "m" constraints.
611 2004-05-15 Chris Demetriou <cgd@broadcom.com>
613 * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
614 (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
615 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
617 2004-05-20 Paul Eggert <eggert@cs.ucla.edu>
619 * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
620 Add comment explaining why libc still defines it.
622 2004-05-19 Paul Eggert <eggert@cs.ucla.edu>
624 * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
625 obstack_alignment_mask, obstack_alloc, obstack_base,
626 obstack_blank, obstack_blank_fast, obstack_chunk_size,
627 obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
628 obstack_grow0, obstack_init, obstack_int_grow,
629 obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
630 obstack_next_free, obstack_object_size, obstack_ptr_grow,
631 obstack_ptr_grow_fast, obstack_room): Remove declarations of
632 nonexistent functions.
634 2004-05-18 Steven Munroe <sjmunroe@us.ibm.com>
636 * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
637 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
638 [PIC]: Redundent for powerpc64, removed.
639 (ENTRY): Generate size and alignment for opd entry.
640 (EALIGN): Generate size and alignment for opd entry.
641 (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
642 (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
644 2004-05-19 Ulrich Drepper <drepper@redhat.com>
646 * misc/regexp.h: Say the functions have been withdrawn.
648 * wcsmbs/tst-wcpncpy.c: Add more tests.
650 2004-05-18 Roland McGrath <roland@frob.com>
652 * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
654 * sysdeps/generic/unwind-dw2.c: Likewise.
655 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
656 * sysdeps/generic/unwind-dw2-fde.h: Likewise.
657 * sysdeps/generic/unwind-pe.h: Likewise.
659 2004-05-15 Petter Reinholdtsen <pere@hungry.com>
661 * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
662 MONTENEGRO" which have taken over the code 819. Patch from
663 Danilo Segan. [BZ #40]
665 2004-05-15 Jakub Jelinek <jakub@redhat.com>
667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
668 (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
671 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
673 * catgets/gencat.c: Update bug reporting instructions.
674 * csu/version.c: Likewise.
675 * debug/catchsegv.sh: Likewise.
676 * debug/pcprofiledump.c: Likewise.
677 * debug/xtrace.sh: Likewise.
678 * elf/ldd.bash.in: Likewise.
679 * iconv/iconv_prog.c: Likewise.
680 * iconv/iconvconfig.c: Likewise.
681 * locale/programs/locale.c: Likewise.
682 * locale/programs/localedef.c: Likewise.
683 * login/programs/pt_chown.c: Likewise.
684 * malloc/memusage.sh: Likewise.
685 * malloc/memusagestat.c: Likewise.
686 * malloc/mtrace.pl: Likewise.
687 * manual/crypt.texi: Likewise.
688 * manual/install.texi: Likewise.
689 * nss/makedb.c: Likewise.
691 2004-05-14 Jakub Jelinek <jakub@redhat.com>
693 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
694 CHECK_STATIC_TLS if sym != NULL.
695 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
696 * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
698 2004-05-12 Andreas Schwab <schwab@suse.de>
700 * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
703 2004-05-13 H.J. Lu <hongjiu.lu@intel.com>
705 * Rules (xtests): Depend on tests.
707 2004-05-13 Jakub Jelinek <jakub@redhat.com>
709 * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
710 count is negative, yet write_ptr < write_end.
711 (_IO_default_xsgetn): Avoid one underflow per char if count is
712 negative, yet read_ptr < read_end.
714 2004-05-12 Steven Munroe <sjmunroe@us.ibm.com>
716 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
719 2004-05-12 Ulrich Drepper <drepper@redhat.com>
721 * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
724 2004-05-10 Roland McGrath <roland@frob.com>
726 * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
727 (__hurd_directory_name_split): Likewise.
729 2004-05-10 Ulrich Drepper <drepper@redhat.com>
731 * po/fr.po: Update from translation team.
733 2004-05-10 Andreas Jaeger <aj@suse.de>
735 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
736 Correctly compute alignment.
737 Patch by Michael Matz <matz@suse.de>.
739 2004-05-09 Ulrich Drepper <drepper@redhat.com>
741 * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
742 * sysdeps/posix/sigpause.c: Likewise.
743 * signal/signal.h: Don't define sigpause macro unless needed.
745 2004-05-08 Jakub Jelinek <jakub@redhat.com>
747 * configure.in (libc_cv_libgcc_s_suffix): New check.
748 (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
749 * config.make.in (libgcc_s_suffix): Set.
750 * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
752 2004-05-08 Ulrich Drepper <drepper@redhat.com>
754 * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
756 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
759 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
760 Load argument values into temporary variables.
761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
762 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
765 2004-05-07 Ulrich Drepper <drepper@redhat.com>
767 * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
768 need to be compiled with exceptions.
770 2004-05-06 Ulrich Drepper <drepper@redhat.com>
772 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
773 * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
775 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
778 * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
781 * nis/nis_table.c: Clean up memory handling.
782 * nis/nis_subr.c (nis_getnames): Clean up memory handling.
783 * nis/nis_removemember.c (nis_removemember): Add comment
784 explaining use of realloc.
786 * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
788 Patch by Lev S Bishop <lev.bishop@yale.edu>.
790 * math/bug-tgmath1.c (main): Test fabs and carg as well.
792 2004-05-06 Richard Henderson <rth@redhat.com>
794 * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
795 AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
796 * sysdeps/unix/sysv/linux/alpha/Versions: Export
797 __libc_alpha_cache_shape as a private symbol.
798 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
799 * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
801 2004-05-06 Richard Henderson <rth@redhat.com>
803 * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
804 * sysdeps/alpha/divl.S: Use them.
805 * sysdeps/alpha/divq.S: Likewise.
806 * sysdeps/alpha/divqu.S: Likewise.
807 * sysdeps/alpha/reml.S: Likewise.
808 * sysdeps/alpha/remq.S: Likewise.
809 * sysdeps/alpha/remqu.S: Likewise.
811 2004-05-06 Ulrich Drepper <drepper@redhat.com>
813 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
816 * math/Makefile (tests): Add bug-tgmath1.
817 * math/bug-tgmath1.c: New file.
819 2004-05-05 Jakub Jelinek <jakub@redhat.com>
821 * sysdeps/alpha/atomicity.h: Remove.
822 * sysdeps/generic/atomicity.h: Remove.
824 2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
826 * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
829 2004-04-22 David Mosberger <davidm@hpl.hp.com>
831 * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
833 * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
835 * sysdeps/ia64/strcat.c: New file.
836 * sysdeps/ia64/strcat.S: Delete.
838 2004-05-04 Jakub Jelinek <jakub@redhat.com>
840 * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
843 2004-04-23 Jakub Jelinek <jakub@redhat.com>
845 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
846 libc_hidden_proto. Define to __GI___libm_error_support for
847 assembly going into libc.so.
848 * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
851 * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
852 * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
854 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
855 gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
858 2004-05-03 Jakub Jelinek <jakub@redhat.com>
860 * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
861 __USE_BSD or __USE_UNIX98.
862 * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
863 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
864 * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
866 * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
867 * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
868 * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
869 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
871 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
873 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
875 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
877 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
879 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
881 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
883 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
885 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
887 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
889 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
891 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
893 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
895 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
896 * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
897 * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
899 2004-05-01 Jakub Jelinek <jakub@redhat.com>
901 * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
902 __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
903 __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
904 * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
905 * sysdeps/unix/sysv/linux/Versions (libc): Remove
906 __libc_sigaction@@GLIBC_PRIVATE.
907 * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
908 __modify_ldt@@GLIBC_PRIVATE.
909 * socket/Versions (libc): Remove __libc_accept, __libc_send,
910 __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
911 __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
912 * stdio-common/Versions (libc): Remove
913 _itoa_upper_digits@@GLIBC_PRIVATE.
914 * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
915 * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
916 __libc_readv and __libc_writev @@GLIBC_PRIVATE.
917 * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
918 * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
919 __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
920 __libc_lseek64 @@GLIBC_PRIVATE.
922 2004-04-30 Jakub Jelinek <jakub@redhat.com>
924 * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
927 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
929 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
930 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
931 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
932 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
933 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
934 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
935 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
936 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
937 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
938 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
939 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
940 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
941 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
942 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
943 * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
944 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
945 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
946 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
948 * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
949 mantissa for AIX long double format.
950 * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
952 * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
953 * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
954 (_fpioconst_pow10): AIX long double format has same exponent range as
956 * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
957 (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
960 2004-04-23 Art Haas <ahaas@airmail.net>
962 * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
964 2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
966 * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
967 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
968 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
969 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
970 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
972 2004-04-29 Philip Blundell <pb@nexus.co.uk>
974 * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
977 2004-04-29 Jakub Jelinek <jakub@redhat.com>
979 * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
980 prototypes and description [BZ #131].
982 * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
983 Patch by Ed Catmur <ed@catmur.co.uk>.
984 * string/tst-inlcall.c (main): Add test for strpbrk.
987 * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
989 (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
990 yet defined, #undef back after including linux/sysctl.h if defined
992 (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
993 back after including linux/sysctl.h if defined here.
995 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
996 for single precision register, add it to __asm clobbers [BZ #139].
997 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
998 for single precision register, add it to __asm clobbers.
999 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
1000 instead of fqtoi in QP_HANDLE_EXCEPTIONS.
1001 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
1002 Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
1004 2004-04-23 Andreas Schwab <schwab@suse.de>
1006 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
1009 2004-04-22 Philip Blundell <philb@gnu.org>
1011 * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
1012 when calling _dl_signal_error.
1013 (elf_machine_rel): Likewise.
1015 2004-04-21 Ulrich Drepper <drepper@redhat.com>
1017 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
1018 and use it internally instead of __sigsetjmp.
1019 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
1020 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
1021 * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
1022 * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
1023 * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
1024 * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
1025 * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
1026 _GI___libm_frexp_4f, _GI___libm_frexp_4l.
1027 * sysdeps/ia64/fpu/bits/mathinline.h: New file.
1028 * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
1029 HIDDEN_JUMPTARGET for exit call.
1030 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
1032 * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
1033 * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
1036 2004-04-21 Jakub Jelinek <jakub@redhat.com>
1038 * posix/tst-chmod.c (do_test): Fix a typo.
1040 * elf/lateglobal.c (main): Fix error checks.
1041 Patch by Stephen Clarke <stephen.clarke@st.com>.
1043 * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
1044 mention they have been added in ISO C99.
1045 Reported by Ben Pfaff <blp@cs.stanford.edu>.
1047 2004-03-31 H.J. Lu <hongjiu.lu@intel.com>
1049 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
1051 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1053 * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
1056 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1058 * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
1060 * stdio-common/tst-sscanf.c (int_tests): Adjust.
1062 * nis/nss-nis.c: Include stdlib.h.
1064 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
1066 * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
1067 libc_hidden_builtin_def.
1069 2004-04-20 Jim Meyering <jim@meyering.net>
1071 * misc/error.c (error_tail): Don't leak upon realloc failure.
1073 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1075 * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
1076 Use RETURN_ADDRESS instead of __builtin_return_address.
1078 2004-04-19 Ulrich Drepper <drepper@redhat.com>
1080 * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
1083 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1085 * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
1086 do input_error () instead of conv_error () and don't look at errno.
1087 Don't eat any whitespace before %% if skip_space == 0.
1088 * stdio-common/tst-sscanf.c (int_tests): New array.
1089 (main): Run int_tests.
1092 See ChangeLog.14 for earlier changes.