1 2004-06-21 Jakub Jelinek <jakub@redhat.com>
4 * sysdeps/unix/alpha/Makefile: New file.
5 * sysdeps/unix/alpha/rt-sysdep.S: New file.
6 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
8 2004-06-18 Ulrich Drepper <drepper@redhat.com>
10 * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
11 determine the canonical name only for the first returned entry.
13 * inet/bug-if1.c: New file.
14 * inet/Makefile (tests): Add bug-if1.
16 2004-06-18 Roland McGrath <roland@frob.com>
18 * Makerules (compile-mkdep-flags): Add -MT $@.
20 * Makefile (dist, tag-for-dist): New targets.
21 (files-for-dist, tag-of-stem): New variables.
22 (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
23 Make tar files using cvs export.
24 (%.bz2, %.gz, tag-%): New pattern rules.
25 (distribute): Variable removed.
26 (+subdir_targets): Remove distinfo targets.
27 (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
28 (rpm/%): Pattern rule removed.
29 * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
30 * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
32 * Makerules (dist, subdir_distinfo): Targets removed.
33 ($(objpfx)distinfo): Depend on $(distribute).
34 * Make-dist: File removed.
36 * NEWS: Fix a typo. Update bug-reporting instructions.
38 2004-06-17 Thorsten Kukuk <kukuk@suse.de>
40 * sysdeps/unix/sysv/linux/sched_setaffinity.c
41 (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
42 cpuset is wrongly set.
44 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
46 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
49 2004-06-14 Jakub Jelinek <jakub@redhat.com>
52 * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
53 in a local variable, point rp to that local variable afterwards.
55 2004-06-11 Jakub Jelinek <jakub@redhat.com>
57 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
60 2004-06-17 Ulrich Drepper <drepper@redhat.com>
62 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
63 error value for unknown interface. [BZ #198]
65 2004-06-13 Jakub Jelinek <jakub@redhat.com>
67 * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
68 (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
69 __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
70 the asm uses as its input, either of size __n where __n is known or
72 (strstr): Add "memory" clobber.
74 2004-06-14 Jakub Jelinek <jakub@redhat.com>
77 * nss/nsswitch.c (free_mem): Don't try to close a library handle
78 if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>.
80 2004-06-11 Dmitry V. Levin <ldv@altlinux.org>
83 * debug/xtrace.sh: Fix typo in error diagnostics.
85 2004-06-14 Andreas Schwab <schwab@suse.de>
87 * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
90 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
92 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
93 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
94 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
96 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
97 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
98 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
99 Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19.
100 Fix pasto that overflowed sigcontext.v_reserve.
101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
102 Fix pasto that clobbers r19.
103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
104 of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that
105 overflowed sigcontext.v_reserve.
107 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
110 * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
111 instead of ".gnu.linkonce.ro." as the prefix for linkonce
112 read-only section name.
114 2004-06-14 Richard Henderson <rth@redhat.com>
116 * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
117 (_ITOFT, _FTOIT, _ITOFT2): Likewise.
119 2004-06-08 Jakub Jelinek <jakub@redhat.com>
121 * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
122 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
123 (__backtrace): Don't call init #ifndef SHARED.
124 * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
125 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
126 (__backtrace): Don't call init #ifndef SHARED.
127 * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
128 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
129 (__backtrace): Don't call init #ifndef SHARED.
131 2004-06-11 Roland McGrath <roland@redhat.com>
133 * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
134 From Krzysztof Halasa <khc@pm.waw.pl>.
136 2004-06-10 Jakub Jelinek <jakub@redhat.com>
138 * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
140 2004-06-08 Jakub Jelinek <jakub@redhat.com>
143 * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
144 succeeds. Reported by Miles Ohlrich <miles@cray.com>.
146 * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
147 fails. Avoid memory leak if realloc fails.
149 2004-06-09 Jakub Jelinek <jakub@redhat.com>
151 * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
152 NULL, "" or contains '=' character in it. Reported by
153 Michael T Kerrisk <mtk-lists@gmx.net>.
154 * stdlib/tst-environ.c: Include errno.h.
155 (main): Add tests for these arguments to setenv/unsetenv.
157 2004-06-07 Roland McGrath <roland@frob.com>
159 * NEWS: Update bug reporting instructions. Fix some typos.
161 2004-06-05 Ulrich Drepper <drepper@redhat.com>
163 * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
164 * stdio-common/_itoa.c: Add _itoa implementation.
166 * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
167 to also send request. Add parameter to allow this.
169 * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
170 * nscd/nscd_getpw_r.c: Likewise.
171 * nscd/nscd-client.h: Change __nscd_open_socket prototype.
173 2004-06-05 Andreas Jaeger <aj@suse.de>
175 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
176 Handle more than 6 args correctly. Based on a patch by Masahide
177 Washizawa <washi@jp.ibm.com>.
179 2004-06-04 Ulrich Drepper <drepper@redhat.com>
181 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
182 in all places, not __nss_not_use_nscd_group.
183 Reported by Philippe Gregoire.
185 2004-06-03 Ulrich Drepper <drepper@redhat.com>
187 * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
189 2004-05-07 Dmitry V. Levin <ldv@altlinux.org>
191 * argp/argp-help.c (__argp_error, __argp_failure): Check result
192 of __asprintf call and don't use string if it failed.
193 * stdio-common/psignal.c (psignal): Likewise.
194 * locale/programs/localedef.c (more_help): Likewise.
195 * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
196 arg_bool, parse_line): Check result of __asprintf calls and
197 don't use string if they failed.
198 * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
199 * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
200 call and exit if it failed.
202 2004-05-10 Jakub Jelinek <jakub@redhat.com>
204 * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
205 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
206 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
207 _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
208 _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
209 _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
210 _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
211 _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
212 _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
213 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
214 <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
216 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
218 * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
219 -momit-leaf-frame-pointer.
221 * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
224 * sysdeps/mach/hurd/getcwd.c
225 (_hurd_canonicalize_directory_name_intern): Only realloc when
228 * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
231 * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
234 * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
235 __libc_write and __libc_lseek64.
237 2004-05-29 Roland McGrath <roland@redhat.com>
239 * elf/Makefile (shared-only-routines): Add dl-caller.
241 2004-05-28 Ulrich Drepper <drepper@redhat.com>
243 * sysdeps/powerpc/configure.in: New file.
245 2004-05-28 Steven Munroe <sjmunroe@us.ibm.com>
247 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
248 "altivec" to enable VMX instructions.
249 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
250 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
251 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
259 2004-05-27 Jakub Jelinek <jakub@redhat.com>
261 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
262 __builtin_expm1l for GCC 3.5+.
263 (__expl): Define using __builtin_expl for GCC 3.4+.
264 (exp, expf, expl): Don't define for GCC 3.4+.
265 (tan, tanf, tanl): Don't define for GCC 3.5+.
266 (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
267 (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
268 (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
269 (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
270 (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
272 (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
273 Don't define for GCC 3.5+.
274 (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
275 (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
277 (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
278 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
281 2004-05-27 Jakub Jelinek <jakub@redhat.com>
283 * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
284 * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
285 * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
286 * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
287 * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
288 * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
289 * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
290 * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
291 * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
292 * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
293 * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
294 * sysdeps/i386/i586/memcpy.S (memcpy): Remove
295 libc_hidden_builtin_def if MEMPCPY_P.
296 * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
297 * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
298 * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
299 * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
300 * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
302 2004-05-26 Roland McGrath <roland@frob.com>
304 * sysdeps/generic/bits/in.h
305 (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
306 These are long obsolete in BSD systems where they originated.
307 * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
309 2004-05-26 Jakub Jelinek <jakub@redhat.com>
311 * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
312 * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
313 (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
314 (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
315 constant '\0' and first argument is not constant.
316 (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
317 (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
318 For GCC 3.2+ use __builtin_strncpy.
319 (strncat): For GCC 3.2+ use __builtin_strncat.
320 (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
322 (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
323 if both arguments are constant.
325 2004-05-26 Ulrich Drepper <drepper@redhat.com>
327 * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
328 mapped addresses in gethostbyaddr.
330 2004-05-25 Ulrich Drepper <drepper@redhat.com>
332 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
333 flags parameter, convert afp to simple int parameter. Adjust code.
334 typep was never != NULL and flags therefore also unused. *afp is
336 * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
337 * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter
338 handling for __nss_hostname_digits_dots calls.
339 * nss/getXXbyYY_r.c: Likewise.
341 * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
343 2004-05-25 Steven Munroe <sjmunroe@us.ibm.com>
345 * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
346 * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
347 (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
348 (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
349 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
350 implementation from w_sqrt.c.
351 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
352 implementation from w_sqrtf.c.
353 * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
354 using inline __ieee754_sqrt().
355 * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
356 using inline __ieee754_sqrtf().
357 * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
358 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
359 * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
360 PPC_FEATURE_* independent of __ASSEMBLER__.
362 2004-05-25 Jakub Jelinek <jakub@redhat.com>
364 * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
366 (aio_start_notify_thread): Define if not defined.
367 (notify_func_wrapper): Use it.
368 * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
370 (aio_create_helper_thread): Define if not defined.
371 (__aio_create_helper_thread): New function.
372 (__aio_enqueue_request): Use aio_create_helper_thread.
374 * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
375 (struct ypresp_all_data): New type.
376 (__xdr_ypresp_all): Change second argument to
377 struct ypresp_all_data *. Replace ypall_foreach and
378 ypall_data with objp->foreach and objp->data.
379 (yp_all): Remove status variable, add data. Replace
380 all uses of status with data.status. Initialize data.foreach
381 and data.data instead of ypall_foreach and ypall_data.
383 2004-05-24 Jakub Jelinek <jakub@redhat.com>
385 * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
386 in l_flags_1, not in l_flags.
388 2004-04-10 Robert Millan <robertmh@gnu.org>
390 * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
391 with sysdeps/generic/bits/in.h.
393 2004-05-25 Roland McGrath <roland@frob.com>
395 * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
396 GCC GPL to standard glibc LGPL.
398 2004-05-24 Ulrich Drepper <drepper@redhat.com>
400 * manual/string.texi (Copying and Concatenation): Fixed second
402 Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
404 2004-05-23 Ulrich Drepper <drepper@redhat.com>
406 * malloc/obstack.c: Don't allow linking with _obstack.
408 2004-05-23 Andreas Schwab <schwab@suse.de>
410 * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
411 of separate "m" constraints.
413 2004-05-15 Chris Demetriou <cgd@broadcom.com>
415 * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
416 (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
417 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
419 2004-05-20 Paul Eggert <eggert@cs.ucla.edu>
421 * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
422 Add comment explaining why libc still defines it.
424 2004-05-19 Paul Eggert <eggert@cs.ucla.edu>
426 * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
427 obstack_alignment_mask, obstack_alloc, obstack_base,
428 obstack_blank, obstack_blank_fast, obstack_chunk_size,
429 obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
430 obstack_grow0, obstack_init, obstack_int_grow,
431 obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
432 obstack_next_free, obstack_object_size, obstack_ptr_grow,
433 obstack_ptr_grow_fast, obstack_room): Remove declarations of
434 nonexistent functions.
436 2004-05-18 Steven Munroe <sjmunroe@us.ibm.com>
438 * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
439 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
440 [PIC]: Redundent for powerpc64, removed.
441 (ENTRY): Generate size and alignment for opd entry.
442 (EALIGN): Generate size and alignment for opd entry.
443 (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
444 (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
446 2004-05-19 Ulrich Drepper <drepper@redhat.com>
448 * misc/regexp.h: Say the functions have been withdrawn.
450 * wcsmbs/tst-wcpncpy.c: Add more tests.
452 2004-05-18 Roland McGrath <roland@frob.com>
454 * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
456 * sysdeps/generic/unwind-dw2.c: Likewise.
457 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
458 * sysdeps/generic/unwind-dw2-fde.h: Likewise.
459 * sysdeps/generic/unwind-pe.h: Likewise.
461 2004-05-15 Petter Reinholdtsen <pere@hungry.com>
463 * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
464 MONTENEGRO" which have taken over the code 819. Patch from
465 Danilo Segan. [BZ #40]
467 2004-05-15 Jakub Jelinek <jakub@redhat.com>
469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
470 (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
473 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
475 * catgets/gencat.c: Update bug reporting instructions.
476 * csu/version.c: Likewise.
477 * debug/catchsegv.sh: Likewise.
478 * debug/pcprofiledump.c: Likewise.
479 * debug/xtrace.sh: Likewise.
480 * elf/ldd.bash.in: Likewise.
481 * iconv/iconv_prog.c: Likewise.
482 * iconv/iconvconfig.c: Likewise.
483 * locale/programs/locale.c: Likewise.
484 * locale/programs/localedef.c: Likewise.
485 * login/programs/pt_chown.c: Likewise.
486 * malloc/memusage.sh: Likewise.
487 * malloc/memusagestat.c: Likewise.
488 * malloc/mtrace.pl: Likewise.
489 * manual/crypt.texi: Likewise.
490 * manual/install.texi: Likewise.
491 * nss/makedb.c: Likewise.
493 2004-05-14 Jakub Jelinek <jakub@redhat.com>
495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
496 CHECK_STATIC_TLS if sym != NULL.
497 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
498 * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
500 2004-05-12 Andreas Schwab <schwab@suse.de>
502 * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
505 2004-05-13 H.J. Lu <hongjiu.lu@intel.com>
507 * Rules (xtests): Depend on tests.
509 2004-05-13 Jakub Jelinek <jakub@redhat.com>
511 * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
512 count is negative, yet write_ptr < write_end.
513 (_IO_default_xsgetn): Avoid one underflow per char if count is
514 negative, yet read_ptr < read_end.
516 2004-05-12 Steven Munroe <sjmunroe@us.ibm.com>
518 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
521 2004-05-12 Ulrich Drepper <drepper@redhat.com>
523 * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
526 2004-05-10 Roland McGrath <roland@frob.com>
528 * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
529 (__hurd_directory_name_split): Likewise.
531 2004-05-10 Ulrich Drepper <drepper@redhat.com>
533 * po/fr.po: Update from translation team.
535 2004-05-10 Andreas Jaeger <aj@suse.de>
537 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
538 Correctly compute alignment.
539 Patch by Michael Matz <matz@suse.de>.
541 2004-05-09 Ulrich Drepper <drepper@redhat.com>
543 * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
544 * sysdeps/posix/sigpause.c: Likewise.
545 * signal/signal.h: Don't define sigpause macro unless needed.
547 2004-05-08 Jakub Jelinek <jakub@redhat.com>
549 * configure.in (libc_cv_libgcc_s_suffix): New check.
550 (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
551 * config.make.in (libgcc_s_suffix): Set.
552 * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
554 2004-05-08 Ulrich Drepper <drepper@redhat.com>
556 * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
558 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
561 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
562 Load argument values into temporary variables.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
564 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
567 2004-05-07 Ulrich Drepper <drepper@redhat.com>
569 * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
570 need to be compiled with exceptions.
572 2004-05-06 Ulrich Drepper <drepper@redhat.com>
574 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
575 * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
577 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
580 * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
583 * nis/nis_table.c: Clean up memory handling.
584 * nis/nis_subr.c (nis_getnames): Clean up memory handling.
585 * nis/nis_removemember.c (nis_removemember): Add comment
586 explaining use of realloc.
588 * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
590 Patch by Lev S Bishop <lev.bishop@yale.edu>.
592 * math/bug-tgmath1.c (main): Test fabs and carg as well.
594 2004-05-06 Richard Henderson <rth@redhat.com>
596 * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
597 AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
598 * sysdeps/unix/sysv/linux/alpha/Versions: Export
599 __libc_alpha_cache_shape as a private symbol.
600 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
601 * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
603 2004-05-06 Richard Henderson <rth@redhat.com>
605 * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
606 * sysdeps/alpha/divl.S: Use them.
607 * sysdeps/alpha/divq.S: Likewise.
608 * sysdeps/alpha/divqu.S: Likewise.
609 * sysdeps/alpha/reml.S: Likewise.
610 * sysdeps/alpha/remq.S: Likewise.
611 * sysdeps/alpha/remqu.S: Likewise.
613 2004-05-06 Ulrich Drepper <drepper@redhat.com>
615 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
618 * math/Makefile (tests): Add bug-tgmath1.
619 * math/bug-tgmath1.c: New file.
621 2004-05-05 Jakub Jelinek <jakub@redhat.com>
623 * sysdeps/alpha/atomicity.h: Remove.
624 * sysdeps/generic/atomicity.h: Remove.
626 2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
628 * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
631 2004-04-22 David Mosberger <davidm@hpl.hp.com>
633 * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
635 * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
637 * sysdeps/ia64/strcat.c: New file.
638 * sysdeps/ia64/strcat.S: Delete.
640 2004-05-04 Jakub Jelinek <jakub@redhat.com>
642 * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
645 2004-04-23 Jakub Jelinek <jakub@redhat.com>
647 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
648 libc_hidden_proto. Define to __GI___libm_error_support for
649 assembly going into libc.so.
650 * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
653 * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
654 * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
656 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
657 gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
660 2004-05-03 Jakub Jelinek <jakub@redhat.com>
662 * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
663 __USE_BSD or __USE_UNIX98.
664 * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
665 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
666 * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
668 * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
669 * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
670 * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
671 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
673 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
675 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
677 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
681 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
685 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
687 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
689 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
691 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
693 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
695 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
697 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
698 * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
699 * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
701 2004-05-01 Jakub Jelinek <jakub@redhat.com>
703 * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
704 __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
705 __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
706 * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
707 * sysdeps/unix/sysv/linux/Versions (libc): Remove
708 __libc_sigaction@@GLIBC_PRIVATE.
709 * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
710 __modify_ldt@@GLIBC_PRIVATE.
711 * socket/Versions (libc): Remove __libc_accept, __libc_send,
712 __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
713 __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
714 * stdio-common/Versions (libc): Remove
715 _itoa_upper_digits@@GLIBC_PRIVATE.
716 * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
717 * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
718 __libc_readv and __libc_writev @@GLIBC_PRIVATE.
719 * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
720 * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
721 __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
722 __libc_lseek64 @@GLIBC_PRIVATE.
724 2004-04-30 Jakub Jelinek <jakub@redhat.com>
726 * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
729 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
731 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
732 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
733 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
734 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
735 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
736 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
737 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
738 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
739 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
740 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
741 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
742 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
743 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
744 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
745 * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
746 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
747 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
748 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
750 * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
751 mantissa for AIX long double format.
752 * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
754 * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
755 * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
756 (_fpioconst_pow10): AIX long double format has same exponent range as
758 * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
759 (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
762 2004-04-23 Art Haas <ahaas@airmail.net>
764 * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
766 2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
768 * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
769 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
770 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
771 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
772 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
774 2004-04-29 Philip Blundell <pb@nexus.co.uk>
776 * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
779 2004-04-29 Jakub Jelinek <jakub@redhat.com>
781 * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
782 prototypes and description [BZ #131].
784 * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
785 Patch by Ed Catmur <ed@catmur.co.uk>.
786 * string/tst-inlcall.c (main): Add test for strpbrk.
789 * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
791 (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
792 yet defined, #undef back after including linux/sysctl.h if defined
794 (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
795 back after including linux/sysctl.h if defined here.
797 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
798 for single precision register, add it to __asm clobbers [BZ #139].
799 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
800 for single precision register, add it to __asm clobbers.
801 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
802 instead of fqtoi in QP_HANDLE_EXCEPTIONS.
803 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
804 Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
806 2004-04-23 Andreas Schwab <schwab@suse.de>
808 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
811 2004-04-22 Philip Blundell <philb@gnu.org>
813 * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
814 when calling _dl_signal_error.
815 (elf_machine_rel): Likewise.
817 2004-04-21 Ulrich Drepper <drepper@redhat.com>
819 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
820 and use it internally instead of __sigsetjmp.
821 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
822 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
823 * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
824 * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
825 * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
826 * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
827 * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
828 _GI___libm_frexp_4f, _GI___libm_frexp_4l.
829 * sysdeps/ia64/fpu/bits/mathinline.h: New file.
830 * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
831 HIDDEN_JUMPTARGET for exit call.
832 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
834 * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
835 * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
838 2004-04-21 Jakub Jelinek <jakub@redhat.com>
840 * posix/tst-chmod.c (do_test): Fix a typo.
842 * elf/lateglobal.c (main): Fix error checks.
843 Patch by Stephen Clarke <stephen.clarke@st.com>.
845 * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
846 mention they have been added in ISO C99.
847 Reported by Ben Pfaff <blp@cs.stanford.edu>.
849 2004-03-31 H.J. Lu <hongjiu.lu@intel.com>
851 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
853 2004-04-20 Jakub Jelinek <jakub@redhat.com>
855 * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
858 2004-04-20 Jakub Jelinek <jakub@redhat.com>
860 * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
862 * stdio-common/tst-sscanf.c (int_tests): Adjust.
864 * nis/nss-nis.c: Include stdlib.h.
866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
868 * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
869 libc_hidden_builtin_def.
871 2004-04-20 Jim Meyering <jim@meyering.net>
873 * misc/error.c (error_tail): Don't leak upon realloc failure.
875 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
877 * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
878 Use RETURN_ADDRESS instead of __builtin_return_address.
880 2004-04-19 Ulrich Drepper <drepper@redhat.com>
882 * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
885 2004-04-20 Jakub Jelinek <jakub@redhat.com>
887 * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
888 do input_error () instead of conv_error () and don't look at errno.
889 Don't eat any whitespace before %% if skip_space == 0.
890 * stdio-common/tst-sscanf.c (int_tests): New array.
891 (main): Run int_tests.
894 See ChangeLog.14 for earlier changes.