1 2006-01-06 Ulrich Drepper <drepper@redhat.com>
3 * elf/tst-tls8.c (do_test): Use $ORIGIN in module names.
5 2006-01-03 Steven Munroe <sjmunroe@us.ibm.com>
7 * sysdeps/generic/sysdep.h (cfi_same_value): Define macro.
9 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve,
10 _dl_profile_resolve): Add CFI directives for stack and LR save.
11 Save LR in LRSAVE of previous frame per ABI.
12 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add CFI directives
14 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16 (__makecontext, __novec_makecontext): Likewise.
17 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Add CFI directive
18 for LR save to register.
19 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
23 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Add CFI directive
31 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Add CFI directives for stack
34 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
37 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Don't use
42 negative stack addressing.
44 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
45 _dl_profile_resolve): Add CFI directives for stack and LR save.
46 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Add CFI directives
48 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Add CFI
49 directives for stack and LR save.
50 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Add CFI
52 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Add CFI
54 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55 (__getcontext, __novec_getcontext): Add CFI directives for stack
57 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58 (__makecontext): Add CFI directives for stack and LR save.
59 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60 (__setcontext, __novec_setcontext): Add CFI directives for stack
62 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63 (__swapcontext, __novec_swapcontext): Add CFI directives for stack
66 2006-01-06 Jakub Jelinek <jakub@redhat.com>
68 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h.
69 (SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid
70 the need of .register directive for it.
71 * configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset
72 2047 instead of 0 in the test on sparc64.
74 2006-01-06 Ulrich Drepper <drepper@redhat.com>
76 * scripts/check-c++-types.sh: Add more pthread types.
77 * scripts/data//c++-types-i386-linux-gnu.data: Adjust.
78 * scripts/data//c++-types-ia64-linux-gnu.data: Likewise.
79 * scripts/data//c++-types-powerpc-linux-gnu.data: Likewise.
80 * scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise.
81 * scripts/data//c++-types-s390-linux-gnu.data: Likewise.
82 * scripts/data//c++-types-s390x-linux-gnu.data: Likewise.
83 * scripts/data//c++-types-x86_64-linux-gnu.data: Likewise.
85 * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL_NCS):
86 Adjust for private->__private rename in tcbhead_t.
89 * ncsd/aicache.c: Don't use sendfile for records on the stack.
90 * nscd/grpcache.c: Likewise.
91 * nscd/hstcache.c: Likewise.
92 * nscd/initgrcache.c: Likewise.
93 * nscd/pwdcache.c: Likewise.
94 Patch by dmueller@suse.com.
96 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define MADV_REMOVE.
97 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
98 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
99 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
100 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
101 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
102 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
103 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
105 2006-01-06 Roland McGrath <roland@redhat.com>
107 * Makeconfig (+gnu-stabs): Remove ancient cruft.
110 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_HWX25): Corrected macro
111 name (was typo ARPHDR_HWX25).
112 (ARPHRD_IEEE80211_PRISM, ARPHRD_IEEE80211_RADIOTAP): New macros.
113 (ARPHRD_VOID, ARPHRD_NONE): New macros.
115 * sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.
117 * io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro.
118 * posix/unistd.h [__USE_ATFILE]: Declare faccessat.
119 * io/faccessat.c: New file.
120 * sysdeps/unix/sysv/linux/faccessat.c: New file.
121 * io/Makefile (routines): Add faccessat.
122 * io/Versions (libc: GLIBC_2.4): Likewise.
123 * io/tst-faccessat.c: New file.
124 * io/Makefile (tests): Add it.
126 * scripts/check-local-headers.sh: Revert last change.
128 * io/euidaccess.c: Add eaccess as an alias.
129 * sysdeps/mach/hurd/euidaccess.c: Likewise.
130 * sysdeps/posix/euidaccess.c: Likewise.
131 * posix/unistd.h [__USE_GNU]: Declare eaccess.
132 * io/Versions (libc: GLIBC_2.4): Add eaccess.
134 2005-12-04 Joseph S. Myers <joseph@codesourcery.com>
136 * soft-fp/Makefile (gcc-single-routines): Add unordsf2,
137 floatunsisf, floatundisf.
138 (gcc-double-routines): Add unorddf2, floatunsidf, floatundidf.
139 (gcc-quad-routines): Add unordtf2, floatunsitf, floatunditf.
140 * soft-fp/op-common.h (_FP_CMP_UNORD): Define.
141 * soft-fp/single.h (FP_CMP_UNORD_S): Define.
142 * soft-fp/double.h (FP_CMP_UNORD_D): Define.
143 * soft-fp/quad.h (FP_CMP_UNORD_Q): Define.
144 * soft-fp/extended.h (FP_CMP_UNORD_E): Define.
145 * soft-fp/unordsf2.c: New file.
146 * soft-fp/unorddf2.c: New file.
147 * soft-fp/unordtf2.c: New file.
148 * soft-fp/floatunsisf.c: New file.
149 * soft-fp/floatundisf.c: New file.
150 * soft-fp/floatunsidf.c: New file.
151 * soft-fp/floatundidf.c: New file.
152 * soft-fp/floatunsitf.c: New file.
153 * soft-fp/floatunditf.c: New file.
155 * soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz,
156 __builtin_clzl and __builtin_clzll.
158 2006-01-05 Mike Frysinger <vapier@gentoo.org>
160 * include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.
162 2006-01-05 Jakub Jelinek <jakub@redhat.com>
164 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
165 Only define for 2.6.12+ on s390{,x}.
166 (__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches
167 and only for 2.6.11+ on s390{,x}.
169 2006-01-05 Ulrich Drepper <drepper@redhat.com>
171 * sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP]
172 (struct waitlist): Don't add cond.
173 * sysdeps/pthread/aio_notify.c [!DONT_USE_BOOTSTRAP_MAP]
174 (__aio_notify): Use AIO_MISC_NOTIFY instead of pthread_cond_signal.
175 * sysdeps/pthread/aio_suspend.c [!DONT_USE_BOOTSTRAP_MAP]: Don't
176 use condvar, use AIO_MISC_WAIT.
177 * sysdeps/pthread/lio_listio.c: Likewise.
178 * rt/Makefile (tests): Add tst-aio9 and tst-aio10.
179 * rt/tst-aio9.c: New file.
180 * rt/tst-aio10.c: New file.
182 * rt/tst-aio3.c: The thread is now supposed to be created.
184 2006-01-05 Roland McGrath <roland@redhat.com>
186 * include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when
187 it or _GNU_SOURCE is defined.
188 * io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of
190 * libio/stdio.h: Likewise.
191 * posix/unistd.h: Likewise.
192 * time/sys/time.h: Likewise.
193 * io/sys/stat.h: Likewise.
195 * io/sys/stat.h [__USE_GNU]: Declare fchmodat.
196 * io/fchmodat.c: New file.
197 * io/Makefile (routines): Add fchmodat.
198 * io/Versions (libc: GLIBC_2.4): Likewise.
199 * sysdeps/unix/sysv/linux/fchmodat.c: New file.
200 * io/tst-fchmodat.c: New file.
201 * io/Makefile (tests): Add it.
203 2006-01-03 Steven Munroe <sjmunroe@us.ibm.com>
205 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
206 directive to ENTRY macros.
207 (END): Add cfi_endproc directive to END macro.
208 * sysdeps/powerpc/powerpc64/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
209 directive to ENTRY macros.
210 (END, END_GEN_TB): Add cfi_endproc directive to END macros.
211 * sysdeps/powerpc/powerpc32/dl-start.S: Remove ENTRY()s for
212 _dl_start_user and _dl_main_dispatch.
213 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Use END macro.
214 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Use Likewise.
215 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
216 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
217 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
218 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Remove redundant
220 cfi_startproc and cfi_endproc.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
223 2006-01-04 Ulrich Drepper <drepper@redhat.com>
225 * sysdeps/pthread/aio_misc.h (struct waitlist): Add result member.
226 * sysdeps/pthread/aio_notify.c (__aio_notify): For synchronous waiters,
227 failed I/O, and a result pointer, set value to -1.
228 * sysdeps/pthread/aio_suspend.c: Initialize result pointer to NULL.
229 * sysdeps/pthread/lio_listio.c: For LIO_WAIT, point result pointer in
230 wait list to local variable result. If nonzero afterwards, set errno
231 to EIO. For LIO_NOWAIT set result to NULL.
232 * rt/Makefile (tests): Add tst-aio8.
233 * rt/tst-aio8.c: New file.
235 2005-12-25 Kristian Van Der Vliet <vanders@liqwyd.com>
237 * abi-tags (*-.*-syllable.*): New match, with ABI value 5.
238 * elf/cache.c (print_entry): Match the Syllable ABI tag.
240 2006-01-04 Ulrich Drepper <drepper@redhat.com>
242 * include/stdlib.h: Make even more C++ compliant.
244 2006-01-04 Joseph S. Myers <joseph@codesourcery.com>
246 * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use
249 2006-01-03 H.J. Lu <hongjiu.lu@intel.com>
251 * configure.in (HAVE_LIBAUDIT): Check
252 audit_log_user_avc_message instead of audit_log_avc.
254 2006-01-04 Joseph S. Myers <joseph@codesourcery.com>
256 * sysdeps/ieee754/bits/nan.h: Fix typo.
258 2006-01-03 Jakub Jelinek <jakub@redhat.com>
260 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.
262 * sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused
265 * sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add
266 {,u}atomic*_t typedefs.
267 (__sparc32_atomic_do_lock): Add __volatile and memory clobber.
268 (__sparc32_atomic_do_unlock): Add memory barrier.
269 (__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define.
270 [!SHARED] (__v9_compare_and_exchange_val_32_acq): Define.
271 (__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq,
272 __v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel,
273 __v7_compare_and_exchange_val_24_acq, __atomic_is_v9,
274 atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq,
275 atomic_exchange_24_rel): Define.
276 [SHARED] (atomic_exchange_and_add): Define.
277 [!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define.
278 [!SHARED] (_dl_hwcap): New weak decl.
279 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel,
280 atomic_compare_and_exchange_val_24_acq): Define.
281 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel,
282 atomic_compare_and_exchange_val_24_acq): Define.
284 2006-01-03 Ulrich Drepper <drepper@redhat.com>
286 lio_listio should emit an event for each individual request in
287 addition to the global event.
288 * sysdeps/pthread/lio_listio.c (lio_listio): Renamed to
289 lio_listio_internal. Remove mode parameter check. Only set sigevent
290 type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.
291 (__lio_listio_21): New function. Compatiblity version which sets
292 LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal.
293 (__lio_listio_item_notify): New function.
294 * sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and
295 __lio_listio_item_notify macros.
296 * sysdeps/pthread/Versions: New file.
297 * rt/tst-aio2.c: Adjust test for new semantics of lio_listio.
298 * include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT.
299 * Versions.def: Add GLIBC_2.4 for librt.
301 * rt/Versions: Whitespace fix.
302 * sysdeps/pthread/aio_misc.c: Likewise.
304 * nscd/connections.c (nscd_init): Remove if block which should
305 have been removed as part of the -S option removal.
307 2006-01-03 Andreas Jaeger <aj@suse.de>
309 * scripts/check-local-headers.sh: Allow $includedir/c++.
311 2006-01-03 Jakub Jelinek <jakub@redhat.com>
313 * posix/unistd.h (ctermid): Remove __nonnull attribute.
315 2006-01-02 Jakub Jelinek <jakub@redhat.com>
317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,
318 PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE,
320 PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
321 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64]
322 (_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp.
323 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp
325 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp
328 2006-01-02 Jakub Jelinek <jakub@redhat.com>
330 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2):
332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2):
334 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15.
335 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
336 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15.
337 * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
338 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
339 * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
341 * sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf
342 struct tag to make C++ happy.
344 2006-01-02 Ulrich Drepper <drepper@redhat.com>
346 * posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of
349 2006-01-01 Ulrich Drepper <drepper@redhat.com>
351 * posix/getconf.c: Update copyright year.
352 * nss/getent.c: Likewise.
353 * iconv/iconvconfig.c: Likewise.
354 * iconv/iconv_prog.c: Likewise.
355 * elf/ldconfig.c: Likewise.
356 * catgets/gencat.c: Likewise.
357 * csu/version.c: Likewise.
358 * elf/ldd.bash.in: Likewise.
359 * elf/sprof.c (print_version): Likewise.
360 * locale/programs/locale.c: Likewise.
361 * locale/programs/localedef.c: Likewise.
362 * nscd/nscd.c (print_version): Likewise.
363 * debug/xtrace.sh: Likewise.
364 * malloc/memusage.sh: Likewise.
365 * malloc/mtrace.pl: Likewise.
366 * debug/catchsegv.sh: Likewise.
368 2005-12-31 Andreas Jaeger <aj@suse.de>
371 * manual/filesys.texi (Symbolic Links): Fix description of
372 canonicalize_file_name based on patch by Oskar Liljeblad
375 2005-12-29 Andreas Jaeger <aj@suse.de>
377 * resolv/res_debug.c (latlon2ul): Use ISO C function definition.
378 (precsize_aton): Likewise.
379 (precsize_ntoa): Likewise.
381 * resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype.
382 (gethostbyname2): Likewise.
383 (gethostbyaddr): Likewise.
384 (getanswer): Use ISO C function definition.
386 2005-12-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
388 * sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.
389 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
390 * sysdeps/sh/_mcount.S: Add cfi instrumentation.
391 * sysdeps/unix/sh/sysdep.S: Likewise.
392 * sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc.
393 * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate
394 cfi_startproc and cfi_endproc.
395 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
396 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
397 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
398 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
399 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
400 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
401 * sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc.
403 2005-12-30 Ulrich Drepper <drepper@redhat.com>
405 * sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard
406 value doesn't survive in a registers when the function returns.
407 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
408 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
410 2005-12-30 Jakub Jelinek <jakub@redhat.com>
412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
415 PTR_MANGLE2 and PTR_DEMANGLE2.
416 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2.
417 * sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2.
418 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
419 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
421 2005-12-30 Ulrich Drepper <drepper@redhat.com>
423 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
424 Don't use _demangle parameter for now.
427 * libio/iogetwline.c (_IO_getwline_info): Move return to correct
430 * nscd/connections.c: Remove last remnants of -S option support.
431 * nscd/nscd.c: Likewise.
432 * nscd/nscd.h: Likewise.
434 2005-12-30 Andreas Jaeger <aj@suse.de>
437 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr
438 for 64-bit mips kernel.
440 2005-12-08 Steven Munroe <sjmunroe@us.ibm.com>
441 Tom Gall <tom_gall@vnet.ibm.com>
443 * elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map.
444 * sysdeps/powerpc/elf/libc-start.c: Move this...
445 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here.
446 * sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label.
447 * sysdeps/powerpc/powerpc32/hp-timing.h: New file.
448 * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
449 * sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL
450 is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to
451 INTERNAL_SYSCALL and INLINE_SYSCALL respectively. Otherwise include
452 <bits/libc-vdso.h>. Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead
453 of the normal versions throughout the code.
454 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if
455 HAVE_CLOCK_GETTIME_VSYSCALL is defined.
456 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file.
457 * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file.
458 * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file.
459 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO.
460 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file.
461 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines.
462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
463 INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS,
464 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL,
465 and HAVE_CLOCK_GETTIME_VSYSCALL.
466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
468 2005-12-29 Ulrich Drepper <drepper@redhat.com>
470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:
471 Define PTR_DEMANGLE2.
472 * sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also
474 * sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also
476 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle
478 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]:
481 * sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also
483 * sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also
486 2005-12-26 Steven Munroe <sjmunroe@us.ibm.com>
488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:
489 Move common function to...
490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S:
493 Move common function to...
494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S:
497 Move common function to...
498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym
501 (_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1,
502 _FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4):
503 Remove unrelated stack frame defines.
505 2005-12-29 Ulrich Drepper <drepper@redhat.com>
507 * stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):
508 Defining as macro as before the last change.
510 * sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,
511 include the named file.
512 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
513 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
514 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
515 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
516 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
517 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
519 2005-12-29 Roland McGrath <roland@frob.com>
521 * sysdeps/mach/hurd/errno.c: New file.
523 * sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast.
525 * sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.
527 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast.
528 * hurd/report-wait.c (_S_msg_report_wait): Likewise.
530 * include/sys/xattr.h: New file.
532 2005-12-28 Roland McGrath <roland@redhat.com>
534 * hurd/sigunwind.c: Include <stdint.h>.
535 * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
537 2005-12-28 Ulrich Drepper <drepper@redhat.com>
539 * nscd/selinux.c (log_callback): Use audit_log_user_avc_message.
540 Don't do anything if audit_fd is invalid.
541 (audit_init): Don't complain if kernel support is missing.
542 Patch by Steve Grubb <sgrubb@redhat.com>.
544 * sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stack
546 * sysdeps/i386/bsd-_setjmp.S [PTR_MANGLE]: Also mangle stack pointer.
547 * sysdeps/i386/bsd-setjmp.S: Likewise.
548 * sysdeps/i386/setjmp.S: Likewise.
550 * sysdeps/x86_64/__longjmp.S: No need to make sure return value is
551 != 0, the caller did that.
553 2005-12-27 Roland McGrath <roland@redhat.com>
555 * sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loading
556 mangled values in %rbp and %rsp registers and by wrong cfi.
558 * config.make.in (c++-sysincludes): New substituted variable.
559 * configure.in (CXX_SYSINCLUDES): New substituted variable.
560 * configure: Regenerated.
561 * Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
564 (PTR_MANGLE): Fix cast.
566 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument
567 DEMANGLE, and pass SP value through it.
568 * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
569 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
570 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
571 * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
572 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
573 * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
574 * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
575 * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
576 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
577 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise.
578 * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
579 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline
580 demangler function to _JMPBUF_UNWINDS.
581 * sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function.
582 (_longjmp_unwind): Pass it to _JMPBUF_UNWINDS.
584 * posix/tst-execle1.c (do_test): Add a const.
585 * posix/tst-execle2.c (do_test): Likewise.
587 * posix/transbug.c (run_test): Add some casts.
588 * posix/bug-regex22.c (main): Likewise.
589 * posix/bug-regex5.c (main): Likewise.
590 * wcsmbs/tst-mbsrtowcs.c (main): Likewise.
591 * string/test-strspn.c (do_test, do_random_tests): Likewise.
592 * string/test-strrchr.c (do_test, do_random_tests): Likewise.
593 * string/test-strlen.c (do_random_tests): Likewise.
594 * string/test-strpbrk.c (do_test, do_random_tests): Likewise.
595 * string/test-strcmp.c (do_random_tests): Likewise.
596 * string/test-strchr.c (do_test, do_random_tests): Likewise.
597 * string/test-strcat.c (do_test, do_random_tests): Likewise.
598 * string/test-strncpy.c (do_random_tests): Likewise.
599 * string/test-strcpy.c (do_test, do_random_tests): Likewise.
600 * string/test-memccpy.c (do_test): Likewise.
601 * string/test-memmove.c (do_test, do_random_tests): Likewise.
602 * string/test-memcpy.c (do_test, do_random_tests): Likewise.
603 * string/test-memcmp.c (do_test, do_random_tests): Likewise.
604 * string/test-memchr.c (do_test, do_random_tests): Likewise.
605 * dlfcn/bug-atexit1.c (do_test): Fix up prototype in cast.
606 * stdio-common/tst-fgets.c (do_test): Add a cast.
607 * iconvdata/bug-iconv4.c (xiconv): Add a cast.
609 * locale/programs/simple-hash.c (insert_entry_2): Remove useless casts.
611 * resolv/herror.c (herror): Remove unused extern decl.
613 * libio/obprintf.c: Include "strfile.h".
615 * elf/order2mod2.c (init): Cast ignored value to void.
617 2005-12-27 Ulrich Drepper <drepper@redhat.com>
619 * elf/tst-tls13.c (do_test): Avoid using the library path when
620 looking for tst-tlsmod13a.so.
622 * stdio-common/tstdiomisc.c: If FLT_EVAL_METHOD is 2, use long
623 double math to generate NaN results.
625 * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEAD
626 and ENOTRECOVERABLE if not already defined.
627 * sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise.
629 2005-12-27 Jakub Jelinek <jakub@redhat.com>
631 * sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat
632 entry for up to 138 errnos.
634 2005-12-27 Jakub Jelinek <jakub@redhat.com>
636 * iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fct
639 2005-12-27 David S. Miller <davem@sunset.davemloft.net>
641 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist-compat
642 entry for up to 134 errnos.
644 2005-12-26 Ulrich Drepper <drepper@redhat.com>
646 * Versions.def: Add GLIBC_2.4 for libpthread.
648 2005-12-25 Ulrich Drepper <drepper@redhat.com>
650 * stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end so
651 that $(..)/bits is not found early.
653 2005-12-24 Ulrich Drepper <drepper@redhat.com>
655 * manual/errno.texi: Add new Linux errno codes.
656 * sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry
657 for up to 132 errnos.
658 * sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and
659 ENOTRECOVERABLE if not already defined.
661 2005-12-23 Ulrich Drepper <drepper@redhat.com>
664 * sysdeps/i386/i586/memusage.h: New file.
665 * sysdeps/i386/memusage.h: Don't define GETTIME.
667 2005-12-22 Ulrich Drepper <drepper@redhat.com>
670 * misc/syslog.c (SyslogAddr): Use sockaddr_un instead of sockaddr.
671 (openlog_internal): Adjust for this change.
673 * Makeconfig: Define CXXFLAGS. Split out warnings from +gccwarn which
674 are not understood by the C++ compiler.
675 * Makerules: Add rules to build C++ code for test cases.
676 * include/stdlib.h: Protect for inclusion in C++ code.
677 * include/time.h: Likewise.
679 2005-12-22 Roland McGrath <roland@redhat.com>
681 * Makerules [gen-as-const-headers] (tests): Add one test per .sym
683 ($(objpfx)test-as-const.c): Target replaced with ...
684 ($(objpfx)test-as-const-%.c): ... this pattern rule.
685 (generated): Add those files.
687 2005-12-22 Ulrich Drepper <drepper@redhat.com>
689 * test-skeleton.c (timeout_handler): Rewrite ts initialization for
692 * sysdeps/x86_64/__longjmp.S: Also protect SP and BP.
693 * sysdeps/x86_64/setjmp.S: Likewise.
695 2005-12-21 Roland McGrath <roland@redhat.com>
697 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed.
698 * sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed.
700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file.
701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed.
702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file.
703 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed.
704 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed.
705 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file.
706 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed.
707 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file.
708 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed.
709 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file.
710 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed.
711 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file.
712 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]:
713 (gen-as-const-headers): Add it.
714 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
715 * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
716 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
717 * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
718 * stdlib/tst-ucontext-off.c: File removed.
719 * stdlib/Makefile (tests): Remove it.
721 * scripts/gen-as-const.awk: Support generating a test program.
722 * Makerules [gen-as-const-headers] (tests): Add test-as-const.
723 [gen-as-const-headers] ($(objpfx)test-as-const.c): New target.
725 * sysdeps/generic/bits: Subdirectory and all files moved to ...
726 * bits: ... here, new subdirectory.
727 * Makeconfig (+includes): Reordered includes to put build and sysdeps
728 dirs first after $(..)include, $(sysincludes) last.
731 * intl/l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later
734 2005-12-21 Jakub Jelinek <jakub@redhat.com>
736 * sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
738 2005-12-21 Roland McGrath <roland@redhat.com>
740 * sysdeps/mach/hurd/ifreq.c: Add missing #includes.
742 * elf/cache.c: Use <> rather than "" #includes.
743 * elf/chroot_canon.c: Likewise.
744 * elf/dl-lookup.c: Likewise.
745 * elf/ldconfig.c: Likewise.
746 * elf/readlib.c: Likewise.
747 * elf/rtld.c: Likewise.
748 * gmon/mcount.c: Likewise.
749 * hurd/hurdfault.c: Likewise.
750 * hurd/hurdsig.c: Likewise.
751 * hurd/report-wait.c: Likewise.
752 * hurd/sigunwind.c: Likewise.
753 * mach/setup-thread.c: Likewise.
754 * rt/aio_read64.c: Likewise.
755 * rt/aio_sigqueue.c: Likewise.
756 * rt/aio_write64.c: Likewise.
757 * soft-fp/soft-fp.h: Likewise.
758 * stdio-common/tmpfile64.c: Likewise.
759 * sysdeps/mach/hurd/fork.c: Likewise.
760 * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
761 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
762 * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
763 * sysdeps/mach/hurd/powerpc/trampoline.c: Likewise.
764 * sysdeps/posix/sprofil.c: Likewise.
765 * sysdeps/pthread/aio_cancel.c: Likewise.
766 * sysdeps/pthread/aio_fsync.c: Likewise.
767 * sysdeps/pthread/aio_read64.c: Likewise.
768 * sysdeps/pthread/aio_read.c: Likewise.
769 * sysdeps/pthread/aio_suspend.c: Likewise.
770 * sysdeps/pthread/aio_write64.c: Likewise.
771 * sysdeps/pthread/aio_write.c: Likewise.
772 * sysdeps/pthread/lio_listio64.c: Likewise.
773 * sysdeps/pthread/lio_listio.c: Likewise.
774 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
775 * sysdeps/unix/sysv/tcflow.c: Likewise.
777 * sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast.
779 * elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call.
781 * csu/dso_handle.c (__dso_handle): Add const to pointer type too.
783 2005-12-21 Ulrich Drepper <drepper@redhat.com>
785 * iconv/gconv_conf.c: Initialize empty_path_elem.
787 * sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const.
788 * sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const.
789 * sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end
791 * sysdeps/ieee754/flt-32/e_exp2f.c: Make sure TWO127 and TWOM100
793 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
794 * sysdeps/ieee754/dbl-64/e_exp2.c: Make sure TWO1023 and TWOM1000
797 2005-12-21 Thorsten Kukuk <kukuk@suse.de>
799 * elf/readlib.c: Fix include of readelflib.c.
801 2005-12-21 Ulrich Drepper <drepper@redhat.com>
804 * io/fts.c (fts_open): Change type of len to size_t.
805 (fts_build): Remove cast in call to fts_alloc.
806 (fts_alloc): Change third parameter's type to size_t.
809 * io/fts.c (fts_open): Avoid function call in MAX macro use.
811 2005-12-20 Ulrich Drepper <drepper@redhat.com>
813 * locale/xlocale.c (_nl_C_locobj): Mark as const.
814 * include/locale.h: Define _nl_C_locobj_ptr.
815 * iconv/gconv_charset.h: Use _nl_C_locobj_ptr instead of using pointer
816 to _nl_C_locobj because we also need a cast.
817 * iconv/gconv_conf.c: Likewise.
818 * iconv/gconv_int.h: Likewise.
819 * iconv/gconv_open.c: Likewise.
820 * locale/duplocale.c: Likewise.
821 * locale/freelocale.c: Likewise.
822 * locale/newlocale.c: Likewise.
823 * misc/syslog.c: Likewise.
824 * stdlib/strtod_l.c: Likewise.
825 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
827 * csu/dso_handle.c (__dso_handle): Mark as const.
829 * intl/plural-exp.c (GERMANIC_PLURAL): Mark as const.
830 * intl/plural-exp.h: Adjust declaration of
831 __gettext_germanic_plural.
833 * resolv/herror.c (h_errlist): Mark as const.
836 2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
839 * sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG.
841 2005-12-20 Roland McGrath <roland@redhat.com>
843 * sysdeps/unix/sysv/linux/ifreq.h: File removed.
844 * sysdeps/unix/sysv/linux/ifreq.c: #include "kernel-features.h" here.
846 * sysdeps/mach/hurd/ifreq.h: File removed.
847 (__ifreq): Function moved to ...
848 * sysdeps/mach/hurd/ifreq.c: ... here, new file.
850 2005-12-20 Ulrich Drepper <drepper@redhat.com>
852 * sunrpc/clnt_unix.c (unix_ops): Mark as const.
853 * sunrpc/auth_des.c (authdes_ops): Likewise.
854 * sunrpc/svc_raw.c (server_ops): Likewise.
855 * sunrpc/clnt_udp.c (udp_ops): Likewise.
856 * sunrpc/clnt_tcp.c (tcp_ops): Likewise.
857 * sunrpc/clnt_raw.c (client_ops): Likewise.
858 * sunrpc/auth_unix.c (auth_unix_ops): Likewise.
859 * sunrpc/auth_none.c (ops): Likewise.
861 * nss/nsswitch.c (databases): Mark as const. Change name field
863 * nss/databases.def: Add warning.
865 * resolv/res_hconf.c (arg_service_list): Reduce size of svcs and
867 (cmd): Mark as const.
868 (parse_line): Mark c as pointer to const.
870 * misc/getusershell.c (initshells): Remove unnecessary tests.
871 (endusershell): Likewise.
872 (okshells): Mark as const.
874 * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations.
875 * sysdeps/posix/gai_strerror-strs.h: New file.
876 * sysdeps/posix/Dist: New file.
878 * sysdeps/posix/getaddrinfo.c (gaih): Mark as const.
879 * locale/loadlocale.c (_nl_value_types): Likewise.
880 * iconv/gconv_conf.c (builtin_aliases): Likewise.
881 * iconv/gconv_open.c (internal_trans_names): Likewise.
883 2005-12-19 Kaz Kojima <kkojima@rr.iij4u.or.jp>
885 * sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h.
886 (PTR_MANGLE, PTR_DEMANGLE): Define.
887 (SYSCALL_ERROR_HANDLER): Fix typo.
888 * sysdeps/sh/sh4/__longjmp.S: Use PTR_DEMANGLE if defined.
889 * sysdeps/sh/sh3/__longjmp.S: Likewise.
890 * sysdeps/sh/sh4/setjmp.S: Use PTR_MANGLE if defined.
891 * sysdeps/sh/sh3/setjmp.S: Likewise.
893 2005-12-20 Jakub Jelinek <jakub@redhat.com>
895 * sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
897 * sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined,
898 use sysdeps/unix/time.c implementation.
900 2005-12-19 Ulrich Drepper <drepper@redhat.com>
903 * timezone/zic.c (tofile;): Fix typo in symlink creation.
904 Patch by Phil Estes <pestes@us.ibm.com>.
907 * sysdeps/unix/sysv/linux/time.c: New file.
908 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove time entry.
910 2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
912 * io/xmknodat.c: Include <stddef.h>.
913 * misc/futimesat.c: Remove weak_alias and correct stub_warning.
914 * stdio-common/renameat.c (renameat): Fix typo.
916 2005-12-16 Thorsten Kukuk <kukuk@suse.de>
919 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
920 Map more filesystem types to a string.
921 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add SYSFS_MAGIC.
923 2005-12-19 Jakub Jelinek <jakub@redhat.com>
925 * locale/Makefile (programs/%-kw.h): Run $(GPERF) inside of the
926 programs subdirectory.
928 * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use
929 PTR_DEMANGLE for PC if defined.
930 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp):
932 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Likewise.
933 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Xor %r14 with
934 THREAD_GET_POINTER_GUARD () if PTR_DEMANGLE is defined.
935 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
936 * sysdeps/powerpc/powerpc32/setjmp-common.S (__sigsetjmp): Use
937 PTR_MANGLE for PC if defined.
938 * sysdeps/powerpc/powerpc64/setjmp-common.S (__sigsetjmp): Likewise.
939 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
940 Avoid call to __sigjmp_save if IS_IN_rtld.
941 * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
942 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
943 * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
944 * sysdeps/unix/sysv/linux/ia64/setjmp.S (__sigsetjmp): Likewise.
945 * sysdeps/unix/sysv/linux/ia64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE):
947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Include tls.h.
948 (PTR_MANGLE, PTR_DEMANGLE): Define.
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Include tls.h
950 (PTR_MANGLE, PTR_DEMANGLE): Define.
951 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include tls.h.
952 (PTR_MANGLE, PTR_DEMANGLE): Define.
953 (SYSCALL_ERROR_HANDLER): Add missing semicolons.
954 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Include tls.h.
955 (PTR_MANGLE, PTR_DEMANGLE): Define.
956 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Add
957 SYSCALL_ERROR_HANDLER.
959 2005-12-19 Ulrich Drepper <drepper@redhat.com>
961 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Handle NO_WEAK_ALIAS.
962 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
963 Patch by Clint Adams.
965 2005-12-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
967 * sysdeps/unix/sysv/linux/s390/sys/user.h: Copy struct user and
968 dependent definitions from the kernel header to sys/user.h and
969 remove the #include of asm/user.h.
971 2005-12-19 Ulrich Drepper <drepper@redhat.com>
973 * sysdeps/gnu/Makefile: Make sure the correct errlist.c file is
974 used when generating errlist-compat.c.
976 2005-12-18 Ulrich Drepper <drepper@redhat.com>
978 * iconv/gconv.c: Demangle pointers before use if necessary.
979 * iconv/gconv_cache.c: Likewise.
980 * iconv/skeleton.c: Likewise.
981 * libio/iofwide.c: Likewise.
982 * wcsmbs/btowc.c: Likewise.
983 * wcsmbs/mbrtowc.c: Likewise.
984 * wcsmbs/mbsnrtowcs.c: Likewise.
985 * wcsmbs/mbsrtowcs_l.c: Likewise.
986 * wcsmbs/wcrtomb.c: Likewise.
987 * wcsmbs/wcsnrtombs.c: Likewise.
988 * wcsmbs/wcsrtombs.c: Likewise.
989 * wcsmbs/wctob.c: Likewise.
990 * iconv_gconv_db.c: Likewise. After init functions returns mangle
991 btowc pointer if necessary.
992 * iconv/gconv_dl.c: Mangle function pointers retrieved from dlsym.
994 * iconv/gconv_builtin.c (builtin_map): Change type of size
995 information fields to int8_t.
997 * libio/iofwide.c (__libio_codecvt): Mark as const.
998 (__libio_translit): Likewise.
999 * libio/libioP.h (__libio_codecvt): Adjust declaraction.
1001 * wcsmbs/wcsmbsload.c (to_wc): Mark as const.
1004 2005-12-18 Richard Henderson <rth@redhat.com>
1006 * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.
1008 2005-12-18 Ulrich Drepper <drepper@redhat.com>
1010 * iconv/gconv_builtin.c: Mark map with attribute_relro.
1012 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define C
1013 version for inside ld.so.
1015 * elf/rtld.c (dl_main): Don't use hp timing code unless it's available.
1017 * sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: Avoid
1018 call to __sigjmp_save.
1019 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1021 * stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer. Fill in
1022 flavor field last and protect with memory barrier.
1023 * stdlib/on_exit.c: Likewise.
1024 * stdlib/cxa_finalize.c: Use PTR_DEMANGLE on function pointer before
1026 * stdlib/exit.c: Likewise.
1028 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and
1029 PTR_DEMANGLE for C code in libc.
1030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1032 2005-12-17 Ulrich Drepper <drepper@redhat.com>
1034 * elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined.
1035 * elf/rtld.c: Define __pointer_chk_guard_local and if necessary
1036 __pointer_chk_guard.
1037 (_rtld_global_ro): Initialize _dl_pointer_guard.
1038 (dl_main): Initialize __pointer_chk_guard_local and either
1039 __pointer_chk_guard or TLS value if necessary.
1040 (process_envvars): Recognize and handle LD_POINTER_GUARD.
1041 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_pointer_guard.
1042 * sysdeps/i386/__longjmp.S: Use PTR_DEMANGLE for PC if defined.
1043 * sysdeps/x86_64/__longjmp.S: Likewise.
1044 * sysdeps/i386/bsd-_setjmp.S: Use PTR_MANGLE for PC if defined.
1045 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1046 * sysdeps/i386/setjmp.S: Likewise.
1047 [IS_IN_rtld]: Avoid call to __sigjmp_save.
1048 * sysdeps/i386/setjmp.S: Likewise.
1049 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and
1051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1053 * sysdeps/i386/elf/setjmp.S: Removed.
1054 * sysdeps/i386/elf/bsd-setjmp.S: Removed.
1056 * elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of
1058 * elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.
1059 * elf/dl-minimal.c (longjmp): Remove definition.
1061 * sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.
1063 2005-12-14 Thorsten Kukuk <kukuk@suse.de>
1065 * nscd/Makefile: Don't build nscd_nischeck.
1066 * nscd/nscd_nischeck.c: Removed.
1068 2005-12-15 Ulrich Drepper <drepper@redhat.com>
1070 * sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in
1071 separate function __atfct_seterrno_2.
1072 * include/fcntl.h: Declare __atfct_seterrno_2.
1073 * posix/unistd.h: Declare linkat, symlinkat, readlinkat.
1074 * io/Makefile (routines): Add linkat, symlinkat, readlinkat.
1075 * io/Versions [GLIBC_2.4]: Export linkat, symlinkat, readlinkat.
1076 * io/linkat.c: New file.
1077 * io/readlinkat.c: New file.
1078 * io/symlinkat.c: New file.
1079 * sysdeps/unix/sysv/linux/linkat.c: New file.
1080 * sysdeps/unix/sysv/linux/readlinkat.c: New file.
1081 * sysdeps/unix/sysv/linux/symlinkat.c: New file.
1083 2005-12-15 Roland McGrath <roland@redhat.com>
1086 * manual/stdio.texi (String Streams): For open_memstream, elaborate a
1087 little on malloc reference.
1089 * sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.
1090 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1091 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
1092 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1093 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
1094 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1095 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1096 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1097 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
1098 * sysdeps/alpha/fpu/s_clog10f.c: Likewise.
1099 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
1100 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
1101 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
1102 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1103 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1104 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
1105 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1106 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1107 * sysdeps/alpha/libc-tls.c: Likewise.
1108 * sysdeps/gnu/glob64.c: Likewise.
1109 * sysdeps/gnu/updwtmp.c: Likewise.
1110 * sysdeps/gnu/utmp_file.c: Likewise.
1111 * sysdeps/i386/bzero.c: Likewise.
1112 * sysdeps/i386/ffs.c: Likewise.
1113 * sysdeps/i386/i686/ffs.c: Likewise.
1114 * sysdeps/i386/memset.c: Likewise.
1115 * sysdeps/ia64/fpu/printf_fphex.c: Likewise.
1116 * sysdeps/ia64/libc-tls.c: Likewise.
1117 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1118 * sysdeps/m68k/ffs.c: Likewise.
1119 * sysdeps/mach/hurd/getdents.c: Likewise.
1120 * sysdeps/mach/hurd/init-posix.c: Likewise.
1121 * sysdeps/mach/msync.c: Likewise.
1122 * sysdeps/mips/libc-tls.c: Likewise.
1123 * sysdeps/posix/profil.c: Likewise.
1124 * sysdeps/posix/shm_open.c: Likewise.
1125 * sysdeps/posix/shm_unlink.c: Likewise.
1126 * sysdeps/posix/sprofil.c: Likewise.
1127 * sysdeps/powerpc/ffs.c: Likewise.
1128 * sysdeps/rs6000/ffs.c: Likewise.
1129 * sysdeps/s390/libc-tls.c: Likewise.
1130 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1131 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
1132 * sysdeps/unix/sysv/linux/alpha/wordexp.c: Likewise.
1133 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
1134 * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise.
1135 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1136 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1137 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1138 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1139 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1140 * sysdeps/unix/sysv/linux/i386/readelflib.c: Likewise.
1141 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1142 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1143 * sysdeps/unix/sysv/linux/ia64/readelflib.c: Likewise.
1144 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1145 * sysdeps/unix/sysv/linux/mips/readelflib.c: Likewise.
1146 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1147 * sysdeps/unix/sysv/linux/mq_close.c: Likewise.
1148 * sysdeps/unix/sysv/linux/mq_getattr.c: Likewise.
1149 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
1150 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
1151 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
1152 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
1153 * sysdeps/unix/sysv/linux/mq_unlink.c: Likewise.
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1156 * sysdeps/unix/sysv/linux/powerpc/readelflib.c: Likewise.
1157 * sysdeps/unix/sysv/linux/s390/readelflib.c: Likewise.
1158 * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise.
1159 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1160 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1161 * sysdeps/unix/sysv/linux/sigstack.c: Likewise.
1162 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1163 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1164 * sysdeps/unix/sysv/linux/sparc/readelflib.c: Likewise.
1165 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1166 * sysdeps/unix/sysv/linux/vfork.c: Likewise.
1167 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Likewise.
1169 * sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.
1171 2005-12-13 Ulrich Drepper <drepper@redhat.com>
1173 * locale/programs/charmap-kw.h: Regenerated with new gperf.
1174 * locale/programs/locfile-kw.h: Likewise.
1176 * Makeconfig (+includes): Look in current directory late.
1177 * Makerules: Add rules from rules before the rules for the current
1179 * sysdeps/generic/__longjmp.c: Moved to...
1180 * setjmp/__longjmp.c: ...here.
1181 * sysdeps/generic/_exit.c: Moved to...
1182 * posix/_exit.c: ...here.
1183 * sysdeps/generic/_strerror.c: Moved to...
1184 * string/_strerror.c: ...here.
1185 * sysdeps/generic/abort.c: Moved to...
1186 * stdlib/abort.c: ...here.
1187 * sysdeps/generic/accept.c: Moved to...
1188 * socket/accept.c: ...here.
1189 * sysdeps/generic/access.c: Moved to...
1190 * io/access.c: ...here.
1191 * sysdeps/generic/acct.c: Moved to...
1192 * misc/acct.c: ...here.
1193 * sysdeps/generic/add_n.c: Moved to...
1194 * stdlib/add_n.c: ...here.
1195 * sysdeps/generic/addmul_1.c: Moved to...
1196 * stdlib/addmul_1.c: ...here.
1197 * sysdeps/generic/adjtime.c: Moved to...
1198 * time/adjtime.c: ...here.
1199 * sysdeps/generic/aio_cancel.c: Moved to...
1200 * rt/aio_cancel.c: ...here.
1201 * sysdeps/generic/aio_fsync.c: Moved to...
1202 * rt/aio_fsync.c: ...here.
1203 * sysdeps/generic/aio_misc.c: Moved to...
1204 * rt/aio_misc.c: ...here.
1205 * sysdeps/generic/aio_notify.c: Moved to...
1206 * rt/aio_notify.c: ...here.
1207 * sysdeps/generic/aio_read.c: Moved to...
1208 * rt/aio_read.c: ...here.
1209 * sysdeps/generic/aio_read64.c: Moved to...
1210 * rt/aio_read64.c: ...here.
1211 * sysdeps/generic/aio_sigqueue.c: Moved to...
1212 * rt/aio_sigqueue.c: ...here.
1213 * sysdeps/generic/aio_suspend.c: Moved to...
1214 * rt/aio_suspend.c: ...here.
1215 * sysdeps/generic/aio_write.c: Moved to...
1216 * rt/aio_write.c: ...here.
1217 * sysdeps/generic/aio_write64.c: Moved to...
1218 * rt/aio_write64.c: ...here.
1219 * sysdeps/generic/alarm.c: Moved to...
1220 * posix/alarm.c: ...here.
1221 * sysdeps/generic/allocrtsig.c: Moved to...
1222 * signal/allocrtsig.c: ...here.
1223 * sysdeps/generic/alphasort64.c: Moved to...
1224 * dirent/alphasort64.c: ...here.
1225 * sysdeps/generic/backtrace.c: Moved to...
1226 * debug/backtrace.c: ...here.
1227 * sysdeps/generic/backtracesyms.c: Moved to...
1228 * debug/backtracesyms.c: ...here.
1229 * sysdeps/generic/backtracesymsfd.c: Moved to...
1230 * debug/backtracesymsfd.c: ...here.
1231 * sysdeps/generic/bb_init_func.c: Moved to...
1232 * gmon/bb_init_func.c: ...here.
1233 * sysdeps/generic/bcopy.c: Moved to...
1234 * string/bcopy.c: ...here.
1235 * sysdeps/generic/bind.c: Moved to...
1236 * socket/bind.c: ...here.
1237 * sysdeps/generic/brdinit.c: Moved to...
1238 * bare/brdinit.c: ...here.
1239 * sysdeps/generic/brk.c: Moved to...
1240 * misc/brk.c: ...here.
1241 * sysdeps/generic/bsd-_setjmp.c: Moved to...
1242 * setjmp/bsd-_setjmp.c: ...here.
1243 * sysdeps/generic/bsd-setjmp.c: Moved to...
1244 * setjmp/bsd-setjmp.c: ...here.
1245 * sysdeps/generic/bzero.c: Moved to...
1246 * string/bzero.c: ...here.
1247 * sysdeps/generic/cabsf.c: Moved to...
1248 * math/cabsf.c: ...here.
1249 * sysdeps/generic/cargf.c: Moved to...
1250 * math/cargf.c: ...here.
1251 * sysdeps/generic/chdir.c: Moved to...
1252 * io/chdir.c: ...here.
1253 * sysdeps/generic/check_fds.c: Moved to...
1254 * csu/check_fds.c: ...here.
1255 * sysdeps/generic/check_pf.c: Moved to...
1256 * inet/check_pf.c: ...here.
1257 * sysdeps/generic/chflags.c: Moved to...
1258 * misc/chflags.c: ...here.
1259 * sysdeps/generic/chmod.c: Moved to...
1260 * io/chmod.c: ...here.
1261 * sysdeps/generic/chown.c: Moved to...
1262 * io/chown.c: ...here.
1263 * sysdeps/generic/chroot.c: Moved to...
1264 * misc/chroot.c: ...here.
1265 * sysdeps/generic/cimagf.c: Moved to...
1266 * math/cimagf.c: ...here.
1267 * sysdeps/generic/clock.c: Moved to...
1268 * time/clock.c: ...here.
1269 * sysdeps/generic/clock_getcpuclockid.c: Moved to...
1270 * rt/clock_getcpuclockid.c: ...here.
1271 * sysdeps/generic/clock_getres.c: Moved to...
1272 * rt/clock_getres.c: ...here.
1273 * sysdeps/generic/clock_gettime.c: Moved to...
1274 * rt/clock_gettime.c: ...here.
1275 * sysdeps/generic/clock_nanosleep.c: Moved to...
1276 * rt/clock_nanosleep.c: ...here.
1277 * sysdeps/generic/clock_settime.c: Moved to...
1278 * rt/clock_settime.c: ...here.
1279 * sysdeps/generic/close.c: Moved to...
1280 * io/close.c: ...here.
1281 * sysdeps/generic/closedir.c: Moved to...
1282 * dirent/closedir.c: ...here.
1283 * sysdeps/generic/cmp.c: Moved to...
1284 * stdlib/cmp.c: ...here.
1285 * sysdeps/generic/conjf.c: Moved to...
1286 * math/conjf.c: ...here.
1287 * sysdeps/generic/connect.c: Moved to...
1288 * socket/connect.c: ...here.
1289 * sysdeps/generic/console.c: Moved to...
1290 * bare/console.c: ...here.
1291 * sysdeps/generic/crealf.c: Moved to...
1292 * math/crealf.c: ...here.
1293 * sysdeps/generic/creat.c: Moved to...
1294 * io/creat.c: ...here.
1295 * sysdeps/generic/creat64.c: Moved to...
1296 * io/creat64.c: ...here.
1297 * sysdeps/generic/ctermid.c: Moved to...
1298 * stdio-common/ctermid.c: ...here.
1299 * sysdeps/generic/cuserid.c: Moved to...
1300 * stdio-common/cuserid.c: ...here.
1301 * sysdeps/generic/dbl2mpn.c: Moved to...
1302 * stdlib/dbl2mpn.c: ...here.
1303 * sysdeps/generic/dirfd.c: Moved to...
1304 * dirent/dirfd.c: ...here.
1305 * sysdeps/generic/div.c: Moved to...
1306 * stdlib/div.c: ...here.
1307 * sysdeps/generic/divmod_1.c: Moved to...
1308 * stdlib/divmod_1.c: ...here.
1309 * sysdeps/generic/divrem.c: Moved to...
1310 * stdlib/divrem.c: ...here.
1311 * sysdeps/generic/dl-brk.c: Moved to...
1312 * elf/dl-brk.c: ...here.
1313 * sysdeps/generic/dl-cache.c: Moved to...
1314 * elf/dl-cache.c: ...here.
1315 * sysdeps/generic/dl-environ.c: Moved to...
1316 * elf/dl-environ.c: ...here.
1317 * sysdeps/generic/dl-execstack.c: Moved to...
1318 * elf/dl-execstack.c: ...here.
1319 * sysdeps/generic/dl-fptr.c: Moved to...
1320 * elf/dl-fptr.c: ...here.
1321 * sysdeps/generic/dl-origin.c: Moved to...
1322 * elf/dl-origin.c: ...here.
1323 * sysdeps/generic/dl-sbrk.c: Moved to...
1324 * elf/dl-sbrk.c: ...here.
1325 * sysdeps/generic/dl-symaddr.c: Moved to...
1326 * elf/dl-symaddr.c: ...here.
1327 * sysdeps/generic/dl-sysdep.c: Moved to...
1328 * elf/dl-sysdep.c: ...here.
1329 * sysdeps/generic/dl-tls.c: Moved to...
1330 * elf/dl-tls.c: ...here.
1331 * sysdeps/generic/dl-trampoline.c: Moved to...
1332 * elf/dl-trampoline.c: ...here.
1333 * sysdeps/generic/dup.c: Moved to...
1334 * io/dup.c: ...here.
1335 * sysdeps/generic/dup2.c: Moved to...
1336 * io/dup2.c: ...here.
1337 * sysdeps/generic/e_acoshl.c: Moved to...
1338 * math/e_acoshl.c: ...here.
1339 * sysdeps/generic/e_acosl.c: Moved to...
1340 * math/e_acosl.c: ...here.
1341 * sysdeps/generic/e_asinl.c: Moved to...
1342 * math/e_asinl.c: ...here.
1343 * sysdeps/generic/e_atan2l.c: Moved to...
1344 * math/e_atan2l.c: ...here.
1345 * sysdeps/generic/e_atanhl.c: Moved to...
1346 * math/e_atanhl.c: ...here.
1347 * sysdeps/generic/e_coshl.c: Moved to...
1348 * math/e_coshl.c: ...here.
1349 * sysdeps/generic/e_exp10.c: Moved to...
1350 * math/e_exp10.c: ...here.
1351 * sysdeps/generic/e_exp10f.c: Moved to...
1352 * math/e_exp10f.c: ...here.
1353 * sysdeps/generic/e_exp10l.c: Moved to...
1354 * math/e_exp10l.c: ...here.
1355 * sysdeps/generic/e_exp2l.c: Moved to...
1356 * math/e_exp2l.c: ...here.
1357 * sysdeps/generic/e_expl.c: Moved to...
1358 * math/e_expl.c: ...here.
1359 * sysdeps/generic/e_fmodl.c: Moved to...
1360 * math/e_fmodl.c: ...here.
1361 * sysdeps/generic/e_gammal_r.c: Moved to...
1362 * math/e_gammal_r.c: ...here.
1363 * sysdeps/generic/e_hypotl.c: Moved to...
1364 * math/e_hypotl.c: ...here.
1365 * sysdeps/generic/e_j0l.c: Moved to...
1366 * math/e_j0l.c: ...here.
1367 * sysdeps/generic/e_j1l.c: Moved to...
1368 * math/e_j1l.c: ...here.
1369 * sysdeps/generic/e_jnl.c: Moved to...
1370 * math/e_jnl.c: ...here.
1371 * sysdeps/generic/e_lgammal_r.c: Moved to...
1372 * math/e_lgammal_r.c: ...here.
1373 * sysdeps/generic/e_log10l.c: Moved to...
1374 * math/e_log10l.c: ...here.
1375 * sysdeps/generic/e_log2l.c: Moved to...
1376 * math/e_log2l.c: ...here.
1377 * sysdeps/generic/e_logl.c: Moved to...
1378 * math/e_logl.c: ...here.
1379 * sysdeps/generic/e_powl.c: Moved to...
1380 * math/e_powl.c: ...here.
1381 * sysdeps/generic/e_rem_pio2l.c: Moved to...
1382 * math/e_rem_pio2l.c: ...here.
1383 * sysdeps/generic/e_scalb.c: Moved to...
1384 * math/e_scalb.c: ...here.
1385 * sysdeps/generic/e_scalbf.c: Moved to...
1386 * math/e_scalbf.c: ...here.
1387 * sysdeps/generic/e_scalbl.c: Moved to...
1388 * math/e_scalbl.c: ...here.
1389 * sysdeps/generic/e_sinhl.c: Moved to...
1390 * math/e_sinhl.c: ...here.
1391 * sysdeps/generic/e_sqrtl.c: Moved to...
1392 * math/e_sqrtl.c: ...here.
1393 * sysdeps/generic/enbl-secure.c: Moved to...
1394 * elf/enbl-secure.c: ...here.
1395 * sysdeps/generic/endutxent.c: Moved to...
1396 * login/endutxent.c: ...here.
1397 * sysdeps/generic/environ.c: Moved to...
1398 * posix/environ.c: ...here.
1399 * sysdeps/generic/errlist.c: Moved to...
1400 * stdio-common/errlist.c: ...here.
1401 * sysdeps/generic/errno-loc.c: Moved to...
1402 * csu/errno-loc.c: ...here.
1403 * sysdeps/generic/errno-loc.c: Moved to...
1404 * csu/errno-loc.c: ...here.
1405 * sysdeps/generic/errno.c: Moved to...
1406 * csu/errno.c: ...here.
1407 * sysdeps/generic/euidaccess.c: Moved to...
1408 * io/euidaccess.c: ...here.
1409 * sysdeps/generic/exc2signal.c: Moved to...
1410 * hurd/exc2signal.c: ...here.
1411 * sysdeps/generic/execve.c: Moved to...
1412 * posix/execve.c: ...here.
1413 * sysdeps/generic/fattach.c: Moved to...
1414 * streams/fattach.c: ...here.
1415 * sysdeps/generic/fchdir.c: Moved to...
1416 * io/fchdir.c: ...here.
1417 * sysdeps/generic/fchflags.c: Moved to...
1418 * misc/fchflags.c: ...here.
1419 * sysdeps/generic/fchmod.c: Moved to...
1420 * io/fchmod.c: ...here.
1421 * sysdeps/generic/fchown.c: Moved to...
1422 * io/fchown.c: ...here.
1423 * sysdeps/generic/fchownat.c: Moved to...
1424 * io/fchownat.c: ...here.
1425 * sysdeps/generic/fclrexcpt.c: Moved to...
1426 * math/fclrexcpt.c: ...here.
1427 * sysdeps/generic/fcntl.c: Moved to...
1428 * io/fcntl.c: ...here.
1429 * sysdeps/generic/fdatasync.c: Moved to...
1430 * misc/fdatasync.c: ...here.
1431 * sysdeps/generic/fdetach.c: Moved to...
1432 * streams/fdetach.c: ...here.
1433 * sysdeps/generic/fdopendir.c: Moved to...
1434 * dirent/fdopendir.c: ...here.
1435 * sysdeps/generic/fedisblxcpt.c: Moved to...
1436 * math/fedisblxcpt.c: ...here.
1437 * sysdeps/generic/feenablxcpt.c: Moved to...
1438 * math/feenablxcpt.c: ...here.
1439 * sysdeps/generic/fegetenv.c: Moved to...
1440 * math/fegetenv.c: ...here.
1441 * sysdeps/generic/fegetexcept.c: Moved to...
1442 * math/fegetexcept.c: ...here.
1443 * sysdeps/generic/fegetround.c: Moved to...
1444 * math/fegetround.c: ...here.
1445 * sysdeps/generic/feholdexcpt.c: Moved to...
1446 * math/feholdexcpt.c: ...here.
1447 * sysdeps/generic/fesetenv.c: Moved to...
1448 * math/fesetenv.c: ...here.
1449 * sysdeps/generic/fesetround.c: Moved to...
1450 * math/fesetround.c: ...here.
1451 * sysdeps/generic/feupdateenv.c: Moved to...
1452 * math/feupdateenv.c: ...here.
1453 * sysdeps/generic/fexecve.c: Moved to...
1454 * posix/fexecve.c: ...here.
1455 * sysdeps/generic/ffs.c: Moved to...
1456 * string/ffs.c: ...here.
1457 * sysdeps/generic/ffsll.c: Moved to...
1458 * string/ffsll.c: ...here.
1459 * sysdeps/generic/fgetexcptflg.c: Moved to...
1460 * math/fgetexcptflg.c: ...here.
1461 * sysdeps/generic/fgetxattr.c: Moved to...
1462 * misc/fgetxattr.c: ...here.
1463 * sysdeps/generic/flistxattr.c: Moved to...
1464 * misc/flistxattr.c: ...here.
1465 * sysdeps/generic/flock.c: Moved to...
1466 * io/flock.c: ...here.
1467 * sysdeps/generic/flockfile.c: Moved to...
1468 * stdio-common/flockfile.c: ...here.
1469 * sysdeps/generic/fork.c: Moved to...
1470 * posix/fork.c: ...here.
1471 * sysdeps/generic/fpathconf.c: Moved to...
1472 * posix/fpathconf.c: ...here.
1473 * sysdeps/generic/fpu_control.c: Moved to...
1474 * math/fpu_control.c: ...here.
1475 * sysdeps/generic/fraiseexcpt.c: Moved to...
1476 * math/fraiseexcpt.c: ...here.
1477 * sysdeps/generic/fremovexattr.c: Moved to...
1478 * misc/fremovexattr.c: ...here.
1479 * sysdeps/generic/fsetexcptflg.c: Moved to...
1480 * math/fsetexcptflg.c: ...here.
1481 * sysdeps/generic/fsetxattr.c: Moved to...
1482 * misc/fsetxattr.c: ...here.
1483 * sysdeps/generic/fstatfs.c: Moved to...
1484 * io/fstatfs.c: ...here.
1485 * sysdeps/generic/fstatfs64.c: Moved to...
1486 * io/fstatfs64.c: ...here.
1487 * sysdeps/generic/fstatvfs.c: Moved to...
1488 * io/fstatvfs.c: ...here.
1489 * sysdeps/generic/fstatvfs64.c: Moved to...
1490 * io/fstatvfs64.c: ...here.
1491 * sysdeps/generic/fsync.c: Moved to...
1492 * misc/fsync.c: ...here.
1493 * sysdeps/generic/ftestexcept.c: Moved to...
1494 * math/ftestexcept.c: ...here.
1495 * sysdeps/generic/ftime.c: Moved to...
1496 * time/ftime.c: ...here.
1497 * sysdeps/generic/ftruncate.c: Moved to...
1498 * misc/ftruncate.c: ...here.
1499 * sysdeps/generic/ftruncate64.c: Moved to...
1500 * misc/ftruncate64.c: ...here.
1501 * sysdeps/generic/ftrylockfile.c: Moved to...
1502 * stdio-common/ftrylockfile.c: ...here.
1503 * sysdeps/generic/funlockfile.c: Moved to...
1504 * stdio-common/funlockfile.c: ...here.
1505 * sysdeps/generic/futimes.c: Moved to...
1506 * misc/futimes.c: ...here.
1507 * sysdeps/generic/futimesat.c: Moved to...
1508 * misc/futimesat.c: ...here.
1509 * sysdeps/generic/fxstat.c: Moved to...
1510 * io/fxstat.c: ...here.
1511 * sysdeps/generic/fxstat64.c: Moved to...
1512 * io/fxstat64.c: ...here.
1513 * sysdeps/generic/fxstatat.c: Moved to...
1514 * io/fxstatat.c: ...here.
1515 * sysdeps/generic/fxstatat64.c: Moved to...
1516 * io/fxstatat64.c: ...here.
1517 * sysdeps/generic/gai_sigqueue.c: Moved to...
1518 * resolv/gai_sigqueue.c: ...here.
1519 * sysdeps/generic/gai_strerror.c: Moved to...
1520 * posix/gai_strerror.c: ...here.
1521 * sysdeps/generic/get_clockfreq.c: Moved to...
1522 * rt/get_clockfreq.c: ...here.
1523 * sysdeps/generic/getaddrinfo.c: Moved to...
1524 * posix/getaddrinfo.c: ...here.
1525 * sysdeps/generic/getclktck.c: Moved to...
1526 * misc/getclktck.c: ...here.
1527 * sysdeps/generic/getcontext.c: Moved to...
1528 * stdlib/getcontext.c: ...here.
1529 * sysdeps/generic/getcwd.c: Moved to...
1530 * io/getcwd.c: ...here.
1531 * sysdeps/generic/getdents.c: Moved to...
1532 * dirent/getdents.c: ...here.
1533 * sysdeps/generic/getdents64.c: Moved to...
1534 * dirent/getdents64.c: ...here.
1535 * sysdeps/generic/getdomain.c: Moved to...
1536 * misc/getdomain.c: ...here.
1537 * sysdeps/generic/getdtsz.c: Moved to...
1538 * misc/getdtsz.c: ...here.
1539 * sysdeps/generic/getegid.c: Moved to...
1540 * posix/getegid.c: ...here.
1541 * sysdeps/generic/getenv.c: Moved to...
1542 * stdlib/getenv.c: ...here.
1543 * sysdeps/generic/geteuid.c: Moved to...
1544 * posix/geteuid.c: ...here.
1545 * sysdeps/generic/getgid.c: Moved to...
1546 * posix/getgid.c: ...here.
1547 * sysdeps/generic/getgroups.c: Moved to...
1548 * posix/getgroups.c: ...here.
1549 * sysdeps/generic/gethostid.c: Moved to...
1550 * misc/gethostid.c: ...here.
1551 * sysdeps/generic/gethostname.c: Moved to...
1552 * misc/gethostname.c: ...here.
1553 * sysdeps/generic/getipv4sourcefilter.c: Moved to...
1554 * inet/getipv4sourcefilter.c: ...here.
1555 * sysdeps/generic/getitimer.c: Moved to...
1556 * time/getitimer.c: ...here.
1557 * sysdeps/generic/getloadavg.c: Moved to...
1558 * misc/getloadavg.c: ...here.
1559 * sysdeps/generic/getlogin.c: Moved to...
1560 * posix/getlogin.c: ...here.
1561 * sysdeps/generic/getlogin_r.c: Moved to...
1562 * posix/getlogin_r.c: ...here.
1563 * sysdeps/generic/getmsg.c: Moved to...
1564 * streams/getmsg.c: ...here.
1565 * sysdeps/generic/getpagesize.c: Moved to...
1566 * misc/getpagesize.c: ...here.
1567 * sysdeps/generic/getpeername.c: Moved to...
1568 * socket/getpeername.c: ...here.
1569 * sysdeps/generic/getpgid.c: Moved to...
1570 * posix/getpgid.c: ...here.
1571 * sysdeps/generic/getpgrp.c: Moved to...
1572 * posix/getpgrp.c: ...here.
1573 * sysdeps/generic/getpid.c: Moved to...
1574 * posix/getpid.c: ...here.
1575 * sysdeps/generic/getpmsg.c: Moved to...
1576 * streams/getpmsg.c: ...here.
1577 * sysdeps/generic/getppid.c: Moved to...
1578 * posix/getppid.c: ...here.
1579 * sysdeps/generic/getpriority.c: Moved to...
1580 * resource/getpriority.c: ...here.
1581 * sysdeps/generic/getpt.c: Moved to...
1582 * login/getpt.c: ...here.
1583 * sysdeps/generic/getresgid.c: Moved to...
1584 * posix/getresgid.c: ...here.
1585 * sysdeps/generic/getresuid.c: Moved to...
1586 * posix/getresuid.c: ...here.
1587 * sysdeps/generic/getrlimit.c: Moved to...
1588 * resource/getrlimit.c: ...here.
1589 * sysdeps/generic/getrlimit64.c: Moved to...
1590 * resource/getrlimit64.c: ...here.
1591 * sysdeps/generic/getrusage.c: Moved to...
1592 * resource/getrusage.c: ...here.
1593 * sysdeps/generic/getsid.c: Moved to...
1594 * posix/getsid.c: ...here.
1595 * sysdeps/generic/getsockname.c: Moved to...
1596 * socket/getsockname.c: ...here.
1597 * sysdeps/generic/getsockopt.c: Moved to...
1598 * socket/getsockopt.c: ...here.
1599 * sysdeps/generic/getsourcefilter.c: Moved to...
1600 * inet/getsourcefilter.c: ...here.
1601 * sysdeps/generic/getsysstats.c: Moved to...
1602 * misc/getsysstats.c: ...here.
1603 * sysdeps/generic/gettimeofday.c: Moved to...
1604 * time/gettimeofday.c: ...here.
1605 * sysdeps/generic/getuid.c: Moved to...
1606 * posix/getuid.c: ...here.
1607 * sysdeps/generic/getutmp.c: Moved to...
1608 * login/getutmp.c: ...here.
1609 * sysdeps/generic/getutmpx.c: Moved to...
1610 * login/getutmpx.c: ...here.
1611 * sysdeps/generic/getutxent.c: Moved to...
1612 * login/getutxent.c: ...here.
1613 * sysdeps/generic/getutxid.c: Moved to...
1614 * login/getutxid.c: ...here.
1615 * sysdeps/generic/getutxline.c: Moved to...
1616 * login/getutxline.c: ...here.
1617 * sysdeps/generic/getxattr.c: Moved to...
1618 * misc/getxattr.c: ...here.
1619 * sysdeps/generic/glob.c: Moved to...
1620 * posix/glob.c: ...here.
1621 * sysdeps/generic/glob64.c: Moved to...
1622 * posix/glob64.c: ...here.
1623 * sysdeps/generic/grantpt.c: Moved to...
1624 * login/grantpt.c: ...here.
1625 * sysdeps/generic/group_member.c: Moved to...
1626 * posix/group_member.c: ...here.
1627 * sysdeps/generic/gtty.c: Moved to...
1628 * misc/gtty.c: ...here.
1629 * sysdeps/generic/herrno-loc.c: Moved to...
1630 * inet/herrno-loc.c: ...here.
1631 * sysdeps/generic/htonl.c: Moved to...
1632 * inet/htonl.c: ...here.
1633 * sysdeps/generic/htons.c: Moved to...
1634 * inet/htons.c: ...here.
1635 * sysdeps/generic/if_index.c: Moved to...
1636 * inet/if_index.c: ...here.
1637 * sysdeps/generic/ifaddrs.c: Moved to...
1638 * inet/ifaddrs.c: ...here.
1639 * sysdeps/generic/ifreq.c: Moved to...
1640 * inet/ifreq.c: ...here.
1641 * sysdeps/generic/init-first.c: Moved to...
1642 * csu/init-first.c: ...here.
1643 * sysdeps/generic/init-posix.c: Moved to...
1644 * posix/init-posix.c: ...here.
1645 * sysdeps/generic/inlines.c: Moved to...
1646 * stdlib/inlines.c: ...here.
1647 * sysdeps/generic/ioctl.c: Moved to...
1648 * misc/ioctl.c: ...here.
1649 * sysdeps/generic/isastream.c: Moved to...
1650 * streams/isastream.c: ...here.
1651 * sysdeps/generic/isatty.c: Moved to...
1652 * io/isatty.c: ...here.
1653 * sysdeps/generic/isfdtype.c: Moved to...
1654 * socket/isfdtype.c: ...here.
1655 * sysdeps/generic/jmp-unwind.c: Moved to...
1656 * setjmp/jmp-unwind.c: ...here.
1657 * sysdeps/generic/k_cosl.c: Moved to...
1658 * math/k_cosl.c: ...here.
1659 * sysdeps/generic/k_rem_pio2l.c: Moved to...
1660 * math/k_rem_pio2l.c: ...here.
1661 * sysdeps/generic/k_sincosl.c: Moved to...
1662 * math/k_sincosl.c: ...here.
1663 * sysdeps/generic/k_sinl.c: Moved to...
1664 * math/k_sinl.c: ...here.
1665 * sysdeps/generic/k_tanl.c: Moved to...
1666 * math/k_tanl.c: ...here.
1667 * sysdeps/generic/kill.c: Moved to...
1668 * signal/kill.c: ...here.
1669 * sysdeps/generic/killpg.c: Moved to...
1670 * signal/killpg.c: ...here.
1671 * sysdeps/generic/labs.c: Moved to...
1672 * stdlib/labs.c: ...here.
1673 * sysdeps/generic/lchmod.c: Moved to...
1674 * io/lchmod.c: ...here.
1675 * sysdeps/generic/lchown.c: Moved to...
1676 * io/lchown.c: ...here.
1677 * sysdeps/generic/ldbl2mpn.c: Moved to...
1678 * stdlib/ldbl2mpn.c: ...here.
1679 * sysdeps/generic/ldiv.c: Moved to...
1680 * stdlib/ldiv.c: ...here.
1681 * sysdeps/generic/lgetxattr.c: Moved to...
1682 * misc/lgetxattr.c: ...here.
1683 * sysdeps/generic/libc-start.c: Moved to...
1684 * csu/libc-start.c: ...here.
1685 * sysdeps/generic/libc-tls.c: Moved to...
1686 * csu/libc-tls.c: ...here.
1687 * sysdeps/generic/libc_fatal.c: Moved to...
1688 * libio/libc_fatal.c: ...here.
1689 * sysdeps/generic/link.c: Moved to...
1690 * io/link.c: ...here.
1691 * sysdeps/generic/lio_listio.c: Moved to...
1692 * rt/lio_listio.c: ...here.
1693 * sysdeps/generic/lio_listio64.c: Moved to...
1694 * rt/lio_listio64.c: ...here.
1695 * sysdeps/generic/listen.c: Moved to...
1696 * socket/listen.c: ...here.
1697 * sysdeps/generic/listxattr.c: Moved to...
1698 * misc/listxattr.c: ...here.
1699 * sysdeps/generic/llabs.c: Moved to...
1700 * stdlib/llabs.c: ...here.
1701 * sysdeps/generic/lldiv.c: Moved to...
1702 * stdlib/lldiv.c: ...here.
1703 * sysdeps/generic/llistxattr.c: Moved to...
1704 * misc/llistxattr.c: ...here.
1705 * sysdeps/generic/lockf.c: Moved to...
1706 * io/lockf.c: ...here.
1707 * sysdeps/generic/lockf64.c: Moved to...
1708 * io/lockf64.c: ...here.
1709 * sysdeps/generic/longjmp-ts.c: Moved to...
1710 * hurd/longjmp-ts.c: ...here.
1711 * sysdeps/generic/longjmp.c: Moved to...
1712 * setjmp/longjmp.c: ...here.
1713 * sysdeps/generic/lremovexattr.c: Moved to...
1714 * misc/lremovexattr.c: ...here.
1715 * sysdeps/generic/lseek.c: Moved to...
1716 * misc/lseek.c: ...here.
1717 * sysdeps/generic/lseek64.c: Moved to...
1718 * io/lseek64.c: ...here.
1719 * sysdeps/generic/lsetxattr.c: Moved to...
1720 * misc/lsetxattr.c: ...here.
1721 * sysdeps/generic/lshift.c: Moved to...
1722 * stdlib/lshift.c: ...here.
1723 * sysdeps/generic/lutimes.c: Moved to...
1724 * misc/lutimes.c: ...here.
1725 * sysdeps/generic/lxstat.c: Moved to...
1726 * io/lxstat.c: ...here.
1727 * sysdeps/generic/lxstat64.c: Moved to...
1728 * io/lxstat64.c: ...here.
1729 * sysdeps/generic/madvise.c: Moved to...
1730 * misc/madvise.c: ...here.
1731 * sysdeps/generic/makecontext.c: Moved to...
1732 * stdlib/makecontext.c: ...here.
1733 * sysdeps/generic/memccpy.c: Moved to...
1734 * string/memccpy.c: ...here.
1735 * sysdeps/generic/memchr.c: Moved to...
1736 * string/memchr.c: ...here.
1737 * sysdeps/generic/memcmp.c: Moved to...
1738 * string/memcmp.c: ...here.
1739 * sysdeps/generic/memcpy.c: Moved to...
1740 * string/memcpy.c: ...here.
1741 * sysdeps/generic/memcpy_chk.c: Moved to...
1742 * debug/memcpy_chk.c: ...here.
1743 * sysdeps/generic/memmem.c: Moved to...
1744 * string/memmem.c: ...here.
1745 * sysdeps/generic/memmove.c: Moved to...
1746 * string/memmove.c: ...here.
1747 * sysdeps/generic/memmove_chk.c: Moved to...
1748 * debug/memmove_chk.c: ...here.
1749 * sysdeps/generic/mempcpy.c: Moved to...
1750 * string/mempcpy.c: ...here.
1751 * sysdeps/generic/mempcpy_chk.c: Moved to...
1752 * debug/mempcpy_chk.c: ...here.
1753 * sysdeps/generic/memrchr.c: Moved to...
1754 * string/memrchr.c: ...here.
1755 * sysdeps/generic/memset.c: Moved to...
1756 * string/memset.c: ...here.
1757 * sysdeps/generic/memset_chk.c: Moved to...
1758 * debug/memset_chk.c: ...here.
1759 * sysdeps/generic/mig-reply.c: Moved to...
1760 * mach/mig-reply.c: ...here.
1761 * sysdeps/generic/mincore.c: Moved to...
1762 * misc/mincore.c: ...here.
1763 * sysdeps/generic/mkdir.c: Moved to...
1764 * io/mkdir.c: ...here.
1765 * sysdeps/generic/mkdirat.c: Moved to...
1766 * io/mkdirat.c: ...here.
1767 * sysdeps/generic/mkfifo.c: Moved to...
1768 * io/mkfifo.c: ...here.
1769 * sysdeps/generic/mkfifoat.c: Moved to...
1770 * io/mkfifoat.c: ...here.
1771 * sysdeps/generic/mknod.c: Moved to...
1772 * io/mknod.c: ...here.
1773 * sysdeps/generic/mknodat.c: Moved to...
1774 * io/mknodat.c: ...here.
1775 * sysdeps/generic/mlock.c: Moved to...
1776 * misc/mlock.c: ...here.
1777 * sysdeps/generic/mlockall.c: Moved to...
1778 * misc/mlockall.c: ...here.
1779 * sysdeps/generic/mmap.c: Moved to...
1780 * misc/mmap.c: ...here.
1781 * sysdeps/generic/mmap64.c: Moved to...
1782 * misc/mmap64.c: ...here.
1783 * sysdeps/generic/mod_1.c: Moved to...
1784 * stdlib/mod_1.c: ...here.
1785 * sysdeps/generic/morecore.c: Moved to...
1786 * malloc/morecore.c: ...here.
1787 * sysdeps/generic/mp_clz_tab.c: Moved to...
1788 * stdlib/mp_clz_tab.c: ...here.
1789 * sysdeps/generic/mpn2dbl.c: Moved to...
1790 * stdlib/mpn2dbl.c: ...here.
1791 * sysdeps/generic/mpn2flt.c: Moved to...
1792 * stdlib/mpn2flt.c: ...here.
1793 * sysdeps/generic/mpn2ldbl.c: Moved to...
1794 * stdlib/mpn2ldbl.c: ...here.
1795 * sysdeps/generic/mprotect.c: Moved to...
1796 * misc/mprotect.c: ...here.
1797 * sysdeps/generic/mq_close.c: Moved to...
1798 * rt/mq_close.c: ...here.
1799 * sysdeps/generic/mq_getattr.c: Moved to...
1800 * rt/mq_getattr.c: ...here.
1801 * sysdeps/generic/mq_notify.c: Moved to...
1802 * rt/mq_notify.c: ...here.
1803 * sysdeps/generic/mq_open.c: Moved to...
1804 * rt/mq_open.c: ...here.
1805 * sysdeps/generic/mq_receive.c: Moved to...
1806 * rt/mq_receive.c: ...here.
1807 * sysdeps/generic/mq_send.c: Moved to...
1808 * rt/mq_send.c: ...here.
1809 * sysdeps/generic/mq_setattr.c: Moved to...
1810 * rt/mq_setattr.c: ...here.
1811 * sysdeps/generic/mq_timedreceive.c: Moved to...
1812 * rt/mq_timedreceive.c: ...here.
1813 * sysdeps/generic/mq_timedsend.c: Moved to...
1814 * rt/mq_timedsend.c: ...here.
1815 * sysdeps/generic/mq_unlink.c: Moved to...
1816 * rt/mq_unlink.c: ...here.
1817 * sysdeps/generic/msgctl.c: Moved to...
1818 * sysvipc/msgctl.c: ...here.
1819 * sysdeps/generic/msgget.c: Moved to...
1820 * sysvipc/msgget.c: ...here.
1821 * sysdeps/generic/msgrcv.c: Moved to...
1822 * sysvipc/msgrcv.c: ...here.
1823 * sysdeps/generic/msgsnd.c: Moved to...
1824 * sysvipc/msgsnd.c: ...here.
1825 * sysdeps/generic/msync.c: Moved to...
1826 * misc/msync.c: ...here.
1827 * sysdeps/generic/mul.c: Moved to...
1828 * stdlib/mul.c: ...here.
1829 * sysdeps/generic/mul_1.c: Moved to...
1830 * stdlib/mul_1.c: ...here.
1831 * sysdeps/generic/mul_n.c: Moved to...
1832 * stdlib/mul_n.c: ...here.
1833 * sysdeps/generic/munlock.c: Moved to...
1834 * misc/munlock.c: ...here.
1835 * sysdeps/generic/munlockall.c: Moved to...
1836 * misc/munlockall.c: ...here.
1837 * sysdeps/generic/munmap.c: Moved to...
1838 * misc/munmap.c: ...here.
1839 * sysdeps/generic/nanosleep.c: Moved to...
1840 * posix/nanosleep.c: ...here.
1841 * sysdeps/generic/nice.c: Moved to...
1842 * resource/nice.c: ...here.
1843 * sysdeps/generic/nscd_setup_thread.c: Moved to...
1844 * nscd/nscd_setup_thread.c: ...here.
1845 * sysdeps/generic/open.c: Moved to...
1846 * io/open.c: ...here.
1847 * sysdeps/generic/open64.c: Moved to...
1848 * io/open64.c: ...here.
1849 * sysdeps/generic/openat.c: Moved to...
1850 * io/openat.c: ...here.
1851 * sysdeps/generic/openat64.c: Moved to...
1852 * io/openat64.c: ...here.
1853 * sysdeps/generic/opendir.c: Moved to...
1854 * dirent/opendir.c: ...here.
1855 * sysdeps/generic/opensock.c: Moved to...
1856 * socket/opensock.c: ...here.
1857 * sysdeps/generic/pathconf.c: Moved to...
1858 * posix/pathconf.c: ...here.
1859 * sysdeps/generic/pause.c: Moved to...
1860 * posix/pause.c: ...here.
1861 * sysdeps/generic/pipe.c: Moved to...
1862 * io/pipe.c: ...here.
1863 * sysdeps/generic/poll.c: Moved to...
1864 * io/poll.c: ...here.
1865 * sysdeps/generic/posix_fadvise.c: Moved to...
1866 * io/posix_fadvise.c: ...here.
1867 * sysdeps/generic/posix_fadvise64.c: Moved to...
1868 * io/posix_fadvise64.c: ...here.
1869 * sysdeps/generic/posix_fallocate.c: Moved to...
1870 * io/posix_fallocate.c: ...here.
1871 * sysdeps/generic/posix_fallocate64.c: Moved to...
1872 * io/posix_fallocate64.c: ...here.
1873 * sysdeps/generic/posix_madvise.c: Moved to...
1874 * posix/posix_madvise.c: ...here.
1875 * sysdeps/generic/pread.c: Moved to...
1876 * posix/pread.c: ...here.
1877 * sysdeps/generic/pread64.c: Moved to...
1878 * posix/pread64.c: ...here.
1879 * sysdeps/generic/printf_fphex.c: Moved to...
1880 * stdio-common/printf_fphex.c: ...here.
1881 * sysdeps/generic/prof-freq.c: Moved to...
1882 * gmon/prof-freq.c: ...here.
1883 * sysdeps/generic/profil.c: Moved to...
1884 * gmon/profil.c: ...here.
1885 * sysdeps/generic/pselect.c: Moved to...
1886 * misc/pselect.c: ...here.
1887 * sysdeps/generic/ptrace.c: Moved to...
1888 * misc/ptrace.c: ...here.
1889 * sysdeps/generic/ptsname.c: Moved to...
1890 * login/ptsname.c: ...here.
1891 * sysdeps/generic/putenv.c: Moved to...
1892 * stdlib/putenv.c: ...here.
1893 * sysdeps/generic/putmsg.c: Moved to...
1894 * streams/putmsg.c: ...here.
1895 * sysdeps/generic/putpmsg.c: Moved to...
1896 * streams/putpmsg.c: ...here.
1897 * sysdeps/generic/pututxline.c: Moved to...
1898 * login/pututxline.c: ...here.
1899 * sysdeps/generic/pwrite.c: Moved to...
1900 * posix/pwrite.c: ...here.
1901 * sysdeps/generic/pwrite64.c: Moved to...
1902 * posix/pwrite64.c: ...here.
1903 * sysdeps/generic/raise.c: Moved to...
1904 * signal/raise.c: ...here.
1905 * sysdeps/generic/rawmemchr.c: Moved to...
1906 * string/rawmemchr.c: ...here.
1907 * sysdeps/generic/read.c: Moved to...
1908 * io/read.c: ...here.
1909 * sysdeps/generic/readdir.c: Moved to...
1910 * dirent/readdir.c: ...here.
1911 * sysdeps/generic/readdir64.c: Moved to...
1912 * dirent/readdir64.c: ...here.
1913 * sysdeps/generic/readdir64_r.c: Moved to...
1914 * dirent/readdir64_r.c: ...here.
1915 * sysdeps/generic/readdir_r.c: Moved to...
1916 * dirent/readdir_r.c: ...here.
1917 * sysdeps/generic/readelflib.c: Moved to...
1918 * elf/readelflib.c: ...here.
1919 * sysdeps/generic/readlink.c: Moved to...
1920 * io/readlink.c: ...here.
1921 * sysdeps/generic/readonly-area.c: Moved to...
1922 * debug/readonly-area.c: ...here.
1923 * sysdeps/generic/readv.c: Moved to...
1924 * misc/readv.c: ...here.
1925 * sysdeps/generic/reboot.c: Moved to...
1926 * misc/reboot.c: ...here.
1927 * sysdeps/generic/recv.c: Moved to...
1928 * socket/recv.c: ...here.
1929 * sysdeps/generic/recvfrom.c: Moved to...
1930 * socket/recvfrom.c: ...here.
1931 * sysdeps/generic/recvmsg.c: Moved to...
1932 * socket/recvmsg.c: ...here.
1933 * sysdeps/generic/remap_file_pages.c: Moved to...
1934 * misc/remap_file_pages.c: ...here.
1935 * sysdeps/generic/remove.c: Moved to...
1936 * stdio-common/remove.c: ...here.
1937 * sysdeps/generic/removexattr.c: Moved to...
1938 * misc/removexattr.c: ...here.
1939 * sysdeps/generic/rename.c: Moved to...
1940 * stdio-common/rename.c: ...here.
1941 * sysdeps/generic/renameat.c: Moved to...
1942 * stdio-common/renameat.c: ...here.
1943 * sysdeps/generic/res-state.c: Moved to...
1944 * resolv/res-state.c: ...here.
1945 * sysdeps/generic/revoke.c: Moved to...
1946 * misc/revoke.c: ...here.
1947 * sysdeps/generic/rewinddir.c: Moved to...
1948 * dirent/rewinddir.c: ...here.
1949 * sysdeps/generic/rmdir.c: Moved to...
1950 * io/rmdir.c: ...here.
1951 * sysdeps/generic/rshift.c: Moved to...
1952 * stdlib/rshift.c: ...here.
1953 * sysdeps/generic/s_asinhl.c: Moved to...
1954 * math/s_asinhl.c: ...here.
1955 * sysdeps/generic/s_atanl.c: Moved to...
1956 * math/s_atanl.c: ...here.
1957 * sysdeps/generic/s_cacos.c: Moved to...
1958 * math/s_cacos.c: ...here.
1959 * sysdeps/generic/s_cacosf.c: Moved to...
1960 * math/s_cacosf.c: ...here.
1961 * sysdeps/generic/s_cacosh.c: Moved to...
1962 * math/s_cacosh.c: ...here.
1963 * sysdeps/generic/s_cacoshf.c: Moved to...
1964 * math/s_cacoshf.c: ...here.
1965 * sysdeps/generic/s_cacoshl.c: Moved to...
1966 * math/s_cacoshl.c: ...here.
1967 * sysdeps/generic/s_cacosl.c: Moved to...
1968 * math/s_cacosl.c: ...here.
1969 * sysdeps/generic/s_casin.c: Moved to...
1970 * math/s_casin.c: ...here.
1971 * sysdeps/generic/s_casinf.c: Moved to...
1972 * math/s_casinf.c: ...here.
1973 * sysdeps/generic/s_casinh.c: Moved to...
1974 * math/s_casinh.c: ...here.
1975 * sysdeps/generic/s_casinhf.c: Moved to...
1976 * math/s_casinhf.c: ...here.
1977 * sysdeps/generic/s_casinhl.c: Moved to...
1978 * math/s_casinhl.c: ...here.
1979 * sysdeps/generic/s_casinl.c: Moved to...
1980 * math/s_casinl.c: ...here.
1981 * sysdeps/generic/s_catan.c: Moved to...
1982 * math/s_catan.c: ...here.
1983 * sysdeps/generic/s_catanf.c: Moved to...
1984 * math/s_catanf.c: ...here.
1985 * sysdeps/generic/s_catanh.c: Moved to...
1986 * math/s_catanh.c: ...here.
1987 * sysdeps/generic/s_catanhf.c: Moved to...
1988 * math/s_catanhf.c: ...here.
1989 * sysdeps/generic/s_catanhl.c: Moved to...
1990 * math/s_catanhl.c: ...here.
1991 * sysdeps/generic/s_catanl.c: Moved to...
1992 * math/s_catanl.c: ...here.
1993 * sysdeps/generic/s_cbrtl.c: Moved to...
1994 * math/s_cbrtl.c: ...here.
1995 * sysdeps/generic/s_ccos.c: Moved to...
1996 * math/s_ccos.c: ...here.
1997 * sysdeps/generic/s_ccosf.c: Moved to...
1998 * math/s_ccosf.c: ...here.
1999 * sysdeps/generic/s_ccosh.c: Moved to...
2000 * math/s_ccosh.c: ...here.
2001 * sysdeps/generic/s_ccoshf.c: Moved to...
2002 * math/s_ccoshf.c: ...here.
2003 * sysdeps/generic/s_ccoshl.c: Moved to...
2004 * math/s_ccoshl.c: ...here.
2005 * sysdeps/generic/s_ccosl.c: Moved to...
2006 * math/s_ccosl.c: ...here.
2007 * sysdeps/generic/s_cexp.c: Moved to...
2008 * math/s_cexp.c: ...here.
2009 * sysdeps/generic/s_cexpf.c: Moved to...
2010 * math/s_cexpf.c: ...here.
2011 * sysdeps/generic/s_cexpl.c: Moved to...
2012 * math/s_cexpl.c: ...here.
2013 * sysdeps/generic/s_clog.c: Moved to...
2014 * math/s_clog.c: ...here.
2015 * sysdeps/generic/s_clog10.c: Moved to...
2016 * math/s_clog10.c: ...here.
2017 * sysdeps/generic/s_clog10f.c: Moved to...
2018 * math/s_clog10f.c: ...here.
2019 * sysdeps/generic/s_clog10l.c: Moved to...
2020 * math/s_clog10l.c: ...here.
2021 * sysdeps/generic/s_clogf.c: Moved to...
2022 * math/s_clogf.c: ...here.
2023 * sysdeps/generic/s_clogl.c: Moved to...
2024 * math/s_clogl.c: ...here.
2025 * sysdeps/generic/s_cpow.c: Moved to...
2026 * math/s_cpow.c: ...here.
2027 * sysdeps/generic/s_cpowf.c: Moved to...
2028 * math/s_cpowf.c: ...here.
2029 * sysdeps/generic/s_cpowl.c: Moved to...
2030 * math/s_cpowl.c: ...here.
2031 * sysdeps/generic/s_cproj.c: Moved to...
2032 * math/s_cproj.c: ...here.
2033 * sysdeps/generic/s_cprojf.c: Moved to...
2034 * math/s_cprojf.c: ...here.
2035 * sysdeps/generic/s_cprojl.c: Moved to...
2036 * math/s_cprojl.c: ...here.
2037 * sysdeps/generic/s_csin.c: Moved to...
2038 * math/s_csin.c: ...here.
2039 * sysdeps/generic/s_csinf.c: Moved to...
2040 * math/s_csinf.c: ...here.
2041 * sysdeps/generic/s_csinh.c: Moved to...
2042 * math/s_csinh.c: ...here.
2043 * sysdeps/generic/s_csinhf.c: Moved to...
2044 * math/s_csinhf.c: ...here.
2045 * sysdeps/generic/s_csinhl.c: Moved to...
2046 * math/s_csinhl.c: ...here.
2047 * sysdeps/generic/s_csinl.c: Moved to...
2048 * math/s_csinl.c: ...here.
2049 * sysdeps/generic/s_csqrt.c: Moved to...
2050 * math/s_csqrt.c: ...here.
2051 * sysdeps/generic/s_csqrtf.c: Moved to...
2052 * math/s_csqrtf.c: ...here.
2053 * sysdeps/generic/s_csqrtl.c: Moved to...
2054 * math/s_csqrtl.c: ...here.
2055 * sysdeps/generic/s_ctan.c: Moved to...
2056 * math/s_ctan.c: ...here.
2057 * sysdeps/generic/s_ctanf.c: Moved to...
2058 * math/s_ctanf.c: ...here.
2059 * sysdeps/generic/s_ctanh.c: Moved to...
2060 * math/s_ctanh.c: ...here.
2061 * sysdeps/generic/s_ctanhf.c: Moved to...
2062 * math/s_ctanhf.c: ...here.
2063 * sysdeps/generic/s_ctanhl.c: Moved to...
2064 * math/s_ctanhl.c: ...here.
2065 * sysdeps/generic/s_ctanl.c: Moved to...
2066 * math/s_ctanl.c: ...here.
2067 * sysdeps/generic/s_erfl.c: Moved to...
2068 * math/s_erfl.c: ...here.
2069 * sysdeps/generic/s_expm1l.c: Moved to...
2070 * math/s_expm1l.c: ...here.
2071 * sysdeps/generic/s_fdim.c: Moved to...
2072 * math/s_fdim.c: ...here.
2073 * sysdeps/generic/s_fdimf.c: Moved to...
2074 * math/s_fdimf.c: ...here.
2075 * sysdeps/generic/s_fdiml.c: Moved to...
2076 * math/s_fdiml.c: ...here.
2077 * sysdeps/generic/s_fma.c: Moved to...
2078 * math/s_fma.c: ...here.
2079 * sysdeps/generic/s_fmaf.c: Moved to...
2080 * math/s_fmaf.c: ...here.
2081 * sysdeps/generic/s_fmal.c: Moved to...
2082 * math/s_fmal.c: ...here.
2083 * sysdeps/generic/s_fmax.c: Moved to...
2084 * math/s_fmax.c: ...here.
2085 * sysdeps/generic/s_fmaxf.c: Moved to...
2086 * math/s_fmaxf.c: ...here.
2087 * sysdeps/generic/s_fmaxl.c: Moved to...
2088 * math/s_fmaxl.c: ...here.
2089 * sysdeps/generic/s_fmin.c: Moved to...
2090 * math/s_fmin.c: ...here.
2091 * sysdeps/generic/s_fminf.c: Moved to...
2092 * math/s_fminf.c: ...here.
2093 * sysdeps/generic/s_fminl.c: Moved to...
2094 * math/s_fminl.c: ...here.
2095 * sysdeps/generic/s_ldexp.c: Moved to...
2096 * math/s_ldexp.c: ...here.
2097 * sysdeps/generic/s_ldexpf.c: Moved to...
2098 * math/s_ldexpf.c: ...here.
2099 * sysdeps/generic/s_ldexpl.c: Moved to...
2100 * math/s_ldexpl.c: ...here.
2101 * sysdeps/generic/s_log1pl.c: Moved to...
2102 * math/s_log1pl.c: ...here.
2103 * sysdeps/generic/s_nan.c: Moved to...
2104 * math/s_nan.c: ...here.
2105 * sysdeps/generic/s_nanf.c: Moved to...
2106 * math/s_nanf.c: ...here.
2107 * sysdeps/generic/s_nanl.c: Moved to...
2108 * math/s_nanl.c: ...here.
2109 * sysdeps/generic/s_nextafter.c: Moved to...
2110 * math/s_nextafter.c: ...here.
2111 * sysdeps/generic/s_nexttowardf.c: Moved to...
2112 * math/s_nexttowardf.c: ...here.
2113 * sysdeps/generic/s_nexttowardl.c: Moved to...
2114 * math/s_nexttowardl.c: ...here.
2115 * sysdeps/generic/s_significand.c: Moved to...
2116 * math/s_significand.c: ...here.
2117 * sysdeps/generic/s_significandf.c: Moved to...
2118 * math/s_significandf.c: ...here.
2119 * sysdeps/generic/s_significandl.c: Moved to...
2120 * math/s_significandl.c: ...here.
2121 * sysdeps/generic/s_tanhl.c: Moved to...
2122 * math/s_tanhl.c: ...here.
2123 * sysdeps/generic/sbrk.c: Moved to...
2124 * misc/sbrk.c: ...here.
2125 * sysdeps/generic/scandir64.c: Moved to...
2126 * dirent/scandir64.c: ...here.
2127 * sysdeps/generic/sched_getaffinity.c: Moved to...
2128 * posix/sched_getaffinity.c: ...here.
2129 * sysdeps/generic/sched_getp.c: Moved to...
2130 * posix/sched_getp.c: ...here.
2131 * sysdeps/generic/sched_gets.c: Moved to...
2132 * posix/sched_gets.c: ...here.
2133 * sysdeps/generic/sched_primax.c: Moved to...
2134 * posix/sched_primax.c: ...here.
2135 * sysdeps/generic/sched_primin.c: Moved to...
2136 * posix/sched_primin.c: ...here.
2137 * sysdeps/generic/sched_rr_gi.c: Moved to...
2138 * posix/sched_rr_gi.c: ...here.
2139 * sysdeps/generic/sched_setaffinity.c: Moved to...
2140 * posix/sched_setaffinity.c: ...here.
2141 * sysdeps/generic/sched_setp.c: Moved to...
2142 * posix/sched_setp.c: ...here.
2143 * sysdeps/generic/sched_sets.c: Moved to...
2144 * posix/sched_sets.c: ...here.
2145 * sysdeps/generic/sched_yield.c: Moved to...
2146 * posix/sched_yield.c: ...here.
2147 * sysdeps/generic/seekdir.c: Moved to...
2148 * dirent/seekdir.c: ...here.
2149 * sysdeps/generic/segfault.c: Moved to...
2150 * debug/segfault.c: ...here.
2151 * sysdeps/generic/select.c: Moved to...
2152 * misc/select.c: ...here.
2153 * sysdeps/generic/semctl.c: Moved to...
2154 * sysvipc/semctl.c: ...here.
2155 * sysdeps/generic/semget.c: Moved to...
2156 * sysvipc/semget.c: ...here.
2157 * sysdeps/generic/semop.c: Moved to...
2158 * sysvipc/semop.c: ...here.
2159 * sysdeps/generic/semtimedop.c: Moved to...
2160 * sysvipc/semtimedop.c: ...here.
2161 * sysdeps/generic/send.c: Moved to...
2162 * socket/send.c: ...here.
2163 * sysdeps/generic/sendfile.c: Moved to...
2164 * io/sendfile.c: ...here.
2165 * sysdeps/generic/sendfile64.c: Moved to...
2166 * io/sendfile64.c: ...here.
2167 * sysdeps/generic/sendmsg.c: Moved to...
2168 * socket/sendmsg.c: ...here.
2169 * sysdeps/generic/sendto.c: Moved to...
2170 * socket/sendto.c: ...here.
2171 * sysdeps/generic/setcontext.c: Moved to...
2172 * stdlib/setcontext.c: ...here.
2173 * sysdeps/generic/setdomain.c: Moved to...
2174 * misc/setdomain.c: ...here.
2175 * sysdeps/generic/setegid.c: Moved to...
2176 * misc/setegid.c: ...here.
2177 * sysdeps/generic/setenv.c: Moved to...
2178 * stdlib/setenv.c: ...here.
2179 * sysdeps/generic/seteuid.c: Moved to...
2180 * misc/seteuid.c: ...here.
2181 * sysdeps/generic/setfpucw.c: Moved to...
2182 * math/setfpucw.c: ...here.
2183 * sysdeps/generic/setgid.c: Moved to...
2184 * posix/setgid.c: ...here.
2185 * sysdeps/generic/setgroups.c: Moved to...
2186 * grp/setgroups.c: ...here.
2187 * sysdeps/generic/sethostid.c: Moved to...
2188 * misc/sethostid.c: ...here.
2189 * sysdeps/generic/sethostname.c: Moved to...
2190 * misc/sethostname.c: ...here.
2191 * sysdeps/generic/setipv4sourcefilter.c: Moved to...
2192 * inet/setipv4sourcefilter.c: ...here.
2193 * sysdeps/generic/setitimer.c: Moved to...
2194 * time/setitimer.c: ...here.
2195 * sysdeps/generic/setjmp.c: Moved to...
2196 * setjmp/setjmp.c: ...here.
2197 * sysdeps/generic/setlogin.c: Moved to...
2198 * posix/setlogin.c: ...here.
2199 * sysdeps/generic/setpgid.c: Moved to...
2200 * posix/setpgid.c: ...here.
2201 * sysdeps/generic/setpgrp.c: Moved to...
2202 * posix/setpgrp.c: ...here.
2203 * sysdeps/generic/setpriority.c: Moved to...
2204 * resource/setpriority.c: ...here.
2205 * sysdeps/generic/setregid.c: Moved to...
2206 * misc/setregid.c: ...here.
2207 * sysdeps/generic/setresgid.c: Moved to...
2208 * posix/setresgid.c: ...here.
2209 * sysdeps/generic/setresuid.c: Moved to...
2210 * posix/setresuid.c: ...here.
2211 * sysdeps/generic/setreuid.c: Moved to...
2212 * misc/setreuid.c: ...here.
2213 * sysdeps/generic/setrlimit.c: Moved to...
2214 * resource/setrlimit.c: ...here.
2215 * sysdeps/generic/setrlimit64.c: Moved to...
2216 * resource/setrlimit64.c: ...here.
2217 * sysdeps/generic/setsid.c: Moved to...
2218 * posix/setsid.c: ...here.
2219 * sysdeps/generic/setsockopt.c: Moved to...
2220 * socket/setsockopt.c: ...here.
2221 * sysdeps/generic/setsourcefilter.c: Moved to...
2222 * inet/setsourcefilter.c: ...here.
2223 * sysdeps/generic/settimeofday.c: Moved to...
2224 * time/settimeofday.c: ...here.
2225 * sysdeps/generic/setuid.c: Moved to...
2226 * posix/setuid.c: ...here.
2227 * sysdeps/generic/setutxent.c: Moved to...
2228 * login/setutxent.c: ...here.
2229 * sysdeps/generic/setxattr.c: Moved to...
2230 * misc/setxattr.c: ...here.
2231 * sysdeps/generic/shm_open.c: Moved to...
2232 * rt/shm_open.c: ...here.
2233 * sysdeps/generic/shm_unlink.c: Moved to...
2234 * rt/shm_unlink.c: ...here.
2235 * sysdeps/generic/shmat.c: Moved to...
2236 * sysvipc/shmat.c: ...here.
2237 * sysdeps/generic/shmctl.c: Moved to...
2238 * sysvipc/shmctl.c: ...here.
2239 * sysdeps/generic/shmdt.c: Moved to...
2240 * sysvipc/shmdt.c: ...here.
2241 * sysdeps/generic/shmget.c: Moved to...
2242 * sysvipc/shmget.c: ...here.
2243 * sysdeps/generic/shutdown.c: Moved to...
2244 * socket/shutdown.c: ...here.
2245 * sysdeps/generic/sigaction.c: Moved to...
2246 * signal/sigaction.c: ...here.
2247 * sysdeps/generic/sigaltstack.c: Moved to...
2248 * signal/sigaltstack.c: ...here.
2249 * sysdeps/generic/sigblock.c: Moved to...
2250 * signal/sigblock.c: ...here.
2251 * sysdeps/generic/sigfillset.c: Moved to...
2252 * signal/sigfillset.c: ...here.
2253 * sysdeps/generic/sigignore.c: Moved to...
2254 * signal/sigignore.c: ...here.
2255 * sysdeps/generic/sigintr.c: Moved to...
2256 * signal/sigintr.c: ...here.
2257 * sysdeps/generic/sigjmp.c: Moved to...
2258 * setjmp/sigjmp.c: ...here.
2259 * sysdeps/generic/siglist.c: Moved to...
2260 * stdio-common/siglist.c: ...here.
2261 * sysdeps/generic/signal.c: Moved to...
2262 * signal/signal.c: ...here.
2263 * sysdeps/generic/sigpause.c: Moved to...
2264 * signal/sigpause.c: ...here.
2265 * sysdeps/generic/sigpending.c: Moved to...
2266 * signal/sigpending.c: ...here.
2267 * sysdeps/generic/sigprocmask.c: Moved to...
2268 * signal/sigprocmask.c: ...here.
2269 * sysdeps/generic/sigqueue.c: Moved to...
2270 * signal/sigqueue.c: ...here.
2271 * sysdeps/generic/sigreturn.c: Moved to...
2272 * signal/sigreturn.c: ...here.
2273 * sysdeps/generic/sigset.c: Moved to...
2274 * signal/sigset.c: ...here.
2275 * sysdeps/generic/sigsetmask.c: Moved to...
2276 * signal/sigsetmask.c: ...here.
2277 * sysdeps/generic/sigstack.c: Moved to...
2278 * signal/sigstack.c: ...here.
2279 * sysdeps/generic/sigsuspend.c: Moved to...
2280 * signal/sigsuspend.c: ...here.
2281 * sysdeps/generic/sigtimedwait.c: Moved to...
2282 * signal/sigtimedwait.c: ...here.
2283 * sysdeps/generic/sigvec.c: Moved to...
2284 * signal/sigvec.c: ...here.
2285 * sysdeps/generic/sigwait.c: Moved to...
2286 * signal/sigwait.c: ...here.
2287 * sysdeps/generic/sigwaitinfo.c: Moved to...
2288 * signal/sigwaitinfo.c: ...here.
2289 * sysdeps/generic/sleep.c: Moved to...
2290 * posix/sleep.c: ...here.
2291 * sysdeps/generic/sockatmark.c: Moved to...
2292 * socket/sockatmark.c: ...here.
2293 * sysdeps/generic/socket.c: Moved to...
2294 * socket/socket.c: ...here.
2295 * sysdeps/generic/socketpair.c: Moved to...
2296 * socket/socketpair.c: ...here.
2297 * sysdeps/generic/spawni.c: Moved to...
2298 * posix/spawni.c: ...here.
2299 * sysdeps/generic/speed.c: Moved to...
2300 * termios/speed.c: ...here.
2301 * sysdeps/generic/sprofil.c: Moved to...
2302 * gmon/sprofil.c: ...here.
2303 * sysdeps/generic/sstk.c: Moved to...
2304 * misc/sstk.c: ...here.
2305 * sysdeps/generic/start.c: Moved to...
2306 * csu/start.c: ...here.
2307 * sysdeps/generic/statfs.c: Moved to...
2308 * io/statfs.c: ...here.
2309 * sysdeps/generic/statfs64.c: Moved to...
2310 * io/statfs64.c: ...here.
2311 * sysdeps/generic/statvfs.c: Moved to...
2312 * io/statvfs.c: ...here.
2313 * sysdeps/generic/statvfs64.c: Moved to...
2314 * io/statvfs64.c: ...here.
2315 * sysdeps/generic/stime.c: Moved to...
2316 * time/stime.c: ...here.
2317 * sysdeps/generic/stpcpy.c: Moved to...
2318 * string/stpcpy.c: ...here.
2319 * sysdeps/generic/stpcpy_chk.c: Moved to...
2320 * debug/stpcpy_chk.c: ...here.
2321 * sysdeps/generic/stpncpy.c: Moved to...
2322 * string/stpncpy.c: ...here.
2323 * sysdeps/generic/stpncpy_chk.c: Moved to...
2324 * debug/stpncpy_chk.c: ...here.
2325 * sysdeps/generic/strcasecmp.c: Moved to...
2326 * string/strcasecmp.c: ...here.
2327 * sysdeps/generic/strcasecmp_l.c: Moved to...
2328 * string/strcasecmp_l.c: ...here.
2329 * sysdeps/generic/strcasestr.c: Moved to...
2330 * string/strcasestr.c: ...here.
2331 * sysdeps/generic/strcat.c: Moved to...
2332 * string/strcat.c: ...here.
2333 * sysdeps/generic/strcat_chk.c: Moved to...
2334 * debug/strcat_chk.c: ...here.
2335 * sysdeps/generic/strchr.c: Moved to...
2336 * string/strchr.c: ...here.
2337 * sysdeps/generic/strchrnul.c: Moved to...
2338 * string/strchrnul.c: ...here.
2339 * sysdeps/generic/strcmp.c: Moved to...
2340 * string/strcmp.c: ...here.
2341 * sysdeps/generic/strcpy.c: Moved to...
2342 * string/strcpy.c: ...here.
2343 * sysdeps/generic/strcpy_chk.c: Moved to...
2344 * debug/strcpy_chk.c: ...here.
2345 * sysdeps/generic/strcspn.c: Moved to...
2346 * string/strcspn.c: ...here.
2347 * sysdeps/generic/string-inlines.c: Moved to...
2348 * string/string-inlines.c: ...here.
2349 * sysdeps/generic/strlen.c: Moved to...
2350 * string/strlen.c: ...here.
2351 * sysdeps/generic/strncase.c: Moved to...
2352 * string/strncase.c: ...here.
2353 * sysdeps/generic/strncase_l.c: Moved to...
2354 * string/strncase_l.c: ...here.
2355 * sysdeps/generic/strncat.c: Moved to...
2356 * string/strncat.c: ...here.
2357 * sysdeps/generic/strncat_chk.c: Moved to...
2358 * debug/strncat_chk.c: ...here.
2359 * sysdeps/generic/strncmp.c: Moved to...
2360 * string/strncmp.c: ...here.
2361 * sysdeps/generic/strncpy.c: Moved to...
2362 * string/strncpy.c: ...here.
2363 * sysdeps/generic/strncpy_chk.c: Moved to...
2364 * debug/strncpy_chk.c: ...here.
2365 * sysdeps/generic/strnlen.c: Moved to...
2366 * string/strnlen.c: ...here.
2367 * sysdeps/generic/strpbrk.c: Moved to...
2368 * string/strpbrk.c: ...here.
2369 * sysdeps/generic/strrchr.c: Moved to...
2370 * string/strrchr.c: ...here.
2371 * sysdeps/generic/strsep.c: Moved to...
2372 * string/strsep.c: ...here.
2373 * sysdeps/generic/strspn.c: Moved to...
2374 * string/strspn.c: ...here.
2375 * sysdeps/generic/strstr.c: Moved to...
2376 * string/strstr.c: ...here.
2377 * sysdeps/generic/strtoimax.c: Moved to...
2378 * stdlib/strtoimax.c: ...here.
2379 * sysdeps/generic/strtok.c: Moved to...
2380 * string/strtok.c: ...here.
2381 * sysdeps/generic/strtok_r.c: Moved to...
2382 * string/strtok_r.c: ...here.
2383 * sysdeps/generic/strtol.c: Moved to...
2384 * stdlib/strtol.c: ...here.
2385 * sysdeps/generic/strtol_l.c: Moved to...
2386 * stdlib/strtol_l.c: ...here.
2387 * sysdeps/generic/strtold_l.c: Moved to...
2388 * stdlib/strtold_l.c: ...here.
2389 * sysdeps/generic/strtoll.c: Moved to...
2390 * stdlib/strtoll.c: ...here.
2391 * sysdeps/generic/strtoll_l.c: Moved to...
2392 * stdlib/strtoll_l.c: ...here.
2393 * sysdeps/generic/strtoul.c: Moved to...
2394 * stdlib/strtoul.c: ...here.
2395 * sysdeps/generic/strtoul_l.c: Moved to...
2396 * stdlib/strtoul_l.c: ...here.
2397 * sysdeps/generic/strtoull.c: Moved to...
2398 * stdlib/strtoull.c: ...here.
2399 * sysdeps/generic/strtoull_l.c: Moved to...
2400 * stdlib/strtoull_l.c: ...here.
2401 * sysdeps/generic/strtoumax.c: Moved to...
2402 * stdlib/strtoumax.c: ...here.
2403 * sysdeps/generic/strtsupp.c: Moved to...
2404 * bare/strtsupp.c: ...here.
2405 * sysdeps/generic/stty.c: Moved to...
2406 * misc/stty.c: ...here.
2407 * sysdeps/generic/sub_n.c: Moved to...
2408 * stdlib/sub_n.c: ...here.
2409 * sysdeps/generic/submul_1.c: Moved to...
2410 * stdlib/submul_1.c: ...here.
2411 * sysdeps/generic/swapcontext.c: Moved to...
2412 * stdlib/swapcontext.c: ...here.
2413 * sysdeps/generic/swapoff.c: Moved to...
2414 * misc/swapoff.c: ...here.
2415 * sysdeps/generic/swapon.c: Moved to...
2416 * misc/swapon.c: ...here.
2417 * sysdeps/generic/symlink.c: Moved to...
2418 * io/symlink.c: ...here.
2419 * sysdeps/generic/sync.c: Moved to...
2420 * misc/sync.c: ...here.
2421 * sysdeps/generic/syscall.c: Moved to...
2422 * misc/syscall.c: ...here.
2423 * sysdeps/generic/sysconf.c: Moved to...
2424 * posix/sysconf.c: ...here.
2425 * sysdeps/generic/sysdep.c: Moved to...
2426 * csu/sysdep.c: ...here.
2427 * sysdeps/generic/syslog.c: Moved to...
2428 * misc/syslog.c: ...here.
2429 * sysdeps/generic/system.c: Moved to...
2430 * stdlib/system.c: ...here.
2431 * sysdeps/generic/sysv_signal.c: Moved to...
2432 * signal/sysv_signal.c: ...here.
2433 * sysdeps/generic/t_sincosl.c: Moved to...
2434 * math/t_sincosl.c: ...here.
2435 * sysdeps/generic/tcdrain.c: Moved to...
2436 * termios/tcdrain.c: ...here.
2437 * sysdeps/generic/tcflow.c: Moved to...
2438 * termios/tcflow.c: ...here.
2439 * sysdeps/generic/tcflush.c: Moved to...
2440 * termios/tcflush.c: ...here.
2441 * sysdeps/generic/tcgetattr.c: Moved to...
2442 * termios/tcgetattr.c: ...here.
2443 * sysdeps/generic/tcgetpgrp.c: Moved to...
2444 * termios/tcgetpgrp.c: ...here.
2445 * sysdeps/generic/tcsendbrk.c: Moved to...
2446 * termios/tcsendbrk.c: ...here.
2447 * sysdeps/generic/tcsetattr.c: Moved to...
2448 * termios/tcsetattr.c: ...here.
2449 * sysdeps/generic/tcsetpgrp.c: Moved to...
2450 * termios/tcsetpgrp.c: ...here.
2451 * sysdeps/generic/telldir.c: Moved to...
2452 * dirent/telldir.c: ...here.
2453 * sysdeps/generic/tempname.c: Moved to...
2454 * stdio-common/tempname.c: ...here.
2455 * sysdeps/generic/time.c: Moved to...
2456 * time/time.c: ...here.
2457 * sysdeps/generic/timer_create.c: Moved to...
2458 * rt/timer_create.c: ...here.
2459 * sysdeps/generic/timer_delete.c: Moved to...
2460 * rt/timer_delete.c: ...here.
2461 * sysdeps/generic/timer_getoverr.c: Moved to...
2462 * rt/timer_getoverr.c: ...here.
2463 * sysdeps/generic/timer_gettime.c: Moved to...
2464 * rt/timer_gettime.c: ...here.
2465 * sysdeps/generic/timer_settime.c: Moved to...
2466 * rt/timer_settime.c: ...here.
2467 * sysdeps/generic/times.c: Moved to...
2468 * posix/times.c: ...here.
2469 * sysdeps/generic/tmpfile.c: Moved to...
2470 * stdio-common/tmpfile.c: ...here.
2471 * sysdeps/generic/tmpfile64.c: Moved to...
2472 * stdio-common/tmpfile64.c: ...here.
2473 * sysdeps/generic/trampoline.c: Moved to...
2474 * hurd/trampoline.c: ...here.
2475 * sysdeps/generic/truncate.c: Moved to...
2476 * misc/truncate.c: ...here.
2477 * sysdeps/generic/truncate64.c: Moved to...
2478 * misc/truncate64.c: ...here.
2479 * sysdeps/generic/tst-timer.c: Moved to...
2480 * rt/tst-timer.c: ...here.
2481 * sysdeps/generic/ttyname.c: Moved to...
2482 * io/ttyname.c: ...here.
2483 * sysdeps/generic/ttyname_r.c: Moved to...
2484 * io/ttyname_r.c: ...here.
2485 * sysdeps/generic/ualarm.c: Moved to...
2486 * misc/ualarm.c: ...here.
2487 * sysdeps/generic/udiv_qrnnd.c: Moved to...
2488 * stdlib/udiv_qrnnd.c: ...here.
2489 * sysdeps/generic/ulimit.c: Moved to...
2490 * resource/ulimit.c: ...here.
2491 * sysdeps/generic/umask.c: Moved to...
2492 * io/umask.c: ...here.
2493 * sysdeps/generic/uname.c: Moved to...
2494 * posix/uname.c: ...here.
2495 * sysdeps/generic/unlink.c: Moved to...
2496 * io/unlink.c: ...here.
2497 * sysdeps/generic/unlinkat.c: Moved to...
2498 * io/unlinkat.c: ...here.
2499 * sysdeps/generic/unlockpt.c: Moved to...
2500 * login/unlockpt.c: ...here.
2501 * sysdeps/generic/updwtmp.c: Moved to...
2502 * login/updwtmp.c: ...here.
2503 * sysdeps/generic/updwtmpx.c: Moved to...
2504 * login/updwtmpx.c: ...here.
2505 * sysdeps/generic/usleep.c: Moved to...
2506 * misc/usleep.c: ...here.
2507 * sysdeps/generic/ustat.c: Moved to...
2508 * misc/ustat.c: ...here.
2509 * sysdeps/generic/utime.c: Moved to...
2510 * io/utime.c: ...here.
2511 * sysdeps/generic/utimes.c: Moved to...
2512 * misc/utimes.c: ...here.
2513 * sysdeps/generic/utmp_file.c: Moved to...
2514 * login/utmp_file.c: ...here.
2515 * sysdeps/generic/utmpxname.c: Moved to...
2516 * login/utmpxname.c: ...here.
2517 * sysdeps/generic/versionsort64.c: Moved to...
2518 * dirent/versionsort64.c: ...here.
2519 * sysdeps/generic/vfork.c: Moved to...
2520 * posix/vfork.c: ...here.
2521 * sysdeps/generic/vhangup.c: Moved to...
2522 * misc/vhangup.c: ...here.
2523 * sysdeps/generic/vlimit.c: Moved to...
2524 * resource/vlimit.c: ...here.
2525 * sysdeps/generic/vtimes.c: Moved to...
2526 * resource/vtimes.c: ...here.
2527 * sysdeps/generic/w_acos.c: Moved to...
2528 * math/w_acos.c: ...here.
2529 * sysdeps/generic/w_acosf.c: Moved to...
2530 * math/w_acosf.c: ...here.
2531 * sysdeps/generic/w_acosh.c: Moved to...
2532 * math/w_acosh.c: ...here.
2533 * sysdeps/generic/w_acoshf.c: Moved to...
2534 * math/w_acoshf.c: ...here.
2535 * sysdeps/generic/w_acoshl.c: Moved to...
2536 * math/w_acoshl.c: ...here.
2537 * sysdeps/generic/w_acosl.c: Moved to...
2538 * math/w_acosl.c: ...here.
2539 * sysdeps/generic/w_asin.c: Moved to...
2540 * math/w_asin.c: ...here.
2541 * sysdeps/generic/w_asinf.c: Moved to...
2542 * math/w_asinf.c: ...here.
2543 * sysdeps/generic/w_asinl.c: Moved to...
2544 * math/w_asinl.c: ...here.
2545 * sysdeps/generic/w_atan2.c: Moved to...
2546 * math/w_atan2.c: ...here.
2547 * sysdeps/generic/w_atan2f.c: Moved to...
2548 * math/w_atan2f.c: ...here.
2549 * sysdeps/generic/w_atan2l.c: Moved to...
2550 * math/w_atan2l.c: ...here.
2551 * sysdeps/generic/w_atanh.c: Moved to...
2552 * math/w_atanh.c: ...here.
2553 * sysdeps/generic/w_atanhf.c: Moved to...
2554 * math/w_atanhf.c: ...here.
2555 * sysdeps/generic/w_atanhl.c: Moved to...
2556 * math/w_atanhl.c: ...here.
2557 * sysdeps/generic/w_cosh.c: Moved to...
2558 * math/w_cosh.c: ...here.
2559 * sysdeps/generic/w_coshf.c: Moved to...
2560 * math/w_coshf.c: ...here.
2561 * sysdeps/generic/w_coshl.c: Moved to...
2562 * math/w_coshl.c: ...here.
2563 * sysdeps/generic/w_drem.c: Moved to...
2564 * math/w_drem.c: ...here.
2565 * sysdeps/generic/w_dremf.c: Moved to...
2566 * math/w_dremf.c: ...here.
2567 * sysdeps/generic/w_dreml.c: Moved to...
2568 * math/w_dreml.c: ...here.
2569 * sysdeps/generic/w_exp10.c: Moved to...
2570 * math/w_exp10.c: ...here.
2571 * sysdeps/generic/w_exp10f.c: Moved to...
2572 * math/w_exp10f.c: ...here.
2573 * sysdeps/generic/w_exp10l.c: Moved to...
2574 * math/w_exp10l.c: ...here.
2575 * sysdeps/generic/w_exp2.c: Moved to...
2576 * math/w_exp2.c: ...here.
2577 * sysdeps/generic/w_exp2f.c: Moved to...
2578 * math/w_exp2f.c: ...here.
2579 * sysdeps/generic/w_exp2l.c: Moved to...
2580 * math/w_exp2l.c: ...here.
2581 * sysdeps/generic/w_expl.c: Moved to...
2582 * math/w_expl.c: ...here.
2583 * sysdeps/generic/w_fmod.c: Moved to...
2584 * math/w_fmod.c: ...here.
2585 * sysdeps/generic/w_fmodf.c: Moved to...
2586 * math/w_fmodf.c: ...here.
2587 * sysdeps/generic/w_fmodl.c: Moved to...
2588 * math/w_fmodl.c: ...here.
2589 * sysdeps/generic/w_hypot.c: Moved to...
2590 * math/w_hypot.c: ...here.
2591 * sysdeps/generic/w_hypotf.c: Moved to...
2592 * math/w_hypotf.c: ...here.
2593 * sysdeps/generic/w_hypotl.c: Moved to...
2594 * math/w_hypotl.c: ...here.
2595 * sysdeps/generic/w_j0.c: Moved to...
2596 * math/w_j0.c: ...here.
2597 * sysdeps/generic/w_j0f.c: Moved to...
2598 * math/w_j0f.c: ...here.
2599 * sysdeps/generic/w_j0l.c: Moved to...
2600 * math/w_j0l.c: ...here.
2601 * sysdeps/generic/w_j1.c: Moved to...
2602 * math/w_j1.c: ...here.
2603 * sysdeps/generic/w_j1f.c: Moved to...
2604 * math/w_j1f.c: ...here.
2605 * sysdeps/generic/w_j1l.c: Moved to...
2606 * math/w_j1l.c: ...here.
2607 * sysdeps/generic/w_jn.c: Moved to...
2608 * math/w_jn.c: ...here.
2609 * sysdeps/generic/w_jnf.c: Moved to...
2610 * math/w_jnf.c: ...here.
2611 * sysdeps/generic/w_jnl.c: Moved to...
2612 * math/w_jnl.c: ...here.
2613 * sysdeps/generic/w_lgamma.c: Moved to...
2614 * math/w_lgamma.c: ...here.
2615 * sysdeps/generic/w_lgamma_r.c: Moved to...
2616 * math/w_lgamma_r.c: ...here.
2617 * sysdeps/generic/w_lgammaf.c: Moved to...
2618 * math/w_lgammaf.c: ...here.
2619 * sysdeps/generic/w_lgammaf_r.c: Moved to...
2620 * math/w_lgammaf_r.c: ...here.
2621 * sysdeps/generic/w_lgammal.c: Moved to...
2622 * math/w_lgammal.c: ...here.
2623 * sysdeps/generic/w_lgammal_r.c: Moved to...
2624 * math/w_lgammal_r.c: ...here.
2625 * sysdeps/generic/w_log.c: Moved to...
2626 * math/w_log.c: ...here.
2627 * sysdeps/generic/w_log10.c: Moved to...
2628 * math/w_log10.c: ...here.
2629 * sysdeps/generic/w_log10f.c: Moved to...
2630 * math/w_log10f.c: ...here.
2631 * sysdeps/generic/w_log10l.c: Moved to...
2632 * math/w_log10l.c: ...here.
2633 * sysdeps/generic/w_log2.c: Moved to...
2634 * math/w_log2.c: ...here.
2635 * sysdeps/generic/w_log2f.c: Moved to...
2636 * math/w_log2f.c: ...here.
2637 * sysdeps/generic/w_log2l.c: Moved to...
2638 * math/w_log2l.c: ...here.
2639 * sysdeps/generic/w_logf.c: Moved to...
2640 * math/w_logf.c: ...here.
2641 * sysdeps/generic/w_logl.c: Moved to...
2642 * math/w_logl.c: ...here.
2643 * sysdeps/generic/w_pow.c: Moved to...
2644 * math/w_pow.c: ...here.
2645 * sysdeps/generic/w_powf.c: Moved to...
2646 * math/w_powf.c: ...here.
2647 * sysdeps/generic/w_powl.c: Moved to...
2648 * math/w_powl.c: ...here.
2649 * sysdeps/generic/w_remainder.c: Moved to...
2650 * math/w_remainder.c: ...here.
2651 * sysdeps/generic/w_remainderf.c: Moved to...
2652 * math/w_remainderf.c: ...here.
2653 * sysdeps/generic/w_remainderl.c: Moved to...
2654 * math/w_remainderl.c: ...here.
2655 * sysdeps/generic/w_scalb.c: Moved to...
2656 * math/w_scalb.c: ...here.
2657 * sysdeps/generic/w_scalbf.c: Moved to...
2658 * math/w_scalbf.c: ...here.
2659 * sysdeps/generic/w_scalbl.c: Moved to...
2660 * math/w_scalbl.c: ...here.
2661 * sysdeps/generic/w_sinh.c: Moved to...
2662 * math/w_sinh.c: ...here.
2663 * sysdeps/generic/w_sinhf.c: Moved to...
2664 * math/w_sinhf.c: ...here.
2665 * sysdeps/generic/w_sinhl.c: Moved to...
2666 * math/w_sinhl.c: ...here.
2667 * sysdeps/generic/w_sqrt.c: Moved to...
2668 * math/w_sqrt.c: ...here.
2669 * sysdeps/generic/w_sqrtf.c: Moved to...
2670 * math/w_sqrtf.c: ...here.
2671 * sysdeps/generic/w_sqrtl.c: Moved to...
2672 * math/w_sqrtl.c: ...here.
2673 * sysdeps/generic/w_tgamma.c: Moved to...
2674 * math/w_tgamma.c: ...here.
2675 * sysdeps/generic/w_tgammaf.c: Moved to...
2676 * math/w_tgammaf.c: ...here.
2677 * sysdeps/generic/w_tgammal.c: Moved to...
2678 * math/w_tgammal.c: ...here.
2679 * sysdeps/generic/wait.c: Moved to...
2680 * posix/wait.c: ...here.
2681 * sysdeps/generic/wait3.c: Moved to...
2682 * posix/wait3.c: ...here.
2683 * sysdeps/generic/wait4.c: Moved to...
2684 * posix/wait4.c: ...here.
2685 * sysdeps/generic/waitid.c: Moved to...
2686 * posix/waitid.c: ...here.
2687 * sysdeps/generic/waitpid.c: Moved to...
2688 * posix/waitpid.c: ...here.
2689 * sysdeps/generic/wcstoimax.c: Moved to...
2690 * stdlib/wcstoimax.c: ...here.
2691 * sysdeps/generic/wcstol.c: Moved to...
2692 * wcsmbs/wcstol.c: ...here.
2693 * sysdeps/generic/wcstol_l.c: Moved to...
2694 * wcsmbs/wcstol_l.c: ...here.
2695 * sysdeps/generic/wcstoll.c: Moved to...
2696 * wcsmbs/wcstoll.c: ...here.
2697 * sysdeps/generic/wcstoll_l.c: Moved to...
2698 * wcsmbs/wcstoll_l.c: ...here.
2699 * sysdeps/generic/wcstoul.c: Moved to...
2700 * wcsmbs/wcstoul.c: ...here.
2701 * sysdeps/generic/wcstoul_l.c: Moved to...
2702 * wcsmbs/wcstoul_l.c: ...here.
2703 * sysdeps/generic/wcstoull.c: Moved to...
2704 * wcsmbs/wcstoull.c: ...here.
2705 * sysdeps/generic/wcstoull_l.c: Moved to...
2706 * wcsmbs/wcstoull_l.c: ...here.
2707 * sysdeps/generic/wcstoumax.c: Moved to...
2708 * stdlib/wcstoumax.c: ...here.
2709 * sysdeps/generic/wordcopy.c: Moved to...
2710 * string/wordcopy.c: ...here.
2711 * sysdeps/generic/wordexp.c: Moved to...
2712 * posix/wordexp.c: ...here.
2713 * sysdeps/generic/write.c: Moved to...
2714 * io/write.c: ...here.
2715 * sysdeps/generic/writev.c: Moved to...
2716 * misc/writev.c: ...here.
2717 * sysdeps/generic/xmknod.c: Moved to...
2718 * io/xmknod.c: ...here.
2719 * sysdeps/generic/xmknodat.c: Moved to...
2720 * io/xmknodat.c: ...here.
2721 * sysdeps/generic/xpg-strerror.c: Moved to...
2722 * string/xpg-strerror.c: ...here.
2723 * sysdeps/generic/xstat.c: Moved to...
2724 * io/xstat.c: ...here.
2725 * sysdeps/generic/xstat64.c: Moved to...
2726 * io/xstat64.c: ...here.
2727 * catgets/gencat.c: Use "config.h" to refer to the local config.h file.
2728 * stdlib/stdtod_l.c: Use "..." for gmp-impl.h and longlong.h headers.
2729 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust for files moving
2730 out of sysdeps/generic.
2731 * sysdeps/ieee754/ldbl-96/strtold_l.c: Likewise.
2732 * sysdeps/powerpc/elf/libc-start.c: Likewise.
2733 * sysdeps/unix/sysv/linux/dl-sbrk.c: Likewise.
2734 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2735 * sysdeps/unix/sysv/linux/segfault.c: Likewise.
2736 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
2737 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2738 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
2739 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
2740 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
2741 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2742 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Likewise.
2743 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2744 * sysdeps/wordsize-32/llabs.c: Likewise.
2745 * sysdeps/wordsize-32/lldiv.c: Likewise.
2746 * sysdeps/wordsize-64/glob.c: Likewise.
2747 * sysdeps/wordsize-64/labs.c: Likewise.
2748 * sysdeps/wordsize-64/ldiv.c: Likewise.
2749 * sysdeps/wordsize-64/strtol.c: Likewise.
2750 * sysdeps/wordsize-64/strtol_l.c: Likewise.
2751 * sysdeps/wordsize-64/strtoul.c: Likewise.
2752 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
2753 * sysdeps/wordsize-64/wcstol.c: Likewise.
2754 * sysdeps/wordsize-64/wcstol_l.c: Likewise.
2755 * sysdeps/wordsize-64/wcstoul.c: Likewise.
2756 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
2757 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2758 * wcsmbs/Makefile (strtox-CFLAGS): remove -I../stdlib.
2759 (CPPFLAGS-wcstold_l.c): Add -I../stdlib.
2761 2005-12-13 Roland McGrath <roland@redhat.com>
2763 * sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft.
2765 2005-12-13 Ulrich Drepper <drepper@redhat.com>
2767 * sysdeps/generic/signame.c: Removed.
2768 * sysdeps/generic/signame.h: Removed.
2769 * sysdeps/generic/configure.in: Removed.
2770 * sysdeps/generic/Dist: Remove these files.
2772 * sysdeps/generic/det_endian.c: Removed.
2773 * sysdeps/generic/Makefile: Remove rule to build it.
2774 * sysdeps/generic/Dist: Don't distribute it.
2776 2005-12-13 Roland McGrath <roland@redhat.com>
2778 * sysdeps/powerpc/dl-procinfo.c: New file.
2779 * sysdeps/powerpc/dl-procinfo.h: New file.
2781 2005-12-12 Ulrich Drepper <drepper@redhat.com>
2783 * io/sys/stat.h: Add restrict to fstatat declarations.
2785 2005-12-10 Ulrich Drepper <drepper@redhat.com>
2787 * posix/regex_internal.h: Include <stdint.h> if available.
2789 2005-12-06 Paolo Bonzini <bonzini@gnu.org>
2791 * posix/regex_internal.h (SIZE_MAX): Provide a default definition.
2793 2005-12-08 Ulrich Drepper <drepper@redhat.com>
2795 * nis/nis_call.c (inetstr2int): Optimize.
2797 2005-12-08 Jakub Jelinek <jakub@redhat.com>
2799 * nis/nis_call.c (__nisbind_create): Remove __nisbind_destroy,
2800 ->clnt cannot be != NULL.
2801 (__do_niscall): No need to use __nisbind_destroy, __nisbind_next
2803 (__nisbind_connect): use_auth is already TRUE, otherwise we would
2806 * nis/nis_lookup.c (nis_lookup): Remove unnecessary
2807 __nisbind_destroy calls. __nisbind_next does all that.
2809 * nis/ypclnt.c (yp_update): Before trying default authentication,
2810 free DES descriptor.
2812 2005-12-07 Jakub Jelinek <jakub@redhat.com>
2814 * nis/nis_table.c (nis_list): Fix memory handling in error case.
2816 2005-12-07 Ulrich Drepper <drepper@redhat.com>
2818 * nis/nis_table.c (nis_list): Remove have_tablepath, just use the
2819 pointer value itself.
2821 2005-12-06 Ulrich Drepper <drepper@redhat.com>
2823 * catgets/gencat.c: Use GPL, not LGPL.
2824 * elf/cache.c: Likewise.
2825 * elf/chroot_canon.c: Likewise.
2826 * elf/ldconfig.c: Likewise.
2827 * elf/readlib.c: Likewise.
2828 * iconv/dummy-repertoire.c: Likewise.
2829 * iconv/iconv_charmap.c: Likewise.
2830 * iconv/iconv_prog.c: Likewise.
2831 * iconv/iconvconfig.c: Likewise.
2832 * locale/programs/3level.h: Likewise.
2833 * locale/programs/charmap-dir.c: Likewise.
2834 * locale/programs/charmap-dir.h: Likewise.
2835 * locale/programs/charmap-kw.gperf: Likewise.
2836 * locale/programs/charmap.c: Likewise.
2837 * locale/programs/charmap.h: Likewise.
2838 * locale/programs/config.h: Likewise.
2839 * locale/programs/ld-address.c: Likewise.
2840 * locale/programs/ld-collate.c: Likewise.
2841 * locale/programs/ld-ctype.c: Likewise.
2842 * locale/programs/ld-identification.c: Likewise.
2843 * locale/programs/ld-measurement.c: Likewise.
2844 * locale/programs/ld-messages.c: Likewise.
2845 * locale/programs/ld-monetary.c: Likewise.
2846 * locale/programs/ld-name.c: Likewise.
2847 * locale/programs/ld-numeric.c: Likewise.
2848 * locale/programs/ld-paper.c: Likewise.
2849 * locale/programs/ld-telephone.c: Likewise.
2850 * locale/programs/ld-time.c: Likewise.
2851 * locale/programs/linereader.c: Likewise.
2852 * locale/programs/linereader.h: Likewise.
2853 * locale/programs/locale-spec.c: Likewise.
2854 * locale/programs/locale.c: Likewise.
2855 * locale/programs/localedef.c: Likewise.
2856 * locale/programs/localedef.h: Likewise.
2857 * locale/programs/locarchive.c: Likewise.
2858 * locale/programs/locfile-kw.gperf: Likewise.
2859 * locale/programs/locfile-token.h: Likewise.
2860 * locale/programs/locfile.c: Likewise.
2861 * locale/programs/locfile.h: Likewise.
2862 * locale/programs/repertoire.c: Likewise.
2863 * locale/programs/repertoire.h: Likewise.
2864 * locale/programs/simple-hash.c: Likewise.
2865 * locale/programs/simple-hash.h: Likewise.
2866 * locale/programs/xmalloc.c: Likewise.
2867 * locale/programs/xstrdup.c: Likewise.
2868 * malloc/memusagestat.c: Likewise.
2869 * nscd/aicache.c: Likewise.
2870 * nscd/cache.c: Likewise.
2871 * nscd/connections.c: Likewise.
2872 * nscd/dbg_log.c: Likewise.
2873 * nscd/gai.c: Likewise.
2874 * nscd/getgrgid_r.c: Likewise.
2875 * nscd/getgrnam_r.c: Likewise.
2876 * nscd/gethstbyad_r.c: Likewise.
2877 * nscd/gethstbynm2_r.c: Likewise.
2878 * nscd/getpwnam_r.c: Likewise.
2879 * nscd/getpwuid_r.c: Likewise.
2880 * nscd/grpcache.c: Likewise.
2881 * nscd/hstcache.c: Likewise.
2882 * nscd/initgrcache.c: Likewise.
2883 * nscd/mem.c: Likewise.
2884 * nscd/nscd.c: Likewise.
2885 * nscd/nscd_conf.c: Likewise.
2886 * nscd/pwdcache.c: Likewise.
2887 * posix/getconf.c: Likewise.
2888 * sysdeps/generic/nscd_setup_thread.c: Likewise.
2889 * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.
2891 * sunrpc/auth_des.c (authdes_pk_create): If conversation key
2892 cannot be created, free memory.
2893 Reported by rprasad@vmware.com.
2895 2005-11-15 Mike Frysinger <vapier@gentoo.org>
2897 * sysdeps/hppa/bits/setjmp.h: Add _BITS_SETJMP_H preprocessor
2898 protection and allow pthread.h to include bits/setjmp.h as well as
2900 * sysdeps/m68k/bits/setjmp.h: Likewise.
2901 * sysdeps/s390/bits/setjmp.h: Make sure only setjmp.h or pthread.h
2902 are allow to include bits/setjmp.h.
2903 * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Cast rhs to match lhs
2905 * sysdeps/sh/bits/setjmp.h: Likewise.
2907 2005-11-12 Jim Meyering <jim@meyering.net>
2909 * sysdeps/unix/opendir.c (__alloc_dir): Declare STATP parameter
2910 to be pointer to const.
2911 * include/dirent.h: Update decl.
2913 2005-12-05 Roland McGrath <roland@redhat.com>
2915 * hurd/hurdmalloc.c: Remove $ tag $ magic.
2916 * mach/err_kern.sub: Likewise.
2917 * mach/err_server.sub: Likewise.
2918 * mach/err_us.sub: Likewise.
2919 * mach/error_compat.c: Likewise.
2920 * mach/errorlib.h: Likewise.
2921 * mach/errstring.c: Likewise.
2922 * mach/mach/error.h: Likewise.
2923 * mach/mach_error.c: Likewise.
2924 * mach/mach_error.h: Likewise.
2925 * mach/msg-destroy.c: Likewise.
2926 * mach/msgserver.c: Likewise.
2927 * sysdeps/mach/sys/reboot.h: Likewise.
2929 * sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.
2931 2005-11-28 Jakub Jelinek <jakub@redhat.com>
2933 * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is
2934 initialized. Reported by John Reiser <jreiser@BitWagon.com>.
2936 2005-12-05 Daniel Jacobowitz <dan@codesourcery.com>
2938 * stdlib/longlong.h: Update from GCC.
2940 2005-12-04 Joseph S. Myers <joseph@codesourcery.com>
2942 * soft-fp/soft-fp.h: Include <stdlib.h>.
2944 * soft-fp/floatdisf.c (__floatdisf): Return float.
2946 2005-12-05 Roland McGrath <roland@redhat.com>
2948 * sysdeps/unix/sysv/linux/kernel-features.h
2949 (__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later.
2951 2005-12-03 Ulrich Drepper <drepper@redhat.com>
2953 * nis/nis_table.c (nis_list): Optimize freeing and reallocation of
2956 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
2957 Better sized buffers. Correct error case handling.
2958 * nis/nis_error.c (nis_sperror_r): Let snprintf determine whether
2959 there is an overflow.
2960 * nis/nss_nisplus/nisplus-service.c: Fix locking to use
2961 _nss_create_tablename. Avoid unnecessary copying, remove
2962 unnecessary variables, general cleanup.
2963 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2964 * nis/nss_nisplus/nisplus-proto.c: Likewise..
2965 * nis/nss_nisplus/nisplus-network.c: Fix locking to use
2966 _nss_create_tablename. Avoid unnecessary copying, general cleanup.
2967 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
2969 Fix locking to use _nss_create_tablename. Avoid unnecessary copying,
2971 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
2972 Correctly construct request.
2973 Fix locking to use _nss_create_tablename. Avoid unnecessary copying,
2975 * nis/nss_nisplus/nisplus-alias.c: Fix locking to use
2976 _nss_create_tablename. Avoid unnecessary copying, general cleanup.
2977 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_setnetgrent):
2978 Rewrite to use snprintf.
2979 * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user):
2982 2005-12-02 Ulrich Drepper <drepper@redhat.com>
2984 * nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename):
2985 Renamed from _nss_create_tablename. Export from file (but not DSO).
2986 (pwd_tablename_val): Renamed from tablename_val, mark hidden.
2987 (pwd_tablename_len): Renamed from tablename_len, mark hidden.
2989 * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename): Removed.
2990 Use _nss_pwd_create_tablename now. Use pwd_tablename_val and
2991 pwd_tablename_len. Remove unnecessary variables, general cleanup.
2993 * nis/nss_nisplus/nisplus-pwd.c: Fix locking to use
2994 _nss_create_tablename. Avoid unnecessary copying, remove
2995 unnecessary variables, general cleanup.
2996 * nis/nss_nisplus/nisplus-grp.c: Likewise.
2998 * io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat.
2999 (static-only-routines): Add mknodat.
3000 * io/Versions [GLIBC_2.4]: Add mkdirat, mkfifoat, __xmknodat.
3001 * io/sys/stat.h: Declare mkditat, mknodat, mkfifoat, __xmknodat.
3002 Define mknodat inline function.
3003 * include/sys/stat.h: Add hidden proto for __xmknodat.
3004 * sysdeps/generic/mkdirat.c: New file.
3005 * sysdeps/generic/mkfifoat.c: New file.
3006 * sysdeps/generic/mknodat.c: New file.
3007 * sysdeps/generic/xmknodat.c: New file.
3008 * sysdeps/unix/mkfifoat.c: New file.
3009 * sysdeps/unix/sysv/linux/mkdirat.c: New file.
3010 * sysdeps/unix/sysv/linux/xmknodat.c: New file.
3012 * sysdeps/generic/xmknod.c: Add one more parameter check.
3014 2005-11-28 Andreas Jaeger <aj@suse.de>
3016 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MREMAP_FIXED): Added,
3017 Patch by René Rebe <rene@exactcode.de>.
3019 2005-11-27 Ulrich Drepper <drepper@redhat.com>
3021 * sysdeps/posix/getaddrinfo.c: Avoid RFC 3484 sorting if there are
3022 multiple return records but only one address.
3024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid some code duplication.
3026 2005-11-27 Roland McGrath <roland@redhat.com>
3028 * sysdeps/unix/sysv/linux/fchownat.c: Include alloca.h, sysdep.h.
3029 Reported by René Rebe <rene@exactcode.de>.
3031 2005-11-27 Ulrich Drepper <drepper@redhat.com>
3033 * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Don't cache
3036 * nis/nis_table.c (nis_list): Add more free calls in error cases.
3038 2005-11-26 Richard Henderson <rth@redhat.com>
3040 * sysdeps/alpha/strncmp.S: Don't read too much data when pointers
3041 are co-aligned, and count is aligned with the end of the word.
3043 2005-11-26 Ulrich Drepper <drepper@redhat.com>
3045 * nis/nis_lookup.c (nis_lookup): Mark RPCTIMEOUT as const. Pretty
3048 * nis/nis_table.c (__create_ib_request): Use strdupa instead of
3049 variable size array.
3050 (RPCTIMEOUT): Mark as const.
3052 * nis/ypclnt.c (yp_bind_ypbindprog): Initialize clnt_saddr by hand.
3053 (ypdomainname): Renamed from __ypdomainname. No need for initializer.
3054 (ypbindlist): Renamed from __ypbindlist.
3055 (do_ypcall): Check memory allocation suceeded before calling
3057 (yperr_string): Reduce size of function by using only one gettext call.
3058 (ypbinderr_string): Likewise.
3059 (yp_match): Free response in case memory for return value cannot be
3061 (yp_first): Likewise.
3062 (yp_next): Likewise.
3063 (do_ypcall_tr): New function which translates error codes as well.
3064 (yp_match, yp_next, yp_master, yp_order, yp_maplist): Use it.
3065 (yp_all): Correct test for invalid parameter.
3067 (RPCTIMEOUT, UDPTIMEOUT): Mark as const.
3069 2005-11-25 Richard Henderson <rth@redhat.com>
3071 * sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo.
3072 (__fxstatat64): Alias from __fxstatat; remove other cnp errors.
3073 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h
3075 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define.
3077 2005-11-25 Ulrich Drepper <drepper@redhat.com>
3079 * Makeconfig (+cflags): Add -fmerge-all-constants by default.
3082 * nss/function.def: Add entry to use gethostbyname2 for files.
3084 2005-11-25 Thorsten Kukuk <kukuk@suse.de>
3086 * sysdeps/unix/sysv/linux/fxstatat64.c: Include string.h.
3088 2005-11-25 Ulrich Drepper <drepper@redhat.com>
3091 * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Change
3092 return value type to match expected type.
3095 * nis/ypclnt.c (yp_order): Correct test for invalid parameter.
3097 2005-11-24 Ulrich Drepper <drepper@redhat.com>
3099 * scripts/check-c++-types.sh: Improve comments.
3101 * scripts/check-local-headers.sh: New file.
3102 * Makefile (tests): Run check-local-headers.sh.
3104 2005-11-23 Thorsten Kukuk <kukuk@suse.de>
3106 * include/sys/sendfile.h: New file.
3108 2005-11-24 Andreas Schwab <schwab@suse.de>
3110 * time/sys/time.h: Remove nonnull attribute from futimesat.
3112 2005-11-22 Ulrich Drepper <drepper@redhat.com>
3114 * nscd/connections.c (sendfileall): Define.
3115 (handle_request): Use it instead of sendfile call.
3116 * nscd/nscd-client.h: Declare sendfileall.
3117 * nscd/aicache.c: Use sendfileall instead of sendfile.
3118 * nscd/grpcache.c: Likewise.
3119 * nscd/hstcache.c: Likewise.
3120 * nscd/initgrcache.c: Likewise.
3121 * nscd/pwdcache.c: Likewise.
3124 * manual/install.texi (Tools for Compilation): Require gawk.
3126 2005-11-22 Jakub Jelinek <jakub@redhat.com>
3128 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3129 unused is_static field from slotinfo array.
3131 2005-11-21 Jakub Jelinek <jakub@redhat.com>
3133 * sunrpc/bindrsvprt.c (bindresvport): Wrap around to startport
3134 in the loop if port is bigger than endport, initially set to
3135 ENDPORT. When changing startport, set endport and port
3138 2005-11-21 Ulrich Drepper <drepper@redhat.com>
3140 * Makefile.in: Remove RCS ID line.
3141 * config-name.in: Likewise.
3142 * config.make.in: Likewise.
3143 * malloc/arena.c: Likewise.
3144 * malloc/hooks.c: Likewise.
3145 * malloc/malloc.c: Likewise.
3146 * manual/dir: Likewise.
3147 * math/math_private.h: Likewise.
3148 * resolv/gethnamaddr.c: Likewise.
3149 * scripts/mkinstalldirs: Likewise.
3150 * sunrpc/rpc_clntout.c: Likewise.
3151 * sunrpc/rpc_cout.c: Likewise.
3152 * sunrpc/rpc_hout.c: Likewise.
3153 * sunrpc/rpc_main.c: Likewise.
3154 * sunrpc/rpc_parse.c: Likewise.
3155 * sunrpc/rpc_sample.c: Likewise.
3156 * sunrpc/rpc_scan.c: Likewise.
3157 * sunrpc/rpc_svcout.c: Likewise.
3158 * sunrpc/rpc_tblout.c: Likewise.
3159 * sunrpc/rpc_util.c: Likewise.
3160 * sysdeps/unix/sysv/linux/sys/quote.h: Likewise.
3162 * nscd/nscd_helper.c: Pretty printing.
3164 2005-11-19 Roland McGrath <roland@redhat.com>
3166 * elf/elf.h: Revert last change.
3168 2005-11-19 Jakub Jelinek <jakub@redhat.com>
3170 * sysdeps/unix/sysv/linux/ia64/bits/shm.h (shmatt_t): New type.
3171 (struct shmid_ds): Use it for shm_nattch field.
3173 2005-11-18 Jakub Jelinek <jakub@redhat.com>
3175 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): If FILE is NULL,
3176 set access and modification times of the file referenced by FD.
3177 * sysdeps/generic/futimesat.c (futimesat): Don't return EINVAL if
3178 FILE is NULL. Don't check FD if FILE is absolute path.
3180 2005-11-19 Ulrich Drepper <drepper@redhat.com>
3182 * nscd/nscd_gethst_r.c (nscd_gethst_r): Avoid unnecesary read call
3183 if there are no aliases.
3185 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-connections.c,
3186 CFLAGS-pwdcache.c, CFLAGS-grpcache.c, CFLAGS-hstcache.c,
3187 CFLAGS-aicache.c, CFLAGS-initgrcache.c): Add -DHAVE_SENDFILE.
3188 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
3190 * nscd/pwdcache.c [HAVE_SENDFILE]: Include <sys/sendfile.h> and
3191 <kernel-features.h>.
3192 [HAVE_SENDFILE] (cache_addpw): Use sendfile to transmit positive
3194 * nscd/grpcache.c: Likewise.
3195 * nscd/hstcache.c: Likewise.
3196 * nscd/aicache.c: Likewise.
3197 * nscd/initgrcache.c: Likewise.
3198 * nscd/connectionc.c: Likewise.
3200 2005-11-18 Andreas Schwab <schwab@suse.de>
3202 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove useless alias.
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Handle
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3208 2005-11-18 Paul Brook <paul@codesourcery.com>
3210 * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MREMAP_FIXED): New macro.
3212 * nscd/grpcache.c: Include <sys/socket.h>.
3213 * nscd/nscd_stat.c: Likewise.
3214 * nscd/pwdcache.c: Likewise.
3215 * sysdeps/unix/sysv/linux/unlinkat.c: Include <stdlib.h>, <sysdep.h>.
3217 2005-11-17 Ulrich Drepper <drepper@redhat.com>
3219 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Define SHM_NORESERVE.
3220 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
3221 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3222 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise.
3223 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
3224 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
3225 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3226 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3228 2005-11-17 Steven Munroe <sjmunroe@us.ibm.com>
3231 * string/test-strncmp.c (do_test_limit): Handle zero length and
3232 non-zero align values.
3233 (test_main): Correct do_test_limit tests for 64-bit.
3235 2005-11-15 Steven Munroe <sjmunroe@us.ibm.com>
3237 * sysdeps/powerpc/sysdep.h (PPC_FEATURE_HAS_SPE,
3238 PPC_FEATURE_HAS_EFP_SINGLE, PPC_FEATURE_HAS_EFP_DOUBLE,
3239 PPC_FEATURE_NO_TB, PPC_FEATURE_POWER4, PPC_FEATURE_POWER5,
3240 PPC_FEATURE_POWER5_PLUS, PPC_FEATURE_CELL, PPC_FEATURE_970):
3241 Define to match 2.6.15 kernel.
3243 * sysdeps/powerpc/fpu/e_sqrt.c: Remove dl-procinfo.h include.
3244 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3245 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3247 2005-11-17 Roland McGrath <roland@redhat.com>
3249 * elf/elf.h (R_PPC64_ADDR30): Renamed to R_PPC64_REL30.
3251 2005-11-17 Jakub Jelinek <jakub@redhat.com>
3253 * io/sys/stat.h (fstatat): If __REDIRECT_NTH isn't defined,
3254 define fstatat to fstatat64.
3256 2005-11-17 Steven Munroe <sjmunroe@us.ibm.com>
3259 * string/test-strncmp.c (do_test_limit): New function.
3260 (do_test) Add cast to eliminate compiler warnings.
3261 (do_random_tests) Add cast to eliminate compiler warnings.
3262 (test_main) Add do_test_limit tests.
3263 * sysdeps/powerpc/powerpc32/strncmp.S: Test length before unaligned
3265 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3267 2005-11-17 Ulrich Drepper <drepper@redhat.com>
3269 * include/resolv.h: Include <stdbool.h>.
3270 Patch by Paul Brook.
3272 * io/sys/stat.h: Use __const not const in fstatat prototypes.
3274 2005-11-08 H.J. Lu <hongjiu.lu@intel.com>
3276 * sysdeps/wordsize-32/Makefile (CPPFLAGS-divdi3.c): Set to
3278 * sysdeps/wordsize-32/symbol-hacks.h: Skip if in_divdi3_c is defined.
3280 2005-11-16 Jakub Jelinek <jakub@redhat.com>
3282 * sysdeps/unix/sysv/linux/fchownat.c: Include string.h.
3283 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
3284 * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise.
3285 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise.
3286 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3287 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
3288 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3289 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
3291 2005-11-16 Ulrich Drepper <drepper@redhat.com>
3293 * iconvdata/Makefile (modules): Add ISO_11548-1.
3294 (distribute): Add iso_11548-1.c.
3295 * iconvdata/gconv-modules: Add entries for ISO 11548-1.
3296 * iconvdata/TESTS: Add entry for ISO 11548-1.
3299 * iconvdata/iso_11548-1.c: New file.
3300 * iconvdata/testdata/ISO_11548-1: New file.
3301 * iconvdata/testdata/ISO_11548-1..UTF8: New file.
3302 Patch by Samuel Thibault <samuel.thibault@ens-lyon.org>.
3304 2005-11-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3306 * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Remove incorrect &.
3308 2005-11-15 Ulrich Drepper <drepper@redhat.com>
3311 * inet/netinet/icmp6.h: More updates for RFC3542.
3312 * inet/netinet/ip6.h: Likewise.
3313 * sysdeps/unix/sysv/linux/bits/in.h: Adjust for current kernel sources.
3314 Patch by David L Stevens <dlstevens@us.ibm.com>.
3316 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3317 Return -1 on failure.
3318 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3319 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise..
3320 * sysdeps/unix/sysv/linux/fxstatat64.c [__ASSUME_STAT64_SYSCALL]
3321 (__fxstatat64): Handle errors.
3323 * io/sys/poll.h: Add comment explaining poll is a cancellation point.
3325 * sysdeps/unix/sysv/linux/syscalls.list (epoll_wait): Align with
3326 poll, make cancelable.
3327 * sysdeps/unix/sysv/linux/sys/epoll.h: Add comment explaining
3328 epoll_wait is a cancellation point.
3330 2005-11-15 Jakub Jelinek <jakub@redhat.com>
3332 * io/sys/stat.h (fstatat): Don't use __THROW together with
3335 2005-11-14 Ulrich Drepper <drepper@redhat.com>
3337 * elf/dl-open.c [!SHARED]: Remove _dl_tls_static_size definition.
3338 * sysdeps/generic/libc-tls.c: Initialize _dl_tls_static_size here.
3340 2005-11-11 Ulrich Drepper <drepper@redhat.com>
3342 * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64,
3343 fchownat, and unlinkat.
3344 (static-only-routines): Add fstatat and fstatat64.
3345 (tests): Add tst-unlinkat, tst-fstatat, tst-futimesat, tst-renameat,
3347 * io/Versions [GLIBC_2.4]: Add fchownat, __fxstatat, __fxstatat64,
3349 * io/fcntl.h: Define AT_FDCWD, AT_SYMLINK_NOFOLLOW, and AT_REMOVEDIR.
3350 * io/fstatat.c: New file.
3351 * io/fstatat64.c: New file.
3352 * io/sys/stat.h: Declare fstatat, fstatat64, __fxstatat, __fxstatat64
3353 and define fstatat and fstatat64 inline functions.
3354 * libio/stdio.h: Declare renameat.
3355 * misc/Makefile (routines): Add futimesat.
3356 * misc/Versions [GLIBC_2.4]: Add futimesat.
3357 * posix/unistd.h: Declare fchownat and unlinkat.
3358 * stdio-common/Makefile (routines): Add renameat.
3359 * stdio-common/Versions [GLIBC_2.4]: Add renameat.
3360 * sysdeps/generic/fchownat.c: New file.
3361 * sysdeps/generic/futimesat.c: New file.
3362 * sysdeps/generic/fxstatat.c: New file.
3363 * sysdeps/generic/fxstatat64.c: New file.
3364 * sysdeps/generic/renameat.c: New file.
3365 * sysdeps/generic/unlinkat.c: New file.
3366 * sysdeps/unix/sysv/linux/fchownat.c: New file.
3367 * sysdeps/unix/sysv/linux/futimesat.c: New file.
3368 * sysdeps/unix/sysv/linux/fxstatat.c: New file.
3369 * sysdeps/unix/sysv/linux/fxstatat64.c: New file.
3370 * sysdeps/unix/sysv/linux/renameat.c: New file.
3371 * sysdeps/unix/sysv/linux/unlinkat.c: New file.
3372 * sysdeps/unix/sysv/linux/alpha/fxstatat.c: New file.
3373 * sysdeps/unix/sysv/linux/i386/fchownat.c: New file.
3374 * sysdeps/unix/sysv/linux/i386/fxstatat.c: New file.
3375 * sysdeps/unix/sysv/linux/m68k/fchownat.c: New file.
3376 * sysdeps/unix/sysv/linux/m68k/fxstatat.c: New file.
3377 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: New file.
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstatat.c: New file.
3379 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: New file.
3380 * sysdeps/unix/sysv/linux/s390/s390-32/fxstatat.c: New file.
3381 * sysdeps/unix/sysv/linux/sh/fchownat.c: New file.
3382 * sysdeps/unix/sysv/linux/sh/fxstatat.c: New file.
3383 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: New file.
3384 * sysdeps/unix/sysv/linux/sparc/sparc32/fxstatat.c: New file.
3385 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: New file.
3386 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: New file.
3387 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c: New file.
3388 * time/sys/time.h: Declare futimesat.
3389 * include/fcntl.h: Declare __atfct_seterrno.
3390 * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): New function.
3391 Split out from openat code and called.
3392 (do_test): Allow openat to fail with ENOSYS. Handle AT_FDCWD.
3393 * sysdeps/generic/openat.c: Handle AT_FDCWD.
3394 * sysdeps/generic/openat64.c: Likewise.
3395 * io/tst-unlinkat.c: New file.
3396 * io/tst-fstatat.c: New file.
3397 * io/tst-futimesat.c: New file.
3398 * io/tst-renameat.c: New file.
3399 * io/tst-fchownat.c: New file.
3400 * io/tst-openat.c: Don't fail if openat is not implemented.
3402 * sysdeps/unix/sysv/linux/powerpc/chown.c: Don't provide backward
3403 compatibility code if new kernel is guaranteed.
3405 * time/sys/time.h: Add a few nonnull attributes.
3407 2005-11-09 Ulrich Drepper <drepper@redhat.com>
3409 * io/fcntl.h: Declare openat and openat64.
3410 * io/Makefile (routines): Add openat and openat64.
3411 (tests): Add tst-openat.
3412 * io/Versions: Add openat and openat64 for GLIBC_2.4.
3413 * sysdeps/generic/openat.c: New file.
3414 * sysdeps/generic/openat64.c: New file.
3415 * sysdeps/unix/sysv/linux/openat.c: New file.
3416 * sysdeps/unix/sysv/linux/openat64.c: New file.
3417 * io/tst-openat.c: New file.
3419 * sysdeps/generic/check_fds.c (check_one_fd): For writable
3420 descriptors, use /dev/full.
3421 (__libc_check_standard_fds): Reverse modes so that common operations on
3422 the descriptors fail.
3423 * sysdeps/unix/sysv/linux/device-nrs.h: Add info for /dev/full.
3425 2005-11-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3427 * elf/elf.h (R_M32R_REL32): New macro.
3429 2005-11-05 Marcus Brinkmann <marcus@gnu.org>
3431 * sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro.
3432 (S_ISPARE): Unset the S_IMMAP0 flag.
3434 2005-11-07 Roland McGrath <roland@redhat.com>
3436 * configure.in: Grok --with-cpu=CPU option. If given, search for
3437 sysdeps/.../machine/CPU subdirs, and give error if none are found.
3438 * configure: Regenerated.
3439 * config.make.in (with-cpu): New substituted variable.
3440 * Makeconfig (+cflags): Add -mcpu=$(with-cpu) if set.
3442 * malloc/malloc.c (munmap_chunk): Suppress warnings from last change.
3444 * sysdeps/unix/bsd/sun: Directory and all subdirectories removed,
3445 saved in ports repository.
3446 * sysdeps/unix/sysv/linux/tcflush.c: Rewritten.
3447 * sysdeps/unix/sysv/linux/tcflow.c: Rewritten.
3449 2005-11-06 Ulrich Drepper <drepper@redhat.com>
3451 * malloc/malloc.c (munmap_chunk): Add sanity checks.
3453 * sysdeps/pthread/configure: Fix comment.
3455 2005-11-05 Ulrich Drepper <drepper@redhat.com>
3457 * configure.in: Remove gnu_as definition and everything using it.
3458 * config.make.in: Remove gnu-as.
3459 * config.h.in: Remove HAVE_GNU_AS.
3461 * configure.in: Remove gnu_ld definition and everything using it.
3462 * config.h.in: Remove HAVE_GNU_LD.
3463 * config.make.in: Remove gnu-ld.
3464 * csu/Makefile: Remove use of gnu-ld.
3465 * csu/munch.awk: Removed.
3466 * csu/munch-tmpl.c: Removed.
3467 * include/libc-symbols.h: Remove use of HAVE_GNU_LD.
3468 * posix/execl.c: Likewise.
3469 * posix/execv.c: Likewise.
3470 * stdio-common/psignal.c: Likewise.
3471 * stdlib/exit.c: Likewise.
3472 * string/strsignal.c: Likewise.
3473 * string/tester.c: Likewise.
3474 * sysdeps/generic/errlist.c: Likewise.
3475 * sysdeps/generic/getenv.c: Likewise.
3476 * sysdeps/generic/getgroups.c: Likewise.
3477 * sysdeps/generic/init-posix.c: Likewise.
3478 * sysdeps/posix/gettimeofday.c: Likewise.
3479 * sysdeps/posix/system.c: Likewise.
3480 * sysdeps/unix/bsd/init-posix.c: Likewise.
3481 * sysdeps/unix/bsd/ulimit.c: Likewise.
3482 * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise.
3483 * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
3484 * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
3485 * sysdeps/unix/i386/brk.S: Likewise.
3486 * sysdeps/unix/sparc/brk.S: Likewise.
3488 * configure.in: Remove test for support for subtracting local labels.
3489 * config.h.in: Remove HAVE_SUBTRACT_LOCAL_LABELS.
3490 * stdio-common/vfprintf.c: Remove test of
3491 HAVE_SUBTRACT_LOCAL_LABELS.
3493 * configure.in: If init_array/fini_array support is not available,
3495 * config.h.in: Remove trace of optional init_array/fini_array support.
3496 * config.make.in: Likewise.
3497 * csu/elf-init.c: Likewise.
3498 * dlfcn/dlfcn.c: Likewise.
3499 * elf/soinit.c: Likewise.
3500 * sysdeps/ia64/elf/initfinit.c: Likewise.
3502 2005-11-04 Roland McGrath <roland@redhat.com>
3504 * sysdeps/i386/configure.in (libc_mtune_example): Variable removed.
3505 * sysdeps/i386/configure: Regenerated.
3508 * configure.in: Change order of add-on sysdeps directories,
3509 so they are interleaved with main sysdeps directories.
3510 * configure: Regenerated.
3512 2005-11-03 Roland McGrath <roland@redhat.com>
3514 * NEWS: Synch with 2.3 branch updates.
3516 2005-11-03 Ulrich Drepper <drepper@redhat.com>
3518 * sunrpc/svc.c (svc_getreq_poll): Fix inefficient loop test.
3520 2005-11-03 Roland McGrath <roland@redhat.com>
3523 * sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask,
3524 make sure constant is long.
3525 From Jay Lan <jlan@engr.sgi.com>.
3527 2005-11-03 Ulrich Drepper <drepper@redhat.com>
3530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use simple
3531 gethostbyname2 lookup if AI_V4MAPPED|AI_ALL is set.
3533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid alloca when possible
3534 while looking for scope delimiter.
3535 Some pretty printing.
3537 2005-10-31 Steven Munroe <sjmunroe@us.ibm.com>
3539 * sysdeps/powerpc/powerpc64/Makefile
3540 (sysdep_routines, elide-routines.os): Add hp-timing.
3541 * sysdeps/powerpc/powerpc64/hp-timing.c: New file.
3542 * sysdeps/powerpc/powerpc64/hp-timing.h: New file.
3543 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: New file.
3545 2005-10-31 Ulrich Drepper <drepper@redhat.com>
3547 * resolv/res_init.c (__res_iclose): New function. Broken out of
3548 res_nclose. Take addition parameter which determines whether
3549 addresses should be freed.
3550 (res_nclose): Call __res_iclose.
3551 (res_thread_freeres): Likewise.
3552 * resolv/res_data.c (res_close): Call __res_iclose.
3553 * resolv/res_libc.c (res_init): No need to separately free the
3555 (__res_maybe_init): Likewise.
3556 * resolv/res_send.c: Use __res_iclose instead of res_nclose.
3557 * resolv/Versions [GLIBC_PRIVATE]: Add __res_iclose.
3558 * include/resolv.h: Declare __res_iclose.
3559 Add libc_hidden_proto for __res_iclose.
3560 * hesiod/hesiod.c (__hesiod_res_set): No need to free name server
3561 addresses here again.
3564 * debug/execinfo.h: Change backtrace_symbols_fd comment.
3566 2005-10-24 H.J. Lu <hongjiu.lu@intel.com>
3568 * sysdeps/ia64/fpu/libm-symbols.h (WEAK_LIBM_ENTRY): Add "__"
3569 prefix to LOCAL_LIBM_ENTRY.
3570 (WEAK_LIBM_END): Add "__" prefix to LOCAL_LIBM_END.
3572 2005-10-26 Jakub Jelinek <jakub@redhat.com>
3574 * elf/dl-conflict.c (_dl_resolve_conflicts): Use _dl_debug_printf
3575 instead of _dl_printf to print conflict processing debug message.
3576 Reported by John Reiser <jreiser@BitWagon.com>.
3578 2005-10-30 Ulrich Drepper <drepper@redhat.com>
3580 * misc/hsearch_r.c (hsearch_r): Remove duplicate test.
3581 Patch by Chris Caputo <ccaputo@alt.net>.
3583 2005-10-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3585 * sysdeps/unix/sh/sysdep.S: Remove unnecessary weak_alias.
3586 * sysdeps/unix/sysv/linux/sh/socket.S: Honor NO_WEAK_ALIAS.
3588 2005-10-28 Thorsten Kukuk <kukuk@suse.de>
3590 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Fix off
3593 2005-10-24 Roland McGrath <roland@redhat.com>
3596 * include/string.h: Use libc_hidden_proto for strnlen,
3597 not libc_hidden_builtin_proto.
3599 2005-10-23 Ulrich Drepper <drepper@redhat.com>
3601 * rt/mqueue.h: Cleanups.
3603 2005-10-22 Roland McGrath <roland@redhat.com>
3606 * sysdeps/mach/hurd/getpeername.c (__getpeername): Fix last change.
3607 From Samuel Thibault <samuel.thibault@ens-lyon.org>.
3609 2005-10-17 Thomas Schwinge <tschwinge@gnu.org>
3612 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue.
3613 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3615 2005-10-20 Ulrich Drepper <drepper@redhat.com>
3617 * iconvdata/ibm1364.h (__ucs4_to_ibm1364sb): Fix one mapping.
3618 * iconvdata/ibm1388.h (__ucs4_to_ibm1388sb): Likewise.
3619 * iconvdata/testdata/IBM1364: Add missing valid input.
3620 * iconvdata/testdata/IBM1388: Likewise.
3621 * iconvdata/testdata/IBM1364..UTF8: Adjust appropriately.
3622 * iconvdata/testdata/IBM1388..UTF8: Likewise.
3623 Patch by Masahide Washizawa <washi@jp.ibm.com>.
3625 2005-08-23 GOTO Masanori <gotom@debian.or.jp>
3628 * sysdeps/alpha/remqu.S: Return the correct result when the same
3629 dividend and divisor are provided, and they're negative numbers.
3630 * sysdeps/alpha/divqu.S: Likewise.
3632 2005-10-18 Steven Munroe <sjmunroe@us.ibm.com>
3634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h (TESTS):
3636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h (TESTS):
3639 2005-10-19 Ulrich Drepper <drepper@redhat.com>
3641 * iconvdata/Makefile (modules): Add IBM1364, IBM1371, IBM1388, IBM1390,
3643 (distribute): Add ibm1364.c, ibm1364.h, ibm1371.c, ibm1371.h,
3644 ibm1388.c, ibm1388.h, ibm1390.c, ibm1390.h, ibm1399.c, and ibm1399.h.
3645 * iconvdata/TESTS: Add entries for IBM1364, IBM1371, IBM1388, IBM1390,
3647 * iconvdata/gconv-modules: Likewise.
3648 * iconvdata/ibm1364.c: New file.
3649 * iconvdata/ibm1364.h: New file.
3650 * iconvdata/ibm1371.c: New file.
3651 * iconvdata/ibm1371.h: New file.
3652 * iconvdata/ibm1388.c: New file.
3653 * iconvdata/ibm1388.h: New file.
3654 * iconvdata/ibm1390.c: New file.
3655 * iconvdata/ibm1390.h: New file.
3656 * iconvdata/ibm1399.c: New file.
3657 * iconvdata/ibm1399.h: New file.
3658 * iconvdata/testdata/IBM1364: New file.
3659 * iconvdata/testdata/IBM1364..UTF8: New file.
3660 * iconvdata/testdata/IBM1371: New file.
3661 * iconvdata/testdata/IBM1371..UTF8: New file.
3662 * iconvdata/testdata/IBM1388: New file.
3663 * iconvdata/testdata/IBM1388..UTF8: New file
3664 * iconvdata/testdata/IBM1390: New file.
3665 * iconvdata/testdata/IBM1390..UTF8: New file.
3666 * iconvdata/testdata/IBM1399: New file.
3667 * iconvdata/testdata/IBM1399..UTF8: New file.
3668 Original patch by Masahide Washizawa <washi@jp.ibm.com>.
3670 2005-10-17 Roland McGrath <roland@redhat.com>
3672 * elf/dl-load.c (MAP_COPY): When undefined, define to
3673 MAP_PRIVATE|MAP_DENYWRITE instead of just MAP_PRIVATE.
3674 (_dl_map_object_from_fd): Don't use MAP_DENYWRITE explicitly.
3676 2005-10-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
3678 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_STSZ, TESTS):
3680 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h (SC_STSZ, TESTS):
3683 2005-10-17 Ulrich Drepper <drepper@redhat.com>
3685 * libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch.
3688 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Also
3689 allow EACCES errors when opening /proc for now.
3691 * wctype/wcfuncs.c: Don't use expensive wide char lookups in isw*
3692 functions if character is in ASCII range.
3693 * wctype/wcfuncs_l.c: Likewise.
3695 2005-05-03 Robert Millan <robertmh@gnu.org>
3697 * abi-tags (.*-.*-knetbsd.*-gnu.*): New match, with ABI value 4.
3698 * elf/cache.c (print_entry): Match the kNetBSD ABI tag.
3700 2005-10-16 Alfred M. Szmidt <ams@gnu.org>
3702 * sysdeps/generic/bits/mman.h
3703 [__USE_GNU] (MREMAP_MAYMOVE, REMAP_FIXED): New macros.
3705 2005-10-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3707 * sysdeps/unix/sysv/linux/sh/makecontext.S: New file.
3708 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: New file.
3709 * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: New file.
3710 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: New file.
3711 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: New file.
3712 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: New file.
3713 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: New file.
3714 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: New file.
3715 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: New file.
3716 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Removed.
3717 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: New file.
3718 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: New file.
3720 2005-09-13 Jakub Jelinek <jakub@redhat.com>
3723 * include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Make sure these
3724 are defined for -D_GNU_SOURCE or -D_ISOC99_SOURCE even when not
3727 2005-10-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3729 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MREMAP_FIXED.
3731 2005-08-05 Alfred M. Szmidt <ams@gnu.org>
3734 * sysdeps/mach/hurd/setitimer.c (restart_itimer): Move static fn
3735 forward decl out of function body.
3736 * sysdeps/mach/hurd/profil.c: Likewise.
3738 2005-10-16 Roland McGrath <roland@frob.com>
3741 * sysdeps/mach/hurd/getpeername.c (__getpeername): Respect *LEN
3742 byte limit when setting ADDR->sa_family.
3743 Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
3746 * sysdeps/mach/hurd/dl-sysdep.h
3747 [SHARED] (DL_ARGV_NOT_RELRO): New macro.
3750 * sysdeps/mach/hurd/i386/init-first.c (init): Make cast kosher.
3751 (_hurd_stack_setup): Don't declare with arguments and ellipsis.
3752 Use __builtin_frame_address and __builtin_return_address.
3753 (_dl_init_first): Likewise.
3756 * sysdeps/mach/hurd/i386/init-first.c (_cthread_init_routine): Declare
3758 (init): Check for it being undefined.
3760 2005-10-16 Daniel Jacobowitz <dan@codesourcery.com>
3761 Roland McGrath <roland@redhat.com>
3763 * Makerules [module-names] (extra-modules-build): New variable.
3764 ($(extra-modules-build:%=$(objpfx)%.so)): New static pattern rule.
3765 Depend on libc.so and libc_nonshared.a.
3766 * dlfcn/Makefile ($(test-modules)): Remove static pattern rule.
3767 * elf/Makefile (modules-names-nobuild): New variable, add filtmod1.
3768 ($(test-modules)): Remove static pattern rule.
3770 2005-10-15 Thomas Schwinge <tschwinge@gnu.org>
3772 * include/dirent.h: Include <stdbool.h>.
3773 * sysdeps/mach/hurd/fdopendir.c: Include <fcntl.h>.
3774 (fdopendir): Correct argument to _hurd_fd_get().
3775 * sysdeps/mach/hurd/opendir.c (__opendir): Remove stray `}'.
3777 2005-08-20 Paul Eggert <eggert@cs.ucla.edu>
3780 * posix/regcomp.c (init_word_char, duplicate_node_closure,
3781 fetch_token, peek_token_bracket, build_range_exp,
3782 build_collating_symbol): Remove forward decls; no longer needed
3783 now that we use prototypes.
3785 2005-10-15 Ulrich Drepper <drepper@redhat.com>
3788 * posix/regex_internal.h: Remove last traces of
3789 RE_NO_INTERNAL_PROTOTYPES.
3792 * string/strxfrm_l.c (STRXFRM): Fix exit conditions of two loops.
3794 * sysdeps/unix/fdopendir.c (fdopendir): Make sure descriptor
3797 * wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8.
3798 * wcsmbs/Makefile: Define tst-mbrtowc2-ENV.
3800 * posix/regexec.c: Finish prototyping of static functions.
3801 * posix/regex_internal.c: Likewise.
3803 2005-10-14 Roland McGrath <roland@frob.com>
3805 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): New function, broken
3807 (__opendir): ... here. Call it.
3808 * sysdeps/mach/hurd/fdopendir.c: New file.
3810 2005-10-14 Ulrich Drepper <drepper@redhat.com>
3813 * math/tgmath.h: Correctly determine result type for
3814 __TGMATH_BINARY_REAL_ONLY,
3815 __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
3816 __TGMATH_TERNARY_REAL_ONLY, and __TGMATH_BINARY_REAL_IMAG.
3818 2005-09-17 Andreas Jaeger <aj@suse.de>
3821 * math/test-tgmath-int.c: New file.
3822 * math/Makefile (tests): Add test-tgmath-int.
3824 2005-10-14 Ulrich Drepper <drepper@redhat.com>
3827 * malloc/tst-mtrace.sh: Work around for bootstraping.
3829 * locale/programs/ld-collate.c (collate_output): Fix counting of
3830 elements. Don't limit table size. Use correct secondary hash
3832 * locale/localeinfo.h (LIMAGIC): Change value returned for LC_COLLATE.
3833 * posix/fnmatch_loop.c: Adjust for changed secondary hash function.
3834 * posix/regcomp.c: Likewise.
3836 * time/asctime.c (asctime_internal): Use __snprintf instead of
3837 snprintf to avoid PLT entry.
3839 * sysdeps/unix/opendir.c (__opendir): Pass extra argument to
3841 (__alloc_dir): Only close descriptor on error if new parameter is true.
3842 * sysdeps/unix/fdopendir.c (fdopendir): Pass extra argument to
3843 __alloc_dir. Don't close fd on error.
3844 * include/dirent.h (__alloc_dir): Adjust prototype.
3846 * stdlib/Makefile (tests): Add tst-ucontext-off.
3847 * stdlib/tst-ucontext-off.c: New file.
3848 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h (TESTS): Define.
3849 * sysdeps/unix/sysv/linux/i386/ucontext_i.h (TESTS): Likewise.
3852 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Fix values for
3853 oFPREGS, oSIGMASK, oFPREGSMEM, and oMXCSR.
3854 Patch by Nicholas Miell <nmiell@comcast.net>.
3857 * time/asctime.c (asctime_internal): New function, derived from
3858 asctime_r. Takes additional parameter which is the buffer length.
3859 Use snprintf instead sprintf, if it overflows, fail.
3860 (asctime_r): Call asctime_internal with 26 as buffer length.
3861 (asctime): Call asctime_internal with length of internal buffer.
3862 * time/Makefile (tests): Add bug-asctime_r.
3863 * time/bug-asctime_r.c: New file.
3866 * time/asctime.c (__asctime_r): Check for tm_year computation to
3867 overflow and fail in this case.
3868 * time/Makefile (tests): Add bug-asctime.
3869 * time/bug-asctime.c: New file.
3872 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MREMAP_FIXED.
3873 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
3874 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3875 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3876 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3877 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
3878 * misc/sys/mman.h: Add ellipsis after last parameter of mremap and
3879 adjust leading comment.
3880 * sysdeps/unix/sysv/linux/syscalls.list: Add pointer parameter to
3882 * include/sys/mman.h (__mremap): Add ellipsis.
3883 * malloc/memusage.c: Adjust mremap wrapper for optional additional
3886 2005-10-13 Ulrich Drepper <drepper@redhat.com>
3889 * libio/iogetdelim.c (_IO_getdelim): Fix truncation of return
3890 value. Avoid overflow in computation.
3893 * argp/argp.h: Remove __NTH for __argp_usage inline function.
3895 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
3898 * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge,
3899 bitset_mask, re_string_allocate, re_string_construct,
3900 re_string_reconstruct, re_string_destruct, re_string_elem_size_at,
3901 re_string_char_size_at, re_string_wchar_at, re_string_peek_byte_case,
3902 re_string_fetch_byte_case, re_node_set_alloc, re_node_set_init_1,
3903 re_node_set_init_2, re_node_set_init_copy, re_node_set_add_intersect,
3904 re_node_set_init_union, re_node_set_merge, re_node_set_insert,
3905 re_node_set_insert_last, re_node_set_compare, re_node_set_contains,
3906 re_node_set_remove_at, re_dfa_add_node, re_acquire_state,
3907 re_acquire_state_context): Remove unnecessary forward decls.
3908 (re_string_char_size_at, re_string_wchar_at, re_string_elem_size_at):
3909 Put __attribute at function definition, now that the function decl
3911 * posix/regex_internal.c (re_string_peek_byte_case,
3912 re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains):
3915 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
3918 * posix/regex_internal.c (re_string_skip_chars, register_state,
3919 calc_state_hash): Remove forward decls.
3920 * posix/regexec.c (acquire_init_state_context, check_halt_node_context,
3921 proceed_next_node, pop_fail_stack, sub_epsilon_src_nodes,
3922 clean_state_log_if_needed): Likewise.
3924 2005-10-13 Ulrich Drepper <drepper@redhat.com>
3926 * posix/regex.c: No need to use K&R definitions for static functions.
3927 * posix/regex_internal.c: Likewise.
3928 * posix/regcomp.c: Likewise.
3931 * sysdeps/generic/s_csqrt.c (__csqrt): For zero real part, return
3932 principal square root.
3933 * sysdeps/generic/s_csqrtf.c (__csqrtf): Likewise.
3934 * sysdeps/generic/s_csqrtl.c (__csqrtl): Likewise.
3935 * math/libm-test.inc (csqrt_test): Add test for returning
3938 * include/features.h: Define _POSIX_C_SOURCE to 200112 for
3939 _XOPEN_SOURCE == 600.
3941 2005-10-12 Ulrich Drepper <drepper@redhat.com>
3943 * malloc/malloc.c (_int_free): Fail if block size is obviously wrong.
3945 * include/malloc.h: Remove _int_new_arena prototype.
3946 * malloc/arena.c (_int_new_arena): Move definition ahead of
3947 arena_get2 and make static.
3949 Correctly implement M_MXFAST.
3950 * malloc/malloc.c (struct malloc_state): Replace max_fast with flags
3952 (global_max_fast): New variable.
3953 (set_max_fast): Change to not require arena parameter and to modify
3954 global_max_fast. Change all callers.
3955 (get_max_fast): New macro. Use this instead of directly accessing
3956 now removed max_fast arena member.
3957 (have_fastchunks): Use flags instead of max_fast.
3958 (clear_fastchunks): Likewise.
3959 (set_fastchunks): Likewise.
3960 (contiguous): Likewise.
3961 (noncontiguous): Likewise.
3962 (set_noncontiguous): Likewise.
3963 (set_contiguous): Likewise.
3964 (malloc_init_state): Explicitly set FASTCHUNKS_BIT. Call set_max_fast
3965 only for main arena.
3966 * malloc/hooks.c (public_sET_STATe): Adjust set_max_fast use.
3968 2005-10-10 Daniel Jacobowitz <dan@codesourcery.com>
3970 * sysdeps/generic/bits/byteswap.h (__bswap_constant_16): New macro.
3971 (__bswap_16): Use it.
3972 (__bswap_constant_32): New macro.
3973 (__bswap_32): Use it.
3975 2005-10-10 Ulrich Drepper <drepper@redhat.com>
3977 * malloc/arena.c (ptmalloc_unlock_all2): Reset atfork_recursive_cntr.
3979 2005-10-08 Jakub Jelinek <jakub@redhat.com>
3981 * nss/getent.c (hosts_keys): Pass INADDRSZ as size rather
3982 than IN6ADDRSZ to AF_INET gethostbyaddr.
3984 2005-10-07 Roland McGrath <roland@redhat.com>
3987 * include/features.h: Make tests on _FORTIFY_SOURCE and __OPTIMIZE__
3988 friendly to -Wundef.
3989 (__USE_FORTIFY_LEVEL): Always define it, to 0 if nothing else.
3991 2005-10-06 Ulrich Drepper <drepper@redhat.com>
3993 * sysdeps/unix/sysv/linux/readonly-area.c: Allow fopen to fail because
3994 the file does not exist.
3996 2005-10-05 Simon Josefsson <jas@extundo.com>
3999 * crypt/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): New macros.
4001 2005-10-05 Roland McGrath <roland@redhat.com>
4003 * crypt/Makefile (distribute): Remove duplicate defn.
4005 * sysdeps/generic/ldsodefs.h (struct audit_ifaces):
4006 Use ARCH_PLTENTER_MEMBERS and ARCH_PLTEXIT_MEMBERS macros if defined.
4007 * elf/tst-auditmod1.c: Include <tst-audit.h> to define more
4008 architecture-specific code.
4009 * sysdeps/generic/tst-audit.h: New file.
4010 * elf/Makefile (distribute): Add it.
4012 2005-10-05 Daniel Jacobowitz <dan@codesourcery.com>
4014 * elf/elf.h (R_ARM_TLS_DTPMOD32, R_ARM_TLS_DTPOFF32,
4015 R_ARM_TLS_TPOFF32, R_ARM_TLS_GD32, R_ARM_TLS_LDM32,
4016 R_ARM_TLS_LDO32, R_ARM_TLS_IE32, R_ARM_TLS_LE32): New macros.
4018 2005-10-03 Roland McGrath <roland@redhat.com>
4020 * sysdeps/powerpc/nofpu: Directory removed, saved in ports repository.
4022 2005-09-30 Ulrich Drepper <drepper@redhat.com>
4024 * posix/regex.h: Pretty printing.
4025 Clean up namespace a bit.
4027 2005-09-30 Jakub Jelinek <jakub@redhat.com>
4029 * posix/regexec.c (update_cur_sifted_state, check_arrival,
4030 check_arrival_add_next_nodes): Avoid using uninitialized variable.
4032 * malloc/memusage.c (dest): Fix a bunch of warnings on 32-bit arches.
4034 * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 4.0.x.
4036 2005-09-29 Ulrich Drepper <drepper@redhat.com>
4038 * iconvdata/Makefile (modules): Add IBM803, IBM901, IBM902, IBM921,
4039 IBM1008, IBM1008_420, IBM1097, IBM1112, IBM1123, IBM1130, IBM1140,
4040 IBM1141, IBM1142, IBM1143, IBM1144, IBM1145, IBM1146, IBM1147, IBM1148,
4041 IBM1149, IBM1166, IBM1167, IBM4517, IBM4899, IBM4909, IBM4971,
4042 IBM5347, IBM9030, IBM9066, IBM9448, IBM12712, IBM16804.
4043 (distribute): Add ibm803.c, ibm803.h, ibm901.c, ibm901.h, ibm902.c,
4044 ibm902.h, ibm921.c, ibm921.h, ibm1008.c, ibm1008.h, ibm1008_420.c,
4045 ibm1097.c, ibm1097.h, ibm1112.c, ibm1112.h, ibm1123.c, ibm1123.h,
4046 ibm1130.c, ibm1130.h, ibm1140.c, ibm1140.h, ibm1141.c, ibm1141.h,
4047 ibm1142.c, ibm1142.h, ibm1143.c, ibm1143.h, ibm1144.c, ibm1144.h,
4048 ibm1145.c, ibm1145.h, ibm1146.c, ibm1146.h, ibm1147.c, ibm1147.h,
4049 ibm1148.c, ibm1148.h, ibm1149.c, ibm1149.h, ibm1166.c, ibm1166.h,
4050 ibm1167.c, ibm1167.h, ibm4517.c, ibm4517.h, ibm4899.c, ibm4899.h,
4051 ibm4909.c, ibm4909.h, ibm4971.c, ibm4971.h, ibm5347.c, ibm5347.h,
4052 ibm9030.c, ibm9030.h, ibm9066.c, ibm9066.h, ibm9448.c, ibm9448.h,
4053 ibm12712.c, ibm12712.h, ibm16804.c, ibm16804.h.
4054 * iconvdata/TESTS: Add entries for new modules.
4055 * iconvdata/gconv-modules: Likewise.
4056 * iconvdata/ibm803.c: New file.
4057 * iconvdata/ibm803.h: New file.
4058 * iconvdata/ibm901.c: New file.
4059 * iconvdata/ibm901.h: New file.
4060 * iconvdata/ibm902.c: New file.
4061 * iconvdata/ibm902.h: New file.
4062 * iconvdata/ibm921.c: New file.
4063 * iconvdata/ibm921.h: New file.
4064 * iconvdata/ibm1008.c: New file.
4065 * iconvdata/ibm1008.h: New file.
4066 * iconvdata/ibm1008_420.c: New file.
4067 * iconvdata/ibm1097.c: New file.
4068 * iconvdata/ibm1097.h: New file.
4069 * iconvdata/ibm1112.c: New file.
4070 * iconvdata/ibm1112.h: New file.
4071 * iconvdata/ibm1123.c: New file.
4072 * iconvdata/ibm1123.h: New file.
4073 * iconvdata/ibm1130.c: New file.
4074 * iconvdata/ibm1130.h: New file.
4075 * iconvdata/ibm1140.c: New file.
4076 * iconvdata/ibm1140.h: New file.
4077 * iconvdata/ibm1141.c: New file.
4078 * iconvdata/ibm1141.h: New file.
4079 * iconvdata/ibm1142.c: New file.
4080 * iconvdata/ibm1142.h: New file.
4081 * iconvdata/ibm1143.c: New file.
4082 * iconvdata/ibm1143.h: New file.
4083 * iconvdata/ibm1144.c: New file.
4084 * iconvdata/ibm1144.h: New file.
4085 * iconvdata/ibm1145.c: New file.
4086 * iconvdata/ibm1145.h: New file.
4087 * iconvdata/ibm1146.c: New file.
4088 * iconvdata/ibm1146.h: New file.
4089 * iconvdata/ibm1147.c: New file.
4090 * iconvdata/ibm1147.h: New file.
4091 * iconvdata/ibm1148.c: New file.
4092 * iconvdata/ibm1148.h: New file.
4093 * iconvdata/ibm1149.c: New file.
4094 * iconvdata/ibm1149.h: New file.
4095 * iconvdata/ibm1166.c: New file.
4096 * iconvdata/ibm1166.h: New file.
4097 * iconvdata/ibm1167.c: New file.
4098 * iconvdata/ibm1167.h: New file.
4099 * iconvdata/ibm4517.c: New file.
4100 * iconvdata/ibm4517.h: New file.
4101 * iconvdata/ibm4899.c: New file.
4102 * iconvdata/ibm4899.h: New file.
4103 * iconvdata/ibm4909.c: New file.
4104 * iconvdata/ibm4909.h: New file.
4105 * iconvdata/ibm4971.c: New file.
4106 * iconvdata/ibm4971.h: New file.
4107 * iconvdata/ibm5347.c: New file.
4108 * iconvdata/ibm5347.h: New file.
4109 * iconvdata/ibm9030.c: New file.
4110 * iconvdata/ibm9030.h: New file.
4111 * iconvdata/ibm9066.c: New file.
4112 * iconvdata/ibm9066.h: New file.
4113 * iconvdata/ibm9448.c: New file.
4114 * iconvdata/ibm9448.h: New file.
4115 * iconvdata/ibm12712.c: New file.
4116 * iconvdata/ibm12712.h: New file.
4117 * iconvdata/ibm16804.c: New file.
4118 * iconvdata/ibm16804.h: New file.
4119 * iconvdata/testdata/IBM803: New file.
4120 * iconvdata/testdata/IBM803..UTF8: New file.
4121 * iconvdata/testdata/IBM901: New file.
4122 * iconvdata/testdata/IBM901..UTF8: New file.
4123 * iconvdata/testdata/IBM902: New file.
4124 * iconvdata/testdata/IBM902..UTF8: New file.
4125 * iconvdata/testdata/IBM921: New file.
4126 * iconvdata/testdata/IBM921..UTF8: New file.
4127 * iconvdata/testdata/IBM1008: New file.
4128 * iconvdata/testdata/IBM1008..UTF8: New file.
4129 * iconvdata/testdata/IBM1097: New file.
4130 * iconvdata/testdata/IBM1097..UTF8: New file.
4131 * iconvdata/testdata/IBM1112: New file.
4132 * iconvdata/testdata/IBM1112..UTF8: New file.
4133 * iconvdata/testdata/IBM1123: New file.
4134 * iconvdata/testdata/IBM1123..UTF8: New file.
4135 * iconvdata/testdata/IBM1130: New file.
4136 * iconvdata/testdata/IBM1130..UTF8: New file.
4137 * iconvdata/testdata/IBM1140: New file.
4138 * iconvdata/testdata/IBM1140..UTF8: New file.
4139 * iconvdata/testdata/IBM1141: New file.
4140 * iconvdata/testdata/IBM1141..UTF8: New file.
4141 * iconvdata/testdata/IBM1142: New file.
4142 * iconvdata/testdata/IBM1142..UTF8: New file.
4143 * iconvdata/testdata/IBM1143: New file.
4144 * iconvdata/testdata/IBM1143..UTF8: New file.
4145 * iconvdata/testdata/IBM1144: New file.
4146 * iconvdata/testdata/IBM1144..UTF8: New file.
4147 * iconvdata/testdata/IBM1145: New file.
4148 * iconvdata/testdata/IBM1145..UTF8: New file.
4149 * iconvdata/testdata/IBM1146: New file.
4150 * iconvdata/testdata/IBM1146..UTF8: New file.
4151 * iconvdata/testdata/IBM1147: New file.
4152 * iconvdata/testdata/IBM1147..UTF8: New file.
4153 * iconvdata/testdata/IBM1148: New file.
4154 * iconvdata/testdata/IBM1148..UTF8: New file.
4155 * iconvdata/testdata/IBM1149: New file.
4156 * iconvdata/testdata/IBM1149..UTF8: New file.
4157 * iconvdata/testdata/IBM1166: New file.
4158 * iconvdata/testdata/IBM1166..UTF8: New file.
4159 * iconvdata/testdata/IBM1167: New file.
4160 * iconvdata/testdata/IBM1167..UTF8: New file.
4161 * iconvdata/testdata/IBM4517: New file.
4162 * iconvdata/testdata/IBM4517..UTF8: New file.
4163 * iconvdata/testdata/IBM4899: New file.
4164 * iconvdata/testdata/IBM4899..UTF8: New file.
4165 * iconvdata/testdata/IBM4909: New file.
4166 * iconvdata/testdata/IBM4909..UTF8: New file.
4167 * iconvdata/testdata/IBM4971: New file.
4168 * iconvdata/testdata/IBM4971..UTF8: New file.
4169 * iconvdata/testdata/IBM5347: New file.
4170 * iconvdata/testdata/IBM5347..UTF8: New file.
4171 * iconvdata/testdata/IBM9030: New file.
4172 * iconvdata/testdata/IBM9030..UTF8: New file.
4173 * iconvdata/testdata/IBM9066: New file.
4174 * iconvdata/testdata/IBM9066..UTF8: New file.
4175 * iconvdata/testdata/IBM9448: New file.
4176 * iconvdata/testdata/IBM9448..UTF8: New file.
4177 * iconvdata/testdata/IBM12712: New file.
4178 * iconvdata/testdata/IBM12712..UTF8: New file.
4179 * iconvdata/testdata/IBM16804: New file.
4180 * iconvdata/testdata/IBM16804..UTF8: New file.
4181 Patch by Masahide WASHIZAWA <washi@jp.ibm.com>.
4183 * iconvdata/run-iconv-test.sh: Run ASCII->encoding->ASCII suntzus
4184 test only if $subset is N.
4186 2005-09-29 Roland McGrath <roland@redhat.com>
4189 * posix/sys/wait.h [!__GNUC__ || __cplusplus] (__WAIT_INT): Use const.
4191 2005-09-29 Alfred M. Szmidt <ams@gnu.org>
4193 * elf/rtld.c [DL_ARGV_NOT_RELRO] (_dl_argc, _dl_skip_args):
4194 Don't use attribute_relro.
4196 2005-09-29 Roland McGrath <roland@redhat.com>
4199 * posix/sys/wait.h (__WAIT_INT): Rewrite using an initializer,
4200 in case __typeof yields a const-qualified type.
4202 2005-09-28 Ulrich Drepper <drepper@redhat.com>
4204 * dirent/dirent.h: Declare fdopendir.
4205 * dirent/Versions: Export fdopendir for GLIBC_2.4.
4206 * dirent/Makefile (routines): Add fdopendir.
4207 (tests): Add tst-fdopendir.
4208 * dirent/tst-fdopendir.c: New file.
4209 * include/dirent.h: Declare __alloc_dir.
4210 * sysdeps/generic/fdopendir.c: New file.
4211 * sysdeps/unix/fdopendir.c: New file.
4212 * sysdeps/unix/opendir.c: Split off back part of opendir into new
4213 function __alloc_dir.
4215 2005-09-26 Steven Munroe <sjmunroe@us.ibm.com>
4218 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected y1, y1f, yn,
4221 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
4222 Ulrich Drepper <drepper@redhat.com>
4225 Change bitset word type from unsigned int to unsigned long int,
4226 as this has better performance on typical 64-bit hosts. Change
4227 bitset type name to bitset_t.
4228 * posix/regcomp.c (build_equiv_class, build_charclass):
4229 (build_range_exp, build_collating_symbol):
4230 Prefer bitset_t to re_bitset_ptr_t in prototypes, when the actual
4231 argument is a bitset. This is merely a style issue, but it makes
4232 it clearer that an entire array is expected.
4233 (re_compile_fastmap_iter, init_dfa, init_word_char, optimize_subexps,
4234 lower_subexp): Adjust for new bitset_t definition.
4235 (lower_subexp, parse_bracket_exp, built_charclass_op): Likewise.
4236 * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain,
4237 bitset_not, bitset_merge, bitset_set_all, bitset_mask): Likewise.
4238 * posix/regexec.c (check_dst_limits_calc_pos_1,
4239 check_subexp_matching_top, build_trtable, group_nodes_into_DFAstates):
4241 * posix/regcomp.c (utf8_sb_map): Don't assume initializer
4243 * posix/regex_internal.h (BITSET_WORD_BITS): Renamed from UINT_BITS.
4245 (BITSET_WORDS): Renamed from BITSET_UINTS. All uses changed.
4246 (bitset_word_t): New type, replacing 'unsigned int' for bitset uses.
4248 (BITSET_WORD_MAX): New macro.
4249 (bitset_set, bitset_clear, bitset_contain, bitset_empty,
4250 (bitset_set_all, bitset_copy): Adjust for bitset_t change.
4251 (bitset_empty, bitset_copy):
4252 Prefer sizeof (bitset_t) to multiplying it out ourselves.
4253 (bitset_not_merge): Remove; unused.
4254 (bitset_contain): Return bool, not unsigned int with one bit on.
4255 All callers changed.
4256 * posix/regexec.c (build_trtable): Don't assume bitset_t has no
4257 stricter alignment than re_node_set; do this by defining a new
4258 internal type struct dests_alloc and using it to allocate memory.
4260 2005-09-27 Ulrich Drepper <drepper@redhat.com>
4263 * stdlib/strtod_l.c (STRNCASECMP): Always use C locale object.
4264 (TOLOWER_C): Define. Use it when recognizing inf and nan.
4265 * stdlib/Makefile (tests): Add bug-strtod2.
4266 * stdlib/bug-strtod2.c: New file.
4268 2005-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4271 * argp/argp-fmtstream.h [HAVE_CONFIG_H]: Do not #include <config.h>.
4272 * argp/argp-eexst.c, argp/argp-fmtstream.c, argp/argp-fs-xinl.c,
4273 argp/argp-xinl.c: Fix up whitespace.
4275 2005-09-27 Ulrich Drepper <drepper@redhat.com>
4278 * stdlib/cxa_atexit.c (__new_exitfn): Rewrite to preserve order in
4279 which the functions were registered.
4280 * dlfcn/Makefile: Add rules to build and run bug-atexit1 and
4282 * dlfcn/bug-atexit1.c: New file.
4283 * dlfcn/bug-atexit1-lib.c: New file.
4284 * dlfcn/bug-atexit2.c: New file.
4285 * dlfcn/bug-atexit2-lib.c: New file.
4288 * libio/fileops.c (_IO_new_file_xsputn): Determine amount of
4289 available space in non-line-buffered buffer correctly.
4290 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4291 * stdio-common/Makefile (tests): Add tst-fwrite.
4292 * stdio-common/tst-fwrite.c: New file.
4294 2005-09-26 Ulrich Drepper <drepper@redhat.com>
4297 * malloc/arena.c (ptmalloc_lock_all): If global lock already taken
4298 by the same thread, just bump the counter.
4299 (ptmalloc_unlock_all): If counter for recursive locks hasn't reached
4300 zero, don't do anything else.
4301 * malloc/Makefile (tests): Add tst-mallocfork.
4302 * malloc/tst-mallocfork.c: New file.
4305 * malloc/malloc.c (_int_realloc): Make error message clearer.
4308 * libio/iofgets.c: Treat N==1 correctly.
4309 * libio/iofgets_u.c: Likewise.
4310 * libio/iofgetws.c: Likewise.
4311 * libio/iofgetws_u.c: Likewise.
4312 * stdio-common/Makefile (tests): Add tst-fgets.
4313 * stdio-common/tst-fgets.c: New file.
4315 2005-01-11 Thorsten Kukuk <kukuk@suse.de>
4318 * posix/getconf.c: Add new option -a to print the names of
4319 the current system configuration variables to stdout.
4320 Based on patch from Josh Aas <josha@sgi.com>.
4322 2005-09-26 Ulrich Drepper <drepper@redhat.com>
4325 * sysdeps/posix/getaddrinfo.c (fls): New function.
4326 (gaih_inet): Don't use ffs, use fls. Convert address to native byte
4328 * posix/Makefile (tests): Add tst-rfc3484.
4329 * posix/tst-rfc3484.c: New file.
4332 * libio/iofclose.c (_IO_new_fclose): Unlock the internal lock
4333 before destroying it as part of the _IO_FINISH call.
4334 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4337 * sysdeps/posix/getaddrinfo.c (match_prefix): Fix matching loop if
4338 number of bits is multiple of 8.
4339 Patch by Fredrik Tolf <fredrik@dolda2000.com>.
4342 * elf/dl-load.c: Report failed loading due to ELF class mismatch
4346 * manual/llio.texi (Waiting for I/O): Correct description of read
4347 conditions reported by select.
4349 2005-09-24 Jakub Jelinek <jakub@redhat.com>
4351 * inet/getnetgrent_r.c (innetgr): Call endfct even if result != 0.
4352 Return 1 only if result == 1. Patch by Benoit Capelle.
4354 2005-09-25 Ulrich Drepper <drepper@redhat.com>
4357 * manual/stdio.texi (Hook Functions): Correct type of position
4358 parameter of seeker and fix fallout of the change in the text.
4361 * iconv/loop.c [!STORE_REST] (SINGLE): Correctly record number of
4362 left-over bytes and store them correctly.
4363 * wcsmbs/tst-mbrtowc2.c: New file.
4364 * wcsmbs/Makefile (tests): Add tst-mbrtowc2.
4366 2005-09-24 Roland McGrath <roland@redhat.com>
4368 * sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository.
4369 * sysdeps/unix/sysv/i386/sigreturn.S: Likewise.
4371 2005-09-24 Ulrich Drepper <drepper@redhat.com>
4374 * locale/iso-639.def: More updates from the current spec.
4376 * locale/programs/ld-address.c (address_finish): Produce better
4377 error messages for invalid lang_ab use.
4379 * locale/iso-639.def: Add a few updates from current spec.
4381 2005-09-23 Ulrich Drepper <drepper@redhat.com>
4384 * locale/iso-4217.def: Replace MGF with MGA.
4386 * iconvdata/jis0208.c (__jisx0208_from_ucs4_lat1): Reduce size of
4388 * iconvdata/jis0208.h (ucs4_to_jisx0208): Adjust access.
4390 2004-08-13 GOTO Masanori <gotom@debian.or.jp>
4393 * iconvdata/jis0208.c: Remove 0x005C mapping from
4394 __jisx0208_from_ucs4_lat1.
4395 Reported by Fumitoshi UKAI <ukai@debian.or.jp>
4397 2005-09-23 Ulrich Drepper <drepper@redhat.com>
4400 * libio/fmemopen.c (fmemopen_write): Return 0 instead of -1 if
4401 nothing can be written.
4402 * libio/iofopncook.c (_IO_cookie_write): If something went wrong,
4405 2005-09-22 Ulrich Drepper <drepper@redhat.com>
4408 * posix/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *.
4409 * posix/regcomp.c: Remove unnecessary uses of
4410 unsigned RE_TRANSLATE_TYPE.
4411 * posix/regex_internal.h: Likewise.
4412 * posix/regex_internal.c: Likewise.
4413 * posix/regexexec.c: Likewise.
4414 Based on a patch by Stepan Kasal <kasal@ucw.cz>.
4417 * locale/iso-4217.def: Replace TRL entry with TRY for new Turkish Lira.
4420 * nscd/nscd_getpw_r.c (nscd_getpw_r): Remove incorrectly C&Ped
4421 free call in code handling detection of GC runs.
4423 2005-09-22 Roland McGrath <roland@redhat.com>
4425 * elf/dl-tsd.c (__libc_dl_error_tsd): Use attribute_tls_model_ie for
4426 static __thread variable.
4427 From Alexandre Oliva <aoliva@redhat.com>
4429 * Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.
4430 Reported by Alexandre Oliva <aoliva@redhat.com>.
4432 2005-09-20 Jakub Jelinek <jakub@redhat.com>
4434 * nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen.
4436 2005-09-20 Roland McGrath <roland@redhat.com>
4438 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use execv, not execl.
4441 * elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro
4442 magic on __stack_prot only if [SHARED]. Skip mprotect if __stack_prot
4443 lies outside the page-rounded-down relro region.
4445 2005-09-19 Richard Henderson <rth@redhat.com>
4448 * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s)
4449 to a temporary first.
4450 (inline_syscall2, inline_syscall3, inline_syscall4): Likewise.
4451 (inline_syscall5, inline_syscall6): Likewise.
4453 * sysdeps/alpha/ldiv.S (lldiv): Add alias.
4455 2005-09-17 Ulrich Drepper <drepper@redhat.com>
4458 * sysdeps/unix/sockatmark.c (sockatmark): Use SIOCATMARK correctly.
4461 * debug/xtrace.sh: Add missing escape character in -? match.
4462 Patch by Peter Breitenlohner <peb@mppmu.mpg.de>.
4465 * wctype/wctype.h: Remove stray __END_NAMESPACE_C99.
4466 * stdlib/stdlib.h: Use __END_NAMESPACE_STD instead of
4467 __END_NAMESPACE_C99 in one place.
4468 * scripts/begin-end-check.pl: New file.
4469 Patch by Ralph Loader <suckfish@ihug.co.nz>.
4470 * Makefile: Add rules to run scripts/begin-end-check.pl.
4472 2005-09-17 Andreas Jaeger <aj@suse.de>
4474 * timezone/zdump.c: Include ctype.h.
4476 2005-09-16 Andreas Jaeger <aj@suse.de>
4479 * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
4481 2005-09-16 Maciej W. Rozycki <macro@linux-mips.org>
4484 * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of
4485 the syscall immediately before invocation.
4486 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise.
4487 * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.
4489 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
4490 macros to handle GP.
4491 * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall):
4492 Likewise. Update inaccurate comments.
4494 2005-09-13 Ulrich Drepper <drepper@redhat.com>
4496 * sysdeps/posix/spawni.c (__spawni): Automatically recognize some
4497 more cases when we can use vfork.
4499 2005-08-29 Thomas Schwinge <schwinge@nic-nac-project.de>
4502 * manual/memory.texi (Hooks for Malloc): Correct prototype of
4503 my_init_hook and definition of my_free_hook.
4505 2005-09-12 Roland McGrath <roland@redhat.com>
4508 * malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed
4510 Reported by Matej Vela <vela@debian.org>.
4512 2005-09-12 Jakub Jelinek <jakub@redhat.com>
4514 * malloc/malloc.c (struct malloc_chunk): Fix comment typo.
4515 (public_cALLOc): For mmapped chunks and perturb_byte != 0,
4516 don't clear SIZE_SZ bytes more than should be cleared.
4518 2005-09-09 Jakub Jelinek <jakub@redhat.com>
4520 * inet/getnetgrent_r.c: Include assert.
4521 (setup): Remove FUNC_NAME and ALL arguments, assume they are always
4522 "setnetgrent" and 1.
4523 (endnetgrent_hook): New function.
4524 (internal_endnetgrent): Use it.
4525 (__internal_setnetgrent_reuse): Use it. Adjust setup caller.
4526 If status is NSS_STATUS_SUCCESS, yet action is continue, call
4528 (internal_getnetgrent_r): Use __nss_lookup_function rather than
4529 setup. Recompute getfct pointer after successful
4530 __internal_setnetgrent_reuse. Don't use __nss_next.
4531 (innetgr): Use __nss_lookup_function instead of __nss_lookup.
4532 Adjust setup caller.
4533 * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Always clear
4534 data_size and cursor. Add libnss_files_hidden_proto and
4535 libnss_files_hidden_def.
4536 (_nss_files_setnetgrent): Call _nss_files_endnetgrent on failure.
4537 * nis/nss_nis/nis-netgrp.c (internal_endnetgrent): Always clear
4538 data_size and cursor.
4539 (_nss_nis_setnetgrent): Don't call internal_endnetgrent.
4540 (_nss_nis_getnetgrent_r): Remove result->cursor == NULL handling.
4541 * nis/nss_nisplus/nisplus-netgrp.c (internal_endnetgrent): Always clear
4542 data_size and position.
4543 (_nss_nisplus_setnetgrent): Don't call internal_endnetgrent.
4545 2005-09-09 Ulrich Drepper <drepper@redhat.com>
4547 * nss/getent.c (netgroup_keys): Call endnetgrent.
4548 (main): Call mtrace.
4550 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): We don't
4551 need locking for the stream. Use feof_unlocked.
4553 2005-09-09 Jakub Jelinek <jakub@redhat.com>
4556 * locale/loadarchive.c (_nl_load_locale_from_archive): Free
4557 normalized_codeset even if p was already normalized.
4558 Reported by Jaroslav Snajdr <jsnajdr@kerio.com>.
4560 2005-09-08 Roland McGrath <roland@redhat.com>
4562 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS
4563 properly, first byte is bit number in mask. Skip disabled caps.
4565 2005-07-11 Derek R. Price <derek@ximbiot.com>
4568 * sysdeps/generic/glob.c (glob): Only a 0 return from
4569 getlogin_r means success, according to POSIX 1003.2.
4571 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
4574 * time/mktime.c: Import from gnulib.
4575 The following macros are now consistent with other gnulib code.
4576 This does not change mktime's behavior.
4577 (TYPE_IS_INTEGER): New macro.
4578 (time_t_is_integer): Use it.
4579 (TYPE_TWOS_COMPLEMENT): New macro.
4580 (twos_complement_arithmetic): Use it.
4581 (TYPE_ONES_COMPLEMENT): New macro.
4582 (TYPE_MINIMUM, TYPE_MAXIMUM): Now supports signed-magnitude.
4583 mktime doesn't use this, but the code now matches other gnulib code.
4584 (ranged_convert): Pacify GCC 4.0 in a different way, which
4585 generates a few bytes less code.
4586 (ranged_convert, __mktime_internal): When calling a function via a
4587 pointer P, use P () rather than (*P) (), as we now assume C89 or
4590 2005-09-07 Alexandre Oliva <aoliva@redhat.com>
4592 * timezone/test-tz.c: Update to match tzdata2005m.
4593 * timezone/tst-timezone.c: Likewise.
4595 2005-09-07 Ulrich Drepper <drepper@redhat.com>
4597 * posix/regexec.c (find_recover_state): Remove unnecessary
4599 (transit_state_bkref): Make DFA a const pointer.
4600 (get_subexp): Likewise.
4601 (check_arrival): Likewise.
4602 (update_cur_sifted_state): Likewise.
4603 (re_search_internal): Likewise.
4604 (prune_impossible_nodes): Likewise.
4605 (acquire_init_state_context): Likewise.
4606 (proceed_next_node): Likewise.
4607 (set_regs): Likewise.
4608 (free_fail_stack_return): Likewise.
4609 (check_arrival_expand_ecl): Mark DFA parameter as const.
4610 (check_arrival_expand_ecl_sub): Likewise.
4611 (check_subexp_limits): Likewise.
4612 (sub_epsilon_src_nodes): Likewise.
4613 (add_epsilon_src_nodes): Likewise.
4614 (merge_state_array): Likewise.
4615 (update_regs): Likewise.
4616 (build_trtable): Likewise.
4617 (sift_states_backward): Mark MCTX parameter as const.
4618 (build_sifted_states): Likewise.
4619 (update_cur_sifted_state): Likewise.
4620 (sift_states_mkref): Likewise.
4621 (check_arrival_expand_ecl): Mark eclosure as const.
4622 (check_dst_limits_calc_pos_1): Likewise.
4623 * posix/regex_internal.h (re_match_context_t): Make dfa a const
4626 2005-09-06 Ulrich Drepper <drepper@redhat.com>
4628 * timezone/africa: Update from tzdata2005m.
4629 * timezone/asia: Likewise.
4630 * timezone/australasia: Likewise.
4631 * timezone/backward: Likewise.
4632 * timezone/europe: Likewise.
4633 * timezone/northamerica: Likewise.
4634 * timezone/southamerica: Likewise.
4635 * timezone/zone.tab: Likewise.
4636 * timezone/zdump.c: Update from tzcode2005m.
4638 * posix/regexec.c (merge_state_with_log): Define dfa as const pointer.
4639 (transit_state_sb): Likewise.
4640 (transit_state_mb): Likewise.
4641 (sift_states_iter_mb): Likewise.
4642 (check_arrival_add_next_nodes): Likewise.
4643 (check_node_accept_bytes): Change first parameter to pointer-to-const.
4644 [_LIBC] (re_search_2_stub): Use mempcpy.
4646 * posix/regex_internal.c (re_string_reconstruct): Avoid calling
4647 mbrtowc for very simple UTF-8 case.
4649 2005-09-01 Paul Eggert <eggert@cs.ucla.edu>
4651 * posix/regex_internal.c (build_wcs_upper_buffer): Fix portability
4652 bugs in int versus size_t comparisons.
4654 2005-09-06 Ulrich Drepper <drepper@redhat.com>
4656 * posix/regex_internal.c (re_acquire_state): Make DFA pointer arg
4658 (re_acquire_state_context): Likewise.
4659 * posix/regex_internal.h: Adjust prototypes.
4661 2005-08-31 Jim Meyering <jim@meyering.net>
4663 * posix/regcomp.c (search_duplicated_node): Make first pointer arg
4665 * posix/regex_internal.c (create_ci_newstate, create_cd_newstate,
4666 register_state): Likewise.
4667 * posix/regexec.c (search_cur_bkref_entry, check_dst_limits):
4668 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos):
4669 (group_nodes_into_DFAstates): Likewise.
4671 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
4673 * posix/regexec.c (re_search_internal): Simplify update of
4674 rm_so and rm_eo by replacing "if (A == B) A += C - B;"
4675 with the equivalent of "if (A == B) A = C;".
4677 2005-09-06 Ulrich Drepper <drepper@redhat.com>
4679 * posix/regcomp.c (re_compile_internal): Change third parameter type
4681 (init_dfa): Likewise. Make sure that arithmetic on pat_len doesn't
4683 * posix/regex_internal.h (struct re_dfa_t): Change type of nodes_alloc
4684 and nodes_len to size_t.
4685 * posix/regex_internal.c (re_dfa_add_node): Use size_t as type for
4686 new_nodes_alloc. Check for overflow.
4688 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
4690 * posix/regcomp.c (re_compile_fastmap_iter, init_dfa, init_word_char):
4691 (optimize_subexps, lower_subexp):
4692 Don't assume 1<<31 has defined behavior on hosts with 32-bit int,
4693 since the signed shift might overflow. Use 1u<<31 instead.
4694 * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain):
4696 * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise.
4697 (check_subexp_matching_top): Likewise.
4698 * posix/regcomp.c (optimize_subexps, lower_subexp):
4699 Use CHAR_BIT rather than 8, for clarity.
4700 * posix/regexec.c (check_dst_limits_calc_pos_1):
4701 (check_subexp_matching_top): Likewise.
4702 * posix/regcomp.c (init_dfa): Make table_size unsigned, so that we
4703 don't have to worry about portability issues when shifting it left.
4704 Remove no-longer-needed test for table_size > 0.
4705 * posix/regcomp.c (parse_sub_exp): Do not shift more bits than there
4706 are in a word, as the resulting behavior is undefined.
4707 * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise;
4708 in one case, a <= should have been an <, and in another case the
4709 whole test was missing.
4710 * posix/regex_internal.h (BYTE_BITS): Remove. All uses changed to
4711 the standard name CHAR_BIT.
4713 * posix/regex_internal.h (re_sub_match_top_t): Remove unused member
4715 (struct re_dfa_t): Remove unused member states_alloc.
4716 * posix/regcomp.c (init_dfa): Don't initialize unused members.
4718 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
4720 * posix/regexec.c (set_regs): Don't alloca with an unbounded size.
4722 alloca modernization/simplification for regex.
4723 * posix/regex.c: Remove portability cruft for alloca. This no longer
4724 needs to be at the start of the file, and can be moved into
4725 regex_internal.h and simplified.
4726 * posix/regex_internal.h: Include <alloca.h>.
4727 (__libc_use_alloca) [!defined _LIBC]: New macro.
4728 * posix/regexec.c (build_trtable): Remove "#ifdef _LIBC",
4729 since the code now works outside glibc.
4731 2005-09-06 Ulrich Drepper <drepper@redhat.com>
4733 * include/regex.h: Remove use of _RE_ARGS.
4735 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
4737 * posix/regexec.c (find_recover_state): Change "err" to "*err".
4739 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
4741 * posix/regcomp.c (regerror): Pointer args are 'restrict',
4743 * posix/regex.h (regerror): Likewise.
4744 * manual/pattern.texi (POSIX Regexp Compilation): Likewise.
4745 Similarly for regcomp and regexec. Also, first 2 args of regexec
4746 and 2nd arg of regerror are const.
4748 * posix/regex.c: Do not include <sys/types.h>, as POSIX no longer
4749 requires this. (The code never needed it.)
4751 2005-08-20 Paul Eggert <eggert@cs.ucla.edu>
4753 * posix/regexec.c (sift_states_bkref): re_node_set_insert returns
4754 int, not reg_errcode_t.
4756 * posix/regex_internal.c (calc_state_hash): Put 'inline' before type,
4757 since some broken compilers warn about it otherwise.
4759 * posix/regcomp.c (create_initial_state): Remove duplicate decl.
4761 2005-08-20 Paul Eggert <eggert@cs.ucla.edu>
4763 * posix/regex.h (_RE_ARGS): Remove. No longer needed, since we assume
4764 C89 or better. All uses removed.
4766 2005-09-06 Ulrich Drepper <drepper@redhat.com>
4768 * posix/regex.c: Prevent using C++ compilers.
4770 2005-08-19 Paul Eggert <eggert@cs.ucla.edu>
4772 * posix/regcomp.c (duplicate_node): Return new index, not an error
4773 code, and let the caller return REG_ESPACE if out of space. This
4774 removes an uninitialied-variable warning with GCC 4.0.1, and also
4775 avoids taking the address of a local variable. All callers
4778 2005-09-06 Ulrich Drepper <drepper@redhat.com>
4780 * include/time.h (__strptime_internal): Rename parameter to avoid
4781 bogus compiler warning.
4783 2005-08-19 Jim Meyering <jim@meyering.net>
4785 * posix/regexec.c (proceed_next_node): Redo local variables to
4786 avoid GCC shadowing warnings.
4788 2005-09-06 Ulrich Drepper <drepper@redhat.com>
4790 * posix/regex_internal.c (re_acquire_state): Minor code rearrangement.
4791 (re_acquire_state_context): Likewise.
4793 2005-08-19 Paul Eggert <eggert@cs.ucla.edu>
4795 * posix/regex_internal.c (re_string_realloc_buffers):
4796 (re_node_set_insert, re_node_set_insert_last, re_dfa_add_node):
4797 Rename local variables to avoid GCC shadowing warnings.
4799 2005-07-08 Eric Blake <ebb9@byu.net>
4800 Paul Eggert <eggert@cs.ucla.edu>
4802 * posix/regcomp.c (init_dfa): Store __btowc value in wint_t, not
4803 wchar_t. Remove now-unnecessary cast.
4804 (build_range_exp): Likewise.
4806 2005-08-31 Bob Wilson <bob.wilson@acm.org>
4808 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Remove the
4809 exponent bias from the increment value for scaling by 2^60.
4811 2005-09-05 Alexandre Oliva <aoliva@redhat.com>
4813 * configure.in: Compile source test file with -fPIC for -shared.
4815 2005-09-04 Ulrich Drepper <drepper@redhat.com>
4817 * iconv/skeleton.c: Eliminate DEFINE_DIRECTION_OBJECTS macro use,
4818 it wasn't used. Remove use of from_object and to_object variable,
4819 replace with some constants. Adjust users.
4821 * sysdeps/i386/bits/string.h: Removed.
4823 * stdio-common/Makefile (tests): Add tst-put-error.
4824 * stdio-common/tst-put-error.c: New file.
4825 * libio/fileops.c (_IO_new_file_xsputn): If overflow fails and no more
4826 data would have to be written signal error.
4827 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4829 * libio/fileops.c (_IO_new_file_overflow): Use NULL not 0.
4831 2005-09-02 Ulrich Drepper <drepper@redhat.com>
4833 * elf/dl-load.c (_dl_map_object_from_fd): No need to change
4834 protection of memory used for the last segment.
4836 2005-08-22 Robert Millan <robertmh@gnu.org>
4838 * sysdeps/mach/hurd/nfs/nfs.h: Move to ...
4839 * sysdeps/generic/nfs/nfs.h: ... here.
4841 2005-09-01 Ulrich Drepper <drepper@redhat.com>
4843 * libio/stdio.h: Remove __wur from ungetc, sscanf, and vsscanf.
4844 Add __wur to feof{,_unlocked}, ferror{,_unlocked},
4845 fileno{,_unlocked}, and popen.
4847 2005-08-30 Ulrich Drepper <drepper@redhat.com>
4849 * sysdeps/ieee754/flt-32/e_hypotf.c [!__STDC__]: Fix function name.
4851 2005-08-01 Bob Wilson <bob.wilson@acm.org>
4852 Richard Sandiford <richard@codesourcery.com>
4854 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Add missing
4855 exponent bias to the value for 2^126.
4857 2005-08-30 Jakub Jelinek <jakub@redhat.com>
4858 Alan Modra <amodra@bigpond.net.au>
4860 * elf/dl-addr.c (_dl_addr): Use DL_ADDR_SYM_MATCH macro.
4861 * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): Define.
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h: New file.
4864 2005-08-23 Ulrich Drepper <drepper@redhat.com>
4866 * nscd/nscd.c (main): Use error while process isn't running in the
4867 background, not dbg_log.
4868 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
4869 Mark messages with _(). Unify testing for database name.
4871 * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h.
4872 (dbs): Initialize max_db_size fields.
4873 (nscd_init): When mapping the database, use max_db_size as the
4874 mapping size even if it is bigger than the file size.
4875 * nscd/mem.c (mempool_alloc): When resizing the file make sure the
4876 limit in max_db_size is not exceeded. Don't use mremap, just
4877 posix_fallocate is enough (according to Linus). Use posix_fallocate
4879 * nscd/nscd.conf: Add max-db-size parameters.
4880 * nscd/nscd.h (struct database_dyn): Add max_db_size field.
4881 Define DEFAULT_MAX_DB_SIZE and DEFAULT_DATASIZE_PER_BUCKET.
4882 Temporarily define TEMP_FAILURE_RETRY_VAL here.
4883 * nscd/nscd_conf.c (nscd_parse_file): Parse max-db-size parameter
4884 and add sanity checks for it.
4886 * nscd/aicache.c (addhstaiX): Use send with MSG_NOSIGNAL not write to
4888 * nscd/connection.c (writeall): Likewise.
4889 (handle_request): Likewise.
4890 * nscd/grpcache.c (cache_addgr): Likewise.
4891 * nscd/hstcache.c (cache_addhst): Likewise.
4892 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4893 * nscd/nscd.c (parse_opt): Likewise.
4894 * nscd/nscd_stat.c (send_stats): Likewise.
4895 (receive_print_stats): Likewise.
4896 * nscd/pwdcache.c (cache_addpw): Likewise.
4898 * sysdeps/unix/sysv/linux/Versions: Export inotify_* syscalls.
4900 2005-08-22 Jakub Jelinek <jakub@redhat.com>
4902 * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by
4903 sizeof (wchar_t) rather than multiplying __len by sizeof (wchar_t).
4904 Pass __bos (__dst) / sizeof (wchar_t) to the *_chk routine.
4905 * wcsmbs/bits/wchar2.h (mbsrtowcs, mbsnrtowcs): Likewise.
4906 * debug/mbsnrtowcs_chk.c (__mbsnrtowcs_chk): Don't multiply
4907 len by sizeof (wchar_t).
4908 * debug/mbsrtowcs_chk.c (__mbsrtowcs_chk): Likewise.
4909 * debug/mbstowcs_chk.c (__mbstowcs_chk): Likewise.
4910 Fix type of SRC argument. Pass &SRC rather than SRC to
4912 * debug/wcstombs_chk.c (__wcstombs_chk): Pass &SRC rather than SRC
4914 * debug/tst-chk1.c: Include assert.h.
4915 (do_test): Change enough array from VLA into a fixed size array.
4916 Assert that MB_CUR_MAX is <= sizeof (enough). Use FAIL () macro
4917 instead of print error details. Add several new tests.
4918 Kill some unused variable warnings.
4920 2005-08-21 Ulrich Drepper <drepper@redhat.com>
4922 * resolv/res_send.c (Aerror): Fix printing IP address.
4924 * resolv/res_send.c (send_vc): Pass correct sockaddr size to connect.
4926 2005-08-19 H.J. Lu <hongjiu.lu@intel.com>
4928 * sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort.
4930 2005-08-17 Robert Love <rml@novell.com>
4932 * sysdeps/unix/sysv/linux/sys/inotify.h: Add IN_MOVE_SELF event.
4934 2005-08-19 Bruno Haible <bruno@clisp.org>
4936 * intl/localealias.c (read_alias_file): In case of failure, close the
4937 file descriptor and sort the array before returning.
4939 2005-08-19 Ulrich Drepper <drepper@redhat.com>
4941 * malloc/Makefile: Link libmemusage.so with ld.so.
4942 * malloc/memusage.c: Use atomic operations for all counter and size
4943 computations. Handle thread stacks.
4944 * sysdeps/generic/memusage.h: Define memusage_cntr_t and
4946 * sysdeps/i386/i686/memusage.h: New file.
4947 * include/atomic.h: Define atomic_max and atomic_min.
4949 * debug/tst-chk1.c: Add tests for mbstowcs and wcstombs.
4951 2005-08-17 Paul Eggert <eggert@cs.ucla.edu>
4954 * posix/regex.h: Remove spurious space-before-tab. From gnulib.
4956 2005-08-16 Ulrich Drepper <drepper@redhat.com>
4958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4960 * sysdeps/unix/sysv/linux/sys/inotify.h: New file.
4961 * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls.
4963 * nscd/cache.c (prune_cache): Add more debug output. Only for
4964 debug level 3 and higher and very verbose.
4966 * nscd/cache.c (prune_cache): Use stat64 not stat.
4967 * nscd/connections.c (nscd_init): Likewise.
4969 2005-08-10 Sergio Gelato <Sergio.Gelato@astro.su.se>
4972 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Change assert check
4973 from (len > 0) to (len >= 0).
4975 2005-08-16 Ulrich Drepper <drepper@redhat.com>
4977 * nis/nis_xdr.c (_xdr_nis_result): Fix type of res variable.
4978 Reported by Thomas Schwinge.
4980 2005-08-15 Jakub Jelinek <jakub@redhat.com>
4982 * nis/nis_subr.c (nis_leaf_of_r): Handle buflen == 0 correctly.
4984 2005-08-16 Ulrich Drepper <drepper@redhat.com>
4986 * nss/getent.c (more_help): Use open_memstream instead of handling
4987 memory allocation ourselves.
4989 2005-08-16 Jay Fenlason <fenlason@redhat.com>
4991 * nss/getent.c (parse_options): change the -s option to support
4992 {database}:{search} to override /etc/resolv.conf for only the
4995 2005-08-08 Ulrich Drepper <drepper@redhat.com>
4997 * nscd/connections.c (main_loop_epoll): Pass NULL as event
4998 argument for epoll_ctl(EPOLL_CTL_DEL) calls.
5000 * nscd/nscd_stat.c (receive_print_stats): Really print values of
5001 thread number, paranoia, and restart interval the server is using.
5003 * argp/argp-help.c: Use _IO_vasprintf instead of vasprintf.
5004 * include/stdio.h: Add libc_hidden_proto for __vfprintf_chk.
5005 * debug/vfprintf_chk.c: Add libc_hidden_def.
5007 2005-08-08 Roland McGrath <roland@redhat.com>
5009 * argp/argp-help.c (__argp_error): __asprintf -> vasprintf.
5010 (__argp_failure): Likewise.
5012 2005-08-08 Ulrich Drepper <drepper@redhat.com>
5014 * nscd/cache.c (cache_add): Commit hash table and header to disk.
5016 * nscd/mem.c (mempool_alloc): Use posix_fallocate instead of ftruncate.
5017 * nscd/connections.c (nscd_init): Likewise.
5019 2005-08-08 Jakub Jelinek <jakub@redhat.com>
5021 * stdio-common/fxprintf.c: Include libioP.h.
5023 * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname,
5024 getdomainname): Add __NTH.
5025 * stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs):
5027 (realpath): Likewise. Use __const instead of const. Add __restrict
5029 * socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf.
5030 * wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset,
5031 wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb,
5032 mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH.
5033 * string/bits/string3.h (__memset_ichk): Likewise.
5034 (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk,
5035 __stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk,
5036 __strncat_ichk): Likewise. Use __const instead of const.
5037 (__stpncpy_chk): Use __const instead of const.
5038 (__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT.
5040 2005-08-08 Ulrich Drepper <drepper@redhat.com>
5041 Jakub Jelinek <jakub@redhat.com>
5043 * nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move
5045 * nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here.
5046 * nscd/connections.c (usekey): New enum.
5047 (check_use, verify_persistent_db): New functions.
5048 (nscd_init): If persistent database is corrupted, unlink it and
5049 recreate rather than falling back to non-persistent database.
5050 Call verify_persistent_db. Avoid overflows in total computation.
5052 2005-08-08 Ulrich Drepper <drepper@redhat.com>
5054 * iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code
5055 better readable. Avoid passing var to loop function, it's not
5058 2005-08-07 Ulrich Drepper <drepper@redhat.com>
5060 * elf/elf.h (DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO
5063 2005-08-05 Ulrich Drepper <drepper@redhat.com>
5065 * timezone/checktab.awk: Update from tzcode2005k.
5066 * timezone/private.h: Likewise.
5067 * timezone/scheck.c: Likewise.
5068 * timezone/tzselect.ksh: Likewise.
5069 * timezone/zdump.c: Likewise.
5070 * timezone/zic.c: Likewise.
5071 * timezone/africa: Update from tzdata2005k.
5072 * timezone/antarctica: Likewise.
5073 * timezone/asia: Likewise.
5074 * timezone/australasia: Likewise.
5075 * timezone/europe: Likewise.
5076 * timezone/iso3166.tab: Likewise.
5077 * timezone/leapseconds: Likewise.
5078 * timezone/northamerica: Likewise.
5079 * timezone/solar87: Likewise.
5080 * timezone/solar88: Likewise.
5081 * timezone/solar89: Likewise.
5082 * timezone/southamerica: Likewise.
5083 * timezone/zone.tab: Likewise.
5085 2005-08-05 Roland McGrath <roland@frob.com>
5088 * mach/shortcut.awk: Ignore `weak_alias' lines.
5089 Reported by Alfred M. Szmidt <ams@gnu.org>.
5092 * sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.
5093 Reported by Alfred M. Szmidt <ams@gnu.org>.
5095 2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com>
5097 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
5098 Use +=, not =, to append. Remove duplicate flags.
5099 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5100 Likewise. Fix comments.
5102 2005-08-01 Ulrich Drepper <drepper@redhat.com>
5104 * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart system
5105 call if it returned EINTR.
5107 2005-07-31 Ulrich Drepper <drepper@redhat.com>
5109 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Move
5110 helper variable into .data.rel.ro. Simplify the code. Extend
5111 comment to explain prelinking.
5113 2005-07-31 Andreas Jaeger <aj@suse.de>
5115 * include/bits/syslog.h: New file.
5117 2005-07-30 Ulrich Drepper <drepper@redhat.com>
5119 * elf/dl-load.c [__WORDSIZE==64] (FILEBUF_SIZE): Adjust the value
5120 up. We have more program header entries now and the note section
5121 was normally not loaded.
5123 * nis/nis_subr.c: Some minor code cleanups.
5125 2005-07-29 Ulrich Drepper <drepper@redhat.com>
5127 * misc/bits/syslog.h: New file.
5128 * misc/sys/syslog.h: Include <bits/syslog.h> for fortification.
5129 * misc/Makefile (headers): Add bits/syslog.h.
5130 * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto.
5131 * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk.
5132 Call __vfprintf_chk if necessary. Make vsyslog a wrapper. Add
5134 * misc/Versions: Export __syslog_chk and __vsyslog_chk.
5136 2005-07-28 Thomas Schwinge <schwinge@nic-nac-project.de>
5139 * misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
5141 2005-07-28 Ulrich Drepper <drepper@redhat.com>
5143 * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper
5146 2005-07-28 Jakub Jelinek <jakub@redhat.com>
5148 * stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
5150 * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
5152 2005-07-28 Ulrich Drepper <drepper@redhat.com>
5154 * nis/nis_file.c: Rewrite the two pairs of functions into wrappers
5155 around a pair of new, generalized functions. 22% size reduction.
5157 2005-07-27 Ulrich Drepper <drepper@redhat.com>
5159 * nis/nis_xdr.c: Remove unnecessary cast which might hide bugs.
5160 Rearrange code. This reduces the code size 10%.
5162 2005-07-26 Jakub Jelinek <jakub@redhat.com>
5164 * misc/error.c (error_tail): Fix a comment typo.
5166 2005-07-25 Ulrich Drepper <drepper@redhat.com>
5168 * po/zh_TW.po: Update from translation team.
5170 * debug/mbstowcs_chk.c: New file.
5171 * debug/wcstombs_chk.c: New file.
5172 * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk.
5173 * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk.
5174 * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs.
5176 * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing.
5178 2005-07-24 Ulrich Drepper <drepper@redhat.com>
5180 * string/test-memset.c (test_main): Use negative byte value in
5183 * string/test-memset.c (do_one_test): Compare effect of call, not
5185 Add a few casts to avoid warnings.
5187 2005-07-24 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
5189 * sysdeps/sh/memset.S (memset): Correct 2nd argument handling.
5191 2005-07-24 Ulrich Drepper <drepper@redhat.com>
5194 * posix/Makefile (tests): Add tst-execvp4.
5195 * posix/tst-execvp4.c: New file.
5197 2005-07-24 Jakub Jelinek <jakub@redhat.com>
5200 * posix/execvp.c (execvp): Change path_malloc to
5201 char *, free that pointer on failure.
5203 2005-07-24 Ulrich Drepper <drepper@redhat.com>
5205 * wcsmbs/bits/wchar2.h: Use __FILE not FILE.
5206 * wcsmbs/Makefile: Add rules to build and run tst-wchar-h.
5207 * wcsmbs/tst-wchar-h.c: New file.
5209 2005-07-22 Ulrich Drepper <drepper@redhat.com>
5211 * stdio-common/fxprintf.c (__fxprintf): Define variable more local.
5213 2005-07-22 Jakub Jelinek <jakub@redhat.com>
5215 * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use
5216 __gnuc_va_list rather than _G_va_list.
5218 2005-07-22 Roland McGrath <roland@redhat.com>
5221 * Makerules ($(objpfx)stubs): Fix last change.
5223 2005-07-21 Roland McGrath <roland@redhat.com>
5225 * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o).
5227 * stdlib/Makefile (headers): Move bits/wchar.h to ...
5228 * wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too.
5230 2005-07-21 Jakub Jelinek <jakub@redhat.com>
5232 * wcsmbs/bits/wchar2.h (swprintf): Remove format argument.
5233 * debug/tst-chk1.c (do_test): Add test for swprintf with format
5234 being the last argument.
5236 2005-07-21 Thorsten Kukuk <kukuk@suse.de>
5238 * debug/getgroups_chk.c (__getgroups_chk): Fix return value.
5240 * stdio-common/fxprintf.c: Include string.h.
5242 2005-07-20 Ulrich Drepper <drepper@redhat.com>
5245 * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results.
5246 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5247 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5249 2005-07-20 Bob Wilson <bob.wilson@acm.org>
5250 Darin Petkov <darin@tensilica.com>
5253 * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
5255 2005-07-20 Jakub Jelinek <jakub@redhat.com>
5257 * include/stdio.h (__fxprintf): Remove wfmt argument.
5258 * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h.
5259 (__fxprintf): Remove wfmt argument, create wfmt format string on
5261 * argp/argp-fmtstream.c: Adjust all __fxprintf callers.
5262 * argp/argp-help.c: Likewise.
5263 * assert/assert-perr.c: Likewise.
5264 * assert/assert.c: Likewise.
5265 * gmon/gmon.c: Likewise.
5266 * inet/rcmd.c: Likewise.
5267 * malloc/obstack.c: Likewise.
5268 * misc/error.c: Likewise.
5269 * misc/getpass.c: Likewise.
5270 * posix/getopt.c: Likewise.
5271 * resolv/res_hconf.c: Likewise.
5272 * stdio-common/perror.c: Likewise.
5273 * stdio-common/psignal.c: Likewise.
5274 * stdlib/fmtmsg.c: Likewise.
5275 * sunrpc/auth_unix.c: Likewise.
5276 * sunrpc/clnt_perr.c: Likewise.
5277 * sunrpc/clnt_tcp.c: Likewise.
5278 * sunrpc/clnt_udp.c: Likewise.
5279 * sunrpc/clnt_unix.c: Likewise.
5280 * sunrpc/svc_simple.c: Likewise.
5281 * sunrpc/svc_tcp.c: Likewise.
5282 * sunrpc/svc_udp.c: Likewise.
5283 * sunrpc/svc_unix.c: Likewise.
5284 * sunrpc/xdr.c: Likewise.
5285 * sunrpc/xdr_array.c: Likewise.
5286 * sunrpc/xdr_rec.c: Likewise.
5287 * sunrpc/xdr_ref.c: Likewise.
5288 * sysdeps/generic/wordexp.c: Likewise.
5290 2005-07-20 Ulrich Drepper <drepper@redhat.com>
5292 * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,
5293 wcsrtombs, mbsnrtowcs, and wcsnrtombs.
5294 * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk,
5295 wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk.
5296 * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk,
5297 __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk.
5298 * debug/tst-chk1.c: Add tests for new functions.
5299 * debug/mbsnrtowcs_chk.c: New file.
5300 * debug/mbsrtowcs_chk.c: New file.
5301 * debug/wcrtomb_chk.c: New file.
5302 * debug/wcsnrtombs_chk.c: New file.
5303 * debug/wcsrtombs_chk.c: New file.
5305 2005-07-19 Ulrich Drepper <drepper@redhat.com>
5307 * stdio-common/Makefile (aux): Add fxprintf.
5308 * stdio-common/fxprintf.c: New file.
5309 * include/stdio.h: Add declaration for __fxprintf.
5310 * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream
5311 orientation test and two separate function calls.
5312 * argp/argp-help.c: Likewise.
5313 * assert/assert-perr.c: Likewise.
5314 * assert/assert.c: Likewise.
5315 * gmon/gmon.c: Likewise.
5316 * inet/rcmd.c: Likewise.
5317 * malloc/obstack.c: Likewise.
5318 * misc/error.c: Likewise.
5319 * misc/getpass.c: Likewise.
5320 * posix/getopt.c: Likewise.
5321 * resolv/res_hconf.c: Likewise.
5322 * stdio-common/perror.c: Likewise.
5323 * stdio-common/psignal.c: Likewise.
5324 * stdlib/fmtmsg.c: Likewise.
5325 * sunrpc/auth_unix.c: Likewise.
5326 * sunrpc/clnt_perr.c: Likewise.
5327 * sunrpc/clnt_tcp.c: Likewise.
5328 * sunrpc/clnt_udp.c: Likewise.
5329 * sunrpc/clnt_unix.c: Likewise.
5330 * sunrpc/svc_simple.c: Likewise.
5331 * sunrpc/svc_tcp.c: Likewise.
5332 * sunrpc/svc_udp.c: Likewise.
5333 * sunrpc/svc_unix.c: Likewise.
5334 * sunrpc/xdr.c: Likewise.
5335 * sunrpc/xdr_array.c: Likewise.
5336 * sunrpc/xdr_rec.c: Likewise.
5337 * sunrpc/xdr_ref.c: Likewise.
5338 * sysdeps/generic/wordexp.c: Likewise.
5341 * misc/Makefile: Add rules to build and run tst-error1.
5342 * misc/tst-error1.c: New file.
5343 * misc/error.c: Fix memory leak and possibly endless loop.
5345 * configure.in: Check for -fstack-protector gcc option.
5346 * config.make.in (have-ssp): Add template.
5347 * nscd/Makefile (nscd-cflags): Add -fstack-protector if supported.
5349 * nscd/nscd.c (main): Don't ignore result of chdir call.
5351 2005-07-18 Roland McGrath <roland@redhat.com>
5354 * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of
5355 objdump command line.
5357 2005-07-18 Ulrich Drepper <drepper@redhat.com>
5359 * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE.
5361 * nscd/connections.c: Fix a few wur warnings.
5364 * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID
5365 length. Patch by Ivan Gyurdiev <ivg2@cornell.edu>.
5367 * debug/confstr_chk.c: New file.
5368 * debug/getdomainname_chk.c: New file.
5369 * debug/getgroups_chk.c: New file.
5370 * debug/gethostname_chk.c: New file.
5371 * debug/getlogin_r_chk.c: New file.
5372 * debug/ttyname_r_chk.c: New file.
5373 * posix/bits/unistd.h: Add definitions for new debug versions.
5374 * debug/tst-chk1.c: Add tests for new functions.
5375 * debug/Versions: Export new functions.
5376 * debug/Makefile (routines): Add new files.
5378 * stdlib/bits/stdlib.h: Fix typo.
5380 2005-07-13 Thorsten Kukuk <kukuk@suse.de>
5382 * manual/Makefile (libc/index.html): Depend on dir-add.texi.
5384 2005-07-15 Ulrich Drepper <drepper@redhat.com>
5386 * stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECT
5388 * wcsmbs/bits/wchar2.h: Likewise.
5390 2005-07-15 Andreas Jaeger <aj@suse.de>
5392 * debug/Makefile (tst-lfschk3-ENV): New, set locale.
5393 (tst-lfschk2-ENV): New.
5394 (tst-lfschk1-ENV): New.
5395 (tst-chk3-ENV): New.
5396 (tst-chk2-ENV): New.
5397 (tst-chk1-ENV): New.
5400 * include/stdlib.h: Remove malloc attribute from __posix_memalign.
5401 * stdlib/stdlib.h: Likewise.
5403 2005-07-15 Ulrich Drepper <drepper@redhat.com>
5405 * wcsmbs/bits/wchar2.h: New file.
5406 * include/bits/wchar2.h: New file.
5407 * wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is
5409 * wcsmbs/wcsncpy.c: Add __wcsncpy alias.
5410 * string/bits/string3.h: Add fortified stpncpy definitions.
5411 * sysdeps/generic/stpncpy_chk.c: New file.
5412 * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h.
5413 Export _IO_wstrn_jumps.
5414 * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps.
5415 * include/wchar.h: Declare __wcsncpy and __vswprintf_chk.
5416 * debug/fgetws_chk.c: New file.
5417 * debug/fgetws_u_chk.c: New file.
5418 * debug/fwprintf_chk.c: New file.
5419 * debug/swprintf_chk.c: New file.
5420 * debug/vfwprintf_chk.c: New file.
5421 * debug/vswprintf_chk.c: New file.
5422 * debug/vwprintf_chk.c: New file.
5423 * debug/wcpcpy_chk.c: New file.
5424 * debug/wcpncpy_chk.c: New file.
5425 * debug/wcscat_chk.c: New file.
5426 * debug/wcscpy_chk.c: New file.
5427 * debug/wcsncat_chk.c: New file.
5428 * debug/wcsncpy_chk.c: New file.
5429 * debug/wmemcpy_chk.c: New file.
5430 * debug/wmemmove_chk.c: New file.
5431 * debug/wmempcpy_chk.c: New file.
5432 * debug/wmemset_chk.c: New file.
5433 * debug/wprintf_chk.c: New file.
5434 * debug/tst-chk1.c: Add tests for new functions.
5435 * debug/Versions: Export new functions.
5436 * debug/Makefile (routines): Add new functions.
5438 2005-07-13 Ulrich Drepper <drepper@redhat.com>
5440 * nscd/nscd_helper.c: Add a few __builtin_expect.
5443 * nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
5444 * nscd/nscd_helper.c (wait_on_socket): New function.
5445 (get_mapping): Use wait_on_socket instead of poll. The former handles
5446 EINTR of poll correctly.
5447 (__nscd_open_socket): Likewise.
5448 (get_mapping): Make sure BUF is aligned correctly.
5449 (get_mapping): Use munmap on correct pointer.
5451 2005-07-12 Ulrich Drepper <drepper@redhat.com>
5453 * include/libc-symbols.h: Define macros for librt hidden symbols.
5454 * include/time.h: Add librt_hidden_proto definition for clock_gettime.
5455 * sysdeps/generic/clock_gettime.c: Add librt_hidden_def.
5456 * sysdeps/unix/clock_gettime.c: Likewise.
5458 * stdlib/bits/stdlib.h: New file.
5459 * stdlib/stdlib.h: Include <bits/stdlib.h> if fortification is
5461 * Makefile (headers): Add bits/stdlib.h.
5462 * include/bits/stdlib.h: New file.
5463 * debug/Depend: New file.
5464 * debug/ptsname_r_chk.c: New file.
5465 * debug/realpath_chk.c: New file.
5466 * debug/wctomb_chk.c: New file.
5467 * debug/Makefile (routines): Add ptsname_r_chk, realpath_chk, and
5469 * debug/Versions: Export __ptsname_r_chk, __realpath_chk, and
5471 * debug/tst-chk1.c: Add tests for __ptsname_r_chk, __realpath_chk, and
5474 2005-07-12 Jakub Jelinek <jakub@redhat.com>
5477 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h.
5478 (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel
5479 instead of read and close_not_cancel_no_status instead of close.
5482 * sysdeps/s390/s390-64/bcopy.S (__bcopy): Use
5483 HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
5485 2005-06-27 Carlos O'Donell <carlos@systemhalted.org>
5487 * posix/regcomp.c (re_compile_internal): Call __libc_lock_init
5490 2005-07-08 Ulrich Drepper <drepper@redhat.com>
5492 * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. Remove
5494 * sysdeps/x86_64/fpu/s_sincos.S: New file.
5496 * include/fenv.h: Add libm_hidden_proto for fesetround and
5498 * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def.
5499 * sysdeps/alpha/fpu/fesetround.c: Likewise.
5500 * sysdeps/generic/feholdexcpt.c: Likewise.
5501 * sysdeps/generic/fesetround.c: Likewise.
5502 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
5503 * sysdeps/i386/fpu/fesetround.c: Likewise.
5504 * sysdeps/ia64/fpu/feholdexcpt.c: Likewise.
5505 * sysdeps/ia64/fpu/fesetround.c: Likewise.
5506 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5507 * sysdeps/powerpc/fpu/fesetround.c: Likewise.
5508 * sysdeps/s390/fpu/feholdexcpt.c: Likewise.
5509 * sysdeps/s390/fpu/fesetround.c: Likewise.
5510 * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise.
5511 * sysdeps/sh/sh4/fpu/fesetround.c: Likewise.
5512 * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
5513 * sysdeps/sparc/fpu/fesetround.c: Likewise.
5514 * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise.
5515 * sysdeps/x86_64/fpu/fesetround.c: Likewise.
5516 * sysdeps/generic/s_significand.c (__significand): Use __ilogb not
5518 * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf
5520 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and
5521 __cos, not sin and cos.
5523 2005-07-07 Ulrich Drepper <drepper@redhat.com>
5525 * resolv/res_send.c (send_dg): Recognize referral results and
5526 treat them as server errors.
5527 Based on a patch by Jason Vas Dias <jvdias@redhat.com>.
5529 2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
5531 * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.
5533 * sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0.
5534 * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise.
5535 * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise.
5536 * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise.
5537 * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
5538 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
5540 2005-07-07 Ulrich Drepper <drepper@redhat.com>
5542 * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better.
5543 * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise.
5544 * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise.
5545 * sysdeps/generic/s_ctan.c (__ctan): Likewise.
5546 * sysdeps/generic/s_ctanf.c (__ctanf): Likewise.
5547 * sysdeps/generic/s_ctanl.c (__ctanl): Likewise.
5549 2005-04-13 H.J. Lu <hongjiu.lu@intel.com>
5552 * csu/elf-init.c (__preinit_array_start): Take int, char **, char **.
5553 (__preinit_array_end): Likewise.
5554 (__init_array_start): Likewise.
5555 (__init_array_end): Likewise.
5556 (__libc_csu_init): Take int argc, char **argv, char **envp.
5557 Call preinit_array and init_array with argc, argv, envp.
5558 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove
5560 * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed.
5561 * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c,
5562 tst-array5dep.c, and tst-array5.exp.
5563 (tests): Add tst-array5.
5564 (tests-static): Add tst-array5-static.
5565 ($(objpfx)tst-array5): New target.
5566 ($(objpfx)tst-array5.out): Likewise.
5567 ($(objpfx)tst-array5-static.out): Likewise.
5568 * elf/tst-array5-static.c: New file.
5569 * elf/tst-array5-static.exp: Likewise.
5570 * elf/tst-array5.c: Likewise.
5571 * elf/tst-array5.exp: Likewise.
5572 * elf/tst-array5dep.c: Likewise.
5574 2005-07-07 Ulrich Drepper <drepper@redhat.com>
5576 * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype.
5578 2005-07-05 Jakub Jelinek <jakub@redhat.com>
5580 * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition.
5581 Reported by Ulrich Weigand <uweigand@de.ibm.com>.
5583 * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition.
5585 2005-07-06 Ulrich Drepper <drepper@redhat.com>
5587 * elf/dl-error.c (_dl_signal_error): When testing for executable
5588 being relocated, take into account that nothing might even be loaded.
5590 * elf/dl-reloc.c [PROF] (_dl_relocate_object): Define
5591 consider_profiling always to zero. Don't count of compiler to
5592 remove unreached if block.
5593 * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile):
5595 * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
5596 * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
5597 * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile):
5599 * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile):
5601 * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF]
5602 (_dl_profile_resolve): Likewise.
5603 * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF]
5604 (_dl_profile_resolve): Likewise.
5605 * gmon/Makefile: Add rules to build and run tst-profile-static.
5606 * gmon/tst-profile-static.c: New file.
5607 * Makeconfig (+link-static): Allow passing program-specific flags.
5609 2005-07-05 Thorsten Kukuk <kukuk@suse.de>
5612 * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Check if NSS
5613 module provides getgrgid_r.
5614 (getgrnam_plusgroup): Preserve original return value.
5615 * nis/nss_compat/compat-pwd.c (getpwnam_plususer): Preserve
5616 original return value.
5617 * nis/nss_compat/compat-spwd.c (getspnam_plususer): Likewise.
5619 2005-07-05 Ulrich Drepper <drepper@redhat.com>
5622 * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not
5624 (build_wcs_upper_buffer): Likewise.
5626 * csu/elf-init.c (__libc_csu_fini): Pretty printing.
5628 2005-07-02 Roland McGrath <roland@redhat.com>
5630 * NEWS: Note LinuxThreads removal.
5631 * manual/install.texi (Installation): Don't mention linuxthreads.
5632 (Configuring and compiling): Don't use linuxthreads as example.
5634 * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only,
5636 * sysdeps/unix/sysv/linux/configure: Regenerated.
5637 * resolv/Depend: Add nptl.
5638 * rt/Depend: Likewise.
5640 * linuxthreads, linuxthreads_db: Directories removed (preserved in
5643 2005-06-27 Jakub Jelinek <jj@ultra.linux.cz>
5646 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated,
5649 2005-06-16 Jakub Jelinek <jakub@redhat.com>
5652 * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
5654 2005-06-23 Thorsten Kukuk <kukuk@suse.de>
5657 * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR
5658 with own translation.
5660 2005-06-25 Jakub Jelinek <jakub@redhat.com>
5663 * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast
5664 t2 to uint32_t instead of ulong.
5665 * sunrpc/Makefile (tests): Add tst-xdrmem.
5666 * sunrpc/tst-xdrmem.c: New test.
5668 * Versions.def (ld): Add GLIBC_2.4.
5669 * configure.in: Add --enable-stackguard-randomization option.
5670 (ENABLE_STACKGUARD_RANDOMIZE): New define.
5671 * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add.
5672 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h.
5673 (_dl_setup_stack_chk_guard): New inline function.
5674 * sysdeps/generic/dl-osinfo.h: Include stdint.h.
5675 (_dl_setup_stack_chk_guard): New inline function.
5676 * elf/rtld.c (__stack_chk_guard): New variable.
5677 (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE.
5678 Set __stack_chk_guard to _dl_setup_stack_chk_guard (),
5679 use THREAD_SET_STACK_GUARD if defined.
5680 * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4.
5681 * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable.
5682 (__libc_start_main): Set __stack_chk_guard to
5683 _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined.
5684 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all
5685 traces of TLS_INIT_TP_EXPENSIVE.
5686 * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4.
5687 * debug/Makefile (routines): Add stack_chk_fail.
5688 (static-only-routines): Add stack_chk_fail_local.
5689 * debug/stack_chk_fail_local.c: New file.
5690 * debug/stack_chk_fail.c: New file.
5691 * elf/Makefile: Add rules to build and run tst-stackguard1{,-static}
5693 * elf/tst-stackguard1.c: New file.
5694 * elf/tst-stackguard1-static.c: New file.
5695 * elf/stackguard-macros.h: New file.
5697 2005-06-21 Ulrich Drepper <drepper@redhat.com>
5699 * resource/Makefile (tests): Add tst-getrlimit.
5700 * resource/tst-getrlimit.c: New file.
5702 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo.
5703 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
5704 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
5706 2005-06-20 Ulrich Drepper <drepper@redhat.com>
5708 * nscd/nscd.init: Get more in line with lsb3.
5709 * nscd/nscd.c: Adjust some error codes to fit in better with lsb3.
5710 * nscd/connections.c: Likewise.
5712 2005-06-20 Jakub Jelinek <jakub@redhat.com>
5715 * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for
5716 _LINUX_QUOTA_VERSION >= 2.
5717 (_LINUX_QUOTA_VERSION): Define if not yet defined.
5719 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,
5720 RLIMIT_RTPRIO): Add.
5721 (RLIMIT_NLIMITS): Adjust.
5722 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE,
5723 RLIMIT_RTPRIO): Add.
5724 (RLIMIT_NLIMITS): Adjust.
5725 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE,
5726 RLIMIT_RTPRIO): Add.
5727 (RLIMIT_NLIMITS): Adjust.
5728 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE,
5729 RLIMIT_RTPRIO): Add.
5730 (RLIMIT_NLIMITS): Adjust.
5732 2005-06-17 Ulrich Drepper <drepper@redhat.com>
5735 * time/mktime.c: Always include <string.h> for prototype of
5736 implicitly used memcpy.
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5740 (truncate64): Use __truncate, not truncate.
5741 (__have_no_truncate64): Renamed from have_no_truncate64.
5742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5743 (__have_no_truncate64): Renamed from have_no_truncate64.
5745 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex
5746 float functions for gcc 4.
5748 2005-06-10 Jakub Jelinek <jakub@redhat.com>
5750 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):
5751 Handle prelinked libraries and binaries with new style PLT.
5753 2005-06-07 Jakub Jelinek <jakub@redhat.com>
5755 * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI,
5756 R_PPC_REL16_HA): Define.
5758 2005-06-14 Alan Modra <amodra@bigpond.net.au>
5760 * config.h.in (HAVE_ASM_PPC_REL16): Add.
5761 * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define.
5762 * elf/tls-macros.h (PowerPC32): Include config.h. Add variants of
5763 TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout.
5764 * sysdeps/powerpc/powerpc32/configure.in: New file,
5765 * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file.
5766 * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define.
5767 (ppc_got): New inline function.
5768 (elf_machine_dynamic): Use ppc_got. Add attribute const.
5769 (elf_machine_load_address): Add attribute const. Don't use int vars.
5770 Use bcl rather than bl to save trashing branch target stack. Use
5771 elf_machine_dynamic rather than duplicating code here.
5772 (elf_machine_runtime_setup): New inline function replacing define.
5774 (elf_machine_fixup_plt): Handle new PLT.
5775 (elf_machine_rela): Likewise.
5776 * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h.
5777 (CALL_MCOUNT): Don't set up counter vars.
5778 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment.
5779 * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't
5780 define when HAVE_ASM_PPC_REL16.
5781 (_start): Add HAVE_ASM_PPC_REL16 code.
5782 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl
5783 into the GOT when HAVE_ASM_PPC_REL16.
5784 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
5785 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto.
5786 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise.
5787 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5788 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5789 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5790 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise.
5791 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5792 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5793 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5794 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5795 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5796 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5797 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp):
5799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise.
5800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5801 (__getcontext): Likewise.
5802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5803 (__setcontext): Likewise.
5804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5805 (__swapcontext): Likewise.
5806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock):
5808 (__socket): Bomb if NARGS >= 7. Invoke CGOTSETUP and CGOTRESTORE.
5810 2005-06-17 Ulrich Drepper <drepper@redhat.com>
5813 * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
5815 * sysdeps/posix/signal.c: Likewise.
5816 * sysdeps/posix/sigset.c: Likewise.
5817 * sysdeps/posix/sysv_signal.c: Likewise.
5818 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5819 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5820 * sysdeps/unix/sysv/linux/system.c: Likewise.
5822 2005-06-15 Jakub Jelinek <jakub@redhat.com>
5825 * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
5826 or both classes equal here.
5827 (parse_config_file): If both classes are equal, clear the second one.
5829 2005-06-08 Karl Kelley <kekelley@iastate.edu>
5832 * hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
5833 * hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no
5834 valid classes were given or if both are equal.
5835 (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
5837 (parse_config_file): Handle classes keyword.
5838 * hesiod/README.hesiod: Mention addition of the classes keyword.
5840 2005-06-14 Ulrich Drepper <drepper@redhat.com>
5843 * configure.in: Add test for availability of libaudit.
5844 * config.h.in: Define HAVE_LIBAUDIT.
5845 * config.make.in: Define have-libaudit.
5846 * nscd/Makefile: If libaudit is available, link nscd with it.
5847 * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
5848 Patch by Steve Grubb <sgrubb@redhat.com>.
5850 * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
5851 * sysdeps/posix/posix_fallocate64.c: Likewise.
5852 * include/string.h: Use libc_hidden_proto for strnlen.
5853 * sysdeps/generic/strnlen.c: Add libc_hidden_def.
5854 * include/libintl.h: Use libc_hidden_proto for __dcgettext.
5855 * intl/dcgettext.c: Add libc_hidden_def.
5856 * include/execinfo.h: Add libc_hidden_proto for __backtrace and
5857 __backtrace_symbols_fd.
5858 * sysdeps/generic/backtrace.c: Add libc_hidden_def.
5859 * sysdeps/generic/backtracesymsfd.c: Likewise.
5860 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5861 * sysdeps/i386/backtrace.c: Likewise.
5862 * sysdeps/ia64/backtrace.c: Likewise.
5863 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5864 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5865 * sysdeps/s390/s390-32/backtrace.c: Likewise.
5866 * sysdeps/s390/s390-64/backtrace.c: Likewise.
5868 2005-06-13 Ulrich Drepper <drepper@redhat.com>
5870 * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case
5871 where HANDLED_REALTIME is not defined. [BZ #966]
5873 2005-06-13 Jakub Jelinek <jakub@redhat.com>
5876 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
5877 __netlink_receive): Remove prototypes.
5878 (__netlink_request): New prototype.
5879 * sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
5881 (__netlink_sendreq): Make static.
5882 (__netlink_receive): Rename to...
5883 (__netlink_request): ... this. Add type argument, call
5884 __netlink_sendreq. If MSG_TRUNC is set after recvmsg, retry
5885 with a bigger buffer. Don't record buffers that contain no
5886 messages we are expecting.
5887 (getifaddrs): Use __netlink_request instead of __netlink_sendreq
5888 and __netlink_receive pairs. Formatting.
5889 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
5890 __netlink_request instead of __netlink_sendreq and __netlink_receive
5893 2005-06-13 Thorsten Kukuk <kukuk@suse.de>
5895 * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel
5896 headers, instead copy important structs/defines.
5898 2005-06-13 Jakub Jelinek <jakub@redhat.com>
5900 * elf/rtld.c (dl_main): Move DT_DEBUG setup before first
5901 _dl_debug_state call.
5903 2005-06-12 Ulrich Drepper <drepper@redhat.com>
5905 * elf/dl-error.c (_dl_signal_error): Store information about use of
5906 real malloc in the catch object.
5907 (_dl_catch_error): Forward information about malloc use to caller
5909 (_dl_out_of_memory): Make static.
5910 * elf/dl-deps.c: Adjust callers of _dl_catch_error.
5911 * elf/dl-libc.c: Likewise.
5912 * elf/dl-open.c: Likewise.
5913 * elf/rtld.c: Likewise.
5914 Add new --audit option.
5915 * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration.
5916 (rtld_global_ro._dl_signal_error): Add new parameter.
5917 * include/dlfcn.h (_dl_catch_error): Add new parameter.
5918 * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to
5919 _dl_catch_error. Only free if the returned newly value says so.
5921 2005-06-01 Roland McGrath <roland@redhat.com>
5924 * posix/tst-mmap.c (main): Fill the test file with enough data for the
5927 2005-05-30 Jakub Jelinek <jakub@redhat.com>
5929 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If
5930 GLRO(dl_osversion) has been already set to a value smaller than
5931 _dl_discover_osversion (), don't overwrite it here.
5933 2005-05-24 Thomas Schwinge <schwinge@nic-nac-project.de>
5935 * sysdeps/mach/i386/syscall.S (syscall): Call END.
5937 2005-05-28 Richard Henderson <rth@redhat.com>
5939 * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
5940 * sysdeps/alpha/dl-dtprocnum.h: New file.
5941 * sysdeps/alpha/dl-machine.h (DT_ALPHA): New.
5942 (elf_machine_load_address): Simplify to rely on gprel relocations.
5943 (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format.
5944 Remove thread safety workaround for binutils 2.6.
5945 (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format.
5946 * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New.
5947 (_dl_runtime_profile_new): New.
5948 (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve.
5949 (_dl_runtime_profile_old): Rename from _dl_runtime_profile. Fix
5950 typo in _dl_call_pltexit argument loading.
5952 * sysdeps/alpha/div_libc.h (funcnoplt): New.
5953 * sysdeps/alpha/divl.S: Use it.
5954 * sysdeps/alpha/divq.S: Likewise
5955 * sysdeps/alpha/divqu.S: Likewise.
5956 * sysdeps/alpha/reml.S: Likewise.
5957 * sysdeps/alpha/remq.S: Likewise.
5958 * sysdeps/alpha/remqu.S: Likewise.
5960 2005-05-26 Andreas Schwab <schwab@suse.de>
5962 * locale/Makefile (CFLAGS-loadlocale.c): Don't define.
5964 2005-05-26 Ulrich Drepper <drepper@redhat.com>
5966 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value.
5967 Reported by Colin Gibbs <colin@gibbsonline.net>. [BZ #954]
5969 2005-05-17 Alan Modra <amodra@bigpond.net.au>
5971 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent
5972 _dl_hwcap access in PIC && !SHARED case.
5973 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5975 2005-05-25 Dwayne Grant McConnell <dgm69@us.ibm.com>
5977 * gmon/gmon.c: Add space in weak_alias use.
5978 * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
5979 * sysdeps/alpha/htonl.S: Likewise.
5980 * sysdeps/alpha/htons.S: Likewise.
5981 * sysdeps/alpha/elf/start.S: Likewise.
5982 * sysdeps/i386/i386-mcount.S: Likewise.
5983 * sysdeps/ia64/strchr.S: Likewise.
5984 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
5985 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
5986 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
5987 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
5988 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
5989 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
5990 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
5991 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
5992 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
5993 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
5994 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
5995 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
5996 * sysdeps/mach/hurd/readdir64_r.c: Likewise.
5997 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
5998 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
5999 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
6000 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
6001 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
6002 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6003 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6004 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6005 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6006 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6007 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6008 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6009 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6010 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6011 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6012 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6013 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6014 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6015 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6016 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6017 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6018 * sysdeps/sparc/sparc32/memset.S: Likewise.
6019 * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
6020 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6021 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6022 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6023 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6024 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6025 * sysdeps/sparc/sparc64/memset.S: Likewise.
6026 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
6027 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
6028 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
6029 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
6030 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
6031 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6032 * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise.
6033 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6034 * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise.
6035 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
6036 * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise.
6037 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
6038 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6039 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6040 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6041 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6042 * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise.
6043 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6044 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6045 * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise.
6046 * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise.
6047 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6048 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6050 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6051 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6052 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6053 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6054 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6055 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6056 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6057 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6058 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise.
6059 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
6060 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
6061 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
6062 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
6063 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6064 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise.
6065 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6066 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6067 * sysdeps/x86_64/_mcount.S: Likewise.
6069 2005-05-24 Roland McGrath <roland@redhat.com>
6071 * sysdeps/unix/sysv/linux/i386/sysdep.h
6072 (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ...
6073 * sysdeps/i386/sysdep.h [PIC]: ... to here.
6075 2005-05-23 Roland McGrath <roland@redhat.com>
6077 * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm:
6078 Subdirectories moved to ports repository.
6079 * configure.in (base_machine): Remove arm* and thumb* patterns.
6080 * shlib-versions (arm.*-.*-linux.*): Remove this pattern.
6082 2005-05-23 Ulrich Drepper <drepper@redhat.com>
6085 * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd
6086 implementations are broken and don't accept ports < 512.
6088 2005-05-22 Dmitry V. Levin <ldv@altlinux.org>
6091 * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
6094 2005-05-23 Ulrich Drepper <drepper@redhat.com>
6097 * sunrpc/pm_getport.c (__get_socket): New function.
6098 (pmap_getport): Use it to open a non-reserved socket to the portmapper
6100 * include/rpc/pmap_clnt.h (__get_socket): Declare.
6101 * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an
6102 non-reserved socket for the portmapper.
6103 Based on a patch by Steve Dickson <steved@redhat.com>.
6106 * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port.
6107 If we tried looking at the usual range without success extend the
6108 range to even lower ports.
6110 * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch.
6112 2005-05-22 Andreas Schwab <schwab@suse.de>
6114 * elf/rtld.c: Include <dl-osinfo.h>.
6116 2005-05-17 Alan Modra <amodra@bigpond.net.au>
6118 * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use
6119 JUMPTARGET. Instead append @local to __syscall_error.
6120 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences
6121 of JUMPTARGET. Instead append @local to labels.
6122 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6123 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6124 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise.
6125 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
6130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6134 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants.
6135 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6136 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
6137 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6138 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Use one GOT
6139 slot to access both constants.
6140 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6141 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6143 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.
6144 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete.
6145 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete.
6146 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete.
6147 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo.
6148 (NEGZERO.0, POINTFIVE.0): Delete.
6149 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete.
6150 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete.
6151 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text.
6152 (TWO52.0, POINTFIVE.0): Delete.
6153 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text.
6154 (TWO23.0, POINTFIVE.0): Delete.
6155 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text.
6157 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text.
6159 * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
6161 2005-05-19 Richard Henderson <rth@redhat.com>
6163 * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around
6166 * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq,
6167 __arch_compare_and_exchange_bool_64_acq,
6168 __arch_compare_and_exchange_val_32_acq,
6169 __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add):
6170 Use __sync builtin without _si or _di suffix.
6172 2005-05-19 Jakub Jelinek <jakub@redhat.com>
6175 * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters
6178 2005-05-17 Andreas Schwab <schwab@suse.de>
6180 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6181 (clock_getcpuclockid): Always return a defined value.
6183 2005-05-17 Neal H. Walfield <neal@gnu.org>
6186 * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN]
6188 (gaih_inet): Likewise.
6190 2005-05-11 Ulrich Drepper <drepper@redhat.com>
6192 * elf/elf.h (Elf32_auxv_t): Make cross-compile safe.
6193 (Elf64_auxv_t): Likewise.
6194 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
6195 removal of a_ptr element in ElfXX_auxv_t.
6196 * elf/dl-support.c (_dl_aux_init): Likewise.
6198 2005-05-09 Daniel Jacobowitz <dan@codesourcery.com>
6200 * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.
6201 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6203 2005-05-09 Alan Modra <amodra@bigpond.net.au>
6205 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6206 .pushsection/.popsection in place of .section/.previous.
6208 2005-05-08 Ulrich Drepper <drepper@redhat.com>
6210 * MakeTAGS: Make xgettext not look into test cases.
6212 * MakeTAGS: Make sure translations in error calls are marked with
6213 c-format by xgettext.
6215 2005-05-07 Ulrich Drepper <drepper@redhat.com>
6217 * intl/libintl.h: Always use __attribute_format_arg__ for gettext
6218 functions since gcc sometimes forgets the attribute for the
6221 2005-05-06 Jakub Jelinek <jakub@redhat.com>
6224 * posix/regex_internal.h: Include bits/libc-lock.h or define dummy
6225 __libc_lock_* macros if not _LIBC.
6226 (struct re_dfa_t): Add lock.
6227 * posix/regcomp.c (re_compile_internal): Add __libc_lock_init.
6228 * posix/regexec.c (regexec, re_search_stub): Add locking.
6230 2005-05-04 Jakub Jelinek <jakub@redhat.com>
6232 * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix)
6233 as argument to the scripts.
6234 * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir.
6235 * intl/tst-gettext4.sh: Likewise. Use run_program_prefix argument.
6236 * intl/tst-gettext5.sh: Likewise.
6238 * intl/tst-translit.sh: Add mkdir -p.
6240 * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use
6241 .ifndef/.endif to allow use of this macro more than once per .S
6243 (LOAD_PIC_REG): New macro.
6244 * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame
6246 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6247 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6248 * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro. Add call frame
6250 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6251 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6252 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6253 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6254 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6255 * sysdeps/i386/fpu/s_lrint.S: Likewise.
6256 * sysdeps/i386/fpu/s_llrint.S: Likewise.
6257 * sysdeps/i386/fpu/s_ilogbf.S: Likewise.
6258 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6259 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6260 * sysdeps/i386/fpu/e_log.S: Likewise.
6261 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6262 * sysdeps/i386/fpu/s_lrintl.S: Likewise.
6263 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6264 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6265 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6266 * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
6267 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6268 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6269 * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
6270 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6271 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6272 * sysdeps/i386/fpu/s_lrintf.S: Likewise.
6273 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6274 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6275 * sysdeps/i386/fpu/s_ilogbl.S: Likewise.
6276 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6277 * sysdeps/i386/fpu/e_powl.S: Likewise.
6278 * sysdeps/i386/fpu/e_powf.S: Likewise.
6279 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6280 * sysdeps/i386/fpu/e_logl.S: Likewise.
6281 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6282 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6283 * sysdeps/i386/fpu/e_pow.S: Likewise.
6284 * sysdeps/i386/fpu/e_logf.S: Likewise.
6285 * sysdeps/i386/fpu/e_log2.S: Likewise.
6286 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6287 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6288 * sysdeps/i386/fpu/s_llrintf.S: Likewise.
6289 * sysdeps/i386/fpu/s_ilogb.S: Likewise.
6290 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6291 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6292 * sysdeps/i386/fpu/e_log10.S: Likewise.
6293 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6294 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6295 * sysdeps/i386/fpu/s_llrintl.S: Likewise.
6296 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6297 * sysdeps/i386/fpu/s_nearbyint.S: Likewise.
6298 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6299 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6300 * sysdeps/i386/addmul_1.S: Various fixes to cfi handling.
6301 * sysdeps/i386/mul_1.S: Likewise.
6302 * sysdeps/i386/strtok.S: Likewise.
6303 * sysdeps/i386/sub_n.S: Likewise.
6304 * sysdeps/i386/submul_1.S: Likewise.
6305 * sysdeps/i386/i586/addmul_1.S: Likewise.
6306 * sysdeps/i386/i586/memcpy.S: Likewise.
6307 * sysdeps/i386/i586/mul_1.S: Likewise.
6308 * sysdeps/i386/i586/rshift.S: Likewise.
6309 * sysdeps/i386/i586/sub_n.S: Likewise.
6310 * sysdeps/i386/i586/submul_1.S: Likewise.
6311 * sysdeps/i386/i686/memcmp.S: Likewise.
6312 * sysdeps/i386/i686/memmove.S: Likewise.
6313 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6314 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6315 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6316 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6318 2005-05-03 Ulrich Drepper <drepper@redhat.com>
6320 * sysdeps/i386/add_n.S: Add call frame information.
6321 * sysdeps/i386/addmul_1.S: Likewise.
6322 * sysdeps/i386/bsd-setjmp.S: Likewise.
6323 * sysdeps/i386/lshift.S: Likewise.
6324 * sysdeps/i386/memchr.S: Likewise.
6325 * sysdeps/i386/memcmp.S: Likewise.
6326 * sysdeps/i386/mul_1.S: Likewise.
6327 * sysdeps/i386/rawmemchr.S: Likewise.
6328 * sysdeps/i386/rshift.S: Likewise.
6329 * sysdeps/i386/stpncpy.S: Likewise.
6330 * sysdeps/i386/strchr.S: Likewise.
6331 * sysdeps/i386/strchrnul.S: Likewise.
6332 * sysdeps/i386/strcspn.S: Likewise.
6333 * sysdeps/i386/strpbrk.S: Likewise.
6334 * sysdeps/i386/strrchr.S: Likewise.
6335 * sysdeps/i386/strspn.S: Likewise.
6336 * sysdeps/i386/strtok.S: Likewise.
6337 * sysdeps/i386/sub_n.S: Likewise.
6338 * sysdeps/i386/submul_1.S: Likewise.
6339 * sysdeps/i386/elf/bsd-setjmp.S: Likewise.
6340 * sysdeps/i386/i486/strcat.S: Likewise.
6341 * sysdeps/i386/i586/add_n.S: Likewise.
6342 * sysdeps/i386/i586/addmul_1.S: Likewise.
6343 * sysdeps/i386/i586/lshift.S: Likewise.
6344 * sysdeps/i386/i586/memcpy.S: Likewise.
6345 * sysdeps/i386/i586/memset.S: Likewise.
6346 * sysdeps/i386/i586/mul_1.S: Likewise.
6347 * sysdeps/i386/i586/rshift.S: Likewise.
6348 * sysdeps/i386/i586/strchr.S: Likewise.
6349 * sysdeps/i386/i586/strcpy.S: Likewise.
6350 * sysdeps/i386/i586/sub_n.S: Likewise.
6351 * sysdeps/i386/i586/submul_1.S: Likewise.
6352 * sysdeps/i386/i686/add_n.S: Likewise.
6353 * sysdeps/i386/i686/memcmp.S: Likewise.
6354 * sysdeps/i386/i686/memmove.S: Likewise.
6355 * sysdeps/i386/i686/mempcpy.S: Likewise.
6356 * sysdeps/i386/i686/memset.S: Likewise.
6357 * sysdeps/i386/i686/strtok.S: Likewise.
6358 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6359 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6360 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6361 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
6362 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6363 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6365 * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4.
6367 * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available
6370 2005-04-29 Jakub Jelinek <jakub@redhat.com>
6373 * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
6374 call ftruncate if offset is bigger than current size. Make sure
6375 the file is offset + len bytes long if that is more than current size.
6376 Don't overwrite previous content of the file.
6377 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6380 2005-05-02 Roland McGrath <roland@redhat.com>
6383 * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
6385 2005-04-29 Roland McGrath <roland@redhat.com>
6387 * timezone/africa: Update from tzdata2005i.
6388 * timezone/asia: Likewise.
6389 * timezone/northamerica: Likewise.
6390 * timezone/yearistype: Likewise.
6392 * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.
6394 2005-04-29 Ulrich Drepper <drepper@redhat.com>
6397 * nis/nis_table.c: Fix realloc handling.
6398 * nis/nis_removemember.c: Likewise.
6400 2005-04-28 Ulrich Drepper <drepper@redhat.com>
6403 * nscd/Makefile: Help losers who use --with-headers.
6405 2005-04-28 Roland McGrath <roland@redhat.com>
6408 * sysdeps/unix/sysv/linux/dl-sysdep.h: New file.
6409 Define NEED_DL_SYSINFO_DSO for all platforms.
6411 * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
6412 * sysdeps/alpha/dl-sysdep.h: Likewise.
6413 Use #include_next instead of duplicating generic file's contents.
6414 * sysdeps/ia64/dl-sysdep.h: Likewise.
6415 * sysdeps/sparc/dl-sysdep.h: Likewise.
6417 2005-03-22 Steven Munroe <sjmunroe@us.ibm.com>
6419 * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
6421 2005-03-07 Steven Munroe <sjmunroe@us.ibm.com>
6424 * sysdeps/unix/sysv/linux/kernel-features.h
6425 (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1.
6426 (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1.
6427 (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting
6429 (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
6431 2005-04-28 Ulrich Drepper <drepper@redhat.com>
6433 * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.
6434 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6435 * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate
6436 cfi_startproc and cfi_endproc.
6438 * configure.in: Remove ultrasparc names.
6440 * sysdeps/i386/i686/memcmp.S: Move misplaced END.
6442 2005-03-27 Bruno Haible <bruno@clisp.org>
6444 Make it possible for multiple threads to use gettext() in different
6446 * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
6447 (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
6449 (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
6450 (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
6453 * intl/tst-gettext4.c: New file.
6454 * intl/tst-gettext4.sh: New file.
6455 * intl/tst-gettext4-de.po: New file.
6456 * intl/tst-gettext4-fr.po: New file.
6457 * intl/tst-gettext5.c: New file.
6458 * intl/tst-gettext5.sh: New file.
6459 * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po,
6460 tst-gettext4-fr.po, tst-gettext5.sh.
6461 (multithread-test-srcs): New variable.
6462 (test-srcs): Add its contents.
6463 (tests): Depend on tst-gettext4.out, tst-gettext5.out.
6464 (tst-gettext4.out, tst-gettext5.out): New rules.
6465 (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables.
6466 Add rule for linking the multithread-test-srcs with the appropriate
6469 2005-04-28 Ulrich Drepper <drepper@redhat.com>
6471 * po/rw.po: New file. From translation team.
6473 * scripts/config.guess: Update from upstream.
6474 * scripts/config.sub: Likewise.
6476 2005-04-27 Ulrich Drepper <drepper@redhat.com>
6479 * nscd/connections.c (nscd_run): Use time() value in prune_cache
6480 call, not timeout value, since the latter might be from another clock.
6482 2005-04-27 Roland McGrath <roland@redhat.com>
6485 * posix/unistd.h: Remove __nonnull from acct decl.
6487 * rt/tst-cpuclock1.c: New file.
6488 * rt/tst-cpuclock2.c: New file.
6489 * rt/tst-cputimer1.c: New file.
6490 * rt/tst-cputimer2.c: New file.
6491 * rt/tst-cputimer3.c: New file.
6492 * rt/Makefile (tests): Add them.
6494 * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
6495 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
6496 * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
6497 (HAS_CPUCLOCK): New macro.
6498 (clock_getcpuclockid): Function removed.
6499 #include the new linux file to define it instead.
6500 * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
6501 New function, broken out of ...
6502 (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it.
6503 (realtime_gettime): New function, broken out of ...
6504 (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it.
6505 (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
6506 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
6507 (SYSDEP_GETTIME_CPUTIME): New macro.
6508 (SYSDEP_GETTIME): Use both.
6509 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
6511 (SYSDEP_GETTIME): ... here. Use it.
6512 [__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
6513 (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying
6514 kernel support and falling back to hp-timing code.
6515 * sysdeps/posix/clock_getres.c
6516 [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
6517 (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it.
6518 (realtime_getres): New function, broken out of ...
6519 (clock_getres) [! HANDLED_REALTIME]: ... here. Call it.
6520 (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
6521 * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
6522 (SYSDEP_GETRES_CPUTIME): New macro.
6523 (SYSDEP_GETRES): Use both.
6524 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
6526 (SYSDEP_GETRES): ... here. Use it.
6527 [__NR_clock_getres] (HANDLED_CPUTIME): Define it.
6528 (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying
6529 kernel support and falling back to hp-timing code.
6530 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
6531 CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
6532 translating to the kernel clockid_t for our own process/thread clock.
6534 2005-04-27 Ulrich Drepper <drepper@redhat.com>
6536 * stdlib/test-canon.c: Make doesExist a directory and add more tests
6537 for the new error case.
6539 2004-06-02 Dmitry V. Levin <ldv@altlinux.org>
6540 Ranjani Murthy <ranmur@gmail.com>
6542 * stdlib/canonicalize.c (__realpath): Change realpath(3) to
6543 return NULL and set errno to ENOTDIR for such pathnames like
6544 "/path/to/existing-non-directory/".
6546 2005-04-26 Ulrich Drepper <drepper@redhat.com>
6549 * time/strptime_l.c (__strptime_internal): Handle 'z' to set
6551 * time/Makefile (tests): Add tst-strptime2.
6552 * time/tst-strptime2.c: New file.
6554 2005-04-26 Jakub Jelinek <jakub@redhat.com>
6557 * elf/dl-close.c: Include stddef.h.
6558 (_dl_close): If called recursively, just remember GC needs to be rerun
6559 and decrease l_direct_opencount. Avoid GC if l_direct_opencount
6560 decreased to 1. Rerun GC at the end if any destructor unloaded some
6561 additional libraries.
6562 * elf/Makefile: Add rules to build and run unload6 test.
6563 * elf/unload6.c: New test.
6564 * elf/unload6mod1.c: New file.
6565 * elf/unload6mod2.c: New file.
6566 * elf/unload6mod3.c: New file.
6568 * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
6569 if magic_p is not NULL.
6570 (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
6571 (malloc_check): Fail if sz == -1.
6572 (free_check): Adjust mem2chunk_check caller.
6573 (realloc_check): Likewise. Fail if bytes == -1. If bytes == 0 and
6574 oldmem != NULL, call free_check and return NULL. If reallocating
6575 and returning NULL, invert magic byte again to make oldmem valid
6576 region for further checking.
6577 (memalign_check): Fail if bytes == -1.
6578 * malloc/Makefile: Add rules to build and run tst-mcheck.
6579 * malloc/tst-mcheck.c: New test.
6581 2005-04-26 Ulrich Drepper <drepper@redhat.com>
6584 * stdio-common/vfscanf.c: Correctly account for characters of
6585 decimal points right after +-.
6587 2005-04-26 Roland McGrath <roland@redhat.com>
6589 * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
6590 ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
6592 2005-04-25 Roland McGrath <roland@redhat.com>
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6595 (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
6597 * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
6599 * elf/dl-load.c: Revert last change.
6601 2005-04-24 Ulrich Drepper <drepper@redhat.com>
6604 * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
6605 Patch by Hamed Malek <hamed@bamdad.org>.
6607 2005-04-21 Roland McGrath <roland@redhat.com>
6609 * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
6610 since Linux ignores it in user mmap calls.
6612 2005-04-17 David S. Miller <davem@davemloft.net>
6614 * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
6615 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6617 2005-04-15 Roland McGrath <roland@redhat.com>
6619 * timezone/Makefile (zic-deps): New variable.
6620 ($(testdata)/America/New_York): Use it instead of explicit deps.
6621 ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
6622 ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
6623 (%/UTC %/Universal): New pattern rule, replaces ...
6624 ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
6625 ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
6626 ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
6628 2005-04-14 Roland McGrath <roland@redhat.com>
6630 * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
6631 (extract): Filter-out distinfo file name.
6634 * MakeTAGS (text-srcs): Match %.bash.in files too.
6637 * nscd/Makefile (all-nscd-modules): New variable, include selinux
6638 module regardless of configuration.
6639 (distribute): Use that instead of $(nscd-modules).
6641 2005-04-13 David S. Miller <davem@davemloft.net>
6643 Add sparc64 TLS and NPTL support.
6644 * elf/tls-macros.h: Add Sparc64 defines.
6645 * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
6647 (elf_machine_fixup_plt): Likewise.
6648 (elf_machine_rela): Handle TLS relocations.
6649 (elf_machine_type_cleaa): Likewise.
6650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6651 (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
6652 It does not always fit in R_SPARC_GOT13 when building -fPIC.
6653 Also, add TLS handling.
6654 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6655 Increase it to 2.4.21 for sparc64.
6656 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
6657 backtrace by zero'ing out %fp. Store away flags, func_ptr,
6658 and func_arg in global registers not local registers.
6659 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
6660 and CTID arguments properly. Add RESET_PID handling.
6661 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
6662 do not invoke __sigprocmask(). We can always assume rt signals
6663 are present on sparc64, so just do an inline syscall.
6665 2005-04-13 Jakub Jelinek <jakub@redhat.com>
6667 * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
6668 inclusion guard for the first half of the header.
6669 (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
6670 ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
6671 elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
6672 #ifndef dl_machine_h guarded part of the header.
6674 2005-04-14 Ulrich Drepper <drepper@redhat.com>
6677 * posix/execvp.c (execvp): Use file name including path when
6678 trying to run it with shell.
6679 * posix/Makefile: Add rules to build and run tst-execvp3.
6680 * posix/tst-execvp3.c: New file.
6682 2005-04-12 Ulrich Drepper <drepper@redhat.com>
6685 * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
6686 * string/tst-strfry.c: New file.
6687 * string/Makefile (tests): Add tst-strfry.
6689 2005-04-11 James A. Morrison <ja2morri@uwaterloo.ca>
6691 * manual/string.texi: Fix typo in wmemcpy decl.
6693 2005-04-10 David S. Miller <davem@davemloft.net>
6695 * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
6697 2005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca>
6699 * FAQ.in: Explain why `make' might fail running rpcgen.
6702 2005-04-07 Roland McGrath <roland@redhat.com>
6704 * po/libc.pot: Regenerated.
6706 2005-04-07 Roland McGrath <roland@redhat.com>
6708 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
6709 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
6710 GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
6711 we can skip the uname call if it's there.
6712 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
6713 DL_SYSDEP_OSCHECK here.
6714 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
6716 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
6717 Add _dl_sysinfo_map.
6718 * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
6719 rtld_is_main case. Call it unconditionally later.
6720 Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
6721 Initialize GLRO(dl_sysinfo_map).
6722 * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
6723 * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
6724 (_dl_important_hwcaps)
6725 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
6726 GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
6728 * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
6729 (hwcap_extra): New static variable.
6730 (is_hwcap_platform): Check hwcap_extra for a matching name.
6731 Remove tls special case.
6732 (path_hwcap): Likewise.
6733 (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
6734 and their names, stored in hwcap_extra.
6735 (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
6737 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
6738 _dl_hwcap and _dl_hwcap_mask.
6739 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
6740 AT_HWCAP to unsigned long int.
6741 * elf/dl-support.c (_dl_aux_init): Likewise.
6742 (_dl_hwcap): Update defn.
6744 * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
6745 * elf/ldconfig.c (search_dir): Likewise.
6747 2005-04-05 Roland McGrath <roland@redhat.com>
6749 * NEWS: Copy 2.3.5 section from 2.3 branch.
6751 * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary
6752 file and mv it into place.
6753 * intl/tst-gettext3.sh: Likewise.
6755 * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
6756 are up to date in srcdir. Touch all configure scripts after export.
6758 * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
6760 2005-04-05 H.J. Lu <hongjiu.lu@intel.com>
6763 * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
6764 (comment changes only).
6765 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
6766 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
6767 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
6768 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
6769 * sysdeps/ia64/fpu/e_exp.S: Likewise.
6770 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
6771 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
6772 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6773 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
6774 * sysdeps/ia64/fpu/e_expf.S: Likewise.
6775 * sysdeps/ia64/fpu/e_log.S: Likewise.
6776 * sysdeps/ia64/fpu/e_logf.S: Likewise.
6777 * sysdeps/ia64/fpu/e_pow.S: Likewise.
6778 * sysdeps/ia64/fpu/e_powf.S: Likewise.
6779 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
6780 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
6781 * sysdeps/ia64/fpu/libm_error.c: Likewise.
6782 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
6783 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
6784 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
6785 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
6786 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
6787 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
6788 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
6789 * sysdeps/ia64/fpu/s_cos.S: Likewise.
6790 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
6791 * sysdeps/ia64/fpu/s_erf.S: Likewise.
6792 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
6793 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
6794 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
6795 * sysdeps/ia64/fpu/s_erff.S: Likewise.
6796 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
6797 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
6798 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
6799 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
6800 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
6801 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
6802 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
6803 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
6804 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
6806 2005-04-05 Roland McGrath <roland@redhat.com>
6808 * scripts/config.guess: Update from master, timestamp='2005-03-24'.
6809 * scripts/config.sub: Update from master, timestamp='2005-02-10'.
6811 2005-04-04 David S. Miller <davem@davemloft.net>
6813 * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
6814 * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
6815 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
6816 (elf_machine_runtime_setup): Test for dl_profile non-null.
6817 * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
6818 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
6819 * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
6820 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
6821 (elf_machine_runtime_setup): Test for dl_profile non-null.
6822 * sysdeps/sparc/bits/link.h: New file.
6823 * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
6824 La_sparc64_regs, La_sparc64_retval): New.
6825 (struct audit_ifaces): Add sparc entries.
6826 * elf/tst-auditmod1.c: Add sparc entries.
6828 2005-03-27 Bruno Haible <bruno@clisp.org>
6830 * intl/tst-gettext3.c: New file.
6831 * intl/tst-gettext3.sh: New file.
6832 * intl/Makefile (distribute): Add tst-gettext3.sh.
6833 (test-srcs): Add tst-gettext3.
6834 (tests): Depend on tst-gettext3.out.
6835 (tst-gettext3.out): New rule.
6836 (CFLAGS-tst-gettext3.c): New variable.
6838 Fix bug exposed by tst-gettext3.
6839 * intl/gettextP.h (struct converted_domain): New type.
6840 (struct loaded_domain): Remove the conv, conv_tab fields. Add
6841 conversions, nconversions fields.
6842 (_nl_init_domain_conv): Remove declaration.
6843 (_nl_free_domain_conv): Remove declaration.
6844 (_nl_find_msg): Add convert argument.
6845 * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
6846 (_nl_find_msg): Add convert argument. When a conversion to a different
6847 charset is needed, create a new converted_domain element, instead of
6848 throwing away the old converted translations.
6849 (get_output_charset): New function.
6850 * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
6851 (_nl_free_domain_conv): Remove function.
6852 (_nl_load_domain): Initialize the conversions array to empty. Use
6853 _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
6855 (_nl_unload_domain): Free the conversions array and its contents.
6857 * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
6858 (struct binding): Likewise.
6859 * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
6862 2005-04-04 Jakub Jelinek <jakub@redhat.com>
6865 * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
6866 of trying to encode uninitialized arglen.
6868 2005-04-04 Ulrich Drepper <drepper@redhat.com>
6871 * timezone/scheck.c: Update from tzcode2005h.
6872 * timezone/tzfile.h: Likewise.
6873 * timezone/zdump.c: Likewise.
6874 * timezone/zic.c: Likewise.
6877 * timezone/antarctica: Update from tzdata2005h.
6878 * timezone/asia: Likewise.
6879 * timezone/australasia: Likewise.
6880 * timezone/etcetera: Likewise.
6881 * timezone/europe: Likewise.
6882 * timezone/northamerica: Likewise.
6883 * timezone/southamerica: Likewise.
6884 * timezone/leapseconds: Likewise.
6885 * timezone/iso3166.tab: Likewise.
6887 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
6890 * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
6892 2005-04-01 Ulrich Drepper <drepper@redhat.com>
6894 * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
6895 * wcsmbs/wctob.c (wctob): Likewise.
6896 * wcsmbs/wchar.h (btowc): Add optimized inline function.
6899 2005-03-31 Jakub Jelinek <jakub@redhat.com>
6901 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
6902 equivalent, but shorter instructions.
6903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6904 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6905 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6906 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6907 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6908 * sysdeps/x86_64/strchr.S: Likewise.
6909 * sysdeps/x86_64/memset.S: Likewise.
6910 * sysdeps/x86_64/strcspn.S: Likewise.
6911 * sysdeps/x86_64/strcmp.S: Likewise.
6912 * sysdeps/x86_64/elf/start.S: Likewise.
6913 * sysdeps/x86_64/strspn.S: Likewise.
6914 * sysdeps/x86_64/dl-machine.h: Likewise.
6915 * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
6916 * sysdeps/x86_64/bsd-setjmp.S: Likewise.
6917 * sysdeps/x86_64/strtok.S: Likewise.
6919 2005-03-30 H.J. Lu <hongjiu.lu@intel.com>
6922 * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
6923 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
6924 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
6925 * sysdeps/ia64/fpu/e_acosh.S: Likewise.
6926 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
6927 * sysdeps/ia64/fpu/e_acos.S: Likewise.
6928 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
6929 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
6930 * sysdeps/ia64/fpu/e_asin.S: Likewise.
6931 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
6932 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
6933 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
6934 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
6935 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
6936 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
6937 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
6938 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
6939 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
6940 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
6941 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
6942 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
6943 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
6944 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6945 * sysdeps/ia64/fpu/e_expf.S: Likewise.
6946 * sysdeps/ia64/fpu/e_exp.S: Likewise.
6947 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
6948 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
6949 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
6950 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
6951 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
6952 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
6953 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
6954 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
6955 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
6956 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
6957 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
6958 * sysdeps/ia64/fpu/e_log2.S: Likewise.
6959 * sysdeps/ia64/fpu/e_logf.S: Likewise.
6960 * sysdeps/ia64/fpu/e_logl.S: Likewise.
6961 * sysdeps/ia64/fpu/e_log.S: Likewise.
6962 * sysdeps/ia64/fpu/e_powf.S: Likewise.
6963 * sysdeps/ia64/fpu/e_powl.S: Likewise.
6964 * sysdeps/ia64/fpu/e_pow.S: Likewise.
6965 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
6966 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
6967 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
6968 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
6969 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
6970 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
6971 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
6972 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
6973 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
6974 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
6975 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
6976 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
6977 * sysdeps/ia64/fpu/libm_error.c: Likewise.
6978 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
6979 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
6980 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
6981 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
6982 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
6983 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
6984 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
6985 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
6986 * sysdeps/ia64/fpu/libm_support.h: Likewise.
6987 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
6988 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
6989 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
6990 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
6991 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
6992 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
6993 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
6994 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
6995 * sysdeps/ia64/fpu/s_cos.S: Likewise.
6996 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
6997 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
6998 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
6999 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
7000 * sysdeps/ia64/fpu/s_erf.S: Likewise.
7001 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
7002 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
7003 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
7004 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
7005 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
7006 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
7007 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
7008 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
7009 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
7010 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
7011 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
7012 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
7013 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
7014 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
7015 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
7016 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
7017 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
7018 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
7019 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
7020 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
7021 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
7022 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
7023 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
7024 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
7025 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
7026 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
7027 * sysdeps/ia64/fpu/s_logb.S: Likewise.
7028 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
7029 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
7030 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
7031 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
7032 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
7033 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
7034 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
7035 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
7036 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
7037 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
7038 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
7039 * sysdeps/ia64/fpu/s_round.S: Likewise.
7040 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
7041 * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
7042 * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
7043 * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
7044 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
7045 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
7046 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
7047 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
7048 * sysdeps/ia64/fpu/s_tan.S: Likewise.
7049 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
7050 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
7051 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
7052 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
7053 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
7054 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
7057 * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
7058 * sysdeps/ia64/fpu/libm_error_codes.h: New file.
7061 * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
7063 * sysdeps/ia64/fpu/import_file.awk: Likewise.
7064 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
7065 * sysdeps/ia64/fpu/Makefile: Likewise.
7067 2005-03-29 Jakub Jelinek <jakub@redhat.com>
7070 * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
7071 avoid calling mbsrtowcs twice.
7073 2005-03-29 Roland McGrath <roland@redhat.com>
7075 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
7076 function, inline broken out of ...
7077 (DL_SYSDEP_OSCHECK): ... here. Use that.
7078 Do the discovery and set GLRO(dl_osversion) if successful,
7079 if __LINUX_KERNEL_VERSION <= 0.
7080 * elf/dl-load.c: Don't include dl-osinfo.h here.
7082 2005-03-29 Alfred M. Szmidt <ams@gnu.org>
7084 * manual/install.texi (Tools for Compilation): GNU binutils 2.15
7087 2005-03-19 Bruno Haible <bruno@clisp.org>
7089 * intl/dcigettext.c (struct known_translation_t): Change type of
7090 domainname field to 'const char *'.
7091 (DCIGETTEXT): Remove const-cast.
7093 2005-03-29 Thorsten Kukuk <kukuk@suse.de>
7096 * grp/initgroups.c (internal_getgrouplist): Check if we have
7097 enough space before adding the primary group to the list.
7099 * posix/tst-execle1.c (do_test): Fix execle arguments.
7100 * posix/tst-execle2.c (do_test): Likewise.
7102 2005-03-28 Roland McGrath <roland@redhat.com>
7104 * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
7105 Reported by Mark Mitchell <mark@codesourcery.com>.
7106 * Versions.def (libm): Define GLIBC_2.4 set.
7107 * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
7108 * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
7109 * sysdeps/ia64/Versions: Likewise.
7110 * sysdeps/m68k/Versions: Likewise.
7111 * sysdeps/sparc/sparc64/Versions: Likewise.
7112 * sysdeps/x86_64/Versions: New file.
7113 * sysdeps/mips/mips64/Versions: New file.
7115 * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
7116 [__USE_GNU] (NL_LOCALE_NAME): New macro.
7117 * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
7118 return locale name string for the category.
7120 2005-03-25 Jakub Jelinek <jakub@redhat.com>
7123 * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
7126 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
7128 * sysdeps/mips/atomicity.h: Remove unused file.
7129 * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
7130 * sysdeps/mips/dl-tls.h: New file.
7131 * sysdeps/mips/libc-tls.c: New file.
7132 * sysdeps/mips/tls-macros.h: New file.
7133 * sysdeps/mips/bits/atomic.h: New file.
7134 * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
7135 * sysdeps/mips/elf/configure.in: New file.
7136 * sysdeps/mips/elf/configure: Generated.
7137 * sysdeps/mips/sys/asm.h: New file.
7138 * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
7139 * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
7141 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
7142 (INTERNAL_SYSCALL_NCS): New.
7143 (INTERNAL_SYSCALL): Update for non-constant support.
7144 (internal_syscall0): Likewise.
7145 (internal_syscall1): Likewise.
7146 (internal_syscall2): Likewise.
7147 (internal_syscall3): Likewise.
7148 (internal_syscall4): Likewise.
7149 (internal_syscall5): Likewise.
7150 (internal_syscall6): Likewise.
7151 (internal_syscall7): Likewise.
7152 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
7153 Update to match the kernel.
7154 (SIGEV_CALLBACK): Likewise.
7155 (SIGEV_THREAD_ID): Likewise.
7157 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
7160 * elf/tst-auditmod1.c: Add MIPS support.
7161 * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
7162 (La_mips_32_retval): New.
7163 (La_mips_64_regs): New.
7164 (La_mips_64_retval): New.
7165 (struct audit_ifaces): Add MIPS entries.
7166 * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
7167 (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
7168 ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
7169 ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
7170 (RTLD_START): Align the stack before calling _dl_init_internal.
7171 Use .ent for _dl_start_user.
7172 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
7173 (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
7174 (elf_machine_runtime_setup): Use "auto inline".
7175 (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
7176 (elf_machine_got_rel): Likewise. Use RESOLVE_MAP.
7177 * sysdeps/mips/dl-trampoline.c: New file.
7178 * sysdeps/mips/bits/link.h: New file.
7179 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
7180 (internal_syscall5): Use register operands instead of non-lvalue
7182 (internal_syscall6): Likewise.
7183 (internal_syscall7): Likewise.
7185 2005-03-27 Andreas Jaeger <aj@suse.de>
7187 * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
7188 avoid warnings with older compiler.
7189 (__builtin___memcpy_chk): Likewise.
7190 (__builtin___memmove_chk: Likewise.
7191 (__builtin___mempcpy_chk): Likewise.
7192 (__builtin___memset_chk): Likewise.
7193 (__builtin___stpcpy_chk): Likewise.
7194 (__builtin___strcat_chk): Likewise.
7195 (__builtin___strcpy_chk): Likewise.
7196 (__builtin___strncat_chk): Likewise.
7197 (__builtin___strncpy_chk): Likewise.
7198 (__builtin_object_size): Likewise.
7200 2005-03-27 Daniel Jacobowitz <dan@codesourcery.com>
7202 * elf/tls-macros.h: Correct typo.
7204 2005-03-23 Jakub Jelinek <jakub@redhat.com>
7207 * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
7208 (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
7210 2005-03-22 Roland McGrath <roland@redhat.com>
7212 * locale/setlocale.c: Comment typo.
7214 * scripts/versions.awk: No errors for GLIBC_PRIVATE.
7216 * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
7218 * scripts/versions.awk: Print all errors and die at the end.
7219 Use library name in versions array keys.
7221 2005-03-22 Daniel Jacobowitz <dan@codesourcery.com>
7223 * elf/elf.h (PT_ARM_EXIDX): New macro.
7225 2005-03-21 Thorsten Kukuk <kukuk@suse.de>
7228 * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
7229 Convert correctly between long/int on 64bit big-endian.
7231 2005-03-21 David Mosberger <davidm@hpl.hp.com>
7233 * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
7234 with more than 8 output registers. Fix this by passing original
7235 ar.pfs to _mcount_ret_helper via r3.
7237 2005-03-15 Jakub Jelinek <jakub@redhat.com>
7240 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
7241 GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
7242 * elf/Makefile: Add rules to build and run tst-tls15.
7243 * elf/tst-tls15.c: New test.
7244 * elf/tst-tlsmod15a.c: New file.
7245 * elf/tst-tlsmod15b.c: New file.
7247 2005-03-20 Ulrich Drepper <drepper@redhat.com>
7249 * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
7251 2005-03-20 Alfred M. Szmidt <ams@gnu.org>
7253 * elf/dl-open.c (dl_open_worker): Fix typo.
7255 2005-03-20 Ulrich Drepper <drepper@redhat.com>
7257 * malloc/malloc.c (public_cALLOc): We cannot skip the memory
7258 clearing if perturb_byte != 0.
7260 2005-03-20 Jakub Jelinek <jakub@redhat.com>
7262 * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
7263 instead of __off_t for last argument.
7264 * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
7265 * debug/tst-lfschk1.c: New test.
7266 * debug/tst-lfschk2.c: New test.
7267 * debug/tst-lfschk3.c: New test.
7269 2005-02-09 Jakub Jelinek <jakub@redhat.com>
7271 * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
7272 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
7273 and __USE_XOPEN guards to match linux/bits/termios.h.
7274 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7276 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7278 2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
7281 * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
7283 2005-02-27 Denis Barbier <barbier@debian.org>
7286 * locale/iso-4217.def: Add CSD currency.
7288 2005-03-19 Ulrich Drepper <drepper@redhat.com>
7290 * inet/test-ifaddrs.c: Use test-skeleton.
7291 * inet/test_ifindex.c: Likewise.
7294 * elf/dl-lookup.c (add_dependency): Always search l_initfini if
7298 * elf/Makefile: Add rules to build and run order2.
7299 * elf/order2.c: New file.
7300 * elf/order2mod1.c: New file.
7301 * elf/order2mod2.c: New file.
7302 * elf/order2mod3.c: New file.
7303 * elf/order2mod4.c: New file.
7305 2005-03-19 Jakub Jelinek <jakub@redhat.com>
7308 * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
7309 it has been incremented before.
7311 2005-03-18 Ulrich Drepper <drepper@redhat.com>
7314 * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
7315 function _dl_sort_fini.
7316 (_dl_sort_fini): New function.
7317 * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
7318 * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
7319 destructors to call them in the right order.
7321 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
7323 * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
7324 (La_ppc64_retval): Correct size of lrc_fp.
7325 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
7326 Fix up ABI problems and complete function.
7328 2005-03-10 Jakub Jelinek <jakub@redhat.com>
7330 * math/test-misc.c (main): Add some more tests.
7332 2005-03-17 Jakub Jelinek <jakub@redhat.com>
7334 * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
7335 __wcrtomb. Check return values of other __wcrtomb calls.
7336 * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
7337 Change mbclen type to size_t.
7338 (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
7339 Handle mb chars whose upper case doesn't have multibyte representation
7340 in locale's charset.
7342 2005-03-15 Jakub Jelinek <jakub@redhat.com>
7344 * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
7345 public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
7349 * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
7352 2005-03-10 Jakub Jelinek <jakub@redhat.com>
7354 * misc/sys/cdefs.h (__always_inline): Define.
7355 * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
7356 Use __always_inline instead of __inline.
7357 * socket/bits/socket2.h (recv, recvfrom): Likewise.
7358 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
7359 * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
7360 __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
7361 __strcat_ichk, __strncat_ichk): Use __always_inline instead of
7362 __inline__ __attribute__ ((__always_inline__)).
7364 2005-03-09 Jakub Jelinek <jakub@redhat.com>
7366 * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
7367 (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
7368 readlink. Add some more tests for read, pread, pread64, fgets and
7371 * posix/bits/unistd.h (read, pread, pread64, readlink,
7372 getcwd, getwd): Change macros into extern inline functions.
7373 (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
7374 __getcwd_alias, __getwd_alias): New prototypes.
7375 * socket/bits/socket2.h (recv, recvfrom): Change macros into
7376 extern inline functions.
7377 (__recv_alias, __recvfrom_alias): New prototypes.
7378 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
7379 into extern inline functions.
7380 (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
7382 * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
7384 * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
7387 2005-03-18 Daniel Jacobowitz <dan@codesourcery.com>
7389 * configure.in: Use %function instead of @function.
7391 2005-03-18 Ulrich Drepper <drepper@redhat.com>
7394 * include/link.h (struct link_map): Remove l_opencount. Add l_removed.
7395 Change type of l_idx to int.
7396 * elf/dl-close.c: Basically rewrite. Do not use l_opencount to
7397 determine whether a DSO has to be unloaded. Instead compute this
7399 * elf/dl-deps.c: No need to manipulate l_opencount anymore.
7400 * elf/dl-lookup.c: Likewise.
7401 * elf/rtld.c: Likewise
7402 * elf/dl-open.c: Likewise. Use l_init_called to determine whether
7403 object was just loaded.
7404 * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
7405 * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
7406 is about to be unloaded as a match.
7407 (_dl_map_object): Likewise.
7408 * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
7410 * elf/circleload1.c: Don't use l_opencount anymore.
7411 * elf/neededtest.c: Likewise.
7412 * elf/neededtest2.c: Likewise.
7413 * elf/neededtest3.c: Likewise.
7414 * elf/neededtest4.c: Likewise.
7415 * elf/unload.c: Likewise.
7416 * elf/unload2.c: Likewise.
7417 * elf/loadtest.c: Likewise.
7420 * elf/rtld.c: Preloading errors are now never fatal.
7422 2005-03-08 Jakub Jelinek <jakub@redhat.com>
7425 * elf/Makefile: Add rules to build and run unload5 test.
7426 * elf/unload5.c: New file.
7429 * elf/Makefile: Add rules to build and run unload4 test.
7430 * elf/unload4.c: New file.
7431 * elf/unload4mod1.c: New file.
7432 * elf/unload4mod2.c: New file.
7433 * elf/unload4mod3.c: New file.
7434 * elf/unload4mod4.c: New file.
7436 2005-03-17 Roland McGrath <roland@redhat.com>
7438 * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
7440 2005-03-16 Richard Henderson <rth@redhat.com>
7443 * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
7445 (__hidden_def1, __hidden_dot_def1): Remove.
7446 (__hidden_def2, __hidden_def3): Remove.
7447 (__hidden_ver1): New.
7448 (hidden_ver, hidden_def, hidden_weak): Use it.
7449 (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
7450 version of the macro.
7453 * include/wchar.h (__wcscoll): Remove.
7454 * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
7455 * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
7457 2005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
7459 * elf/elf.h: Define MIPS TLS relocations.
7461 2005-03-16 Ulrich Drepper <drepper@redhat.com>
7463 * elf/circleload1.c (main): Pretty printing.
7465 2005-03-15 Jakub Jelinek <jakub@redhat.com>
7467 * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
7468 Patch by Dan Kegel <dank@kegel.com>.
7471 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
7472 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
7474 * sysdeps/alpha/dl-machine.h (elf_machine_rela,
7475 elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
7477 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7478 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change
7479 static inline into auto inline.
7480 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7481 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
7482 * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
7484 * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
7485 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
7488 2005-03-15 Jakub Jelinek <jakub@redhat.com>
7491 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
7492 Remove memory clobber.
7494 * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
7495 thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff.
7497 2005-03-14 Jakub Jelinek <jakub@redhat.com>
7499 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
7502 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
7504 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
7506 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7507 Correct MAP_GROWSDOWN value.
7509 2005-03-13 Roland McGrath <roland@redhat.com>
7511 * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
7512 version if there is one. Only #error if macros are then undefined.
7513 * sysdeps/generic/tls-macros.h: New file.
7515 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
7517 * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
7518 * sysdeps/hppa/configure: Regenerated.
7520 2005-03-08 Roland McGrath <roland@redhat.com>
7522 * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
7523 array types match exactly in C alias decls.
7525 2005-03-07 Ulrich Drepper <drepper@redhat.com>
7527 * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
7528 mallopt appropriately.
7529 * malloc/malloc.h: Define M_PERTURB.
7530 * malloc/malloc.c (perturb_byte): New variable.
7531 (alloc_perturb, free_perturb): New macros.
7532 (_int_malloc): Before returning, overwrite the memory if this is
7534 (_int_free): Overwrite freed memory if requested.
7535 (mALLOPt): Handle M_PERTURB.
7536 * test-skeleton.c: Add call to mallopt with M_PERTURB command.
7538 * elf/dl-close.c (_dl_close): Decrement l_opencount before
7539 printing debug message.
7540 * elf/dl-open.c (dl_open_worker): Always print the new opencount
7543 2005-03-06 Ulrich Drepper <drepper@redhat.com>
7545 * elf/dl-close.c (_dl_close): Unify debug message format.
7547 * elf/dl-close.c (_dl_close): Print debug message just before
7548 destroying a link map.
7550 * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
7551 * elf/dl-version.c (match_symbol): Likewise.
7553 * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
7555 * debug/recv_chk.c (__recv_chk): Always fail if request could
7556 overflow the buffer.
7557 * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
7558 * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
7559 we know the call succeeds.
7560 (recvfrom): Likewise.
7562 2005-03-05 Ulrich Drepper <drepper@redhat.com>
7564 * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
7566 * posix/regex_internal.c (re_string_reconstruct): Add cast to
7568 (build_wcs_upper_buffer): Change type of bug to plain char.
7569 * locale/weightwc.h (findidx): Add casts to avoid warnings.
7570 * time/mktime.c (ranged_convert): Initialize tm to make the
7572 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
7573 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
7574 * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
7575 * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
7576 * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
7577 * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
7578 * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
7579 * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
7580 * libio/iofwide.c: Add casts to avoid warnings.
7581 * stdio-common/printf-prs.c (parse_printf_format): Introduce new
7582 variable f to avoid warnings.
7583 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7584 Fix a few casts to avoid warnings.
7585 * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
7589 * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
7590 dynamically sized array.
7591 (build_wcs_upper_buffer): Likewise.
7593 2005-03-05 Jakub Jelinek <jakub@redhat.com>
7595 * include/bits/unistd.h: New file.
7596 * include/bits/socket2.h: New file.
7598 2005-03-05 Ulrich Drepper <drepper@redhat.com>
7600 * sunrpc/key_call.c: Remove doors support.
7601 * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
7602 * configure.in: Remove test for doors support which never existed.
7603 * config.make.in: Remove have_doors entry.
7605 * configure.in: Make sure at least gcc 3.4 is used. Undo last change.
7606 * config.make.in: Undo last change.
7608 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
7611 2005-03-05 Roland McGrath <roland@redhat.com>
7613 * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
7614 (_dl_out_of_memory): Use rtld_hidden_proto.
7615 * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
7616 (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
7617 * elf/dl-open.c (_dl_open): Likewise.
7618 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7620 * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
7622 * elf/dl-addr.c (_dl_addr): Add a cast.
7625 * elf/unload3mod4.c: Declare foo.
7626 * elf/testobj2.c: Include <stdio.h>.
7628 * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
7629 value constant, and use it in the defn.
7630 * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
7631 Use actual size for compat array decls.
7633 * config.make.in (cc-mtune): New substituted variable.
7634 * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
7635 done only if libc_mtune_example is defined.
7636 * sysdeps/i386/configure.in (libc_mtune_example): Set it.
7637 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
7639 2005-03-05 Jakub Jelinek <jakub@redhat.com>
7642 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
7643 unconditionally to (defined RTLD_BOOTSTRAP).
7644 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
7646 2005-03-05 Jakub Jelinek <jakub@redhat.com>
7648 * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
7649 $(inst_slibdir) in AS_NEEDED directive.
7651 2005-03-03 Jakub Jelinek <jakub@redhat.com>
7653 * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
7655 2005-03-01 H.J. Lu <hongjiu.lu@intel.com>
7658 * iconv/iconvconfig.c: Fix comment for the output file.
7659 (write_output): Clear padding in header.
7661 2005-03-03 Ulrich Drepper <drepper@redhat.com>
7664 * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
7665 loader is closed. Fixes unload3.
7666 * elf/tst-global1.c: New file.
7667 * elf/Makefile (tests): Add tst-global1.
7668 * elf/testobj2.c (p): New function.
7670 2005-03-03 Jakub Jelinek <jakub@redhat.com>
7673 * elf/Makefile: Add rules to build and run unload3 test.
7674 * elf/unload3.c: New test.
7675 * elf/unload3mod1.c: New file.
7676 * elf/unload3mod2.c: New file.
7677 * elf/unload3mod3.c: New file.
7678 * elf/unload3mod4.c: New file.
7680 2005-02-21 Alan Modra <amodra@bigpond.net.au>
7683 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
7686 2005-03-01 Jakub Jelinek <jakub@redhat.com>
7688 * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
7690 * socket/bits/socket2.h (recv, recvfrom): Likewise.
7692 2005-03-01 Roland McGrath <roland@redhat.com>
7695 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
7698 2005-03-01 Alfred M. Szmidt <ams@gnu.org>
7701 * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
7702 Add missing initializer.
7705 * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
7706 USE_TLS && !USE___THREAD].
7708 2005-02-26 GOTO Masanori <gotom@debian.or.jp>
7710 * csu/Makefile: Use printf instead of echo for some shells.
7712 2005-02-28 Roland McGrath <roland@redhat.com>
7714 * debug/warning-nop.c (__nop): Rename to nop, make it static.
7715 (__warndecl): Use alias attribute directly, instead of strong_alias
7716 macro. Add attribute_hidden.
7718 2005-02-28 Ulrich Drepper <drepper@redhat.com>
7720 * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
7721 determine the call will never trigger a failure.
7722 * debug/read_chk.c (__read_chk): Always fail if the buffer is too
7724 * debug/readlink_chk.c (__readlink_chk): Likewise.
7725 * debug/pread64_chk.c (__pread64_chk): Likewise.
7726 * debug/pread_chk.c (__pread_chk): Likewise.
7728 * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
7729 * sysdeps/x86_64/memset_chk.S: Likewise.
7731 2005-02-24 Roland McGrath <roland@redhat.com>
7733 * debug/Versions (libc: GLIBC_2.4): Remove
7734 __memset_zero_constant_len_parameter.
7735 * sysdeps/generic/memset_chk.c: Remove alias and warning.
7736 * misc/sys/cdefs.h (__warndecl): New macro.
7737 * debug/warning-nop.c: New file.
7738 * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
7739 arguments, instead of calling __memset_zero_constant_len_parameter.
7740 Use __warndecl for __warn_memset_zero_len.
7741 * debug/Makefile (routines): Add $(static-only-routines).
7742 (static-only-routines): New variable.
7744 2005-02-27 Ulrich Drepper <drepper@redhat.com>
7746 * po/tr.po: Update from translation team.
7748 2005-02-26 Ulrich Drepper <drepper@redhat.com>
7750 * elf/dl-addr.c: Cleanups. Move declaration next to first use.
7752 * dlfcn/dlerror.c (check_free): New function. Extract common code
7753 from fini and free_key_mem. Check whether this is libdl in the
7756 2005-02-25 Ulrich Drepper <drepper@redhat.com>
7758 * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
7761 2004-11-11 Richard Sandiford <rsandifo@redhat.com>
7764 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
7765 preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
7766 like __NR_N32_open. Just include <asm/unistd.h> otherwise.
7767 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7768 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
7769 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
7770 standard __NR prefix.
7771 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
7772 * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
7773 the output file is compatible with both pre-2.6 and 2.6 kernel headers.
7774 Extract separate syscall lists for each ABI.
7776 2005-02-23 Ulrich Drepper <drepper@redhat.com>
7778 * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
7781 * elf/Makefile: Run tst-tls9-static again.
7783 2005-02-22 Ulrich Drepper <drepper@redhat.com>
7786 * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
7788 (__libc_setup_tls): Initialize length of DTV based on array length.
7789 * elf/dl-load.c: Revert last change.
7790 * sysdeps/generic/dl-tls.c: Revert last change.
7792 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
7793 tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
7794 tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
7795 * posix/tst-execl1.c: New file.
7796 * posix/tst-execl2.c: New file.
7797 * posix/tst-execle1.c: New file.
7798 * posix/tst-execle2.c: New file.
7799 * posix/tst-execlp1.c: New file.
7800 * posix/tst-execlp2.c: New file.
7801 * posix/tst-execv1.c: New file.
7802 * posix/tst-execv2.c: New file.
7803 * posix/tst-execve1.c: New file.
7804 * posix/tst-execve2.c: New file.
7805 * posix/tst-execvp1.c: New file.
7806 * posix/tst-execvp2.c: New file.
7808 2005-02-22 Roland McGrath <roland@redhat.com>
7810 * include/signal.h: Revert last change.
7811 (__sigemptyset): Use __builtin_memset instead of memset.
7813 2005-02-22 Ulrich Drepper <drepper@redhat.com>
7815 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
7816 non-cancelable I/O functions.
7818 2005-02-22 Jakub Jelinek <jakub@redhat.com>
7821 * nscd/nscd-client.h: Include sys/uio.h.
7822 (__readall, __readvall, writeall): New prototypes.
7823 * nscd/connections.c (writeall): New function.
7824 (handle_request): Use it.
7825 * nscd/aicache.c (addhstaiX): Likewise.
7826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7827 * nscd/hstcache.c (cache_addhst): Likewise.
7828 * nscd/grpcache.c (cache_addgr): Likewise.
7829 * nscd/pwdcache.c (cache_addpw): Likewise.
7830 * nscd/nscd_helper.c (__readall, __readvall): New functions.
7831 * nscd/nscd_getai.c (__nscd_getai): Use them.
7832 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
7833 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7834 * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
7835 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7837 2005-02-22 Roland McGrath <roland@redhat.com>
7839 * include/sys/socket.h: Declare __recv.
7840 * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
7841 * sysdeps/mach/hurd/recv.c: Likewise.
7843 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
7844 __backtrace_* decls.
7846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7847 (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR.
7848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7850 * include/signal.h: Include <string.h> for memset decl.
7852 2005-02-22 Andreas Schwab <schwab@suse.de>
7854 * posix/execvp.c (execvp): Fix invalid free.
7856 2005-02-22 Jakub Jelinek <jakub@redhat.com>
7859 * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
7860 * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
7861 librpcsvc.a objects.
7863 2005-02-21 Ulrich Drepper <drepper@redhat.com>
7866 * iconvdata/ibm930.h: Correct Yen mapping.
7867 * iconvdata/ibm939.h: Likewise.
7868 * iconvdata/testdata/IBM930..UTF8: Adjust test data.
7869 * iconvdata/testdata/IBM939..UTF8: Likewise.
7870 Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
7872 * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
7873 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
7874 (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
7875 ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
7876 ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
7877 ibm1158.c, and ibm1158.h.
7878 * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
7879 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
7880 * iconvdata/gconv-modules: Likewise.
7881 * iconvdata/ibm1025.c: New file.
7882 * iconvdata/ibm1025.h: New file.
7883 * iconvdata/ibm1122.c: New file.
7884 * iconvdata/ibm1122.h: New file.
7885 * iconvdata/ibm1137.c: New file.
7886 * iconvdata/ibm1137.h: New file.
7887 * iconvdata/ibm1153.c: New file.
7888 * iconvdata/ibm1153.h: New file.
7889 * iconvdata/ibm1154.c: New file.
7890 * iconvdata/ibm1154.h: New file.
7891 * iconvdata/ibm1155.c: New file.
7892 * iconvdata/ibm1155.h: New file.
7893 * iconvdata/ibm1156.c: New file.
7894 * iconvdata/ibm1156.h: New file.
7895 * iconvdata/ibm1157.c: New file.
7896 * iconvdata/ibm1157.h: New file.
7897 * iconvdata/ibm1158.c: New file.
7898 * iconvdata/ibm1158.h: New file.
7899 * iconvdata/testdata/IBM1025: New file.
7900 * iconvdata/testdata/IBM1025..UTF8: New file.
7901 * iconvdata/testdata/IBM1122: New file.
7902 * iconvdata/testdata/IBM1122..UTF8: New file.
7903 * iconvdata/testdata/IBM1137: New file.
7904 * iconvdata/testdata/IBM1137..UTF8: New file.
7905 * iconvdata/testdata/IBM1153: New file.
7906 * iconvdata/testdata/IBM1153..UTF8: New file.
7907 * iconvdata/testdata/IBM1154: New file.
7908 * iconvdata/testdata/IBM1154..UTF8: New file.
7909 * iconvdata/testdata/IBM1155: New file.
7910 * iconvdata/testdata/IBM1155..UTF8: New file.
7911 * iconvdata/testdata/IBM1156: New file.
7912 * iconvdata/testdata/IBM1156..UTF8: New file.
7913 * iconvdata/testdata/IBM1157: New file.
7914 * iconvdata/testdata/IBM1157..UTF8: New file.
7915 * iconvdata/testdata/IBM1158: New file.
7916 * iconvdata/testdata/IBM1158..UTF8: New file.
7917 Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
7919 2005-02-10 Paolo Bonzini <bonzini@gnu.org>
7921 * posix/regcomp.c (lower_subexp): Do not optimize empty
7922 subexpressions even with REG_NOSUB.
7923 * posix/rxspencer/tests: Add a previously failing testcase.
7925 2005-02-21 Alan Modra <amodra@bigpond.net.au>
7928 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
7929 array index is within bounds.
7931 2005-02-21 Ulrich Drepper <drepper@redhat.com>
7934 * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
7936 * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
7937 * elf/Makefile: Remove rules to build and run tst-tls9-static.
7940 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
7941 THREAD_DTV multiple times, this minimally reduces code size on
7944 2005-02-21 Jakub Jelinek <jakub@redhat.com>
7947 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
7948 NETDB_INTERNAL if buffer is too small.
7951 * nscd/hstcache.c (INCR): Remove.
7952 (addhstbyX): Double buflen in each iteration rather than add INCR.
7953 * nscd/grpcache.c: Likewise.
7954 * nscd/pwdcache.c: Likewise.
7956 2005-02-21 Ulrich Drepper <drepper@redhat.com>
7958 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
7960 * debug/chk_fail.c: Request backtrace and memory map dump.
7962 * Versions.def: Add GLIBC_2.4 for libc.
7963 * debug/fgets_chk.c: New file.
7964 * debug/fgets_u_chk.c: New file.
7965 * debug/getcwd_chk.c: New file.
7966 * debug/getwd_chk.c: New file.
7967 * debug/readlink_chk.c: New file.
7968 * debug/read_chk.c: New file.
7969 * debug/pread_chk.c: New file.
7970 * debug/pread64_chk.c: New file.
7971 * debug/recv_chk.c: New file.
7972 * debug/recvfrom_chk.c: New file.
7973 * debug/Versions: Add all new functions with version GLIBC_2.4.
7974 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
7975 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
7976 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
7977 * debug/tst-chk1.c: Add more tests.
7978 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
7979 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
7980 * posix/unistd.h: Include <bits/unistd.h> for fortification.
7981 * posix/bits/unistd.h: New file.
7982 * posix/Makefile (headers): Add bits/unistd.h.
7983 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
7984 * socket/bits/socket2.h: New file.
7985 * socket/Makefile (headers): Add bits/socket2.h.
7987 * string/bits/string3.h: Extend memset macro to check for zero 3rd
7988 parameter and use __memset_zero_constant_len_parameter in that case.
7989 * sysdeps/generic/memset_chk.c: Add
7990 __memset_zero_constant_len_parameter alias and linker warning.
7991 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
7992 with version GLIBC_2.4.
7994 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
7995 in __STD_TYPE definition.
7997 2005-02-21 Jakub Jelinek <jakub@redhat.com>
7999 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
8000 the error message rather than program name.
8002 2005-02-21 Ulrich Drepper <drepper@redhat.com>
8005 * posix/unistd.h: symlink and readlink are unconditionally
8006 available in the 2001 spec.
8008 2005-02-16 Roland McGrath <roland@redhat.com>
8010 * intl/dcigettext.c (_nl_find_msg): Add a cast.
8012 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
8013 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
8014 * nis/nis_clone_res.c (nis_clone_result): Likewise.
8016 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
8017 for END_OF_MESSAGE and CP.
8019 * resolv/res_send.c (send_dg): Add else branch for case impossible
8020 unless `poll' is buggy.
8022 * crypt/crypt_util.c (__setkey_r): Add a cast.
8024 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
8025 NBYTES, and unsigned char * for BYTES.
8027 * locale/programs/charmap.c (charmap_new_char): Use size_t and
8028 unsighed char * for NBYTES, BYTES parameters.
8030 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
8032 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
8034 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
8036 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
8038 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
8039 (authdes_marshal): Don't use unsigned int for LEN.
8040 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
8041 (xdr_u_hyper): Likewise.
8042 (xdr_u_short): Don't use u_long for L.
8043 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
8045 * inet/rexec.c (rexec_af): Use socklen_t.
8046 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
8047 * sunrpc/rtime.c (rtime): Likewise.
8048 * resolv/res_send.c (send_vc, send_dg): Likewise.
8049 * nis/nis_callback.c (__nis_create_callback): Likewise.
8051 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
8053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
8055 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
8057 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
8058 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
8059 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
8060 * intl/bindtextdom.c (INTUSE): Macro removed.
8061 (_nl_default_dirname): Use libc_hidden_proto.
8062 (set_binding_values): Don't use INTUSE.
8063 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
8064 (_libc_intl_domainname): Use libc_hidden_proto.
8065 * posix/regex_internal.h (gettext): Remove INTUSE on it.
8066 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
8068 * include/libintl.h (_): Don't use *_internal name.
8070 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
8072 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
8074 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
8077 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
8079 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
8080 * sysdeps/powerpc/powerpc32/dl-machine.h
8081 (elf_machine_rel, elf_machine_rel_relative): Removed.
8082 * sysdeps/powerpc/powerpc64/dl-machine.h
8083 (elf_machine_rel, elf_machine_rel_relative): Removed.
8085 2005-02-03 Alexandre Oliva <aoliva@redhat.com>
8088 * elf/dynamic-link.h: Don't declare nested auto functions that are
8089 not going to be defined.
8091 2004-07-23 Jakub Jelinek <jakub@redhat.com>
8094 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
8095 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
8097 2005-02-16 Roland McGrath <roland@redhat.com>
8099 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
8100 inside [! SHARED] where it's used.
8102 2005-02-15 Ulrich Drepper <drepper@redhat.com>
8104 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
8105 functions and macros is unsigned.
8107 2005-02-11 Barry deFrese <bddebian@comcast.net>
8110 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
8111 * sysdeps/mach/hurd/setresuid.c: Likewise.
8113 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
8115 * misc/sys/syslog.h: Fix typo in comment.
8117 2005-02-14 Roland McGrath <roland@redhat.com>
8120 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
8121 if it wasn't originally.
8123 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
8125 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
8127 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8128 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8130 2005-02-11 Jakub Jelinek <jakub@redhat.com>
8132 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
8135 2005-02-14 Alan Modra <amodra@bigpond.net.au>
8138 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
8139 with auto inline, and attribute always_inline.
8140 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
8141 (elf_machine_rel, elf_machine_rel_relative): Likewise.
8142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8143 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
8144 (elf_machine_rel, elf_machine_rel_relative): Likewise.
8145 (elf_machine_tprel): Likewise.
8147 2005-02-14 Andreas Schwab <schwab@suse.de>
8149 * manual/filesys.texi (Random Access Directory): Fix type of file
8150 position value for telldir and seekdir.
8151 (Attribute Meanings): Fix typo.
8153 2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
8155 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
8157 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
8158 if SHARED isn't defined.
8159 * elf/Makefile (tests-static): Add tst-array1-static.
8160 ($(objpfx)tst-array1-static.out): New target.
8161 * elf/tst-array1-static.c: New file.
8163 2005-02-11 Jakub Jelinek <jakub@redhat.com>
8166 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
8167 __libc_message to kill GCC warning about noreturn function returning.
8169 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
8170 before relocating ld.so again.
8172 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
8173 for already prelinked ld.so.
8175 2005-02-11 Roland McGrath <roland@redhat.com>
8178 * Makefile (installed-stubs): New variable.
8179 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
8180 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
8181 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
8182 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
8184 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
8185 * include/stubs-biarch.h: New file.
8187 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
8189 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
8190 Emit defn for variable `biarch'.
8192 * include/stub-tag.h: Update comment.
8194 * scripts/soversions.awk: Fix default version set handling.
8196 2005-02-10 Roland McGrath <roland@redhat.com>
8199 * include/libc-symbols.h (stub_warning): Emit a marker section called
8200 .gnu.glibc-stub.NAME.
8201 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
8202 Use objdump to collect those marker section names.
8203 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
8205 * Rules (subdir_objs, subdir_stubs): New phony targets.
8206 * Makefile (+subdir_targets): Add them.
8208 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
8211 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
8212 Reported by H.J. Lu <hongjiu.lu@intel.com>.
8214 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
8217 2005-02-10 Jakub Jelinek <jakub@redhat.com>
8219 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
8220 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
8221 * sysdeps/powerpc/bits/link.h: ... here. New file.
8223 2005-02-09 Jakub Jelinek <jakub@redhat.com>
8226 * stdlib/random_r.c (__initstate_r): Save old state.
8227 * stdlib/Makefile (tests): Add tst-random2.
8228 * stdlib/tst-random2.c: New test.
8229 Reported by Peter Bergner <bergner@vnet.ibm.com>.
8231 2005-01-25 H.J. Lu <hongjiu.lu@intel.com>
8233 * dlfcn/dlfcn.c (init): Put it in .init_array section.
8235 2005-02-10 Roland McGrath <roland@redhat.com>
8238 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
8240 Grok shlib-versions lines with WORDSIZE* in second column.
8241 Add new leading column to output, DEFAULT for existing output lines.
8242 Also emit lines with WORDSIZE* for alternate configurations.
8243 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
8244 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
8245 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
8246 of soversions.mk; replace inline shell script with use of ...
8247 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
8248 emit multiple sets of macros under #if.
8249 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
8250 (s390x-.*-.*): Likewise for s390.
8251 (powerpc64-.*-.*): Likewise for powerpc.
8252 (sparc64-.*-.*): Likewise for sparc.
8253 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
8254 for these mapping back to the above.
8256 2005-02-08 Jakub Jelinek <jakub@redhat.com>
8258 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
8260 2005-02-08 Andreas Schwab <schwab@suse.de>
8262 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
8265 2005-02-07 Richard Henderson <rth@redhat.com>
8268 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
8270 2005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8272 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
8275 2005-02-07 Ulrich Drepper <drepper@redhat.com>
8277 * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
8280 2005-01-07 Richard Henderson <rth@redhat.com>
8283 * math/math_private.h (__copysign): Define as builtin for gcc 4.
8284 (__copysignf, __copysignl): Likewise.
8285 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
8287 (copysignf, copysignl, fabsf, fabs): Likewise.
8288 (__copysign, __copysignf, __copysignl): Remove.
8289 (__fabs, __fabsf): Remove.
8291 2005-01-07 Jakub Jelinek <jakub@redhat.com>
8294 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
8295 avoid writing to it if none of the standard search directories exist.
8297 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
8300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8301 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
8302 Load MSR as a doubleword.
8303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8304 (__novec_swapcontext, __swapcontext): Likewise.
8306 2005-02-07 Ulrich Drepper <drepper@redhat.com>
8308 * iconv/iconv_prog.c (main): Provide more help in case on an error.
8310 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
8312 2005-02-07 Jakub Jelinek <jakub@redhat.com>
8315 * nscd/nscd.c (termination_handler): Avoid segfault if some database
8319 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
8320 __nss_not_use_nscd_hosts and return -1.
8321 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
8322 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
8323 Avoid leaking sockets.
8325 2005-01-28 Andreas Schwab <schwab@suse.de>
8326 H.J. Lu <hongjiu.lu@intel.com>
8329 * elf/dl-runtime.c (fixup): Change return type to
8330 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
8331 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
8332 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
8333 store and retrieve relocation values.
8334 (profile_fixup): Likewise.
8335 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
8337 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
8338 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
8339 (DL_FIXUP_MAKE_VALUE): Likewise.
8340 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
8341 (DL_FIXUP_VALUE_ADDR): Likewise.
8342 (DL_FIXUP_ADDR_VALUE): Likewise.
8343 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
8344 (DL_FIXUP_VALUE_TYPE): New.
8345 (DL_FIXUP_MAKE_VALUE): Likewise.
8346 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
8347 (DL_FIXUP_VALUE_ADDR): Likewise.
8348 (DL_FIXUP_ADDR_VALUE): Likewise.
8349 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
8350 (elf_machine_profile_plt): Removed.
8351 (elf_machine_fixup_plt): Change return type and type of value
8352 parameter to struct fdesc.
8353 (elf_machine_plt_value): Likewise.
8354 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
8355 argument for elf_machine_fixup_plt.
8357 2005-02-07 Jakub Jelinek <jakub@redhat.com>
8360 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
8361 after the status string printed by killproc.
8363 2004-11-18 Alexandre Oliva <aoliva@redhat.com>
8365 * manual/.cvsignore: Add dir-add.texi.
8367 2005-02-06 Richard Henderson <rth@redhat.com>
8369 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
8372 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
8374 * configure.in (sysnames): Append sysdeps/generic for each add-on.
8375 * configure: Regenerated.
8377 2005-02-02 Alfred M. Szmidt <ams@gnu.org>
8379 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
8380 (dtv_t): Change pointer type to be a struct which also contains
8381 information whether the memory pointed to is static TLS or not.
8383 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
8385 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
8386 (FALSEP): ... this. Updated all references.
8389 * libio/fmemopen.c: Include <stdint.h>.
8391 2005-01-30 Ulrich Drepper <drepper@redhat.com>
8394 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
8395 * nscd/connections.c (send_ro_fd): Likewise.
8397 2005-01-28 H.J. Lu <hongjiu.lu@intel.com>
8399 * elf/tst-auditmod1.c: Add ia64 entries.
8400 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
8401 (La_ia64_retval): New.
8402 (audit_ifaces): Add ia64 entries.
8403 * sysdeps/ia64/bits/link.h: New file.
8404 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
8405 for dl_profile non-null.
8406 (ARCH_LA_PLTENTER): New.
8407 (ARCH_LA_PLTEXIT): New.
8408 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
8409 only 2 output registers. Allocate stack to save/restore
8410 8 incoming fp registers. Call _dl_fixup instead of fixup.
8411 (_dl_runtime_profile): Rewrite.
8413 2005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
8415 * sysdeps/s390/bits/link.h: New file.
8416 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
8417 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
8418 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
8419 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
8421 (elf_machine_runtime_setup): Test for dl_profile non-null.
8422 (elf_machine_rela): Remove code using RESOLVE.
8423 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
8424 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8425 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
8426 La_s390_64_regs, La_s390_64_retval): New.
8427 * elf/tst-auditmod1.c: Add s390 entries.
8430 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
8431 strncat, memchr, strcmp): Add missing memory clobber.
8433 2005-01-27 Ulrich Drepper <drepper@redhat.com>
8435 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
8436 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
8438 2005-01-27 Paolo Bonzini <bonzini@gnu.org>
8441 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
8442 Initialize the node sets in dfa->inveclosures.
8443 (analyze): Initialize inveclosures only if it is needed.
8444 Check errors from calc_inveclosure.
8445 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
8446 the inveclosure node set.
8447 * posix/regexec.c (re_search_internal): If nmatch includes unused
8448 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
8450 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
8451 Do build a SIMPLE_BRACKET token.
8453 * posix/regexec.c (transit_state_mb): Do not examine nodes
8454 where ACCEPT_MB is not set.
8456 2005-01-27 Jakub Jelinek <jakub@redhat.com>
8458 * stdlib/tst-fmtmsg.c: Include stdlib.h.
8459 * stdio-common/tst-fmemopen2.c: Include string.h.
8460 * posix/execvp.c: Include stdbool.h.
8462 2004-12-13 Paolo Bonzini <bonzini@gnu.org>
8464 Separate parsing and creation of the NFA. Avoided recursion on
8465 the (very unbalanced) parse tree.
8467 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
8468 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
8469 (optimize_subexps, duplicate_tree, calc_first, calc_next,
8470 mark_opt_subexp): Rewritten.
8471 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
8472 create_token_tree, free_tree, free_token): New.
8473 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
8474 postorder generic visitors. Do not initialize the fields in the
8475 re_dfa_t that represent the transitions.
8476 (free_dfa_content): Use free_token.
8477 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
8478 include optimization of subexpressions.
8479 (create_initial_state): Fetch the DFA node index from the first node's
8481 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
8482 Return on COMPLEX_BRACKET.
8483 (duplicate_node_closure): Fix comment.
8484 (duplicate_node): Do not initialize the fields in the
8485 re_dfa_t that represent the transitions.
8486 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
8487 (create_tree): Remove final argument. All callers adjusted. Rewritten
8488 to use create_token_tree.
8489 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
8490 build_charclass_op): Use create_tree or create_token_tree instead
8491 of re_dfa_add_tree_node.
8492 (parse_dup_op): Likewise. Also free the tree using free_tree for
8493 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
8494 to "a|". Adjust invocation of mark_opt_subexp.
8495 (parse_sub_exp): Create a single SUBEXP node.
8496 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
8497 always perform as if it was 1. Do not initialize OPT_SUBEXP and
8498 DUPLICATED, and initialize the DFA fields representing the transitions.
8499 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
8500 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
8501 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
8502 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
8503 NEXT into pointers to trees. Remove ECLOSURE.
8505 2004-12-28 Paolo Bonzini <bonzini@gnu.org >
8508 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
8509 that were already created.
8510 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
8511 in the token if needed.
8512 (create_ci_newstate, create_cd_newstate): Set accept_mb field
8513 from the tokens' field.
8514 * posix/regex_internal.h (re_token_t): Add accept_mb field.
8515 (ACCEPT_MB_NODE): Removed.
8516 * posix/regexec.c (proceed_next_node, transit_states_mb,
8517 build_sifted_states, check_arrival_add_next_nodes): Use
8518 accept_mb instead of ACCEPT_MB_NODE.
8520 2005-01-26 Ulrich Drepper <drepper@redhat.com>
8523 * debug/chk_fail.c (__chk_fail): Print program name in final message.
8525 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
8526 MSG_NOSIGNAL being in 2.2 kernels.
8528 2005-01-26 Jakub Jelinek <jakub@redhat.com>
8530 * sysdeps/unix/sysv/linux/i386/sysdep.h
8531 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
8534 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
8535 (WORD_DELIM_CONSTRAINT): ...this.
8536 (NOT_WORD_DELIM_CONSTRAINT): Define.
8537 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
8538 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
8539 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
8540 anchor instead of INSIDE_WORD.
8541 (parse_expression): Handle NOT_WORD_DELIM constraint.
8542 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
8543 being inside word instead of not word delim.
8544 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
8546 * posix/rxspencer/tests: Add some new tests.
8548 2005-01-14 GOTO Masanori <gotom@debian.or.jp>
8551 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
8552 irrespective of Cflag.
8554 * manual/memory.texi (sbrk): Fix definition.
8555 * manual/string.texi (strcasestr): Fix example typo.
8557 2005-01-25 Roland McGrath <roland@redhat.com>
8559 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
8561 2005-01-23 Roland McGrath <roland@redhat.com>
8564 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
8565 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
8566 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
8567 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
8568 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
8569 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
8571 2005-01-25 Jakub Jelinek <jakub@redhat.com>
8574 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
8575 (free_mem): Don't free string.
8576 * stdlib/tst-fmtmsg.c: Include string.h.
8577 (main): Add some more tests.
8579 2005-01-25 Andreas Schwab <schwab@suse.de>
8582 * timezone/asia: Update from tzdata2005c.
8583 * timezone/backward: Likewise.
8584 * timezone/europe: Likewise.
8585 * timezone/leapseconds: Likewise.
8586 * timezone/northamerica: Likewise.
8587 * timezone/southamerica: Likewise.
8590 * timezone/private.h: Update from tzcode2005c.
8591 * timezone/tzfile.h: Likewise.
8592 * timezone/zdump.c: Likewise.
8593 * timezone/zic.c: Likewise.
8595 2005-01-25 Ulrich Drepper <drepper@redhat.com>
8597 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
8599 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
8601 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
8603 2005-01-25 Alan Modra <amodra@bigpond.net.au>
8605 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
8606 sym_map, not sym, against zero.
8608 2005-01-24 Ulrich Drepper <drepper@redhat.com>
8611 * misc/syslog.c: Moved to...
8612 * sysdeps/generic/syslog.c: ...here.
8613 [NO_SIGIPE]: Don't install SIGPIPE handler.
8614 * sysdeps/unix/sysv/linux/syslog.c: New file.
8615 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8616 __ASSUME_MSG_NOSIGNAL.
8618 2005-01-22 Richard Henderson <rth@redhat.com>
8620 * sysdeps/alpha/dl-trampoline.S: New file.
8621 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
8622 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
8623 (elf_machine_runtime_setup): Test for dl_profile non-null.
8624 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
8625 * sysdeps/alpha/bits/link.h: New file.
8626 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
8627 (struct audit_ifaces): Add alpha entries.
8628 * elf/tst-auditmod1.c: Add alpha entries.
8630 2005-01-22 Ulrich Drepper <drepper@redhat.com>
8632 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
8633 * sysdeps/ia64/dl-trampoline.S: New file.
8635 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
8636 La_x86_64_xmm definition.
8638 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
8640 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
8641 CFLAGS-system.c for frame pointer option.
8643 2005-01-21 Roland McGrath <roland@redhat.com>
8645 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
8646 * sysdeps/i386/dl-machine.h: Update decl.
8648 2005-01-21 Jakub Jelinek <jakub@redhat.com>
8651 * elf/Makefile: Add rules to build and run tst-align2.
8652 * elf/tst-align2.c: New test.
8653 * elf/tst-alignmod2.c: New file.
8654 * sysdeps/powerpc/tst-stack-align.h: New file.
8655 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
8656 pointer before calling _dl_init.
8657 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8659 2005-01-20 Ulrich Drepper <drepper@redhat.com>
8661 * posix/execl.c: Do not allocate potentially large buffers on the
8663 * posix/execle.c: Likewise.
8664 * posix/execlp.c: Likewise.
8665 * posix/execvp.c: Likewise.
8666 (script_execute): Removed.
8667 (allocate_scripts_argv): New function. Called at most once to
8668 allocate memory, not every time a script is run. Adjust caller.
8670 * sysdeps/generic/wordexp.c (exec_comm): Add a few
8671 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
8673 (exec_comm_child): Can now be inlined.
8675 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
8676 * stdlib/Makefile: Likewise.
8678 2005-01-19 Roland McGrath <roland@redhat.com>
8681 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
8683 Reported by Marcus Meissner <meissner@suse.de>.
8685 2005-01-19 Jakub Jelinek <jakub@redhat.com>
8687 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
8689 * iconv/strtab.c (strtabfinalize): Likewise.
8691 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
8693 2005-01-17 Roland McGrath <roland@redhat.com>
8696 * nscd/Makefile (LDLIBS-nscd): New variable.
8697 ($(objpfx)nscd): Use that instead of selinux-LIBS.
8699 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
8700 (link-extra-libs-static): Define to $(link-extra-libs).
8701 (link-extra-libs-bounded): Likewise.
8703 2005-01-17 Ulrich Drepper <drepper@redhat.com>
8705 * include/link.h: Remove stray definition of pltenter.
8707 2005-01-16 GOTO Masanori <gotom@debian.or.jp>
8710 * sysdeps/unix/rewinddir.c: Reset filepos.
8711 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
8713 2005-01-15 Ulrich Drepper <drepper@redhat.com>
8715 * elf/tst-auditmod1.c: Reduce duplication.
8717 2005-01-16 Andreas Schwab <schwab@suse.de>
8719 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
8720 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
8721 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
8722 GLRO(dl_profile) != NULL.
8723 * sysdeps/m68k/dl-trampoline.S: New file.
8724 * sysdeps/m68k/bits/link.h: New file.
8725 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
8727 * elf/tst-auditmod1.c: Add m68k support.
8729 2005-01-14 Ulrich Drepper <drepper@redhat.com>
8731 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
8732 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
8735 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
8736 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
8738 2005-01-12 Ulrich Drepper <drepper@redhat.com>
8740 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
8741 callers from libc anymore.
8743 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
8744 to _dl_map_object_deps.
8745 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
8746 protections when loading auditing modules.
8748 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
8750 * posix/getconf.c: Update copyright year.
8751 * nss/getent.c: Likewise.
8752 * nscd/nscd_nischeck.c: Likewise.
8753 * iconv/iconvconfig.c: Likewise.
8754 * iconv/iconv_prog.c: Likewise.
8755 * elf/ldconfig.c: Likewise.
8756 * catgets/gencat.c: Likewise.
8757 * csu/version.c: Likewise.
8758 * elf/ldd.bash.in: Likewise.
8759 * elf/sprof.c (print_version): Likewise.
8760 * locale/programs/locale.c: Likewise.
8761 * locale/programs/localedef.c: Likewise.
8762 * nscd/nscd.c (print_version): Likewise.
8763 * debug/xtrace.sh: Likewise.
8764 * malloc/memusage.sh: Likewise.
8765 * malloc/mtrace.pl: Likewise.
8766 * debug/catchsegv.sh: Likewise.
8768 2005-01-11 Thorsten Kukuk <kukuk@suse.de>
8771 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
8773 * sunrpc/svc_unix.c (svcunix_create): Likewise.
8776 * grp/putgrent.c (putgrent): Don't write 0 as group
8777 ID if groupname starts with + or -.
8778 * pwd/putpwent.c (putpwent): Don't write 0 as user or
8779 group ID if user name starts with + or -.
8781 2005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8783 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
8784 * sysdeps/elf/tst-auditmod1.c: Add sh support.
8785 * sysdeps/sh/bits/link.h: New.
8786 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
8787 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
8788 (RTLD_START): Define __fpscr_values.
8789 * sysdeps/sh/dl-trampoline.S: New file.
8790 * sysdeps/sh/sh4/dl-trampoline.S: New file.
8791 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
8792 * sysdeps/sh/sh4/dl-machine.h: Remove.
8794 2005-01-10 Jakub Jelinek <jakub@redhat.com>
8797 * time/tst-strptime.c (day_tests): Add 2 new tests.
8798 (test_tm, main): Issue an error instead of segfaulting if
8799 strptime returns NULL.
8801 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
8803 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
8804 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
8806 2005-01-11 Ulrich Drepper <drepper@redhat.com>
8808 * malloc/malloc.h: Remove no-glibc support.
8810 2005-01-12 GOTO Masanori <gotom@debian.or.jp>
8813 * malloc/malloc.h: Always include features.h.
8815 2005-01-10 Roland McGrath <roland@redhat.com>
8817 * sysdeps/ia64/fpu/e_logl.c: File removed.
8819 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
8821 2005-01-10 Ulrich Drepper <drepper@redhat.com>
8823 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
8824 recognition of last entry.
8826 2005-01-09 Ulrich Drepper <drepper@redhat.com>
8828 * elf/dl-runtime.c: Include <sys/param.h>.
8830 * elf/Makefile (headers): Add bits/link.h.
8832 2005-01-09 Andreas Schwab <schwab@suse.de>
8834 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
8836 2005-01-09 Andreas Jaeger <aj@suse.de>
8839 * time/strptime_l.c (__strptime_internal): Add braces to avoid
8842 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
8844 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
8846 2005-01-08 Jakub Jelinek <jakub@redhat.com>
8848 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
8850 2005-01-09 Ulrich Drepper <drepper@redhat.com>
8852 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
8853 those of all the regular objects.
8855 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
8856 use it to select the r_debug structure for that namespace.
8857 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
8858 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8859 * elf/dl-open.c (_dl_open): Likewise.
8860 * elf/rtld.c (dl_main): Likewise.
8861 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
8863 (_dl_debug_initialize): Add new parameter in declaration.
8865 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
8866 called for the auditing objects themselves.
8867 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8869 2005-01-07 Ulrich Drepper <drepper@redhat.com>
8871 * sysdeps/powerpc/powerpc64/dl-machine.h
8872 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
8873 GLRO(dl_profile) != NULL.
8874 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
8876 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
8877 Extend _dl_prof_resolve to add pass extra parameters to
8878 _dl_profile_fixup and set up structure with register content.
8880 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
8881 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
8882 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
8883 Extend _dl_prof_resolve to add pass extra parameters to
8884 _dl_profile_fixup and set up structure with register content.
8885 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
8886 the register and result structures.
8887 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
8888 in the 32-bit register and result structures.
8890 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
8892 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
8893 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
8894 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
8895 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
8896 * elf/tst-auditmod1.c: Add ppc32 support.
8897 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
8898 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
8900 * malloc/malloc.c (malloc_printerr): Print program name as part of
8903 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
8904 * stdlib/stdlib.h: Make realloc with
8905 __attribute_warn_unused_result__ instead of __wur.
8906 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
8907 markers as in <stdlib.h>.
8909 * libio/stdio.h: Remove __wur from rename and remove.
8910 * posix/unistd.h: Remove __wur from dup2.
8912 2005-01-03 Andreas Jaeger <aj@suse.de>
8914 * elf/Makefile (tests): Revert patch from 2005-01-03.
8916 2005-01-07 Ulrich Drepper <drepper@redhat.com>
8918 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
8919 make __libc_init_first hidden.
8921 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
8922 l_relocated of rtld map.
8923 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
8924 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
8925 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
8926 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
8927 * elf/tst-auditmod1.c: Add ppc64 support.
8928 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
8930 2005-01-06 Roland McGrath <roland@redhat.com>
8933 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
8934 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
8936 2005-01-06 Ulrich Drepper <drepper@redhat.com>
8938 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
8939 * sysdeps/generic/libc-start.c: Don't register program destructor here.
8941 * dlfcn/Makefile: Add rules to build dlfcn.c.
8942 (LDFLAGS-dl.so): Removed.
8943 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
8945 * dlfcn/dlmopen.c: Likewise for _dl_open.
8946 * dlfcn/dlopen.c: Likewise.
8947 * dlfcn/dlopenold.c: Likewise.
8948 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
8949 * elf/Makefile (routines): Remove dl-open and dl-close.
8950 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
8951 Add rules to build and run tst-audit1.
8952 * elf/tst-audit1.c: New file.
8953 * elf/tst-auditmod1.c: New file.
8954 * elf/Versions [libc]: Remove _dl_open and _dl_close.
8955 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
8956 * elf/dl-open.c: Likewise.
8957 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
8958 signaled by nonzero parameter.
8959 * elf/dl-init.c: Fix use of r_state.
8960 * elf/dl-load.c: Likewise.
8962 * elf/dl-close.c: Add auditing checkpoints.
8963 * elf/dl-open.c: Likewise.
8964 * elf/dl-fini.c: Likewise.
8965 * elf/dl-load.c: Likewise.
8966 * elf/dl-sym.c: Likewise.
8967 * sysdeps/generic/libc-start.c: Likewise.
8968 * elf/dl-object.c: Allocate memory for auditing information.
8969 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
8970 Correctly initialize slotinfo.
8971 * elf/dynamic-link.h: Adjust after removal of RESOLV.
8972 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
8973 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
8974 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
8975 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
8976 (_dl_profile_fixup): New parameters to point to register struct and
8977 variable for frame size.
8978 Add auditing checkpoints.
8979 (_dl_call_pltexit): New function.
8980 Don't define trampoline code here.
8981 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
8982 Remove all the functions from _rtld_global_ro which only _dl_open
8983 and _dl_close needed.
8984 Add auditing checkpoints.
8985 * elf/link.h: Define symbols for auditing interfaces.
8986 * include/link.h: Likewise.
8987 * include/dlfcn.h: Define __RTLD_AUDIT.
8988 Remove prototypes for _dl_open and _dl_close.
8989 Adjust access to argc and argv in libdl.
8990 * dlfcn/dlfcn.c: New file.
8991 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
8993 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
8994 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
8995 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
8996 Adjust for removal of RESOLVE.
8997 * sysdeps/x86_64/dl-machine.h: Likewise.
8998 * sysdeps/generic/dl-trampoline.c: New file.
8999 * sysdeps/i386/dl-trampoline.c: New file.
9000 * sysdeps/x86_64/dl-trampoline.c: New file.
9002 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
9003 Fix updating of DTV.
9004 * sysdeps/generic/libc-tls.c: Likewise.
9006 * sysdeps/arm/bits/link.h: Renamed to ...
9007 * sysdeps/arm/bits/linkmap.h: ...this.
9008 * sysdeps/generic/bits/link.h: Renamed to...
9009 * sysdeps/generic/bits/linkmap.h: ...this.
9010 * sysdeps/hppa/bits/link.h: Renamed to...
9011 * sysdeps/hppa/bits/linkmap.h: ...this.
9012 * sysdeps/i386/bits/link.h: Renamed to...
9013 * sysdeps/i386/bits/linkmap.h: ...this.
9014 * sysdeps/ia64/bits/link.h: Renamed to...
9015 * sysdeps/ia64/bits/linkmap.h: ...this.
9016 * sysdeps/s390/bits/link.h: Renamed to...
9017 * sysdeps/s390/bits/linkmap.h: ...this.
9018 * sysdeps/sh/bits/link.h: Renamed to...
9019 * sysdeps/sh/bits/linkmap.h: ...this.
9020 * sysdeps/x86_64/bits/link.h: Renamed to...
9021 * sysdeps/x86_64/bits/linkmap.h: ...this.
9023 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
9025 2004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
9028 * math/libm-test.inc (rint_test_tonearest): New test.
9029 (rint_test_towardzero): New test.
9030 (rint_test_downward): New test.
9031 (rint_test_upward): New test.
9032 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
9033 Remove redundant const values.
9034 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
9035 Remove redundant const values. Use float const.
9036 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
9037 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
9039 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
9040 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
9042 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
9043 Remove redundant const values.
9044 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
9045 Remove redundant const values. Use float const.
9046 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
9047 Remove redundant const values.
9048 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
9049 Remove redundant const values. Use float const.
9050 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
9051 alignment. Fix -0.0 case. Remove redundant const values.
9052 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
9053 alignment. Fix -0.0 case. Remove redundant const values.
9055 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
9056 alignment. Fix -0.0 case.
9057 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
9058 alignment. Fix -0.0 case. Use float const.
9059 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
9060 alignment. Fix -0.0 case.
9061 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
9062 alignment. Fix -0.0 case. Use float const.
9063 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
9064 alignment. Fix -0.0 case. Remove redundant const values.
9065 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
9066 alignment. Fix -0.0 case. Remove redundant const values.
9068 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
9069 alignment. Fix -0.0 case.
9070 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
9071 alignment. Fix -0.0 case. Remove redundant const values.
9074 2005-01-06 Ulrich Drepper <drepper@redhat.com>
9076 * misc/sys/cdefs.h: Define __wur.
9077 * libio/stdio.h: Use __wur for a number of interfaces.
9078 * posix/unistd.h: Likewise.
9079 * stdlib/stdlib.h: Likewise.
9081 2004-12-29 Jakub Jelinek <jakub@redhat.com>
9084 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
9085 libc_hidden_proto instead of HIDDEN_PROTO.
9086 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
9087 (__libm_error_support): If ASSEMBLER and in libc, define to
9088 HIDDEN_JUMPTARGET(__libm_error_support).
9090 2004-12-28 David Mosberger <davidm@hpl.hp.com>
9093 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
9094 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
9095 with $(duplicated-routines).
9096 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
9099 2004-12-27 David Mosberger <davidm@hpl.hp.com>
9102 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
9103 undefine "ret" macro. Add __libm_error_support hidden definitions.
9106 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
9107 missing portion of copyright statement.
9108 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
9109 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
9112 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
9113 missing portion of copyright statement.
9114 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
9115 (__ieee754_gamma): Likewise.
9116 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
9117 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
9119 2004-12-09 H.J. Lu <hjl@lucon.org>
9122 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
9123 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
9124 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
9125 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
9126 * sysdeps/ia64/fpu/e_expl.S: Likewise.
9127 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
9129 2004-11-18 David Mosberger <davidm@hpl.hp.com>
9132 * sysdeps/ia64/fpu/README: New file.
9133 * sysdeps/ia64/fpu/gen_import_file_list: New file.
9134 * sysdeps/ia64/fpu/import_check: Likewise.
9135 * sysdeps/ia64/fpu/import_diffs: Likewise.
9136 * sysdeps/ia64/fpu/import_file.awk: Likewise.
9137 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
9138 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9141 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
9142 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
9143 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
9144 * sysdeps/ia64/fpu/e_asin.S: Likewise.
9145 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
9146 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
9147 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
9148 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
9149 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
9150 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
9151 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
9152 * sysdeps/ia64/fpu/e_exp.S: Likewise.
9153 * sysdeps/ia64/fpu/e_expf.S: Likewise.
9154 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
9155 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
9156 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
9157 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
9158 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
9159 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
9160 * sysdeps/ia64/fpu/e_log.S: Likewise.
9161 * sysdeps/ia64/fpu/e_log2.S: Likewise.
9162 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
9163 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
9164 * sysdeps/ia64/fpu/e_logf.S: Likewise.
9165 * sysdeps/ia64/fpu/e_pow.S: Likewise.
9166 * sysdeps/ia64/fpu/e_powf.S: Likewise.
9167 * sysdeps/ia64/fpu/e_powl.S: Likewise.
9168 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
9169 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
9170 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
9171 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
9172 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
9173 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
9174 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
9175 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
9176 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
9177 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
9178 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
9179 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
9180 * sysdeps/ia64/fpu/libm_error.c: Likewise.
9181 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
9182 * sysdeps/ia64/fpu/libm_support.h: Likewise.
9183 * sysdeps/ia64/fpu/s_atan.S: Likewise.
9184 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
9185 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
9186 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
9187 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
9188 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
9189 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
9190 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
9191 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
9192 * sysdeps/ia64/fpu/s_cos.S: Likewise.
9193 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
9194 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
9195 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
9196 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
9197 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
9198 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
9199 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
9200 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
9201 * sysdeps/ia64/fpu/s_floor.S: Likewise.
9202 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
9203 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
9204 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
9205 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
9206 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
9207 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
9208 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
9209 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
9210 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
9211 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
9212 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
9213 * sysdeps/ia64/fpu/s_logb.S: Likewise.
9214 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
9215 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
9216 * sysdeps/ia64/fpu/s_modf.S: Likewise.
9217 * sysdeps/ia64/fpu/s_modff.S: Likewise.
9218 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
9219 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
9220 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
9221 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
9222 * sysdeps/ia64/fpu/s_rint.S: Likewise.
9223 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
9224 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
9225 * sysdeps/ia64/fpu/s_round.S: Likewise.
9226 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
9227 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
9228 * sysdeps/ia64/fpu/s_significand.S: Likewise.
9229 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
9230 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
9231 * sysdeps/ia64/fpu/s_tan.S: Likewise.
9232 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
9233 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
9234 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
9235 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
9236 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
9239 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
9240 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
9241 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
9242 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
9243 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
9244 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
9245 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
9246 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
9247 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
9248 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
9249 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
9250 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
9251 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
9252 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
9253 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
9254 * sysdeps/ia64/fpu/e_logl.S: Likewise.
9255 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
9256 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
9257 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
9258 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
9259 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
9260 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
9261 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
9262 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
9263 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
9264 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
9265 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
9266 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
9267 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
9268 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
9269 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
9270 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
9271 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
9272 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
9273 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
9274 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
9275 * sysdeps/ia64/fpu/s_erf.S: Likewise.
9276 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
9277 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
9278 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
9279 * sysdeps/ia64/fpu/s_erff.S: Likewise.
9280 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
9281 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
9282 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
9283 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
9284 * sysdeps/ia64/fpu/s_fma.S: Likewise.
9285 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
9286 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
9287 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
9288 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
9289 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
9290 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
9291 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
9292 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
9293 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
9294 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
9295 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
9296 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
9297 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
9298 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
9299 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
9300 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
9301 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
9302 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
9303 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
9304 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
9305 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
9306 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
9307 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
9308 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
9311 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
9312 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
9313 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
9314 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9315 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9316 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9317 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9318 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9319 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9320 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9321 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9322 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9323 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9324 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9325 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9326 * sysdeps/ia64/fpu/w_expl.c: Likewise.
9327 * sysdeps/ia64/fpu/e_expl.S: Likewise.
9328 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9329 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9330 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9331 * sysdeps/ia64/fpu/w_log2.c: Likewise.
9332 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9333 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9334 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9335 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9336 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9339 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
9340 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
9341 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
9342 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
9343 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
9344 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
9345 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
9348 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
9349 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
9350 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
9353 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
9356 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
9357 alias for use by libm_error.c
9360 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
9361 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
9362 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
9363 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
9364 libm_scalbn{,f,l}, libm_scalblnf.
9365 (sysdep_routines): Remove libm_frexp4{,f,l}.
9366 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
9367 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
9368 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
9369 -DSIZE_LONG_LONG_INT_64.
9371 2005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
9374 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
9375 l_text_end are set for a VDSO with a single PT_LOAD entry.
9377 2005-01-05 Ulrich Drepper <drepper@redhat.com>
9380 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
9381 invalid to disable optimizations in fileops which won't work here.
9382 (_IO_cookie_jumps): Use it.
9383 (_IO_old_cookie_jumps): Likewise.
9384 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
9385 not the return value.
9386 * stdio-common/Makefile (tests): Add tst-fmemopen2.
9387 * stdio-common/tst-fmemopen2.c: New file.
9389 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
9391 2005-01-05 Roland McGrath <roland@redhat.com>
9393 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
9394 * sysdeps/i386/configure.in: ... here. New file.
9396 2005-01-03 Ulrich Drepper <drepper@redhat.com>
9399 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
9400 initialize __environ again.
9401 * stdlib/Makefile: Add rules to build and run tst-putenv.
9402 * stdlib/tst-putenv.c: New file.
9403 * stdlib/tst-putenvmod.c: New file.
9405 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
9406 define unnecessary wrappers or aliases of static functions.
9408 2005-01-03 Andreas Jaeger <aj@suse.de>
9410 * csu/Makefile (generated): Add start.os and start.ob.
9412 * elf/Makefile (tests): Change rule for tst-pie1 so that make
9415 2004-12-29 Roland McGrath <roland@redhat.com>
9418 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
9419 than always up; when nearest is zero, round up to one.
9421 2004-12-28 Ulrich Drepper <drepper@redhat.com>
9423 * po/es.po: Update from translation team.
9426 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
9428 2004-12-27 Ulrich Drepper <drepper@redhat.com>
9431 * include/signal.h: Define __sigemptyset.
9433 2004-04-27 Paolo Bonzini <bonzini@gnu.org>
9435 * posix/regex_internal.h (struct re_dfastate_t): Make
9436 word_trtable a pointer to the 512-item transition table.
9437 * posix/regexec.c (build_trtable): Fill in either state->trtable
9438 or state->word_trtable. Return a boolean indicating success.
9439 (transit_state): Expect state->trtable to be a 256-item
9440 transition table. Reorganize code to have less tests in
9441 the common case, and to save an indentation level.
9442 * posix/regex_internal.c (free_state): Free word_trtable.
9444 2004-12-21 Jakub Jelinek <jakub@redhat.com>
9447 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
9448 calling fn is 16 byte aligned.
9449 * sysdeps/i386/tst-stack-align.h: New file.
9452 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
9453 (ecvt_r): Special case denormals.
9454 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
9455 * misc/tst-efgcvt.c: Include float.h.
9456 (ecvt_tests): Add 2 new tests.
9458 2004-12-20 Roland McGrath <roland@frob.com>
9460 * version.h (RELEASE, VERSION): development, 2.3.90
9461 * include/features.h (__GLIBC_MINOR__): Now 4.
9464 See ChangeLog.15 for earlier changes.