1 2004-06-08 Jakub Jelinek <jakub@redhat.com>
3 * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
4 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
5 (__backtrace): Don't call init #ifndef SHARED.
6 * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
7 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
8 (__backtrace): Don't call init #ifndef SHARED.
9 * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
10 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
11 (__backtrace): Don't call init #ifndef SHARED.
13 2004-06-11 Roland McGrath <roland@redhat.com>
15 * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
16 From Krzysztof Halasa <khc@pm.waw.pl>.
18 2004-06-10 Jakub Jelinek <jakub@redhat.com>
20 * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
22 2004-06-08 Jakub Jelinek <jakub@redhat.com>
25 * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
26 succeeds. Reported by Miles Ohlrich <miles@cray.com>.
28 * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
29 fails. Avoid memory leak if realloc fails.
31 2004-06-09 Jakub Jelinek <jakub@redhat.com>
33 * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
34 NULL, "" or contains '=' character in it. Reported by
35 Michael T Kerrisk <mtk-lists@gmx.net>.
36 * stdlib/tst-environ.c: Include errno.h.
37 (main): Add tests for these arguments to setenv/unsetenv.
39 2004-06-07 Roland McGrath <roland@frob.com>
41 * NEWS: Update bug reporting instructions. Fix some typos.
43 2004-06-05 Ulrich Drepper <drepper@redhat.com>
45 * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
46 * stdio-common/_itoa.c: Add _itoa implementation.
48 * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
49 to also send request. Add parameter to allow this.
51 * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
52 * nscd/nscd_getpw_r.c: Likewise.
53 * nscd/nscd-client.h: Change __nscd_open_socket prototype.
55 2004-06-05 Andreas Jaeger <aj@suse.de>
57 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
58 Handle more than 6 args correctly. Based on a patch by Masahide
59 Washizawa <washi@jp.ibm.com>.
61 2004-06-04 Ulrich Drepper <drepper@redhat.com>
63 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
64 in all places, not __nss_not_use_nscd_group.
65 Reported by Philippe Gregoire.
67 2004-06-03 Ulrich Drepper <drepper@redhat.com>
69 * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
71 2004-05-07 Dmitry V. Levin <ldv@altlinux.org>
73 * argp/argp-help.c (__argp_error, __argp_failure): Check result
74 of __asprintf call and don't use string if it failed.
75 * stdio-common/psignal.c (psignal): Likewise.
76 * locale/programs/localedef.c (more_help): Likewise.
77 * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
78 arg_bool, parse_line): Check result of __asprintf calls and
79 don't use string if they failed.
80 * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
81 * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
82 call and exit if it failed.
84 2004-05-10 Jakub Jelinek <jakub@redhat.com>
86 * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
87 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
88 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
89 _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
90 _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
91 _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
92 _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
93 _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
94 _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
95 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
96 <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
98 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
100 * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
101 -momit-leaf-frame-pointer.
103 * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
106 * sysdeps/mach/hurd/getcwd.c
107 (_hurd_canonicalize_directory_name_intern): Only realloc when
110 * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
113 * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
116 * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
117 __libc_write and __libc_lseek64.
119 2004-05-29 Roland McGrath <roland@redhat.com>
121 * elf/Makefile (shared-only-routines): Add dl-caller.
123 2004-05-28 Ulrich Drepper <drepper@redhat.com>
125 * sysdeps/powerpc/configure.in: New file.
127 2004-05-28 Steven Munroe <sjmunroe@us.ibm.com>
129 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
130 "altivec" to enable VMX instructions.
131 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
132 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
133 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
141 2004-05-27 Jakub Jelinek <jakub@redhat.com>
143 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
144 __builtin_expm1l for GCC 3.5+.
145 (__expl): Define using __builtin_expl for GCC 3.4+.
146 (exp, expf, expl): Don't define for GCC 3.4+.
147 (tan, tanf, tanl): Don't define for GCC 3.5+.
148 (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
149 (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
150 (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
151 (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
152 (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
154 (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
155 Don't define for GCC 3.5+.
156 (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
157 (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
159 (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
160 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
163 2004-05-27 Jakub Jelinek <jakub@redhat.com>
165 * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
166 * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
167 * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
168 * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
169 * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
170 * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
171 * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
172 * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
173 * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
174 * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
175 * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
176 * sysdeps/i386/i586/memcpy.S (memcpy): Remove
177 libc_hidden_builtin_def if MEMPCPY_P.
178 * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
179 * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
180 * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
181 * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
182 * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
184 2004-05-26 Roland McGrath <roland@frob.com>
186 * sysdeps/generic/bits/in.h
187 (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
188 These are long obsolete in BSD systems where they originated.
189 * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
191 2004-05-26 Jakub Jelinek <jakub@redhat.com>
193 * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
194 * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
195 (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
196 (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
197 constant '\0' and first argument is not constant.
198 (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
199 (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
200 For GCC 3.2+ use __builtin_strncpy.
201 (strncat): For GCC 3.2+ use __builtin_strncat.
202 (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
204 (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
205 if both arguments are constant.
207 2004-05-26 Ulrich Drepper <drepper@redhat.com>
209 * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
210 mapped addresses in gethostbyaddr.
212 2004-05-25 Ulrich Drepper <drepper@redhat.com>
214 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
215 flags parameter, convert afp to simple int parameter. Adjust code.
216 typep was never != NULL and flags therefore also unused. *afp is
218 * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
219 * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter
220 handling for __nss_hostname_digits_dots calls.
221 * nss/getXXbyYY_r.c: Likewise.
223 * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
225 2004-05-25 Steven Munroe <sjmunroe@us.ibm.com>
227 * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
228 * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
229 (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
230 (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
231 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
232 implementation from w_sqrt.c.
233 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
234 implementation from w_sqrtf.c.
235 * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
236 using inline __ieee754_sqrt().
237 * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
238 using inline __ieee754_sqrtf().
239 * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
240 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
241 * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
242 PPC_FEATURE_* independent of __ASSEMBLER__.
244 2004-05-25 Jakub Jelinek <jakub@redhat.com>
246 * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
248 (aio_start_notify_thread): Define if not defined.
249 (notify_func_wrapper): Use it.
250 * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
252 (aio_create_helper_thread): Define if not defined.
253 (__aio_create_helper_thread): New function.
254 (__aio_enqueue_request): Use aio_create_helper_thread.
256 * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
257 (struct ypresp_all_data): New type.
258 (__xdr_ypresp_all): Change second argument to
259 struct ypresp_all_data *. Replace ypall_foreach and
260 ypall_data with objp->foreach and objp->data.
261 (yp_all): Remove status variable, add data. Replace
262 all uses of status with data.status. Initialize data.foreach
263 and data.data instead of ypall_foreach and ypall_data.
265 2004-05-24 Jakub Jelinek <jakub@redhat.com>
267 * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
268 in l_flags_1, not in l_flags.
270 2004-04-10 Robert Millan <robertmh@gnu.org>
272 * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
273 with sysdeps/generic/bits/in.h.
275 2004-05-25 Roland McGrath <roland@frob.com>
277 * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
278 GCC GPL to standard glibc LGPL.
280 2004-05-24 Ulrich Drepper <drepper@redhat.com>
282 * manual/string.texi (Copying and Concatenation): Fixed second
284 Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
286 2004-05-23 Ulrich Drepper <drepper@redhat.com>
288 * malloc/obstack.c: Don't allow linking with _obstack.
290 2004-05-23 Andreas Schwab <schwab@suse.de>
292 * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
293 of separate "m" constraints.
295 2004-05-15 Chris Demetriou <cgd@broadcom.com>
297 * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
298 (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
299 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
301 2004-05-20 Paul Eggert <eggert@cs.ucla.edu>
303 * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
304 Add comment explaining why libc still defines it.
306 2004-05-19 Paul Eggert <eggert@cs.ucla.edu>
308 * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
309 obstack_alignment_mask, obstack_alloc, obstack_base,
310 obstack_blank, obstack_blank_fast, obstack_chunk_size,
311 obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
312 obstack_grow0, obstack_init, obstack_int_grow,
313 obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
314 obstack_next_free, obstack_object_size, obstack_ptr_grow,
315 obstack_ptr_grow_fast, obstack_room): Remove declarations of
316 nonexistent functions.
318 2004-05-18 Steven Munroe <sjmunroe@us.ibm.com>
320 * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
321 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
322 [PIC]: Redundent for powerpc64, removed.
323 (ENTRY): Generate size and alignment for opd entry.
324 (EALIGN): Generate size and alignment for opd entry.
325 (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
326 (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
328 2004-05-19 Ulrich Drepper <drepper@redhat.com>
330 * misc/regexp.h: Say the functions have been withdrawn.
332 * wcsmbs/tst-wcpncpy.c: Add more tests.
334 2004-05-18 Roland McGrath <roland@frob.com>
336 * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
338 * sysdeps/generic/unwind-dw2.c: Likewise.
339 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
340 * sysdeps/generic/unwind-dw2-fde.h: Likewise.
341 * sysdeps/generic/unwind-pe.h: Likewise.
343 2004-05-15 Petter Reinholdtsen <pere@hungry.com>
345 * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
346 MONTENEGRO" which have taken over the code 819. Patch from
347 Danilo Segan. [BZ #40]
349 2004-05-15 Jakub Jelinek <jakub@redhat.com>
351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
352 (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
355 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
357 * catgets/gencat.c: Update bug reporting instructions.
358 * csu/version.c: Likewise.
359 * debug/catchsegv.sh: Likewise.
360 * debug/pcprofiledump.c: Likewise.
361 * debug/xtrace.sh: Likewise.
362 * elf/ldd.bash.in: Likewise.
363 * iconv/iconv_prog.c: Likewise.
364 * iconv/iconvconfig.c: Likewise.
365 * locale/programs/locale.c: Likewise.
366 * locale/programs/localedef.c: Likewise.
367 * login/programs/pt_chown.c: Likewise.
368 * malloc/memusage.sh: Likewise.
369 * malloc/memusagestat.c: Likewise.
370 * malloc/mtrace.pl: Likewise.
371 * manual/crypt.texi: Likewise.
372 * manual/install.texi: Likewise.
373 * nss/makedb.c: Likewise.
375 2004-05-14 Jakub Jelinek <jakub@redhat.com>
377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
378 CHECK_STATIC_TLS if sym != NULL.
379 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
380 * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
382 2004-05-12 Andreas Schwab <schwab@suse.de>
384 * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
387 2004-05-13 H.J. Lu <hongjiu.lu@intel.com>
389 * Rules (xtests): Depend on tests.
391 2004-05-13 Jakub Jelinek <jakub@redhat.com>
393 * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
394 count is negative, yet write_ptr < write_end.
395 (_IO_default_xsgetn): Avoid one underflow per char if count is
396 negative, yet read_ptr < read_end.
398 2004-05-12 Steven Munroe <sjmunroe@us.ibm.com>
400 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
403 2004-05-12 Ulrich Drepper <drepper@redhat.com>
405 * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
408 2004-05-10 Roland McGrath <roland@frob.com>
410 * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
411 (__hurd_directory_name_split): Likewise.
413 2004-05-10 Ulrich Drepper <drepper@redhat.com>
415 * po/fr.po: Update from translation team.
417 2004-05-10 Andreas Jaeger <aj@suse.de>
419 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
420 Correctly compute alignment.
421 Patch by Michael Matz <matz@suse.de>.
423 2004-05-09 Ulrich Drepper <drepper@redhat.com>
425 * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
426 * sysdeps/posix/sigpause.c: Likewise.
427 * signal/signal.h: Don't define sigpause macro unless needed.
429 2004-05-08 Jakub Jelinek <jakub@redhat.com>
431 * configure.in (libc_cv_libgcc_s_suffix): New check.
432 (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
433 * config.make.in (libgcc_s_suffix): Set.
434 * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
436 2004-05-08 Ulrich Drepper <drepper@redhat.com>
438 * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
440 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
443 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
444 Load argument values into temporary variables.
445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
446 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
449 2004-05-07 Ulrich Drepper <drepper@redhat.com>
451 * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
452 need to be compiled with exceptions.
454 2004-05-06 Ulrich Drepper <drepper@redhat.com>
456 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
457 * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
459 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
462 * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
465 * nis/nis_table.c: Clean up memory handling.
466 * nis/nis_subr.c (nis_getnames): Clean up memory handling.
467 * nis/nis_removemember.c (nis_removemember): Add comment
468 explaining use of realloc.
470 * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
472 Patch by Lev S Bishop <lev.bishop@yale.edu>.
474 * math/bug-tgmath1.c (main): Test fabs and carg as well.
476 2004-05-06 Richard Henderson <rth@redhat.com>
478 * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
479 AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
480 * sysdeps/unix/sysv/linux/alpha/Versions: Export
481 __libc_alpha_cache_shape as a private symbol.
482 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
483 * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
485 2004-05-06 Richard Henderson <rth@redhat.com>
487 * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
488 * sysdeps/alpha/divl.S: Use them.
489 * sysdeps/alpha/divq.S: Likewise.
490 * sysdeps/alpha/divqu.S: Likewise.
491 * sysdeps/alpha/reml.S: Likewise.
492 * sysdeps/alpha/remq.S: Likewise.
493 * sysdeps/alpha/remqu.S: Likewise.
495 2004-05-06 Ulrich Drepper <drepper@redhat.com>
497 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
500 * math/Makefile (tests): Add bug-tgmath1.
501 * math/bug-tgmath1.c: New file.
503 2004-05-05 Jakub Jelinek <jakub@redhat.com>
505 * sysdeps/alpha/atomicity.h: Remove.
506 * sysdeps/generic/atomicity.h: Remove.
508 2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
510 * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
513 2004-04-22 David Mosberger <davidm@hpl.hp.com>
515 * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
517 * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
519 * sysdeps/ia64/strcat.c: New file.
520 * sysdeps/ia64/strcat.S: Delete.
522 2004-05-04 Jakub Jelinek <jakub@redhat.com>
524 * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
527 2004-04-23 Jakub Jelinek <jakub@redhat.com>
529 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
530 libc_hidden_proto. Define to __GI___libm_error_support for
531 assembly going into libc.so.
532 * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
535 * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
536 * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
538 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
539 gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
542 2004-05-03 Jakub Jelinek <jakub@redhat.com>
544 * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
545 __USE_BSD or __USE_UNIX98.
546 * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
547 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
548 * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
550 * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
551 * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
552 * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
553 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
557 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
559 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
563 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
565 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
567 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
569 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
573 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
575 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
579 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
580 * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
581 * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
583 2004-05-01 Jakub Jelinek <jakub@redhat.com>
585 * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
586 __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
587 __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
588 * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
589 * sysdeps/unix/sysv/linux/Versions (libc): Remove
590 __libc_sigaction@@GLIBC_PRIVATE.
591 * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
592 __modify_ldt@@GLIBC_PRIVATE.
593 * socket/Versions (libc): Remove __libc_accept, __libc_send,
594 __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
595 __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
596 * stdio-common/Versions (libc): Remove
597 _itoa_upper_digits@@GLIBC_PRIVATE.
598 * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
599 * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
600 __libc_readv and __libc_writev @@GLIBC_PRIVATE.
601 * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
602 * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
603 __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
604 __libc_lseek64 @@GLIBC_PRIVATE.
606 2004-04-30 Jakub Jelinek <jakub@redhat.com>
608 * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
611 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
613 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
614 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
615 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
616 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
617 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
618 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
619 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
620 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
621 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
622 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
623 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
624 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
625 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
626 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
627 * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
628 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
629 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
630 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
632 * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
633 mantissa for AIX long double format.
634 * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
636 * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
637 * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
638 (_fpioconst_pow10): AIX long double format has same exponent range as
640 * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
641 (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
644 2004-04-23 Art Haas <ahaas@airmail.net>
646 * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
648 2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
650 * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
651 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
652 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
653 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
654 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
656 2004-04-29 Philip Blundell <pb@nexus.co.uk>
658 * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
661 2004-04-29 Jakub Jelinek <jakub@redhat.com>
663 * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
664 prototypes and description [BZ #131].
666 * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
667 Patch by Ed Catmur <ed@catmur.co.uk>.
668 * string/tst-inlcall.c (main): Add test for strpbrk.
671 * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
673 (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
674 yet defined, #undef back after including linux/sysctl.h if defined
676 (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
677 back after including linux/sysctl.h if defined here.
679 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
680 for single precision register, add it to __asm clobbers [BZ #139].
681 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
682 for single precision register, add it to __asm clobbers.
683 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
684 instead of fqtoi in QP_HANDLE_EXCEPTIONS.
685 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
686 Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
688 2004-04-23 Andreas Schwab <schwab@suse.de>
690 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
693 2004-04-22 Philip Blundell <philb@gnu.org>
695 * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
696 when calling _dl_signal_error.
697 (elf_machine_rel): Likewise.
699 2004-04-21 Ulrich Drepper <drepper@redhat.com>
701 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
702 and use it internally instead of __sigsetjmp.
703 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
704 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
705 * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
706 * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
707 * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
708 * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
709 * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
710 _GI___libm_frexp_4f, _GI___libm_frexp_4l.
711 * sysdeps/ia64/fpu/bits/mathinline.h: New file.
712 * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
713 HIDDEN_JUMPTARGET for exit call.
714 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
716 * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
717 * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
720 2004-04-21 Jakub Jelinek <jakub@redhat.com>
722 * posix/tst-chmod.c (do_test): Fix a typo.
724 * elf/lateglobal.c (main): Fix error checks.
725 Patch by Stephen Clarke <stephen.clarke@st.com>.
727 * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
728 mention they have been added in ISO C99.
729 Reported by Ben Pfaff <blp@cs.stanford.edu>.
731 2004-03-31 H.J. Lu <hongjiu.lu@intel.com>
733 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
735 2004-04-20 Jakub Jelinek <jakub@redhat.com>
737 * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
740 2004-04-20 Jakub Jelinek <jakub@redhat.com>
742 * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
744 * stdio-common/tst-sscanf.c (int_tests): Adjust.
746 * nis/nss-nis.c: Include stdlib.h.
748 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
750 * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
751 libc_hidden_builtin_def.
753 2004-04-20 Jim Meyering <jim@meyering.net>
755 * misc/error.c (error_tail): Don't leak upon realloc failure.
757 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
759 * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
760 Use RETURN_ADDRESS instead of __builtin_return_address.
762 2004-04-19 Ulrich Drepper <drepper@redhat.com>
764 * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
767 2004-04-20 Jakub Jelinek <jakub@redhat.com>
769 * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
770 do input_error () instead of conv_error () and don't look at errno.
771 Don't eat any whitespace before %% if skip_space == 0.
772 * stdio-common/tst-sscanf.c (int_tests): New array.
773 (main): Run int_tests.
776 See ChangeLog.14 for earlier changes.