1 2004-07-10 GOTO Masanori <gotom@debian.or.jp>
3 * sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw.
4 * sysdeps/s390/s390-64/elf/start.S: Likewise.
6 2004-04-16 Andreas Schwab <schwab@suse.de>
8 * sysdeps/ia64/bits/atomic.h: Cast first argument of
9 __sync_bool_compare_and_swap_si correct to void*.
11 2004-07-17 Ulrich Drepper <drepper@redhat.com>
13 * iconv/iconv_prog.c (print_known_names): Make machine-readable
14 output even less cluttered.
16 2004-07-16 Steven Munroe <sjmunroe@us.ibm.com>
19 * setjmp/Makefile (tests): Add bug269-setjmp.
20 * setjmp/bug269-setjmp.c: New file.
21 * sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]:
22 Store R2 from jmpbuf in callers TOC save area.
23 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]:
24 Store R2 in TOC save area.
25 * sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]:
26 Copy TOC save area from previous frame as R2 (TOC) in jmpbuf.
28 2004-07-16 Jakub Jelinek <jakub@redhat.com>
30 * locale/newlocale.c: Include bits/libc-lock.h.
31 (__libc_setlocale_lock): Extern decl.
32 (__newlocale): Use it.
33 Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
35 2004-07-15 Jakub Jelinek <jakub@redhat.com>
37 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove
38 static inline __attribute ((always_inline)). Don't define if
40 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
42 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel):
43 Remove static inline __attribute ((always_inline)). Don't define
45 (__libc_fcntl): Use INLINE_SYSCALL directly instead of
47 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to
48 __libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0.
49 Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0.
50 (__libc_fcntl): Don't define if __fcntl_nocancel is a macro.
53 * sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF
55 * elf/Makefile: Add rules to build and run tst-pie1.
56 * elf/tst-pie1.c: New test.
57 * elf/tst-piemod1.c: New file.
59 2004-07-14 Jakub Jelinek <jakub@redhat.com>
62 * manual/string.texi (l64a): Note that the static buffer is 7 bytes
63 long. Rewrite example code so that it takes account l64a output
64 shorter than 6 characters.
65 Reported by Julian Graham <julian.graham@aya.yale.edu>.
67 2004-07-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69 * sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here.
70 (elf_machine_rela_relative): Remove unused valiable.
72 2004-07-12 Paul Eggert <eggert@cs.ucla.edu>
75 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store
76 outside the buffer if the read returns 0. __strtod_l can't set
77 endp to NULL, so remove a test for that case.
79 2004-07-12 Roland McGrath <roland@redhat.com>
81 * manual/signal.texi (Interrupted Primitives): Make clear that
82 TEMP_FAILURE_RETRY evaluates its expression as long int and compares
83 it to -1 to define "failure".
85 2004-07-10 Ulrich Drepper <drepper@redhat.com>
87 * elf/ldconfig.c: Define PROCINFO_CLASS as static before including
89 * sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not
91 * sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not
94 * elf/rtld.c (print_statistics): Mark with noinline attribute.
95 * sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline
97 (elf_machine_rel_relative): Likewise.
99 * include/string.h: Add libc_hidden_proto for __strtok_r and
101 * sysdeps/generic/strsep.c: Add libc_hidden_def.
102 * sysdeps/generic/strtok_r.c: Likewise.
103 * sysdeps/i386/strtok_r.S: Add alias for internal symbol.
104 * sysdeps/i386/i686/strtok_r.S: Likewise.
105 * sysdeps/x86_64/strtok_r.S: Likewise.
107 2004-07-09 Alexandre Oliva <aoliva@redhat.com>
109 * inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden
110 instead of internal-linkage, such that we can alias to it.
111 (internal_endnetgrent, internal_getnetgrent_r): Likewise.
113 2004-07-09 Ulrich Drepper <drepper@redhat.com>
115 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
116 to the front for gcc 3.5+.
117 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
119 * include/fcntl.h: Don't declare __fcntl_nocancel here if
120 NO_CANCELLATION is defined.
122 2004-07-07 Jakub Jelinek <jakub@redhat.com>
124 * elf/dl-fini.c (_dl_fini): Add nloaded variable, load
125 GL(dl_nloaded) into it while still in critical section.
127 2004-07-06 Thorsten Kukuk <kukuk@suse.de>
129 * nss/getent.c (print_group, print_passwd): Use %lu format for
130 `unsigned long int' values.
132 * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
133 error typos in goto statements.
135 2004-07-07 Roland McGrath <roland@frob.com>
137 * Makefile (dist-separate): New variable.
138 (glibc-%.tar rule): Make separate tar files for add-ons listed there.
139 Depend on their configure files.
140 (dist-do-separate-dirs): New canned sequence to do that.
141 (dist-separate-libidn, dist-separate-linuxthreads): New variables.
142 (dist): Depend on add-on tar files based on $(dist-separate).
143 (dist-version): New variable, default to $(version).
144 (tag-for-dist, dist): Use that in place of $(version) in deps.
146 2004-07-07 Ulrich Drepper <drepper@redhat.com>
148 * elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock
149 before the loop running the destructors.
151 2004-05-18 Andreas Schwab <schwab@suse.de>
153 * elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
154 the first segment for mprotect, not l_text_end.
156 2004-07-05 Ulrich Drepper <drepper@redhat.com>
158 * elf/dl-profile.c (_dl_start_profile): Compact error handling.
159 Remove hashfraction variable. Make kcount and kcountsize local
162 * elf/dl-init.c: Don't define and use _dl_starting_up if
163 HAVE_INLINED_SYSCALLS is defined and the variable is not used.
164 * elf/dl-support.c: Likewise.
165 * elf/rtld.c: Likewise.
166 * elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
167 if HAVE_INLINED_SYSCALLS is defined.
168 * sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
170 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
171 * sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
172 * config.h.in: Add entry for HAVE_INLINED_SYSCALLS.
174 * sysdeps/posix/profil.c: If compiled for ld.so, omit code which
175 is needed to stop profiling.
176 * elf/dl-open.c (dl_open_worker): If a newly opened object is to be
177 profile make sure it cannot be unloaded.
179 * sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.
181 * sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
182 support, make sure the helper function is inlined.
183 * sysdeps/unix/sysv/linux/pread.c: Likewise.
184 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
185 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
188 2004-07-05 Jakub Jelinek <jakub@redhat.com>
190 * include/string.h (ffs): Add libc_hidden_builtin_proto.
191 * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
192 * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
193 * sysdeps/alpha/ffs.S (ffs): Likewise.
194 * sysdeps/s390/ffs.c (ffs): Likewise.
195 * sysdeps/powerpc/ffs.c (ffs): Likewise.
196 * sysdeps/i386/ffs.c (ffs): Likewise.
197 * sysdeps/i386/i686/ffs.c (ffs): Likewise.
198 * sysdeps/m68k/ffs.c (ffs): Likewise.
199 * sysdeps/generic/ffs.c (ffs): Likewise.
200 * sysdeps/m88k/ffs.c (ffs): Likewise.
201 * sysdeps/am29k/ffs.c (ffs): Likewise.
202 * sysdeps/i960/ffs.c (ffs): Likewise.
203 * sysdeps/x86_64/ffs.c (ffs): Likewise.
205 * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
207 * sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
208 __libc_siglongjmp): Remove symbol_version.
209 * sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
210 Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
211 * sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
213 * sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
214 * sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
215 strong_alias instead of default_symbol_version, remove
217 * sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
218 * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
219 into strong_alias to __novmxsetjmp.
220 (__vmx__setjmp): Similarly with __vmxsetjmp.
221 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
222 default_symbol_version and symbol_version.
223 * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
224 into strong_alias to __novmxsetjmp.
225 (__vmx__setjmp): Similarly with __vmxsetjmp.
226 (__setjmp): Make it strong_alias to __vmx__setjmp, remove
227 default_symbol_version and symbol_version.
229 * nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
231 2004-07-05 Ulrich Drepper <drepper@redhat.com>
233 * elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
235 2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk>
237 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
238 instead of libc_hidden_def.
240 2004-07-01 Roland McGrath <roland@redhat.com>
242 * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
244 * Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
245 $(..)shlib-versions file to last in deps list. This lets add-ons give
246 more-specific matches that override defaults in the top-level file.
248 * sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
249 already set, don't set it or libc_cv_gcc_unwind_find_fde.
250 * sysdeps/unix/sysv/linux/configure: Regenerated.
252 2004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
254 * sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
255 (__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
256 (__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
257 * sysdeps/s390/fpu/e_sqrt.c: New file.
258 * sysdeps/s390/fpu/e_sqrtf.c: New file.
259 * sysdeps/s390/Implies: New file.
260 * sysdeps/s390/s390-32/Implies: Remove ieee754, move
261 ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
262 * sysdeps/s390/s390-64/Implies: Likewise.
264 2004-06-30 Jakub Jelinek <jakub@redhat.com>
266 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
267 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
269 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
270 DO_CALL (exit, 1) instead of branching to _exit.
271 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
274 * sysdeps/s390/fpu/bits/mathinline.h: New file.
276 * include/glob.h (glob64): Add libc_hidden_proto.
277 * sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
278 * sysdeps/gnu/glob64.c (glob64): Likewise.
279 * sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
281 2004-06-11 Jakub Jelinek <jakub@redhat.com>
283 * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
284 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
286 2004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com>
288 * sysdeps/powerpc/fpu/s_lround.c: Removed.
289 * sysdeps/powerpc/fpu/s_lroundf.c: Removed.
290 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
291 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
292 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
293 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
294 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
295 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
296 * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
297 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
298 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
299 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
300 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
301 * sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
302 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
303 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
305 2004-06-30 Ulrich Drepper <drepper@redhat.com>
307 * include/net/if.h: Handle if_nameindex and if_freenameindex with
309 * sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
310 * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
311 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
312 netlink if possible. Fall back on ioctl method if necessary.
313 * sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
315 * include/unistd.h: Declare __truncate.
316 * sysdeps/generic/truncate.c: Also define __truncate.
317 * sysdeps/mach/hurd/truncate.c: Likewise.
318 * sysdeps/unix/common/syscalls.list: Likewise.
319 * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
321 2004-06-29 Ulrich Drepper <drepper@redhat.com>
323 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
324 info.extra. Patch by Marcus Meissner.
326 2004-06-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
328 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
329 Fix branch offset for a PLT entry.
331 2004-06-20 Jim Meyering <jim@meyering.net>
333 * malloc/obstack.h (obstack_base): Cast to `void *', to align with
336 2004-06-28 Ulrich Drepper <drepper@redhat.com>
338 * inet/bug-if1.c (do_test): Simply use 0 as invalid index.
339 Workaround for [BZ #232].
341 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Use extend_alloca.
343 2004-06-28 GOTO Masanori <gotom@debian.or.jp>
345 * iconv/gconv_simple.c: Use get16/put16 for user given buffer
346 in ucs2/ucs2reverse when unaligned memory access is attempted.
347 * iconv/tst-iconv5.c: New file.
348 * iconv/Makefile (tests): Add tst-iconv5.
350 2004-06-28 Jakub Jelinek <jakub@redhat.com>
352 * inet/bug-if1.c: Include <string.h>.
354 2004-06-19 Roland McGrath <roland@redhat.com>
356 * sysdeps/posix/waitid.c (do_waitid) [DO_WAITID]: Define function
357 under this macro name instead.
358 [NO_DO_WAITID]: Don't define it at all.
359 (do_waitid) [WNOWAIT, WEXITED]: If these POSIX.1 waitid flag bits are
360 defined, then return ENOTSUP for combinations of selection bits other
361 than WEXITED and WEXITED|WSTOPPED, which this version cannot support.
363 * posix/tst-waitid.c: New file.
364 * posix/Makefile (tests): Add it.
366 2004-06-28 Jakub Jelinek <jakub@redhat.com>
368 * sysdeps/unix/alpha/sysdep.h (inline_syscall6): Fix a typo.
371 * sysdeps/unix/alpha/sysdep.S (__syscall_error): Avoid !samegp
372 relocation in librt.so.
375 * sysdeps/alpha/dl-machine.h (_dl_start_user): Use ldah/ldl to load
376 _dl_skip_args. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
378 2004-06-27 Ulrich Drepper <drepper@redhat.com>
380 * elf/ldconfig.c (add_dir): Take chroot into account.
381 Based on changes by HJ Lu and Hideki Iwamoto.
383 * nscd/connections.c (invalidate_cache): If the host cache has to
384 be invalidated, re-read resolv.conf.
386 * resolv/resolv.h (RES_NOIP6DOTINT): Define.
387 * resolv/res_init.c (res_setoptions): Handle no-ip6-dotint option.
388 * resolv/gethnamaddr.c (gethostbyaddr): Don't lookup with .ip6.int
389 if RES_NOIP6DOTINT flag is set.
390 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
392 2004-06-25 Jakub Jelinek <jakub@redhat.com>
394 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: Move to...
395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: ... here.
396 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: Move to...
397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: ... here.
398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: New file.
400 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_GETLK, F_SETLK,
401 F_SETLKW): Fix values for -m32 -D_FILE_OFFSET_BITS=64.
403 2004-06-21 Jakub Jelinek <jakub@redhat.com>
406 * sysdeps/unix/alpha/Makefile: New file.
407 * sysdeps/unix/alpha/rt-sysdep.S: New file.
408 Reported by Jakub Bogusz <qboosh@pld-linux.org>.
410 2004-06-18 Ulrich Drepper <drepper@redhat.com>
412 * sysdeps/posix/getaddrinfo.c (gaih_inet): For AI_CANONNAME,
413 determine the canonical name only for the first returned entry.
415 * inet/bug-if1.c: New file.
416 * inet/Makefile (tests): Add bug-if1.
418 2004-06-18 Roland McGrath <roland@frob.com>
420 * Makerules (compile-mkdep-flags): Add -MT $@.
422 * Makefile (dist, tag-for-dist): New targets.
423 (files-for-dist, tag-of-stem): New variables.
424 (glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
425 Make tar files using cvs export.
426 (%.bz2, %.gz, tag-%): New pattern rules.
427 (distribute): Variable removed.
428 (+subdir_targets): Remove distinfo targets.
429 (echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
430 (rpm/%): Pattern rule removed.
431 * rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
432 * Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
434 * Makerules (dist, subdir_distinfo): Targets removed.
435 ($(objpfx)distinfo): Depend on $(distribute).
436 * Make-dist: File removed.
438 * NEWS: Fix a typo. Update bug-reporting instructions.
440 2004-06-17 Thorsten Kukuk <kukuk@suse.de>
442 * sysdeps/unix/sysv/linux/sched_setaffinity.c
443 (__sched_setaffinity_new): Set errno to EINVAL and return -1 if
444 cpuset is wrongly set.
446 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
448 * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
451 2004-06-14 Jakub Jelinek <jakub@redhat.com>
454 * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next
455 in a local variable, point rp to that local variable afterwards.
457 2004-06-11 Jakub Jelinek <jakub@redhat.com>
459 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special
462 2004-06-17 Ulrich Drepper <drepper@redhat.com>
464 * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
465 error value for unknown interface. [BZ #198]
467 2004-06-13 Jakub Jelinek <jakub@redhat.com>
469 * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
470 (memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
471 __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
472 the asm uses as its input, either of size __n where __n is known or
474 (strstr): Add "memory" clobber.
476 2004-06-14 Jakub Jelinek <jakub@redhat.com>
479 * nss/nsswitch.c (free_mem): Don't try to close a library handle
480 if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>.
482 2004-06-11 Dmitry V. Levin <ldv@altlinux.org>
485 * debug/xtrace.sh: Fix typo in error diagnostics.
487 2004-06-14 Andreas Schwab <schwab@suse.de>
489 * stdio-common/psignal.c (psignal): Don't use BUF when asprintf
492 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
495 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
499 that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
501 Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19.
502 Fix pasto that overflowed sigcontext.v_reserve.
503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
504 Fix pasto that clobbers r19.
505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
506 of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that
507 overflowed sigcontext.v_reserve.
509 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
512 * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
513 instead of ".gnu.linkonce.ro." as the prefix for linkonce
514 read-only section name.
516 2004-06-14 Richard Henderson <rth@redhat.com>
518 * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
519 (_ITOFT, _FTOIT, _ITOFT2): Likewise.
521 2004-06-08 Jakub Jelinek <jakub@redhat.com>
523 * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
524 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
525 (__backtrace): Don't call init #ifndef SHARED.
526 * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
527 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
528 (__backtrace): Don't call init #ifndef SHARED.
529 * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
530 (unwind_backtrace, unwind_getip): Define #ifndef SHARED.
531 (__backtrace): Don't call init #ifndef SHARED.
533 2004-06-11 Roland McGrath <roland@redhat.com>
535 * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
536 From Krzysztof Halasa <khc@pm.waw.pl>.
538 2004-06-10 Jakub Jelinek <jakub@redhat.com>
540 * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
542 2004-06-08 Jakub Jelinek <jakub@redhat.com>
545 * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
546 succeeds. Reported by Miles Ohlrich <miles@cray.com>.
548 * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
549 fails. Avoid memory leak if realloc fails.
551 2004-06-09 Jakub Jelinek <jakub@redhat.com>
553 * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
554 NULL, "" or contains '=' character in it. Reported by
555 Michael T Kerrisk <mtk-lists@gmx.net>.
556 * stdlib/tst-environ.c: Include errno.h.
557 (main): Add tests for these arguments to setenv/unsetenv.
559 2004-06-07 Roland McGrath <roland@frob.com>
561 * NEWS: Update bug reporting instructions. Fix some typos.
563 2004-06-05 Ulrich Drepper <drepper@redhat.com>
565 * stdio-common/_itoa.h: Don't expand _itoa inline for libc.
566 * stdio-common/_itoa.c: Add _itoa implementation.
568 * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation
569 to also send request. Add parameter to allow this.
571 * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller.
572 * nscd/nscd_getpw_r.c: Likewise.
573 * nscd/nscd-client.h: Change __nscd_open_socket prototype.
575 2004-06-05 Andreas Jaeger <aj@suse.de>
577 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
578 Handle more than 6 args correctly. Based on a patch by Masahide
579 Washizawa <washi@jp.ibm.com>.
581 2004-06-04 Ulrich Drepper <drepper@redhat.com>
583 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts
584 in all places, not __nss_not_use_nscd_group.
585 Reported by Philippe Gregoire.
587 2004-06-03 Ulrich Drepper <drepper@redhat.com>
589 * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
591 2004-05-07 Dmitry V. Levin <ldv@altlinux.org>
593 * argp/argp-help.c (__argp_error, __argp_failure): Check result
594 of __asprintf call and don't use string if it failed.
595 * stdio-common/psignal.c (psignal): Likewise.
596 * locale/programs/localedef.c (more_help): Likewise.
597 * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list,
598 arg_bool, parse_line): Check result of __asprintf calls and
599 don't use string if they failed.
600 * sunrpc/svc_simple.c (registerrpc, universal): Likewise.
601 * elf/ldconfig.c (parse_conf_include): Check result of __asprintf
602 call and exit if it failed.
604 2004-05-10 Jakub Jelinek <jakub@redhat.com>
606 * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
607 _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
608 _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
609 _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
610 _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
611 _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
612 _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
613 _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
614 _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
615 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
616 <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
618 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
620 * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
621 -momit-leaf-frame-pointer.
623 * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
626 * sysdeps/mach/hurd/getcwd.c
627 (_hurd_canonicalize_directory_name_intern): Only realloc when
630 * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
633 * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
636 * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
637 __libc_write and __libc_lseek64.
639 2004-05-29 Roland McGrath <roland@redhat.com>
641 * elf/Makefile (shared-only-routines): Add dl-caller.
643 2004-05-28 Ulrich Drepper <drepper@redhat.com>
645 * sysdeps/powerpc/configure.in: New file.
647 2004-05-28 Steven Munroe <sjmunroe@us.ibm.com>
649 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine
650 "altivec" to enable VMX instructions.
651 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
652 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
653 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
661 2004-05-27 Jakub Jelinek <jakub@redhat.com>
663 * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using
664 __builtin_expm1l for GCC 3.5+.
665 (__expl): Define using __builtin_expl for GCC 3.4+.
666 (exp, expf, expl): Don't define for GCC 3.4+.
667 (tan, tanf, tanl): Don't define for GCC 3.5+.
668 (__atan2l): Define using __builtin_atan2l for GCC 3.4+.
669 (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__.
670 (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__.
671 (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99.
672 (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define
674 (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl):
675 Don't define for GCC 3.5+.
676 (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__.
677 (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't
679 (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__.
680 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't
683 2004-05-27 Jakub Jelinek <jakub@redhat.com>
685 * string/bits/string2.h (__bzero): Define even for GCC 3.0+.
686 * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def.
687 * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise.
688 * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise.
689 * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise.
690 * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise.
691 * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise.
692 * sysdeps/i386/stpcpy.S (stpcpy): Likewise.
693 * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise.
694 * sysdeps/generic/stpcpy.c (stpcpy): Likewise.
695 * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise.
696 * sysdeps/i386/i586/memcpy.S (memcpy): Remove
697 libc_hidden_builtin_def if MEMPCPY_P.
698 * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
699 * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def.
700 * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise.
701 * sysdeps/generic/mempcpy.c (mempcpy): Likewise.
702 * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
704 2004-05-26 Roland McGrath <roland@frob.com>
706 * sysdeps/generic/bits/in.h
707 (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
708 These are long obsolete in BSD systems where they originated.
709 * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
711 2004-05-26 Jakub Jelinek <jakub@redhat.com>
713 * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto.
714 * string/bits/string2.h (memset): Disable macro for GCC 3.0+.
715 (__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
716 (strchr): For GCC 3.2+, only use __rawmemchr if second argument is
717 constant '\0' and first argument is not constant.
718 (__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
719 (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
720 For GCC 3.2+ use __builtin_strncpy.
721 (strncat): For GCC 3.2+ use __builtin_strncat.
722 (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are
724 (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
725 if both arguments are constant.
727 2004-05-26 Ulrich Drepper <drepper@redhat.com>
729 * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4
730 mapped addresses in gethostbyaddr.
732 2004-05-25 Ulrich Drepper <drepper@redhat.com>
734 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and
735 flags parameter, convert afp to simple int parameter. Adjust code.
736 typep was never != NULL and flags therefore also unused. *afp is
738 * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype.
739 * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter
740 handling for __nss_hostname_digits_dots calls.
741 * nss/getXXbyYY_r.c: Likewise.
743 * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
745 2004-05-25 Steven Munroe <sjmunroe@us.ibm.com>
747 * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so.
748 * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES]
749 (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction.
750 (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction.
751 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved
752 implementation from w_sqrt.c.
753 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved
754 implementation from w_sqrtf.c.
755 * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation
756 using inline __ieee754_sqrt().
757 * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation
758 using inline __ieee754_sqrtf().
759 * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include
760 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
761 * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define
762 PPC_FEATURE_* independent of __ASSEMBLER__.
764 2004-05-25 Jakub Jelinek <jakub@redhat.com>
766 * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h
768 (aio_start_notify_thread): Define if not defined.
769 (notify_func_wrapper): Use it.
770 * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h
772 (aio_create_helper_thread): Define if not defined.
773 (__aio_create_helper_thread): New function.
774 (__aio_enqueue_request): Use aio_create_helper_thread.
776 * nis/ypclnt.c (ypall_data, ypall_foreach): Remove.
777 (struct ypresp_all_data): New type.
778 (__xdr_ypresp_all): Change second argument to
779 struct ypresp_all_data *. Replace ypall_foreach and
780 ypall_data with objp->foreach and objp->data.
781 (yp_all): Remove status variable, add data. Replace
782 all uses of status with data.status. Initialize data.foreach
783 and data.data instead of ypall_foreach and ypall_data.
785 2004-05-24 Jakub Jelinek <jakub@redhat.com>
787 * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
788 in l_flags_1, not in l_flags.
790 2004-04-10 Robert Millan <robertmh@gnu.org>
792 * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
793 with sysdeps/generic/bits/in.h.
795 2004-05-25 Roland McGrath <roland@frob.com>
797 * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
798 GCC GPL to standard glibc LGPL.
800 2004-05-24 Ulrich Drepper <drepper@redhat.com>
802 * manual/string.texi (Copying and Concatenation): Fixed second
804 Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
806 2004-05-23 Ulrich Drepper <drepper@redhat.com>
808 * malloc/obstack.c: Don't allow linking with _obstack.
810 2004-05-23 Andreas Schwab <schwab@suse.de>
812 * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
813 of separate "m" constraints.
815 2004-05-15 Chris Demetriou <cgd@broadcom.com>
817 * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
818 (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32
819 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
821 2004-05-20 Paul Eggert <eggert@cs.ucla.edu>
823 * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used.
824 Add comment explaining why libc still defines it.
826 2004-05-19 Paul Eggert <eggert@cs.ucla.edu>
828 * malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
829 obstack_alignment_mask, obstack_alloc, obstack_base,
830 obstack_blank, obstack_blank_fast, obstack_chunk_size,
831 obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
832 obstack_grow0, obstack_init, obstack_int_grow,
833 obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
834 obstack_next_free, obstack_object_size, obstack_ptr_grow,
835 obstack_ptr_grow_fast, obstack_room): Remove declarations of
836 nonexistent functions.
838 2004-05-18 Steven Munroe <sjmunroe@us.ibm.com>
840 * sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
841 <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
842 [PIC]: Redundent for powerpc64, removed.
843 (ENTRY): Generate size and alignment for opd entry.
844 (EALIGN): Generate size and alignment for opd entry.
845 (END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
846 (END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
848 2004-05-19 Ulrich Drepper <drepper@redhat.com>
850 * misc/regexp.h: Say the functions have been withdrawn.
852 * wcsmbs/tst-wcpncpy.c: Add more tests.
854 2004-05-18 Roland McGrath <roland@frob.com>
856 * sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
858 * sysdeps/generic/unwind-dw2.c: Likewise.
859 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
860 * sysdeps/generic/unwind-dw2-fde.h: Likewise.
861 * sysdeps/generic/unwind-pe.h: Likewise.
863 2004-05-15 Petter Reinholdtsen <pere@hungry.com>
865 * locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
866 MONTENEGRO" which have taken over the code 819. Patch from
867 Danilo Segan. [BZ #40]
869 2004-05-15 Jakub Jelinek <jakub@redhat.com>
871 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
872 (SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
875 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk>
877 * catgets/gencat.c: Update bug reporting instructions.
878 * csu/version.c: Likewise.
879 * debug/catchsegv.sh: Likewise.
880 * debug/pcprofiledump.c: Likewise.
881 * debug/xtrace.sh: Likewise.
882 * elf/ldd.bash.in: Likewise.
883 * iconv/iconv_prog.c: Likewise.
884 * iconv/iconvconfig.c: Likewise.
885 * locale/programs/locale.c: Likewise.
886 * locale/programs/localedef.c: Likewise.
887 * login/programs/pt_chown.c: Likewise.
888 * malloc/memusage.sh: Likewise.
889 * malloc/memusagestat.c: Likewise.
890 * malloc/mtrace.pl: Likewise.
891 * manual/crypt.texi: Likewise.
892 * manual/install.texi: Likewise.
893 * nss/makedb.c: Likewise.
895 2004-05-14 Jakub Jelinek <jakub@redhat.com>
897 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
898 CHECK_STATIC_TLS if sym != NULL.
899 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
900 * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
902 2004-05-12 Andreas Schwab <schwab@suse.de>
904 * posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
907 2004-05-13 H.J. Lu <hongjiu.lu@intel.com>
909 * Rules (xtests): Depend on tests.
911 2004-05-13 Jakub Jelinek <jakub@redhat.com>
913 * libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
914 count is negative, yet write_ptr < write_end.
915 (_IO_default_xsgetn): Avoid one underflow per char if count is
916 negative, yet read_ptr < read_end.
918 2004-05-12 Steven Munroe <sjmunroe@us.ibm.com>
920 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
923 2004-05-12 Ulrich Drepper <drepper@redhat.com>
925 * elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
928 2004-05-10 Roland McGrath <roland@frob.com>
930 * hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
931 (__hurd_directory_name_split): Likewise.
933 2004-05-10 Ulrich Drepper <drepper@redhat.com>
935 * po/fr.po: Update from translation team.
937 2004-05-10 Andreas Jaeger <aj@suse.de>
939 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
940 Correctly compute alignment.
941 Patch by Michael Matz <matz@suse.de>.
943 2004-05-09 Ulrich Drepper <drepper@redhat.com>
945 * sysdeps/generic/sigpause.c: Prevent sigpause prototype.
946 * sysdeps/posix/sigpause.c: Likewise.
947 * signal/signal.h: Don't define sigpause macro unless needed.
949 2004-05-08 Jakub Jelinek <jakub@redhat.com>
951 * configure.in (libc_cv_libgcc_s_suffix): New check.
952 (libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
953 * config.make.in (libgcc_s_suffix): Set.
954 * Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).
956 2004-05-08 Ulrich Drepper <drepper@redhat.com>
958 * signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.
960 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
963 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
964 Load argument values into temporary variables.
965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
966 LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
969 2004-05-07 Ulrich Drepper <drepper@redhat.com>
971 * sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
972 need to be compiled with exceptions.
974 2004-05-06 Ulrich Drepper <drepper@redhat.com>
976 * sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
977 * sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.
979 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
982 * nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
985 * nis/nis_table.c: Clean up memory handling.
986 * nis/nis_subr.c (nis_getnames): Clean up memory handling.
987 * nis/nis_removemember.c (nis_removemember): Add comment
988 explaining use of realloc.
990 * math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
992 Patch by Lev S Bishop <lev.bishop@yale.edu>.
994 * math/bug-tgmath1.c (main): Test fabs and carg as well.
996 2004-05-06 Richard Henderson <rth@redhat.com>
998 * elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
999 AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
1000 * sysdeps/unix/sysv/linux/alpha/Versions: Export
1001 __libc_alpha_cache_shape as a private symbol.
1002 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
1003 * sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.
1005 2004-05-06 Richard Henderson <rth@redhat.com>
1007 * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
1008 * sysdeps/alpha/divl.S: Use them.
1009 * sysdeps/alpha/divq.S: Likewise.
1010 * sysdeps/alpha/divqu.S: Likewise.
1011 * sysdeps/alpha/reml.S: Likewise.
1012 * sysdeps/alpha/remq.S: Likewise.
1013 * sysdeps/alpha/remqu.S: Likewise.
1015 2004-05-06 Ulrich Drepper <drepper@redhat.com>
1017 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
1020 * math/Makefile (tests): Add bug-tgmath1.
1021 * math/bug-tgmath1.c: New file.
1023 2004-05-05 Jakub Jelinek <jakub@redhat.com>
1025 * sysdeps/alpha/atomicity.h: Remove.
1026 * sysdeps/generic/atomicity.h: Remove.
1028 2004-05-05 H.J. Lu <hongjiu.lu@intel.com>
1030 * sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
1033 2004-04-22 David Mosberger <davidm@hpl.hp.com>
1035 * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
1037 * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.
1039 * sysdeps/ia64/strcat.c: New file.
1040 * sysdeps/ia64/strcat.S: Delete.
1042 2004-05-04 Jakub Jelinek <jakub@redhat.com>
1044 * sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
1047 2004-04-23 Jakub Jelinek <jakub@redhat.com>
1049 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
1050 libc_hidden_proto. Define to __GI___libm_error_support for
1051 assembly going into libc.so.
1052 * sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
1055 * include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
1056 * sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.
1058 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
1059 gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
1062 2004-05-03 Jakub Jelinek <jakub@redhat.com>
1064 * sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
1065 __USE_BSD or __USE_UNIX98.
1066 * sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1067 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1068 * sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
1070 * sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1071 * sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1072 * sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1073 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
1075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
1077 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
1079 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1081 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
1083 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
1085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
1087 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
1089 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
1091 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1093 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
1095 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
1097 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
1099 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1100 * sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
1101 * io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.
1103 2004-05-01 Jakub Jelinek <jakub@redhat.com>
1105 * posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
1106 __libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
1107 __libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
1108 * stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
1109 * sysdeps/unix/sysv/linux/Versions (libc): Remove
1110 __libc_sigaction@@GLIBC_PRIVATE.
1111 * sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
1112 __modify_ldt@@GLIBC_PRIVATE.
1113 * socket/Versions (libc): Remove __libc_accept, __libc_send,
1114 __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
1115 __libc_sendto and __libc_connect @@GLIBC_PRIVATE.
1116 * stdio-common/Versions (libc): Remove
1117 _itoa_upper_digits@@GLIBC_PRIVATE.
1118 * resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
1119 * misc/Versions (libc): Remove __libc_fsync, __libc_msync,
1120 __libc_readv and __libc_writev @@GLIBC_PRIVATE.
1121 * termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
1122 * io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
1123 __libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
1124 __libc_lseek64 @@GLIBC_PRIVATE.
1126 2004-04-30 Jakub Jelinek <jakub@redhat.com>
1128 * elf/dl-load.c (open_verify): Move e_phentsize check after e_type
1131 2004-04-29 Steven Munroe <sjmunroe@us.ibm.com>
1133 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
1134 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
1135 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
1136 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
1137 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
1138 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
1139 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
1140 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
1141 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
1142 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
1143 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
1144 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
1145 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
1146 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
1147 * sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
1148 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
1149 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
1150 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.
1152 * math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
1153 mantissa for AIX long double format.
1154 * misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
1156 * misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
1157 * stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1158 (_fpioconst_pow10): AIX long double format has same exponent range as
1160 * stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
1161 (LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
1164 2004-04-23 Art Haas <ahaas@airmail.net>
1166 * sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.
1168 2004-04-28 Carlos O'Donell <carlos@baldric.uwo.ca>
1170 * sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
1171 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
1172 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
1173 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
1174 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
1176 2004-04-29 Philip Blundell <pb@nexus.co.uk>
1178 * sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
1181 2004-04-29 Jakub Jelinek <jakub@redhat.com>
1183 * manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
1184 prototypes and description [BZ #131].
1186 * string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
1187 Patch by Ed Catmur <ed@catmur.co.uk>.
1188 * string/tst-inlcall.c (main): Add test for strpbrk.
1191 * sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
1193 (_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
1194 yet defined, #undef back after including linux/sysctl.h if defined
1196 (__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
1197 back after including linux/sysctl.h if defined here.
1199 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
1200 for single precision register, add it to __asm clobbers [BZ #139].
1201 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
1202 for single precision register, add it to __asm clobbers.
1203 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
1204 instead of fqtoi in QP_HANDLE_EXCEPTIONS.
1205 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
1206 Reported by M. H. VanLeeuwen <vanl@megsinet.net>.
1208 2004-04-23 Andreas Schwab <schwab@suse.de>
1210 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
1213 2004-04-22 Philip Blundell <philb@gnu.org>
1215 * sysdeps/arm/dl-machine.h (elf_machine_rela): Don't use INTUSE
1216 when calling _dl_signal_error.
1217 (elf_machine_rel): Likewise.
1219 2004-04-21 Ulrich Drepper <drepper@redhat.com>
1221 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp
1222 and use it internally instead of __sigsetjmp.
1223 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f.
1224 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l.
1225 * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4.
1226 * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f.
1227 * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l.
1228 * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4.
1229 * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4,
1230 _GI___libm_frexp_4f, _GI___libm_frexp_4l.
1231 * sysdeps/ia64/fpu/bits/mathinline.h: New file.
1232 * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use
1233 HIDDEN_JUMPTARGET for exit call.
1234 * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for
1236 * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call.
1237 * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and
1240 2004-04-21 Jakub Jelinek <jakub@redhat.com>
1242 * posix/tst-chmod.c (do_test): Fix a typo.
1244 * elf/lateglobal.c (main): Fix error checks.
1245 Patch by Stephen Clarke <stephen.clarke@st.com>.
1247 * manual/ctype.texi (isblank, iswblank): Mark as ISO functions,
1248 mention they have been added in ISO C99.
1249 Reported by Ben Pfaff <blp@cs.stanford.edu>.
1251 2004-03-31 H.J. Lu <hongjiu.lu@intel.com>
1253 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Fix typo.
1255 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1257 * sysdeps/unix/sysv/linux/shm_open.c (shm_unlink): Change EPERM into
1260 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1262 * stdio-common/vfscanf.c (_IO_vfscanf): Revert last %% whitespace
1264 * stdio-common/tst-sscanf.c (int_tests): Adjust.
1266 * nis/nss-nis.c: Include stdlib.h.
1268 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Shut up a
1270 * sysdeps/sparc/sparc64/memcmp.S (memcmp): Remove BP_SYM () from
1271 libc_hidden_builtin_def.
1273 2004-04-20 Jim Meyering <jim@meyering.net>
1275 * misc/error.c (error_tail): Don't leak upon realloc failure.
1277 2004-04-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1279 * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
1280 Use RETURN_ADDRESS instead of __builtin_return_address.
1282 2004-04-19 Ulrich Drepper <drepper@redhat.com>
1284 * sysdeps/unix/sysv/linux/mq_unlink.c: Rewrite to produce more
1287 2004-04-20 Jakub Jelinek <jakub@redhat.com>
1289 * stdio-common/vfscanf.c (_IO_vfscanf): When skipping whitespace,
1290 do input_error () instead of conv_error () and don't look at errno.
1291 Don't eat any whitespace before %% if skip_space == 0.
1292 * stdio-common/tst-sscanf.c (int_tests): New array.
1293 (main): Run int_tests.
1296 See ChangeLog.14 for earlier changes.