1 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
3 * include/atomic.h (atomic_exchange_and_add): Split into ...
4 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11 2012-08-13 Jeff Law <law@redhat.com>
13 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14 null byte in the output string.
16 2012-08-10 Joseph Myers <joseph@codesourcery.com>
18 * sysdeps/unix/sysv/linux/kernel-features.h
19 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27 2012-08-09 Jeff Law <law@redhat.com>
30 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31 When avoid_arena is set, don't retry in the that arena. Pick the
32 next one, whatever it might be.
33 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34 (arena_lock): Pass in new parameter to arena_get2.
35 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37 (__libc_malloc): Unify retrying after main arena failure with
38 __libc_memalign version.
39 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
44 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46 (__strstr_sse42): Use typeof __redirect_strstr.
47 (__strstr_ia32): Likewise.
48 (__libc_strstr): New prototype.
49 (strstr): Renamed to ...
50 (__libc_strstr): This.
51 (strstr): New strong alias of __libc_strstr.
52 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
56 (__libc_time): New prototype.
57 (time_ifunc): Replace time with __libc_time.
58 (time): New strong alias and hidden definition of __libc_time.
59 (__GI_time): Remove strong alias.
60 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62 (memmove): Redefined to __redirect_memmove.
63 (__memmove_sse2): Use typeof __redirect_memmove.
64 (__memmove_ssse3): Likewise.
65 (__memmove_ssse3_back): Likewise.
66 (__libc_memmove): New prototype.
67 (memmove): Renamed to ...
68 (__libc_memmove): This.
69 (memmove): New strong alias of __libc_memmove.
71 2012-08-08 Mark Salter <msalter@redhat.com>
74 (R_MN10300_TLS_GD): Define.
75 (R_MN10300_TLS_LD): Likewise.
76 (R_MN10300_TLS_LDO): Likewise.
77 (R_MN10300_TLS_GOTIE): Likewise.
78 (R_MN10300_TLS_IE): Likewise.
79 (R_MN10300_TLS_LE): Likewise.
80 (R_MN10300_TLS_DTPMOD): Likewise.
81 (R_MN10300_TLS_DTPOFF): Likewise.
82 (R_MN10300_TLS_TPOFF): Likewise.
83 (R_MN10300_SYM_DIFF): Likewise.
84 (R_MN10300_ALIGN): Likewise.
85 (R_MN10300_NUM): Update.
87 2012-08-08 Joseph Myers <joseph@codesourcery.com>
89 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
92 2012-08-08 Roland McGrath <roland@hack.frob.com>
94 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
96 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
97 sysdeps/unix -> sysdeps/posix move.
98 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
100 2012-08-07 Allan McRae <allan@archlinux.org>
103 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
104 (SUNOS_CPP): Likewise.
105 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
107 (open_input): Call CPP using execvp.
109 2012-08-07 Joseph Myers <joseph@codesourcery.com>
111 * sysdeps/unix/sysv/linux/kernel-features.h
112 (__ASSUME_PROT_GROWSUPDOWN): Remove.
113 (__ASSUME_NO_CLONE_DETACHED): Likewise.
114 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
115 (__ASSUME_WAITID_SYSCALL): Likewise.
116 * sysdeps/unix/sysv/linux/dl-execstack.c
117 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
119 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
121 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
122 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
123 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
125 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
127 [__ASSUME_WAITID_SYSCALL]: Likewise.
128 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
130 2012-08-07 Roland McGrath <roland@hack.frob.com>
132 * sysdeps/unix/closedir.c: Renamed to ...
133 * sysdeps/posix/closedir.c: ... here.
134 * sysdeps/unix/dirfd.c: Renamed to ...
135 * sysdeps/posix/dirfd.c: ... here.
136 * sysdeps/unix/dirstream.h: Renamed to ...
137 * sysdeps/posix/dirstream.h: ... here.
138 * sysdeps/unix/fdopendir.c: Renamed to ...
139 * sysdeps/posix/fdopendir.c: ... here.
140 * sysdeps/unix/opendir.c: Renamed to ...
141 * sysdeps/posix/opendir.c: ... here.
142 * sysdeps/unix/readdir.c: Renamed to ...
143 * sysdeps/posix/readdir.c: ... here.
144 * sysdeps/unix/readdir_r.c: Renamed to ...
145 * sysdeps/posix/readdir_r.c: ... here.
146 * sysdeps/unix/rewinddir.c: Renamed to ...
147 * sysdeps/posix/rewinddir.c: ... here.
148 * sysdeps/unix/seekdir.c: Renamed to ...
149 * sysdeps/posix/seekdir.c: ... here.
150 * sysdeps/unix/telldir.c: Renamed to ...
151 * sysdeps/posix/telldir.c: ... here.
152 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
153 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
154 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
155 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
157 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
158 * bits/fcntl.h: ... here.
160 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
162 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
163 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
164 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
165 (struct flock): Move l_start, l_len to the beginning.
166 Use __pid_t for l_pid.
167 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
168 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
169 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
170 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
171 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
172 [__USE_LARGEFILE64] (struct flock64): New type.
173 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
175 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
176 * bits/dirent.h: ... here.
178 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
179 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
181 2012-08-07 Joseph Myers <joseph@codesourcery.com>
183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
184 Change from 2.6.0 to 2.6.16.
185 * sysdeps/unix/sysv/linux/configure: Regenerated.
186 * sysdeps/unix/sysv/linux/kernel-features.h
187 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
188 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
190 (__ASSUME_UTIMES): Likewise.
191 (__ASSUME_CLONE_STOPPED): Remove.
192 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
193 architectures, not kernel version.
194 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
195 (__ASSUME_NO_CLONE_DETACHED): Likewise.
196 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
197 (__ASSUME_WAITID_SYSCALL): Likewise.
198 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
199 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
200 * README: State 2.6.16 as minimum Linux kernel version. Do not
201 refer to older versions.
203 2012-08-06 Roland McGrath <roland@hack.frob.com>
205 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
206 Define alphasort64 as an alias.
207 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
208 Define versionsort64 as an alias.
209 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
210 Define scandir64 as an alias.
211 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
212 Define scandirat64 as an alias.
213 * dirent/alphasort64.c (alphasort64):
214 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
215 * dirent/versionsort64.c: Likewise.
216 * dirent/scandir64.c: Likewise.
217 * dirent/scandirat64.c: Likewise.
218 * sysdeps/wordsize-64/alphasort.c: File removed.
219 * sysdeps/wordsize-64/alphasort64.c: File removed.
220 * sysdeps/wordsize-64/scandir.c: File removed.
221 * sysdeps/wordsize-64/scandir64.c: File removed.
222 * sysdeps/wordsize-64/scandirat.c: File removed.
223 * sysdeps/wordsize-64/scandirat64.c: File removed.
224 * sysdeps/wordsize-64/versionsort.c: File removed.
225 * sysdeps/wordsize-64/versionsort64.c: File removed.
226 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
227 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
228 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
229 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
230 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
231 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
232 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
233 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
235 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
236 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
237 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
238 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
239 [defined __arch64__ || defined __sparcv9]
240 (__INO_T_MATCHES_INO64_T): New macro.
241 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
242 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
243 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
244 * sysdeps/unix/sysv/linux/bits/dirent.h
245 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
246 (_DIRENT_MATCHES_DIRENT64): New macro.
248 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
249 Define lockf64 as an alias.
250 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
251 Define fseeko64 as an alias.
252 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
253 Define ftello64 as an alias.
254 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
255 Define _IO_fgetpos64 and fgetpos64 as aliases.
256 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
257 Define _IO_fsetpos64 and fsetpos64 as aliases.
258 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
259 Conditionalize body on this.
260 * libio/fseeko64.c: Likewise.
261 * libio/ftello64.c: Likewise.
262 * libio/iofgetpos64.c: Likewise.
263 * libio/iofsetpos64.c: Likewise.
264 * sysdeps/wordsize-64/lockf.c: File removed.
265 * sysdeps/wordsize-64/lockf64.c: File removed.
266 * sysdeps/wordsize-64/fseeko.c: File removed.
267 * sysdeps/wordsize-64/fseeko64.c: File removed.
268 * sysdeps/wordsize-64/ftello.c: File removed.
269 * sysdeps/wordsize-64/ftello64.c: File removed.
270 * sysdeps/wordsize-64/iofgetpos.c: File removed.
271 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
272 * sysdeps/wordsize-64/iofsetpos.c: File removed.
273 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
274 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
275 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
276 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
277 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
278 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
279 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
280 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
281 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
282 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
283 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
285 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
287 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
288 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
289 [defined __arch64__ || defined __sparcv9]
290 (__OFF_T_MATCHES_OFF64_T): New macro.
291 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
292 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
294 (__OFF_T_MATCHES_OFF64_T): New macro.
296 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
298 * stdlib/secure-getenv.c (__secure_getenv): Replace
299 GLIBC_2_16 with GLIBC_2_17.
301 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
303 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
304 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
306 2012-08-03 David S. Miller <davem@davemloft.net>
308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
310 2012-08-03 Joseph Myers <joseph@codesourcery.com>
312 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
314 (__ASSUME_CORRECT_SI_PID): Likewise.
315 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
316 (__ASSUME_TMPFS_NAME): Likewise.
317 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
318 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
319 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
320 (HAVE_AUX_SECURE): Make definition unconditional.
321 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
322 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
324 2012-08-03 Roland McGrath <roland@hack.frob.com>
326 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
327 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
328 * sysdeps/mach/hurd/eloop-threshold.h: New file.
329 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
330 __eloop_threshold instead of SYMLOOP_MAX.
332 * sysdeps/generic/eloop-threshold.h: New file.
333 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
335 * elf/chroot_canon.c (chroot_canon): Likewise.
337 2012-08-03 Joseph Myers <joseph@codesourcery.com>
340 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
341 Change to 2.6.0 everywhere.
342 * sysdeps/unix/sysv/linux/configure: Regenerated.
343 * sysdeps/unix/sysv/linux/kernel-features.h
344 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
345 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
347 (__ASSUME_POSIX_TIMERS): Define unconditionally.
348 (__ASSUME_FUTEX_REQUEUE): Remove.
349 (__ASSUME_STATFS64): Define unconditionally.
350 (__ASSUME_AT_SECURE): Likewise.
351 (__ASSUME_CORRECT_SI_PID): Likewise.
352 (__ASSUME_TGKILL): Define without depending on kernel version for
354 (__ASSUME_UTIMES): Likewise.
355 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
357 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
358 (__ASSUME_TMPFS_NAME): Likewise.
359 * README: Update reference to Linux kernel versions.
361 2012-08-02 Marek Polacek <polacek@redhat.com>
364 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
365 libc_cv_asm_type_prefix with %.
366 * configure: Regenerated.
367 * include/libc-symbols.h: Remove comment about
368 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
369 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
370 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
371 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
372 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
373 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
374 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
375 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
376 * elf/tst-unique2mod1.c: Likewise.
377 * elf/tst-unique1mod2.c: Likewise.
378 * elf/tst-unique1mod1.c: Likewise.
379 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
380 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
381 Replace ASM_TYPE_DIRECTIVE with .type.
382 * sysdeps/s390/s390-64/sysdep.h: Likewise.
383 * sysdeps/i386/sysdep.h: Likewise.
384 * sysdeps/x86_64/sysdep.h: Likewise.
385 * sysdeps/sh/sysdep.h: Likewise.
386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
387 Do not define ASM_TYPE_DIRECTIVE.
388 * sysdeps/powerpc/sysdep.h: Likewise.
389 * sysdeps/powerpc/powerpc32/sysdep.h:
390 Replace ASM_TYPE_DIRECTIVE with .type.
391 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
392 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
393 * sysdeps/i386/fpu/e_powf.S: Likewise.
394 * sysdeps/i386/fpu/e_expl.S: Likewise.
395 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
396 * sysdeps/i386/fpu/e_acosh.S: Likewise.
397 * sysdeps/i386/fpu/e_pow.S: Likewise.
398 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
399 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
400 * sysdeps/i386/fpu/s_expm1.S: Likewise.
401 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
402 * sysdeps/i386/fpu/e_log2.S: Likewise.
403 * sysdeps/i386/fpu/e_log2l.S: Likewise.
404 * sysdeps/i386/fpu/e_scalb.S: Likewise.
405 * sysdeps/i386/fpu/e_powl.S: Likewise.
406 * sysdeps/i386/fpu/e_log10f.S: Likewise.
407 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
408 * sysdeps/i386/fpu/e_logl.S: Likewise.
409 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
410 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
411 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
412 * sysdeps/i386/fpu/e_log2f.S: Likewise.
413 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
414 * sysdeps/i386/fpu/e_log.S: Likewise.
415 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
416 * sysdeps/i386/fpu/e_logf.S: Likewise.
417 * sysdeps/i386/fpu/e_log10l.S: Likewise.
418 * sysdeps/i386/fpu/e_atanh.S: Likewise.
419 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
420 * sysdeps/i386/fpu/e_log10.S: Likewise.
421 * sysdeps/i386/fpu/s_frexp.S: Likewise.
422 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
423 * sysdeps/i386/fpu/s_asinh.S: Likewise.
424 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
425 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
426 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
427 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
428 * sysdeps/i386/i686/strtok.S: Likewise.
429 * sysdeps/i386/i386-mcount.S: Likewise.
430 * sysdeps/i386/strtok.S: Likewise.
431 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
432 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
434 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
435 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
436 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
437 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
438 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
439 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
440 * sysdeps/x86_64/_mcount.S: Likewise.
441 * sysdeps/x86_64/strtok.S: Likewise.
442 * sysdeps/sh/_mcount.S: Likewise.
444 2012-08-01 Roland McGrath <roland@hack.frob.com>
446 * libio/iofopen.c: Include <fcntl.h>.
447 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
448 (_IO_fopen64, fopen64): Define as aliases.
449 * libio/iofopen64.c: Include <fcntl.h>.
450 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
451 Conditionalize body on this.
452 * sysdeps/wordsize-64/iofopen.c: File removed.
453 * sysdeps/wordsize-64/iofopen64.c: File removed.
455 2012-08-01 Marek Polacek <polacek@redhat.com>
457 * libc/Makeconfig: Use elf in place of binfmt-subdir.
458 Use dlfcn directly instead of a variable.
459 (binfmt-subdir): Do not define.
462 2012-08-01 Joseph Myers <joseph@codesourcery.com>
464 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
465 Remove all definitions.
466 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
468 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
469 (miss_F_GETOWN_EX): Remove all definitions.
470 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
472 [!__ASSUME_FCNTL64]: Remove conditional code.
473 [__ASSUME_FCNTL64]: Make code unconditional.
474 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
476 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
477 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
478 (lockf64) [__NR_fcntl64]: Make code unconditional.
479 (lockf64) [__ASSUME_FCNTL64]: Likewise.
481 * sysdeps/unix/sysv/linux/kernel-features.h
482 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
483 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
484 Make code unconditional.
485 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
486 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
488 [__NR_vfork]: Make code unconditional.
489 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
490 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
492 [__NR_vfork]: Make code unconditional.
493 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
494 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
496 2012-08-01 Roland McGrath <roland@hack.frob.com>
498 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
499 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
501 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
502 Define mkstemp64 as an alias.
503 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
504 Define mkstemps64 as an alias.
505 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
506 Define mkostemp64 as an alias.
507 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
508 Define mkostemps64 as an alias.
509 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
510 Conditionalize body on this.
511 * misc/mkostemp64.c: Likewise.
512 * misc/mkostemps64.c: Likewise.
513 * misc/mkstemps64.c: Likewise.
514 * sysdeps/wordsize-64/mkstemp64.c: File removed.
515 * sysdeps/wordsize-64/mkostemp64.c: File removed.
516 * sysdeps/wordsize-64/mkostemp.c: File removed.
517 * sysdeps/wordsize-64/mkstemp.c: File removed.
518 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
519 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
520 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
521 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
524 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
525 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
526 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
527 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
529 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
530 compat_symbol macros from <shlib-compat.h> rather than the underlying
531 default_symbol_version and symbol_version macros, so that DEFAULT
532 lines in shlib-versions are respected.
533 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
535 2012-08-01 Florian Weimer <fweimer@redhat.com>
537 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
538 Declare with warn_unused_result.
539 (setgid, setregid, setegid, setresgid): Likewise.
540 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
542 * WUR-REPORT: Remove set*id functions.
544 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
546 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
548 2012-07-31 Roland McGrath <roland@hack.frob.com>
550 * include/sys/socket.h (__libc_accept, __libc_accept4):
551 Add attribute_hidden.
552 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
554 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
556 * inet/getnetgrent_r.c (setup): Likewise.
558 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
560 2012-07-31 David S. Miller <davem@davemloft.net>
562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
564 2012-07-31 Joseph Myers <joseph@codesourcery.com>
567 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
568 value between 1.0 and 2.0 and smaller part has absolute value less
570 * math/s_clog10.c (__clog10): Likewise.
571 * math/s_clog10f.c (__clog10f): Likewise.
572 * math/s_clog10l.c (__clog10l): Likewise.
573 * math/s_clogf.c (__clogf): Likewise.
574 * math/s_clogl.c (__clogl): Likewise.
575 * math/libm-test.inc (clog_test): Add more tests.
576 (clog10_test): Likewise.
577 * sysdeps/i386/fpu/libm-test-ulps: Update.
578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
580 2012-07-31 Florian Weimer <fweimer@redhat.com>
582 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
583 Exit with zero in case no suitable GID is found, and write a
584 message to standard error.
586 2012-07-30 Roland McGrath <roland@hack.frob.com>
588 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
590 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
591 (MAXPATHLEN): Removed.
592 (NOGROUP, NODEV): New macros.
593 (setbit, clrbit, isset, isclr): New macros.
594 (howmany, roundup, powerof2): New macros.
595 (DEV_BSIZE): New macro.
597 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
598 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
600 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
601 definition on [!__NO_LONG_DOUBLE_MATH].
603 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
604 PTR_MANGLE and PTR_DEMANGLE.
606 * socket/accept4.c (accept4): Rename to __libc_accept4.
607 Define accept4 as a weak alias.
609 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
610 on [_DIRENT_HAVE_D_TYPE].
611 * io/ftw.c (ftw_dir): Likewise.
613 * io/xmknod.c (__xmknod): Don't check PATH for being null.
615 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
617 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
618 Use the BSD numbers rather than the arbitrary ones we had.
619 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
620 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
621 (SIGXCPU, SIGXFSZ): New macros.
624 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
625 initializer on [_LIBC_REENTRANT].
627 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
628 definitions inside [_POSIX_MAPPED_FILES].
630 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
632 * dirent/opendir.c: Include <fcntl.h>.
634 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
635 (__libc_getspecific): Likewise.
636 (__libc_key_create): Likewise.
638 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
639 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
640 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
641 (tmpfile64): Define as alias.
642 * sysdeps/wordsize-64/tmpfile.c: File removed.
643 * sysdeps/wordsize-64/tmpfile64.c: File removed.
644 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
645 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
647 * stdio-common/vfscanf.c: Include <stdbool.h>.
648 * nss/makedb.c: Likewise.
649 * stdio-common/_i18n_number.h: Likewise.
650 * argp/argp-help.c: Likewise.
651 * posix/wordexp.c: Likewise.
652 * sysdeps/posix/spawni.c: Likewise.
653 * nss/nss_files/files-initgroups.c: Likewise.
654 * stdio-common/reg-modifier.c: Include <stdlib.h>.
655 * nss/nss_files/files-initgroups.c: Likewise.
656 * nss/nss_db/db-netgrp.c: Likewise.
657 * nss/nss_db/db-initgroups.c: Likewise.
658 * io/fchmodat.c: Include <sys/stat.h>.
660 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
661 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
663 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
666 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
667 Add multiple inclusion protection.
669 2012-07-27 David S. Miller <davem@davemloft.net>
671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
673 2012-07-27 Gary Benson <gbenson@redhat.com>
676 * elf/rtld.c: Include <stap-probe.h>.
677 (dl_main): Added static probes "init_start" and "init_complete".
678 * elf/dl-load.c: Include <stap-probe.h>.
679 (lose): Take new parameter "nsid".
680 Added static probe "map_failed".
681 (_dl_map_object_from_fd): Pass namespace id to lose.
682 Added static probe "map_start".
683 (open_verify): Pass namespace id to lose.
684 * elf/dl-open.c: Include <stap-probe.h>.
685 (dl_open_worker) Added static probes "map_complete", "reloc_start"
686 and "reloc_complete".
687 * elf/dl-close.c: Include <stap-probe.h>.
688 (_dl_close_worker): Added static probes "unmap_start" and
690 * elf/rtld-debugger-interface.txt: New file documenting the above.
692 2012-07-26 Roland McGrath <roland@hack.frob.com>
694 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
695 rather than a string variable.
696 * sunrpc/rpc_main.c (h_output): Likewise.
697 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
699 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
701 * inet/check_native.c: New file.
703 2012-07-26 Joseph Myers <joseph@codesourcery.com>
706 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
707 if larger part has absolute value 1.0.
708 * math/s_clog10.c (__clog10): Likewise.
709 * math/s_clog10f.c (__clog10f): Likewise.
710 * math/s_clog10l.c (__clog10l): Likewise.
711 * math/s_clogf.c (__clogf): Likewise.
712 * math/s_clogl.c (__clogl): Likewise.
713 * math/libm-test.inc (clog_test): Add more tests.
714 (clog10_test): Likewise.
715 * sysdeps/i386/fpu/libm-test-ulps: Update.
716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
718 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
721 (La_retval): Likewise.
722 (int_retval): Likewise.
723 Update #error for removed macros to refer only to definitions in
725 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
729 (La_retval): Likewise.
730 (int_retval): Likewise.
731 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
735 (La_retval): Likewise.
736 (int_retval): Likewise.
737 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
741 (La_retval): Likewise.
742 (int_retval): Likewise.
743 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
747 (La_retval): Likewise.
748 (int_retval): Likewise.
749 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
753 (La_retval): Likewise.
754 (int_retval): Likewise.
755 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
759 (La_retval): Likewise.
760 (int_retval): Likewise.
761 * sysdeps/generic/tst-audit.h: Update comment to refer only to
762 macro definitions in tst-audit.h.
763 * sysdeps/i386/tst-audit.h: New file.
764 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
765 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
766 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
767 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
768 * sysdeps/sh/tst-audit.h: Likewise.
769 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
770 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
771 * sysdeps/x86_64/tst-audit.h: Likewise.
773 2012-07-26 Andreas Jaeger <aj@suse.de>
775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
778 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
779 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
780 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
782 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
783 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
784 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
786 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
789 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
791 (si_call_addr, si_syscall, si_arch): Define new macro.
792 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
794 (si_call_addr, si_syscall, si_arch): Define new marcro.
795 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
797 (si_call_addr, si_syscall, si_arch): Define new macro.
798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
800 (si_call_addr, si_syscall, si_arch): Define new macro.
802 2012-07-25 Joseph Myers <joseph@codesourcery.com>
805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
806 Change to 2.4.21 where previously 2.4.1.
807 * sysdeps/unix/sysv/linux/configure: Regenerated.
808 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
809 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
810 Linux kernel version.
811 (__ASSUME_STD_AUXV): Remove.
812 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
814 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
815 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
816 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
817 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
818 (__ASSUME_NETLINK_SUPPORT): Likewise.
819 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
820 (__no_netlink_support): Remove conditional definition.
821 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
823 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
824 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
825 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
826 (if_nameindex_ioctl): Remove.
827 (if_nameindex_netlink): Do not handle __no_netlink_support.
828 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
830 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
831 Remove conditional code.
832 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
834 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
836 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
837 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
838 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
840 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
841 [!__ASSUME_STD_AUXV]: Remove conditional code.
842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
843 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
844 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
846 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
847 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
849 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
851 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
852 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
854 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
856 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
859 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
862 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
864 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
866 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
868 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
871 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
873 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
876 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
878 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
880 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
882 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
885 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
887 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
889 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
891 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
894 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
896 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
897 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
898 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
899 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
900 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
901 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
902 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
903 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
904 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
905 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
906 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
907 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
908 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
909 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
910 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
911 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
912 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
913 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
914 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
916 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
917 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
918 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
920 2012-07-25 Florian Weimer <fweimer@redhat.com>
922 * Versions.def: Add GLIBC_2.17.
923 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
924 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
925 Introduce __libc_secure_getenv.
926 * stdlib/Versions (2.17): Add secure_getenv
927 (GLIBC_PRIVATE): Add __libc_secure_getenv.
928 * stdlib/secure-getenv.c: Rename __secure_getenv to
929 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
930 symbol __secure_getenv for GLIBC_2.0.
931 * stdlib/tst-secure-getenv.c: New.
932 * stdlib/Makefile (tests): Add testcase.
933 * manual/startup.texi (Environment Access): Document
935 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
936 __libc_secure_getenv.
937 * inet/ruserpass.c (ruserpass): Likewise.
938 * malloc/mtrace.c (mtrace): Likewise.
939 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
940 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
941 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
942 * sysdeps/posix/tempname.c: Likewise. Evaluate
944 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
945 __secure_getenv to __libc_secure_getenv.
946 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
959 2012-07-25 Joseph Myers <joseph@codesourcery.com>
961 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
962 (struct La_i86_retval): Likewise.
963 (struct La_x86_64_regs): Likewise.
964 (struct La_x86_64_retval): Likewise.
965 (struct La_x32_regs): Likewise.
966 (struct La_x32_retval): Likewise.
967 (struct La_ppc32_regs): Likewise.
968 (struct La_ppc32_retval): Likewise.
969 (struct La_ppc64_regs): Likewise.
970 (struct La_ppc64_retval): Likewise.
971 (struct La_sh_regs): Likewise.
972 (struct La_sh_retval): Likewise.
973 (struct La_s390_32_regs): Likewise.
974 (struct La_s390_32_retval): Likewise.
975 (struct La_s390_64_regs): Likewise.
976 (struct La_s390_64_retval): Likewise.
977 (struct La_sparc32_regs): Likewise.
978 (struct La_sparc32_retval): Likewise.
979 (struct La_sparc64_regs): Likewise.
980 (struct La_sparc64_retval): Likewise.
981 (struct audit_ifaces): Remove architecture-specific pltenter and
983 * sysdeps/i386/ldsodefs.h: New file.
984 * sysdeps/powerpc/ldsodefs.h: Likewise.
985 * sysdeps/s390/ldsodefs.h: Likewise.
986 * sysdeps/sh/ldsodefs.h: Likewise.
987 * sysdeps/sparc/ldsodefs.h: Likewise.
988 * sysdeps/x86_64/ldsodefs.h: Likewise.
990 2012-07-25 Marek Polacek <polacek@redhat.com>
993 * math/libm-test.inc (yn_test): Add another test.
994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
995 to ERANGE when the result is +-Inf.
996 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
997 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
998 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
999 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1001 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1003 * conform/data/time.h-data (NULL): Use macro-constant. Require
1005 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1007 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1009 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1011 * configure.in <sysdeps resolving>: Correct printing
1013 * configure: Regenerate.
1015 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1017 * math/w_ilogb.c: Include <limits.h>.
1018 * math/w_ilogbl.c: Likewise.
1020 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1022 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1023 va_copy. Document allowing for unavailable va_copy only as
1024 pre-C99 compatibility.
1025 * manual/string.texi (Copying and Concatenation): Use va_copy
1026 instead of __va_copy in concat example.
1028 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1030 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1031 (__sendto): Use create_address_port. Initialize APORT and deallocate
1034 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1035 with O_NOLINK passed to __file_name_lookup.
1037 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1038 with O_NOLINK passed to __file_name_lookup.
1040 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1041 negative N or less than NGIDS.
1043 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1044 type to string_t. Set ERANGE as errno and return it if NAME is not big
1045 enough. Use memcpy instead of strncpy.
1047 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1049 * elf/Makefile (check-data): Remove.
1050 (localplt.data): New vpath directive.
1051 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1052 instead of $(check-data).
1053 * scripts/data/localplt-generic.data: Move to ...
1054 * sysdeps/generic/localplt.data: ... here.
1055 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1056 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1057 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1060 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1063 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1066 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1069 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1072 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1076 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1078 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1079 PPC32 and PPC64 files.
1080 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1081 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1083 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1085 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1086 __makecontext_ret to ...
1087 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1088 ... here and call exit if uc_link is NULL. New file.
1089 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1090 __makecontext_ret.S.
1091 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1092 __makecontext_ret to ...
1093 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1094 ... here and call exit if uc_link is NULL. New file.
1095 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1096 __makecontext_ret.S.
1098 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1100 * elf/elf.h (R_390_IRELATIVE): New definition.
1101 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1102 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1103 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1104 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1105 (elf_machine_lazy_rel): Likewise.
1106 * sysdeps/s390/dl-irel.h: New file.
1107 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1108 * sysdeps/s390/s390-64/memset.S: New asm code.
1109 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1110 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1111 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1112 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1113 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1114 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1115 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1116 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1117 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1118 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1119 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1120 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1121 * sysdeps/s390/s390-32/memset.S: New asm code.
1122 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1124 2012-07-17 Marek Polacek <polacek@redhat.com>
1127 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1128 * sysdeps/s390/s390-64/configure.in: Likewise.
1129 * sysdeps/sparc/configure.in: Likewise.
1130 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1131 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1132 * sysdeps/i386/configure.in: Likewise.
1133 * sysdeps/x86_64/configure.in: Likewise.
1134 * sysdeps/sh/configure.in: Likewise.
1135 * sysdeps/s390/s390-32/configure: Regenerated.
1136 * sysdeps/s390/s390-64/configure: Likewise.
1137 * sysdeps/x86_64/configure: Likewise.
1138 * sysdeps/sh/configure: Likewise.
1139 * sysdeps/powerpc/powerpc64/configure: Likewise.
1140 * sysdeps/powerpc/powerpc32/configure: Likewise.
1141 * sysdeps/sparc/configure: Likwise.
1142 * sysdeps/i386/configure: Likewise.
1144 * elf/dl-open.c: Comment fixes.
1146 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1148 * Makefile [CXX] (check-data): Remove.
1149 [CXX] (c++-types.data): New vpath directive.
1150 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1151 vpath. Do not allow for C++ type data being missing.
1152 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1153 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1154 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1155 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1156 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1157 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1158 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1161 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1164 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1167 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1170 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1173 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1176 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1179 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1182 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1183 definitions to architecture-specific files.
1187 * sysdeps/i386/tls-macros.h: New file.
1188 * sysdeps/powerpc/tls-macros.h: Likewise.
1189 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1190 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1191 * sysdeps/sh/tls-macros.h: Likewise.
1192 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1193 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1194 * sysdeps/x86_64/tls-macros.h: Likewise.
1196 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1198 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1199 zero value for regular exit case.
1201 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1202 (__start_context): Preserve zero value for regular exit case.
1204 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1205 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1207 * manual/setjmp.texi (setcontext): Clarify normal process
1208 termination when uc_link is the null pointer.
1209 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1212 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1214 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1215 preprocessor. Test for each exception mask separately.
1217 2012-07-16 Andreas Jaeger <aj@suse.de>
1219 * po/ru.po: Update from translation team.
1221 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1223 * conform/data/string.h-data (NULL): Use macro-constant. Require
1225 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1226 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1227 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1228 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1229 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1231 2012-07-13 Andreas Jaeger <aj@suse.de>
1233 * po/fr.po: Update from translation team.
1235 2012-07-12 Marek Polacek <polacek@redhat.com>
1238 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1239 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1242 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1245 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1246 Change to 2.4.1 where previously 2.4.0.
1247 * sysdeps/unix/sysv/linux/configure: Regenerated.
1248 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1249 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1251 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1252 (__ASSUME_AT_CLKTCK): Remove.
1253 (__ASSUME_AT_PAGESIZE): Likewise.
1254 (__ASSUME_AT_XID): Likewise.
1255 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1256 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1257 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1259 (HAVE_AUX_PAGESIZE): Likewise.
1260 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1261 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1262 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1264 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1268 the temporary buffer used to invoke __gethostbyname2_r,
1269 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1270 host_data / struct gaih_addrtuple.
1271 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1272 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1273 header file nss/nsswitch.h.
1274 * nss/nsswitch.h (global scope): Add definition of implementation
1275 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1276 resolv/nss_dns/dns-host.c).
1278 2012-07-11 Andreas Jaeger <aj@suse.de>
1280 * po/fr.po: Update from translation team.
1282 * po/sv.po: Update from translation team
1283 * po/fr.po: Another update from translation team.
1285 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1287 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1288 for subnormals or multiply small sinh result by itself.
1289 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1292 2012-07-11 David S. Miller <davem@davemloft.net>
1294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1296 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1299 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1300 (INTERNAL_MARK): Shift it here.
1302 2012-07-10 Marek Polacek <polacek@redhat.com>
1305 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1306 libc_cv_asm_global_directive with .globl.
1307 * configure: Regenerated.
1308 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1310 * sysdeps/i386/configure: Regenerated.
1311 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1313 * sysdeps/x86_64/configure: Regenerated.
1314 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1315 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1316 * elf/tst-unique2mod2.c: Likewise.
1317 * elf/tst-unique2mod1.c: Likewise.
1318 * elf/tst-unique1mod2.c: Likewise.
1319 * elf/tst-unique1mod1.c: Likewise.
1320 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1321 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1322 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1323 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1324 * sysdeps/mach/sysdep.h: Likewise.
1325 * sysdeps/i386/sysdep.h: Likewise.
1326 * sysdeps/i386/i386-mcount.S: Likewise.
1327 * sysdeps/x86_64/_mcount.S: Likewise.
1328 * sysdeps/x86_64/sysdep.h: Likewise.
1329 * sysdeps/sh/_mcount.S: Likewise.
1330 * sysdeps/sh/sysdep.h: Likewise.
1331 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1332 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1333 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1334 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1335 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1336 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1337 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1338 * locale/localeinfo.h: Likewise.
1339 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1340 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1342 2012-07-09 Roland McGrath <roland@hack.frob.com>
1345 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1347 * manual/message.texi (The Uniforum approach): Likewise.
1348 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1349 (glibc iconv Implementation): Likewise.
1351 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1354 * math/s_clog.c (__clog): Avoid scaling a value down where that
1355 could result in underflow.
1356 * math/s_clog10.c (__clog10): Likewise.
1357 * math/s_clog10f.c (__clog10f): Likewise.
1358 * math/s_clog10l.c (__clog10l): Likewise.
1359 * math/s_clogf.c (__clogf): Likewise.
1360 * math/s_clogl.c (__clogl): Likewise.
1361 * math/libm-test.inc (clog_test): Add more tests.
1362 (clog10_test): Likewise.
1363 * sysdeps/i386/fpu/libm-test-ulps: Update.
1364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1366 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1369 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1370 by 7 not 8 to examine high bit of fractional part.
1373 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1374 for call to __mcount_internal.
1375 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1376 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1377 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1379 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1382 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1383 approximation for values within 0x1p-13f of an odd multiple of
1385 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1386 exception. Add more tests.
1387 * sysdeps/i386/fpu/libm-test-ulps: Update.
1390 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1391 inputs and return -1 for them. Do not check for +Inf in case not
1393 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1394 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1395 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1396 and return -1 for them. Do not check for +Inf in case not
1398 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1400 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1401 and return -1 for them. Do not check for +Inf in case not
1403 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1405 * sysdeps/i386/fpu/libm-test-ulps: Update.
1406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1408 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1410 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1412 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1416 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1417 could result in spurious underflow. Scale down values above
1418 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1419 * math/s_csqrtf.c (__csqrtf): Likewise.
1420 * math/s_csqrtl.c (__csqrtl): Likewise.
1421 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1423 * sysdeps/i386/fpu/libm-test-ulps: Update.
1424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1426 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1428 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1430 * catgets/xopen-msg.awk: New file.
1431 * catgets/xopen-msg.sed: Removed.
1433 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1435 * intl/po2test.awk: New file.
1436 * intl/po2test.sed: Removed.
1438 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1441 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1442 or multiply small sinh result by itself.
1443 * math/s_ctanf.c (__ctanf): Likewise.
1444 * math/s_ctanh.c (__ctanh): Likewise.
1445 * math/s_ctanhf.c (__ctanhf): Likewise.
1446 * math/s_ctanhl.c (__ctanhl): Likewise.
1447 * math/s_ctanl.c (__ctanl): Likewise.
1448 * math/libm-test.inc (ctan_test_tonearest): New function.
1449 (ctan_test_towardzero): Likewise.
1450 (ctan_test_downward): Likewise.
1451 (ctan_test_upward): Likewise.
1452 (ctanh_test_tonearest): Likewise.
1453 (ctanh_test_towardzero): Likewise.
1454 (ctanh_test_downward): Likewise.
1455 (ctanh_test_upward): Likewise.
1456 (main): Call these new functions.
1457 * sysdeps/i386/fpu/libm-test-ulps: Update.
1458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1460 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1462 * .gitignore: Delete /ports entry.
1464 2012-07-03 Andreas Jaeger <aj@suse.de>
1466 * po/bg.po: Update from translation team.
1467 * po/cs.po: Likewise.
1468 * po/de.po: Likewise.
1469 * po/hr.po: Likewise.
1470 * po/nl.pl: Likewise.
1471 * po/pl.po: Likewise.
1472 * po/vi.po: Likewise.
1474 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1476 * Makeconfig [!+link] (+link-before-libc): New variable.
1477 [!+link] (+link-after-libc): Likewise.
1478 [!+link] (+link-tests): Likewise.
1479 [!+link] (+link): Define in terms of $(+link-before-libc) and
1480 $(+link-after-libc).
1481 [!+link-static] (+link-static-before-libc): New variable.
1482 [!+link-static] (+link-static-after-libc): Likewise.
1483 [!+link-static] (+link-static-tests): Likewise.
1484 [!+link-static] (+link-static): Define in terms of
1485 $(+link-static-before-libc) and $(+link-static-after-libc).
1486 [build-shared] (link-libc-before-gnulib): New variable.
1487 [build-shared] (link-libc-tests): Likewise.
1488 [build-shared] (link-libc): Define in terms of
1489 $(link-libc-before-gnulib).
1490 [!build-shared] (link-libc-tests): New variable.
1491 (link-libc-static-tests): New variable.
1492 [!gnulib] (gnulib-arch): New variable.
1493 [!gnulib] (gnulib-tests): Likewise.
1494 [!gnulib] (static-gnulib-arch): Likewise.
1495 [!gnulib] (static-gnulib-tests): Likewise.
1496 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1497 Define with "=" instead of ":=".
1498 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1499 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1500 * Rules (binaries-all-notests): New variable.
1501 (binaries-all-tests): Likewise.
1502 (binaries-static-notests): Likewise.
1503 (binaries-static-tests): Likewise.
1504 (binaries-all): Define using $(binaries-all-notests) and
1505 $(binaries-all-tests).
1506 (binaries-static): Define using $(binaries-static-notests) and
1507 $(binaries-static-tests).
1508 (binaries-shared-tests): New variable.
1509 (binaries-shared-notests): Likewise.
1510 (binaries-shared): Remove variable.
1511 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1512 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1513 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1514 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1515 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1516 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1517 * elf/Makefile (sln-modules): New variable.
1518 (extra-objs): Add $(sln-modules:=.o).
1519 (ldconfig-modules): Add static-stubs.
1520 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1521 * elf/static-stubs.c: New file.
1524 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1525 by 7 not 8 to examine high bit of fractional part. Use volatile
1526 variables when splitting into final array of floats if
1527 __FLT_EVAL_METHOD__ != 0.
1528 * math/libm-test.inc (cos_test): Add another test.
1529 (sin_test): Likewise.
1530 * sysdeps/i386/fpu/libm-test-ulps: Update.
1533 * math/libm-test.inc (cosh_test): Add more tests.
1535 * version.h (RELEASE): Set to "development".
1536 (VERSION): Set to "2.16.90".
1538 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1540 * NEWS: Update copyright. Remove last-updated date.
1541 Mention math library bug fixes and timezone data changes.
1542 * README: Mention GNU/Hurd, x32, and HPPA support status.
1544 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1546 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1548 2012-06-27 Andreas Jaeger <aj@suse.de>
1550 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1552 2012-06-25 Andreas Jaeger <aj@suse.de>
1554 * sysdeps/s390/fpu/libm-test-ulps: Update.
1556 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1557 Thomas Schwinge <thomas@codesourcery.com>
1559 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1560 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1561 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1564 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1566 * sysdeps/mach/start.c: Remove file.
1567 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1568 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1569 * sysdeps/sh/init-first.c: Likewise.
1571 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1572 registers for frame unwinding purposes, add CFI directives.
1573 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1574 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1575 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1578 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1579 __fortify_fail returning.
1580 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1582 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1583 sysdeps/sh/____longjmp_chk.S.
1584 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1585 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1586 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1587 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1589 * sysdeps/sh/abort-instr.h: New file.
1590 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1591 process in case exit returns.
1593 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1594 initialize the GOT register before use.
1596 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1597 calculation of ARGC > 4.
1599 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1600 meaningful names to some local labels.
1602 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1603 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1605 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1606 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1607 (__arch_compare_and_exchange_val_16_acq): Likewise.
1608 (__arch_compare_and_exchange_val_32_acq): Likewise.
1609 (atomic_exchange_and_add): Fix gUSA sequence.
1610 (atomic_add): Likewise.
1611 (atomic_add_negative): Likewise.
1612 (atomic_add_zero): Likewise.
1613 (atomic_bit_test_set): Likewise.
1615 2012-06-22 Andreas Schwab <schwab@redhat.com>
1618 * include/link.h (struct link_map): Add l_free_initfini.
1619 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1621 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1622 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1623 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1626 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1628 * configure.in: Use AC_LANG_SOURCE.
1629 * configure: Regenerate.
1631 2012-06-22 Roland McGrath <roland@hack.frob.com>
1633 * configure.in (libc_cv_localstatedir): New substituted variable.
1634 * configure: Regenerated.
1635 * config.make.in (localstatedir): New variable, substituted from
1636 libc_cv_localstatedir.
1637 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1638 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1639 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1640 * sysdeps/gnu/configure: Regenerated.
1642 2012-06-21 Jeff Law <law@redhat.com>
1645 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1646 free. Simplify list management for _LIBC case.
1648 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1651 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1652 Clear sign bit of 64-bit integer value before comparing against
1655 * sysdeps/mach/configure: Regenerated.
1657 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1660 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1662 2012-06-21 Jeff Law <law@redhat.com>
1665 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1666 uint16_t for elements in the "seen" array to avoid char overflows.
1667 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1668 * elf/dl-open.c (dl_open_worker): Likewise.
1670 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1672 * scripts/list-sources.sh: Scan PORTS for translations.
1673 * po/libc.pot: Regenerated.
1675 2012-06-21 Andreas Jaeger <aj@suse.de>
1678 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1680 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1681 * bits/byteswap-16.h (__bswap_16): Likewise.
1682 * bits/byteswap.h (__bswap_constant_16): Likewise.
1684 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1687 * sysdeps/i386/fpu_control.h: Removed.
1688 * sysdeps/x86_64/fpu_control.h: Moved to ...
1689 * sysdeps/x86/fpu_control.h: Here.
1691 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1692 (_FPU_SETCW): Likewise.
1694 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1697 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1698 * sysdeps/x86/fpu/bits/mathinline.h: This.
1699 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1703 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1704 functions if __x86_64__ is defined.
1706 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1708 * string/endian.h: Add !__ASSEMBLER__ condition for including
1709 conversion interfaces.
1711 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1715 of ABS(x) in calculating zero to negative powers other than odd
1717 * math/libm-test.inc (pow_test): Add more tests.
1719 2012-06-15 Andreas Jaeger <aj@suse.de>
1721 * manual/contrib.texi (Contributors): Update entry of Liubov
1722 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1725 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1727 * string/string.h: Add __wur to GNU version of strerror_r.
1729 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1732 * string/Makefile (tests): Add tst-strtok_r.
1733 * string/tst-strtok_r.c: New file.
1734 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1735 RAX_LP/RDX_LP on SAVE_PTR.
1737 2012-06-14 Roland McGrath <roland@hack.frob.com>
1739 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1741 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1743 * libm_test.inc (csqrt_test): Allow more spurious underflow
1745 (j0_test): Likewise.
1746 (j1_test): Likewise.
1747 (y0_test): Likewise.
1748 (y1_test): Likewise.
1750 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1752 * po/Makefile (libc.pot): Use UTF-8 charset.
1754 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1757 Suppress sign-conversion warning from FD_SET.
1758 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1759 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1760 not unsigned long int.
1761 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1763 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1767 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1768 __extern_always_inline instead of __extern_inline.
1769 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1770 (__signbit): Likewise.
1771 (__signbitl): Support C++ namespace.
1772 (lrintf): New inline function.
1774 (llrintf): Likewise.
1786 (nearbyint): Likewise.
1787 (nearbyintf): Likewise.
1789 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1791 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1792 non-default versions.
1794 2012-06-11 Roland McGrath <roland@hack.frob.com>
1797 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1799 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1801 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1802 (FE_UPWARD, FE_DOWNWARD): Don't define.
1803 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1804 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1806 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1808 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1809 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1811 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1813 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1815 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1816 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1818 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1821 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1822 * sysdeps/i386/fpu/Implies: New file.
1823 * sysdeps/x86_64/fpu/Implies: Likewise.
1824 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1825 * sysdeps/x86/fpu/bits/fenv.h: This.
1827 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1830 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1833 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1834 character 0xffff that matches the last element of the
1837 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1839 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1842 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1845 values higher than 25.6283.
1847 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1849 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1850 subnormal exponent extraction and add some __builtin_expect.
1851 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1852 Fix for subnormal mantissa calculation.
1854 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1856 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1857 cpu2 is -1 and errno is not ENOSYS.
1859 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1862 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1863 * sysdeps/x86/bits/string.h: This.
1864 * sysdeps/x86_64/bits/string.h: Removed.
1866 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1867 if not compiling for x86-64, but compiling for >= i486.
1869 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1870 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1872 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1873 New macro from Linux kernel 3.4.0.
1874 (FP_XSTATE_MAGIC2): Likewise.
1875 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1876 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1877 (struct _fpx_sw_bytes): New struct.
1878 (struct _xsave_hdr): Likewise.
1879 (struct _ymmh_state): Likewise.
1880 (struct _xstate): Likewise.
1882 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1883 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1884 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1885 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1886 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1887 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1889 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1890 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1891 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1892 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1893 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1894 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1896 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1899 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1900 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1901 (sysdep_headers): Include sys/platform/ppc.h.
1902 * sysdeps/powerpc/test-gettimebase.c: Test for
1903 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1904 * manual/Makefile (appendices): Include platform.texi.
1905 * manual/contrib.texi (Contributors): Update @node pointers.
1906 * manual/maint.texi (Maintenance): Likewise.
1907 (Platform): New node.
1908 * manual/platform.texi: New file. Document the new features.
1910 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1911 Jakub Jelinek <jakub@redhat.com>
1914 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1915 where __builtin_expect is unavailable.
1917 2012-06-03 David S. Miller <davem@davemloft.net>
1919 * stdlib/longlong.h: Updated from GCC.
1921 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1924 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1925 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1928 (GLIBC_2.16): Likewise.
1930 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1932 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1934 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1937 (default-abi): New variable.
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1939 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1941 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1943 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1945 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1948 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1949 definition. Document in comment.
1951 2012-06-01 David S. Miller <davem@davemloft.net>
1953 * stdlib/longlong.h: Updated from GCC.
1955 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1958 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1959 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1960 sys/debugreg.h sys/io.h here.
1961 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1962 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1964 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1965 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1966 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1967 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1968 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1969 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1971 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1972 Define only if __x86_64__ is defined.
1974 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1977 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1978 Use int64_t for variable i.
1979 * math/libm-test.inc (fmod_test): Add more tests.
1981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1982 z computation is not scheduled after fetestexcept.
1983 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1984 Use math_force_eval instead of asm to ensure calculation scheduled
1985 before exception test.
1986 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1987 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1989 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1992 computation is not scheduled after fetestexcept.
1994 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1997 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1998 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2000 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2002 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2003 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2005 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2008 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2010 (__WCHAR_MIN): Support __WORDSIZE == 64.
2011 (__WCHAR_MAX): Likewise.
2013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2014 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2018 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2021 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2022 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2024 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2025 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2027 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2028 Defined to 1 if __x86_64__ isn't defined.
2029 (_STAT_VER_LINUX_OLD): New.
2030 (st_atime): Remove duplicate.
2031 (st_mtime): Likewise.
2032 (st_ctime): Likewise.
2034 2012-05-31 David S. Miller <davem@davemloft.net>
2036 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2039 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2041 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2045 * elf/dl-reloc.c: Include <_itoa.h>.
2046 (_dl_reloc_bad_type): Remove use of INTUSE.
2047 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2048 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2049 * stdio-common/psiginfo.c (psiginfo): Likewise.
2050 * stdio-common/psignal.c (psignal): Likewise.
2051 * string/strsignal.c (strsignal): Likewise.
2052 * include/signal.h (_sys_siglist): Declare hidden proto.
2053 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2054 INTVARDEF with libc_hidden_data_def.
2055 * stdio-common/itoa-udigits.c: Likewise.
2056 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2057 (_itoa_lower_digits_internal): Remove declaration.
2058 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2059 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2060 (_sys_sigabbrev_internal): Remove aliases.
2061 (_sys_siglist): Define hidden alias.
2063 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2068 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2071 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2072 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2074 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2075 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2076 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2077 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2078 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2079 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2081 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2082 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2083 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2085 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2093 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2094 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2095 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2097 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2098 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2100 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2101 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2102 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2104 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2105 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2107 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2108 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2112 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2114 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2115 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2117 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2119 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2120 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2121 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2123 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2125 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2127 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2129 * math/math.h (M_El): Use two more decimal places.
2130 (M_LOG2El): Likewise.
2131 (M_LOG10El): Likewise.
2133 (M_LN10l): Likewise.
2135 (M_PI_2l): Likewise.
2136 (M_PI_4l): Likewise.
2137 (M_1_PIl): Likewise.
2138 (M_2_PIl): Likewise.
2139 (M_2_SQRTPIl): Likewise.
2140 (M_SQRT2l): Likewise.
2141 (M_SQRT1_2l): Likewise.
2143 2012-05-31 David S. Miller <davem@davemloft.net>
2145 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2146 values between float registers.
2147 * sysdeps/sparc/sparc64/memset.S: Likewise.
2148 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2150 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2152 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2153 -D_FORTIFY_SOURCE=1.
2154 (CPPFLAGS-tst-longjmp_chk.c): Define.
2155 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2156 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2157 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2158 CFLAGS-tst-wchar-h.c.
2160 2012-05-31 Marek Polacek <polacek@redhat.com>
2163 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2164 __endmntent_internal): Remove declaration.
2165 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2166 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2167 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2169 2012-05-30 David S. Miller <davem@davemloft.net>
2171 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2172 (___Q_simulate_exceptions): Use real FP ops rather than writing
2174 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2177 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2180 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2181 * sysdeps/x86/bits/xtitypes.h: This.
2183 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2184 * sysdeps/x86/bits/wordsize.h: This.
2186 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2187 * sysdeps/x86/bits/huge_vall.h: This.
2189 * sysdeps/i386/bits/select.h: Removed.
2190 * sysdeps/x86_64/bits/select.h: Renamed to ...
2191 * sysdeps/x86/bits/select.h: This.
2193 * sysdeps/i386/bits/setjmp.h: Removed.
2194 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2195 * sysdeps/x86/bits/setjmp.h: This.
2197 * sysdeps/i386/bits/mathdef.h: Removed.
2198 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2199 * sysdeps/x86/bits/mathdef.h: This.
2201 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2204 * include/sys/socket.h (__connect_internal)
2205 (__libc_sa_len_internal): Remove declaration.
2206 (__connect, __libc_sa_len): Declare hidden_proto.
2207 (SA_LEN): Remove use of INTUSE.
2208 * socket/connect.c: Add libc_hidden_def.
2209 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2210 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2211 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2213 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2214 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2215 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2216 of adding _internal alias.
2218 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2221 * sysdeps/i386/bits/link.h: Removed.
2222 * sysdeps/i386/bits/linkmap.h: Likewise.
2223 * sysdeps/x86_64/bits/link.h: Renamed to ...
2224 * sysdeps/x86/bits/link.h: This.
2225 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2226 * sysdeps/x86/bits/linkmap.h: This.
2228 * sysdeps/i386/bits/endian.h: Removed.
2229 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2230 * sysdeps/x86/bits/endian.h: This.
2232 * sysdeps/i386/bits/byteswap.h: Removed.
2233 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2234 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2235 * sysdeps/x86/bits/byteswap.h: This.
2236 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2237 * sysdeps/x86/bits/byteswap-16.h: This.
2238 * sysdeps/i386/Implies: Add x86.
2239 * sysdeps/x86_64/Implies: Likewise.
2241 2012-05-30 David S. Miller <davem@davemloft.net>
2243 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2244 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2245 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2246 (FP_TRAPPING_EXCEPTIONS): Define.
2247 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2248 (FP_TRAPPING_EXCEPTIONS): Define.
2249 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2250 subnormals only when inexact has been signalled or underflow
2251 exceptions are enabled.
2252 (_FP_PACK_CANONICAL): Likewise.
2254 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2257 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2258 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2260 2012-05-30 Richard Henderson <rth@twiddle.net>
2262 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2263 with #ifndef NOT_IN_libc.
2265 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2266 marked to avoid plt entry.
2268 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2271 * Makeconfig (default-abi): New macro.
2272 (abi-includes): Likewise.
2273 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2274 $(abi-$(default-abi)-lib-soname) for soname if defined.
2275 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2277 * Makefile (installed-stubs): Likewise.
2278 * include/stubs-biarch.h: Removed.
2279 * scripts/lib-names.awk: Only handle one library at a time.
2280 * scripts/soversions.awk: Remove WORDSIZE support.
2281 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2283 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2285 (syscall-list-default-condition): Likewise.
2286 (syscall-list-default-condition): Likewise.
2287 (syscall-list-includes): Likewise.
2288 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2289 syscall-list-* with abi-*. Handle undefined abi-variants.
2290 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2291 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2292 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2293 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2294 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2295 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2297 (syscall-list-32-options): Likewise.
2298 (syscall-list-32-condition): Likewise.
2299 (syscall-list-64-options): Likewise.
2300 (syscall-list-64-condition): Likewise.
2301 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2303 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2306 (abi-64-ld-soname): New macro.
2307 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2308 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2311 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2312 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2314 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2316 * sysdeps/unix/sysv/linux/kernel-features.h
2317 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2318 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2319 include <kernel-features.h>.
2320 [!__NR_ftruncate64]: Remove conditional code.
2321 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2322 [__NR_ftruncate64]: Make code unconditional.
2323 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2324 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2325 include <kernel-features.h>.
2326 [!__NR_ftruncate64]: Remove conditional code.
2327 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2328 [__NR_ftruncate64]: Make code unconditional.
2329 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2331 include <kernel-features.h>.
2332 [!__NR_ftruncate64]: Remove conditional code.
2333 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2334 [__NR_ftruncate64]: Make code unconditional.
2335 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2337 include <kernel-features.h>.
2338 [!__NR_ftruncate64]: Remove conditional code.
2339 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2340 [__NR_ftruncate64]: Make code unconditional.
2341 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2343 * configure.in (libc_cv_fpie): Weaken to a compile test using
2345 * configure: Regenerated.
2347 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2362 2012-05-27 David S. Miller <davem@davemloft.net>
2364 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2366 (__Q_simulate_exceptions): Return void. Change to simulate
2367 exceptions by writing into the %fsr.
2368 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2369 (__Qp_handle_exceptions): Likewise.
2371 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2372 __Qp_handle_exceptions.
2373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2374 __Qp_handle_exceptions.
2375 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2376 as unused and give dummy FP_RND_NEAREST initializer.
2377 (FP_INHIBIT_RESULTS): Define.
2378 (___Q_simulate_exceptions): Update declaration.
2379 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2381 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2382 as unused and give dummy FP_RND_NEAREST initializer.
2383 (__Qp_handle_exceptions): Update declaration.
2384 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2387 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2389 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2390 the temporary FPU control word.
2391 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2392 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2393 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2394 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2395 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2396 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2397 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2398 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2399 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2400 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2401 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2403 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2405 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2408 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2410 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2411 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2412 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2413 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2415 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2416 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2419 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2421 * po/h.po: Update from translation team.
2423 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2425 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2427 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2428 handling of denormals.
2429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2430 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2431 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2432 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2433 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2438 2012-05-26 Marek Polacek <polacek@redhat.com>
2441 * math/libm-test.inc (fma_test): Don't always expect underflow
2444 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2447 * elf/tst-execstack.c: Include stackinfo.h.
2448 (do_test): Adjust test case to ensure that pthread_getattr_np
2449 behaviour remains the same after marking stack executable.
2451 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2453 * sysdeps/unix/sysv/linux/kernel-features.h
2454 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2455 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2457 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2458 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2459 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2461 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2462 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2464 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2466 * configure.in: Define the default includes to being none.
2467 * configure: Regenerated.
2469 2012-05-25 Roland McGrath <roland@hack.frob.com>
2471 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2472 * sysdeps/x86_64/setjmp.S: Likewise.
2473 * sysdeps/i386/bsd-setjmp.S: Likewise.
2474 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2475 * sysdeps/i386/setjmp.S: Likewise.
2476 * sysdeps/i386/__longjmp.S: Likewise.
2477 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2478 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2480 * include/stap-probe.h: New file.
2481 * configure.in: Handle --enable-systemtap.
2482 * configure: Regenerated.
2483 * config.h.in (USE_STAP_PROBE): New #undef.
2484 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2485 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2486 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2488 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2491 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2492 to 2.4.0 where earlier.
2493 * sysdeps/unix/sysv/linux/configure: Regenerated.
2494 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2495 <kernel-features.h>.
2496 [__ASSUME_32BITUIDS]: Make code unconditional.
2497 [!__ASSUME_32BITUIDS]: Remove conditional code.
2498 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2499 <kernel-features.h>.
2500 [__ASSUME_32BITUIDS]: Make code unconditional.
2501 [!__ASSUME_32BITUIDS]: Remove conditional code.
2502 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2503 [__ASSUME_32BITUIDS]: Make code unconditional.
2504 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2505 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2506 <kernel-features.h>.
2507 [__ASSUME_32BITUIDS]: Make code unconditional.
2508 [!__ASSUME_32BITUIDS]: Remove conditional code.
2509 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2510 <kernel-features.h>.
2511 [__ASSUME_32BITUIDS]: Make code unconditional.
2512 [!__ASSUME_32BITUIDS]: Remove conditional code.
2513 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2514 <kernel-features.h>.
2515 [__ASSUME_32BITUIDS]: Make code unconditional.
2516 [!__ASSUME_32BITUIDS]: Remove conditional code.
2517 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2518 <kernel-features.h>.
2519 [__ASSUME_32BITUIDS]: Make code unconditional.
2520 [!__ASSUME_32BITUIDS]: Remove conditional code.
2521 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2522 <kernel-features.h>.
2523 [__ASSUME_32BITUIDS]: Make code unconditional.
2524 [!__ASSUME_32BITUIDS]: Remove conditional code.
2525 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2526 <kernel-features.h>.
2527 [__ASSUME_32BITUIDS]: Make code unconditional.
2528 [!__ASSUME_32BITUIDS]: Remove conditional code.
2529 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2530 <kernel-features.h>.
2531 [__ASSUME_32BITUIDS]: Make code unconditional.
2532 [!__ASSUME_32BITUIDS]: Remove conditional code.
2533 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2534 <kernel-features.h>.
2535 [__ASSUME_32BITUIDS]: Make code unconditional.
2536 [!__ASSUME_32BITUIDS]: Remove conditional code.
2537 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2538 <kernel-features.h>.
2539 [__ASSUME_32BITUIDS]: Make code unconditional.
2540 [!__ASSUME_32BITUIDS]: Remove conditional code.
2541 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2542 <kernel-features.h>.
2543 [__ASSUME_32BITUIDS]: Make code unconditional.
2544 [!__ASSUME_32BITUIDS]: Remove conditional code.
2545 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2546 <kernel-features.h>.
2547 [__NR_setresgid] (__setresgid): Do not declare.
2548 [__ASSUME_32BITUIDS]: Make code unconditional.
2549 [!__ASSUME_32BITUIDS]: Remove conditional code.
2550 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2551 <kernel-features.h>.
2552 [__NR_setresuid] (__setresuid): Do not declare.
2553 [__ASSUME_32BITUIDS]: Make code unconditional.
2554 [!__ASSUME_32BITUIDS]: Remove conditional code.
2555 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2556 <kernel-features.h>.
2557 [__ASSUME_32BITUIDS]: Make code unconditional.
2558 [!__ASSUME_32BITUIDS]: Remove conditional code.
2559 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2560 <kernel-features.h>.
2561 [__ASSUME_32BITUIDS]: Make code unconditional.
2562 [!__ASSUME_32BITUIDS]: Remove conditional code.
2563 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2564 <kernel-features.h>.
2565 [__ASSUME_32BITUIDS]: Make code unconditional.
2566 [!__ASSUME_32BITUIDS]: Remove conditional code.
2567 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2568 <kernel-features.h>.
2569 [__ASSUME_32BITUIDS]: Make code unconditional.
2570 [!__ASSUME_32BITUIDS]: Remove conditional code.
2571 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2572 <kernel-features.h>.
2573 [__ASSUME_32BITUIDS]: Make code unconditional.
2574 [!__ASSUME_32BITUIDS]: Remove conditional code.
2575 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2576 <kernel-features.h>.
2577 [__ASSUME_32BITUIDS]: Make code unconditional.
2578 [!__ASSUME_32BITUIDS]: Remove conditional code.
2579 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2580 <kernel-features.h>.
2581 [__ASSUME_32BITUIDS]: Make code unconditional.
2582 [!__ASSUME_32BITUIDS]: Remove conditional code.
2583 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2584 <kernel-features.h>.
2585 [__ASSUME_32BITUIDS]: Make code unconditional.
2586 [!__ASSUME_32BITUIDS]: Remove conditional code.
2587 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2588 <kernel-features.h>.
2589 [__ASSUME_32BITUIDS]: Make code unconditional.
2590 [!__ASSUME_32BITUIDS]: Remove conditional code.
2591 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2592 <kernel-features.h>.
2593 [__ASSUME_32BITUIDS]: Make code unconditional.
2594 [!__ASSUME_32BITUIDS]: Remove conditional code.
2595 * sysdeps/unix/sysv/linux/kernel-features.h
2596 (__ASSUME_SETRESUID_SYSCALL): Remove.
2597 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2598 (__ASSUME_32BITUIDS): Likewise.
2599 (__ASSUME_LDT_WORKS): Likewise.
2600 (__ASSUME_O_DIRECTORY): Likewise.
2601 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2602 architecture but not kernel version.
2603 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2604 (__ASSUME_MMAP2_SYSCALL): Likewise.
2605 (__ASSUME_STAT64_SYSCALL): Likewise.
2606 (__ASSUME_IPC64): Likewise.
2607 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2608 <kernel-features.h>.
2609 [__ASSUME_32BITUIDS]: Make code unconditional.
2610 [!__ASSUME_32BITUIDS]: Remove conditional code.
2611 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2612 <kernel-features.h>.
2613 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2614 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2615 132096]: Remove conditional code.
2616 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2617 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2618 <kernel-features.h>.
2619 [__ASSUME_32BITUIDS]: Make code unconditional.
2620 [!__ASSUME_32BITUIDS]: Remove conditional code.
2621 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2622 <kernel-features.h>.
2623 [__ASSUME_32BITUIDS]: Make code unconditional.
2624 [!__ASSUME_32BITUIDS]: Remove conditional code.
2625 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2626 <kernel-features.h>.
2627 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2629 (__setresgid): Do not declare.
2630 [__ASSUME_32BITUIDS]: Make code unconditional.
2631 [!__ASSUME_32BITUIDS]: Remove conditional code.
2632 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2633 <kernel-features.h>.
2634 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2636 (__setresuid): Do not declare.
2637 [__ASSUME_32BITUIDS]: Make code unconditional.
2638 [!__ASSUME_32BITUIDS]: Remove conditional code.
2639 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2640 <kernel-features.h>.
2641 [__ASSUME_32BITUIDS]: Make code unconditional.
2642 [!__ASSUME_32BITUIDS]: Remove conditional code.
2643 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2644 <kernel-features.h>.
2645 [__ASSUME_32BITUIDS]: Make code unconditional.
2646 [!__ASSUME_32BITUIDS]: Remove conditional code.
2648 2012-05-25 Richard Henderson <rth@twiddle.net>
2650 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2651 dl_hwcap to ifunc resolver.
2652 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2654 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2655 dl_hwcap to ifunc resolver.
2656 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2658 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2661 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2662 for |x| <= 2**-26, not 2**-57.
2663 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2666 2012-05-24 Jeff Law <law@redhat.com>
2668 * stdio-common/Makefile (tests): Add bug25.
2669 * stdio-common/bug25.c: New test.
2671 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2674 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2675 multiple of MALLOC_ALIGNMENT in size.
2676 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2678 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2680 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2682 (FILENAME_MAX): Use macro-int-constant.
2683 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2684 (_IOFBF): Use macro-int-constant.
2687 (SEEK_CUR): Likewise.
2688 (SEEK_END): Likewise.
2689 (SEEK_SET): Likewise.
2690 (TMP_MAX): Likewise.
2691 (EOF): Use macro-int-constant. Require < 0.
2692 (NULL): Use macro-constant. Require == 0.
2693 (stdin): Require type to be FILE *.
2696 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2698 (EXIT_SUCCESS): Likewise.
2699 (NULL): Use macro-constant. Require == 0.
2700 (RAND_MAX): Use macro-int-constant.
2701 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2702 [C99-based standards] (strtof): Require function.
2703 [C99-based standards] (strtold): Likewise.
2704 [C99-based standards] (strtoll): Likewise.
2705 [C99-based standards] (strtoull): Likewise.
2706 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2707 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2708 [ISO || ISO99 || ISO11] (math.h): Likewise.
2709 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2710 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2713 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2716 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2717 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2718 * intl/dgettext.c (DCGETTEXT): Likewise.
2719 * intl/gettext.c (DCGETTEXT): Likewise.
2720 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2721 * posix/regex_internal.h (gettext): Likewise.
2722 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2724 * include/argz.h (__argz_count_internal)
2725 (__argz_stringify_internal): Remove declaration.
2726 (__argz_count, __argz_stringify): Declare hidden proto.
2727 * intl/dcgettext.c: Remove use of INTDEF.
2728 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2729 * string/argz-stringify.c: Likewise.
2730 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2731 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2732 Declare hidden proto.
2733 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2734 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2735 Declare hidden proto.
2736 * include/stdio.h (__asprintf_internal): Don't declare.
2737 (__asprintf): Don't define as macro. Declare hidden proto.
2738 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2739 (__fsetlocking): Declare hidden proto.
2740 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2741 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2743 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2744 (_IO_setlinebuf): Remove use of INTUSE.
2745 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2746 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2747 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2749 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2750 (_IO_do_flush): Remove use of INTUSE.
2751 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2752 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2753 (_IO_adjust_column, _IO_least_wmarker)
2754 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2755 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2756 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2757 (_IO_default_doallocate, _IO_wdefault_doallocate)
2758 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2759 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2760 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2761 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2762 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2763 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2764 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2765 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2766 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2767 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2768 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2769 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2770 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2772 (_IO_flush_all_internal, _IO_adjust_column_internal)
2773 (_IO_default_uflow_internal, _IO_default_finish_internal)
2774 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2775 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2776 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2777 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2778 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2779 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2780 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2781 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2782 (_IO_file_close_internal, _IO_file_close_it_internal)
2783 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2784 (_IO_file_init_internal, _IO_file_attach_internal)
2785 (_IO_file_fopen_internal, _IO_file_read_internal)
2786 (_IO_file_sync_internal, _IO_file_seek_internal)
2787 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2788 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2789 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2790 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2791 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2792 (_IO_list_all_internal, _IO_link_in_internal)
2793 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2794 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2795 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2796 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2797 (_IO_do_write_internal, _IO_padn_internal)
2798 (_IO_getline_info_internal, _IO_getline_internal)
2799 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2800 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2801 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2802 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2803 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2804 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2805 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2806 with libc_hidden_ver, remove use of INTUSE.
2807 * libio/genops.c: Likewise.
2808 * libio/freopen.c: Likewise.
2809 * libio/freopen64.c: Likewise.
2810 * libio/iofclose.c: Likewise.
2811 * libio/iofdopen.c: Likewise.
2812 * libio/iofflush.c: Likewise.
2813 * libio/iofflush_u.c: Likewise.
2814 * libio/iofgets.c: Likewise.
2815 * libio/iofgets_u.c: Likewise.
2816 * libio/iofopen.c: Likewise.
2817 * libio/iofopncook.c: Likewise.
2818 * libio/iofread.c: Likewise.
2819 * libio/iofread_u.c: Likewise.
2820 * libio/ioftell.c: Likewise.
2821 * libio/iofwrite.c: Likewise.
2822 * libio/iogetline.c: Likewise.
2823 * libio/iogets.c: Likewise.
2824 * libio/iogetwline.c: Likewise.
2825 * libio/iopadn.c: Likewise.
2826 * libio/iopopen.c: Likewise.
2827 * libio/ioseekoff.c: Likewise.
2828 * libio/ioseekpos.c: Likewise.
2829 * libio/iosetbuffer.c: Likewise.
2830 * libio/iosetvbuf.c: Likewise.
2831 * libio/ioungetc.c: Likewise.
2832 * libio/ioungetwc.c: Likewise.
2833 * libio/iovdprintf.c: Likewise.
2834 * libio/iovsprintf.c: Likewise.
2835 * libio/iovsscanf.c: Likewise.
2836 * libio/memstream.c: Likewise.
2837 * libio/obprintf.c: Likewise.
2838 * libio/oldfileops.c: Likewise.
2839 * libio/oldiofclose.c: Likewise.
2840 * libio/oldiofdopen.c: Likewise.
2841 * libio/oldiofopen.c: Likewise.
2842 * libio/oldiopopen.c: Likewise.
2843 * libio/oldstdfiles.c: Likewise.
2844 * libio/putc.c: Likewise.
2845 * libio/setbuf.c: Likewise.
2846 * libio/setlinebuf.c: Likewise.
2847 * libio/stdfiles.c: Likewise.
2848 * libio/strops.c: Likewise.
2849 * libio/vasprintf.c: Likewise.
2850 * libio/vscanf.c: Likewise.
2851 * libio/vsnprintf.c: Likewise.
2852 * libio/vswprintf.c: Likewise.
2853 * libio/wfiledoalloc.c: Likewise.
2854 * libio/wfileops.c: Likewise.
2855 * libio/wgenops.c: Likewise.
2856 * libio/wmemstream.c: Likewise.
2857 * libio/wstrops.c: Likewise.
2858 * libio/__fpurge.c: Likewise.
2859 * libio/__fsetlocking.c: Likewise.
2860 * assert/assert.c: Likewise.
2861 * debug/fgets_chk.c: Likewise.
2862 * debug/fgets_u_chk.c: Likewise.
2863 * debug/fread_chk.c: Likewise.
2864 * debug/fread_u_chk.c: Likewise.
2865 * debug/gets_chk.c: Likewise.
2866 * debug/obprintf_chk.c: Likewise.
2867 * debug/vasprintf_chk.c: Likewise.
2868 * debug/vdprintf_chk.c: Likewise.
2869 * debug/vsnprintf_chk.c: Likewise.
2870 * debug/vsprintf_chk.c: Likewise.
2871 * malloc/mtrace.c: Likewise.
2872 * misc/error.c: Likewise.
2873 * misc/syslog.c: Likewise.
2874 * stdio-common/asprintf.c: Likewise.
2875 * stdio-common/fxprintf.c: Likewise.
2876 * stdio-common/getw.c: Likewise.
2877 * stdio-common/isoc99_fscanf.c: Likewise.
2878 * stdio-common/isoc99_scanf.c: Likewise.
2879 * stdio-common/isoc99_vfscanf.c: Likewise.
2880 * stdio-common/isoc99_vscanf.c: Likewise.
2881 * stdio-common/isoc99_vsscanf.c: Likewise.
2882 * stdio-common/printf-prs.c: Likewise.
2883 * stdio-common/printf_fp.c: Likewise.
2884 * stdio-common/printf_fphex.c: Likewise.
2885 * stdio-common/printf_size.c: Likewise.
2886 * stdio-common/putw.c: Likewise.
2887 * stdio-common/scanf.c: Likewise.
2888 * stdio-common/sprintf.c: Likewise.
2889 * stdio-common/tmpfile.c: Likewise.
2890 * stdio-common/vfprintf.c: Likewise.
2891 * stdio-common/vfscanf.c: Likewise.
2892 * stdlib/strfmon_l.c: Likewise.
2893 * sunrpc/openchild.c: Likewise.
2894 * sunrpc/xdr_stdio.c: Likewise.
2895 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2896 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2898 2012-05-24 Roland McGrath <roland@hack.frob.com>
2900 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2902 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2903 in the third column, to generate for the shared library an IFUNC
2904 that uses _dl_vdso_vsym.
2905 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2906 * Makeconfig (object-suffixes-noshared): New variable.
2908 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2909 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2910 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2911 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2914 * include/sys/time.h (__gettimeofday): Remove macro.
2915 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2916 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2918 (__gettimeofday): Add libc_hidden_def.
2919 (gettimeofday): Add libc_hidden_weak.
2920 * sysdeps/mach/gettimeofday.c: Likewise.
2921 * sysdeps/posix/gettimeofday.c: Likewise.
2922 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2923 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2925 (__gettimeofday_internal): Remove strong_alias.
2926 (__gettimeofday): Add libc_hidden_def.
2927 (gettimeofday): Add libc_hidden_weak.
2928 * sysdeps/unix/syscalls.list (gettimeofday):
2929 Remove __gettimeofday_internal alias.
2931 2012-05-24 Daniel Jacobowitz <drow@false.org>
2932 H.J. Lu <hongjiu.lu@intel.com>
2935 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2936 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2937 (largebin_index_32_big): New.
2938 (largebin_index): Use it for 16-byte alignment.
2939 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2940 correction with front_misalign.
2942 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2970 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2971 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2973 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2977 * math/libm-test.inc (exp_test): Add test from bug 14036.
2978 (pow_test): Add test from bug 10846.
2980 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2982 (special_function): Do not include flags in test name.
2983 (parse_args): Likewise.
2984 * sysdeps/i386/fpu/libm-test-ulps: Update.
2985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2986 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2987 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2990 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2992 * math/libm-test.inc ("Philosophy"): Update comment about
2994 (UNDERFLOW_EXCEPTION): New macro.
2995 (UNDERFLOW_EXCEPTION_OK): Likewise.
2996 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2997 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2998 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2999 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3000 (INVALID_EXCEPTION_OK): Update value.
3001 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3002 (OVERFLOW_EXCEPTION_OK): Likewise.
3003 (IGNORE_ZERO_INF_SIGN): Likewise.
3004 (test_exceptions): Handle underflow exceptions.
3005 (acos_test): Update for underflow exception expectations.
3006 (cexp_test): Likewise.
3007 (clog_test): Likewise.
3008 (clog10_test): Likewise.
3009 (csqrt_test): Likewise.
3010 (ctan_test): Likewise.
3011 (ctanh_test): Likewise.
3012 (exp_test): Likewise.
3013 (exp10_test): Likewise.
3014 (exp2_test): Likewise.
3015 (expm1_test): Likewise.
3016 (fma_test): Likewise.
3017 (j0_test): Likewise.
3018 (jn_test): Likewise.
3019 (nexttoward_test): Likewise.
3020 (pow_test): Likewise.
3021 (scalbn_test): Likewise.
3022 (scalbln_test): Likewise.
3023 (tan_test): Likewise.
3024 (y1_test): Likewise.
3025 * sysdeps/i386/fpu/libm-test-ulps: Update.
3026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3028 2012-05-23 David S. Miller <davem@davemloft.net>
3030 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3031 (__libc_sigaction): Remove unused local variables.
3033 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3035 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3037 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3039 mktime: avoid signed integer overflow
3040 * time/mktime.c (__mktime_internal): Do not mishandle the case
3041 where diff == INT_MIN.
3043 mktime: simplify computation of average
3044 * time/mktime.c (ranged_convert): Use new time_t_avg function
3045 instead of rolling our own (probably-slower) code.
3047 mktime: do not assume signed right shift propagates sign bit
3048 * time/mktime.c (isdst_differ): New static function.
3049 (__mktime_internal): No need to normalize tm_isdst now.
3050 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3053 mktime: merge another wrapv change from gnulib
3054 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3055 from some compilers.
3057 mktime: remove incorrect attempt at unusual arithmetics
3058 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3059 The code didn't really work on such machines anyway.
3060 (TYPE_MINIMUM): Assume two's complement.
3061 (twos_complement_arithmetic): Verify that long_int and time_t
3062 are two's complement (or unsigned, in the latter case).
3064 mktime: check signed shifts on long_int and time_t, too
3065 * time/mktime.c (SHR): Check that shifts work as desired
3066 on the types long_int and time_t too, as SHR is used on
3069 mktime: do not assume 'long' is wide enough
3070 * time/mktime.c (verify): Move decl up.
3071 (long_int): New type.
3072 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3073 to remove assumption in the code that 'long' is wide enough to
3074 store year values. This assumption is not true on x32 and on
3075 some non-glibc platforms.
3077 mktime: merge wrapv change from gnulib
3078 * time/mktime.c (WRAPV): New macro.
3079 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3080 (guess_time_tm, __mktime_internal): Do not assume that signed
3081 integer overflow wraps around; modern compilers generate code
3082 where this assumption is no longer valid.
3084 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3086 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3087 Replace "jmp L(pseudo_end)" with "ret".
3088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3091 2012-05-23 Andreas Jaeger <aj@suse.de>
3093 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3094 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3096 2012-05-23 Andreas Jaeger <aj@suse.de>
3097 Maximilian Attems <max@stro.at>
3099 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3102 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3104 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3105 code so that pseudo_end is just ret and the stack pointer is
3106 correct also for static library in error case.
3108 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3110 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3111 move to syscalls.list.
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3117 * manual/install.texi (Running make install): Do not mention Linux
3118 kernel version for which pt_chown is not needed.
3119 (Linux): Do not mention problems with nscd with 2.0 kernels.
3120 * INSTALL: Regenerated.
3122 2012-05-23 Andreas Jaeger <aj@suse.de>
3124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3125 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3127 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3129 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3131 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3135 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3137 * sysdeps/unix/sysv/linux/bits/in.h
3138 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3140 2012-05-22 Roland McGrath <roland@hack.frob.com>
3142 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3143 (PREPARE_VERSION): Just use assert instead, it will be elided
3144 under [NDEBUG] anyway.
3146 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3148 * sysdeps/unix/sysv/linux/Makefile: Include
3149 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3150 (sysdep_routines): Remove sysctl.
3151 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3152 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3153 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3154 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3155 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3157 2012-05-22 Andreas Jaeger <aj@suse.de>
3159 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3160 that pseudo_end is just ret and the stack pointer is correct also
3161 for static library in error case.
3163 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3166 * nss/nsswitch.c (defconfig_entries): New variable.
3167 (__nss_database_lookup): Don't leak defconfig entries.
3168 (nss_parse_service_list): Don't leak on error paths.
3169 (free_database_entries): New function.
3170 (free_defconfig): New function.
3171 (free_mem): Move common code to free_database_entries.
3173 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3175 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3177 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3179 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3180 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3183 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3184 (INTERNAL_SYSCALL_TYPES): Likewise.
3185 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3186 (LOAD_REGS_TYPES_[1-6]): Likewise.
3187 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3188 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3190 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3192 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3193 copysignl for GLIBC_2_0.
3194 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3195 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3197 logbl for GLIBC_2_0.
3198 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3199 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3201 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3204 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3206 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3209 * time/mktime.c: Update copyright years.
3211 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3213 mktime: merge comment-quoting-style change from gnulib
3214 * time/mktime.c: Quote 'like this' in comments.
3215 The GNU coding standards suggest that we no longer quote `like this',
3216 as "`" and "'" are typically rendered asymmetrically nowadays.
3217 The typical gnulib style is to quote 'like this' when quoting
3218 code, and "like this" when quoting English.
3220 * time/mktime.c (compile-command): Add "-I.".
3222 mktime: merge mktime-internal.h change from gnulib
3223 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3225 mktime: merge time_r change from gnulib
3226 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3228 mktime: merge DEBUG change from gnulib
3229 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3230 case system <time.h> has a #define.
3232 mktime: merge <sys/types.h> change from gnulib
3233 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3234 since <time.t> is now guaranteed to define time_t.
3236 mktime: merge HAVE_CONFIG_H change from gnulib
3237 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3239 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3244 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3246 (struct rusage): Use anonymous union to pad each field to
3249 2012-05-21 David S. Miller <davem@davemloft.net>
3251 * Makefules (o-iterator): Remove .s cases.
3252 (compile-command.s): Delete.
3253 (COMPILE.s): Delete.
3254 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3256 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3258 * configure.in (libc_cv_predef_stack_protector): Only consider
3259 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3260 * configure: Regenerated.
3262 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3265 New macro. Use R*LP on int and pointer.
3266 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3267 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3268 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3269 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3271 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3272 [__WORDSIZE_TIME64_COMPAT32] instead of
3273 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3274 (struct utmp): Likewise.
3275 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3276 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3278 (__WORDSIZE_TIME64_COMPAT32): This.
3279 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3280 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3281 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3282 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3283 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3284 (__WORDSIZE_TIME64_COMPAT32): New macro.
3286 2012-05-21 Andreas Jaeger <aj@suse.de>
3288 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3289 only if [SHARED]. Add prototype for __wcschr_ia32.
3291 2012-05-21 Roland McGrath <roland@hack.frob.com>
3293 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3294 of %rbp unmolested in the jmp_buf while mangling the low bits.
3295 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3296 unmolested high bits of %rbp while demangling the low bits.
3297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3299 2012-05-21 Andreas Jaeger <aj@suse.de>
3301 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3302 * sunrpc/svc_simple.c: Use it for registerrpc.
3303 * sunrpc/xcrypt.c: Use it for passwd2des.
3305 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3307 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3309 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3310 Don't define if [__SYSCALL_WORDSIZE != 32].
3311 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3314 2012-05-21 Bruno Haible <bruno@clisp.org>
3315 Andreas Jaeger <aj@suse.de>
3317 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3318 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3319 inptr and inend for must_buffer_ch.
3320 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3321 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3322 * stdio-common/Makefile (tests): Remove bug15.
3323 (bug15-ENV): Remove macro.
3324 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3327 2012-05-19 Andreas Jaeger <aj@suse.de>
3328 Roland McGrath <roland@hack.frob.com>
3330 * manual/contrib.texi: Completely rewritten. It contains now an
3331 alphabetical list of contributors and their contributions.
3333 2012-05-21 Richard Henderson <rth@twiddle.net>
3335 * misc/getauxval.c (__getauxval): Use unsigned long int.
3336 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3337 (getauxval): Use unsigned long int.
3339 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3341 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3343 2012-05-21 Roland McGrath <roland@hack.frob.com>
3345 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3346 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3347 __alignof__ (long double).
3349 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3353 2012-05-20 Richard Henderson <rth@twiddle.net>
3355 * misc/getauxval.c: New file.
3356 * misc/sys/auxv.h: New file.
3357 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3358 (routines): Add getauxval.
3359 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3360 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3361 * elf/dl-sysdep.c (_dl_auxv): Remove.
3362 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3363 * elf/dl-support.c (_dl_auxv): New variable.
3364 (_dl_aux_init): Initialize it.
3365 * manual/startup.texi (Auxiliary Vector): New node.
3366 * sysdeps/generic/bits/hwcap.h: New file.
3367 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3368 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3369 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3370 * sysdeps/sparc/sysdep.h: ... here. Include it.
3371 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3372 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3378 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3384 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3388 2012-05-19 David S. Miller <davem@davemloft.net>
3390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3392 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3395 * math/s_ccosh.c: Include <float.h>
3396 (__ccosh): Avoid internal overflow calculating sinh and cosh
3397 values before multiplying by sin and cos values.
3398 * math/s_ccoshf.c: Likewise.
3399 * math/s_ccoshl.c: Likewise.
3400 * math/s_csin.c: Likewise.
3401 * math/s_csinf.c: Likewise.
3402 * math/s_csinl.c: Likewise.
3403 * math/s_csinh.c: Likewise.
3404 * math/s_csinhf.c: Likewise.
3405 * math/s_csinhl.c: Likewise.
3406 * math/libm-test.inc (ccos_test): Add more tests.
3407 (ccosh_test): Likewise.
3408 (csin_test): Likewise.
3409 (csinh_test): Likewise.
3410 * sysdeps/i386/fpu/libm-test-ulps: Update.
3411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3413 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3415 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3416 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3418 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3420 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3422 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3423 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3424 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3425 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3426 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3427 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3428 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3429 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3430 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3431 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3432 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3433 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3434 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3435 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3436 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3437 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3438 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3439 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3440 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3441 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3442 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3443 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3444 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3445 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3446 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3447 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3448 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3449 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3450 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3451 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3452 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3454 2012-05-18 Andreas Jaeger <aj@suse.de>
3456 * csu/.gitignore: Delete.
3458 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3460 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3461 (timex): Use __syscall_slong_t.
3463 2012-05-18 Andreas Jaeger <aj@suse.de>
3464 Carlos O'Donell <carlos_odonell@mentor.com>
3466 * manual/install.texi (Configuring and compiling): Update
3467 description about files modified in the source directory.
3468 * INSTALL: Regenerated.
3470 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3472 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3473 value. Use "or" to set return value to -1.
3474 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3475 negate return value.
3477 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3479 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3480 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3481 failure if the compiler has Graphite support disabled.
3482 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3484 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3485 CFLAGS-memmove.c): Likewise.
3486 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3489 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3491 * sysdeps/x86_64/x32/_itoa.h: New file.
3493 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3494 getdents system call only if kernel and user dirents have the
3495 same d_ino and d_off.
3497 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3498 LLONG_MAX != LONG_MAX.
3499 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3500 (_fitoa_word): Likewise.
3502 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3504 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3505 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3506 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3508 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3509 include <bits/wordsize.h>. Check __x86_64__ instead of
3511 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3512 if __x86_64__ is defined. Use anonymous union on fpstate.
3514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3517 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3519 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3520 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3521 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3522 Refer to _rtld_local_ro instead of _rtld_global_ro.
3523 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3525 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3527 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3529 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3530 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3531 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3533 * sysdeps/powerpc/powerpc32/dl-machine.c
3534 (__elf_machine_runtime_setup) [PROF]: Don't reference
3537 2012-05-18 Andreas Jaeger <aj@suse.de>
3539 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3540 function only available for GCCs before 3.4 since GCC 3.4
3541 introduced a builtin.
3543 (llrintf): Likewise.
3551 (nearbyint): Likewise.
3552 (nearbyintf): Likewise.
3558 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3560 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3561 on both fields and cast pointer to __syscall_ulong_t.
3563 * bits/types.h (__fsword_t): New type.
3564 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3565 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3566 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3567 (__FSWORD_T_TYPE): Likewise.
3568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3569 (__FSWORD_T_TYPE): Likewise.
3570 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3571 (__FSWORD_T_TYPE): Likewise.
3572 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3573 (__FSWORD_T_TYPE): Likewise.
3574 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3575 __SWORD_TYPE with __fsword_t.
3576 (statfs64): Likewise.
3578 2012-05-17 David S. Miller <davem@davemloft.net>
3580 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3582 2012-05-17 Andreas Jaeger <aj@suse.de>
3584 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3587 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3589 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3591 2012-05-17 Andreas Jaeger <aj@suse.de>
3593 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3596 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3598 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3600 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3602 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3603 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3605 2012-05-17 Andreas Jaeger <aj@suse.de>
3606 Carlos O'Donell <carlos_odonell@mentor.com>
3609 * sysdeps/x86_64/multiarch/init-arch.h
3610 (bit_YMM_Usable): Rename to...
3611 (bit_AVX_Usable): ... this.
3612 (bit_FMA4_Usable): New macro.
3613 (bit_XMM_state): New macro.
3614 (bit_YMM_state): New macro.
3615 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3616 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3617 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3618 (CPUID_OSXSAVE): New macro.
3619 (CPUID_AVX): New macro.
3620 (CPUID_FMA4): New macro.
3621 (index_YMM_Usable): Rename to...
3622 (index_AVX_Usable): ... this.
3623 (HAS_AVX): Use HAS_ARCH_FEATURE.
3624 (HAS_FMA4): Likewise.
3625 (HAS_YMM_USABLE): Remove.
3626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3627 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3629 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3630 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3631 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3632 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3633 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3635 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3637 * math/libm-test.c: Support platforms without multiple rounding modes.
3638 * math/bug-nextafter.c: Support platforms without FP exceptions.
3639 * math/bug-nexttoward.c: Likewise.
3640 * math/test-fenv.c: Likewise.
3641 * math/test-misc.c: Likewise.
3642 * stdlib/bug-getcontext.c: Likewise.
3644 2012-05-17 Andreas Jaeger <aj@suse.de>
3646 * manual/examples/search.c (critter_cmp): Change signature to
3648 * manual/string.texi (Collation Functions): Likewise.
3650 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3652 * bits/types.h: Fold copyright years.
3653 * bits/typesizes.h: Likewise.
3654 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3658 * time/time.h: Likewise.
3660 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3663 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3664 in instead of returning them. Return void.
3665 (__libc_mallinfo): Accumulate over all arenas.
3666 (__malloc_stats): Adjust for change in int_mallinfo interface.
3668 2012-05-16 Roland McGrath <roland@hack.frob.com>
3671 * configure.in (NM): Add AC_CHECK_TOOL for it.
3672 (libc_extra_cflags): New substituted variable.
3673 Check for -fstack-protector being used implicitly.
3674 * configure: Regenerated.
3675 * config.make.in (config-extra-cflags): New variable,
3676 gets @libc_extra_cflags@.
3677 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3680 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3681 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3682 * configure: Regenerated.
3683 * config.make.in (CPPUNDEFS): New substituted variable.
3684 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3685 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3686 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3688 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3690 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3691 (mq_attr): Use __syscall_slong_t.
3693 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3695 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3696 Check __x86_64__ instead of __WORDSIZE.
3697 (_STAT_VER_LINUX): Likewise.
3698 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3699 __syscall_ulong_t and __syscall_slong_t.
3702 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3704 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3706 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3708 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3710 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3712 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3715 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3716 include <bits/wordsize.h>. Check __x86_64__ instead of
3718 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3720 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3722 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3723 include <bits/wordsize.h>. Check __x86_64__ instead of
3725 (user_regs_struct): Use "__extension__ unsigned long long"
3726 instead of "unsigned long" if __x86_64__ is defined.
3727 (user): Likewise. Pad after pointer field if __ILP32__ is
3730 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3732 * configure.in (makeinfo): Require version 4.5 or later. Allow
3734 * configure: Regenerated.
3735 * manual/install.texi (texinfo): Increase version requirement to
3737 * INSTALL: Regenerated.
3739 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3741 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3743 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3745 * sysdeps/x86_64/x32/ffs.c: New file.
3747 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3749 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3750 defined. Use __syscall_ulong_t.
3751 (shminfo): Use __syscall_ulong_t.
3752 (shm_info): Likewise.
3754 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3757 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3759 (msgqnum_t): Use __syscall_ulong_t.
3760 (msglen_t): Likewise.
3761 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3764 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3765 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3767 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3769 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3770 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3772 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3775 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3776 include <bits/wordsize.h>. Check __x86_64__ instead of
3779 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3780 "unsigned long long int" if __x86_64__ is defined.
3781 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3783 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3784 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3785 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3787 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3789 (GET_PC): Cast to uintptr_t first.
3790 (GET_FRAME): Likewise.
3791 (GET_STACK): Likewise.
3793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3794 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3795 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3796 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3797 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3798 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3799 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3800 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3801 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3802 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3803 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3804 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3805 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3806 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3807 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3808 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3809 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3811 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3812 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3813 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3814 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3815 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3816 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3817 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3819 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3820 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3821 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3823 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3825 * Makerules (+depfiles): Also collect depfiles from .oS in
3827 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3828 .oS, $(libnldbl-routines)).
3830 * Makerules (native-compile-mkdep-flags): Define.
3831 * sunrpc/Makefile (extra-objs): Add $(addprefix
3832 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3833 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3834 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3835 calling $(make-target-directory).
3837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3839 * bits/types.h (__snseconds_t): Removed.
3840 * time/time.h (struct timespec): Replace __snseconds_t with
3842 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3843 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3846 (__SNSECONDS_T_TYPE): Likewise.
3847 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3848 (__SNSECONDS_T_TYPE): Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3850 (__SNSECONDS_T_TYPE): Likewise.
3852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3854 * sysdeps/mach/hurd/bits/typesizes.h
3855 (__SYSCALL_SLONG_TYPE): New macro.
3856 (__SYSCALL_ULONG_TYPE): Likewise.
3858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3860 * bits/types.h (__syscall_slong_t): New type.
3861 (__syscall_ulong_t): Likewise.
3863 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3864 (__SYSCALL_ULONG_TYPE): Likewise.
3865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3866 (__SYSCALL_SLONG_TYPE): Likewise.
3867 (__SYSCALL_ULONG_TYPE): Likewise.
3868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3869 (__SYSCALL_SLONG_TYPE): Likewise.
3870 (__SYSCALL_ULONG_TYPE): Likewise.
3871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3872 (__SYSCALL_SLONG_TYPE): Likewise.
3873 (__SYSCALL_ULONG_TYPE): Likewise.
3875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3877 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3878 Add sigaltstack-offsets.sym.
3879 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3880 <sigaltstack-offsets.h>.
3881 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3882 longjmp_msg pointer.
3883 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3884 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3886 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3888 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3890 * elf/stackguard-macros.h: Remove file.
3891 * sysdeps/generic/stackguard-macros.h: New file.
3892 * sysdeps/i386/stackguard-macros.h: Likewise.
3893 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3894 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3895 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3896 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3897 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3898 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3899 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3900 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3901 <elf/stackguard-macros.h>.
3904 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3905 __aligned__ in attribute.
3906 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3907 (gregset_t): Likewise.
3909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3911 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3912 * sysdeps/x86_64/64/Implies-after: Here. New file.
3913 * sysdeps/x86_64/x32/Implies-after: New file.
3915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3917 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3918 and access return value for _dl_profile_fixup. Use R10_LP to
3921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3923 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3927 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3928 * sysdeps/x86_64/x32/sysdep.h: New file.
3930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3932 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3933 * sysdeps/x86_64/setjmp.S: Likewise.
3935 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3937 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3938 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3939 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3940 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3941 remove unused global constant.
3943 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3945 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3946 include of <not-cancel.h>.
3948 2012-05-15 Roland McGrath <roland@hack.frob.com>
3950 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3952 2012-05-15 Jeff Law <law@redhat.com>
3953 Andreas Jaeger <aj@suse.de>
3956 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3958 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3959 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3960 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3961 code changing __hst_map_handle.map.
3963 2012-05-15 Roland McGrath <roland@hack.frob.com>
3965 * configure.in (sysnames): Look for Implies-before and Implies-after
3967 * configure: Regenerated.
3969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3971 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3972 8-byte data alignment with LP_SIZE alignment.
3974 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3976 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3981 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3985 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3986 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3987 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3989 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3993 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3994 (stackinfo_sub_sp): Likewise.
3996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3998 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4003 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4008 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4013 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4015 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4017 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4018 into R11_LP and load __x86_64_shared_cache_size_half into
4021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4023 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4026 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4035 powerpc32/power7/fpu/s_logb.c via #include.
4036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4037 powerpc32/power7/fpu/s_logbf.c via #include.
4038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4039 powerpc32/power7/fpu/s_logbl.c via #include.
4041 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4043 * README.libm: Remove file.
4045 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4047 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4048 count for x32. Use R*_LP and omit operand-size suffix.
4050 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4052 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4053 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4054 * sysdeps/x86_64/x32/shlib-versions: New file.
4056 2012-05-14 Roland McGrath <roland@hack.frob.com>
4058 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4059 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4060 Use _dl_fatal_printf instead.
4062 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4064 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4065 set if not set by the user. Do not allow for being unset.
4066 * sysdeps/unix/sysv/linux/configure: Regenerated.
4068 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4070 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4071 the `q' suffix from lea and replace .quad with ASM_ADDR.
4073 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4076 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4078 (PTR_DEMANGLE): Likewise.
4080 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4082 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4084 (ASM_ADDR): Likewise.
4102 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4104 * sysdeps/x86_64/x32/dl-machine.h: New file.
4106 2012-05-14 Andreas Jaeger <aj@suse.de>
4108 * manual/Makefile (subdir): Remove export of subdir.
4109 (all): Remove target.
4110 (.PHONY): Remove all from list.
4111 (mkinstalldirs): Remove.
4112 (.PHONY): Remove installdirs from list.
4113 ($(inst_infodir)/libc.info): Use make-target-directory.
4114 (installdirs): Remove.
4116 (glibc-targets): Remove.
4119 ($(objpfx)stubs ../po/manual.pot): Remove.
4120 ($(objpfx)stamp%): Remove.
4121 (make-target-directory): Remove.
4122 (subdir_install): Remove.
4130 * manual/.gitignore: Remove, it's not needed anymore.
4131 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4133 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4135 (texis): Renamed to $(objpfx)texis.
4136 (texis-path): New, contains path to generated files.
4137 (chapters.%): Use texis-path for complete path, add extra argument
4139 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4140 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4141 (summary,texi, stamp-summary): Use complete path of
4142 files. Generate files in build dir.
4143 (dir-add.texi): Build in build dir.
4144 (libm-err.texi,stamp-libm-err): Likewise.
4145 (version.texi, stamp-version): Likewise.
4146 (.%c.texi): Likewise.
4147 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4148 (mostlyclean): Remove target.
4149 (realclean): Remove target.
4150 (generated): Add new variable with contents from mostlyclean and
4151 realclean, remove entries duplicated in common-mostlyclean, add
4152 stamp-libm-err and stamp-version.
4153 (generated-dirs): Add libc directory.
4154 ($(inst_infodir)/libc.info): Install files from build dir.
4156 * manual/install.texi (Configuring and compiling): Adjust since
4157 the info files are not part of the tar ball anymore.
4159 2012-05-14 Andreas Jaeger <aj@suse.de>
4161 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4164 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4167 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4168 to 2.2.0 where earlier.
4169 * sysdeps/unix/sysv/linux/configure: Regenerated.
4170 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4171 Remove conditional code.
4172 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4173 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4174 Remove conditional code.
4175 [!__NR_lchown]: Likewise.
4176 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4177 [__NR_lchown]: Likewise.
4178 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4179 comment referencing __ASSUME_LCHOWN_SYSCALL.
4180 * sysdeps/unix/sysv/linux/i386/sigaction.c
4181 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4182 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4183 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4184 Remove conditional code.
4185 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4186 (__protocol_available): Remove #if 0 code.
4187 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4189 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4190 * sysdeps/unix/sysv/linux/kernel-features.h
4191 (__ASSUME_GETCWD_SYSCALL): Don't define.
4192 (__ASSUME_REALTIME_SIGNALS): Likewise.
4193 (__ASSUME_PREAD_SYSCALL): Likewise.
4194 (__ASSUME_PWRITE_SYSCALL): Likewise.
4195 (__ASSUME_POLL_SYSCALL): Likewise.
4196 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4197 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4199 (__ASSUME_SIOCGIFNAME): Don't define.
4200 (__ASSUME_MSG_NOSIGNAL): Likewise.
4201 (__ASSUME_SENDFILE): Define unconditionally.
4202 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4203 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4205 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4206 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4207 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4208 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4209 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4210 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4211 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4213 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4216 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4219 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4222 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4225 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4228 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4231 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4234 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4236 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4237 Remove conditional code.
4238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4239 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4240 Remove conditional code.
4241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4242 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4243 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4244 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4245 Remove conditional code.
4246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4247 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4248 Remove conditional code.
4249 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4250 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4251 Remove conditional code.
4252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4253 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4254 Remove conditional code.
4255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4256 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4257 Remove conditional code.
4258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4259 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4260 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4262 * sysdeps/unix/sysv/linux/sigaction.c
4263 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4264 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4265 * sysdeps/unix/sysv/linux/sigpending.c
4266 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4267 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4268 * sysdeps/unix/sysv/linux/sigprocmask.c
4269 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4270 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4271 * sysdeps/unix/sysv/linux/sigsuspend.c
4272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4274 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4275 (__libc_missing_rt_sigs): Remove.
4276 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4277 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4278 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4279 Remove conditional code.
4280 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4281 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4283 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4284 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4285 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4286 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4288 2012-05-14 Andreas Jaeger <aj@suse.de>
4290 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4291 it's not used in glibc.
4292 (__coshm1): Likewise.
4293 (__acosh1p): Likewise.
4296 * manual/string.texi (Copying and Concatenation): Add missing
4297 variable in concat example.
4298 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4300 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4303 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4304 __builtin_clzl with __builtin_clzll.
4306 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4309 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4312 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4314 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4315 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4316 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4317 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4319 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4321 * NEWS: Update ia64 info.
4323 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4325 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4328 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4330 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4331 * sysdeps/unix/syscalls.list (dup3): Likewise.
4332 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4333 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4335 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4337 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4338 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4340 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4342 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4344 (TLS_IE): Use mov/add instead of movq/addq to load thread
4346 (TLS_GD_PREFIX): New.
4349 2012-05-11 David S. Miller <davem@davemloft.net>
4351 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4352 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4353 (_FPU_SETCW): Likewise.
4355 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4357 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4360 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4363 * iconvdata/gb18030.c: Update tables.
4364 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4365 characters specially.
4366 (BODY for TO_LOOP): Add encoding of missing ranges.
4368 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4371 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4372 * sysdeps/mach/hurd/dup3.c: Likewise.
4373 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4374 * sysdeps/powerpc/memmove.c:: Likewise.
4376 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4379 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4381 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4383 * elf/elf.h (R_X86_64_RELATIVE64): New.
4384 (R_X86_64_NUM): Updated.
4385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4386 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4387 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4388 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4389 tst-quad1pie tst-quad2pie
4390 (modules-names): Add tst-quadmod1 tst-quadmod2.
4391 ($(objpfx)tst-quad1): New dependency.
4392 ($(objpfx)tst-quad2): Likewise.
4393 ($(objpfx)tst-quad1pie): Likewise.
4394 ($(objpfx)tst-quad2pie): Likewise.
4395 * sysdeps/x86_64/tst-quad1.c: New file.
4396 * sysdeps/x86_64/tst-quad1pie.c: New file.
4397 * sysdeps/x86_64/tst-quad2.c: Likewise.
4398 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4399 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4400 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4401 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4402 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4404 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4406 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4407 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4408 * streams/stropts.h (t_scalar_t): Define type.
4410 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4411 (_PATH_PRESERVE): Set to "/var/lib".
4412 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4414 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4417 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4418 if __dir_mkfile succeeded.
4420 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4421 checking for _hurd_dtablesize. Unlock it right after having
4422 finished _hurd_dtable allocation.
4424 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4426 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4427 * sysdeps/mach/hurd/configure: Regenerated.
4428 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4429 special-casing to...
4430 * sysdeps/gnu/configure.in: ... this new file.
4431 * sysdeps/unix/sysv/linux/configure: Regenerated.
4432 * sysdeps/gnu/configure: New generated file.
4434 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4435 for Linux: use nsec instead of usec, as well as:
4436 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4437 members of type struct timespec.
4438 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4440 (struct stat64): Likewise.
4441 (_STATBUF_ST_NSEC): New macro.
4442 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4444 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4445 __strtoul_internal rather than strtoul.
4447 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4449 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4452 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4454 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4455 which preserves existing values.
4456 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4458 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4460 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4461 TIMEOUT values. Return EINVAL for NFDS values either negative or
4462 greater than FD_SETSIZE.
4464 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4466 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4467 allocated, call __vm_protect to finish enabling the existing space, and
4468 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4469 allocate the remainder.
4471 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4473 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4474 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4476 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4478 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4479 sysdeps/mach/hurd/readlink.c.
4481 * posix/tst-sysconf.c (posix_options): Only use
4482 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4483 _POSIX_SYNCHRONIZED_IO when they are defined
4484 * sysdeps/mach/hurd/bits/posix_opt.h:
4485 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4486 (_XOPEN_REALTIME): Undefine macro.
4487 (_XOPEN_REALTIME_THREADS): Undefine macro.
4488 (_XOPEN_SHM): Undefine macro.
4489 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4491 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4493 (_POSIX_ASYNC_IO): Undefine macro.
4494 (_POSIX_PRIORITIZED_IO): Undefine macro.
4495 (_POSIX_SPIN_LOCKS): Define macro to -1.
4497 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4498 SA_NODEFER, SA_RESETHAND.
4499 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4500 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4503 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4505 * elf/Makefile (pldd-modules): Define unconditionally.
4507 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4509 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4511 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4513 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4514 Return ENOENT when name is empty.
4515 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4517 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4519 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4521 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4523 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4525 Fix mlock in all cases except non-readable pages.
4526 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4527 instead of VM_PROT_ALL as parameter to __vm_wire function.
4529 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4530 (__mkdir): When path is `/', just fail with EEXIST.
4531 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4533 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4535 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4536 <sys/uio.h> (for writev).
4537 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4538 and <sys/param.h> (for MIN).
4540 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4542 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4543 REQUESTED_TIME. Properly set the remaining time and return EINTR
4546 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4548 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4549 Depend on against $(link-rpcuserlibs).
4551 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4553 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4554 (__libc_stack_end): Do not use attribute_relro.
4555 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4556 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4557 to libthread-provided value.
4558 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4561 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4564 * bits/libc-lock.h (__libc_once_get): New macro.
4565 * sysdeps/mach/bits/libc-lock.h: Likewise.
4566 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4567 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4568 instead of using implementation details.
4570 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4571 * libio/freopen.c: Likewise.
4572 * libio/freopen64.c: Likewise.
4573 * misc/syslog.c: Likewise.
4574 * nscd/connections.c: Likewise.
4575 * nscd/netgroupcache.c: Likewise.
4576 * sysdeps/posix/getcwd.c: Likewise.
4578 2012-05-10 Roland McGrath <roland@hack.frob.com>
4580 * math/w_ilogbf.c: Add #include <limits.h>.
4582 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4584 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4585 path instead of returning without unlocking.
4587 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4588 immediate-write ioctls.
4589 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4591 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4593 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4594 __builtin_frame_address instead of making assumptions about the
4595 location of the return address relative to DATA. Force early load of
4597 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4598 __builtin_frame_address.
4601 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4602 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4603 implement dup3 and do some further code clean-ups.
4604 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4605 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4607 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4609 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4611 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4612 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4613 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4614 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4615 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4618 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4619 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4620 when handler == SIG_ERR, not when handler != SIG_ERR.
4622 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4624 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4625 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4628 accept4 for GNU Hurd.
4629 * include/sys/socket.h (__libc_accept4): New prototype.
4630 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4631 to implement __libc_accept4.
4632 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4634 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4636 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4637 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4638 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4641 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4643 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4645 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4647 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4648 assertion on O_CLOEXEC flag.
4649 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4650 * hurd/intern-fd.c: Likewise.
4651 * hurd/port2fd.c: Likewise.
4653 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4656 * bits/in.h (IPV6_PKTINFO): Define new macro.
4657 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4659 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4664 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4666 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4667 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4668 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4669 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4670 * math/libm-test.inc (logb_test) : Additional logb tests.
4672 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4673 Andreas Jaeger <aj@suse.de>
4675 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4676 * configure: Regenerated.
4677 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4678 * config.make.in (link-obsolete-rpc): New substituted variable.
4679 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4680 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4681 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4682 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4683 so that libc.a contains the symbols.
4684 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4685 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4686 * sunrpc/auth_none.c: Likewise.
4687 * sunrpc/auth_unix.c: Likewise.
4688 * sunrpc/authdes_prot.c: Likewise.
4689 * sunrpc/authuxprot.c: Likewise.
4690 * sunrpc/clnt_gen.c: Likewise.
4691 * sunrpc/clnt_perr.c: Likewise.
4692 * sunrpc/clnt_raw.c: Likewise.
4693 * sunrpc/clnt_simp.c: Likewise.
4694 * sunrpc/clnt_tcp.c: Likewise.
4695 * sunrpc/clnt_udp.c: Likewise.
4696 * sunrpc/clnt_unix.c: Likewise.
4697 * sunrpc/des_crypt.c: Likewise.
4698 * sunrpc/des_soft.c: Likewise.
4699 * sunrpc/get_myaddr.c: Likewise.
4700 * sunrpc/key_call.c: Likewise.
4701 * sunrpc/key_prot.c: Likewise.
4702 * sunrpc/netname.c: Likewise.
4703 * sunrpc/pm_getmaps.c: Likewise.
4704 * sunrpc/pm_getport.c: Likewise.
4705 * sunrpc/pmap_clnt.c: Likewise.
4706 * sunrpc/pmap_prot.c: Likewise.
4707 * sunrpc/pmap_prot2.c: Likewise.
4708 * sunrpc/pmap_rmt.c: Likewise.
4709 * sunrpc/publickey.c: Likewise.
4710 * sunrpc/rpc_cmsg.c: Likewise.
4711 * sunrpc/rpc_common.c: Likewise.
4712 * sunrpc/rpc_dtable.c: Likewise.
4713 * sunrpc/rpc_prot.c: Likewise.
4714 * sunrpc/rpc_thread.c: Likewise.
4715 * sunrpc/rtime.c: Likewise.
4716 * sunrpc/svc.c: Likewise.
4717 * sunrpc/svc_auth.c: Likewise.
4718 * sunrpc/svc_raw.c: Likewise.
4719 * sunrpc/svc_run.c: Likewise.
4720 * sunrpc/svc_tcp.c: Likewise.
4721 * sunrpc/svc_udp.c: Likewise.
4722 * sunrpc/svc_unix.c: Likewise.
4723 * sunrpc/svcauth_des.c: Likewise.
4724 * sunrpc/xcrypt.c: Likewise.
4725 * sunrpc/xdr.c: Likewise.
4726 * sunrpc/xdr_array.c: Likewise.
4727 * sunrpc/xdr_float.c: Likewise.
4728 * sunrpc/xdr_intXX_t.c: Likewise.
4729 * sunrpc/xdr_mem.c: Likewise.
4730 * sunrpc/xdr_rec.c: Likewise.
4731 * sunrpc/xdr_ref.c: Likewise.
4732 * sunrpc/xdr_sizeof.c: Likewise.
4733 * sunrpc/xdr_stdio.c: Likewise.
4735 2012-05-10 Roland McGrath <roland@hack.frob.com>
4737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4738 change. Update copyright years.
4740 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4742 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4744 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4745 Joseph Myers <joseph@codesourcery.com>
4746 Paul Pluzhnikov <ppluzhnikov@google.com>
4749 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4751 [cross-compiling] (extra-libs): Likewise.
4752 [cross-compiling] (extra-libs-others): Likewise.
4753 [cross-compiling] (librpcsvc-routines): Likewise.
4754 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4755 [cross-compiling] (omit-deps): Likewise.
4756 (sunrpc-CPPFLAGS): New variable.
4757 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4758 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4759 (cross-rpcgen-objs): New variable.
4760 (extra-objs): Append $(cross-rpcgen-objs).
4761 ($(cross-rpcgen-objs)): New rule.
4762 ($(objpfx)cross-rpcgen): Likewise.
4763 (rpcgen-cmd): Define to use $(built-program-file). Expand
4765 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4766 ($(objpfx)x%.stmp): Likewise.
4767 * sunrpc/proto.h [IS_IN_build] (_): Define.
4768 [IS_IN_build] (_libc_intl_domainname): Likewise.
4770 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4773 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4774 and R_X86_64_TPOFF64.
4776 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4778 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4779 sysdeps/unix/sysv/syscalls.list.
4782 * sysdeps/unix/sysv/syscalls.list: Remove file.
4784 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4787 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4788 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4789 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4790 (__LC_IDENTIFICATION): Make these macros useful in #if
4791 expressions, as required by C99.
4793 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4795 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4796 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4799 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4801 * stdlib/longlong.h: Updated from GCC.
4803 2012-05-09 Andreas Jaeger <aj@suse.de>
4805 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4806 default is first entry.
4807 (run_mode): Set type.
4808 (main): Remove informal message about syslog.
4809 (options): Fix typo.
4812 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4815 (llrintf): Likewise.
4819 (nearbyint): Likewise.
4820 (nearbyintf): Likewise.
4822 2012-05-09 Andreas Jaeger <aj@suse.de>
4823 Pedro Alves <palves@redhat.com>
4825 * nscd/nscd.c (run_mode): Use enum.
4826 (main): Cleanup coding style issue.
4828 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4829 Andreas Jaeger <aj@suse.de>
4831 * nscd/nscd.c (go_background): Replaced with...
4832 (run_mode): ... this.
4833 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4834 (options): Add -F --foreground.
4835 (main): Implement it.
4836 (parse_opt): Parse it.
4838 2012-05-09 Andreas Jaeger <aj@suse.de>
4841 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4842 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4843 -Wconversion warning.
4844 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4847 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4849 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4851 (LC_ALL): Use macro-int-constant.
4852 (LC_COLLATE): Likewise.
4853 (LC_CTYPE): Likewise.
4854 (LC_MESSAGES): Likewise.
4855 (LC_MONETARY): Likewise.
4856 (LC_NUMERIC): Likewise.
4857 (LC_TIME): Likewise.
4858 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4859 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4860 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4861 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4863 [C99-based standards] (float_t): Expect type.
4864 [C99-based standards] (double_t): Expect type.
4865 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4867 [C99-based standards] (HUGE_VALL): Likewise.
4868 [C99-based standards] (INFINITY): Likewise.
4869 [C99-based standards] (NAN): Likewise.
4870 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4871 [C99-based standards] (FP_NAN): Likewise.
4872 [C99-based standards] (FP_NORMAL): Likewise.
4873 [C99-based standards] (FP_SUBNORMAL): Likewise.
4874 [C99-based standards] (FP_ZERO): Likewise.
4875 [C99-based standards] (FP_FAST_FMA): Use
4876 optional-macro-int-constant. Specify type. Require == 1.
4877 [C99-based standards] (FP_FAST_FMAF): Likewise.
4878 [C99-based standards] (FP_FAST_FMAL): Likewise.
4879 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4880 [C99-based standards] (FP_ILOGBNAN): Likewise.
4881 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4883 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4884 [C99-based standards] (math_errhandling): Specify type.
4885 [ISO99 || ISO11] (signgam): Do not allow.
4886 [non-C99-based standards] (copysignf): Do not allow.
4887 [non-C99-based standards] (exp2f): Likewise.
4888 [non-C99-based standards] (log2f): Likewise.
4889 [non-C99-based standards] (modff): Allow.
4890 [non-C99-based standards] (erff): Do not allow.
4891 [non-C99-based standards] (erfcf): Likewise.
4892 [non-C99-based standards] (gammaf): Likewise.
4893 [non-C99-based standards] (hypotf): Likewise.
4894 [non-C99-based standards] (j0f): Likewise.
4895 [non-C99-based standards] (j1f): Likewise.
4896 [non-C99-based standards] (jnf): Likewise.
4897 [non-C99-based standards] (lgammaf): Likewise.
4898 [non-C99-based standards] (tgammaf): Likewise.
4899 [non-C99-based standards] (y0f): Likewise.
4900 [non-C99-based standards] (y1f): Likewise.
4901 [non-C99-based standards] (ynf): Likewise.
4902 [non-C99-based standards] (isnanf): Likewise.
4903 [non-C99-based standards] (acoshf): Likewise.
4904 [non-C99-based standards] (asinhf): Likewise.
4905 [non-C99-based standards] (atanhf): Likewise.
4906 [non-C99-based standards] (cbrtf): Likewise.
4907 [non-C99-based standards] (expm1f): Likewise.
4908 [non-C99-based standards] (ilogbf): Likewise.
4909 [non-C99-based standards] (log1pf): Likewise.
4910 [non-C99-based standards] (logbf): Likewise.
4911 [non-C99-based standards] (nextafterf): Likewise.
4912 [non-C99-based standards] (remainderf): Likewise.
4913 [non-C99-based standards] (rintf): Likewise.
4914 [non-C99-based standards] (scalbf): Likewise.
4915 [non-C99-based standards] (copysignl): Likewise.
4916 [non-C99-based standards] (exp2l): Likewise.
4917 [non-C99-based standards] (log2l): Likewise.
4918 [non-C99-based standards] (modfl): Allow.
4919 [non-C99-based standards] (erfl): Do not allow.
4920 [non-C99-based standards] (erfcl): Likewise.
4921 [non-C99-based standards] (gammal): Likewise.
4922 [non-C99-based standards] (hypotl): Likewise.
4923 [non-C99-based standards] (j0l): Likewise.
4924 [non-C99-based standards] (j1l): Likewise.
4925 [non-C99-based standards] (jnl): Likewise.
4926 [non-C99-based standards] (lgammal): Likewise.
4927 [non-C99-based standards] (tgammal): Likewise.
4928 [non-C99-based standards] (y0l): Likewise.
4929 [non-C99-based standards] (y1l): Likewise.
4930 [non-C99-based standards] (ynl): Likewise.
4931 [non-C99-based standards] (isnanl): Likewise.
4932 [non-C99-based standards] (acoshl): Likewise.
4933 [non-C99-based standards] (asinhl): Likewise.
4934 [non-C99-based standards] (atanhl): Likewise.
4935 [non-C99-based standards] (cbrtl): Likewise.
4936 [non-C99-based standards] (expm1l): Likewise.
4937 [non-C99-based standards] (ilogbl): Likewise.
4938 [non-C99-based standards] (log1pl): Likewise.
4939 [non-C99-based standards] (logbl): Likewise.
4940 [non-C99-based standards] (nextafterl): Likewise.
4941 [non-C99-based standards] (remainderl): Likewise.
4942 [non-C99-based standards] (rintl): Likewise.
4943 [non-C99-based standards] (scalbl): Likewise.
4944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4945 [non-C99-based standards] (FP_*): Do not allow.
4946 [C99-based standards] (FP_*): Change to
4947 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4948 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4950 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4951 (SIG_ERR): Likewise.
4952 [X/Open-based standards] (SIG_HOLD): Likewise.
4953 (SIG_IGN): Likewise.
4954 (SIGABRT): Use macro-int-constant. Specify type. Require
4959 (SIGSEGV): Likewise.
4961 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4962 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4963 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4964 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4965 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4967 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4969 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4970 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4971 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4972 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4973 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4974 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4975 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4976 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4977 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4978 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4979 [X/Open-based standards] (SIGTRAP): Likewise.
4980 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4981 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4982 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4983 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4984 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4987 2012-05-08 Ian Wienand <ianw@vmware.com>
4990 * time/tzset.c (__tzset_parse_tz): Update default rules for
4991 daylight time changes in the Energy Policy Act of 2005.
4993 2012-05-09 Andreas Jaeger <aj@suse.de>
4996 * elf/ldconfig.c (parse_conf): Change string to make clear that
4997 ldconfig only issued a warning if ld.so.conf does not exist.
4999 2012-05-08 David S. Miller <davem@davemloft.net>
5001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5002 movxtod instead of popping the value on the stack.
5004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5006 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5008 * config.h.in: Add HAVE_ARM_PCS_VFP.
5010 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5013 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5014 checking but the checks are disabled for any reason.
5016 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5018 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5019 and ELF64_R_TYPE with ELFW(R_TYPE).
5021 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5023 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5026 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5027 (settimeofday): Likewise.
5029 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5031 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5032 a struct th_u2 inside the union, and move tu_block/tu_code into
5033 a new th_u3 union of tu_block/tu_code inside of that. Move
5034 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5035 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5036 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5037 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5038 (th_stuff): Change to th_u1.tu_stuff.
5040 (th_msg): Change to th_u1.th_u2.tu_data.
5042 2012-05-07 David S. Miller <davem@davemloft.net>
5044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5047 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5048 (SETUP_PIC_REG): Use it.
5049 (SETUP_PIC_REG_LEAF): Use it.
5051 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5055 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5057 (EXPL_FINITE): Likewise.
5059 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5060 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5062 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5064 (EXPL_FINITE): Likewise.
5066 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5067 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5069 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5070 test of -max_value argument for long double.
5071 * sysdeps/i386/fpu/libm-test-ulps: Update.
5072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5074 2012-05-06 David S. Miller <davem@davemloft.net>
5076 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5077 quad soft-float symbols whose references which are compiler
5079 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5081 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5085 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5087 (EXPL_FINITE): Likewise.
5091 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5092 Adjust comments for base varying.
5093 (__expl_finite): Change alias to EXPL_FINITE.
5094 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5096 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5097 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5099 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5100 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5102 (EXPL_FINITE): Likewise.
5106 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5107 Adjust comments for base varying.
5108 (__expl_finite): Change alias to EXPL_FINITE.
5109 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5114 * math/libm-test.inc (check_float_internal): Correct ulp
5115 calculation for subnormal expected results.
5117 2012-05-06 Andreas Jaeger <aj@suse.de>
5119 * Makeconfig (+math-flags): New, set to -frounding-math.
5120 (+cflags): Add +math-flags so that all of glibc gets compiled with
5123 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5125 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5127 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5133 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5134 (__ieee754_expl): Allow for and saturate large arguments.
5135 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5136 (u_threshold): Likewise.
5137 (__exp): Call __ieee754_exp before checking for overflow and
5139 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5140 (u_threshold): Likewise.
5141 (__expf): Call __ieee754_expf before checking for overflow and
5143 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5144 (u_threshold): Likewise.
5145 (__expl): Call __ieee754_expl before checking for overflow and
5147 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5148 (__ieee754_expl): Allow for and saturate large arguments.
5149 * math/libm-test.inc (exp_test): Add another test. Do not allow
5150 missing overflow exception on overflow.
5151 (expm1_test): Do not allow missing overflow exception on overflow.
5153 * sysdeps/i386/fpu/e_expl.c: Move to ...
5154 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5155 rather than using inline asm.
5156 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5157 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5158 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5160 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5167 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5169 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5170 sysdeps/unix/common/syscalls.list.
5173 (ftruncate): Likewise.
5174 (getrusage): Likewise.
5175 (gettimeofday): Likewise.
5176 (setpgid): Likewise.
5177 (setregid): Likewise.
5178 (setreuid): Likewise.
5179 (sigaction): Likewise.
5180 (truncate): Likewise.
5181 (vhangup): Likewise.
5182 * sysdeps/unix/common/syscalls.list: Remove file.
5183 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5184 * sysdeps/unix/sysv/linux/Implies: Likewise.
5186 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5188 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5190 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5194 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5197 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5200 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5203 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5206 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5209 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5212 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5216 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5220 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5223 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5227 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5231 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5233 * sysdeps/unix/common/bits/dirent.h: Remove file.
5234 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5236 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5237 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5238 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5239 * sysdeps/unix/bsd/isatty.c: Likewise.
5240 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5241 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5242 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5244 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5248 long double comparison inaccuracies.
5249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5252 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5254 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5255 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5257 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5260 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5261 nonzero digits before rounding a hex value.
5262 * stdlib/tst-strtod.c (tests): Add another test.
5264 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5266 * sysdeps/s390/fpu/libm-test-ulps: Update.
5268 2012-05-03 Andreas Jaeger <aj@suse.de>
5270 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5271 does not get optimized out.
5272 (malloc_opt_barrier): New.
5274 2012-05-03 Andreas Jaeger <aj@suse.de>
5275 Roland McGrath <roland@hack.frob.com>
5277 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5278 intermediate file deletion.
5279 (generated): Add .symlist files.
5281 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5284 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5285 Redirect under this condition.
5286 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5287 [__USE_GNU] (__dprintf_chk): Not under this condition.
5288 [__USE_GNU] (__vdprintf_chk): Likewise.
5289 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5290 under this condition.
5291 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5292 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5293 [__USE_XOPEN2K8] (vdprintf): Likewise.
5294 [__USE_GNU] (__dprintf_chk): Not under this condition.
5295 [__USE_GNU] (__vdprintf_chk): Likewise.
5296 [__USE_GNU] (dprintf): Likewise.
5297 [__USE_GNU] (vdprintf): Likewise.
5299 2012-05-03 Roland McGrath <roland@hack.frob.com>
5301 * elf/Makefile (common-generated): Set this instead of generated for
5302 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5303 $(all-built-dso)-derived lists.
5305 2012-05-03 Andreas Jaeger <aj@suse.de>
5307 * sysdeps/i386/fpu/libm-test-ulps: Update.
5311 * scripts/gen-FAQ.pl: Likewise.
5312 * manual/install.texi (Installation): Point to online location of
5314 * Makefile (files-for-dist): Remove FAQ.
5317 2012-05-02 Allan McRae <allan@archlinux.org>
5319 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5320 (LDFLAGS-reldepmod5.so): Likewise.
5321 (LDFLAGS-reldep6mod1.so): Likewise.
5322 (LDFLAGS-reldep6mod4.so): Likewise.
5323 (LDFLAGS-reldep8mod3.so): Likewise.
5324 (LDFLAGS-unload4mod1.so): Likewise.
5325 (LDFLAGS-unload4mod2.so): Likewise.
5326 (LDFLAGS-tst-initorder): Likewise.
5327 (LDFLAGS-tst-initordera2.so): Likewise.
5328 (LDFLAGS-tst-initordera3.so): Likewise.
5329 (LDFLAGS-tst-initordera4.so): Likewise.
5330 (LDFLAGS-tst-initorderb2.so): Likewise.
5331 (LDFLAGS-noload): Likewise.
5332 (LDFLAGS-next): Likewise.
5333 (LDFLAGS-order2mod1.so): Likewise.
5334 (LDFLAGS-order2mod2.so): Likewise.
5335 (LDFLAGS-tst-initorder2): Likewise.
5336 (LDFLAGS-tst-initorder2a.so): Likewise.
5337 (LDFLAGS-tst-initorder2b.so): Likewise.
5338 (LDFLAGS-tst-initorder2c.so): Likewise.
5339 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5341 2012-05-02 David S. Miller <davem@davemloft.net>
5343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5345 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5348 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5350 2012-05-02 Andreas Jaeger <aj@suse.de>
5352 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5353 since we manipulate rounding mode.
5354 (CPPFLAGS-test-idouble.c): Likewise.
5355 (CPPFLAGS-test-ifloat.c): Likewise.
5356 (CFLAGS-test-ldouble.c): Likewise.
5357 (CFLAGS-test-double.c): Likewise.
5358 (CFLAGS-test-float.c): Likewise.
5359 (CFLAGS-test-misc.c): Likewise.
5360 (CFLAGS-test-test-fenv.c): Likewise.
5362 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5366 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5367 comparisons to determine direction to adjust input.
5369 2012-05-01 Roland McGrath <roland@hack.frob.com>
5371 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5372 output to the target.
5374 * scripts/localplt.awk: New file.
5375 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5376 (check-localplt-CFLAGS): Variable removed.
5377 ($(all-built-dso:=.jmprel)): New static pattern rule.
5378 (generated): Add those targets.
5379 (localplt-built-dso): New variable.
5380 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5382 * elf/check-localplt.c: File removed.
5384 * scripts/check-execstack.awk: New file.
5385 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5386 (check-execstack-CFLAGS): Variable removed.
5387 ($(objpfx)check-execstack.h): Target removed.
5388 ($(objpfx)execstack-default): New target.
5389 (generated): Add that instead of check-execstack.h.
5390 ($(all-built-dso:=.phdr)): New static pattern rule.
5391 (generated): Add those targets.
5392 * elf/check-execstack.c: File removed.
5394 * scripts/check-textrel.awk: New file.
5395 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5396 (check-textrel-CFLAGS): Variable removed.
5397 (all-built-dso): Use := to define.o
5398 ($(all-built-dso:=.dyn)): New static pattern rule.
5399 (generated): Add those targets.
5400 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5401 * config.make.in (READELF): New substituted variable.
5402 * elf/check-textrel.c: File removed.
5404 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5406 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5408 * conform/data/ctype.h-data [C99-based standards] (isblank):
5410 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5411 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5412 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5413 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5414 Specify type. Require positive value.
5417 [ISO || POSIX] (EILSEQ): Do not expect.
5418 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5419 Specify type. Require positive value.
5420 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5421 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5422 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5423 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5424 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5425 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5426 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5427 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5428 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5429 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5430 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5431 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5432 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5433 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5434 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5435 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5436 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5437 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5438 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5439 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5440 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5441 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5442 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5443 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5444 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5445 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5446 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5447 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5448 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5449 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5450 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5451 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5452 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5453 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5454 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5455 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5456 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5457 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5458 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5459 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5460 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5461 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5462 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5463 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5464 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5465 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5466 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5467 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5468 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5469 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5470 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5471 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5472 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5473 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5474 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5475 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5476 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5477 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5478 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5479 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5480 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5481 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5482 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5483 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5484 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5485 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5486 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5487 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5488 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5489 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5490 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5491 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5492 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5493 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5494 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5495 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5496 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5498 (FLT_ROUNDS): Expect as macro, not constant.
5499 (FLT_MANT_DIG): Use macro-int-constant.
5500 (DBL_MANT_DIG): Likewise.
5501 (LDBL_MANT_DIG): Likewise.
5502 (FLT_DIG): Likewise.
5503 (DBL_DIG): Likewise.
5504 (LDBL_DIG): Likewise.
5505 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5506 (DBL_MIN_EXP): Likewise.
5507 (LDBL_MIN_EXP): Likewise.
5508 (FLT_MAX_EXP): Use macro-int-constant.
5509 (DBL_MAX_EXP): Likewise.
5510 (LDBL_MAX_EXP): Likewise.
5511 (FLT_MAX_10_EXP): Likewise.
5512 (DBL_MAX_10_EXP): Likewise.
5513 (LDBL_MAX_10_EXP): Likewise.
5514 (FLT_MAX): Use macro-constant.
5515 (DBL_MAX): Likewise.
5516 (LDBL_MAX): Likewise.
5517 (FLT_EPSILON): Use macro-constant. Give upper bound.
5518 (DBL_EPSILON): Likewise.
5519 (LDBL_EPSILON): Likewise.
5520 (FLT_MIN): Likewise.
5521 (DBL_MIN): Likewise.
5522 (LDBL_MIN): Likewise.
5523 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5524 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5525 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5526 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5527 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5528 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5529 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5530 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5531 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5532 [ISO11] (FLT_TRUE_MIN): Likewise.
5533 [ISO11] (LDBL_TRUE_MIN): Likewise.
5534 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5535 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5536 (SCHAR_MIN): Use macro-int-constant. Specify type.
5537 (SCHAR_MAX): Likewise.
5538 (UCHAR_MAX): Likewise.
5539 (CHAR_MIN): Likewise.
5540 (CHAR_MAX): Likewise.
5541 (MB_LEN_MAX): Use macro-int-constant.
5542 (SHRT_MIN): Use macro-int-constant. Specify type.
5543 (SHRT_MAX): Likewise.
5544 (USHRT_MAX): Likewise.
5545 (INT_MAX): Likewise.
5546 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5548 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5550 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5552 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5553 bound negative. Suffix upper bound with "L".
5554 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5556 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5558 [C99-based standards] (LLONG_MAX): Likewise.
5559 [C99-based standards] (ULLONG_MAX): Likewise.
5560 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5562 [ISO11] (max_align_t): Require type.
5563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5565 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5566 from $CFLAGS, without defining away __attribute__ calls.
5567 (checknamespace): Use $CFLAGS_namespace.
5569 * conform/conformtest.pl (@keywords): Only include C99 keywords
5570 for standards based on C99 or C11.
5572 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5574 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5577 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5578 usability of symbols in #if.
5580 * conform/conformtest.pl: If macro or constant types start
5581 "promoted:", expect the symbol to be of the following type
5582 promoted by the integer promotions.
5584 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5585 in one place. Also handle "macro-constant".
5587 * conform/conformtest.pl: Only accept expected macro values with
5588 "==". Parse all "macro" lines in one place.
5589 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5591 * conform/conformtest.pl: Handle braced types on "constant" lines
5592 instead of handling "typed-constant".
5593 * conform/data/signal.h-data: Use "constant" instead of
5596 * conform/conformtest.pl: Handle "optional-" at start of lines in
5597 one place rather than duplicating several cases. Handle each
5598 format of "macro" line with initial "optional-".
5600 * conform/conformtest.pl: Only accept expected constant or
5601 optional-constant values with "==". Parse all "constant" lines in
5602 one place. Parse all "optional-constant" lines in one place.
5603 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5604 * conform/data/fmtmsg.h-data: Likewise.
5605 * conform/data/netinet/in.h-data: Likewise.
5606 * conform/data/tar.h-data: Likewise.
5607 * conform/data/limits.h-data: Use "==" form on "constant" and
5608 "optional-constant" lines.
5610 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5611 Use -std=c99 for XOPEN2K.
5612 (@knownproblems): Remove.
5613 (newtoken): Don't check %isknown.
5615 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5616 Do not expect macro.
5617 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5618 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5619 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5620 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5621 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5622 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5623 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5624 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5625 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5626 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5627 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5628 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5629 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5630 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5632 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5633 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5634 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5635 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5636 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5637 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5638 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5639 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5640 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5641 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5642 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5643 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5644 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5645 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5646 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5647 [XPG3] (acosh): Likewise.
5648 [XPG3] (asinh): Likewise.
5649 [XPG3] (atanh): Likewise.
5650 [XPG3] (cbrt): Likewise.
5651 [XPG3] (expm1): Likewise.
5652 [XPG3] (ilogb): Likewise.
5653 [XPG3] (log1p): Likewise.
5654 [XPG3] (logb): Likewise.
5655 [XPG3] (nextafter): Likewise.
5656 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5657 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5658 [XPG3] (remainder): Likewise.
5659 [XPG3] (rint): Likewise.
5660 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5661 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5662 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5663 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5664 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5665 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5666 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5667 [UNIX98 || XOPEN2K] (scalb): Expect.
5668 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5669 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5670 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5671 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5672 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5673 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5674 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5676 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5677 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5678 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5679 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5680 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5682 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5683 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5685 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5686 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5687 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5688 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5689 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5692 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5693 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5694 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5695 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5696 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5697 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5698 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5701 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5702 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5711 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5712 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5719 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5720 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5721 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5722 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5723 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5724 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5725 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5726 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5727 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5729 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5730 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5731 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5732 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5733 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5734 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5735 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5736 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5737 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5738 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5739 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5740 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5741 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5742 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5743 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5750 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5751 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5755 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5756 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5766 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5767 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5768 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5769 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5771 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5772 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5773 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5774 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5775 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5776 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5777 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5778 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5779 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5780 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5781 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5782 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5783 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5784 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5785 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5786 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5787 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5788 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5789 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5790 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5791 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5792 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5793 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5794 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5795 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5796 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5797 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5798 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5799 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5800 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5801 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5802 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5803 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5804 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5806 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5807 _XOPEN_SOURCE_EXTENDED for XPG4.
5809 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5811 * Makeconfig (localtime): Remove variable.
5812 (inst_localtime-file): Likewise.
5814 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5835 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5839 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5840 comparisons to determine direction to adjust input.
5841 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5842 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5843 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5845 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5847 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5849 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5850 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5852 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5854 * math/libm-test.inc (nexttoward_test): Add more tests.
5856 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5859 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5860 in version GLIBC_2.1, not GLIBC_2.0.
5861 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5864 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5867 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5869 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5870 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5871 * math/libm-test.inc (acos_test): Add more tests.
5872 (asin_test): Likewise.
5873 * sysdeps/i386/fpu/libm-test-ulps: Update.
5874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5877 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5879 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5880 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5881 * math/libm-test.inc (acos_test_tonearest): New function.
5882 (acos_test_towardzero): Likewise.
5883 (acos_test_downward): Likewise.
5884 (acos_test_upward): Likewise.
5885 (asin_test_tonearest): Likewise.
5886 (asin_test_towardzero): Likewise.
5887 (asin_test_downward): Likewise.
5888 (asin_test_upward): Likewise.
5889 (main): Call the new functions.
5890 * sysdeps/i386/fpu/libm-test-ulps: Update.
5891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5895 * math/e_exp10.c: Include <float.h>.
5896 (__ieee754_exp10): Handle underflow here rather than multiplying
5897 large negative argument by M_LN10.
5898 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5900 * math/e_exp10l.c: Include <float.h>.
5901 (__ieee754_exp10l): Handle underflow here rather than multiplying
5902 large negative argument by M_LN10l.
5903 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5904 spurious overflow exception on underflow.
5906 2012-04-29 Marek Polacek <polacek@redhat.com>
5908 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5909 (__fortify_function): New macro.
5910 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5911 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5912 __extern_always_inline.
5913 * libio/bits/stdio2.h: Likewise.
5914 * libio/bits/stdio.h: Likewise.
5915 * string/string.h: Likewise.
5916 * string/bits/string3.h: Likewise.
5917 * include/stdio.h: Likewise.
5918 * stdlib/bits/stdlib.h: Likewise.
5919 * stdlib/stdlib.h: Likewise.
5920 * rt/bits/mqueue2.h: Likewise.
5921 * rt/mqueue.h: Likewise.
5922 * posix/bits/unistd.h: Likewise.
5923 * posix/unistd.h: Likewise.
5924 * io/bits/poll2.h: Likewise.
5925 * io/bits/fcntl2.h: Likewise.
5926 * io/fcntl.h: Likewise.
5927 * io/sys/poll.h: Likewise.
5928 * misc/bits/syslog.h: Likewise.
5929 * misc/bits/syslog-ldbl.h: Likewise.
5930 * misc/sys/syslog.h: Likewise.
5931 * socket/bits/socket2.h: Likewise.
5932 * socket/sys/socket.h: Likewise.
5933 * debug/tst-chk1.c: Likewise.
5934 * wcsmbs/bits/wchar2.h: Likewise.
5935 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5936 * wcsmbs/wchar.h: Likewise.
5938 2012-04-29 Andreas Jaeger <aj@suse.de>
5940 * Makerules (tests): Remove enable-check-abi protection.
5941 (check-abi-warn): Remove.
5942 (check-abi-%): Remove check-abi-warn usage.
5944 * configure.in: Remove check-abi configure option.
5945 * configure: Regenerated.
5946 * config.make.in (enable-check-abi): Remove.
5948 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5951 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5952 double functions to double *_finite functions.
5955 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5956 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5958 * stdio-common/Makefile (tests): Add tst-sprintf3.
5959 * stdio-common/tst-sprintf3.c: New file.
5961 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5962 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5964 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5966 * conform/conformtest.pl: Remove duplicate typed-constant
5969 2012-04-28 David S. Miller <davem@davemloft.net>
5971 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5972 (check-abi-%): Remove AWK script prerequisite and explicit
5974 (check-abi): Rewrite to just diff the symlist with the abilist.
5975 (config-tls, config-abi-config): Delete, no longer used.
5976 (update-abi-%): Remove AWK script and explicit abilist directory.
5977 (update-abi): Rewrite to simply compare and conditionally copy the
5978 symlist and the sysdep abilist file. Remove update-abi-config
5980 * abilist/ld.abilist: Remove.
5981 * abilist/libBrokenLocale.abilist: Remove.
5982 * abilist/libanl.abilist: Remove.
5983 * abilist/libcrypt.abilist: Remove.
5984 * abilist/libdl.abilist: Remove.
5985 * abilist/librt.abilist: Remove.
5986 * abilist/libthread_db.abilist: Remove.
5987 * abilist/libutil.abilist: Remove.
5988 * scripts/extract-abilist.awk: Remove.
5989 * scripts/merge-abilist.awk: Remove.
5990 * sysdeps/generic/libcidn.abilist: New file.
5991 * sysdeps/generic/libnss_compat.abilist: New file.
5992 * sysdeps/generic/libnss_db.abilist: New file.
5993 * sysdeps/generic/libnss_dns.abilist: New file.
5994 * sysdeps/generic/libnss_files.abilist: New file.
5995 * sysdeps/generic/libnss_hesiod.abilist: New file.
5996 * sysdeps/generic/libnss_nis.abilist: New file.
5997 * sysdeps/generic/libnss_nisplus.abilist: New file.
5998 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5999 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6000 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6002 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6003 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6004 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6005 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6006 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6007 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6008 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6009 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6010 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6012 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6013 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6014 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6015 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6017 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6018 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6019 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6020 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6021 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6022 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6024 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6025 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6026 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6028 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6131 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6132 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6133 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6136 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6137 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6138 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6139 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6140 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6141 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6142 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6143 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6144 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6196 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6198 * conform/conformtest.pl: Fix typo in handling typed-constant from
6201 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6203 * README: Cut down references to pre-2.6 Linux kernels and
6204 Linuxthreads. Update lists of configurations in libc and ports
6205 and sort alphabetically. Say "or newer" with Linux kernel version
6208 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6210 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6213 * math/libm-test.inc (logb_test_downward): New test to expose
6214 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6217 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6220 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6222 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6223 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6225 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6227 * sysdeps/unix/i386/brk.S: Remove file.
6228 * sysdeps/unix/i386/dl-brk.S: Likewise.
6229 * sysdeps/unix/i386/pipe.S: Likewise.
6230 * sysdeps/unix/i386/sigreturn.S: Likewise.
6231 * sysdeps/unix/i386/syscall.S: Likewise.
6232 * sysdeps/unix/i386/vfork.S: Likewise.
6233 * sysdeps/unix/i386/wait.S: Likewise.
6235 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6236 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6238 * configure.in (arm*-none*): Do not allow without
6239 --enable-hacker-mode.
6240 (netbsd*): Remove case setting base_os.
6241 (386bsd*): Likewise.
6242 (freebsd*): Likewise.
6246 (ultrix*): Likewise.
6247 (newsos*): Likewise.
6257 (solaris[2-9]*): Likewise.
6259 * configure: Regenerated.
6261 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6264 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6265 overflow or cancellation in calculating denominator.
6266 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6267 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6268 down expression to avoid unexpected rounding in newer GCCs.
6269 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6271 2012-04-26 David S. Miller <davem@davemloft.net>
6273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6274 long-double compat symbols.
6275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6289 2012-04-25 David S. Miller <davem@davemloft.net>
6291 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6292 HWCAP_* values only after the memory barriers have been defined.
6293 (atomic_full_barrier): Define.
6294 (atomic_read_barrier): Define.
6295 (atomic_write_barrier): Define.
6297 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6299 * shlib-versions: Add libgcc_s version information.
6300 * sysdeps/generic/libgcc_s.h: Remove.
6301 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6303 * sysdeps/gnu/unwind-resume.c: Likewise.
6304 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6306 2012-04-25 David S. Miller <davem@davemloft.net>
6308 * sysdeps/unix/sparc/brk.S: Delete.
6309 * sysdeps/unix/sparc/dl-brk.S: Delete.
6310 * sysdeps/unix/sparc/pipe.S: Delete.
6311 * sysdeps/unix/sparc/sysdep.S: Delete.
6312 * sysdeps/unix/sparc/sysdep.h: Delete.
6313 * sysdeps/unix/sparc/vfork.S: Delete.
6314 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6315 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6316 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6317 ret_ERRVAL, r0, r1, MOVE): Define.
6318 (JUMPTARGET): Remove.
6319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6320 sysdeps/unix/sparc/sysdep.h
6321 (ENTRY, END): Remove.
6322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6324 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6326 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6327 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6330 * timezone/README: Update upstream location and email address for
6332 * timezone/zdump.c: Update from tzcode 2012b.
6333 * timezone/zic.c: Likewise.
6335 * configure.in (libc_cv_as_needed): Remove test.
6336 * configure: Regenerated.
6337 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6338 conditional definition.
6339 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6340 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6341 * config.make.in (have-as-needed): Remove variable.
6343 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6344 Paul Pluzhnikov <ppluzhnikov@google.com>
6346 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6349 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6351 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6352 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6353 * sysdeps/sh/strlen.S: Likewise.
6355 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6357 * sysdeps/unix/fork.S: Remove file.
6358 * sysdeps/unix/i386/fork.S: Likewise.
6359 * sysdeps/unix/sparc/fork.S: Likewise.
6361 * sysdeps/unix/system.c: Remove file.
6362 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6364 * sysdeps/unix/getegid.S: Remove file.
6365 * sysdeps/unix/geteuid.S: Likewise.
6367 2012-04-24 Roland McGrath <roland@hack.frob.com>
6369 * scripts/check-localplt.awk: New file.
6370 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6372 * scripts/data/localplt-generic.data: Add a comment.
6374 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6375 NODE when __dir_mkfile failed.
6376 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6377 Reported by Ludovic Courtès <ludo@gnu.org>.
6379 2012-04-24 Andreas Jaeger <aj@suse.de>
6381 * Makerules (common-clean): Also remove gen-as-const-headers
6384 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6386 * Makerules (native-compile): Do not change working directory for
6387 build. Use $(OUTPUT_OPTION) in command.
6388 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6390 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6393 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6394 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6395 * math/libm-test.inc (floor_test): Add more tests.
6396 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6398 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6400 * sysdeps/unix/getdents.c: Remove file.
6401 * sysdeps/unix/sysv/getdents.c: Likewise.
6402 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6404 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6405 sysdeps/unix/mman/syscalls.list.
6407 (mprotect): Likewise.
6410 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6411 * sysdeps/unix/mman/syscalls.list: Remove.
6412 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6414 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6415 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6416 * configure: Regenerated.
6417 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6419 * config.make.in (libgcc_s_suffix): Remove variable.
6421 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6423 * sysdeps/unix/sysv/gethostname.c: Move to ...
6424 * sysdeps/posix/gethostname.c: ... here.
6426 * sysdeps/unix/execve.S: Remove file.
6428 * sysdeps/unix/_exit.S: Remove file.
6430 2012-04-23 Andreas Jaeger <aj@suse.de>
6433 * manual/Makefile: Remove make dist support, there's no
6434 need for a stand-alone documentation tar ball.
6435 (TEXI2DVI): Define always, it's not in Makeconfig.
6439 (glibc-doc-$(edition).tar): Removed
6443 (ETAGS): Remove, it's in Makeconfig.
6444 (move-if-change): Remove, it's in Makeconfig.
6446 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6449 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6450 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6451 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6452 (strtod_l, strtof_l, strtold_l): Remove __wur.
6453 It is not necessarily an error to ignore strtol's return value.
6454 One can reliably look at the stored endptr to decide whether
6455 the number had valid syntax.
6457 2012-04-21 Andreas Jaeger <aj@suse.de>
6460 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6462 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6464 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6465 * sysdeps/unix/sysv/Versions: Remove file.
6467 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6472 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6475 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6476 version from __vm86.
6478 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6480 * sysdeps/unix/common/lxstat.c: Remove file.
6481 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6483 * sysdeps/unix/sysv/Makefile: Remove file.
6485 * sysdeps/unix/sysv/direct.h: Remove file.
6487 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6488 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6489 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6490 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6491 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6492 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6493 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6495 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6497 * sysdeps/unix/xmknod.c: Remove file.
6498 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6500 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6502 * sysdeps/unix/sysv/i386/time.S: Remove file.
6504 * sysdeps/unix/fxstat.c: Remove file.
6505 * sysdeps/unix/xstat.c: Likewise.
6506 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6508 * sysdeps/unix/sysv/sigaction.c: Remove file.
6510 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6511 (sysdep_headers): Remove variable.
6512 [termio.h not in sysdep_headers] (generated): Likewise.
6513 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6514 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6515 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6516 * sysdeps/unix/sysv/tcflow.c: Likewise.
6517 * sysdeps/unix/sysv/tcflush.c: Likewise.
6518 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6519 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6520 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6521 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6522 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6524 * sysdeps/unix/siglist.c: Remove file.
6526 * sysdeps/unix/getppid.S: Remove file.
6528 * sysdeps/unix/mkdir.c: Remove file.
6529 * sysdeps/unix/rmdir.c: Likewise.
6531 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6533 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6535 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6536 errlist-compat value.
6538 2012-04-18 David S. Miller <davem@davemloft.net>
6540 * sysdeps/generic/memcopy.h (reg_char): Delete.
6541 * debug/strcat_chk.c: Use char, not reg_char.
6542 * debug/strcpy_chk.c: Likewise.
6543 * debug/strncat_chk.c: Likewise.
6544 * debug/strncpy_chk.c: Likewise.
6545 * string/memchr.c: Likewise.
6546 * string/memrchr.c: Likewise.
6547 * string/rawmemchr.c: Likewise.
6548 * string/strcat.c: Likewise.
6549 * string/strchr.c: Likewise.
6550 * string/strchrnul.c: Likewise.
6551 * string/strcmp.c: Likewise.
6552 * string/strcpy.c: Likewise.
6553 * string/strncat.c: Likewise.
6554 * string/strncmp.c: Likewise.
6555 * string/strncpy.c: Likewise.
6557 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6559 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6560 __builtin_memcopy is called when src and dest ranges are known to not
6563 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6565 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6566 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6567 fwd_align_merge macro call.
6568 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6569 bwd_align_merge macro call.
6570 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6572 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6574 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6575 bwd_align_merge macros.
6576 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6577 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6578 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6580 2012-04-18 David S. Miller <davem@davemloft.net>
6582 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6584 2012-04-18 Andreas Jaeger <aj@suse.de>
6587 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6588 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6589 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6591 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6592 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6593 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6595 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6596 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6597 Adjust for changed ldbl-128 files.
6599 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6600 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6601 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6603 2012-04-17 David S. Miller <davem@davemloft.net>
6605 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6607 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6609 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6610 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6611 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6612 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6613 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6614 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6616 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6619 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6620 * math/libm-test.inc: Add ilogb errno and exception tests.
6621 * math/w_ilogb.c: New file: ilogb wrapper.
6622 * math/w_ilogbf.c: New file: ilogbf wrapper.
6623 * math/w_ilogbl.c: New file: ilogbl wrapper.
6624 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6625 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6626 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6627 exception being thrown with 0.0 as argument.
6628 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6629 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6630 exception being thrown with 0.0 as argument.
6631 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6632 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6633 exception being thrown with 0.0 as argument.
6634 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6635 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6636 exception being thrown with 0.0 as argument.
6637 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6638 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6639 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6640 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6641 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6642 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6643 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6644 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6645 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6647 2012-04-17 Petr Baudis <pasky@ucw.cz>
6649 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6652 2012-04-16 Marek Polacek <polacek@redhat.com>
6654 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6656 2012-04-16 Marek Polacek <polacek@redhat.com>
6658 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6659 operands of fdivp instruction.
6661 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6663 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6664 * elf/tst-auditmod3b.c: Likewise.
6665 * elf/tst-auditmod4b.c: Likewise.
6666 * elf/tst-auditmod5b.c: Likewise.
6667 * elf/tst-auditmod6b.c: Likewise.
6668 * elf/tst-auditmod6c.c: Likewise.
6669 * elf/tst-auditmod7b.c: Likewise.
6670 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6671 * sysdeps/x86_64/preconfigure.in: Likewise.
6672 * sysdeps/x86_64/preconfigure: Regenerated.
6674 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6676 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6679 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6682 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6684 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6687 * locale/iso-639.def: Fix gl language name. Spotted by
6690 2012-04-12 Roland McGrath <roland@hack.frob.com>
6693 * libio/libio.h (__io_write_fn): Update comment.
6695 2012-04-12 Petr Baudis <pasky@ucw.cz>
6698 * stdio.texi (Hook Functions): The user provided writer function
6699 is not allowed to return -1.
6701 2012-04-11 David S. Miller <davem@davemloft.net>
6703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6705 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6707 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6708 Add a leading slash to rtkaio.
6710 2012-04-11 Jim Meyering <meyering@redhat.com>
6713 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6714 It is not necessarily an error to ignore fwrite's return
6715 value. One can reliably use ferror to test for errors after
6718 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6720 * bits/types.h (__snseconds_t): New type.
6721 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6723 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6725 (__SNSECONDS_T_TYPE): Likewise.
6726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6727 (__SNSECONDS_T_TYPE): Likewise.
6728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6729 (__SNSECONDS_T_TYPE): Likewise.
6731 2012-04-10 Andreas Jaeger <aj@suse.de>
6734 * manual/time.texi (Processor Time): Return type of times is
6735 elapsed real time since an arbitrary point in the past.
6736 (CPU Time): Move CLK_TCK from here...
6737 (Processor Time): ...to here. Correct description.
6738 * manual/conf.texi (Constants for Sysconf): Correct description of
6741 2012-04-10 David S. Miller <davem@davemloft.net>
6744 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6745 where the is a gap between DT_REL(A) and DT_JMPREL.
6747 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6749 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6750 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6751 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6753 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6755 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6756 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6757 (dl_main): Handle --inhibit-cache.
6758 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6760 * elf/dl-load.c (_dl_map_object): Use it.
6761 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6763 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6766 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6767 (__ieee754_powl): Saturate large exponents rather than testing for
6768 overflow of y*log2(x).
6769 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6770 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6774 * math/s_ctan.c: Include <float.h>.
6775 (__ctan): Avoid internal overflow or cancellation in calculating
6777 * math/s_ctanf.c: Likewise.
6778 * math/s_ctanl.c: Likewise.
6779 * math/s_ctanh.c: Likewise.
6780 * math/s_ctanhf.c: Likewise.
6781 * math/s_ctanhl.c: Likewise.
6782 * math/libm-test.inc (ctan_test): Add more tests.
6783 (ctanh_test): Likewise.
6784 * sysdeps/i386/fpu/libm-test-ulps: Update.
6785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6787 2012-04-09 Andreas Jaeger <aj@suse.de>
6790 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6791 is an optional BSD extension.
6794 * manual/stdio.texi (Opening Streams): Document additional fopen
6797 2012-04-09 Roland McGrath <roland@hack.frob.com>
6799 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6800 %eax without telling the compiler.
6802 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6805 * manual/install.texi: Use sourceware.org.
6807 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6810 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6811 (__ieee754_pow): Generate overflow and underflow using huge*huge
6812 and tiny*tiny rather than just returning constant infinity or zero
6813 for large exponents.
6814 * math/libm-test.inc (pow_test): Require overflow exceptions for
6815 applicable cases of large exponents.
6818 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6819 (__ieee754_pow): Use iterative multiplication algorithm only for
6820 integer exponents with absolute value below 1024. Check for odd
6821 integer exponents when using algorithm for real exponents.
6822 * math/libm-test.inc (pow_test): Add more tests.
6823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6825 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6828 * math/libm-test.inc (exp_test): Do not allow overflow exception
6831 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6834 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6835 instead of __kernel_standard_f.
6837 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6839 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6840 * sysdeps/x86_64/memset_chk.S: Likewise.
6842 2012-04-08 Andreas Jaeger <aj@suse.de>
6845 * manual/startup.texi (Environment Access): Describe return value
6846 for putenv and setenv.
6849 * manual/filesys.texi (Directory Entries): Add description for
6853 * manual/filesys.texi (Directory Entries): Clarify that it's file
6854 system not operating system in the description of DT_UNKNOWN.
6857 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6859 2012-04-08 Stephen Compall <s11@member.fsf.org>
6862 * manual/llio.texi (Opening and Closing Files): Add cross
6863 reference to explain mode argument.
6865 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6867 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6868 * sysdeps/x86_64/memset_chk.S: Likewise.
6870 2012-04-07 David S. Miller <davem@davemloft.net>
6872 * elf/elf.h (R_SPARC_WDISP10): Define.
6873 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6876 R_SPARC_SIZE64 and R_SPARC_H34.
6878 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6880 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6881 conditions and remove no longer applicable assertion.
6883 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6885 * bits/byteswap.h: Include <features.h>.
6886 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6887 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6889 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6891 * bits/byteswap.h (__bswap_16): Removed.
6892 Include <bits/byteswap-16.h> to get __bswap_16.
6893 * sysdeps/i386/bits/byteswap.h: Likewise.
6894 * sysdeps/s390/bits/byteswap.h: Likewise.
6895 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6896 * bits/byteswap-16.h: New file.
6897 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6898 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6899 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6900 * string/Makefile (headers): Add bits/byteswap-16.h.
6902 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6905 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6907 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6908 * nss/tst-nss-static.c: New.
6910 2012-04-06 Robert Millan <rmh@gnu.org>
6913 * manual/llio.texi (File Position Primitive): lseek
6914 refers to WHENCE when it really means OFFSET.
6916 2012-04-06 Andreas Jaeger <aj@suse.de>
6918 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6919 strncmp declarations.
6921 * abilist/libc.abilist: Add __poll and __ppoll.
6923 2012-04-05 David S. Miller <davem@davemloft.net>
6925 * scripts/check-local-headers.sh: Accept a host triplet in the
6926 path matched by the exclude regexp.
6928 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6930 * sysdeps/powerpc/powerpc32/dl-machine.h
6931 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6932 * sysdeps/s390/s390-32/dl-machine.h
6933 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6934 * sysdeps/sparc/sparc32/dl-machine.h
6935 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6936 * sysdeps/sparc/sparc64/dl-machine.h
6937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6939 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6941 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6942 undefined symbol errors.
6944 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6947 2012-04-05 Michael Matz <matz@suse.de>
6950 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6952 2012-04-05 Andreas Jaeger <aj@suse.de>
6955 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6958 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6960 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6961 which ROUND is no valid rounding mode.
6963 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6965 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6967 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6969 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6971 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6972 an exception using FPU order intentionally.
6974 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6976 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6977 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6978 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6979 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6981 2012-04-05 Simon Josefsson <simon@josefsson.org>
6984 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6985 EINVAL when BUFLEN is too smal.
6987 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6990 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6991 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6993 2012-04-03 Andreas Jaeger <aj@suse.de>
6996 * manual/setjmp.texi (System V contexts): Fix sentence.
6999 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7000 New macro for this case.
7001 [!__GNUC__] (__bswap_64): New inline function for this case.
7002 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7003 * bits/byteswap.h: Likewise.
7004 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7005 ull, guard with __GLIBC_HAVE_LONG_LONG.
7007 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7008 __GLIBC_HAVE_LONG_LONG.
7010 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7011 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7013 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7016 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7017 inptr and inend, rather than using last_ch.
7019 2012-04-02 David S. Miller <davem@davemloft.net>
7021 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7022 * stdio-common/printf-parse.h (read_int): Change return type to
7023 'int', return -1 on INT_MAX overflow.
7024 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7025 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7026 overflows INT_MAX. Check for overflow of in-format-string precision
7027 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7028 SIZE_MAX not INT_MAX for integer overflow test.
7029 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7030 skip the construct in the format string but do not record anything.
7031 * stdio-common/bug22.c: Adjust to test both width/prevision
7032 INT_MAX overflow as well as total length INT_MAX overflow. Check
7033 explicitly for proper errno values.
7035 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7037 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7039 * string/test-strcmp.c [! WIDE]: Likewise.
7040 * time/tst-mktime2.c: Likewise for INT_MAX.
7041 * string/test-string.h: #include <sys/param.h> for MIN.
7043 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7044 * sysdeps/i386/init-first.c (init): Likewise.
7045 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7046 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7047 * sysdeps/sh/init-first.c (init): Likewise.
7049 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7051 * po/ru.po: Update from translation team.
7052 * po/vi.po: Likewise.
7054 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7056 * resolv/nss_dns/dns-host.c: Merge copyright years.
7058 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7060 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7061 Optimize memcpy with prefetch if
7062 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7063 src, dst pointers have unequal 16 byte alignments.
7065 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7068 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7069 from a CNAME entry and return the minimum ttl for the query.
7070 (gaih_getanswer_slice): Likewise.
7072 2012-03-30 Jeff Law <law@redhat.com>
7074 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7076 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7077 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7079 * resolv/nss_dns/dns-host.c: Update copyright year.
7081 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7083 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7084 requests to save a system call. Fix check that all bytes are sent.
7086 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7087 comments for sendmmsg.
7089 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7092 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7093 with only 1 character between 0x0041 and 0x01b0.
7094 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7095 * wcsmbs/tst-mbsnrtowcs.c: New file.
7097 2012-03-29 David S. Miller <davem@davemloft.net>
7099 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7100 small copies by hand.
7102 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7105 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7106 _nss_compat_initgroups_dyn): Fall back to malloc/free
7107 for large group memberships.
7109 2012-03-28 David S. Miller <davem@davemloft.net>
7111 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7112 that branches into memcpy.
7113 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7116 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7117 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7119 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7121 * sysdeps/sparc/mempcpy.S: New file.
7123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7124 the IFUNC routine in the libc case.
7125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7127 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7128 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7129 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7130 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7131 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7132 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7133 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7134 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7136 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7137 loop to 256 bytes instead of 64 bytes and fix test signedness.
7139 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7140 * sysdeps/sparc/sparc32/Makefile: rather than here...
7141 * sysdeps/sparc/sparc64/Makefile: and here.
7143 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7145 * malloc/mallocbug.c: Avoid warnings about unused variables.
7147 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7150 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7151 in the right place. Discard and retry query if response is
7152 larger than input buffer size.
7154 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7159 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7160 x for large integer exponent.
7161 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7162 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7163 sign of result as needed afterwards.
7164 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7165 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7166 result for underflowing pow the same as for overflow.
7167 (__kernel_standard_l): Handle powl overflow and underflow here
7168 rather than calling __kernel_standard.
7169 * math/libm-test.inc (pow_test): Add more tests.
7184 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7185 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7186 (__kernel_standard_l): New function.
7187 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7189 * math/w_acosl.c (__acosl): Likewise.
7190 * math/w_asinl.c (__asinl): Likewise.
7191 * math/w_atan2l.c (__atan2l): Likewise.
7192 * math/w_atanhl.c (__atanhl): Likewise.
7193 * math/w_coshl.c (__coshl): Likewise.
7194 * math/w_exp10l.c (__exp10l): Likewise.
7195 * math/w_exp2l.c (__exp2l): Likewise.
7196 * math/w_fmodl.c (__fmodl): Likewise.
7197 * math/w_hypotl.c (__hypotl): Likewise.
7198 * math/w_j0l.c (__j0l, __y0l): Likewise.
7199 * math/w_j1l.c (__j1l, __y1l): Likewise.
7200 * math/w_jnl.c (__jnl, __ynl): Likewise.
7201 * math/w_lgammal.c (__lgammal): Likewise.
7202 * math/w_log10l.c (__log10l): Likewise.
7203 * math/w_log2l.c (__log2l): Likewise.
7204 * math/w_logl.c (__logl): Likewise.
7205 * math/w_powl.c (__powl): Likewise.
7206 * math/w_remainderl.c (__remainderl): Likewise.
7207 * math/w_scalbl.c (sysv_scalbl): Likewise.
7208 * math/w_sinhl.c (__sinhl): Likewise.
7209 * math/w_sqrtl.c (__sqrtl): Likewise.
7210 * math/w_tgammal.c (__tgammal): Likewise.
7211 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7212 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7213 * math/libm-test.inc (acos_test): Add more tests.
7214 (acosh_test): Likewise.
7215 (asin_test): Likewise.
7216 (atanh_test): Likewise.
7217 (exp_test): Likewise.
7218 (exp10_test): Likewise.
7219 (exp2_test): Likewise.
7220 (expm1_test): Likewise.
7221 (lgamma_test): Likewise.
7222 (log_test): Likewise.
7223 (log10_test): Likewise.
7224 (log1p_test): Likewise.
7225 (log2_test): Likewise.
7226 (pow_test): Do not allow some spurious overflow exceptions.
7227 (sqrt_test): Add more tests.
7228 (tgamma_test): Likewise.
7229 (y0_test): Likewise.
7230 (y1_test): Likewise.
7231 (yn_test): Likewise.
7233 2012-03-27 Anton Blanchard <anton@samba.org>
7235 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7237 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7238 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7239 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7241 2012-03-27 David S. Miller <davem@davemloft.net>
7243 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7245 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7248 2012-03-27 Andreas Jaeger <aj@suse.de>
7250 * sysdeps/x86_64/elf/configure.in: Moved to ...
7251 * sysdeps/x86_64/configure.in: ... here.
7252 * sysdeps/x86_64/elf/start.S: Moved to ...
7253 * sysdeps/x86_64/start.S: ... here.
7254 * sysdeps/x86_64/elf/configure: Delete.
7256 * sysdeps/x86_64/configure.in: Merge contents from
7257 sysdeps/i386/configure.in (without i686 check).
7259 * sysdeps/i386/elf/Versions: Merge into ...
7260 * sysdeps/i386/Versions: ... this.
7261 * sysdeps/i386/elf/Versions: Delete file.
7262 * sysdeps/i386/elf/start.S: Moved to ...
7263 * sysdeps/i386/start.S: ...here.
7264 * sysdeps/i386/elf/configure.in: Merge into...
7265 * sysdeps/i386/configure.in: ...here.
7266 * sysdeps/i386/elf/configure.in: Delete file.
7267 * sysdeps/i386/elf/configure: Delete file.
7269 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7270 * debug/backtracesyms.c: ... here.
7271 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7272 * debug/backtracesymsfd.c: ... here.
7273 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7274 * sysdeps/generic/ifunc-sel.h: ... here.
7276 * sysdeps/unix/i386/start.c: Delete file.
7277 * sysdeps/unix/sparc/start.c: Delete file.
7278 * sysdeps/unix/start.c: Delete file.
7280 * sysdeps/sh/elf/configure.in: Moved to ...
7281 * sysdeps/sh/configure.in: ... here.
7282 * sysdeps/sh/elf/start.S: Moved to ...
7283 * sysdeps/sh/start.S: ... here.
7284 * sysdeps/sh/elf/configure: Delete file.
7286 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7287 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7288 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7289 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7290 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7291 * sysdeps/powerpc/powerpc64/start.S: here.
7292 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7293 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7294 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7295 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7296 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7298 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7299 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7300 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7301 * sysdeps/powerpc/powerpc32/start.S: ... here.
7302 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7303 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7304 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7306 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7307 * sysdeps/powerpc/ifunc-sel.h: ... here.
7308 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7309 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7311 * sysdeps/sparc/elf/configure.in: Moved to ...
7312 * sysdeps/sparc/configure.in: ... here.
7313 * sysdeps/sparc/elf/configure: Delete file.
7314 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7315 * sysdeps/sparc/sparc32/start.S: ... here.
7316 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7317 * sysdeps/sparc/sparc64/start.S: ... here.
7318 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7319 * sysdeps/sparc/sparc32/Makefile: ... this.
7320 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7321 * sysdeps/sparc/sparc64/Makefile: ... this.
7323 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7324 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7325 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7326 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7327 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7328 * sysdeps/s390/s390-32/setjmp.S: ... here.
7329 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7330 * sysdeps/s390/s390-32/configure.in: ... here.
7331 * sysdeps/s390/s390-32/elf/configure: Delete file.
7332 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7333 * sysdeps/s390/s390-32/start.S: ... here.
7335 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7336 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7337 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7338 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7339 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7340 * sysdeps/s390/s390-64/setjmp.S: ... here.
7341 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7342 * sysdeps/s390/s390-64/configure.in: ... here
7343 * sysdeps/s390/s390-64/elf/configure: Delete file.
7344 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7345 * sysdeps/s390/s390-64/start.S: ... here.
7346 * sysdeps/s390/s390-64/elf/configure: Delete.
7348 * configure.in: Remove support for elf directories in sysdeps.
7350 * configure: Regenerated.
7351 * sysdeps/i386/configure: Regenerated.
7352 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7353 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7354 * sysdeps/s390/s390-32/configure: Regenerated.
7355 * sysdeps/s390/s390-64/configure: Regenerated.
7356 * sysdeps/sh/configure: Regenerated.
7357 * sysdeps/sparc/configure: Regenerated.
7358 * sysdeps/x86_64/configure: Regenerated.
7360 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7365 denormal result into account.
7367 2012-03-25 Roland McGrath <roland@hack.frob.com>
7369 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7370 Reported by Allan McRae <allan@archlinux.org>.
7372 2012-03-23 Jeff Law <law@redhat.com>
7374 * nss/getnssent.c (__nss_getent): Fix typo.
7376 2012-03-23 David S. Miller <davem@davemloft.net>
7378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7380 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7382 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7383 to pad to uint64_t for each field.
7384 (dl_tls_index): Replace unsigned long with uint64_t.
7386 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7387 Paul Pluzhnikov <ppluzhnikov@google.com>
7390 * grp/Makefile (otherlibs): Don't set it.
7391 * inet/Makefile (otherlibs): Likewise.
7392 * login/Makefile (otherlibs): Likewise.
7393 * nscd/Makefile (otherlibs): Likewise.
7394 * posix/Makefile (otherlibs): Likewise.
7395 * pwd/Makefile (otherlibs): Likewise.
7396 * rt/Makefile (otherlibs): Likewise.
7397 * sunrpc/Makefile (otherlibs): Likewise.
7398 * nss/Makefile (otherlibs): Likewise.
7399 Add libnss_files to routines and static-only-routines.
7400 ($(objpfx)getent): Remove rule.
7401 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7402 static-only-routines.
7404 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7407 * math/s_cexp.c: Include <float.h>.
7408 (__cexp): Handle exp result overflowing not necessarily
7409 overflowing both real and imaginary parts of result.
7410 * math/s_cexpf.c: Likewise.
7411 * math/s_cexpl.c: Likewise.
7412 * math/libm-test.inc (cexp_test): Add more tests.
7413 * sysdeps/i386/fpu/libm-test-ulps: Update.
7414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7416 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7418 * include/link.h (ELFW): New macro.
7419 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7420 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7422 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7424 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7427 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7429 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7431 (struct La_x32_retval): Likewise.
7433 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7435 * sysdeps/x86_64/preconfigure.in: New file.
7436 * sysdeps/x86_64/preconfigure: New generated file.
7438 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7441 * math/e_exp2l.c: Include <float.h>.
7442 (__ieee754_exp2l): Handle overflow and underflow cases
7443 separately. Only pass fractional part of argument to
7445 * math/libm-test.inc (exp2_test): Add more tests.
7447 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7448 negating x to take absolute value.
7449 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7451 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7452 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7454 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7455 computing low part if x was negated.
7456 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7458 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7460 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7462 (pltexit): Cast int_retval to ptrdiff_t.
7463 * elf/tst-auditmod3b.c: Likewise.
7464 * elf/tst-auditmod4b.c: Likewise.
7465 * elf/tst-auditmod5b.c: Likewise.
7466 * elf/tst-auditmod6b.c: Likewise.
7467 * elf/tst-auditmod6c.c: Likewise.
7468 * elf/tst-auditmod7b.c: Likewise.
7470 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7471 and x32_gnu_pltexit.
7473 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7475 (La_x32_regs): New macro.
7476 (La_x32_retval): Likewise.
7477 (la_x32_gnu_pltenter): New function prototype.
7478 (la_x32_gnu_pltexit): Likewise.
7480 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7482 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7487 * configure.in (libc_cv_cc_nofma): Check for option to disable
7488 generation of FMA instructions.
7489 * configure: Regenerate.
7490 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7491 * sysdeps/ieee754/dbl-64/Makefile: New file.
7492 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7493 Remove brandred-fma4.
7494 (CFLAGS-brandred-fma4.c): Remove.
7495 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7496 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7498 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7501 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7503 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7504 LLONG_MAX != LONG_MAX.
7505 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7506 (_fitoa_word): Likewise.
7507 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7508 LLONG_MAX != LONG_MAX.
7509 * stdio-common/_itowa.h: Include <_itoa.h>.
7510 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7511 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7512 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7513 only if not defined.
7514 (_ITOA_WORD_TYPE): Likewise.
7515 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7516 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7518 2012-03-21 David S. Miller <davem@davemloft.net>
7520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7522 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7524 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7525 of x86_64 when setting libc_cv_slibdir, libdir and
7527 * sysdeps/unix/sysv/linux/configure: Regenerated.
7529 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7531 * manual/lang.texi (Old Varargs): Remove section.
7532 (How Variadic): Update menu.
7533 (va_start): Do not mention varargs.h.
7535 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7536 Joseph Myers <joseph@codesourcery.com>
7538 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7540 * configure: Regenerated.
7542 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7544 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7545 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7548 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7551 * Makefile (files-for-dist): Remove NOTES.
7552 (NOTES): Remove rule.
7553 * README: Don't refer to NOTES.
7554 * manual/creature.texi: Don't include macros.texi.
7555 * manual/intro.texi (creature.texi): Remove comment referring to
7558 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7559 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7560 * configure: Regenerated.
7561 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7563 (libc_cv_as_i686): Likewise.
7564 (libc_cv_cc_avx): Likewise.
7565 (libc_cv_cc_sse2avx): Likewise.
7566 (libc_cv_cc_fma4): Likewise.
7567 (libc_cv_cc_novzeroupper): Likewise.
7568 * sysdeps/i386/configure: Regenerated.
7571 * sysdeps/i386/fpu/s_cexp.S: Remove.
7572 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7573 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7574 * math/libm-test.inc (cexp_test): Add more tests.
7575 * sysdeps/i386/fpu/libm-test-ulps: Update.
7576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7578 2012-03-21 Allan McRae <allan@archlinux.org>
7580 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7582 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7585 * math/w_exp2.c: Do not include <float.h>.
7586 (o_threshold, u_threshold): Remove.
7587 (__exp2): Calculate result before checking finiteness and calling
7589 * math/w_exp2f.c: Likewise.
7590 * math/w_exp2l.c: Likewise.
7591 * math/libm-test.inc (exp2_test): Require overflow exception for
7595 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7596 range of signed 64-bit integers before using fistpll. Remove
7597 checks for whether integers fit in mantissa bits.
7598 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7599 the range of signed 32-bit integers before using fistpl. Remove
7600 checks for whether integers fit in mantissa bits.
7601 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7602 (__ieee754_powl): Test for y outside the range of signed 64-bit
7603 integers before using fistpll. Reduce 64-bit values to 63-bit
7605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7606 divide-by-zero is raised for zero to large negative powers.
7607 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7608 (__ieee754_powl): Test for y outside the range of signed 64-bit
7609 integers before using fistpll. Reduce 64-bit values to 63-bit
7611 * math/libm-test.inc (pow_test): Add more tests.
7613 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7615 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7616 <stdio-common/_itoa.h>.
7617 * debug/segfault.c: Likewise.
7618 * elf/dl-cache.c: Likewise.
7619 * elf/dl-minimal.c: Likewise.
7620 * elf/dl-misc.c: Likewise.
7621 * elf/dl-sysdep.c: Likewise.
7622 * elf/dl-version.c: Likewise.
7623 * elf/rtld.c: Likewise.
7624 * hurd/hurdsock.c: Likewise.
7625 * hurd/lookup-retry.c: Likewise.
7626 * malloc/malloc.c: Likewise.
7627 * malloc/mtrace.c: Likewise.
7628 * nscd/nscd_getgr_r.c: Likewise.
7629 * nscd/nscd_getpw_r.c: Likewise.
7630 * nscd/nscd_getserv_r.c: Likewise.
7631 * posix/getopt_init.c: Likewise.
7632 * posix/wordexp.c: Likewise.
7633 * stdio-common/_itoa.c: Likewise.
7634 * stdio-common/printf_fphex.c: Likewise.
7635 * stdio-common/vfprintf.c: Likewise.
7636 * string/_strerror.c: Likewise.
7637 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7638 * sysdeps/i386/i686/hp-timing.h: Likewise.
7639 * sysdeps/mach/_strerror.c: Likewise.
7640 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7641 * sysdeps/mach/hurd/sethostid.c: Likewise.
7642 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7643 * sysdeps/mach/xpg-strerror.c: Likewise.
7644 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7645 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7646 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7647 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7648 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7649 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7650 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7651 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7652 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7653 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7654 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7655 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7656 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7657 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7658 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7659 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7660 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7661 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7662 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7663 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7664 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7666 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7668 * stdio-common/_itoa.h: Moved to ...
7669 * sysdeps/generic/_itoa.h: Here.
7671 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7673 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7674 instead of "_itoa.h" and "_itowa.h".
7675 * stdio-common/vfprintf.: Likewise.
7677 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7679 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7681 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7682 (__signbit): Likwise.
7686 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7688 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7691 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7693 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7694 OVERFLOW_EXCEPTION_OK.
7695 * math/libm-test.inc ("Philosophy"): Update comment about
7697 (OVERFLOW_EXCEPTION): Define.
7698 (OVERFLOW_EXCEPTION_OK): Likewise.
7699 (INVALID_EXCEPTION_OK): Renumber.
7700 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7701 (IGNORE_ZERO_INF_SIGN): Likewise.
7702 (test_exceptions): Handle FE_OVERFLOW.
7703 (exp10_test): Expect overflow exceptions.
7704 (exp2_test): Likewise.
7705 (expm1_test): Likewise.
7706 (nextafter_test): Likewise.
7707 (pow_test): Likewise.
7708 (scalbn_test): Likewise.
7709 (scalbln_test): Likewise.
7711 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7713 * sysdeps/x86_64/bits/atomic.h
7714 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7716 (atomic_exchange_acq): Likewise.
7717 (__arch_exchange_and_add_body): Likewise.
7718 (__arch_add_body): Likewise.
7719 (atomic_add_negative): Likewise.
7720 (atomic_add_zero): Likewise.
7722 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7724 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7725 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7727 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7729 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7730 Check __x86_64__ instead of __WORDSIZE.
7732 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7734 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7736 2012-03-19 David S. Miller <davem@davemloft.net>
7738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7740 * sysdeps/sparc/fpu/fenv_private.h: New file.
7741 * sysdeps/sparc/fpu/math_private.h: Use it.
7742 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7744 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7745 (libc_feholdexcept_setroundl): Remove.
7746 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7748 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7749 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7751 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7753 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7754 int64_t instead of long int.
7755 (INSERT_WORDS64): Likwise.
7757 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7759 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7760 _Unwind_GetCFA return to _Unwind_Ptr first.
7762 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7765 * math/s_clog.c: Include <float.h>.
7766 (__clog): Scale large or subnormal inputs.
7767 * math/s_clogf.c: Likewise.
7768 * math/s_clogl.c: Likewise.
7769 * math/s_clog10.c: Include <float.h>.
7770 (M_LOG10_2): Define.
7771 (__clog10): Scale large or subnormal inputs.
7772 * math/s_clog10f.c: Likewise.
7773 * math/s_clog10l.c: Likewise.
7774 * math/libm-test.inc (clog_test): Add more tests.
7775 (clog10_test): Likewise.
7776 * sysdeps/i386/fpu/libm-test-ulps: Update.
7777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7780 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7782 * math/libm-test.inc (atan2_test): Add another test.
7784 * Makerules (common-objdir-compile): Remove.
7785 * sysdeps/unix/Makefile (config-generated): Do not add
7786 $(unix-generated) to variable.
7787 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7788 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7790 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7792 [generic bits/local_lim.h] (before-compile): Do not append to
7794 [generic bits/local_lim.h] (common-generated): Likewise.
7795 [generic sys/param.h] (before-compile): Do not append to variable.
7796 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7797 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7798 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7799 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7801 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7802 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7803 [generic sys/param.h] ($(addprefix
7804 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7805 [generic sys/param.h] (common-generated): Do not append to
7807 [generic sys/param.h] (sysdep_headers): Likewise.
7808 [generic bits/errno.h] (before-compile): Do not append to
7810 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7812 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7813 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7814 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7815 [generic bits/errno.h] (common-generated): Do not append to
7817 [generic bits/ioctls.h] (before-compile): Do not append to
7819 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7821 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7822 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7823 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7825 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7826 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7827 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7828 [generic bits/ioctls.h] (common-generated): Do not append to
7830 [generic sys/syscall.h] (syscall.h): Remove variable.
7831 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7833 [generic sys/syscall.h] (before-compile): Do not append to
7835 [generic sys/syscall.h] (common-generated): Likewise.
7836 * sysdeps/unix/errnos-tmpl.c: Remove file.
7837 * sysdeps/unix/errnos.awk: Likewise.
7838 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7839 * sysdeps/unix/ioctls.awk: Likewise.
7840 * sysdeps/unix/mk-local_lim.c: Likewise.
7841 * sysdeps/unix/snarf-ioctls: Likewise.
7843 2012-03-19 Richard Henderson <rth@twiddle.net>
7845 * sysdeps/i386/fpu/fenv_private.h: New file.
7846 * sysdeps/i386/fpu/math_private.h: Use it.
7847 (math_opt_barrier, math_force_eval): Remove.
7848 (libc_feholdexcept_setround_53bit): Remove.
7849 (libc_feupdateenv_53bit): Remove.
7850 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7851 (math_opt_barrier, math_force_eval): Remove.
7852 (libc_feholdexcept): Remove.
7853 (libc_feholdexcept_setround): Remove.
7854 (libc_fetestexcept, libc_fesetenv): Remove.
7855 (libc_feupdateenv_test): Remove.
7856 (libc_feupdateenv, libc_feholdsetround): Remove.
7857 (libc_feresetround): Remove.
7859 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7860 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7862 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7863 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7864 (libc_feupdateenv_testl): New.
7865 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7866 (libc_feupdateenv_testf): New.
7867 (libc_feupdateenv): Use libc_feupdateenv_test.
7868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7869 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7871 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7872 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7873 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7874 (libc_feresetround_noex): New.
7875 (libc_feresetround_noexf): New.
7876 (libc_feresetround_noexl): New.
7877 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7878 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7879 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7880 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7885 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7886 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7887 SET_RESTORE_ROUND_NOEX.
7888 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7889 SET_RESTORE_ROUND_NOEXF.
7890 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7891 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7892 (libc_feholdsetroundf): New.
7893 (libc_feresetround, libc_feresetroundf): New.
7895 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7896 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7897 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7899 * sysdeps/generic/math_private.h: Include <fenv.h>.
7900 (default_libc_feholdexcept): New.
7901 (default_libc_feholdexcept_setround): New.
7902 (default_libc_fesetenv, default_libc_feupdateenv): New.
7903 (libc_feholdexcept): Only define if undefined.
7904 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7905 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7906 (libc_feholdexcept_setroundl): Likewise.
7907 (libc_feholdexcept_setround_53bit): Likewise.
7908 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7909 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7910 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7911 (libc_feupdateenv_53bit): Likewise.
7912 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7913 (libc_feholdexcept): Convert from macro to inline function.
7914 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7915 (libc_fesetenv, libc_feupdateenv): Likewise.
7917 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7918 not previously defined.
7919 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7920 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7921 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7922 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7923 * sysdeps/ieee754/flt-32/math_private.h: New file.
7924 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7925 math_private.h below SET_FLOAT_WORD.
7926 (__isnan, __isinf_ns, __finite): Remove.
7927 (__isnanf, __isinf_nsf, __finitef): Remove.
7929 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7933 2012-03-17 David S. Miller <davem@davemloft.net>
7936 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7939 2012-03-16 David S. Miller <davem@davemloft.net>
7941 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7947 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7948 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7949 sysdep_routines when subdir is sysvipc.
7950 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7953 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7955 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7957 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7960 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7962 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7963 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7964 (__lround): Renamed to ...
7965 (__llround): This. Replace long int with long long int.
7966 Define lround functions as aliases of llround functions.
7967 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7969 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7971 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7972 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7973 adresses to uintptr_t. Replace "long int" and "unsigned long
7974 int" with "greg_t" on va_arg.
7976 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7978 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7979 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7981 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7982 Move e_machine check before EI_CLASS check. Handle x32
7983 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7984 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7985 SKIP_EM_IA_64 and include
7986 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7988 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7989 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7990 (add_system_dir): New macro.
7992 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7993 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7995 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8006 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8008 * math/w_j0f.c (j0f): Likewise.
8010 * math/w_j0l.c (__j0l): Likewise.
8012 * math/w_j1.c (j1): Likewise.
8014 * math/w_j1f.c (j1f): Likewise.
8016 * math/w_j1l.c (__j1l): Likewise.
8018 * math/w_jn.c (jn): Likewise.
8020 * math/w_jnf.c (jnf): Likewise.
8022 * math/w_jnl.c (__jnl): Likewise.
8024 * math/libm-test.inc (j0_test): Add more tests.
8025 (j1_test): Likewise.
8026 (jn_test): Likewise. Add trailing semicolon to existing test.
8027 (y0_test): Likewise.
8028 (y1_test): Likewise.
8029 * sysdeps/i386/fpu/libm-test-ulps: Update.
8030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8034 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8035 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8036 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8037 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8038 (__tanl): Set errno for infinite argument.
8039 * sysdeps/i386/fpu/mptan.c: Remove.
8040 * sysdeps/i386/fpu/s_tan.S: Likewise.
8041 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8042 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8043 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8044 * math/libm-test.inc (tan_test): Add more tests and enable more
8045 tests for double and long double.
8046 * sysdeps/i386/fpu/libm-test-ulps: Update.
8047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8049 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8051 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8052 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8054 2012-03-16 Roland McGrath <roland@hack.frob.com>
8056 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8057 * configure.in: Use it for both main tree and add-ons.
8058 * configure: Regenerated.
8060 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8062 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8064 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8066 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8070 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8071 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8072 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8073 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8074 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8076 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8077 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8079 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8080 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8081 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8082 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8083 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8084 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8085 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8086 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8087 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8088 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8089 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8090 * math/libm-test.inc (cos_test): Add more tests and enable more
8091 tests for long double.
8092 (sin_test): Likewise.
8093 (sincos_test): Likewise.
8094 * sysdeps/i386/fpu/libm-test-ulps: Update.
8095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8097 2012-03-16 David S. Miller <davem@davemloft.net>
8099 * sysdeps/sparc/fpu/math_private.h: New file.
8101 2012-03-15 David S. Miller <davem@davemloft.net>
8103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8113 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8117 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8118 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8120 * sysdeps/sparc/sparc-ifunc.h: New file.
8121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8160 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8166 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8168 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8172 2012-03-15 Andreas Jaeger <aj@suse.de>
8175 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8176 ieee754/flt-32 implementation for sin, cos and sincos.
8177 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8178 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8179 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8180 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8181 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8182 ieee754/flt-32 implementation for tan.
8184 * math/libm-test.inc (cos_test): Enable some large input tests for
8186 (sin_test): Likewise.
8187 (sincos_test): Likewise.
8188 (tan_test): Add tests for large input.
8190 * sysdeps/i386/fpu/libm-test-ulps: Update.
8192 2012-03-15 Andreas Jaeger <aj@suse.de>
8195 * math/libm-test.inc (cos_test): Add more test cases.
8196 (sin_test): Likewise.
8197 (sincos_test): Likewise.
8199 2012-03-15 Andreas Jaeger <aj@suse.de>
8202 * math/libm-test.inc (cos_test): Add a test case for large input
8204 (sin_test): Likewise.
8205 (sincos_test): Likewise.
8207 2012-03-15 Andreas Jaeger <aj@suse.de>,
8208 Joseph Myers <joseph@codesourcery.com>
8211 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8212 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8213 * sysdeps/i386/fpu/branred.c: Likewise.
8214 * sysdeps/i386/fpu/dosincos.c: Likewise.
8215 * sysdeps/i386/fpu/mpa.c: Likewise.
8216 * sysdeps/i386/fpu/s_cos.S: Likewise.
8217 * sysdeps/i386/fpu/s_sin.S: Likewise.
8218 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8219 * sysdeps/i386/fpu/sincos32.c: Likewise.
8221 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8223 (libc_feupdateenv_53bit): Define.
8224 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8226 (libc_feupdateenv_53bit): Define.
8228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8229 53 bit (without extend i386 double precision).
8231 * math/libm-test.inc (sincos_test): Add tests for large input.
8235 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8237 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8241 2012-03-15 David S. Miller <davem@davemloft.net>
8243 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8244 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8245 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8246 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8271 fmin/fmax sysdep routines.
8272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8274 2012-03-14 David S. Miller <davem@davemloft.net>
8276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8299 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8348 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8353 * sysdeps/sparc/configure.in: New file.
8354 * sysdeps/sparc/configure: Generate.
8355 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8356 * configure: Regenerate.
8357 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8358 * config.make.in (have-as-vis3): New.
8359 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8360 available use -Av9d instead of -Av9a.
8361 * sysdeps/sparc/sparc64/Makefile: Likewise.
8362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8373 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8375 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8377 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8378 fzeros/fnegs to load 0x80000000 into a float register instead of
8380 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8382 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8386 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8387 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8388 ($(inst_includedir)/bits/syscall.h): Remove rule.
8389 ($(objpfx)bits/syscall.d): Include instead of
8390 $(objpfx)syscall-list.d.
8391 (generated): Change syscall-list.h and syscall-list.d to
8392 bits/syscall.h and bits/syscall.d.
8394 2012-03-14 Roland McGrath <roland@hack.frob.com>
8397 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8399 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8402 * math/s_csqrt.c: Include <float.h>.
8403 (__csqrt): Scale large or subnormal inputs.
8404 * math/s_csqrtf.c: Likewise.
8405 * math/s_csqrtl.c: Likewise.
8406 * math/libm-test.inc (csqrt_test): Add more tests.
8407 * sysdeps/i386/fpu/libm-test-ulps: Update.
8408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8411 * math/libm-test.inc (hypot_test): Add more tests.
8413 2012-03-13 David S. Miller <davem@davemloft.net>
8416 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8417 double-precision for the calculation instead of scaling.
8419 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8421 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8422 manipulate bits before adding and subtracting TWO52[sx].
8423 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8424 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8426 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8428 2012-03-13 David S. Miller <davem@davemloft.net>
8430 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8431 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8433 rtld-global-offsets.h
8434 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8436 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8439 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8441 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8442 'err' in the ifdef scope in which it is actually used.
8444 * nss/nss_db/db-init.c: Include string.h
8446 2012-03-12 David S. Miller <davem@davemloft.net>
8448 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8449 masking out of the most significant byte of random value used.
8450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8451 Fix coding style in previous change.
8453 * sysdeps/unix/sysv/linux/kernel-features.h
8454 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8455 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8457 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8460 2012-03-11 David S. Miller <davem@davemloft.net>
8462 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8463 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8464 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8465 for 'resultvar' otherwise things get truncated on 64-bit.
8467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8468 Fix masking out of the most significant byte of random value used.
8470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8472 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8476 2012-03-09 David S. Miller <davem@davemloft.net>
8478 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8479 variables with appropriate CPP guards.
8480 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8481 frame pointer, not the stack pointer. Correct layout comments. Fix test
8482 on resulting framesize and the management of the outregs buffer for pltexit.
8483 Preserve floating point return values across _dl_call_pltexit call.
8484 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8485 framesize and the management of the outregs buffer for pltexit.
8486 Preserve floating point return values across _dl_call_pltexit
8488 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8489 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8490 (print_exit): Fix format string for return register value.
8492 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8494 * sunrpc/Makefile (others): Add rpcgen.
8495 ($(objpfx)rpcgen): Remove special build rule and dependency on
8497 * sunrpc/rpcgen.c: New file.
8499 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8502 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8503 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8504 * sysdeps/i386/crti.S: Likewise.
8505 * sysdeps/i386/crtn.S: Likewise.
8506 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8507 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8508 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8509 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8510 * sysdeps/sh/crti.S: Likewise.
8511 * sysdeps/sh/crtn.S: Likewise.
8512 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8515 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8517 * locale/programs/locfile-kw.gperf: Likewise.
8518 * locale/programs/charmap-kw.h: Regenerated.
8519 * locale/programs/locfile-kw.h: Likewise.
8522 * intl/plural.y: Replace FSF snail mail address with URL.
8523 * intl/plural.c: Regenerated.
8525 2012-03-09 Richard Henderson <rth@twiddle.net>
8527 * include/math_private.h: Remove file.
8528 * math/math_private.h: Move file ...
8529 * sysdeps/generic/math_private.h: ... here.
8531 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8532 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8533 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8535 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8536 and <math_private.h>.
8537 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8538 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8539 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8540 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8541 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8561 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8563 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8564 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8565 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8567 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8568 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8571 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8572 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8573 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8574 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8575 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8576 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8583 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8584 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8585 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8586 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8587 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8588 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8611 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8625 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8626 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8627 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8628 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8629 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8630 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8632 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8633 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8634 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8635 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8636 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8637 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8638 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8639 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8641 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8642 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8643 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8644 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8646 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8647 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8649 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8650 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8651 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8652 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8653 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8654 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8655 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8656 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8657 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8658 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8659 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8660 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8661 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8662 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8663 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8664 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8665 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8666 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8667 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8668 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8669 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8670 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8671 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8672 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8673 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8674 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8675 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8676 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8677 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8678 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8679 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8680 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8681 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8682 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8683 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8684 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8685 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8686 * sysdeps/ieee754/k_standard.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8790 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8791 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8802 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8804 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8806 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8807 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8809 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8814 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8819 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8820 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8821 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8822 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8834 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8835 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8836 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8837 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8840 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8843 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8847 * sysdeps/ieee754/s_lib_version.c: Likewise.
8848 * sysdeps/ieee754/s_matherr.c: Likewise.
8849 * sysdeps/ieee754/s_signgam.c: Likewise.
8850 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8851 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8852 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8853 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8854 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8855 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8856 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8857 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8858 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8859 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8860 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8861 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8862 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8863 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8864 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8865 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8866 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8867 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8868 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8872 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8874 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8875 * sunrpc/rpc_main.c: Likewise.
8876 * sunrpc/rpc_svcout.c: Likewise.
8878 2012-03-09 David S. Miller <davem@davemloft.net>
8880 * include/math_private.h: New file.
8882 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8884 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8885 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8886 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8887 from <bits/socket_type.h>.
8888 (enum __socket_type): Don't define here.
8889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8894 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8897 * Makerules ($(inst_includedir)/%.h): New rule.
8898 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8899 (install-others): Remove variable setting.
8900 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8902 2012-03-08 Richard Henderson <rth@twiddle.net>
8904 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8905 from macro to inline function; merge with the
8906 !__LIBC_INTERNAL_MATH_INLINES version.
8907 (__ieee754_sqrtf): Likewise.
8909 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8911 (__rintf, __floor, __floorf): Likewise.
8913 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8914 macro to inline function.
8915 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8917 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8918 not <math/math_private.h>.
8920 2012-03-08 David S. Miller <davem@davemloft.net>
8922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8924 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8926 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8928 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8930 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8931 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8933 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8935 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8936 be defined individually, they must be defined as a block. Define
8937 S for printing a string instead of hidint the different by using a
8938 macro for adding the 'l'.
8939 * stdio-common/tst-fphex-wide.c: Adjust.
8941 2012-03-07 Marek Polacek <polacek@redhat.com>
8943 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8945 2012-03-08 Marek Polacek <polacek@redhat.com>
8948 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8949 * stdio-common/tst-fphex.c: Define a few macros to make the
8950 test reusable. Use them.
8951 * stdio-common/tst-fphex-wide.c: New file.
8953 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8956 * manual/macros.texi (gnusystems): New macro.
8957 (nongnusystems): Likewise.
8958 (gnulinuxhurdsystems): Likewise.
8959 (gnuhurdsystems): Likewise..
8960 (gnulinuxsystems): Likewise.
8961 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8962 variants of the GNU system, not "GNU system".
8963 * manual/conf.texi: Likewise.
8964 * manual/errno.texi: Likewise. Update example of errno macro
8966 * manual/filesys.texi: Likewise.
8967 (getumask): Document as specific to GNU/Hurd.
8968 * manual/install.texi: Likewise. Reword some references to
8970 * manual/intro.texi: Likewise.
8971 * manual/io.texi: Likewise.
8972 (File Name Portability): Detail which constraints are inapplicable
8973 to all GNU systems and which are only inapplicable to GNU/Hurd.
8974 * manual/job.texi: Likewise.
8975 * manual/llio.texi: Likewise.
8976 (O_NOCTTY): Document as present on GNU/Linux.
8977 * manual/maint.texi: Likewise.
8978 * manual/memory.texi: Likewise.
8979 * manual/pattern.texi: Likewise.
8980 * manual/pipe.texi: Likewise.
8981 * manual/process.texi: Likewise.
8982 * manual/resource.texi: Likewise.
8983 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8985 * manual/setjmp.texi: Likewise.
8986 * manual/signal.texi: Likewise.
8987 * manual/startup.texi: Likewise.
8988 * manual/stdio.texi: Likewise.
8989 * manual/terminal.texi: Likewise.
8990 (ONLCR): Document as POSIX.
8991 (OXTABS): Document availability on GNU/Linux as XTABS.
8992 (ONOEOT): Document availability separately from other bits.
8993 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8994 * manual/time.texi: Likewise.
8995 * manual/users.texi: Likewise.
8996 * INSTALL: Regenerated.
8997 * sysdeps/gnu/errlist.c: Regenerated.
8999 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9000 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9001 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9003 * configure: Regenerated.
9005 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9007 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9008 default includes instead of AC_HEADER_CHECK.
9009 * sysdeps/i386/configure: Regenerated.
9012 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9013 * math/s_cacoshf.c (__cacoshf): Likewise.
9014 * math/s_cacoshl.c (__cacoshl): Likewise.
9015 * math/s_casinh.c (__casinh): Set signs of result from argument.
9016 * math/s_casinhf.c (__casinhf): Likewise.
9017 * math/s_casinhl.c (__casinhl): Likewise.
9018 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9019 (casinh_test): Add more tests.
9020 * sysdeps/i386/fpu/libm-test-ulps: Update.
9021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9023 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9025 * po/zh_TW.po: Update from translation team.
9027 * login/Makefile (distribute): Remove variable.
9028 * catgets/Makefile: Likewise.
9029 * mach/Makefile: Likewise.
9030 * malloc/Makefile: Likewise.
9031 * misc/Makefile: Likewise.
9032 * iconv/Makefile: Likewise.
9033 * nscd/Makefile: Likewise.
9034 * hurd/Makefile: Likewise.
9035 * manual/Makefile: Likewise.
9036 * locale/Makefile: Likewise.
9037 * intl/Makefile: Likewise.
9038 * conform/Makefile: Likewise.
9039 * nss/Makefile: Likewise.
9040 * time/Makefile: Likewise.
9041 * soft-fp/Makefile: Likewise.
9042 * dirent/Makefile: Likewise.
9043 * gmon/Makefile: Likewise.
9044 * po/Makefile: Likewise.
9045 * rt/Makefile: Likewise.
9046 * socket/Makefile: Likewise.
9047 * math/Makefile: Likewise.
9048 * signal/Makefile: Likewise.
9049 * debug/Makefile: Likewise.
9050 * elf/Makefile: Likewise.
9051 * timezone/Makefile: Likewise.
9052 * stdlib/Makefile: Likewise.
9053 * iconvdata/Makefile: Likewise.
9054 * sunrpc/Makefile: Likewise.
9055 * io/Makefile: Likewise.
9056 * argp/Makefile: Likewise.
9057 * inet/Makefile: Likewise.
9058 * hesiod/Makefile: Likewise.
9059 * grp/Makefile: Likewise.
9060 * csu/Makefile: Likewise.
9061 * wctype/Makefile: Likewise.
9062 * crypt/Makefile: Likewise.
9063 * libio/Makefile: Likewise.
9064 * string/Makefile: Likewise.
9065 * nis/Makefile: Likewise.
9066 * resolv/Makefile: Likewise.
9067 * stdio-common/Makefile: Likewise.
9068 * wcsmbs/Makefile: Likewise.
9069 * dlfcn/Makefile: Likewise.
9070 * posix/Makefile: Likewise.
9073 * timezone/Makefile: Don't install timezone files, just the programs
9076 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9078 * nss/databases.def: Add missing gshadow entry.
9080 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9082 2012-03-06 Marek Polacek <polacek@redhat.com>
9085 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9086 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9087 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9088 * stdio-common/tst-long-dbl-fphex.c: New file.
9090 2012-03-06 David S. Miller <davem@davemloft.net>
9092 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9093 (set_obp_int): New function.
9094 (get_obp_int): New function.
9095 (__get_clockfreq_via_dev_openprom): Likewise.
9096 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9097 Avoid unused variable warnings on 'val' and use builtin_expect.
9098 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9100 (INLINE_CLONE_SYSCALL): Likewise.
9102 2012-03-05 David S. Miller <davem@davemloft.net>
9104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9106 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9112 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9114 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9117 Replace gettimeofday with __vdso_gettimeofday.
9119 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9120 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9121 __vdso_clock_gettime and __vdso_getcpu.
9123 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9124 time with __vdso_time.
9126 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9128 * manual/lang.texi (size_t): Note types to which size_t may be
9129 equivalent with the GNU C Library, but do not describe when
9130 differences between them are significant.
9132 2012-03-05 Andreas Jaeger <aj@suse.de>
9134 * sysdeps/i386/fpu/libm-test-ulps: Update.
9136 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9139 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9140 (__ieee754_pow): Save and restore rounding mode and use
9141 round-to-nearest for main computations.
9142 * math/libm-test.inc (pow_test_tonearest): New function.
9143 (pow_test_towardzero): Likewise.
9144 (pow_test_downward): Likewise.
9145 (pow_test_upward): Likewise.
9146 (main): Call the new functions.
9147 * sysdeps/i386/fpu/libm-test-ulps: Update.
9148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9151 * math/libm-test.inc (cosh_test_tonearest): New function.
9152 (cosh_test_towardzero): Likewise.
9153 (cosh_test_downward): Likewise.
9154 (cosh_test_upward): Likewise.
9155 (sinh_test_tonearest): Likewise.
9156 (sinh_test_towardzero): Likewise.
9157 (sinh_test_downward): Likewise.
9158 (sinh_test_upward): Likewise.
9159 (main): Call the new functions.
9160 * sysdeps/i386/fpu/libm-test-ulps: Update.
9161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9163 2012-03-05 Tom de Vries <tom@codesourcery.com>
9165 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9166 default stack guard is set in last bytes.
9167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9169 2012-03-05 Kees Cook <keescook@chromium.org>
9171 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9174 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9175 possibly allocate from heap instead of stack.
9176 * stdio-common/bug-vfprintf-nargs.c: New file.
9177 * stdio-common/Makefile (tests): Add nargs overflow test.
9179 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9183 2012-03-03 Marek Polacek <polacek@redhat.com>
9185 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9186 * math/math_private.h: Likewise.
9187 * stdlib/tst-strtod.c: Likewise.
9188 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9189 * sysdeps/x86_64/bits/atomic.h: Likewise.
9191 2012-03-02 David S. Miller <davem@davemloft.net>
9193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9197 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9198 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9199 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9200 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9202 2012-03-02 Roland McGrath <roland@hack.frob.com>
9205 * manual/examples/README: New file, says the example source files
9206 can be used under GPL>=2.
9207 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9208 line containing just "*/".
9209 * manual/examples/add.c: Add copyright header (GPL>=2).
9210 * manual/examples/argp-ex1.c: Likewise.
9211 * manual/examples/argp-ex2.c: Likewise.
9212 * manual/examples/argp-ex3.c: Likewise.
9213 * manual/examples/argp-ex4.c: Likewise.
9214 * manual/examples/atexit.c: Likewise.
9215 * manual/examples/db.c: Likewise.
9216 * manual/examples/dir.c: Likewise.
9217 * manual/examples/dir2.c: Likewise.
9218 * manual/examples/execinfo.c: Likewise.
9219 * manual/examples/filecli.c: Likewise.
9220 * manual/examples/filesrv.c: Likewise.
9221 * manual/examples/fmtmsgexpl.c: Likewise.
9222 * manual/examples/genpass.c: Likewise.
9223 * manual/examples/inetcli.c: Likewise.
9224 * manual/examples/inetsrv.c: Likewise.
9225 * manual/examples/isockad.c: Likewise.
9226 * manual/examples/longopt.c: Likewise.
9227 * manual/examples/memopen.c: Likewise.
9228 * manual/examples/memstrm.c: Likewise.
9229 * manual/examples/mkfsock.c: Likewise.
9230 * manual/examples/mkisock.c: Likewise.
9231 * manual/examples/mygetpass.c: Likewise.
9232 * manual/examples/pipe.c: Likewise.
9233 * manual/examples/popen.c: Likewise.
9234 * manual/examples/rprintf.c: Likewise.
9235 * manual/examples/search.c: Likewise.
9236 * manual/examples/select.c: Likewise.
9237 * manual/examples/setjmp.c: Likewise.
9238 * manual/examples/sigh1.c: Likewise.
9239 * manual/examples/sigusr.c: Likewise.
9240 * manual/examples/stpcpy.c: Likewise.
9241 * manual/examples/strdupa.c: Likewise.
9242 * manual/examples/strftim.c: Likewise.
9243 * manual/examples/strncat.c: Likewise.
9244 * manual/examples/subopt.c: Likewise.
9245 * manual/examples/swapcontext.c: Likewise.
9246 * manual/examples/termios.c: Likewise.
9247 * manual/examples/testopt.c: Likewise.
9248 * manual/examples/testpass.c: Likewise.
9249 * manual/examples/timeval_subtract.c: Likewise.
9252 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9254 * manual/timeval_subtract.c.texi: ... here, new file.
9256 2012-03-02 David S. Miller <davem@davemloft.net>
9258 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9260 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9263 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9264 (__sin): Save and restore rounding mode and use round-to-nearest
9265 for all computations.
9266 (__cos): Save and restore rounding mode and use round-to-nearest
9267 for all computations.
9268 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9270 (tan): Save and restore rounding mode and use round-to-nearest for
9272 * math/libm-test.inc (cos_test_tonearest): New function.
9273 (cos_test_towardzero): Likewise.
9274 (cos_test_downward): Likewise.
9275 (cos_test_upward): Likewise.
9276 (sin_test_tonearest): Likewise.
9277 (sin_test_towardzero): Likewise.
9278 (sin_test_downward): Likewise.
9279 (sin_test_upward): Likewise.
9280 (tan_test_tonearest): Likewise.
9281 (tan_test_towardzero): Likewise.
9282 (tan_test_downward): Likewise.
9283 (tan_test_upward): Likewise.
9284 (main): Call the new functions.
9285 * sysdeps/i386/fpu/libm-test-ulps: Update.
9286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9289 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9290 small n, then large n, before computing and testing k+n.
9291 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9294 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9296 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9297 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9300 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9301 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9302 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9303 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9304 * math/libm-test.inc (scalbn_test): Add more tests.
9305 (scalbln_test): Likewise.
9307 * manual/filesys.texi (mode_t): Describe constraints on size and
9308 signedness, not exact equivalence to a particular type.
9310 (ino64_t): Likewise.
9312 (nlink_t): Likewise.
9313 (blkcnt_t): Likewise.
9314 (blkcnt64_t): Likewise.
9315 * manual/llio.texi (off_t): Likewise.
9318 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9319 (__ieee754_exp): Save and restore rounding mode and use
9320 round-to-nearest for all computations.
9321 * math/libm-test.inc (exp_test_tonearest): New function.
9322 (exp_test_towardzero): Likewise.
9323 (exp_test_downward): Likewise.
9324 (exp_test_upward): Likewise.
9325 (main): Call the new functions.
9326 * sysdeps/i386/fpu/libm-test-ulps: Update.
9327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9329 2012-03-01 Chris Demetriou <cgd@google.com>
9331 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9332 have predictable order.
9334 2012-03-01 David S. Miller <davem@davemloft.net>
9336 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9338 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9339 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9340 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9341 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9343 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9344 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9345 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9347 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9348 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9349 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9350 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9351 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9355 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9356 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9357 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9359 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9360 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9361 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9362 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9363 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9365 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9366 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9367 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9368 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9369 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9370 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9372 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9373 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9374 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9375 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9376 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9377 * sysdeps/sparc/elf/configure: Regenerated.
9379 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9381 * configure.in (AS, LD): Require binutils 2.20 or later.
9382 * configure: Regenerated.
9383 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9384 as required minimum version.
9385 * INSTALL: Regenerated.
9389 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9390 before squaring exponent.
9391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9392 bottom long double and 27 bits of top long double before squaring
9394 * math/libm-test.inc (erfc_test): Add more tests.
9395 * sysdeps/i386/fpu/libm-test-ulps: Update.
9396 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9399 2012-03-01 Kai Tietz <ktietz@redhat.com>
9401 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9402 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9403 containing bit-fields.
9404 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9405 * soft-fp/single.h (_FP_UNION_S): Likewise.
9406 * soft-fp/double.h (_FP_UNION_D): Likewise.
9408 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9411 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9412 not include ../strcmp.S.
9413 [USE_AS_STRNCASECMP_L]: Likewise.
9414 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9415 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9416 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9417 (__strncasecmp_l_ia32): Define as alias to
9418 __strncasecmp_l_nonascii.
9421 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9422 * sysdeps/i386/fpu/libm-test-ulps: Update.
9423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9425 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9428 2012-02-29 Jeff Law <law@redhat.com>
9430 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9433 2012-02-29 Marek Polacek <polacek@redhat.com>
9436 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9437 * elf/Makefile: Add rules to run tst-unused-dep.out.
9439 2012-02-28 David S. Miller <davem@davemloft.net>
9441 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9442 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9443 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9445 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9446 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9448 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9450 * math/libm-test.inc (llround_test): Move one test from
9451 lround_test. Use TEST_f_L in moved test.
9452 (lround_test): Move misplaced test to llround_test. Add testcase
9455 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9457 * sysdeps/x86_64/fpu/e_expf.S: New file.
9458 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9460 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9463 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9464 of remain_len that may cause incomplete multi-byte character and
9466 * posix/bug-regex33.c: New file.
9467 * posix/Makefile (tests): Add bug-regex33.
9469 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9471 * manual/macros.texi: New file.
9472 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9473 * manual/libc.texinfo: Include macros.texi.
9474 * manual/creatute.texi: Likewise.
9475 * manual/install.texi: Likewise.
9476 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9477 @glibcadj{} in references to the GNU C Library.
9478 * manual/charset.texi: Likewise.
9479 * manual/conf.texi: Likewise.
9480 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9481 when not using those macros.
9482 * manual/creature.texi: Likewise.
9483 * manual/crypt.texi: Likewise.
9484 * manual/errno.texi: Likewise.
9485 * manual/filesys.texi: Likewise.
9486 * manual/header.texi: Likewise.
9487 * manual/install.texi: Likewise.
9488 * manual/intro.texi: Likewise.
9489 * manual/io.texi: Likewise.
9490 * manual/job.texi: Likewise.
9491 * manual/lang.texi: Likewise.
9492 * manual/libc.texiinfo: Likewise.
9493 * manual/llio.texi: Likewise.
9494 * manual/locale.texi: Likewise.
9495 * manual/maint.texi: Likewise.
9496 * manual/math.texi: Likewise.
9497 * manual/memory.texi: Likewise.
9498 * manual/message.texi: Likewise.
9499 * manual/nss.texi: Likewise.
9500 * manual/pattern.texi: Likewise.
9501 * manual/process.texi: Likewise.
9502 * manual/resource.texi: Likewise.
9503 * manual/search.texi: Likewise.
9504 * manual/setjmp.texi: Likewise.
9505 * manual/signal.texi: Likewise.
9506 * manual/socket.texi: Likewise.
9507 * manual/startup.texi: Likewise.
9508 * manual/stdio.texi: Likewise.
9509 * manual/string.texi: Likewise.
9510 * manual/sysinfo.texi: Likewise.
9511 * manual/syslog.texi: Likewise.
9512 * manual/terminal.texi: Likewise.
9513 * manual/time.texi: Likewise.
9514 * manual/users.texi: Likewise.
9515 * INSTALL: Regenerated.
9516 * NOTES: Regenerated.
9517 * sysdeps/gnu/errlist.c: Regenerated.
9519 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9521 * include/dirent.h: Include <dirstream.h> before
9524 2012-02-28 David S. Miller <davem@davemloft.net>
9526 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9527 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9528 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9529 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9531 2012-02-27 David S. Miller <davem@davemloft.net>
9533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9535 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9536 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9539 frame pointer instead of stack pointer relative arg slot.
9540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9541 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9542 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9544 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9547 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9549 2012-02-27 David S. Miller <davem@davemloft.net>
9551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9555 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9556 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9557 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9558 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9560 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9562 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9563 later. Allow versions 5-9.
9564 * configure: Regenerated.
9565 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9566 required minimum version and 4.6 as recommended version. Do not
9567 mention bugs in GCC 2.7 and 2.8.
9568 * INSTALL: Regenerated.
9570 2012-02-27 David S. Miller <davem@davemloft.net>
9572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9576 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9577 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9578 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9579 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9581 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9582 manipulate bits before adding and subtracting TWO112[sx].
9583 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9585 2012-02-27 Roland McGrath <roland@hack.frob.com>
9588 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9589 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9590 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9591 being in POSIX, because they are in 1003.1-2008.
9593 * rt/tst-aio.c: Include <fcntl.h>.
9594 * rt/tst-aio7.c: Likewise.
9595 * rt/tst-aio64.c: Likewise.
9597 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9599 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9601 * manual/install.texi (--with-headers): Describe headers as
9602 interface headers, not private headers.
9603 (Specific advice for GNU/Linux systems): Describe use of headers
9604 from "make headers_install", not private headers from older
9606 * INSTALL: Regenerated.
9607 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9609 * sysdeps/unix/sysv/linux/configure: Regenerated.
9611 * manual/llio.texi (fclean): Remove documentation.
9613 * manual/Makefile (libc-texi-generated): New variable. Include
9615 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9616 $(libc-texi-generated), not duplicated list of files.
9617 (version.texi, stamp-version): New rules.
9618 (realclean): Remove $(libc-texi-generated), not individual files
9619 from that list. Do not remove dir-add.texinfo.
9620 * manual/libc.texinfo: Comment out uses of edition numbers and
9621 references to printed manual. Remove last-updated dates.
9622 (EDITION): Comment out.
9624 (VERSION, UPDATED): Remove.
9625 (version.texi): Include.
9627 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9629 * sysdeps/posix/spawni.c: Include <signal.h>.
9630 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9631 * sysdeps/pthread/aio_fsync.c: Likewise.
9633 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9635 * conform/Makefile (tests): Run only when not cross-compiling and
9636 when fast-check is not defined.
9638 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9639 * conform/data/limits.h-data: Fixes for POSIX2008.
9640 * conform/run-conformtest.sh: Run all tests.
9641 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9643 * include/bits/dlfcn.h: Likewise.
9644 * include/langinfo.h: Likewise.
9645 * include/monetary.h: Likewise.
9646 * include/sys/poll.h: Likewise.
9648 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9650 * posix/spawn.h: Define __need_sigset_t.
9651 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9652 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9653 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9654 to get sigevent_t only.
9655 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9657 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9658 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9659 process_vm_writev only for __USE_GNU.
9660 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9662 * conform/Makefile: For now ignore errors from run-conformtest.
9663 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9664 POSIX to avoid namespace pollution. Don't prepend headers.
9665 * conform/data/aio.h-data: Fixes for POSIX testing.
9666 * conform/data/fcntl.h-data: Likewise.
9667 * conform/data/glob.h-data: Likewise.
9668 * conform/data/grp.h-data: Likewise.
9669 * conform/data/pthread.h-data: Likewise.
9670 * conform/data/pwd.h-data: Likewise.
9671 * conform/data/signal.h-data: Likewise.
9672 * conform/data/spawn.h-data: Likewise.
9673 * conform/data/stdio.h-data: Likewise.
9674 * conform/data/stdlib.h-data: Likewise.
9675 * conform/data/stropts.h-data: Likewise.
9676 * conform/data/sys/mman.h-data: Likewise.
9677 * conform/data/sys/stat.h-data: Likewise.
9678 * conform/data/sys/types.h-data: Likewise.
9679 * conform/data/sys/wait.h-data: Likewise.
9680 * conform/data/time.h-data: Likewise.
9681 * conform/data/unistd.h-data: Likewise.
9682 * conform/data/utime.h-data: Likewise.
9684 * io/sys/stat.h: fchmod was always in POSIX.
9685 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9686 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9687 * rt/aio.h: Define __need_timespec before including <time.h>.
9688 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9689 struct. Add forward declaration of pthread_attr_t and use it in
9691 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9692 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9693 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9694 always remove CLK_TCK definition.
9696 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9698 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9700 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9702 * conform/run-conformtest.sh: New file.
9703 * conform/Makefile: Run run-conformtest for tests.
9704 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9707 * conform/data/uchar.h-data: New file.
9708 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9709 * conform/data/arpa/inet.h-data: Likewise.
9710 * conform/data/assert.h-data: Likewise.
9711 * conform/data/complex.h-data: Likewise.
9712 * conform/data/cpio.h-data: Likewise.
9713 * conform/data/ctype.h-data: Likewise.
9714 * conform/data/dirent.h-data: Likewise.
9715 * conform/data/dlfcn.h-data: Likewise.
9716 * conform/data/errno.h-data: Likewise.
9717 * conform/data/fcntl.h-data: Likewise.
9718 * conform/data/float.h-data: Likewise.
9719 * conform/data/fmtmsg.h-data: Likewise.
9720 * conform/data/fnmatch.h-data: Likewise.
9721 * conform/data/ftw.h-data: Likewise.
9722 * conform/data/glob.h-data: Likewise.
9723 * conform/data/grp.h-data: Likewise.
9724 * conform/data/iconv.h-data: Likewise.
9725 * conform/data/inttypes.h-data: Likewise.
9726 * conform/data/langinfo.h-data: Likewise.
9727 * conform/data/libgen.h-data: Likewise.
9728 * conform/data/limits.h-data: Likewise.
9729 * conform/data/locale.h-data: Likewise.
9730 * conform/data/math.h-data: Likewise.
9731 * conform/data/monetary.h-data: Likewise.
9732 * conform/data/mqueue.h-data: Likewise.
9733 * conform/data/ndbm.h-data: Likewise.
9734 * conform/data/net/if.h-data: Likewise.
9735 * conform/data/netdb.h-data: Likewise.
9736 * conform/data/netinet/in.h-data: Likewise.
9737 * conform/data/nl_types.h-data: Likewise.
9738 * conform/data/poll.h-data: Likewise.
9739 * conform/data/pthread.h-data: Likewise.
9740 * conform/data/pwd.h-data: Likewise.
9741 * conform/data/regex.h-data: Likewise.
9742 * conform/data/sched.h-data: Likewise.
9743 * conform/data/search.h-data: Likewise.
9744 * conform/data/semaphore.h-data: Likewise.
9745 * conform/data/setjmp.h-data: Likewise.
9746 * conform/data/signal.h-data: Likewise.
9747 * conform/data/spawn.h-data: Likewise.
9748 * conform/data/stdarg.h-data: Likewise.
9749 * conform/data/stdio.h-data: Likewise.
9750 * conform/data/stdlib.h-data: Likewise.
9751 * conform/data/string.h-data: Likewise.
9752 * conform/data/strings.h-data: Likewise.
9753 * conform/data/stropts.h-data: Likewise.
9754 * conform/data/sys/ipc.h-data: Likewise.
9755 * conform/data/sys/mman.h-data: Likewise.
9756 * conform/data/sys/msg.h-data: Likewise.
9757 * conform/data/sys/resource.h-data: Likewise.
9758 * conform/data/sys/select.h-data: Likewise.
9759 * conform/data/sys/sem.h-data: Likewise.
9760 * conform/data/sys/shm.h-data: Likewise.
9761 * conform/data/sys/socket.h-data: Likewise.
9762 * conform/data/sys/stat.h-data: Likewise.
9763 * conform/data/sys/statvfs.h-data: Likewise.
9764 * conform/data/sys/time.h-data: Likewise.
9765 * conform/data/sys/timeb.h-data: Likewise.
9766 * conform/data/sys/times.h-data: Likewise.
9767 * conform/data/sys/types.h-data: Likewise.
9768 * conform/data/sys/uio.h-data: Likewise.
9769 * conform/data/sys/un.h-data: Likewise.
9770 * conform/data/sys/utsname.h-data: Likewise.
9771 * conform/data/sys/wait.h-data: Likewise.
9772 * conform/data/syslog.h-data: Likewise.
9773 * conform/data/tar.h-data: Likewise.
9774 * conform/data/termios.h-data: Likewise.
9775 * conform/data/utime.h-data: Likewise.
9776 * conform/data/utmpx.h-data: Likewise.
9777 * conform/data/varargs.h-data: Likewise.
9778 * conform/data/wchar.h-data: Likewise.
9779 * conform/data/wctype.h-data: Likewise.
9780 * conform/data/wordexp.h-data: Likewise.
9782 * include/stropts.h: New file.
9783 * include/uchar.h: New file.
9784 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9785 * include/assert.h: Likewise.
9786 * include/ctype.h: Likewise.
9787 * include/dirent.h: Likewise.
9788 * include/dlfcn.h: Likewise.
9789 * include/fcntl.h: Likewise.
9790 * include/fnmatch.h: Likewise.
9791 * include/glob.h: Likewise.
9792 * include/grp.h: Likewise.
9793 * include/libio.h: Likewise.
9794 * include/locale.h: Likewise.
9795 * include/math.h: Likewise.
9796 * include/net/if.h: Likewise.
9797 * include/netdb.h: Likewise.
9798 * include/netinet/in.h: Likewise.
9799 * include/pthread.h: Likewise.
9800 * include/pwd.h: Likewise.
9801 * include/regex.h: Likewise.
9802 * include/sched.h: Likewise.
9803 * include/search.h: Likewise.
9804 * include/setjmp.h: Likewise.
9805 * include/signal.h: Likewise.
9806 * include/stdio.h: Likewise.
9807 * include/stdlib.h: Likewise.
9808 * include/string.h: Likewise.
9809 * include/sys/cdefs.h: Likewise.
9810 * include/sys/mman.h: Likewise.
9811 * include/sys/msg.h: Likewise.
9812 * include/sys/resource.h: Likewise.
9813 * include/sys/select.h: Likewise.
9814 * include/sys/socket.h: Likewise.
9815 * include/sys/stat.h: Likewise.
9816 * include/sys/statvfs.h: Likewise.
9817 * include/sys/time.h: Likewise.
9818 * include/sys/times.h: Likewise.
9819 * include/sys/uio.h: Likewise.
9820 * include/sys/utsname.h: Likewise.
9821 * include/sys/wait.h: Likewise.
9822 * include/termios.h: Likewise.
9823 * include/time.h: Likewise.
9824 * include/ulimit.h: Likewise.
9825 * include/unistd.h: Likewise.
9826 * include/utime.h: Likewise.
9827 * include/wchar.h: Likewise.
9828 * include/wctype.h: Likewise.
9829 * include/wordexp.h: Likewise.
9831 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9833 * time/time.h: TIME_UTC must be a macro.
9834 Make timespec_get available for ISO C11 only as well.
9836 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9838 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9839 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9841 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9843 * configure.in: Use -o not -a in test for unsupported multi-arch.
9845 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9847 * manual/texinfo.tex: Update to version 2012-01-19.16.
9849 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9851 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9853 2012-02-24 Roland McGrath <roland@hack.frob.com>
9856 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9857 * manual/fdl-1.3.texi: New file.
9858 * manual/fdl-1.1.texi: File removed.
9861 * manual/libc.texinfo (FDL_VERSION): New @set.
9862 Use it for mention of FDL in cover text.
9863 (Documentation License): Use it in @include file name.
9865 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9866 Roland McGrath <roland@hack.frob.com>
9869 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9870 not LONG_LONG_MAX and LONG_LONG_MIN.
9871 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9872 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9874 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9876 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9880 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9881 manipulate bits before adding and subtracting TWO23[sx].
9882 * math/libm-test.inc (nearbyint_test): Add more tests.
9884 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9887 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9888 bits before adding and subtracting TWO23[sx].
9889 * math/libm-test.inc (rint_test): Add more tests.
9890 (rint_test_tonearest): Likewise.
9891 (rint_test_towardzero): Likewise.
9892 (rint_test_downward): Likewise.
9893 (rint_test_upward: Likewise.
9895 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9898 * include/stdc-predef.h: New file. Extracted from features.h.
9899 * include/features.h: Include stdc-predef.h.
9900 * Makefile (headers): Add stdc-predef.h.
9901 * CONFORMANCE (Compiler limitations): Update.
9903 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9905 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9907 2012-02-21 David S. Miller <davem@davemloft.net>
9909 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9910 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9912 2012-02-20 David S. Miller <davem@davemloft.net>
9914 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9915 using a normal save/restore sequence, rather than allocating a
9916 dummy stack frame just to store a frame pointer and restore.
9917 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9919 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9921 * manual/install.texi: Fix stray word in line-wrapped comment.
9923 2012-02-20 David S. Miller <davem@davemloft.net>
9925 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9926 both binutils and gcc support GOTDATA.
9928 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9929 "rd %pc" in the PIC register setup sequences.
9931 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9932 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9933 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9934 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9935 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9937 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9938 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9940 (SYSCALL_ERROR_HANDLER): Likewise.
9941 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9942 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9944 (SYSCALL_ERROR_HANDLER): Likewise.
9946 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9947 (HAVE_GCC_GOTDATA): New.
9948 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9949 relocation support in both binutils and gcc.
9950 * sysdeps/sparc/elf/configure: Regenerate.
9952 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9953 * sysdeps/sparc/sparc32/elf/configure: Delete.
9954 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9955 * sysdeps/sparc/sparc64/elf/configure: Delete.
9956 * sysdeps/sparc/elf/configure.in: New file.
9957 * sysdeps/sparc/elf/configure: Generate.
9959 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9960 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9961 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9962 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9963 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9965 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9967 * manual/install.texi: Do not mention specific glibc version
9969 * manual/libc.texinfo (VERSION, UPDATED): Update.
9970 (@copying): Use @copyright{} and range of years.
9972 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9975 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9976 [crti.S not in sysdirs] (generated): Do not append.
9977 [crti.S not in sysdirs] (omit-deps): Likewise.
9978 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9979 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9980 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9981 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9982 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9984 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9985 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9986 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9987 * csu/defs.awk: Remove file.
9988 * sysdeps/generic/initfini.c: Likewise.
9989 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9991 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9994 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9996 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9997 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9998 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9999 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10000 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10001 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10003 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10004 (__EPOLL_PACKED): Define to empty if not defined by
10006 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10010 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10012 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10013 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10014 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10015 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10017 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10021 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10023 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10025 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10026 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10027 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10030 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10032 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10033 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10035 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10037 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10038 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10040 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10042 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10045 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10047 * math/w_acos.c: Use non-signaling floating-point comparisons.
10048 * math/w_acosf.c: Likewise.
10049 * math/w_acosh.c: Likewise.
10050 * math/w_acoshf.c: Likewise.
10051 * math/w_acoshl.c: Likewise.
10052 * math/w_acosl.c: Likewise.
10053 * math/w_asin.c: Likewise.
10054 * math/w_asinf.c: Likewise.
10055 * math/w_asinl.c: Likewise.
10056 * math/w_atanh.c: Likewise.
10057 * math/w_atanhf.c: Likewise.
10058 * math/w_atanhl.c: Likewise.
10059 * math/w_exp2.c: Likewise.
10060 * math/w_exp2f.c: Likewise.
10061 * math/w_exp2l.c: Likewise.
10062 * math/w_j0.c: Likewise.
10063 * math/w_j0f.c: Likewise.
10064 * math/w_j0l.c: Likewise.
10065 * math/w_j1.c: Likewise.
10066 * math/w_j1f.c: Likewise.
10067 * math/w_j1l.c: Likewise.
10068 * math/w_jn.c: Likewise.
10069 * math/w_jnf.c: Likewise.
10070 * math/w_log.c: Likewise.
10071 * math/w_log10.c: Likewise.
10072 * math/w_log10f.c: Likewise.
10073 * math/w_log10l.c: Likewise.
10074 * math/w_log2.c: Likewise.
10075 * math/w_log2f.c: Likewise.
10076 * math/w_log2l.c: Likewise.
10077 * math/w_logf.c: Likewise.
10078 * math/w_logl.c: Likewise.
10079 * math/w_sqrt.c: Likewise.
10080 * math/w_sqrtf.c: Likewise.
10081 * math/w_sqrtl.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10084 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10085 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10086 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10088 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10091 * manual/string.texi (strnlen): Use correct parameter name in
10092 equivalent expression.
10094 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10097 * manual/users.texi (seteuid): Consistently use neweuid for
10100 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10103 * manual/nss.texi (Services in the NSS configuration): Correct
10104 list of services in example configuration file.
10106 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10109 * manual/arith.texi: Remove statements about negative zero
10110 behaving identically to zero.
10112 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10115 * manual/install.texi: Do not document upgrading from libc5.
10117 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10120 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10122 2012-02-18 David S. Miller <davem@davemloft.net>
10124 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10125 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10126 %o7 across the call.
10127 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10130 SETUP_PIC_REG_LEAF.
10131 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10132 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10133 * sysdeps/sparc/crtn.S: Likewise.
10135 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10137 * aout/Makefile: Remove.
10139 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10142 * manual/examples/argp-ex1.c (main): Format definition in GNU
10144 * manual/examples/argp-ex2.c (main): Likewise.
10145 * manual/examples/argp-ex3.c (main): Likewise.
10146 * manual/examples/argp-ex4.c (main): Likewise.
10147 * manual/examples/longopt.c (main): Use new-style prototype
10149 * manual/examples/strncat.c (main): Specify return type and use
10150 (void) for arguments.
10151 * manual/examples/subopt.c (main): Use char **argv argument.
10153 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10156 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10159 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10162 * manual/string.texi (strchr): Change when strchrnul is
10165 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10168 * manual/locale.texi (setlocale): Document LOCPATH.
10170 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10173 * manual/process.texi (execle): Move @dots{} before last argument.
10175 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10178 * manual/charset.texi (Generic Charset Conversion): Fix typo
10179 (LC_TYPE -> LC_CTYPE).
10181 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10184 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10185 (scalbnf): Likewise.
10186 (scalbnl): Likewise.
10187 (scalbln): Likewise.
10188 (scalblnf): Likewise.
10189 (scalblnl): Likewise.
10190 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10191 (vwarnx): Likewise.
10194 * manual/filesys.texi (telldir): Use braces around return type.
10195 * manual/llio.texi (mmap): Add space after comma.
10196 (mmap64): Likewise.
10197 * manual/math.texi (jn): Use @var{} on parameter names.
10203 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10205 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10207 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10208 (sched_get_priority_max): Likewise.
10209 * manual/signal.texi (sigvec): Add space after comma.
10210 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10212 (if_indextoname): Likewise.
10213 (if_freenameindex): Likewise.
10214 (sendto): Use ',' instead of '.' in prototype.
10215 * manual/startup.texi (syscall): Use @dots{} instead of literal
10217 * manual/stdio.texi (__fpending): Separate initial words of
10218 paragraph from @deftypefun line.
10219 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10221 (vsyslog): Use @var{} on parameter names.
10222 * manual/terminal.texi (stty): Use @var{} on parameter names.
10223 * manual/users.texi (getutmp): Use @var{} on parameter names.
10224 (getutmpx): Likewise.
10226 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10229 * manual/stdio.texi (fopen): Fix typos in description of
10232 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10235 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10236 get clock_id definition.
10238 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10241 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10242 (madvise): Cast every argument to void on its own.
10244 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10247 * manual/startup.texi (Exit Status): Fix typo.
10249 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10252 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10253 * manual/examples/argp-ex2.c: Likewise.
10254 * manual/examples/argp-ex3.c: Likewise.
10256 2012-02-16 Richard Henderson <rth@redhat.com>
10258 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10259 * sysdeps/s390/s390-32/initfini.c: Remove.
10260 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10261 * sysdeps/s390/s390-64/initfini.c: Remove.
10263 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10265 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10266 compiler output for sysdeps/generic/initfini.c.
10267 * sysdeps/sh/elf/initfini.c: Remove file.
10269 2012-02-16 David S. Miller <davem@davemloft.net>
10272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10274 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10275 * sysdeps/sparc/crti.S: New file.
10276 * sysdeps/sparc/crtn.S: New file.
10277 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10278 * sysdeps/sparc/sparc64/Makefile: Likewise.
10280 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10283 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10285 2012-02-15 Roland McGrath <roland@hack.frob.com>
10288 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10290 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10291 (write, read, close): Likewise.
10292 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10294 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10296 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10297 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10298 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10299 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10301 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10305 2012-02-14 Marek Polacek <polacek@redhat.com>
10307 * sysdeps/x86_64/crti.S: New file.
10308 * sysdeps/x86_64/crtn.S: New file.
10309 * sysdeps/x86_64/elf/initfini.c: Remove file.
10311 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10313 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10314 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10315 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10316 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10318 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10322 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10324 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10325 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10326 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10327 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10329 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10333 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10335 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10336 __feraiseexcept instead of feraiseexcept.
10338 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10339 nanosleep invocations.
10340 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10341 strings, and add error checking for a nanosleep invocations.
10343 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10345 Replace FSF snail mail address with URLs, as per GNU coding standards.
10346 Most of the snail mail addresses were wrong anyway, and omitting
10347 them makes the source code easier to maintain. Almost all of the
10348 changes are to license notices and to locale LC_IDENTIFICATION
10349 addresses, except for this one:
10350 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10351 not its snail mail address.
10353 2012-02-09 Richard Henderson <rth@twiddle.net>
10355 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10356 of kernel-features.h.
10358 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10360 2012-02-08 Marek Polacek <polacek@redhat.com>
10362 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10363 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10364 * sysdeps/gnu/_G_config.h: Likewise.
10365 * sysdeps/generic/_G_config.h: Likewise.
10367 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10369 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10373 * sysdeps/powerpc/powerpc32/crti.S: New file.
10374 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10375 * sysdeps/powerpc/powerpc64/crti.S: New file.
10376 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10378 * Makeconfig (have-initfini): Don't set.
10379 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10380 * configure.in (nopic_initfini): Don't substitute.
10381 * config.h.in (HAVE_INITFINI): Don't #undef.
10382 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10383 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10385 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10387 Support crti.S and crtn.S provided directly by architectures.
10388 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10389 [crti.S in sysdirs] (omit-deps): Likewise.
10390 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10391 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10392 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10393 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10394 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10395 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10396 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10397 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10398 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10399 compiler output for sysdeps/generic/initfini.c.
10400 * sysdeps/i386/elf/Makefile: Remove file.
10401 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10403 2012-02-07 Marek Polacek <polacek@redhat.com>
10405 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10406 * sysdeps/gnu/_G_config.h: Likewise.
10407 * sysdeps/mach/hurd/_G_config.h: Likewise.
10409 2012-02-07 Marek Polacek <polacek@redhat.com>
10411 * math/Makefile (tests): Add tst-CMPLX2.
10412 * math/tst-CMPLX2.c: New file.
10414 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10416 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10418 * math/libm-test.inc (jn_test): Add missing L suffix.
10420 2012-02-06 Marek Polacek <polacek@redhat.com>
10422 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10423 * sysdeps/i386/fpu/e_powf.S: Likewise.
10424 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10425 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10426 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10427 * sysdeps/i386/fpu/e_pow.S: Likewise.
10428 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10429 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10430 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10431 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10432 * sysdeps/i386/fpu/e_log2.S: Likewise.
10433 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10434 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10435 * sysdeps/i386/fpu/e_powl.S: Likewise.
10436 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10437 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10438 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10439 * sysdeps/i386/fpu/e_logl.S: Likewise.
10440 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10441 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10442 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10443 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10444 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10445 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10446 * sysdeps/i386/fpu/e_log.S: Likewise.
10447 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10448 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10449 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10450 * sysdeps/i386/fpu/e_logf.S: Likewise.
10451 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10452 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10453 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10454 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10455 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10456 * sysdeps/i386/fpu/e_log10.S: Likewise.
10457 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10458 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10459 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10460 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10461 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10462 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10463 * sysdeps/i386/asm-syntax.h: Likewise.
10464 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10465 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10466 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10467 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10468 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10469 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10470 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10471 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10472 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10473 * sysdeps/powerpc/sysdep.h: Likewise.
10474 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10475 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10477 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10480 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10482 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10484 * sysdeps/i386/sysdep.h: Include <features.h>.
10485 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10488 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10490 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10492 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10495 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10497 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10498 (SETUP_PIC_REG): Use GET_PC_THUNK.
10499 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10502 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10504 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10505 for non-PIC compilation.
10506 (SETUP_PIC_REG): Add .p2align directive.
10507 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10508 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10509 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10510 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10511 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10512 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10513 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10515 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10516 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10517 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10518 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10519 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10520 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10521 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10522 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10523 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10524 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10525 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10526 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10527 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10528 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10529 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10530 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10533 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10535 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10536 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10537 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10538 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10539 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10540 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10541 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10542 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10543 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10544 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10545 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10546 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10547 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10549 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10551 * math/tst-CMPLX.c: Include <stdio.h>.
10553 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10555 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10557 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10558 * sysdeps/sparc/bits/mathdef.h: Likewise.
10560 2012-01-31 Marek Polacek <polacek@redhat.com>
10562 * libio/libio.h: Don't define _PARAMS.
10563 * locale/programs/config.h: Don't define PARAMS.
10564 * stdlib/strtol_l.c: Likewise.
10565 (__strtol_l): Remove PARAMS from the prototype.
10567 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10569 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10570 names. Just use the correct names. Remove unnecessary wrapper
10572 * malloc/arena.c: Likewise.
10573 * malloc/hooks.c: Likewise.
10575 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10576 ARENA_TEST says not to. Simplify test for creation of a new arena.
10577 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10579 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10581 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10583 (update_get_addr): New function.
10584 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10585 GET_ADDR_MODULE parameter.
10587 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10589 * crypt/cert.c: Remove __STDC__ conditionals.
10590 * crypt/crypt-entry.c: Likewise.
10591 * crypt/crypt_util.c: Likewise.
10592 * libio/filedoalloc.c: Likewise.
10593 * libio/fileops.c: Likewise.
10594 * libio/genops.c: Likewise.
10595 * libio/iofclose.c: Likewise.
10596 * libio/iofdopen.c: Likewise.
10597 * libio/iofopen.c: Likewise.
10598 * libio/iofopen64.c: Likewise.
10599 * libio/iogetdelim.c: Likewise.
10600 * libio/iopopen.c: Likewise.
10601 * libio/obprintf.c: Likewise.
10602 * libio/oldfileops.c: Likewise.
10603 * libio/oldiofclose.c: Likewise.
10604 * libio/oldiofdopen.c: Likewise.
10605 * libio/oldiofopen.c: Likewise.
10606 * libio/oldiopopen.c: Likewise.
10607 * libio/wfiledoalloc.c: Likewise.
10608 * libio/wgenops.c: Likewise.
10609 * locale/programs/xmalloc.c: Likewise.
10610 * misc/syslog.c: Likewise.
10611 * stdio-common/xbug.c: Likewise.
10612 * string/memchr.c: Likewise.
10613 * string/memcmp.c: Likewise.
10614 * string/memrchr.c: Likewise.
10615 * string/rawmemchr.c: Likewise.
10616 * sysdeps/posix/getcwd.c: Likewise.
10617 * time/strftime_l.c: Likewise.
10619 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10621 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10622 * config.make.in (config-cflags-sse2avx): Define.
10623 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10626 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10628 * scripts/config.guess: Update from upstream config git repository.
10629 * scripts/config.sub: Likewise.
10631 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10633 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10635 (R_TILEPRO_*, R_TILEGX_*): New macros.
10637 * scripts/firstversions.awk: Fix bug in version range handling.
10639 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10641 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10643 * include/sys/epoll.h: New file.
10644 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10647 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10649 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10650 Avoid unnecessary __WORDSIZE == 64 test.
10651 (fmaxf): Use VEX format if possible.
10656 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10657 * math/math_private.h: Remove libc_fegetround* and
10659 * sysdeps/i386/configure.in: Check for -msse2avx.
10660 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10661 also if SSE2AVX is defined.
10662 Remove libc_fegetround* and libc_fesetround*.
10663 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10664 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10665 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10667 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10668 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10669 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10670 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10671 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10673 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10675 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10677 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10679 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10681 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10684 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10686 * Makeconfig (libm): Define.
10687 * elf/Makefile: Add rules to build and run tst-relsort1.
10688 * elf/tst-relsort1.c: New file.
10689 * elf/tst-relsort1mod1.c: New file.
10690 * elf/tst-relsort1mod2.c: New file.
10692 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10694 * math/s_ldexp.c: Remove __STDC__ conditionals.
10695 * math/s_ldexpf.c: Likewise.
10696 * math/s_ldexpl.c: Likewise.
10697 * math/s_nextafter.c: Likewise.
10698 * math/s_nexttowardf.c: Likewise.
10699 * math/s_significand.c: Likewise.
10700 * math/s_significandf.c: Likewise.
10701 * math/s_significandl.c: Likewise.
10702 * math/w_jnl.c: Likewise.
10703 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10704 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10705 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10706 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10707 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10718 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10720 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10722 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10723 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10724 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10725 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10729 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10730 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10731 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10732 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10733 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10734 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10735 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10736 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10737 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10738 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10739 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10740 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10741 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10742 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10743 * sysdeps/ieee754/k_standard.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10776 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10779 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10792 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10793 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10795 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10805 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10808 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10810 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10811 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10812 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10813 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10814 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10815 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10816 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10818 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10819 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10820 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10821 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10823 * sysdeps/ieee754/s_matherr.c: Likewise.
10824 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10825 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10829 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10831 * crypt/md5.h: Remove __STDC__ conditionals.
10832 * libio/libioP.h: Likewise.
10833 * locale/programs/config.h: Likewise.
10834 * sysdeps/generic/sysdep.h: Likewise.
10835 * sysdeps/i386/asm-syntax.h: Likewise.
10836 * sysdeps/s390/asm-syntax.h: Likewise.
10837 * sysdeps/unix/sysdep.h: Likewise.
10838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10841 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10843 * libio/libio.h: Remove __STDC__ conditionals.
10844 * malloc/obstack.h: Likewise.
10845 * math/complex.h: Likewise.
10846 * math/math.h: Likewise.
10847 * sysdeps/generic/_G_config.h: Likewise.
10848 * sysdeps/gnu/_G_config.h: Likewise.
10849 * sysdeps/mach/hurd/_G_config.h: Likewise.
10850 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10851 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10852 * sysdeps/sparc/bits/mathdef.h: Likewise.
10854 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10857 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10858 Clean up HAS_* macros.
10859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10860 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10870 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10872 * elf/tst-unique3.cc (gets): Remove declaration.
10873 * elf/tst-unique3lib.cc (gets): Likewise.
10874 * elf/tst-unique3lib2.cc (gets): Likewise.
10875 * elf/tst-unique4.cc (gets): Likewise.
10877 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10879 * include/stdio.h: Add C++ protection. Add gets declarations and
10881 * debug/tst-chk1.c: Don't declare gets here.
10882 * stdio-common/tst-gets.c: Likewise.
10884 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10886 * posix/glob: Remove directory.
10888 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10890 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10892 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10894 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10895 of the non-standard EPFNOSUPPORT.
10897 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10899 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10900 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10901 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10903 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10905 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10907 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10909 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10911 * nscd/grpcache.c (cache_addgr): Likewise.
10912 * nscd/hstcache.c (cache_addhst): Likewise.
10913 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10914 * nscd/pwdcache.c (cache_addpw): Likewise.
10915 * nscd/servicescache.c (cache_addserv): Likewise.
10917 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10919 * malloc/malloc.c: Various cleanups.
10920 * malloc/hooks.c: Likewise.
10922 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10923 * stdlib/bug-fmtmsg1.c: New file.
10925 * stdlib/fmtmsg.c (init): Add missing unlock.
10926 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10928 2012-01-12 Marek Polacek <polacek@redhat.com>
10930 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10933 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10935 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10936 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10937 macro to ensure uniqueness of label name.
10938 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10939 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10941 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10943 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10945 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10946 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10947 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10950 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10952 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10954 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10955 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10956 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10958 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10960 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10961 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10962 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10965 * math/bits/math-finite.h: Add ldexp support.
10967 2012-01-10 Marek Polacek <polacek@redhat.com>
10969 * locale/programs/localedef.h (show_archive_content): Add noreturn
10972 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10974 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10976 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10978 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10980 * io/Makefile (headers): Add bits/poll2.h.
10982 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10985 typo #include statement.
10987 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10989 * include/sys/cdefs.h: Define __attribute_alloc_size.
10990 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10991 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10992 * elf/pldd.c: Likewise.
10993 * iconv/iconv_charmap.c: Likewise.
10994 * iconv/iconvconfig.c: Likewise.
10995 * iconv/strtab.c: Likewise.
10996 * locale/programs/locale.c: Likewise.
10997 * locale/programs/localedef.h: Likewise.
10998 * locale/programs/simple-hash.c: Likewise.
10999 * nscd/nscd.h: Likewise.
11000 * nss/makedb.c: Likewise.
11001 * sysdeps/generic/ldconfig.h: Likewise.
11002 * locale/programs/localedef.c: Remove xmalloc prototype.
11003 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11005 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11007 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11010 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11012 * math/Makefile (tests): Add tst-CMPLX.
11013 * math/tst-CMPLX.c: New file.
11015 * math/complex.h (CMPLXL): Fix typo.
11017 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11018 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11020 * debug/tst-chk1.c: Add poll and ppoll tests.
11021 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11022 * include/sys/poll.h: Add hidden proto for ppoll.
11023 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11024 * sysdeps/mach/hurd/ppoll.c: Likewise.
11025 * io/ppoll.c: Likewise.
11026 * debug/poll_chk.c: New file.
11027 * debug/ppoll_chk.c: New file.
11028 * include/bits/poll2.h: New file.
11029 * io/bits/poll2.h: New file.
11032 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11034 * configure.in: static is always set to yes. Remove.
11035 * config.make.in: Don't set build-static.
11036 * Makeconfig: Remove use of build-static.
11037 * dlfcn/Makefile: Likewise.
11038 * elf/Makefile: Likewise.
11039 * math/Makefile: Likewise.
11040 * misc/Makefile: Likewise.
11041 * nptl/Makefile: Likewise.
11042 * sysdeps/mach/hurd/Makefile: Likewise.
11044 * configure.in: PWD_P is not used anymore.
11045 * config.make.in: Remove PWD_P entry.
11047 * configure.in: Remove last remnants of RANLIB.
11048 No need to check for signed size_t anymore.
11049 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11051 Remove __builtin_expect test because we require at least gcc 3.4.
11052 * aclocal.m4: Likewise.
11054 * wcsmbs/mbrtoc16.c: Implement using towc function.
11055 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11056 * wcsmbs/wcsmbsload.c: Likewise.
11057 * iconv/gconv_simple.c: Likewise.
11058 * iconv/gconv_int.h: Likewise.
11059 * iconv/gconv_builtin.h: Likewise.
11060 * iconv/iconv_prog.c: Remove CHAR16 handling.
11062 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11064 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11066 * configure.in: Remove --with-elf and --enable-bounded options.
11067 Dont set base_machine for ia64. More non-ELF conditions removed.
11068 Remove testing and setting of leading underscore information.
11069 * config.make.in (build-bounded): Set to no.
11070 * config.h.in: Remove NO_UNDERSCORES entry.
11071 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11073 * csu/start.c: Remove !NO_UNDERSCORE code.
11074 * locale/localeinfo.h: Likewise.
11075 * sysdeps/generic/machine-gmon.h: Likewise.
11076 * sysdeps/generic/sysdep.h: Likewise.
11077 * sysdeps/i386/sysdep.h: Likewise.
11078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11079 * sysdeps/mach/sysdep.h: Likewise.
11080 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11081 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11082 * sysdeps/sh/sysdep.h: Likewise.
11083 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11084 * sysdeps/unix/i386/sysdep.S: Likewise.
11085 * sysdeps/unix/sparc/start.c: Likewise.
11086 * sysdeps/unix/sparc/sysdep.S: Likewise.
11087 * sysdeps/unix/sparc/sysdep.h: Likewise.
11088 * sysdeps/unix/start.c: Likewise.
11089 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11090 * sysdeps/x86_64/sysdep.h: Likewise.
11092 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11095 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11097 * argp/argp-fmtstream.h: Use const instead __const.
11098 * argp/argp.h: Likewise.
11099 * assert/assert.h: Likewise.
11100 * bits/fenv.h: Likewise.
11101 * bits/sched.h: Likewise.
11102 * bits/sigset.h: Likewise.
11103 * bits/sigthread.h: Likewise.
11104 * catgets/nl_types.h: Likewise.
11105 * conform/data/pthread.h-data: Likewise.
11106 * crypt/crypt-private.h: Likewise.
11107 * crypt/crypt.h: Likewise.
11108 * crypt/crypt_util.c: Likewise.
11109 * ctype/ctype.h: Likewise.
11110 * debug/execinfo.h: Likewise.
11111 * debug/mbsnrtowcs_chk.c: Likewise.
11112 * debug/mbsrtowcs_chk.c: Likewise.
11113 * debug/wcsnrtombs_chk.c: Likewise.
11114 * debug/wcsrtombs_chk.c: Likewise.
11115 * debug/wcstombs_chk.c: Likewise.
11116 * dirent/dirent.h: Likewise.
11117 * dlfcn/dlfcn.h: Likewise.
11118 * elf/neededtest4.c: Likewise.
11119 * grp/grp.h: Likewise.
11120 * gshadow/gshadow.h: Likewise.
11121 * iconv/gconv.h: Likewise.
11122 * iconv/gconv_int.h: Likewise.
11123 * iconv/gconv_simple.c: Likewise.
11124 * iconv/iconv.h: Likewise.
11125 * iconv/loop.c: Likewise.
11126 * iconv/skeleton.c: Likewise.
11127 * include/aio.h: Likewise.
11128 * include/aliases.h: Likewise.
11129 * include/argz.h: Likewise.
11130 * include/arpa/inet.h: Likewise.
11131 * include/assert.h: Likewise.
11132 * include/dirent.h: Likewise.
11133 * include/dlfcn.h: Likewise.
11134 * include/execinfo.h: Likewise.
11135 * include/fcntl.h: Likewise.
11136 * include/fenv.h: Likewise.
11137 * include/glob.h: Likewise.
11138 * include/grp.h: Likewise.
11139 * include/libintl.h: Likewise.
11140 * include/mntent.h: Likewise.
11141 * include/netdb.h: Likewise.
11142 * include/pwd.h: Likewise.
11143 * include/rpc/netdb.h: Likewise.
11144 * include/sched.h: Likewise.
11145 * include/search.h: Likewise.
11146 * include/shadow.h: Likewise.
11147 * include/signal.h: Likewise.
11148 * include/stdio.h: Likewise.
11149 * include/stdlib.h: Likewise.
11150 * include/string.h: Likewise.
11151 * include/sys/socket.h: Likewise.
11152 * include/sys/stat.h: Likewise.
11153 * include/sys/statfs.h: Likewise.
11154 * include/sys/statvfs.h: Likewise.
11155 * include/sys/syslog.h: Likewise.
11156 * include/sys/time.h: Likewise.
11157 * include/sys/uio.h: Likewise.
11158 * include/time.h: Likewise.
11159 * include/unistd.h: Likewise.
11160 * include/utmp.h: Likewise.
11161 * include/wchar.h: Likewise.
11162 * include/wctype.h: Likewise.
11163 * inet/aliases.h: Likewise.
11164 * inet/arpa/inet.h: Likewise.
11165 * inet/netinet/ether.h: Likewise.
11166 * inet/netinet/in.h: Likewise.
11167 * intl/libintl.h: Likewise.
11168 * io/bits/fcntl2.h: Likewise.
11169 * io/fcntl.h: Likewise.
11170 * io/ftw.h: Likewise.
11171 * io/sys/poll.h: Likewise.
11172 * io/sys/stat.h: Likewise.
11173 * io/sys/statfs.h: Likewise.
11174 * io/sys/statvfs.h: Likewise.
11175 * io/utime.h: Likewise.
11176 * libio/bits/stdio.h: Likewise.
11177 * libio/bits/stdio2.h: Likewise.
11178 * libio/libio.h: Likewise.
11179 * libio/libioP.h: Likewise.
11180 * libio/stdio.h: Likewise.
11181 * locale/lc-ctype.c: Likewise.
11182 * locale/locale.h: Likewise.
11183 * login/utmp.h: Likewise.
11184 * malloc/arena.c: Likewise.
11185 * malloc/malloc.c: Likewise.
11186 * malloc/malloc.h: Likewise.
11187 * malloc/mcheck.c: Likewise.
11188 * malloc/mtrace.c: Likewise.
11189 * math/bits/mathcalls.h: Likewise.
11190 * math/fenv.h: Likewise.
11191 * math/math_private.h: Likewise.
11192 * misc/bits/error.h: Likewise.
11193 * misc/bits/syslog.h: Likewise.
11194 * misc/err.h: Likewise.
11195 * misc/error.h: Likewise.
11196 * misc/fstab.h: Likewise.
11197 * misc/mntent.h: Likewise.
11198 * misc/regexp.h: Likewise.
11199 * misc/search.h: Likewise.
11200 * misc/sgtty.h: Likewise.
11201 * misc/sys/mman.h: Likewise.
11202 * misc/sys/syslog.h: Likewise.
11203 * misc/sys/uio.h: Likewise.
11204 * misc/sys/xattr.h: Likewise.
11205 * misc/ttyent.h: Likewise.
11206 * nis/rpcsvc/ypclnt.h: Likewise.
11207 * nss/nss.h: Likewise.
11208 * posix/bits/unistd.h: Likewise.
11209 * posix/fnmatch.h: Likewise.
11210 * posix/glob.h: Likewise.
11211 * posix/sched.h: Likewise.
11212 * posix/spawn.h: Likewise.
11213 * posix/sys/wait.h: Likewise.
11214 * posix/unistd.h: Likewise.
11215 * posix/wordexp.h: Likewise.
11216 * pwd/pwd.h: Likewise.
11217 * resolv/netdb.h: Likewise.
11218 * resource/sys/resource.h: Likewise.
11219 * rt/aio.h: Likewise.
11220 * rt/bits/mqueue2.h: Likewise.
11221 * rt/mqueue.h: Likewise.
11222 * shadow/shadow.h: Likewise.
11223 * signal/signal.h: Likewise.
11224 * socket/send.c: Likewise.
11225 * socket/sendto.c: Likewise.
11226 * socket/sys/socket.h: Likewise.
11227 * stdio-common/printf.h: Likewise.
11228 * stdlib/bits/stdlib.h: Likewise.
11229 * stdlib/fmtmsg.h: Likewise.
11230 * stdlib/monetary.h: Likewise.
11231 * stdlib/stdlib.h: Likewise.
11232 * stdlib/ucontext.h: Likewise.
11233 * streams/stropts.h: Likewise.
11234 * string/argz.h: Likewise.
11235 * string/bits/string2.h: Likewise.
11236 * string/string.h: Likewise.
11237 * string/strings.h: Likewise.
11238 * sunrpc/rpc/auth.h: Likewise.
11239 * sunrpc/rpc/auth_des.h: Likewise.
11240 * sunrpc/rpc/clnt.h: Likewise.
11241 * sunrpc/rpc/netdb.h: Likewise.
11242 * sunrpc/rpc/pmap_clnt.h: Likewise.
11243 * sunrpc/rpc/xdr.h: Likewise.
11244 * sysdeps/generic/inttypes.h: Likewise.
11245 * sysdeps/generic/net/if.h: Likewise.
11246 * sysdeps/generic/sys/swap.h: Likewise.
11247 * sysdeps/gnu/net/if.h: Likewise.
11248 * sysdeps/gnu/utmpx.h: Likewise.
11249 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11250 * sysdeps/i386/i486/bits/string.h: Likewise.
11251 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11252 * sysdeps/s390/bits/string.h: Likewise.
11253 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11254 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11255 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11256 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11257 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11258 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11259 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11260 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11261 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11262 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11263 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11264 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11265 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11266 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11267 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11268 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11269 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11271 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11272 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11273 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11274 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11275 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11276 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11277 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11278 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11279 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11280 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11281 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11282 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11283 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11284 * sysvipc/sys/ipc.h: Likewise.
11285 * sysvipc/sys/msg.h: Likewise.
11286 * sysvipc/sys/sem.h: Likewise.
11287 * sysvipc/sys/shm.h: Likewise.
11288 * termios/termios.h: Likewise.
11289 * time/sys/time.h: Likewise.
11290 * time/time.h: Likewise.
11291 * wcsmbs/bits/wchar2.h: Likewise.
11292 * wcsmbs/uchar.h: Likewise.
11293 * wcsmbs/wchar.h: Likewise.
11294 * wctype/wctype.h: Likewise.
11297 * Makeconfig: Remove all but ELF support including AIX support.
11298 * Makerules: Likewise.
11299 * config.h.in: Likewise.
11300 * config.make.in: Likewise.
11301 * configure: Likewise.
11302 * configure.in: Likewise.
11303 * csu/Makefile: Likewise.
11304 * csu/version.c: Likewise.
11305 * debug/Makefile: Likewise.
11306 * dlfcn/Makefile: Likewise.
11307 * elf/Makefile: Likewise.
11308 * extra-lib.mk: Likewise.
11309 * iconv/Makefile: Likewise.
11310 * include/libc-symbols.h: Likewise.
11311 * include/shlib-compat.h: Likewise.
11312 * resolv/Makefile: Likewise.
11313 * resolv/res_libc.c: Likewise.
11314 * rt/Makefile: Likewise.
11315 * sysdeps/i386/asm-syntax.h: Likewise.
11316 * sysdeps/i386/sysdep.h: Likewise.
11317 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11318 * sysdeps/mach/sysdep.h: Likewise.
11319 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11320 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11321 * sysdeps/s390/asm-syntax.h: Likewise.
11322 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11323 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11324 * sysdeps/sh/sysdep.h: Likewise.
11325 * sysdeps/unix/sparc/sysdep.h: Likewise.
11326 * sysdeps/wordsize-32/divdi3.c: Likewise.
11327 * sysdeps/x86_64/sysdep.h: Likewise.
11329 * argp/Versions: Remove _argp_unlock_xxx.
11332 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11333 * abilist/libBrokenLocale.abilist: Likewise.
11334 * abilist/libanl.abilist: Likewise.
11335 * abilist/libc.abilist: Likewise.
11336 * abilist/libcrypt.abilist: Likewise.
11337 * abilist/libdl.abilist: Likewise.
11338 * abilist/libm.abilist: Likewise.
11339 * abilist/libnsl.abilist: Likewise.
11340 * abilist/libpthread.abilist: Likewise.
11341 * abilist/libresolv.abilist: Likewise.
11342 * abilist/librt.abilist: Likewise.
11343 * abilist/libthread_db.abilist: Likewise.
11344 * abilist/libutil.abilist: Likewise.
11345 * abilist/libnss_db.abilist: New file.
11347 * scripts/abilist.awk: Add support for indirect functions.
11349 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11351 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11353 * shlib-versions: Remove entries for ports architectures.
11355 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11357 * elf/stackguard-macros.h: Remove support for IA-64.
11358 * elf/tst-auditmod1.c: Likewise.
11359 * sysdeps/generic/ldsodefs.h: Likewise.
11361 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11362 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11366 * configure.in: Remove --enable-omitfp support.
11368 * config.make.in: Likewise.
11369 * Makeconfig: Likewise.
11370 * manual/install.texi: Likewise.
11372 In case anyone cares, the IA-64 architecture could move to ports.
11373 * sysdeps/ia64/*: Removed.
11374 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11375 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11378 * configure.in: Remove entries for unsupported architectures.
11381 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11382 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11384 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11385 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11386 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11387 fall back to using wcrtomb.
11388 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11389 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11391 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11392 * wcsmbs/tst-c16c32-1.c: New file.
11394 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11397 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11399 * elf/tst-unique3.cc: Add explicit declaration of gets.
11400 * elf/tst-unique3lib.cc: Likewise.
11401 * elf/tst-unique3lib2.cc: Likewise.
11402 * elf/tst-unique4.cc: Likewise.
11404 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11406 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11409 * assert/assert.h (static_assert): Don't define for C++.
11410 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11411 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11413 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11415 * iconv/loop.c (single loop): Fix assertion in storing of
11418 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11420 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11422 * posix/getconf.c: Update copyright year.
11423 * nss/getent.c: Likewise.
11424 * nss/makedb.c: Likewise.
11425 * iconv/iconvconfig.c: Likewise.
11426 * iconv/iconv_prog.c: Likewise.
11427 * elf/ldconfig.c: Likewise.
11428 * elf/pldd.c: Likewise.
11429 * elf/sotruss.ksh: Likewise.
11430 * catgets/gencat.c: Likewise.
11431 * csu/version.c: Likewise.
11432 * elf/ldd.bash.in: Likewise.
11433 * elf/sprof.c (print_version): Likewise.
11434 * locale/programs/locale.c: Likewise.
11435 * locale/programs/localedef.c: Likewise.
11436 * login/programs/pt_chown.c: Likewise.
11437 * nscd/nscd.c (print_version): Likewise.
11438 * debug/xtrace.sh: Likewise.
11439 * malloc/memusage.sh: Likewise.
11440 * malloc/mtrace.pl: Likewise.
11441 * debug/catchsegv.sh: Likewise.
11443 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11445 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11448 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11451 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11452 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11454 * iconv/gconv_int.h: Likewise.
11455 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11456 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11457 from libc for GLIBC_2.16.
11458 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11459 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11460 * wcsmbs/uchar.h: Really define mbstate_t.
11461 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11462 * wcsmbs/c16rtomb.c: New file.
11463 * wcsmbs/mbrtoc16.c: New file.
11464 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11465 for C/POSIX locale.
11466 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11467 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11469 * wcsmbs/wchar.h: Add missing __restrict.
11471 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11474 * time/Makefile (routines): Add timespec_get.
11475 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11476 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11477 timespec for ISO C11.
11478 * time/timespec_get.c: New file.
11479 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11480 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11483 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11484 * stdlib/stdlib.h: Declare aligned_alloc.
11485 * Versions.def: Add GLIBC_2.16 for libc.
11486 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11489 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11492 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11496 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11499 * assert/assert.h (static_assert): Define.
11501 * version.h: Update for 2.16 development version.
11504 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11507 * version.h (RELEASE): Bump for 2.15 release.
11508 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11510 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11511 Patch by Marek Polacek <mpolacek@redhat.com>.
11513 * bits/byteswap.h: Protect long long constants with __extension__.
11514 * sysdeps/i386/bits/byteswap.h: Likewise.
11515 * sysdeps/ia64/bits/byteswap.h: Likewise.
11516 * sysdeps/s390/bits/byteswap.h: Likewise.
11517 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11519 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11522 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11523 destination buffer.
11524 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11526 2011-12-23 Marek Polacek <polacek@redhat.com>
11528 * elf/dl-addr.c (determine_info): Add inline keyword.
11529 * elf/tst-auditmod4b.c (check_avx): Likewise.
11530 * elf/tst-auditmod6b.c (check_avx): Likewise.
11531 * elf/tst-auditmod6c.c (check_avx): Likewise.
11532 * elf/tst-auditmod7b.c (check_avx): Likewise.
11534 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11536 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11539 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11542 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11543 processing for last bytes.
11545 2011-08-06 Bruno Haible <bruno@clisp.org>
11548 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11549 U+0385, not to U+1FEE.
11552 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11553 entry for U+00A5 U+0301.
11555 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11558 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11559 buffer for the output is too small.
11561 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11565 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11566 SSE flags if possible.
11568 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11572 processing for last bytes.
11574 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11576 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11577 (syscall-list-default-options, syscall-list-default-condition)
11578 (syscall-list-includes): Define.
11579 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11580 list of ABIs and options and #if conditions for each ABI. Do not
11581 handle common syscalls between ABIs specially.
11582 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11584 (syscall-list-variants, syscall-list-32bit-options)
11585 (syscall-list-32bit-condition, syscall-list-64bit-options)
11586 (syscall-list-64bit-condition): Define.
11587 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11588 (syscall-list-variants, syscall-list-32bit-options)
11589 (syscall-list-32bit-condition, syscall-list-64bit-options)
11590 (syscall-list-64bit-condition): Define.
11591 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11593 (syscall-list-variants, syscall-list-32bit-options)
11594 (syscall-list-32bit-condition, syscall-list-64bit-options)
11595 (syscall-list-64bit-condition): Define.
11596 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11598 (syscall-list-variants, syscall-list-32bit-options)
11599 (syscall-list-32bit-condition, syscall-list-64bit-options)
11600 (syscall-list-64bit-condition): Define.
11602 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11604 * locale/iso-639.def: Add brx entry.
11607 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11608 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11610 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11611 __feraiseexcept_renamed.
11613 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11616 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11617 EPOLLET with unsigned values.
11618 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11619 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11621 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11622 to large cancellation.
11623 * math/s_cacoshf.c: Likewise.
11624 * math/s_cacoshl.c: Likewise.
11626 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11630 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11631 * math/s_cacoshf.c: Likewise.
11632 * math/s_cacoshl.c: Likewise.
11634 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11637 * iconv/gconv.h: Define __GCONV_SWAP.
11638 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11639 * iconvdata/utf-16.c: Likewise.
11640 * iconvdata/utf-32.c: Likewise.
11642 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11645 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11646 numerator after shifting it by one limb.
11648 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11650 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11651 under [__USE_EXTERN_INLINES].
11653 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11656 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11658 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11660 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11661 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11663 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11664 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11665 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11666 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11667 for strncasecmp/strncasecmp_l compilation.
11668 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11669 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11671 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11674 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11677 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11680 * time/tzfile.c (__tzfile_read): Check values from file header.
11682 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11684 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11685 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11686 * powerpc/powerpc32/dl-start.S: Likewise.
11687 * powerpc/powerpc32/elf/start.S: Likewise.
11688 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11689 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11690 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11691 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11692 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11693 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11694 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11695 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11696 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11697 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11698 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11699 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11700 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11701 * powerpc/powerpc32/memset.S: Likewise.
11702 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11703 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11704 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11705 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11706 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11707 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11708 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11709 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11710 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11711 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11712 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11713 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11714 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11716 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11718 * math/libm-test.inc: Added more nearbyint tests.
11719 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11721 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11724 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11726 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11729 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11731 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11732 Add wcscpy-ssse3 wcscpy-c.
11733 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11734 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11735 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11736 * sysdeps/x86_64/wcschr.S: New file.
11737 * sysdeps/x86_64/wcsrchr.S: New file.
11738 * string/test-strcmp.c: Remove checking of wcscmp function for
11740 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11741 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11742 wcsrchr-sse2 wcsrchr-c.
11743 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11744 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11745 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11746 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11747 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11748 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11749 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11750 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11751 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11752 * wcsmbc/wcschr.c (WCSCHR): New macro.
11754 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11756 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11757 * wcsmbs/test-wcsrchr.c: New file.
11758 * string/test-strrchr.c: Add wcsrchr support.
11760 * wcsmbs/test-wcscpy.c: New file.
11761 * string/test-strcpy.c: Add wcscpy support.
11764 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11766 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11769 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11772 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11774 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11776 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11777 Minor optimizations.
11779 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11780 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11781 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11783 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11785 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11786 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11787 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11788 for gcc to avoid warnings.
11789 * inet/Makefile (tests): Add tst-checks.
11790 * inet/tst-checks.c: New file.
11792 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11795 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11798 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11799 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11801 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11803 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11805 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11808 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11810 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11812 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11813 conditional on GCC version.
11814 (__arch_compare_and_exchange_val_8_acq)
11815 (__arch_compare_and_exchange_val_16_acq)
11816 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11817 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11818 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11820 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11822 * sysdeps/sh/backtrace.c: New file.
11824 2011-12-02 Andreas Schwab <schwab@redhat.com>
11826 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11829 2011-12-01 Andreas Schwab <schwab@redhat.com>
11831 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11832 falling back to utime.
11834 2011-11-30 Andreas Schwab <schwab@redhat.com>
11836 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11837 expectations for float.
11839 2011-11-29 Andreas Schwab <schwab@redhat.com>
11841 * locale/weight.h (findidx): Add parameter len.
11842 * locale/weightwc.h (findidx): Likewise.
11843 * posix/fnmatch_loop.c (FCT): Adjust caller.
11844 * posix/regcomp.c (build_equiv_class): Likewise.
11845 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11846 * posix/regexec.c (check_node_accept_bytes): Likewise.
11847 * string/strcoll_l.c (STRCOLL): Likewise.
11848 * string/strxfrm_l.c (STRXFRM): Likewise.
11850 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11852 * Makefile.in: Remove CVSOPT handling.
11853 * configure.in: Remove use of AC_REVISION.
11854 * iconvdata/Makefile (distribute): No need to filter out CVS.
11855 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11858 2011-11-16 Andreas Schwab <schwab@redhat.com>
11860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11861 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11862 [USE_AS_STRNCASECMP_L]: Likewise.
11863 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11864 NO_TLS_DIRECT_SEG_REFS.
11865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11866 Fix argument offsets for non-PIC.
11867 [USE_AS_STRNCASECMP_L]: Likewise.
11868 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11869 NO_TLS_DIRECT_SEG_REFS.
11871 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11873 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11875 * locale/loadlocale.c (_nl_load_locale): Likewise.
11877 2011-11-15 Andreas Schwab <schwab@redhat.com>
11879 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11880 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11881 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11882 (SYSCALL_GETTIME): Set errno on error.
11884 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11885 count references to noai6ai_cached.
11887 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11889 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11891 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11892 FD_CLOEXEC for /proc/self/maps.
11894 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11895 FD_CLOEXEC for /proc/meminfo.
11897 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11900 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11901 FD_CLOEXEC for given file.
11903 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11905 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11906 FD_CLOEXEC for /etc/hosts.
11907 (_gethtent): Likewise.
11909 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11911 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11912 cancellation and set FD_CLOEXEC for /etc/netgroup.
11914 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11915 reading /etc/publickey.
11917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11918 allow cancellation when reading /etc/group.
11920 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11922 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11924 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11925 when using data file.
11927 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11929 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11930 (write_nis_obj): Use "c" and "e" in fopen.
11932 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11934 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11936 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11938 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11940 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11943 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11945 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11947 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11949 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11950 file parsing and set FD_CLOEXEC.
11952 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11954 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11956 2011-11-14 Andreas Schwab <schwab@redhat.com>
11958 * malloc/arena.c (arena_get2): Don't call reused_arena when
11959 _int_new_arena failed.
11961 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11963 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11964 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11969 to compile strcasecmp and strncasecmp.
11970 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11971 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11975 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11977 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11978 locale-defines.sym to gen-as-const-headers.
11979 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11980 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11982 to compile strcasecmp and strncasecmp.
11983 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11984 strcasecmp_l and strncasecmp_l.
11985 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11986 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11987 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11988 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11989 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11990 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11991 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11992 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11993 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11994 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11995 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11997 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11999 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12000 result of SYSDEP_GETTIME_CPU to retval.
12001 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12002 parameter list to macro. Remove trailing semicolon. Adjust users.
12004 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12007 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12009 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12011 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12012 from unused variable.
12014 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12016 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12019 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12022 * sunrpc/rpc_prot.c (rejected): Fix case value.
12024 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12025 unsigned long long int to avoid warnings in shift.
12027 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12029 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12032 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12033 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12034 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12036 * nis/nis_table.c (nis_list): Use variable of correct type for
12037 result of __follow_path call.
12039 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12041 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12042 of math functions ceil, trunc, floor, round, and sqrt, when
12043 avaliable on the platform.
12044 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12046 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12047 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12048 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12050 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12052 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12053 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12055 2011-11-11 Roland McGrath <roland@hack.frob.com>
12057 * include/unistd.h: Fix __readlink return type.
12058 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12060 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12062 * stdlib/ucontext.h: Undo last change for makecontext.
12064 2011-11-11 Andreas Schwab <schwab@redhat.com>
12066 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12068 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12069 * setjmp/setjmp.h: Mark functions as non-leaf.
12070 * setjmp/bits/setjmp2.h: Likewise.
12071 * stdlib/ucontext.h: Likewise.
12073 2011-11-10 Andreas Schwab <schwab@redhat.com>
12075 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12076 (reused_arena): Don't check arena limit.
12077 (arena_get2): Atomically check arena limit.
12079 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12081 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12082 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12084 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12087 2011-11-07 Andreas Schwab <schwab@redhat.com>
12089 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12090 handler when locking.
12092 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12093 Fix size of allocated buffer.
12095 2011-11-04 Andreas Schwab <schwab@redhat.com>
12098 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12099 declarations for long double functions.
12100 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12102 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12104 2011-11-03 Andreas Schwab <schwab@redhat.com>
12106 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12109 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12112 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12114 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12116 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12118 * include/alloca.h (stackinfo_alloca_round): Define.
12119 (extend_alloca): Use it.
12120 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12121 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12124 * scripts/check-local-headers.sh: Ignore libaudit.h.
12126 * nscd/Makefile (extra-objs): Make recursively expanded.
12128 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12130 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12133 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12134 * posix/tst-rfc3484-2.c: Likewise.
12135 * posix/tst-rfc3484-3.c: Likewise.
12137 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12139 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12141 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12142 process_vm_writev from libc using GLIBC_2.15 version.
12144 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12146 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12148 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12151 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12154 * nss/getent.c (initgroups_keys): Show error message in case no group
12157 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12158 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12159 __bump_nl_timestamp.
12160 * nscd/connections (nscd_init): When host database is served open
12161 netlink socket and request notification about configuration changes.
12162 (main_loop_poll): Track netlink file descriptor and bump timestamp
12163 in case data becomes available.
12164 (main_loop_epoll): Likewise.
12165 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12166 (database_pers_head): Add extra_data fileds.
12167 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12168 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12169 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12171 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12172 in6ai data, call __free_in6ai.
12173 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12174 Add -DHAVE_NETLINK.
12175 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12176 interface information. Reuse previous data if netlink timestamp
12178 (__bump_nl_timestamp): New function.
12179 (__free_in6ai): New function.
12181 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12183 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12184 close_not_cancel_no_status here.
12185 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12187 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12190 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12193 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12194 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12195 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12197 2011-07-03 Andreas Jaeger <aj@suse.de>
12200 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12201 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12202 * math/libm-test.inc (sin_test): Add test case.
12204 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12207 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12208 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12210 * elf/chroot_canon.c (chroot_canon): Cleanups.
12212 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12215 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12216 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12218 * string/test-strchr.c: Make usable for strchrnul testing.
12219 * string/test-strchrnul.c: New file.
12220 * string/Makefile (strop-tests): Add strchrnul.
12222 * po/it.po: Update from translation team.
12223 * po/es.po: Likewise.
12225 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12227 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12228 the three constants needed as parameters. Drop the others.
12229 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12230 __m128i_strloadu_tolower.
12231 Create and initialize variable zero and use it in all the places
12232 where _mm_setzero_si128 was used.
12234 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12235 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12236 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12237 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12239 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12240 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12241 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12242 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12243 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12244 __mpranred, __mptan.
12245 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12246 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12247 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12248 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12249 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12250 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12251 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12252 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12253 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12255 2011-10-28 Andreas Schwab <schwab@redhat.com>
12257 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12258 redefine if SHARED.
12259 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12261 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12262 wide char related routines to wcsmbs subdir.
12264 2011-10-27 Andreas Schwab <schwab@redhat.com>
12267 * misc/sys/cdefs.h (__THROWNL): Define.
12268 * posix/unistd.h: Use __THREADNL instead of __THREAD
12269 for memory synchronization functions.
12271 2011-10-26 Roland McGrath <roland@hack.frob.com>
12274 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12276 * manual/stdio.texi (Obstack Streams): Node removed.
12278 2011-10-26 Andreas Schwab <schwab@redhat.com>
12280 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12281 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12282 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12284 * math/math_private.h (math_force_eval): Allow non-addressable
12286 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12288 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12290 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12291 file is not needed.
12293 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12294 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12295 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12296 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12298 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12299 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12300 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12302 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12303 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12304 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12305 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12306 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12307 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12308 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12309 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12310 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12311 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12312 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12313 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12314 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12315 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12316 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12317 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12318 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12319 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12320 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12322 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12323 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12325 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12326 place. Use VEX encoding when compiling for AVX.
12328 2011-10-25 Andreas Schwab <schwab@redhat.com>
12330 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12331 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12333 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12335 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12337 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12338 useless if() expression.
12339 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12340 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12341 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12342 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12343 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12344 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12345 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12346 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12347 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12348 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12349 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12350 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12351 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12352 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12353 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12354 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12355 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12356 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12357 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12359 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12361 2011-10-25 Andreas Schwab <schwab@redhat.com>
12363 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12365 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12367 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12369 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12370 .text section. Avoid duplicate constants.
12371 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12373 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12375 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12379 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12380 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12381 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12382 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12383 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12384 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12385 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12386 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12387 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12388 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12389 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12390 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12391 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12392 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12393 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12394 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12395 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12396 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12397 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12398 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12399 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12400 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12401 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12402 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12403 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12404 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12405 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12406 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12407 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12408 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12409 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12410 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12411 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12412 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12413 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12414 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12415 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12417 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12419 * sysdeps/x86_64/dla.h: Move to ...
12420 * sysdeps/x86_64/fpu/dla.h: ...here.
12421 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12422 situations. Use __builtin_fma only for gcc 4.6 and up.
12424 * config.make.in: Add have-mfma4 entry.
12425 * configure.in: Substitute libc_cv_cc_fma4.
12426 * math/Makefile (dbl-only-routines): Add sincostab.
12427 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12428 Use __sincostab not sincos.
12429 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12436 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12437 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12438 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12439 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12441 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12442 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12444 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12445 define aliases when function name is a macro.
12446 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12447 sysdeps/ieee754/dbl-64/sincos.tbl.
12448 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12449 fma4-enabled routines.
12450 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12451 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12452 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12453 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12454 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12455 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12456 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12457 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12458 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12459 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12460 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12461 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12462 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12463 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12464 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12465 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12466 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12467 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12468 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12469 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12470 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12471 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12472 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12473 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12474 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12475 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12476 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12477 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12478 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12479 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12481 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12484 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12489 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12492 2011-10-24 Andreas Schwab <schwab@redhat.com>
12494 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12496 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12498 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12500 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12502 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12504 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12505 Remove unused variable magic_bits.
12506 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12508 * string/strnlen.c: Define and use STRNLEN macro.
12509 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12510 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12512 * wcsmbs/wcslen.c: Define and use WCSLEN.
12513 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12514 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12515 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12516 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12517 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12518 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12519 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12521 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12524 strnlen-sse2-no-bsf.
12525 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12526 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12527 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12528 Add strnlen support.
12529 (USE_AS_STRNLEN): New macro.
12530 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12531 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12532 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12533 * sysdeps/x86_64/wcslen.S: New file.
12535 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12537 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12538 XMM-moves are used for copying on small sizes.
12540 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12542 * wcsmbs/Makefile (strop-tests): Add wcschr.
12543 * wcsmbs/test-wcschr.c: New file.
12544 * string/test-strchr.c: Update.
12545 Add wcschr support.
12548 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12550 * wcsmbs/Makefile (strop-tests): Add wcslen.
12551 * wcsmbs/test-wcslen.c: New file.
12552 * string/test-strlen.c: Update.
12553 Add wcslen support.
12556 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12558 * po/it.po: Update from translation team.
12560 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12562 * sysdeps/x86_64/wcscmp.S: Update.
12563 Fix wrong comparison semantics.
12564 wcscmp shall use signed comparison not unsigned.
12565 Don't use substraction to avoid overflow bug.
12566 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12567 * wcsmbc/wcscmp.c: Likewise.
12568 * string/test-strcmp.c: Likewise.
12569 Add new tests to check cases with negative values.
12571 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12573 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12574 * sysdeps/x86_64/dla.h: ...here. New file.
12575 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12582 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12583 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12585 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12588 __ynl_finite aliases.
12590 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12594 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12596 [DLA_FMA] (EMULV): Use DLA_FMA.
12597 [DLA_FMA] (MUL12): Use EMULV.
12598 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12599 that are not needed.
12600 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12605 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12606 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12608 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12610 * math/s_nan.c: Undef __nan.
12611 * math/s_nanf.c: Undef __nanf.
12612 * math/s_nanl.c: Undef __nanl.
12613 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12616 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12618 * math/s_catan.c: Add branch predictions.
12619 * math/s_catanf.c: Likewise.
12620 * math/s_catanh.c: Likewise.
12621 * math/s_catanhf.c: Likewise.
12622 * math/s_catanhl.c: Likewise.
12623 * math/s_catanl.c: Likewise.
12624 * math/s_cexp.c: Likewise.
12625 * math/s_cexpf.c: Likewise.
12626 * math/s_cexpl.c: Likewise.
12627 * math/s_clog.c: Likewise.
12628 * math/s_clog10.c: Likewise.
12629 * math/s_clog10f.c: Likewise.
12630 * math/s_clog10l.c: Likewise.
12631 * math/s_clogf.c: Likewise.
12632 * math/s_clogl.c: Likewise.
12633 * math/s_csqrt.c: Likewise.
12634 * math/s_csqrtf.c: Likewise.
12635 * math/s_csqrtl.c: Likewise.
12636 * math/s_ctanf.c: Likewise.
12637 * math/s_ctanh.c: Likewise.
12638 * math/s_ctanhf.c: Likewise.
12639 * math/s_ctanhl.c: Likewise.
12640 * math/s_ctanl.c: Likewise.
12642 * math/math_private.h: Define __nan, __nanf, __nanl.
12643 * math/s_cacosh.c: Include <math_private.h>.
12644 * math/s_cacoshl.c: Likewise.
12645 * math/s_casinh.c: Likewise.
12646 * math/s_casinhf.c: Likewise.
12647 * math/s_casinhl.c: Likewise.
12648 * math/s_ccos.c: Rely entire on ccosh.
12649 * math/s_ccosf.c: Rely entire on ccoshf.
12650 * math/s_ccosl.c: Rely entirely on ccoshl.
12651 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12652 Remove tests for FE_INVALID.
12653 * math/s_ccoshf.c: Likewise.
12654 * math/s_ccoshl.c: Likewise.
12655 * math/s_csin.c: Likewise.
12656 * math/s_csinf.c: Likewise.
12657 * math/s_csinh.c Likewise.
12658 * math/s_csinhf.c: Likewise.
12659 * math/s_csinhl.c: Likewise.
12660 * math/s_csinl.c: Likewise.
12661 * math/s_ctan.c: Likewise.
12662 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12663 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12664 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12666 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12669 compilation problems.
12671 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12674 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12676 * sysdeps/i386/configure.in: Test for -mfma4 option.
12677 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12678 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12679 COMMON_CPUID_INDEX_80000001.
12680 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12681 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12682 use it if FMA3 is not supported.
12683 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12685 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12686 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12688 2011-10-20 Andreas Schwab <schwab@redhat.com>
12691 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12692 it would create a cycle with a link time dependency.
12694 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12696 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12698 * string/Makefile (strop-tests): Add rawmemchr.
12699 * string/test-rawmemchr.c: New file.
12701 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12702 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12703 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12704 when compiling str{,n}casecmp and when AVX is available. Hook up
12705 new optimized code in initializers.
12707 2011-10-19 Andreas Schwab <schwab@redhat.com>
12709 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12710 __feraiseexcept instead of feraiseexcept.
12712 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12714 * math/math_private.h: Define defaults for libc_fetestexcept and
12716 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12717 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12718 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12719 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12720 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12721 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12722 libc_fetestexcept and libc_feupdateenv.
12724 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12725 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12726 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12727 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12728 libc_feholdexcept_setround.
12730 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12731 Add s_nearbyint-c and s_nearbyintf-c.
12732 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12733 nearbyintf inlines.
12734 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12735 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12736 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12737 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12739 * math/math_private.h: Define defaults for libc_fegetround,
12740 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12741 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12742 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12743 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12744 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12745 standard functions.
12746 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12747 Remove comments and hacks for old compiler versions.
12748 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12749 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12750 libc_feholdexceptl.
12752 2011-10-18 Andreas Schwab <schwab@redhat.com>
12754 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12755 (__feraiseexcept_renamed): Add __NTH.
12756 (feraiseexcept): Add __NTH. Rename local variables to fix
12757 namespace violations.
12759 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12761 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12763 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12765 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12766 recently added interfaces.
12767 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12769 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12770 about macro parameter expansion.
12772 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12773 __NO_MATH_INLINES is defined. Cleanups.
12775 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12776 and __floorf is target has SSE4.1.
12777 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12778 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12779 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12780 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12782 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12784 (floorf): Likewise.
12786 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12788 2011-10-17 Andreas Schwab <schwab@redhat.com>
12790 * misc/sys/cdefs.h: Fix last change.
12792 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12795 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12797 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12799 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12800 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12805 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12806 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12807 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12808 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12809 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12810 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12811 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12812 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12813 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12814 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12815 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12816 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12817 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12818 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12819 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12820 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12822 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12823 ceil, ceilf, floor, floorf.
12825 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12826 Perform IRELATIVE relocations last.
12828 * elf/do-rel.h: Add another parameter nrelative, replacing the
12829 local variable with the same name. Change name of the function
12830 to end in Rel or Rela (uppercase).
12831 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12832 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12833 elf_dynamic_do_##reloc function.
12835 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12837 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12838 is sufficient, at least on modern CPUs.
12840 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12842 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12843 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12845 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12847 * math/bits/math-finite.h: Add entries for exp.
12848 * math/e_expl.c: Add __*_finite alias.
12849 * sysdeps/i386/fpu/e_exp.S: Likewise.
12850 * sysdeps/i386/fpu/e_expf.S: Likewise.
12851 * sysdeps/i386/fpu/e_expl.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12853 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12857 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12858 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12860 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12861 is sufficient, at least on modern CPUs.
12863 * ctype/ctype-info.c (__ctype_init): Define.
12864 * include/ctype.h (__ctype_init): Declare.
12865 (__ctype_b_loc): The variable is always initialized.
12866 (__ctype_toupper_loc): Likewise.
12867 (__ctype_tolower_loc): Likewise.
12868 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12869 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12871 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12873 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12875 * configure.in: Also look in $cxxmachine/include for C++ system
12878 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12880 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12881 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12882 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12883 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12884 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12885 (USE_AS_WMEMCMP): New macro.
12887 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12888 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12889 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12890 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12892 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12893 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12894 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12895 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12896 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12897 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12898 (USE_AS_WMEMCMP): New macro.
12899 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12900 * sysdeps/string/test-memcmp.c: Update.
12901 Fix simple_wmemcmp.
12903 * wcsmbs/wmemcmp.c: Update.
12904 (WMEMCMP): New macro.
12907 2011-10-12 Andreas Jaeger <aj@suse.de>
12910 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12912 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12914 * libio/iofwide.c (do_length): Avoid warning.
12916 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12918 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12920 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12922 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12923 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12924 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12925 * sysdeps/i386/i686/fpu/e_log.S: New file.
12926 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12927 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12929 * ctype/ctype.h: Add support for inlined isXXX functions when
12930 compiling C++ code.
12932 2011-10-14 Andreas Schwab <schwab@redhat.com>
12934 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12936 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12938 2011-10-13 Roland McGrath <roland@hack.frob.com>
12941 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12943 2011-10-13 Andreas Schwab <schwab@redhat.com>
12945 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12946 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12949 * sysdeps/x86_64/memrchr.S: Check for zero size.
12951 * string/stratcliff.c: Add memrchr tests.
12953 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12956 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12957 rawmemchr-sse2 rawmemchr-sse2-bsf.
12958 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12959 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12960 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12961 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12962 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12963 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12964 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12965 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12966 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12967 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12968 * string/memrchr.c (MEMRCHR): New macro.
12970 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12972 Add integration with gcc's -ffinite-math-only and optimize wrapper
12974 * Versions.def: Define GLIBC_2.15 version for libm.
12975 * math/Makefile (headers): Add bits/math-finite.h.
12976 * math/bits/math-finite.h: New file.
12977 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12978 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12979 * math/e_acoshl.c: Add __*_finite alias.
12980 * math/e_acosl.c: Likewise.
12981 * math/e_asinl.c: Likewise.
12982 * math/e_atan2l.c: Likewise.
12983 * math/e_atanhl.c: Likewise.
12984 * math/e_coshl.c: Likewise.
12985 * math/e_exp10.c: Likewise.
12986 * math/e_exp10f.c: Likewise.
12987 * math/e_exp10l.c: Likewise.
12988 * math/e_exp2l.c: Likewise.
12989 * math/e_fmodl.c: Likewise.
12990 * math/e_gammal_r.c: Likewise.
12991 * math/e_hypotl.c: Likewise.
12992 * math/e_j0l.c: Likewise.
12993 * math/e_j1l.c: Likewise.
12994 * math/e_jnl.c: Likewise.
12995 * math/e_lgammal_r.c: Likewise.
12996 * math/e_log10l.c: Likewise.
12997 * math/e_log2l.c: Likewise.
12998 * math/e_logl.c: Likewise.
12999 * math/e_powl.c: Likewise.
13000 * math/e_sinhl.c: Likewise.
13001 * math/e_sqrtl.c: Likewise.
13002 * math/e_scalb.c: Completely rewritten and optimized.
13003 * math/e_scalbf.c: Likewise.
13004 * math/e_scalbl.c: Likewise.
13005 * math/w_acos.c: Likewise.
13006 * math/w_acosf.c: Likewise.
13007 * math/w_acosl.c: Likewise.
13008 * math/w_acosh.c: Likewise.
13009 * math/w_acoshf.c: Likewise.
13010 * math/w_acoshl.c: Likewise.
13011 * math/w_asin.c: Likewise.
13012 * math/w_asinf.c: Likewise.
13013 * math/w_asinl.c: Likewise.
13014 * math/w_atan2.c: Likewise.
13015 * math/w_atan2f.c: Likewise.
13016 * math/w_atan2l.c: Likewise.
13017 * math/w_atanh.c: Likewise.
13018 * math/w_atanhf.c: Likewise.
13019 * math/w_atanhl.c: Likewise.
13020 * math/w_exp10.c: Likewise.
13021 * math/w_exp10f.c: Likewise.
13022 * math/w_exp10l.c: Likewise.
13023 * math/w_fmod.c: Likewise.
13024 * math/w_fmodf.c: Likewise.
13025 * math/w_fmodl.c: Likewise.
13026 * math/w_j0.c: Likewise.
13027 * math/w_j0f.c: Likewise.
13028 * math/w_j0l.c: Likewise.
13029 * math/w_j1.c: Likewise.
13030 * math/w_j1f.c: Likewise.
13031 * math/w_j1l.c: Likewise.
13032 * math/w_jn.c: Likewise.
13033 * math/w_jnf.c: Likewise.
13034 * math/w_log.c: Likewise.
13035 * math/w_logf.c: Likewise.
13036 * math/w_logl.c: Likewise.
13037 * math/w_log10.c: Likewise.
13038 * math/w_log10f.c: Likewise.
13039 * math/w_log10l.c: Likewise.
13040 * math/w_log2.c: Likewise.
13041 * math/w_log2f.c: Likewise.
13042 * math/w_log2l.c: Likewise.
13043 * math/w_pow.c: Likewise.
13044 * math/w_powf.c: Likewise.
13045 * math/w_powl.c: Likewise.
13046 * math/w_remainder.c: Likewise.
13047 * math/w_remainderf.c: Likewise.
13048 * math/w_remainderl.c: Likewise.
13049 * math/w_scalb.c: Likewise.
13050 * math/w_scalbf.c: Likewise.
13051 * math/w_scalbl.c: Likewise.
13052 * math/w_sqrt.c: Likewise.
13053 * math/w_sqrtf.c: Likewise.
13054 * math/w_sqrtl.c: Likewise.
13055 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13056 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13058 * math/math_private.h: Declare __kernel_standard_f.
13059 * math/w_cosh.c: Remove cruft and optimize a bit.
13060 * math/w_coshf.c: Likewise.
13061 * math/w_coshl.c: Likewise.
13062 * math/w_exp2.c: Likewise.
13063 * math/w_exp2f.c: Likewise.
13064 * math/w_exp2l.c: Likewise.
13065 * math/w_hypot.c: Likewise.
13066 * math/w_hypotf.c: Likewise.
13067 * math/w_hypotl.c: Likewise.
13068 * math/w_lgamma.c: Likewise.
13069 * math/w_lgamma_r.c: Likewise.
13070 * math/w_lgammaf.c: Likewise.
13071 * math/w_lgammaf_r.c: Likewise.
13072 * math/w_lgammal.c: Likewise.
13073 * math/w_lgammal_r.c: Likewise.
13074 * math/w_sinh.c: Likewise.
13075 * math/w_sinhf.c: Likewise.
13076 * math/w_sinhl.c: Likewise.
13077 * math/w_tgamma.c: Likewise.
13078 * math/w_tgammaf.c: Likewise.
13079 * math/w_tgammal.c: Likewise.
13080 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13081 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13082 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13083 Minor optimizations. Pretty printing. Remove cruft.
13084 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13085 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13086 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13087 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13088 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13089 * sysdeps/i386/fpu/e_asin.S: Likewise.
13090 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13091 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13092 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13093 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13094 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13095 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13096 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13097 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13098 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13099 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13100 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13101 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13102 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13103 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13104 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13105 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13106 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13107 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13108 * sysdeps/i386/fpu/e_log.S: Likewise.
13109 * sysdeps/i386/fpu/e_log10.S: Likewise.
13110 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13111 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13112 * sysdeps/i386/fpu/e_log2.S: Likewise.
13113 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13114 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13115 * sysdeps/i386/fpu/e_logf.S: Likewise.
13116 * sysdeps/i386/fpu/e_logl.S: Likewise.
13117 * sysdeps/i386/fpu/e_pow.S: Likewise.
13118 * sysdeps/i386/fpu/e_powf.S: Likewise.
13119 * sysdeps/i386/fpu/e_powl.S: Likewise.
13120 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13121 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13122 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13123 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13124 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13125 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13126 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13127 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13128 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13135 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13136 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13137 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13138 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13139 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13140 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13142 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13143 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13149 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13150 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13153 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13154 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13155 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13156 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13157 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13158 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13159 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13160 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13161 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13162 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13163 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13164 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13165 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13166 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13167 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13168 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13169 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13170 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13172 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13174 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13182 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13183 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13184 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13185 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13186 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13188 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13189 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13190 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13191 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13193 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13194 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13195 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13197 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13200 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13207 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13208 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13209 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13210 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13212 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13213 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13214 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13215 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13216 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13217 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13218 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13219 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13220 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13221 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13222 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13223 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13224 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13225 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13226 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13227 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13228 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13229 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13230 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13231 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13232 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13233 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13234 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13235 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13236 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13237 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13238 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13239 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13240 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13241 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13242 (__isnanf): Likewise.
13243 (__isinf_ns): Likewise.
13244 (__isinf_nsf): Likewise.
13245 (__finite): Likewise.
13246 (__finitef): Likewise.
13247 (__ieee754_sqrt): Define as macro.
13248 (__ieee754_sqrtf): Define as macro.
13249 (__ieee754_sqrtl): Define as macro.
13250 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13252 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13253 __FINITE_MATH_ONLY__ consistent.
13254 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13256 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13258 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13261 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13263 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13265 * po/ja.po: Update from translation team.
13267 2011-10-08 Roland McGrath <roland@hack.frob.com>
13269 * locale/programs/locarchive.c (prepare_address_space): New function.
13270 (create_archive, enlarge_archive, open_archive): Use it.
13272 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13273 inside [SHARED], where it is used.
13275 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13277 * nss/getent.c (netgroup_keys): Remove unused variable.
13278 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13280 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13282 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13283 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13284 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13285 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13286 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13287 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13288 * math/Makefile (libm-calls): Add s_isinf_ns.
13289 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13290 * math/multc3.c: Likewise.
13291 * math/s_casin.c: Likewise.
13292 * math/s_casinf.c: Likewise.
13293 * math/s_casinl.c: Likewise.
13294 * math/s_ccos.c: Likewise.
13295 * math/s_ccosf.c: Likewise.
13296 * math/s_ccosl.c: Likewise.
13297 * math/s_ctan.c: Likewise.
13298 * math/s_ctanf.c: Likewise.
13299 * math/s_ctanh.c: Likewise.
13300 * math/s_ctanhf.c: Likewise.
13301 * math/s_ctanhl.c: Likewise.
13302 * math/s_ctanl.c: Likewise.
13303 * math/w_fmod.c: Likewise.
13304 * math/w_fmodf.c: Likewise.
13305 * math/w_fmodl.c: Likewise.
13306 * math/w_remainder.c: Likewise.
13307 * math/w_remainderf.c: Likewise.
13308 * math/w_remainderl.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13310 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13311 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13313 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13314 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13315 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13316 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13318 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13320 * stdio-common/printf_fphex.c: Likewise.
13321 * stdio-common/printf_size.c: Likewise.
13323 * math/e_exp10.c: Include math_private.h using <...> not "...".
13324 * math/e_exp10f.c: Likewise.
13325 * math/e_exp10l.c: Likewise.
13326 * math/e_exp2l.c: Likewise.
13327 * math/e_j0l.c: Likewise.
13328 * math/e_j1l.c: Likewise.
13329 * math/e_jnl.c: Likewise.
13330 * math/e_lgammal_r.c: Likewise.
13331 * math/e_rem_pio2l.c: Likewise.
13332 * math/e_scalb.c: Likewise.
13333 * math/e_scalbf.c: Likewise.
13334 * math/e_scalbl.c: Likewise.
13335 * math/k_cosl.c: Likewise.
13336 * math/k_sinl.c: Likewise.
13337 * math/k_tanl.c: Likewise.
13338 * math/s_cacoshf.c: Likewise.
13339 * math/s_catan.c: Likewise.
13340 * math/s_catanf.c: Likewise.
13341 * math/s_catanh.c: Likewise.
13342 * math/s_catanhf.c: Likewise.
13343 * math/s_catanhl.c: Likewise.
13344 * math/s_catanl.c: Likewise.
13345 * math/s_ccosh.c: Likewise.
13346 * math/s_ccoshf.c: Likewise.
13347 * math/s_ccoshl.c: Likewise.
13348 * math/s_cexp.c: Likewise.
13349 * math/s_cexpf.c: Likewise.
13350 * math/s_cexpl.c: Likewise.
13351 * math/s_clog.c: Likewise.
13352 * math/s_clog10.c: Likewise.
13353 * math/s_clog10f.c: Likewise.
13354 * math/s_clog10l.c: Likewise.
13355 * math/s_clogf.c: Likewise.
13356 * math/s_clogl.c: Likewise.
13357 * math/s_csin.c: Likewise.
13358 * math/s_csinf.c: Likewise.
13359 * math/s_csinh.c: Likewise.
13360 * math/s_csinhf.c: Likewise.
13361 * math/s_csinhl.c: Likewise.
13362 * math/s_csinl.c: Likewise.
13363 * math/s_csqrt.c: Likewise.
13364 * math/s_csqrtf.c: Likewise.
13365 * math/s_csqrtl.c: Likewise.
13366 * math/s_ctan.c: Likewise.
13367 * math/s_ctanf.c: Likewise.
13368 * math/s_ctanh.c: Likewise.
13369 * math/s_ctanhf.c: Likewise.
13370 * math/s_ctanhl.c: Likewise.
13371 * math/s_ctanl.c: Likewise.
13372 * math/s_ldexp.c: Likewise.
13373 * math/s_ldexpf.c: Likewise.
13374 * math/s_ldexpl.c: Likewise.
13375 * math/s_significand.c: Likewise.
13376 * math/s_significandf.c: Likewise.
13377 * math/s_significandl.c: Likewise.
13378 * math/w_acos.c: Likewise.
13379 * math/w_acosf.c: Likewise.
13380 * math/w_acosh.c: Likewise.
13381 * math/w_acoshf.c: Likewise.
13382 * math/w_acoshl.c: Likewise.
13383 * math/w_acosl.c: Likewise.
13384 * math/w_asin.c: Likewise.
13385 * math/w_asinf.c: Likewise.
13386 * math/w_asinl.c: Likewise.
13387 * math/w_atan2.c: Likewise.
13388 * math/w_atan2f.c: Likewise.
13389 * math/w_atan2l.c: Likewise.
13390 * math/w_atanh.c: Likewise.
13391 * math/w_atanhf.c: Likewise.
13392 * math/w_atanhl.c: Likewise.
13393 * math/w_cosh.c: Likewise.
13394 * math/w_coshf.c: Likewise.
13395 * math/w_coshl.c: Likewise.
13396 * math/w_dremf.c: Likewise.
13397 * math/w_exp10.c: Likewise.
13398 * math/w_exp10f.c: Likewise.
13399 * math/w_exp10l.c: Likewise.
13400 * math/w_exp2.c: Likewise.
13401 * math/w_exp2f.c: Likewise.
13402 * math/w_fmod.c: Likewise.
13403 * math/w_fmodf.c: Likewise.
13404 * math/w_fmodl.c: Likewise.
13405 * math/w_hypot.c: Likewise.
13406 * math/w_hypotf.c: Likewise.
13407 * math/w_hypotl.c: Likewise.
13408 * math/w_j0.c: Likewise.
13409 * math/w_j0f.c: Likewise.
13410 * math/w_j0l.c: Likewise.
13411 * math/w_j1.c: Likewise.
13412 * math/w_j1f.c: Likewise.
13413 * math/w_j1l.c: Likewise.
13414 * math/w_jn.c: Likewise.
13415 * math/w_jnf.c: Likewise.
13416 * math/w_jnl.c: Likewise.
13417 * math/w_lgamma.c: Likewise.
13418 * math/w_lgamma_r.c: Likewise.
13419 * math/w_lgammaf.c: Likewise.
13420 * math/w_lgammaf_r.c: Likewise.
13421 * math/w_lgammal.c: Likewise.
13422 * math/w_lgammal_r.c: Likewise.
13423 * math/w_log.c: Likewise.
13424 * math/w_log10.c: Likewise.
13425 * math/w_log10f.c: Likewise.
13426 * math/w_log10l.c: Likewise.
13427 * math/w_log2.c: Likewise.
13428 * math/w_log2f.c: Likewise.
13429 * math/w_log2l.c: Likewise.
13430 * math/w_logf.c: Likewise.
13431 * math/w_logl.c: Likewise.
13432 * math/w_pow.c: Likewise.
13433 * math/w_powf.c: Likewise.
13434 * math/w_powl.c: Likewise.
13435 * math/w_remainder.c: Likewise.
13436 * math/w_remainderf.c: Likewise.
13437 * math/w_remainderl.c: Likewise.
13438 * math/w_scalb.c: Likewise.
13439 * math/w_scalbf.c: Likewise.
13440 * math/w_scalbl.c: Likewise.
13441 * math/w_sinh.c: Likewise.
13442 * math/w_sinhf.c: Likewise.
13443 * math/w_sinhl.c: Likewise.
13444 * math/w_sqrt.c: Likewise.
13445 * math/w_sqrtf.c: Likewise.
13446 * math/w_sqrtl.c: Likewise.
13447 * math/w_tgamma.c: Likewise.
13448 * math/w_tgammaf.c: Likewise.
13449 * math/w_tgammal.c: Likewise.
13451 * po/ja.po: Update from translation team.
13453 2011-09-29 Andreas Jaeger <aj@suse.de>
13456 * sunrpc/netname.c (netname2host): Fix logic.
13460 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13462 * math/w_remainder.c (__remainder): Likewise.
13463 * math/w_remainderf.c (__remainderf): Likewise.
13464 * math/libm-test.inc (remainder_test): Add test cases.
13466 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13468 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13471 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13473 * string/test-memcmp.c: Avoid unncessary #defines.
13474 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13476 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13478 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13479 Use new sse2 version for core i3 - i7 as it's faster
13480 than sse42 version.
13481 (bit_Prefer_PMINUB_for_stringop): New.
13482 * sysdeps/x86_64/rawmemchr.S: Update.
13483 Replace with faster SSE2 version.
13484 * sysdeps/x86_64/memrchr.S: New file.
13485 * sysdeps/x86_64/memchr.S: Update.
13486 Replace with faster SSE2 version.
13488 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13490 * elf/dl-load.c (lose): Add cast to avoid warning.
13492 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13494 * po/ca.po: Update from translation team.
13496 * inet/getnetgrent_r.c: Hook up nscd.
13497 * nscd/Makefile (routines): Add nscd_netgroup.
13498 (nscd-modules): Add netgroupcache.
13499 (CFLAGS-netgroupcache.c): Define.
13500 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13501 (cache_search): Add const to second parameter.
13502 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13504 (dbs): Add netgrdb entry.
13505 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13506 (verify_persistent_db): Handle netgrdb.
13507 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13508 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13510 (netgroup_response_header): Define.
13511 (innetgroup_response_header): Define.
13512 (datahead): Add netgroup_response_header and innetgroup_response_header
13514 * nscd/nscd.conf: Add entries for netgroup cache.
13515 * nscd/nscd.h (dbtype): Add netgrdb.
13516 (_PATH_NSCD_NETGROUP_DB): Define.
13517 (netgroup_iov_disabled): Declare.
13518 (xmalloc, xcalloc, xrealloc): Move declarations here.
13519 (cache_search): Adjust prototype.
13520 Add netgroup-related prototypes.
13521 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13522 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13523 (__nscd_innetgr): Declare.
13524 * nscd/selinux.c (perms): Use access_vector_t as element type and
13525 add netgroup-related initializers.
13526 * nscd/netgroupcache.c: New file.
13527 * nscd/nscd_netgroup.c: New file.
13528 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13529 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13530 For four parameters use innetgr.
13531 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13532 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13533 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13534 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13536 * nscd/connections.c (register_traced_file): Don't register file
13537 for disabled databases.
13539 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13541 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13543 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13544 from tree and freeing node.
13546 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13548 * nss/nsswitch.c (__nss_database_lookup): Handle
13549 nss_parse_service_list out of memory case.
13551 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13553 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13554 out of memory case.
13556 2011-10-04 Andreas Schwab <schwab@redhat.com>
13558 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13559 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13561 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13562 elf_machine_rela, elf_machine_lazy_rel.
13563 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13564 (ELF_DYNAMIC_DO_REL): Likewise.
13565 (ELF_DYNAMIC_DO_RELA): Likewise.
13566 (ELF_DYNAMIC_RELOCATE): Likewise.
13567 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13568 to ELF_DYNAMIC_DO_REL.
13569 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13570 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13571 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13574 skip_ifunc, don't call ifunc function if non-zero.
13575 (elf_machine_rela): Likewise.
13576 (elf_machine_lazy_rel): Likewise.
13577 (elf_machine_lazy_rela): Likewise.
13578 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13579 (elf_machine_lazy_rel): Likewise.
13580 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13582 (elf_machine_lazy_rel): Likewise.
13583 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13585 (elf_machine_lazy_rel): Likewise.
13586 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13587 (elf_machine_lazy_rel): Likewise.
13588 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13589 (elf_machine_lazy_rel): Likewise.
13590 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13591 (elf_machine_lazy_rel): Likewise.
13592 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13593 (elf_machine_lazy_rel): Likewise.
13594 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13595 (elf_machine_lazy_rel): Likewise.
13596 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13597 (elf_machine_lazy_rel): Likewise.
13599 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13601 * nss/nss_files/files-init.c (_nss_files_init): Use static
13602 initialization for all the *_traced_file variables.
13604 2011-09-28 Andreas Schwab <schwab@redhat.com>
13606 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13608 2011-09-27 Roland McGrath <roland@hack.frob.com>
13611 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13613 2011-09-27 Andreas Schwab <schwab@redhat.com>
13615 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13616 Reread the line before reparsing it.
13618 2011-09-26 Andreas Schwab <schwab@redhat.com>
13620 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13622 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13623 Maxim Kuvyrkov <maxim@codesourcery.com>
13624 Joseph Myers <joseph@codesourcery.com>
13626 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13627 if needed for __stack_chk_guard.
13629 2011-09-19 Roland McGrath <roland@hack.frob.com>
13631 * sysdeps/posix/spawni.c (script_execute): Always define it.
13632 It will be optimized away if unused.
13633 (maybe_script_execute): New function.
13634 (__spawni): Call it.
13636 * Makerules: Don't include tls.make.
13637 (config-tls): Always set to thread.
13638 * tls.make.c: File removed.
13640 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13642 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13643 * config.make.in (CPPFLAGS-config): New substituted variable.
13645 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13647 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13650 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13651 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13653 2011-09-15 Roland McGrath <roland@hack.frob.com>
13655 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13656 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13658 (CALL_FAIL): Likewise.
13659 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13660 (CALL_FAIL): Macro removed.
13661 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13663 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13665 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13666 for __FINITE_MATH_ONLY__ == 1.
13668 2011-09-15 Andreas Schwab <schwab@redhat.com>
13670 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13671 __ieee754_sqrt instead of sqrt.
13672 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13673 __ieee754_sqrtf instead of sqrtf.
13674 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13675 __floorf instead of floorf.
13676 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13677 __floorf, __truncf instead of floorf, truncf.
13679 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13681 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13683 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13684 __extern_always_inline.
13685 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13688 2011-09-14 Andreas Schwab <schwab@redhat.com>
13690 * elf/rtld.c (dl_main): Also relocate in dependency order when
13691 doing symbol dependency testing.
13693 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13696 Always define `refsym'.
13698 2011-09-13 Andreas Schwab <schwab@redhat.com>
13700 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13701 (__FD_ELT): Renamed from __FDELT.
13702 * misc/bits/select2.h (__FD_ELT): Likewise.
13703 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13704 __FD_MASK instead of __FDELT, __FDMASK.
13705 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13707 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13710 * elf/Makefile (gen-ldd): Fix pattern.
13712 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13713 (init_tls): Likewise.
13715 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13719 2011-09-12 Andreas Schwab <schwab@redhat.com>
13721 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13722 `struct cmsghdr *' instead of `void *'.
13723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13726 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13728 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13730 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13731 ldd_rewrite_script.
13733 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13735 * configure.in: Remove --with-tls option.
13736 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13737 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13738 out in case it is missing.
13739 * sysdeps/ia64/elf/configure.in: Likewise.
13740 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13741 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13742 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13743 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13744 * sysdeps/sh/elf/configure.in: Likewise.
13745 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13746 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13747 * sysdeps/x86_64/elf/configure.in: Likewise.
13748 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13749 * sysdeps/mach/hurd/tls.h: Likewise.
13752 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13755 * configure.in: Fix use of AC_INIT.
13757 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13759 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13761 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13763 * malloc/hooks.c: Likewise.
13766 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13767 variables statically.
13768 (narenas): Initialize.
13769 (list_lock): Initialize.
13770 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13771 initializtion of main_arena and list_lock. Small cleanups.
13772 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13773 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13774 Add initializers to main_arena and mp_.
13775 (malloc_state): Remove pagesize member. Change all users to use
13778 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13779 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13780 is always initialized.
13782 * malloc/malloc.c: Removed unused configurations and dead code.
13783 * malloc/arena.c: Likewise.
13784 * malloc/hooks.c: Likewise.
13785 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13787 * include/tls.h: Removed. USE___THREAD must always be defined.
13788 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13789 * elf/dl-libc.c: Likewise.
13790 * elf/dl-tsd.c: Likewise.
13791 * include/errno.h: Likewise.
13792 * include/netdb.h: Likewise.
13793 * include/resolv.h: Likewise.
13794 * inet/herrno-loc.c: Likewise.
13795 * inet/herrno.c: Likewise.
13796 * malloc/arena.c: Likewise.
13797 * malloc/hooks.c: Likewise.
13798 * malloc/malloc.c: Likewise.
13799 * resolv/res-state.c: Likewise.
13800 * resolv/res_libc.c: Likewise.
13801 * sysdeps/i386/dl-machine.h: Likewise.
13802 * sysdeps/ia64/dl-machine.h: Likewise.
13803 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13804 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13805 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13806 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13807 * sysdeps/sh/dl-machine.h: Likewise.
13808 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13809 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13810 * sysdeps/unix/i386/sysdep.S: Likewise.
13811 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13812 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13813 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13814 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13815 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13817 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13819 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13821 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13822 * sysdeps/x86_64/dl-machine.h: Likewise.
13823 * tls.make.c: Likewise.
13825 * configure.in: Remove --with-__thread option. Make tests for
13826 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13827 tls_model attribute fail if no support is available. Remove
13829 * Makeconfig: Adjust for dropped configure option. All features are
13831 * Makerules: Likewise.
13832 * Versions.def: Likewise.
13833 * argp/argp-fmtstream.c: Likewise.
13834 * argp/argp-fmtstream.h: Likewise.
13835 * argp/argp-help.c: Likewise.
13836 * assert/assert.c: Likewise.
13837 * config.h.in: Likewise.
13838 * config.make.in: Likewise.
13839 * configure: Likewise.
13840 * configure.in: Likewise.
13841 * csu/Versions: Likewise.
13842 * csu/init.c: Likewise.
13843 * elf/tst-audit2.c: Likewise.
13844 * elf/tst-tls10.c: Likewise.
13845 * elf/tst-tls10.h: Likewise.
13846 * elf/tst-tls11.c: Likewise.
13847 * elf/tst-tls12.c: Likewise.
13848 * elf/tst-tls14.c: Likewise.
13849 * elf/tst-tlsmod11.c: Likewise.
13850 * elf/tst-tlsmod12.c: Likewise.
13851 * elf/tst-tlsmod13.c: Likewise.
13852 * elf/tst-tlsmod13a.c: Likewise.
13853 * elf/tst-tlsmod14a.c: Likewise.
13854 * elf/tst-tlsmod15b.c: Likewise.
13855 * elf/tst-tlsmod16a.c: Likewise.
13856 * elf/tst-tlsmod16b.c: Likewise.
13857 * elf/tst-tlsmod7.c: Likewise.
13858 * elf/tst-tlsmod8.c: Likewise.
13859 * elf/tst-tlsmod9.c: Likewise.
13860 * gmon/gmon.c: Likewise.
13861 * grp/fgetgrent_r.c: Likewise.
13862 * grp/putgrent.c: Likewise.
13863 * hurd/fopenport.c: Likewise.
13864 * include/libc-symbols.h: Likewise.
13865 * include/tls.h: Likewise.
13866 * intl/gettextP.h: Likewise.
13867 * intl/loadinfo.h: Likewise.
13868 * locale/global-locale.c: Likewise.
13869 * locale/localeinfo.h: Likewise.
13870 * mach/devstream.c: Likewise.
13871 * malloc/arena.c: Likewise.
13872 * malloc/set-freeres.c: Likewise.
13873 * misc/err.c: Likewise.
13874 * misc/getttyent.c: Likewise.
13875 * misc/mntent_r.c: Likewise.
13876 * posix/getopt.c: Likewise.
13877 * posix/wordexp.c: Likewise.
13878 * pwd/fgetpwent_r.c: Likewise.
13879 * resolv/Versions: Likewise.
13880 * resolv/res_hconf.c: Likewise.
13881 * shadow/fgetspent_r.c: Likewise.
13882 * shadow/putspent.c: Likewise.
13883 * stdio-common/printf_fphex.c: Likewise.
13884 * stdio-common/tmpfile.c: Likewise.
13885 * stdlib/abort.c: Likewise.
13886 * stdlib/fmtmsg.c: Likewise.
13887 * sunrpc/auth_unix.c: Likewise.
13888 * sunrpc/clnt_perr.c: Likewise.
13889 * sunrpc/clnt_tcp.c: Likewise.
13890 * sunrpc/clnt_udp.c: Likewise.
13891 * sunrpc/clnt_unix.c: Likewise.
13892 * sunrpc/openchild.c: Likewise.
13893 * sunrpc/svc_simple.c: Likewise.
13894 * sunrpc/svc_tcp.c: Likewise.
13895 * sunrpc/svc_udp.c: Likewise.
13896 * sunrpc/svc_unix.c: Likewise.
13897 * sunrpc/xdr.c: Likewise.
13898 * sunrpc/xdr_array.c: Likewise.
13899 * sunrpc/xdr_rec.c: Likewise.
13900 * sunrpc/xdr_ref.c: Likewise.
13901 * sunrpc/xdr_stdio.c: Likewise.
13903 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13905 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13907 2011-07-03 Andreas Jaeger <aj@suse.de>
13909 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13910 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13911 regenerate with gen-libm-tests.pl.
13913 2010-05-12 Petr Baudis <pasky@suse.cz>
13916 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13917 around j0() zero points by switching to j1().
13918 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13923 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13925 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13927 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13930 Patch in part by Pavel Roskin <proski@gnu.org>.
13933 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13935 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13936 Free memory block if necessary.
13939 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13940 be NULL. Don't lock in this case.
13942 2011-09-09 Roland McGrath <roland@hack.frob.com>
13944 * elf/elf.h (ELFOSABI_GNU): New macro.
13945 (ELFOSABI_LINUX): Define to that.
13947 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13949 * string/strncat.c (strncat): Undef the symbol in case it has been
13950 defined in bits/string.h.
13952 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13954 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13956 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13959 2011-08-17 Andreas Jaeger <aj@suse.de>
13961 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13963 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13964 Ian Lance Taylor <iant@google.com>
13966 * math/libm-test.inc (lround_test): New testcase.
13967 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13969 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13971 * Makefile: Remove support for automatic cvs check-ins.
13972 * Makerules: Likewise.
13973 * config.make.in: Likewise.
13974 * configure.in: Likewise.
13975 * intl/Makefile: Likewise.
13976 * locale/Makefile: Likewise.
13977 * po/Makefile: Likewise.
13978 * posix/Makefile: Likewise.
13979 * sysdeps/gnu/Makefile: Likewise.
13980 * sysdeps/mach/hurd/Makefile: Likewise.
13981 * sysdeps/sparc/sparc32/Makefile: Likewise.
13984 * posix/Makefile (bug-regex32-ENV): Define.
13985 Patch by John Stanley <jpsinthemix@verizon.net>.
13987 * misc/Makefile (headers): Add bits/select2.h.
13988 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13989 * misc/bits/select2.h: New file.
13990 * include/bits/select2.h: New file.
13991 * debug/Makefile (routines): Add fdelt_chk.
13992 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13993 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13995 * debug/fdelt_chk.c: New file.
13997 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13998 * wcsmbs/test-wmemcmp.c: Likewise.
13999 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14000 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14002 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14004 * string/Makefile (strop-tests): Add memcmp.
14005 * string/test-wmemcmp.c: New file.
14006 * string/test-memcmp.c: Add wmemcmp support.
14008 2011-09-08 Roland McGrath <roland@hack.frob.com>
14011 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14014 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14015 garbage value in a __mach_port_mod_refs call in the cases of the
14016 task-self and thread-self ports.
14018 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14020 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14022 2011-09-08 Andreas Schwab <schwab@redhat.com>
14024 * elf/dl-load.c (lose): Check for non-null L.
14026 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14028 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14030 * elf/dl-libc.c (dlerror_run): Pass back error code from
14034 * elf/dl-load.c (lose): Free l_origin if it is valid.
14036 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14038 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14039 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14040 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14041 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14042 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14043 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14045 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14047 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14048 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14049 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14050 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14051 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14052 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14053 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14054 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14055 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14056 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14058 2011-08-15 Alan Modra <amodra@gmail.com>
14061 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14062 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14063 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14064 ppc_mcount to static-only-routines.
14065 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14067 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14068 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14070 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14072 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14073 for finite and infinity parameters.
14075 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14077 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14078 and add nop instructions for throughput optimization.
14079 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14081 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14083 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14084 aligned copy for power7 with vector-scalar instructions.
14085 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14087 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14089 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14092 2011-09-07 Andreas Schwab <schwab@redhat.com>
14095 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14098 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14100 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14101 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14102 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14103 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14106 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14108 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14109 Forgot to demangle the pointer.
14111 * sysdeps/i386/sysdep.h: Define atom_text_section.
14112 * sysdeps/x86_64/sysdep.h: Likewise.
14113 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14114 section with atom_text_section.
14115 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14116 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14117 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14118 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14119 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14121 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14122 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14123 already be defined. Change to take two parameters and don't assign
14124 result to variable. Adjust all users.
14125 Define INTERNAL_GETTIME if not already defined.
14126 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14129 HAVE_CLOCK_GETTIME_VSYSCALL.
14130 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14133 gettimeofday vsyscall, just use time.
14135 2011-09-06 Andreas Schwab <schwab@redhat.com>
14137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14140 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14142 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14146 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14147 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14148 syscall if possible.
14150 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14152 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14153 e_ident. Don't pass to find_mapsXX.
14154 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14156 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14159 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14160 * sysdeps/x86_64/multiarch/strchr.S: Update.
14161 Check bit_slow_BSF bit.
14162 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14163 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14164 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14166 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14169 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14171 (tryshell): Define.
14172 (__spawni): Change last parameter to be flag. Test
14173 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14174 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14175 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14176 * posix/spawni.c: Likewise.
14177 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14178 * posix/spawnp.c: Likewise. Change normal version to use
14179 SPAWN_XFLAGS_USE_PATH.
14180 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14181 SPAWN_XFLAGS_TRY_SHELL.
14184 * posix/glob.h: Remove gcc 1.x support.
14187 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14189 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14192 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14194 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14195 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14196 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14197 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14198 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14199 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14201 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14203 * sysdeps/x86_64/wcscmp.S: New file.
14205 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14206 wcscmp-c wcscmp-sse2
14207 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14208 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14209 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14210 * wcsmbs/wcscmp.c: Allow renaming.
14212 2011-09-05 David S. Miller <davem@davemloft.net>
14214 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14215 stack slot, rather than the struct return pointer slot.
14216 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14217 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14219 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14221 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14223 * po/ja.po: Update from translation team.
14226 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14227 kernel in 64-bit binaries.
14229 2011-09-01 David S. Miller <davem@davemloft.net>
14231 * elf/elf.h (HWCAP_SPARC_*): Move to..
14232 * sysdeps/sparc/sysdep.h: this new file and add new values.
14233 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14234 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14235 _DL_HWCAP_COUNT to 24.
14236 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14238 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14239 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14240 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14241 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14242 instead of magic constants.
14243 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14245 2011-08-31 David S. Miller <davem@davemloft.net>
14247 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14249 Reimplement to do errno handling inline.
14250 (SYSCALL_ERROR_HANDLER): New macro.
14251 (__SYSCALL_STRING): Do not do errno handling in asm.
14252 (__CLONE_SYSCALL_STRING): Delete.
14253 (__INTERNAL_SYSCALL_STRING): Delete.
14254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14255 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14256 (PSEUDO): Reimplement to do errno handling inline.
14257 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14258 (SYSCALL_ERROR_HANDLER): New macro.
14259 (__SYSCALL_STRING): Do not do errno handling in asm.
14260 (__CLONE_SYSCALL_STRING): Delete.
14261 (__INTERNAL_SYSCALL_STRING): Delete.
14262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14263 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14265 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14266 (inline_syscall*): Add 'err' argument.
14267 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14268 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14269 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14270 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14272 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14273 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14275 2011-08-30 Andreas Schwab <schwab@redhat.com>
14277 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14279 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14281 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14284 2011-08-24 David S. Miller <davem@davemloft.net>
14286 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14288 2011-08-24 Andreas Schwab <schwab@redhat.com>
14290 * elf/Makefile: Add rules to build and run unload8 test.
14291 * elf/unload8.c: New file.
14292 * elf/unload8mod1.c: New file.
14293 * elf/unload8mod1x.c: New file.
14294 * elf/unload8mod2.c: New file.
14295 * elf/unload8mod3.c: New file.
14297 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14300 2011-08-23 David S. Miller <davem@davemloft.net>
14302 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14303 subtract stack bias.
14304 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14305 %sp not %fp in calculations.
14306 (_JMPBUF_UNWINDS_ADJ): Likewise.
14308 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14309 (aio_suspend): Call it to force an exception region around the
14310 AIO_MISC_WAIT() invocation.
14312 2011-08-23 Andreas Schwab <schwab@redhat.com>
14314 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14317 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14319 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14321 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14322 and <dl-machine.h>.
14323 (Elf64_FuncDesc): Remove.
14325 2011-08-22 David S. Miller <davem@davemloft.net>
14327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14328 sigaltstack check, add missing cfi directives.
14329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14330 missing cfi directives, and sigaltstack handling.
14332 2011-08-16 Andreas Schwab <schwab@redhat.com>
14335 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14336 object is seen twice.
14337 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14339 * elf/Makefile (distribute): Add tst-initorder2.c.
14340 (tests): Add tst-initorder2.
14341 (modules-names): Add tst-initorder2a tst-initorder2b
14342 tst-initorder2c tst-initorder2d. Add rules to build them.
14343 ($(objpfx)tst-initorder2.out): New rule.
14344 * elf/tst-initorder2.c: New file.
14345 * elf/tst-initorder2.exp: New file.
14347 2011-08-22 Andreas Schwab <schwab@redhat.com>
14349 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14351 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14352 dependencies back to end of function.
14354 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14355 $(elfobjdir)/ld.so.
14357 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14359 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14360 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14362 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14363 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14364 of __vdso_gettimeofday.
14365 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14366 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14368 (_libc_vdso_platform_setup): Remove initialization of
14369 __vdso_gettimeofday and __vdso_time.
14371 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14373 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14374 and fgetc_unlocked.
14375 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14378 * elf/dl-open.c (add_to_global): Report additions to the global scope
14379 for LD_DEBUG=scopes.
14380 (dl_open_worker): Also print scope of newly loaded dependencies.
14381 (_dl_show_scope): Indicate if there is no scope.
14384 * stdio-common/Makefile (tests): Add bug24.
14385 * stdio-common/bug24.c: New file.
14387 2011-08-19 Andreas Jaeger <aj@suse.de>
14390 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14391 non-existant file when using close-on-exec mode.
14393 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14395 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14396 the very first instruction.
14398 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14399 the CFI state in the end.
14400 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14401 inclusion of dl-trampoline.h.
14402 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14404 2011-08-19 Andreas Schwab <schwab@redhat.com>
14406 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14407 expectations for long double.
14409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14410 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14412 2011-08-14 David S. Miller <davem@davemloft.net>
14414 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14415 artificual limit depends upon the system page size.
14417 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14419 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14420 * resolv/Makefile: Define CFLAGS-libresolv.
14422 2011-08-17 Andreas Schwab <schwab@redhat.com>
14424 * nss/makedb.c (compute_tables): Make variables used in nested
14427 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14429 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14430 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14431 if buffer was too small.
14433 * elf/pldd.c (main): Attach to all threads in the process.
14434 Rewrite /proc handling to use *at functions.
14436 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14438 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14439 specifies first scope to show.
14440 (dl_open_worker): Update callers. Move printing scope of new
14441 object to before the relocation.
14442 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14443 * sysdeps/generic/ldsodefs.h: Update declaration.
14445 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14446 string for the scope number.
14448 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14450 * nscd/servicescache.c (cache_addserv): Make sure written is always
14453 2011-08-14 Roland McGrath <roland@hack.frob.com>
14455 * sysdeps/i386/i486/bits/atomic.h
14456 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14457 statement expression, so as to suppress "set but not used" warning.
14458 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14460 * string/strncat.c (STRNCAT): Use prototype definition.
14462 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14463 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14465 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14466 (localedef-modules): Add localedef.
14467 (locale-modules): Add locale.
14469 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14470 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14471 to avoid a warning.
14473 2011-08-14 David S. Miller <davem@davemloft.net>
14475 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14476 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14478 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14480 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14481 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14482 * elf/rtld.c (dl_main): Set l_name of vDSO.
14483 Call _dl_show_scope when DL_DEBUG_SCOPES.
14484 (process_dl_debug): Recognize scopes flag and also set it for all.
14485 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14486 Declare _dl_show_scope.
14488 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14489 (do_dlopen): Pass caller_dlopen to dl_open.
14490 (__libc_dlopen_mode): Initialize caller_dlopen.
14492 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14493 of libc. Make tolower call locale-independent. Optimize a bit by
14494 using isdigit instead of isalnum.
14495 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14497 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14499 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14500 was a dependency or dynamically loaded.
14502 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14504 * intl/l10nflist.c: Allow architecture-specific pop function.
14505 * sysdeps/x86_64/l10nflist.c: New file.
14507 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14510 2011-08-10 Andreas Schwab <schwab@redhat.com>
14512 * include/dirent.h: Add libc_hidden_proto for scandirat and
14513 scandirat64. Don't declare __scandirat64.
14514 * dirent/scandirat.c: Add libc_hidden_def.
14515 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14516 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14518 2011-08-10 David S. Miller <davem@davemloft.net>
14520 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14522 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14523 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14524 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14526 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14528 * Versions.def [libc]: Add GLIBC_2.15.
14529 * dirent/Makefile (routines): Add scandirat and scandirat64.
14530 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14532 * dirent/dirent.h: Declare scandirat and scandirat64.
14533 * dirent/scandirat.c: New file.
14534 * dirent/scandirat64.c: New file.
14535 * sysdeps/wordsize-64/scandirat.c: New file.
14536 * sysdeps/wordsize-64/scandirat64.c: New file.
14537 * dirent/opendir.c: Define opendirat.
14538 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14540 * dirent/scandir64.c: Adjust for scandir.c change.
14541 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14542 __scandirat64, and __scandir_cancel_handler.
14543 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14544 additional parameter and use openat instead of open (outside of ld.so).
14545 Add new __opendir as wrapper around __opendirat.
14546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14547 here without requiring old scandirat implementation.
14549 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14551 * dirent/scandir.c (cancel_handler): Renamed to
14552 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14553 defined. Adjust users.
14554 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14555 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14557 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14559 * string/test-string.h (IMPL): Use __STRING to expand name and then
14562 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14565 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14567 * string/Makefile: Update.
14568 (strop-tests): Append strncat.
14569 * string/test-wcscmp.c: New file.
14570 New comprehensive test for wcscmp.
14571 * string/test-strcmp.c: Update.
14572 (WIDE): New define.
14574 2011-07-22 Andreas Schwab <schwab@redhat.com>
14576 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14579 2011-07-26 Andreas Schwab <schwab@redhat.com>
14581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14582 encoding to ACE if AI_IDN.
14584 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14586 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14587 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14589 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14591 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14592 Fix overflow bug in strncat.
14593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14595 * string/test-strncat.c: Update.
14596 Add new tests for checking overflow bugs.
14598 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14601 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14602 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14603 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14604 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14605 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14606 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14607 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14608 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14611 (USE_AS_STRCAT): Define.
14612 Add strcat and strncat support.
14613 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14615 2011-07-25 Andreas Schwab <schwab@redhat.com>
14617 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14618 __n bigger than INT_MAX+1.
14619 (__strncmp_g): Likewise.
14621 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14623 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14624 * libio/stido.h: Likewise.
14626 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14631 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14632 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14634 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14635 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14638 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14641 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14643 (_dl_x86_64_save_sse): Likewise.
14645 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14649 (_dl_x86_64_save_sse): Likewise.
14651 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14653 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14655 2011-07-21 Andreas Schwab <schwab@redhat.com>
14657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14659 (_dl_x86_64_save_sse): Use correct AVX check.
14661 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14663 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14664 bug in strncpy/strncat.
14665 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14667 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14669 * string/tester.c (test_strcat): Add tests for different alignments
14670 of source and destination.
14671 (test_strncat): Likewise.
14673 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14676 * posix/glob.c (glob): Check passed in values before using them in
14677 expressions to avoid some overflows.
14678 (glob_in_dir): Likewise.
14681 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14682 check for AVX enablement so that we don't crash with old kernels and
14684 * elf/tst-audit4.c: Add same checks here.
14685 * elf/tst-audit6.c: Likewise.
14687 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14689 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14691 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14693 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14695 * po/cs.po: Update from translation team.
14696 * po/bg.po: Likewise.
14698 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14700 * misc/sys/cdefs.h: Add support for const attribute.
14701 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14702 to gnu_dev_{major,minor,makedev} functions.
14704 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14706 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14708 2011-07-20 Andreas Schwab <schwab@redhat.com>
14710 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14713 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14716 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14717 register in order to avoid conflicts with the soft frame pointer
14718 being held in r11 when necessary.
14719 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14720 (INTERNAL_VSYSCALL_NCS): Likewise.
14722 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14724 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14725 * elf/dl-fini.c (_dl_fini): Adjust caller.
14726 * elf/dl-close.c (_dl_close_worker): Likewise.
14727 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14729 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14731 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14732 "aux_cache->nlibs < 0".
14734 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14735 in the reload-count case.
14737 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14740 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14741 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14742 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14743 * sysdeps/x86_64/multiarch/strcat.S: New file.
14744 * sysdeps/x86_64/multiarch/strncat.S: New file.
14745 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14746 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14747 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14748 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14749 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14750 (USE_AS_STRCAT): Define.
14751 Add strcat and strncat support.
14752 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14754 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14755 * string/strncat.c: Update.
14756 (USE_AS_STRNCAT): Define.
14757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14758 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14760 * sysdeps/x86_64/multiarch/init-arch.h
14761 (bit_Prefer_PMINUB_for_stringop): New.
14762 (index_Prefer_PMINUB_for_stringop): Likewise.
14763 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14764 bit_Prefer_PMINUB_for_stringop.
14766 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14768 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14770 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14771 of casting of buffer.
14772 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14773 buffer32 and buffer64.
14774 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14775 writes instead of casting of buffer.
14776 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14778 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14781 2011-07-19 Andreas Schwab <schwab@redhat.com>
14783 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14785 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14787 * nscd/nscd.c (termination_handler): Don't do anything for a database
14788 if it has not yet been initialized.
14790 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14792 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14794 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14796 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14798 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14800 * po/nl.po: Update from translation team.
14801 * po/sv.po: Likewise.
14803 2011-07-16 Roland McGrath <roland@hack.frob.com>
14805 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14806 now disallowed by GCC.
14808 * configure.in (use-default-link): Default to yes if a test -shared
14809 link meets our qualifications.
14810 * configure: Regenerated.
14812 * config.make.in (output-format): New variable.
14813 * configure.in: Check for ld --print-output-format support.
14814 * configure: Regenerated.
14815 * Makerules ($(common-objpfx)format.lds)
14816 [$(output-format) != unknown]: Just use $(output-format),
14817 instead of the linker-script munging.
14819 2011-07-14 Roland McGrath <roland@hack.frob.com>
14821 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14822 of $(common-objpfx)shlib.lds.
14823 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14825 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14826 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14828 * configure.in (-z relro check): Adjust test code to add a large
14829 writable data section after it.
14830 * configure: Regenerated.
14832 2011-07-11 Roland McGrath <roland@hack.frob.com>
14834 * configure.in (-z relro check): Fix test code to make the variable
14836 * configure: Regenerated.
14838 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14840 * nscd/nscd.h (struct traced_file): Define.
14841 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14842 elements. Add traced_files.
14843 (inotify_fd): Declare.
14844 (register_traced_file): Declare.
14845 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14846 (inotify_fd): Export.
14847 (resolv_conf_descr): Remove.
14848 (nscd_init): Move inotify descriptor creation to main.
14849 Don't register files for notification here.
14850 (register_traced_file): New function.
14851 (invalidate_cache): Don't use reset_res to determine whether to call
14852 res_init, go through the list of registered files.
14853 (main_loop_poll): The inotify descriptors are now stored in the
14854 structures for the traced files.
14855 (main_loop_epoll): Likewise
14856 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14857 to __nss_disable_nscd.
14858 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14859 for a database anymore. Check the records for all the registered
14861 * nss/Makefile (libnss_files-routines): Add files-init.
14862 (libnss_db-routines): Add db-init.
14863 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14864 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14865 * nss/nss_db/db-init.c: New file.
14866 * nss/nss_files/files-init.c: New file.
14867 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14868 __nss_lookup_function.
14869 (__nss_lookup_function): Call nss_load_library.
14870 (nss_load_all_libraries): New function.
14871 (__nss_disable_nscd): Take parameter with callback function for files
14872 to register. Set is_nscd. Load all the DSOs for the NSS modules
14873 used for the cached services.
14874 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14875 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14876 options for features to all the files in nscd.
14878 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14880 2011-07-10 Roland McGrath <roland@hack.frob.com>
14882 * csu/elf-init.c (__libc_csu_init): Comment typo.
14884 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14886 * po/pl.po: Update from translation team.
14887 * po/ja.po: Likewise.
14888 * po/ru.po: Likewise.
14889 * po/ko.po: Likewise.
14890 * po/fr.po: Likewise.
14892 2011-07-09 Roland McGrath <roland@hack.frob.com>
14894 * configure.in (.ctors/.dtors header and trailer check):
14895 Use an empirical test on a built program.
14896 * configure: Regenerated.
14898 * configure.in (-z relro check): Use an empirical test on a built DSO.
14899 Detect, but do not require, on ia64.
14900 * configure: Regenerated.
14902 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14903 Update tests that use readelf to use $READELF instead.
14904 * configure: Regenerated.
14906 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14908 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14909 if the result is not used.
14911 2011-07-05 Andreas Jaeger <aj@suse.de>
14914 * stdlib/tst-strtod.c: Add testcase.
14916 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14918 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14919 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14920 The latter has a higher limit. Take additional parameter to pass to
14922 (__pathconf): Pass file to __statfs_link_max.
14923 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14925 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14929 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14930 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14932 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14933 (__statfs_filesize_max): Likewise.
14934 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14936 2011-07-05 Andreas Jaeger <aj@suse.de>
14938 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14940 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14942 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14944 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14947 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14949 * Makefile (strop-tests): Add strncat.
14950 * string/test-strncat.c: New file.
14952 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14954 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14956 2011-06-21 Andreas Jaeger <aj@suse.de>
14958 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14959 Copy rule from iconvdata/Makefile.
14961 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14964 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14965 but no long options are defined, just return 'W'.
14967 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14970 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14972 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14974 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14976 (innetgr): Likewise.
14978 2011-07-05 Roland McGrath <roland@hack.frob.com>
14980 * config.make.in (install_root): Default to $(DESTDIR).
14982 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14984 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14986 2011-07-02 Roland McGrath <roland@hack.frob.com>
14988 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14990 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14991 containing directory rather than embedding absolute directory names.
14993 * scripts/check-local-headers.sh: Rewritten using awk.
14994 Match by word, not by line. Print error messages for matches.
14995 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14997 * Makerules [shlib-lds-flags empty]:
14998 ($(common-objpfx)libc_pic.opts): New target.
14999 ($(common-objpfx)libc_pic.os.clean): New target.
15000 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15002 * config.make.in (OBJCOPY): New variable.
15003 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15004 * configure: Regenerated.
15006 * config.make.in (use-default-link): New variable.
15007 * configure.in (use_default_link): Grok --with-default-link to set it.
15008 * configure: Regenerated.
15009 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15010 (shlib-lds, shlib-lds-flags): Define to empty.
15012 * Makerules (shlib-lds): New variable.
15013 (shlib-lds-flags): New variable.
15014 (build-shlib, build-moduile, build-module-asneeded): Use it.
15015 ($(common-objpfx)libc.so): Use $(shlib-lds).
15016 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15017 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15019 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15020 DT_FLAGS/DT_FLAGS_1 with zero flags.
15022 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15023 linker script munging.
15025 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15027 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15029 * crypt/sha512.c (sha512_process_block): Perform total addition using
15030 128-bit if possible.
15031 (__sha512_finish_ctx): Likewise.
15032 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15034 * crypt/sha256.c (SWAP64): Define.
15035 (sha256_process_block): Perform total addition using 64-bit if
15037 (__sha256_finish_ctx): Likewise.
15039 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15041 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15042 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15043 * nscd/hstcache.c (cache_addhst): Likewise.
15044 * nscd/grpcache.c (cache_addgr): Likewise.
15045 * nscd/aicache.c (addhstaiX): Likewise
15046 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15048 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15050 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15051 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15052 * nscd/hstcache.c (cache_addhst): Likewise.
15053 * nscd/grpcache.c (cache_addgr): Likewise.
15054 * nscd/aicache.c (addhstaiX): Likewise
15056 2011-07-01 Andreas Schwab <schwab@redhat.com>
15058 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15059 domain only when needed.
15061 2011-06-30 Andreas Schwab <schwab@redhat.com>
15063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15064 is always restored.
15066 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15068 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15069 are re-adding the entry.
15070 * nscd/servicescache.c (cache_addserv): Likewise.
15072 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15074 * sysdeps/generic/dl-irel.h: fix protection against multiple
15076 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15078 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15081 * malloc/memusage.sh: Fix quoting in message.
15082 * debug/xtrace.sh: Likewise.
15084 * configure.in: Remove support for --experimental-malloc option, make
15086 * config.make.in: Likewise.
15087 * malloc/Makefile: Likewise.
15089 2011-06-27 Andreas Schwab <schwab@redhat.com>
15091 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15092 two-byte characters.
15094 2011-06-27 Roland McGrath <roland@hack.frob.com>
15096 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15097 AC_CACHE_CHECK invocation.
15098 * configure: Regenerated.
15100 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15102 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15105 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15106 bit from old_res_options.
15108 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15110 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15111 value type for setfct.
15113 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15116 __gettimeofday instead of gettimeofday.
15118 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15120 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15122 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15124 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15129 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15132 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15133 strcpy-sse2-unaligned strncpy-sse2-unaligned
15134 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15135 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15136 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15137 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15138 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15139 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15140 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15141 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15142 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15143 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15144 (STRCPY): Support SSE2 and SSSE3 versions.
15146 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15149 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15150 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15151 kernels which artificially limit size of requests.
15153 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15156 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15157 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15158 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15159 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15160 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15161 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15162 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15163 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15164 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15165 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15166 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15167 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15168 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15169 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15171 Enable unaligned load optimization for Intel Core i3, i5 and i7
15173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15175 (index_Fast_Unaligned_Load): Define.
15176 (HAS_FAST_UNALIGNED_LOAD): Define.
15178 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15180 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15182 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15185 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15186 until it is clear that the information is realy needed.
15187 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15189 2011-06-22 Andreas Schwab <schwab@redhat.com>
15191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15193 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15196 /sys/devices/system/cpu/online if it is usable.
15198 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15199 reading the information from the /proc filesystem to once a second.
15201 2011-06-21 Andreas Jaeger <aj@suse.de>
15203 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15204 NULL after inclusion of kernel headers.
15206 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15208 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15209 calls to internal_setent.
15212 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15213 addresses using gethostbyname4_r ignore IPv4 addresses.
15215 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15216 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15218 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15220 2011-06-20 David S. Miller <davem@davemloft.net>
15222 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15224 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15226 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15227 (elf_irel): Use it.
15228 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15229 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15230 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15231 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15232 * sysdeps/x86_64/dl-irel.h: Likewise.
15234 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15235 * elf/dl-sym.c: Likewise.
15237 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15239 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15240 need to dereference resplen2.
15242 2011-06-14 Andreas Schwab <schwab@redhat.com>
15244 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15246 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15248 * Makeconfig: Define vardbdir and inst_vardbdir.
15249 * nss/Makefile: Add rules to install db-Makefile.
15251 * nss/nss_db/db-XXX.c: Cleanup.
15253 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15254 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15256 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15257 * nss/makedb.c: Implement -g option to specify that value strings
15258 are generated and should not be added to table iterated over for
15260 * nss/nss_db/db-initgroups.c: New file.
15262 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15265 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15266 (internal_getgrouplist): Adjust to name change.
15267 Update use_initgroups_entry if this is not the first call.
15268 * nss/databases.def: Add initgroups entry.
15270 * nss/makedb.c (compute_tables): Check result of multiple hash table
15271 sizes to minimize maximum chain length.
15273 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15275 * Versions.def: Add entry for libnss_db.
15276 * shlib-versions: Likewise.
15277 * nss/Makefile: Add rules to build libnss_db.
15278 * nss/Versions: Add libnss_db information. Organize libnss_files
15280 * nss/db-Makefile: Add gshadow support. Change rules for the new
15281 makedb progra. Some minor improvements to generate smaller files.
15282 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15284 * nss/makedb.c: ...here.
15285 Improve database format to be smaller and require less memory at
15287 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15289 * nss/nss_db/db-netgrp.c: Likewise.
15290 * nss/nss_db/db-open.c: Likewise.
15291 * nss/nss_files/flies-XXX.x: Adjust comments.
15292 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15293 * nss/nss_files/files-grp.c: Likewise.
15294 * nss/nss_files/files-hosts.c: Likewise.
15295 * nss/nss_files/files-network.c: Likewise.
15296 * nss/nss_files/files-proto.c: Likewise.
15297 * nss/nss_files/files-pwd.c: Likewise.
15298 * nss/nss_files/files-rpc.c: Likewise.
15299 * nss/nss_files/files-service.c: Likewise.
15300 * nss/nss_files/files-sgrp.c: Likewise.
15301 * nss/nss_files/files-spwd.c: Likewise.
15302 * nss/nss_db/db-alias.c: Removed.
15303 * nss/nss_db/dummy-db.h: Removed.
15305 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15307 * nss/makedb.c: Rewritten to not use database library.
15308 * nss/Makefile: Update to build new makedb program.
15310 2011-06-14 Andreas Jaeger <aj@suse.de>
15312 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15313 memset declaration.
15315 2011-06-10 Andreas Schwab <schwab@redhat.com>
15317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15320 2011-06-10 Roland McGrath <roland@hack.frob.com>
15322 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15323 * elf/Makefile ($(objpfx)ld.so): Likewise.
15325 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15326 Don't list ld.so twice in dependencies.
15328 * posix/bug-regex31.c: Include <stdlib.h>.
15330 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15332 * nis/nss_compat/compat-spwd.c
15333 (getspent_next_nss_netgr): Remove unused variable.
15334 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15336 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15337 nonmembers" output to use the right array.
15339 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15341 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15343 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15344 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15345 * catgets/gencat.c (read_input_file): Likewise.
15346 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15348 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15349 variable definition inside #if's controlling its use.
15351 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15353 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15355 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15357 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15360 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15362 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15363 * configure: Regenerated.
15365 * Makerules: Revert last change.
15366 * elf/Makefile: Likewise.
15368 2011-06-09 Roland McGrath <roland@hack.frob.com>
15370 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15371 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15372 (reloc-link): Likewise.
15374 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15376 * elf/Makefile: Add rules to build pldd.
15377 * elf/pldd.c: New file.
15378 * elf/pldd-xx.c: New file.
15380 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15382 * version.h: Update for 2.15 development version.
15384 2011-06-07 David S. Miller <davem@davemloft.net>
15386 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15388 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15389 elf_machine_lazy_rel): Likewise.
15390 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15392 elf_machine_lazy_rel): Likewise.
15393 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15394 dl_hwcap via passed in argument.
15395 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15398 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15400 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15402 2011-06-06 Roland McGrath <roland@hack.frob.com>
15405 * manual/fdl-1.1.texi: New file, verbatim from:
15406 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15407 * manual/lgpl-2.1.texi: New file, verbatim from:
15408 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15409 * manual/Makefile (licenses): New variable, list those new file names.
15411 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15413 * manual/fdl.texi: File removed.
15414 * manual/lesser.texi: File removed.
15415 * manual/libc.texinfo (Copying, Documentation License):
15416 Use new @include file names, put @appendix directive before @include.
15418 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15421 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15422 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15423 (mq_open): Add __NTH.
15425 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15428 Assume Intel Core i3/i5/i7 processor if AVX is available.
15430 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15432 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15435 2011-05-31 Andreas Schwab <schwab@redhat.com>
15437 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15438 memory. Use alloca_account. Fix memory leak when retrying.
15440 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15442 * version.h (RELEASE): Bump for 2.14 release.
15443 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15445 * config.make.in (RANLIB): Remove entry.
15447 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15449 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15450 (libc.pot): Work around missing support for .ksh extension in xgettext.
15453 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15454 if both request failed.
15455 (send_dg): In case of server errors clear resplen or *resplen2.
15458 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15459 when there are multiple maps.
15460 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15461 (_dl_fini): Remove test here.
15463 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15465 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15468 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15469 bit from old_res_options.
15470 (gaih_inet): Likewise.
15473 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15476 * resolv/res_init.c (res_setoptions): Make the code more compact.
15479 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15483 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15485 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15488 * malloc/malloc.h: Declare malloc hook variables as volatile.
15490 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15494 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15495 raise in the comment.
15496 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15497 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15498 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15500 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15503 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15504 grow the buffers more if it already has to be sufficient.
15505 (build_wcs_upper_buffer): Likewise.
15506 * posix/regexec.c (check_matching): Likewise.
15507 (clean_state_log_if_needed): Likewise.
15508 (extend_buffers): Don't enlarge buffers beyond size of the input
15510 Patches mostly by Emil Wojak <emil@wojak.eu>.
15511 * posix/bug-regex32.c: New file.
15512 * posix/Makefile (tests): Add bug-regex32.
15514 * locale/findlocale.c (_nl_find_locale): Return right away if
15515 _nl_explode_name failed.
15516 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15518 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15520 * debug/xtrace.sh: Unify messages.
15521 * malloc/memusage.sh: Likewise.
15524 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15525 time symbol from vDSO. Substitute with vsyscall if not available.
15526 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15529 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15530 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15531 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15532 Add sendmmsg and internal_sendmmsg.
15533 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15534 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15535 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15537 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15538 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15539 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15541 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15544 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15545 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15547 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15551 * iconvdata/Makefile (tests): Add bug-iconv9.
15552 * iconvdata/bug-iconv9.c: New file.
15554 2011-05-27 Andreas Schwab <schwab@redhat.com>
15557 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15559 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15561 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15562 (struct user_regs_struct): Change intcs field back to cs.
15564 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15566 * po/ja.po: Update from translation team.
15568 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15571 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15572 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15574 2011-05-20 Andreas Schwab <schwab@redhat.com>
15576 * stdlib/longlong.h: Update from GCC.
15578 2011-05-23 Andreas Schwab <schwab@redhat.com>
15580 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15582 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15583 Add parameter name.
15584 (__sysconf): Pass it down.
15586 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15589 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15591 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15592 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15593 add in in __libc_use_alloca calls. Adjust callers.
15594 (glob): Use malloc in some situations.
15596 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15597 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15600 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15602 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15603 and CLOCK_BOOTTIME_ALARM.
15606 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15609 * string/_strerror.c (__strerror_r): Print negative errors as signed
15613 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15614 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15615 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15617 * configure.in: Fix typo in redirection and correct removal of test
15618 files in two cases.
15621 * locale/setlocale.c (new_composite_name): Fix test to check for
15622 identical name of all categories.
15625 * libio/filedoalloc.c (local_isatty): New function.
15626 (_IO_file_doallocate): Use local_isatty.
15627 * stdio-common/perror.c (perror): In case a new stream is used
15628 forward the stream error.
15629 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15632 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15637 * include/alloca.h (extend_alloca_account): Define.
15640 * posix/regex.h: Fix comments with documentation of user-accessible
15641 fields after compilation and describe correct free'ing of pattern
15642 after re_compile_pattern.
15643 Patch by Reuben Thomas <rrt@sc3d.org>.
15645 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15647 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15648 and -mno-altivec to prevent the compiler from using Altivec and/or
15649 VSX instructions when the corresponding registers are not available.
15651 2011-05-19 Andreas Schwab <schwab@redhat.com>
15653 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15655 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15657 * libio/freopen.c (freopen): Use __dup2, not dup2.
15658 * libio/freopen64.c (freopen64): Likewise.
15660 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15663 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15664 * math/Makefile (tests): Add test-powl.
15665 (CFLAGS-test-powl.c): Define.
15666 * math/test-powl.c: New file.
15668 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15670 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15672 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15675 * iconvdata/gb18030.c: Update to GB18020-2005.
15677 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15679 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15680 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15681 Patch by Aharon Robbins <arnold@skeeve.com>.
15684 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15688 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15689 through underflows.
15692 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15693 point to strings before performing equality test for error_one_per_line
15697 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15700 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15701 (struct user_fpregs_struct): Avoid __uint*_t types.
15704 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15705 symbol info. Use it instead of calling _dl_addr locally.
15706 (lock_and_info): New function.
15707 (tr_freehook): Call lock_and_info and pass symbol info as additional
15708 parameter to tr_where.
15709 (tr_mallochook): Likewise.
15710 (tr_reallochook): Likewise.
15711 (tr_memalignhook): Likewise.
15713 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15714 used and couldn't be at all thread-safe.
15716 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15718 * libio/freopen.c (freopen): Don't close old file descriptor
15719 before the new one is opened. Instead dup the new file descriptor
15720 to the old one after the new stream is created.
15721 * libio/freopen64.c (freopen64): Likewise.
15722 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15723 * libio/fileops.c (_IO_new_file_close_it): Handle new
15724 _IO_FLAGS2_NOCLOSE flag.
15725 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15726 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15727 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15728 _IO_FLAGS2_NOCLOSE flag.
15729 * include/unistd.h: Add hidden_proto for dup3.
15730 Define __have_dup3.
15731 * io/dup3.c: Define hidden symbol.
15732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15735 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15736 when an incomplete long option is used.
15737 * posix/tst-getopt_long1.c: New file.
15738 * posix/Makefile (tests): Add tst-getopt_long1.
15741 * scripts/config.guess: Update from autoconf-2.68.
15742 * scripts/config.sub: Likewise.
15745 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15747 (has_cpuclock): ...this. New function.
15748 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15749 macro here based on has_cpuclock code.
15752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15753 First byte (not low byte) is now always NUL.
15754 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15757 Use non-cancelable interfaces.
15760 * locale/iso-639.def: Add entry for Sorani.
15763 * include/stdlib.h: Move include protection to the right place.
15764 Define abort_msg_s. Declare __abort_msg with it.
15765 * stdlib/abort.c (__abort_msg): Adjust type.
15766 * assert/assert.c (__assert_fail_base): New function. Majority
15767 of code from __assert_fail. Allocate memory for __abort_msg with
15769 (__assert_fail): Now call __assert_fail_base.
15770 * assert/assert-perr.c: Remove bulk of implementation. Use
15771 __assert_fail_base.
15772 * include/assert.hL Declare __assert_fail_base.
15773 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15775 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15777 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15781 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15782 until all modules are registered in the DTV.
15783 * elf/Makefile: Add rules to build and run tst-tls19.
15784 * elf/tst-tls19.c: New file.
15785 * elf/tst-tls19mod1.c: New file.
15786 * elf/tst-tls19mod2.c: New file.
15787 * elf/tst-tls19mod3.c: New file.
15788 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15791 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15795 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15796 two-byte sequence errors.
15797 * iconvdata/Makefile (tests): Add bug-iconv8.
15798 * iconvdata/bug-iconv8.c: New file.
15801 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15804 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15807 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15808 (dummy_getcfa): New function.
15809 (init): Get _Unwind_GetCFA address, use dummy if not found.
15810 (backtrace_helper): In recursion check, also check whether CFA changes.
15811 (__backtrace): Completely initialize arg.
15813 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15814 storing incomplete byte sequence in state object. Avoid testing for
15815 guaranteed too small input if we know there is enough data available.
15817 2011-05-11 Andreas Schwab <schwab@redhat.com>
15819 * Makeconfig (+link-pie): Indent.
15820 * Rules (binaries-pie): Define if $(have-fpie) and
15822 (binaries-shared): Also filter out $(binaries-pie).
15823 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15824 * nscd/Makefile (others-pie): Add nscd.
15825 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15826 ($(objpfx)nscd): Remove command override.
15827 * login/Makefile (others-pie): Add pt_chown.
15828 ($(objpfx)pt_chown): Remove command override.
15829 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15830 remove command overrides.
15832 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15834 * libio/tst_putwc.c: Fix error messages.
15837 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15838 currently writing and seek to current position when not.
15839 * libio/Makefile (tests): Add bug-fclose1.
15840 * libio/bug-fclose1.c: New file.
15842 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15845 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15846 don't set DF_1_NODELETE here.
15847 (do_lookup_x): When entering new entry test for copy relocation
15848 and if necessary set DF_1_NODELETE flag.
15849 * elf/tst-unique4.cc: New file.
15850 * elf/tst-unique4.h: New file.
15851 * elf/tst-unique4lib.cc: New file.
15852 * elf/Makefile: Add rules to build and run tst-unique4.
15853 Patch by Piotr Bury <pbury@goahead.com>.
15855 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15858 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15861 * misc/mntent_r.c (addmntent): Flush the stream after the output
15864 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15865 (is_trusted_path_normalize): Skip initial colon. Append slash
15866 to empty buffer. Duplicate is_trusted_path code but allow
15867 constructed patch to be prefix.
15868 (is_dst): Allow $ORIGIN followed by /.
15869 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15870 Correct testing of result of is_trusted_path_normalize
15871 (decompose_rpath): Fix warning.
15873 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15876 * grp/initgroups.c (internal_getgrouplist): When we found the service
15877 list through the initgroups entry in nsswitch.conf do not always
15878 continue on a successful lookup. Don't always use the
15879 __nss_group_database value if it is set.
15880 * nss/nsswitch.conf (initgroups): Change action for successful db
15881 lookup to continue for compatibility.
15883 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15886 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15888 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15890 * iconvdata/tst-tables.sh: Likewise.
15891 * iconvdata/cp770.c: New file.
15892 * iconvdata/cp771.c: New file.
15893 * iconvdata/cp772.c: New file.
15894 * iconvdata/cp773.c: New file.
15895 * iconvdata/cp774.c: New file.
15896 * iconvdata/testdata/CP770: New file.
15897 * iconvdata/testdata/CP770..UTF8: New file.
15898 * iconvdata/testdata/CP771: New file.
15899 * iconvdata/testdata/CP771..UTF8: New file.
15900 * iconvdata/testdata/CP772: New file.
15901 * iconvdata/testdata/CP772..UTF8: New file.
15902 * iconvdata/testdata/CP773: New file.
15903 * iconvdata/testdata/CP773..UTF8: New file.
15904 * iconvdata/testdata/CP774: New file.
15905 * iconvdata/testdata/CP774..UTF8: New file.
15907 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15909 * iconvdata/gen-8bit-gap.sh: Likewise.
15910 * iconvdata/gen-8bit.sh: Likewise.
15912 * locale/iso-639.def: Add ary entry.
15915 * locale/C-translit.h.in: Add U20A1 transliteration.
15918 * locale/iso-639.def: Add wae entry.
15919 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15922 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15926 * locale/C-translit.h.in: Add entry for U20B9.
15927 Patch by pravin.d.s@gmail.com.
15929 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15932 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15933 ENAMETOOLONG use generic getcwd.
15934 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15935 in rtld. Use *stat64.
15936 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15937 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15938 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15939 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15940 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15941 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15942 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15943 __fstatat64 macros.
15944 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15945 * dirent/rewinddir.c: Add libc_hidden_def.
15946 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15947 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15949 * include/dirent.h (__alloc_dir): Add flags parameter.
15950 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15951 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15953 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15954 from fdopendir if O_CLOEXEC is already set.
15956 2011-03-15 Alan Modra <amodra@gmail.com>
15958 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15959 l_tls_firstbyte_offset non-zero. Save padding offset in
15960 l_tls_firstbyte_offset for later use.
15961 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15962 freeing static tls block.
15964 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15966 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15967 where #ifdef was intended. The intent is to prevent ARG_MAX from
15968 being defined by the kernel headers.
15970 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15973 * resolv/resolv.h: Define RES_NOTLDQUERY.
15974 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15975 no-tld-query and set RES_NOTLDQUERY.
15976 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15977 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15978 modern BIND to search name as TLD unless forbidden.
15980 2011-05-07 Petr Baudis <pasky@suse.cz>
15981 Ulrich Drepper <drepper@gmail.com>
15984 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15985 (is_trusted_path): ...to here.
15986 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15987 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15988 using is_trusted_path_normalize() in setuid scripts.
15990 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15992 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15993 __BEGIN/__END_DECLS.
15995 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15997 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15998 NSS_STATUS_NOTFOUND if no record was found.
16000 2011-05-05 Andreas Schwab <schwab@redhat.com>
16002 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16003 (headers-not-in-tirpc): Remove rpc/netdb.h
16004 * resolv/netdb.h: Revert last change.
16006 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16008 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16009 circular dependency between libgcc.a and libc.a.
16011 2011-05-05 Andreas Schwab <schwab@redhat.com>
16013 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16014 * nis/Makefile: Don't install rpcsvc/*.
16015 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16016 instead of <rpc/types.h>.
16017 (MAXHOSTNAMELEN): Define.
16019 2011-05-03 Andreas Schwab <schwab@redhat.com>
16021 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16023 2011-04-28 Maciej Babinski <mbabinski@google.com>
16026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16027 gethostbyname4_r when IPv6 results are possible.
16029 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16032 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16033 _PC_PIPE_BUF handling.
16035 2011-04-30 Bruno Haible <bruno@clisp.org>
16038 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16039 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16041 * inet/getnameinfo.c (getnameinfo): Likewise.
16043 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16045 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16046 to groups setting in database lookup.
16047 * nss/nsswitch.conf: Add initgroups entry.
16049 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16052 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16054 Patch by Eric Blake <eblake@redhat.com>.
16056 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16058 * sunrpc/Makefile (need-export-routines): Add svc_run.
16059 (routines): Remove svc_run.
16060 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16061 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16062 * sunrpc/svc_run.c (svc_run): Likewise.
16063 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16065 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16068 problem in reallocation in last patch.
16070 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16072 * sunrpc/Makefile: Move inclusion of Rules.
16074 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16076 * nss/nss_files/files-initgroups.c: New file.
16077 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16078 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16079 _nss_files_initgroups_dyn.
16081 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16083 * elf/elf.h (R_ARM_IRELATIVE): Define.
16085 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16087 * po/ru.po: Update from translation team.
16089 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16091 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16094 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16097 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16098 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16101 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16103 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16105 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16107 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16109 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16111 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16114 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16116 * stdlib/bug-getcontext.c: New file.
16117 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16119 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16121 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16122 instructions into .machine "z9-109".
16123 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16124 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16126 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16128 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16129 between environment variables and auxiliary vector.
16131 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16133 * Makefile: Add rules to build linkobj/libc.so.
16134 * include/libc-symbols.h: Define libc_hidden_nolink.
16135 * include/rpc/auth.h: Mark functions which are to be hidden.
16136 * include/rpc/auth_des.h: Likewise.
16137 * include/rpc/auth_unix.h: Likewise.
16138 * include/rpc/clnt.h: Likewise.
16139 * include/rpc/des_crypt.h: Likewise.
16140 * include/rpc/key_prot.h: Likewise.
16141 * include/rpc/pmap_clnt.h: Likewise.
16142 * include/rpc/pmap_prot.h: Likewise.
16143 * include/rpc/pmap_rmt.h: Likewise.
16144 * include/rpc/rpc_msg.h: Likewise.
16145 * include/rpc/svc.h: Likewise.
16146 * include/rpc/svc_auth.h: Likewise.
16147 * include/rpc/xdr.h: Likewise.
16148 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16149 * nss/Makefile: Likewise.
16150 * sunrpc/Makefile: Don't install headers. Build library with normal
16151 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16152 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16153 for the compat linking library. Remove use of INTDEF/INTUSE.
16154 * sunrpc/auth_none.c: Likewise.
16155 * sunrpc/auth_unix.c: Likewise.
16156 * sunrpc/authdes_prot.c: Likewise.
16157 * sunrpc/authuxprot.c: Likewise.
16158 * sunrpc/clnt_gen.c: Likewise.
16159 * sunrpc/clnt_perr.c: Likewise.
16160 * sunrpc/clnt_raw.c: Likewise.
16161 * sunrpc/clnt_simp.c: Likewise.
16162 * sunrpc/clnt_tcp.c: Likewise.
16163 * sunrpc/clnt_udp.c: Likewise.
16164 * sunrpc/clnt_unix.c: Likewise.
16165 * sunrpc/des_crypt.c: Likewise.
16166 * sunrpc/des_soft.c: Likewise.
16167 * sunrpc/get_myaddr.c: Likewise.
16168 * sunrpc/key_call.c: Likewise.
16169 * sunrpc/key_prot.c: Likewise.
16170 * sunrpc/netname.c: Likewise.
16171 * sunrpc/pm_getmaps.c: Likewise.
16172 * sunrpc/pm_getport.c: Likewise.
16173 * sunrpc/pmap_clnt.c: Likewise.
16174 * sunrpc/pmap_prot.c: Likewise.
16175 * sunrpc/pmap_prot2.c: Likewise.
16176 * sunrpc/pmap_rmt.c: Likewise.
16177 * sunrpc/publickey.c: Likewise.
16178 * sunrpc/rpc_cmsg.c: Likewise.
16179 * sunrpc/rpc_common.c: Likewise.
16180 * sunrpc/rpc_dtable.c: Likewise.
16181 * sunrpc/rpc_prot.c: Likewise.
16182 * sunrpc/rpc_thread.c: Likewise.
16183 * sunrpc/rtime.c: Likewise.
16184 * sunrpc/svc.c: Likewise.
16185 * sunrpc/svc_auth.c: Likewise.
16186 * sunrpc/svc_authux.c: Likewise.
16187 * sunrpc/svc_raw.c: Likewise.
16188 * sunrpc/svc_run.c: Likewise.
16189 * sunrpc/svc_simple.c: Likewise.
16190 * sunrpc/svc_tcp.c: Likewise.
16191 * sunrpc/svc_udp.c: Likewise.
16192 * sunrpc/svc_unix.c: Likewise.
16193 * sunrpc/svcauth_des.c: Likewise.
16194 * sunrpc/xcrypt.c: Likewise.
16195 * sunrpc/xdr.c: Likewise.
16196 * sunrpc/xdr_array.c: Likewise.
16197 * sunrpc/xdr_float.c: Likewise.
16198 * sunrpc/xdr_intXX_t.c: Likewise.
16199 * sunrpc/xdr_mem.c: Likewise.
16200 * sunrpc/xdr_rec.c: Likewise.
16201 * sunrpc/xdr_ref.c: Likewise.
16202 * sunrpc/xdr_sizeof.c: Likewise.
16203 * sunrpc/xdr_stdio.c: Likewise.
16205 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16208 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16209 * sysdeps/ia64/dl-tls.h: Likewise.
16210 * sysdeps/powerpc/dl-tls.h: Likewise.
16211 * sysdeps/s390/dl-tls.h: Likewise.
16212 * sysdeps/sh/dl-tls.h: Likewise.
16213 * sysdeps/sparc/dl-tls.h: Likewise.
16214 * sysdeps/x86_64/dl-tls.h: Likewise.
16215 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16217 2011-03-14 Andreas Schwab <schwab@redhat.com>
16219 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16220 rpath element also skip the following colon.
16221 (expand_dynamic_string_token): Add is_path parameter and pass
16222 down to DL_DST_REQUIRED and _dl_dst_substitute.
16223 (decompose_rpath): Call expand_dynamic_string_token with
16224 non-zero is_path. Ignore empty rpaths.
16225 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16228 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16233 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16236 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16237 Patch by Filipe David Manana <fdmanana@apache.org>.
16239 2011-04-07 Andreas Schwab <schwab@redhat.com>
16241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16242 Maintain aligned stack.
16243 (CHECK_RSP): Remove unused macro.
16245 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16247 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16248 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16250 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16252 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16254 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16256 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16259 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16260 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16261 * sysdeps/x86_64/memmove.c: New file.
16262 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16263 (memcpy): Renamed to ...
16264 (__new_memcpy): This.
16265 (memcpy): Provide GLIBC_2_14 memcpy.
16266 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16267 (memcpy): Provide GLIBC_2_2_5 memcpy.
16269 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16272 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16274 2011-03-30 Andreas Schwab <schwab@redhat.com>
16276 * misc/syncfs.c: New file.
16277 * misc/Makefile (routines): Add syncfs.
16278 * posix/unistd.h: Declare syncfs.
16279 * sysdeps/unix/syscalls.list: Add syncfs.
16281 2011-04-01 Andreas Schwab <schwab@redhat.com>
16283 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16285 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16286 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16290 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16293 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16295 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16297 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16303 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16304 sync_file_range.c with -fexceptions.
16305 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16306 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16307 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16308 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16309 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16310 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16311 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16312 sync_file_range as cancellation point
16313 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16314 now a wrapper around __call_sync_file_range with cancellation handling.
16315 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16316 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16317 function name to __call_sync_file_range.
16318 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16319 Add call_sync_file_range.
16321 2011-04-01 Andreas Schwab <schwab@redhat.com>
16323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16326 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16328 * iconv/iconv.h: Fix typo in comment.
16329 * io/fcntl.h: Likewise.
16330 * libio/stdio.h: Likewise.
16331 * posix/spawn.h: Likewise.
16332 * posix/unistd.h: Likewise.
16333 * stdlib/stdlib.h: Likewise.
16334 * time/time.h: Likewise.
16335 * wcsmbs/wchar.h: Likewise.
16337 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16338 open_by_handle): Add.
16339 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16340 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16341 Augment a few comments.
16342 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16346 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16347 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16350 * io/fcntl.h (AT_EMPTY_PATH): Define.
16352 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16354 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16355 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16356 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16358 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16359 * Versions.def: Add GLIBC_2.14.
16360 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16363 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16365 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16367 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16369 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16372 * string/test-strncmp.c (do_page_test): New function.
16373 (check2): Likewise.
16374 (test_main): Call check2.
16375 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16377 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16380 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16381 Handle cache information in CPU leaf 4.
16382 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16384 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16387 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16388 character representation.
16389 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16391 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16393 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16394 END(__isnan) to END(__isnanf) to match function entry point/label
16395 EALIGN(__isnanf,...).
16397 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16399 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16401 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16404 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16405 copy from the symbol referenced in the relocation to initialize the
16407 Patch by Piotr Bury <pbury@goahead.com>.
16408 * elf/Makefile: Add rules to build and tst-unique3.
16409 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16410 * elf/tst-unique3.cc: New file.
16411 * elf/tst-unique3.h: New file.
16412 * elf/tst-unique3lib.cc: New file.
16413 * elf/tst-unique3lib2.cc: New file.
16415 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16417 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16419 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16420 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16423 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16425 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16426 to-be-loaded object along a path to loader is ld.so.
16428 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16429 Ulrich Drepper <drepper@gmail.com>
16431 * sysdeps/x86_64/memset.S: After aligning destination, code
16432 branches to different locations depending on the value of
16433 misalignment, when multiarch is enabled. Fix this.
16435 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16437 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16438 Set _x86_64_preferred_memory_instruction for AMD processsors.
16439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16440 Set bit_Prefer_SSE_for_memop for AMD processors.
16442 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16444 * libio/fmemopen.c (fmemopen): Optimize a bit.
16446 2011-03-03 Andreas Schwab <schwab@redhat.com>
16448 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16450 2011-03-03 Roland McGrath <roland@redhat.com>
16452 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16454 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16456 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16457 __bzero_ultra1 instead of __memset_ultra1.
16459 2011-02-23 Andreas Schwab <schwab@redhat.com>
16460 Ulrich Drepper <drepper@gmail.com>
16463 * include/link.h (struct link_map): Add l_orig_initfini.
16464 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16465 returning unsuccessfully.
16466 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16467 close of a file loaded at startup, restore the original l_initfini
16469 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16470 list, store the pointer.
16471 * elf/Makefile ($(objpfx)noload-mem): New rule.
16472 (noload-ENV): Define.
16473 (tests): Add $(objpfx)noload-mem.
16474 * elf/noload.c: Include <memcheck.h>.
16475 (main): Call mtrace. Close all opened handles.
16477 2011-02-17 Andreas Schwab <schwab@redhat.com>
16480 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16481 dependencies are missing.
16483 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16485 Fix __if_freereq crash: Unlike the generic version which uses free,
16487 * sysdeps/mach/hurd/ifreq.h: New file.
16489 2011-01-27 Petr Baudis <pasky@suse.cz>
16490 Ulrich Drepper <drepper@gmail.com>
16493 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16494 to extend_alloca().
16495 * stdio-common/bug23.c: New file.
16496 * stdio-common/Makefile (tests): Add bug23.
16498 2010-09-28 Andreas Schwab <schwab@redhat.com>
16499 Ulrich Drepper <drepper@gmail.com>
16502 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16503 before performing relro protection. At old place add assertion
16504 to make sure nothing changed.
16506 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16507 Glauber de Oliveira Costa <glommer@gmail.com>
16509 * elf/elf.h: Add new ARM TLS relocs.
16511 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16514 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16516 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16518 * sysdeps/wordsize-64/tst-writev.c: New file.
16520 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16522 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16523 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16524 insns in _dl_start to prevent a TOC reference before relocs are
16527 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16530 * Makeconfig: Remove RANLIB definition.
16531 * Makerules: Don't use RANLIB.
16532 * aclocal.m4: Remove ranlib test.
16533 * configure.in: No need to check for ranlib.
16534 * elf/rtld-Rules: Don't use RANLIB.
16536 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16538 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16540 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16541 inclusion protection macro.
16543 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16544 SIGRTMIN and SIGRTMAX and print information in that case only when
16545 SIGRTMIN is defined.
16547 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16549 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16550 arginfo fn returning -1.
16552 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16553 and thousands string is zero terminated.
16555 2011-02-03 Andreas Schwab <schwab@redhat.com>
16557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16558 sysdeps/unix/sysv/linux/bits/socket.h.
16560 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16562 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16563 (__CPU_COUNT): Remove old macros.
16564 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16565 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16566 (__CPU_ALLOC, __CPU_FREE): Add macros.
16567 (__sched_cpualloc, __sched_cpufree): Add declarations.
16569 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16571 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16572 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16573 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16574 (readdhstai): Return value of addhstaiX call.
16575 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16576 (addgrbyX): Return value returned by cache_addgr.
16577 (readdgrbyname): Return value returned by addgrbyX.
16578 (readdgrbygid): Likewise.
16579 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16580 (addpwbyX): Return value returned by cache_addpw.
16581 (readdpwbyname): Return value returned by addhstbyX.
16582 (readdpwbyuid): Likewise.
16583 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16584 (addservbyX): Return value returned by cache_addserv.
16585 (readdservbyname): Return value returned by addservbyX:
16586 (readdservbyport): Likewise.
16587 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16588 (addhstbyX): Return value returned by cache_addhst.
16589 (readdhstbyname): Return value returned by addhstbyX.
16590 (readdhstbyaddr): Likewise.
16591 (readdhstbynamev6): Likewise.
16592 (readdhstbyaddrv6): Likewise.
16593 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16594 (readdinitgroups): Return value returned by addinitgroupsX.
16595 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16596 (prune_cache): Keep track of timeout value of re-added entries.
16597 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16598 * nscd/nscd.h: Adjust prototypes of readd* functions.
16600 2011-02-04 Roland McGrath <roland@redhat.com>
16602 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16603 (nis_stats): Likewise.
16604 * nis/nis_modify.c (nis_modify): Likewise.
16605 * nis/nis_remove.c (nis_remove): Likewise.
16606 * nis/nis_add.c (nis_add): Likewise.
16608 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16610 * posix/fnmatch_loop.c: Add some consts.
16612 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16614 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16617 * config.make.in (config-cflags-novzeroupper): Define.
16618 * configure.in: Substitute libc_cv_cc_novzeroupper.
16619 * elf/Makefile (AVX-CFLAGS): Define.
16620 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16621 (CFLAGS-tst-auditmod4a.c): Likewise.
16622 (CFLAGS-tst-auditmod4b.c): Likewise.
16623 (CFLAGS-tst-auditmod6b.c): Likewise.
16624 (CFLAGS-tst-auditmod6c.c): Likewise.
16625 (CFLAGS-tst-auditmod7b.c): Likewise.
16626 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16628 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16630 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16631 function to the callback.
16632 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16634 2011-02-02 Andreas Schwab <schwab@redhat.com>
16636 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16639 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16642 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16644 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16646 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16649 * elf/Makefile: Add rules to build and run new test.
16650 * elf/tst-initorder.c: New file.
16651 * elf/tst-initorder.exp: New file.
16652 * elf/tst-initordera1.c: New file.
16653 * elf/tst-initordera2.c: New file.
16654 * elf/tst-initordera3.c: New file.
16655 * elf/tst-initordera4.c: New file.
16656 * elf/tst-initorderb1.c: New file.
16657 * elf/tst-initorderb2.c: New file.
16658 * elf/tst-order-a1.c: New file.
16659 * elf/tst-order-a2.c: New file.
16660 * elf/tst-order-a3.c: New file.
16661 * elf/tst-order-a4.c: New file.
16662 * elf/tst-order-b1.c: New file.
16663 * elf/tst-order-b2.c: New file.
16664 * elf/tst-order-main.c: New file.
16665 New test case by George Gensure <werkt0@gmail.com>.
16667 2010-10-01 Andreas Schwab <schwab@redhat.com>
16669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16670 decoding ACE if AI_CANONIDN.
16672 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16674 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16676 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16678 * version.h (RELEASE): Bump for 2.13 release.
16679 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16681 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16683 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16685 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16686 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16687 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16688 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16689 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16690 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16692 * posix/getconf.c: Update copyright year.
16693 * catgets/gencat.c: Likewise.
16694 * csu/version.c: Likewise.
16695 * debug/catchsegv.sh: Likewise.
16696 * debug/xtrace.sh: Likewise.
16697 * elf/ldconfig.c: Likewise.
16698 * elf/ldd.bash.in: Likewise.
16699 * elf/sprof.c (print_version): Likewise.
16700 * iconv/iconv_prog.c: Likewise.
16701 * iconv/iconvconfig.c: Likewise.
16702 * locale/programs/locale.c: Likewise.
16703 * locale/programs/localedef.c: Likewise.
16704 * malloc/memusage.sh: Likewise.
16705 * malloc/mtrace.pl: Likewise.
16706 * nscd/nscd.c (print_version): Likewise.
16707 * nss/getent.c: Likewise.
16709 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16710 PF_CAIF, and PF_ALG.
16711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16713 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16715 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16716 (modules-names): Use them.
16717 (ifunc-test-modules, ifunc-pie-tests): Define.
16718 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16719 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16720 (test-extras): Likewise.
16721 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16722 $(compile-command.c).
16723 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16724 (all-built-dso): Define.
16725 (check-textrel.out, check-execstack.out): Depend on it.
16727 * configure.in: Don't override --enable-multi-arch.
16729 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16732 * nscd/hstcache.c (tryagain): Define.
16733 (cache_addhst): Return tryagain not notfound for temporary errors.
16734 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16737 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16740 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16741 to make the syscall.
16742 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16745 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16746 and fall back to matching as normal character if the string ends before
16747 the matching ']' is found. This is what POSIX requires.
16748 * posix/testfnm.c: Adjust test result.
16749 * posix/globtest.sh: Adjust test result. Add new test.
16750 * posix/tst-fnmatch.input: Likewise.
16751 * posix/tst-fnmatch2.c: Add new test.
16753 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16755 * elf/Makefile (check-execstack): Revert last change. Depend on
16757 (check-execstack.h): New target.
16758 (generated): Add check-execstack.h.
16759 * elf/check-execstack.c: Include "check-execstack.h".
16760 (main): Revert last change.
16761 (handle_file): Return zero if GNU_STACK is absent and
16762 DEFAULT_STACK_PERMS doesn't include PF_X.
16764 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16766 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16767 in child fails because the descriptor is already closed.
16768 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16769 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16770 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16773 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16777 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16778 temporary buffer used to handle multi lookups locally.
16779 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16781 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16783 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16786 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16788 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16789 alignment for SSE2.
16791 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16794 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16795 characters. When rounding increased number of integer digits recompute
16797 * stdio-common/tst-grouping.c: New file.
16798 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16800 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16802 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16803 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16805 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16807 * bits/select.h: Likewise.
16809 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16811 * po/ja.po: Update from translation team.
16813 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16816 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16817 implementation just like for lxstat, fxstatat, et al.
16819 2010-12-27 Jim Meyering <meyering@redhat.com>
16822 * posix/regexec.c (build_trtable): Return failure indication upon
16823 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16825 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16828 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16829 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16830 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16831 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16834 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16837 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16838 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16840 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16842 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16843 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16844 script has SORT_BY_INIT_PRIORITY.
16845 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16846 NO_CTORS_DTORS_SECTIONS is defined.
16847 * elf/soinit.c: Likewise.
16848 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16849 NO_CTORS_DTORS_SECTIONS is defined.
16850 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16851 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16852 * sysdeps/sh/init-first.c: Likewise.
16853 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16855 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16857 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16858 always use the slow path.
16860 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16862 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16863 similar rule which adds the sysdep directories to the header search in
16864 order to pick up the correct platform stackinfo.h.
16865 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16866 perform test if it is, otherwise return successfully without testing.
16867 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16868 DEFAULT_STACK_PERMS define in stackinfo.h.
16869 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16870 defined in stackinfo.h.
16871 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16872 DEFAULT_STACK_PERMS defined in stackinfo.h.
16873 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16874 * sysdeps/ia64/stackinfo.h: Likewise.
16875 * sysdeps/s390/stackinfo.h: Likewise.
16876 * sysdeps/sh/stackinfo.h: Likewise.
16877 * sysdeps/sparc/stackinfo.h: Likewise.
16878 * sysdeps/x86_64/stackinfo.h: Likewise.
16879 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16880 PF_X for powerpc64. Retain PF_X for powerpc32.
16882 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16884 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16886 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16887 GETDENTS_64BIT_ALIGNED.
16889 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16891 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16893 2010-12-10 Andreas Schwab <schwab@redhat.com>
16895 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16898 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16899 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16901 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16902 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16904 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16907 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16910 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16912 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16914 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16916 * po/it.po: Update from translation team.
16918 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16923 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16925 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16927 2010-11-24 Andreas Schwab <schwab@redhat.com>
16929 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16931 (gaih_getanswer_slice): Likewise.
16933 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16937 2010-05-31 Petr Baudis <pasky@suse.cz>
16940 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16941 silently even in the chroot mode.
16943 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16945 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16946 last patch a bit. Pretty printing
16948 2010-05-31 Petr Baudis <pasky@suse.cz>
16951 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16952 initialization of skip_initgroups_dyn.
16954 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16956 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16957 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16959 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16961 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16963 2010-11-11 Andreas Schwab <schwab@redhat.com>
16965 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16966 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16967 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16968 ($(objpfx)tst-fnmatch-mem): New rule.
16969 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16970 * posix/tst-fnmatch.c (main): Call mtrace.
16972 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16975 Support Intel processor model 6 and model 0x2c.
16977 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16979 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16982 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16985 * string/test-strncasecmp.c (check_result): New function.
16986 (do_one_test): Use it.
16987 (check1): New function.
16988 (test_main): Use it.
16989 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16990 Support strcasecmp and strncasecmp.
16992 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16995 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16996 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16998 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17000 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17004 * sysdeps/x86_64/multiarch/bzero.S: New file.
17005 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17006 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17007 * sysdeps/x86_64/multiarch/memset.S: New file.
17008 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17010 Set bit_Prefer_SSE_for_memop for Intel processors.
17011 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17013 (index_Prefer_SSE_for_memop): Define.
17014 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17016 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17018 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17019 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17021 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17024 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17025 (__x86_64_raw_data_cache_size_half): Likewise.
17026 (__x86_64_raw_shared_cache_size): Likewise.
17027 (__x86_64_raw_shared_cache_size_half): Likewise.
17029 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17030 (__x86_64_raw_data_cache_size_half): Likewise.
17031 (__x86_64_raw_shared_cache_size): Likewise.
17032 (__x86_64_raw_shared_cache_size_half): Likewise.
17033 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17034 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17035 and __x86_64_raw_shared_cache_size_half. Round
17036 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17037 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17038 to multiple of 256 bytes.
17040 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17043 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17044 of inacessible symlinks. Verify result of symlink before returning it.
17045 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17046 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17048 2010-10-28 Erich Ritz <erichritz@gmail.com>
17050 * math/math.h (isinf): Fix typo in comment.
17052 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17054 * po/da.po: Update from translation team.
17056 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17058 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17059 is added to the list.
17061 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17062 Ulrich Drepper <drepper@gmail.com>
17064 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17065 the global list here. Move code to...
17066 (_dl_add_to_namespace_list): ...here. New function.
17067 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17068 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17069 * elf/dl-load.c (lose): Don't remove the element from the list.
17070 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17071 (_dl_map_object): Likewise.
17073 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17076 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17077 into all bytes of SSE register.
17078 Patch by Richard Li <richardpku@gmail.com>.
17080 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17083 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17086 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17088 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17089 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17090 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17091 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17096 2010-10-22 Andreas Schwab <schwab@redhat.com>
17098 * include/dlfcn.h (__RTLD_SECURE): Define.
17099 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17100 mode & __RTLD_SECURE instead.
17101 (open_path): Rename preloaded parameter to secure.
17102 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17103 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17104 * elf/dl-deps.c (openaux): Likewise.
17105 * elf/rtld.c (struct map_args): Remove is_preloaded.
17106 (map_doit): Don't use it.
17107 (dl_main): Likewise.
17108 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17109 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17111 2010-09-09 Andreas Schwab <schwab@redhat.com>
17113 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17114 (sysd-rules-targets): Remove duplicates.
17115 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17116 rtld-%.$o dependency.
17118 2010-10-18 Andreas Schwab <schwab@redhat.com>
17120 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17121 _dl_map_object do it.
17123 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17125 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17126 fast fma builtins, define the macros in the C99 standard.
17127 (FP_FAST_FMAF): Likewise.
17128 (FP_FAST_FMAL): Likewise.
17129 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17131 * bits/mathdef.h: Update copyright year.
17132 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17134 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17136 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17137 builtins, define the macros in the C99 standard.
17138 (FP_FAST_FMAF): Likewise.
17139 (FP_FAST_FMAL): Likewise.
17140 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17142 (FP_FAST_FMAF): Likewise.
17144 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17147 * math/libm-test.inc (fma_test): Some new testcases.
17148 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17149 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17150 y and infinite z. Do multiplication by C already in long double.
17151 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17153 y and infinite z. Do bitwise or of inexact bit into u.d.
17154 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17155 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17156 * sysdeps/i386/fpu/s_fma.S: Removed.
17157 * sysdeps/i386/fpu/s_fmal.S: Removed.
17159 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17162 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17163 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17164 computation is not scheduled after fetestexcept. Fix value
17165 of minimum denormal long double.
17167 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17170 * math/libm-test.inc (fma_test): Add some more tests.
17171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17174 2010-10-15 Andreas Schwab <schwab@redhat.com>
17176 * scripts/data/localplt-s390-linux-gnu.data: New file.
17177 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17179 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17182 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17183 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17185 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17187 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17189 if one of x and y is very large and the other is subnormal.
17190 * sysdeps/s390/fpu/s_fmaf.c: New file.
17191 * sysdeps/s390/fpu/s_fma.c: New file.
17192 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17193 * sysdeps/powerpc/fpu/s_fma.S: New file.
17194 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17195 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17196 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17198 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17201 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17203 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17204 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17205 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17206 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17207 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17208 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17211 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17214 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17215 * posix/bug-regex31.input: Add test case.
17217 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17219 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17220 * posix/bug-regex31.input: New file.
17223 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17224 (parse_sub_exp): Fix last change, use postorder.
17226 * posix/bug-regex31.c: New file.
17227 * posix/Makefile: Add rules to build and run bug-regex31.
17229 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17232 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17235 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17236 to have entries in sys_siglist.
17239 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17242 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17245 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17246 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17247 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17248 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17249 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17250 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17251 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17252 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17253 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17254 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17255 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17256 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17257 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17258 * math/ftestexcept.c (fetestexcept): Likewise.
17259 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17260 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17261 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17262 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17263 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17264 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17265 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17267 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17270 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17273 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17275 * string/bug-strstr1.c: New file.
17276 * string/Makefile: Add rules to build and run bug-strstr1.
17278 2010-10-05 Eric Blake <eblake@redhat.com>
17281 * string/str-two-way.h (two_way_long_needle): Always clear memory
17282 when skipping input due to the shift table.
17284 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17287 * malloc/mcheck.c: Handle large requests.
17290 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17291 for strncmp and strncasecmp.
17292 * string/stratcliff.c: Add tests for strcmp and strncmp.
17293 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17295 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17297 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17300 2010-09-30 Andreas Jaeger <aj@suse.de>
17302 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17303 (CGROUP_SUPER_MAGIC): Define.
17304 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17305 Handle btrfs and cgroup file systems.
17306 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17309 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17311 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17312 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17314 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17317 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17318 trying to locate the ELF header.
17320 2010-09-27 Andreas Schwab <schwab@redhat.com>
17323 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17324 Mask out sign-bit copies when constructing f_fsid.
17326 2010-09-24 Petr Baudis <pasky@suse.cz>
17328 * debug/stack_chk_fail_local.c: Add missing licence exception.
17329 * debug/warning-nop.c: Likewise.
17331 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17333 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17334 implementing getdents64 using getdents syscall, set d_type if
17335 __ASSUME_GETDENTS32_D_TYPE.
17337 2010-09-16 Andreas Schwab <schwab@redhat.com>
17339 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17340 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17342 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17345 * posix/unistd.h: Undo change of feature selection for ftruncate from
17348 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17350 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17353 2010-09-20 Andreas Schwab <schwab@redhat.com>
17355 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17357 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17359 2010-09-14 Andreas Schwab <schwab@redhat.com>
17361 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17362 variables after CHECK_SP call.
17363 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17365 2010-09-13 Andreas Schwab <schwab@redhat.com>
17366 Ulrich Drepper <drepper@redhat.com>
17368 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17369 re-relocationg ld.so.
17370 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17371 _dl_init_paths call.
17372 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17375 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17377 * resolv/res_init.c (__res_vinit): Count the default server we added.
17379 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17380 Ulrich Drepper <drepper@redhat.com>
17383 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17384 (____longjmp_chk): Use %ebx for saving value across system call.
17387 2010-09-06 Andreas Schwab <schwab@redhat.com>
17389 * manual/Makefile: Don't mix pattern rules with normal rules.
17391 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17393 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17395 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17396 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17397 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17398 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17402 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17405 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17406 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17408 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17410 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17411 * sysdeps/x86_64/addmul_1.S: Likewise.
17412 * sysdeps/x86_64/lshift.S: Likewise.
17413 * sysdeps/x86_64/mul_1.S: Likewise.
17414 * sysdeps/x86_64/rshift.S: Likewise.
17415 * sysdeps/x86_64/sub_n.S: Likewise.
17416 * sysdeps/x86_64/submul_1.S: Likewise.
17418 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17420 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17421 Define __sched_param instead of SCHED_* and sched_param when
17422 <bits/sched.h> is included with __need_schedparam defined.
17423 * bits/sched.h [__need_schedparam]
17424 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17425 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17426 (__defined_schedparam): Define to 1.
17427 (__sched_param): New structure, identical to sched_param.
17428 (__need_schedparam): Undefine.
17430 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17432 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17433 (epoll_create1): Declare.
17435 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17437 2010-08-31 Andreas Schwab <schwab@redhat.com>
17440 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17441 shifting retval into place.
17443 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17445 * nis/rpcsvc/nis.h: Update copyright notice.
17446 * nis/rpcsvc/nis.x: Likewise.
17447 * nis/rpcsvc/nis_callback.h: Likewise.
17448 * nis/rpcsvc/nis_callback.x: Likewise.
17449 * nis/rpcsvc/nis_object.x: Likewise.
17450 * nis/rpcsvc/nis_tags.h: Likewise.
17451 * nis/rpcsvc/yp.h: Likewise.
17452 * nis/rpcsvc/yp.x: Likewise.
17453 * nis/rpcsvc/ypupd.h: Likewise.
17454 * nis/yp_xdr.c: Likewise.
17455 * nis/ypupdate_xdr.c: Likewise.
17457 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17458 mainly the body of pmap_getport. Add parameters to specify timeouts.
17459 (pmap_getport): Use __libc_rpc_getport.
17460 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17461 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17462 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17464 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17469 2010-08-27 Roland McGrath <roland@redhat.com>
17471 * sysdeps/i386/i686/multiarch/Makefile
17472 (CFLAGS-varshift.c): New variable.
17474 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17476 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17477 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17479 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17481 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17483 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17485 * sysdeps/x86_64/strlen.S: Unroll the loop.
17486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17487 strlen-sse2 strlen-sse2-bsf.
17488 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17489 __strlen_no_bsf if bit_Slow_BSF is set.
17490 (__strlen_sse42): Removed.
17491 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17492 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17494 2010-08-25 Roland McGrath <roland@redhat.com>
17496 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17497 * sysdeps/x86_64/multiarch/varshift.c: New file.
17498 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17499 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17500 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17501 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17503 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17506 strlen-sse2 strlen-sse2-bsf.
17507 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17508 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17509 (__strlen_sse2): Removed.
17510 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17513 bit_Slow_BSF for Atom.
17514 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17515 (index_Slow_BSF): Define.
17516 (HAS_SLOW_BSF): Define.
17518 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17521 * resolv/res_init.c (__res_vinit): When no server address at all
17522 is given default to loopback.
17524 2010-08-24 Roland McGrath <roland@redhat.com>
17526 * configure.in: Remove config-name.h generation.
17527 * configure: Regenerated.
17528 * config-name.in: File removed.
17529 * scripts/config-uname.sh: New file.
17530 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17531 ($(objdir)config-name.h): New target.
17533 * sunrpc/rpc_parse.h: Avoid nested comment.
17535 2010-08-24 Richard Henderson <rth@redhat.com>
17536 Ulrich Drepper <drepper@redhat.com>
17537 H.J. Lu <hongjiu.lu@intel.com>
17539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17541 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17542 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17543 _mm_alignr_epi8 with _mm_loadu_si128.
17544 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17545 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17546 (__m128i_shift_right): Removed.
17547 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17548 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17549 * sysdeps/x86_64/multiarch/varshift.h: New file.
17550 * sysdeps/x86_64/multiarch/varshift.S: New file.
17552 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17554 * configure.in: Move assembler checks to before sysdep dir checking.
17556 2010-08-20 Petr Baudis <pasky@suse.cz>
17558 * LICENSES: Sync the sunrpc license.
17560 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17562 * sunrpc/auth_des.c: Update copyright notice once again.
17563 * sunrpc/auth_none.c: Likewise.
17564 * sunrpc/auth_unix.c: Likewise.
17565 * sunrpc/authdes_prot.c: Likewise.
17566 * sunrpc/authuxprot.c: Likewise.
17567 * sunrpc/bindrsvprt.c: Likewise.
17568 * sunrpc/clnt_gen.c: Likewise.
17569 * sunrpc/clnt_perr.c: Likewise.
17570 * sunrpc/clnt_raw.c: Likewise.
17571 * sunrpc/clnt_simp.c: Likewise.
17572 * sunrpc/clnt_tcp.c: Likewise.
17573 * sunrpc/clnt_udp.c: Likewise.
17574 * sunrpc/clnt_unix.c: Likewise.
17575 * sunrpc/des_crypt.c: Likewise.
17576 * sunrpc/des_soft.c: Likewise.
17577 * sunrpc/get_myaddr.c: Likewise.
17578 * sunrpc/getrpcport.c: Likewise.
17579 * sunrpc/key_call.c: Likewise.
17580 * sunrpc/key_prot.c: Likewise.
17581 * sunrpc/openchild.c: Likewise.
17582 * sunrpc/pm_getmaps.c: Likewise.
17583 * sunrpc/pm_getport.c: Likewise.
17584 * sunrpc/pmap_clnt.c: Likewise.
17585 * sunrpc/pmap_prot.c: Likewise.
17586 * sunrpc/pmap_prot2.c: Likewise.
17587 * sunrpc/pmap_rmt.c: Likewise.
17588 * sunrpc/rpc/auth.h: Likewise.
17589 * sunrpc/rpc/auth_unix.h: Likewise.
17590 * sunrpc/rpc/clnt.h: Likewise.
17591 * sunrpc/rpc/des_crypt.h: Likewise.
17592 * sunrpc/rpc/key_prot.h: Likewise.
17593 * sunrpc/rpc/netdb.h: Likewise.
17594 * sunrpc/rpc/pmap_clnt.h: Likewise.
17595 * sunrpc/rpc/pmap_prot.h: Likewise.
17596 * sunrpc/rpc/pmap_rmt.h: Likewise.
17597 * sunrpc/rpc/rpc.h: Likewise.
17598 * sunrpc/rpc/rpc_des.h: Likewise.
17599 * sunrpc/rpc/rpc_msg.h: Likewise.
17600 * sunrpc/rpc/svc.h: Likewise.
17601 * sunrpc/rpc/svc_auth.h: Likewise.
17602 * sunrpc/rpc/types.h: Likewise.
17603 * sunrpc/rpc/xdr.h: Likewise.
17604 * sunrpc/rpc_clntout.c: Likewise.
17605 * sunrpc/rpc_cmsg.c: Likewise.
17606 * sunrpc/rpc_common.c: Likewise.
17607 * sunrpc/rpc_cout.c: Likewise.
17608 * sunrpc/rpc_dtable.c: Likewise.
17609 * sunrpc/rpc_hout.c: Likewise.
17610 * sunrpc/rpc_main.c: Likewise.
17611 * sunrpc/rpc_parse.c: Likewise.
17612 * sunrpc/rpc_parse.h: Likewise.
17613 * sunrpc/rpc_prot.c: Likewise.
17614 * sunrpc/rpc_sample.c: Likewise.
17615 * sunrpc/rpc_scan.c: Likewise.
17616 * sunrpc/rpc_scan.h: Likewise.
17617 * sunrpc/rpc_svcout.c: Likewise.
17618 * sunrpc/rpc_tblout.c: Likewise.
17619 * sunrpc/rpc_util.c: Likewise.
17620 * sunrpc/rpc_util.h: Likewise.
17621 * sunrpc/rpcinfo.c: Likewise.
17622 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17623 * sunrpc/rpcsvc/key_prot.x: Likewise.
17624 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17625 * sunrpc/rpcsvc/mount.x: Likewise.
17626 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17627 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17628 * sunrpc/rpcsvc/rex.x: Likewise.
17629 * sunrpc/rpcsvc/rstat.x: Likewise.
17630 * sunrpc/rpcsvc/rusers.x: Likewise.
17631 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17632 * sunrpc/rpcsvc/spray.x: Likewise.
17633 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17634 * sunrpc/rtime.c: Likewise.
17635 * sunrpc/svc.c: Likewise.
17636 * sunrpc/svc_auth.c: Likewise.
17637 * sunrpc/svc_authux.c: Likewise.
17638 * sunrpc/svc_raw.c: Likewise.
17639 * sunrpc/svc_run.c: Likewise.
17640 * sunrpc/svc_simple.c: Likewise.
17641 * sunrpc/svc_tcp.c: Likewise.
17642 * sunrpc/svc_udp.c: Likewise.
17643 * sunrpc/svc_unix.c: Likewise.
17644 * sunrpc/svcauth_des.c: Likewise.
17645 * sunrpc/xcrypt.c: Likewise.
17646 * sunrpc/xdr.c: Likewise.
17647 * sunrpc/xdr_array.c: Likewise.
17648 * sunrpc/xdr_float.c: Likewise.
17649 * sunrpc/xdr_mem.c: Likewise.
17650 * sunrpc/xdr_rec.c: Likewise.
17651 * sunrpc/xdr_ref.c: Likewise.
17652 * sunrpc/xdr_sizeof.c: Likewise.
17653 * sunrpc/xdr_stdio.c: Likewise.
17655 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17658 2010-08-19 Andreas Schwab <schwab@redhat.com>
17660 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17662 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17664 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17665 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17666 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17667 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17668 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17669 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17670 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17671 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17672 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17673 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17674 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17675 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17676 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17677 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17679 2010-07-26 Anton Blanchard <anton@samba.org>
17681 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17682 * malloc/arena.c (heap_trim): Likewise.
17684 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17686 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17688 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17689 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17691 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17693 * sysdeps/i386/elf/Makefile: New file.
17695 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17697 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17698 from fanotify_init.
17699 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17702 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17704 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17706 * sysdeps/multiarch/strcmp.S: Likewise.
17708 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17710 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17711 strncase_l-nonascii.
17712 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17713 Add strncase_l-ssse3.
17714 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17715 * sysdeps/x86_64/strcmp.S: Likewise.
17716 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17717 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17718 * sysdeps/x86_64/strncase.S: New file.
17719 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17720 * sysdeps/x86_64/strncase_l.S: New file.
17721 * string/Makefile (strop-tests): Add strncasecmp.
17722 * string/test-strncasecmp.c: New file.
17724 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17727 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17728 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17730 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17732 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17734 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17736 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17737 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17738 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17740 2010-05-01 Alan Modra <amodra@gmail.com>
17742 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17743 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17744 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17745 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17746 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17747 tidying. Don't tail-call __sigjmp_save for static lib.
17748 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17750 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17751 (CALL_MCOUNT): Add eh info, and nop after bl.
17752 (TAIL_CALL_SYSCALL_ERROR): New macro.
17753 (PSEUDO_RET): Use it.
17754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17755 Correct save location of integer regs and cr.
17756 (_dl_profile_resolve): Correct cr save location. Delete nops
17757 after bl when SHARED. Reduce cfi size a little by better
17758 placement of cfi directives.
17759 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17760 make a stack frame. Instead use parm save area as a temp.
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17762 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17764 Don't make a stack frame for parent, use parm save area.
17765 Increase child stack frame to 112 bytes. Don't save unused reg,
17766 and adjust reg usage. Set up cfi on error recovery and
17767 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17769 (__makecontext): Add dummy nop after jump to exit.
17770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17771 Use correct parm save area and cr save, reduce stack frame.
17772 Correct cfi for possible PSEUDO_RET frame setup.
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17774 Branch to local label emitted by PSEUDO_RET rather than
17777 2010-08-12 Andreas Schwab <schwab@redhat.com>
17780 * locale/programs/locale.c (print_assignment): New function.
17781 (show_locale_vars): Use it.
17783 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17785 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17787 (struct statfs64): Likewise.
17788 (_STATFS_F_FLAGS): Define.
17789 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17790 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17791 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17792 (ST_VALID): Define locally.
17793 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17794 __statvfs_getflags, use the provided value.
17795 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17796 __ASSUME_STATFS_F_FLAGS.
17798 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17800 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17801 Add sys/fanotify.h.
17802 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17803 fanotify_mask for GLIBC_2.13.
17804 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17805 fanotify_init and fanotify_mark.
17806 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17807 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17809 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17811 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17812 prlimit64 for GLIBC_2.13.
17813 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17818 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17819 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17820 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17821 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17823 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17826 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17827 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17829 * nss/Makefile: Add rules to build and run tst-nss-test1.
17830 * shlib-versions: Add entry for libnss_test1.
17831 * nss/nss_test1.c: New file.
17832 * nss/tst-nss-test1.c: New file.
17834 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17835 (__nss_configure_lookup): Set appropriate entry in
17836 __nss_configure_lookup to true.
17837 * nss/nsswitch.h: Define enum with indeces of databases in
17838 databases and __nss_database_custom arrays. Declare
17839 __nss_database_custom.
17840 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17841 to avoid using nscd when custom rules are installed.
17842 * nss/getXXbyYY_r.c: Likewise.
17843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17845 * nss/nss_files/files-parse.c: Whitespace fixes.
17847 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17850 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17851 * posix/fnmatch_loop.c: Likewise.
17853 2010-07-17 Andi Kleen <ak@linux.intel.com>
17855 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17856 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17857 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17858 * Versions.def [GLIBC_2.13]: Add.
17860 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17862 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17863 Also fail if tpwd after pwuid call is NULL.
17865 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17867 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17868 when converting to ms.
17870 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17872 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17873 EOPNOTSUPP errors with ENOTTY.
17874 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17875 EOPNOTSUPP errors with ENOTTY.
17877 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17879 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17880 Add strcasecmp_l-ssse3.
17881 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17883 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17884 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17885 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17887 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17889 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17891 * string/Makefile (strop-tests): Add strcasecmp.
17892 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17893 strcasecmp_l-nonascii.
17894 (gen-as-const-headers): Add locale-defines.sym.
17895 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17896 * sysdeps/x86_64/strcasecmp.S: New file.
17897 * sysdeps/x86_64/strcasecmp_l.S: New file.
17898 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17899 * sysdeps/x86_64/locale-defines.sym: New file.
17900 * string/test-strcasecmp.c: New file.
17902 * string/test-strcasestr.c: Test both ends of the range of characters.
17903 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17905 2010-07-29 Roland McGrath <roland@redhat.com>
17908 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17910 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17912 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17915 2010-07-27 Andreas Schwab <schwab@redhat.com>
17917 * manual/memory.texi (Malloc Tunable Parameters): Document
17920 2010-07-26 Roland McGrath <roland@redhat.com>
17923 * configure.in (-fgnu89-inline check): Set and substitute
17924 gnu89_inline, not libc_cv_gnu89_inline.
17925 * configure: Regenerated.
17926 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17928 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17930 * string/test-strnlen.c: New file.
17931 * string/Makefile (strop-tests): Add strnlen.
17932 * string/tester.c (test_strnlen): Add a few more test cases.
17933 * string/tst-strlen.c: Better error reporting.
17935 * sysdeps/x86_64/strnlen.S: New file.
17937 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17939 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17940 lower-latency instructions.
17942 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17944 * string/test-strcasestr.c: New file.
17945 * string/test-strstr.c: New file.
17946 * string/Makefile (strop-tests): Add strstr and strcasestr.
17947 * string/str-two-way.h: Don't undefine MAX.
17948 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17950 2010-07-21 Andreas Schwab <schwab@redhat.com>
17952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17953 strcasestr-nonascii.
17954 (CFLAGS-strcasestr-nonascii.c): Define.
17955 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17956 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17957 Remove unused attribute.
17959 2010-07-20 Roland McGrath <roland@redhat.com>
17961 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17962 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17963 ld.so.cache was broken. With it, there is no way to disable dsocaps
17964 like LD_HWCAP_MASK can disable hwcaps.
17966 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17968 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17970 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17972 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17973 call in strcasestr.
17974 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17975 __strcasestr_sse42_nonascii.
17976 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17977 strcasestr-nonascii.c.
17978 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17980 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17982 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17983 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17984 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17985 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17987 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17989 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17992 2010-07-06 Andreas Schwab <schwab@redhat.com>
17995 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17998 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18000 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18001 _PC_PIPE_BUF using F_GETPIPE_SZ.
18003 2010-07-05 Roland McGrath <roland@redhat.com>
18005 * manual/arith.texi (Rounding Functions): Fix rint description
18006 implicit in round description.
18008 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18010 * elf/Makefile: Fix linking for a few tests to make recent linker
18013 2010-06-30 Andreas Schwab <schwab@redhat.com>
18015 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18016 $(common-objpfx)libc_nonshared.a.
18018 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18020 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18021 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18022 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18023 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18024 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18025 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18026 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18027 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18042 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18043 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18044 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18045 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18046 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18047 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18048 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18049 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18050 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18051 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18052 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18053 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18069 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18071 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18072 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18073 * string/memmove.c (memmove): Renamed to ...
18074 (MEMMOVE): ...this. Default to memmove.
18075 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18076 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18079 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18080 mempcpy-ssse3-back memmove-ssse3-back.
18081 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18082 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18084 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18085 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18086 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18087 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18088 * sysdeps/x86_64/multiarch/memmove.c: New file.
18089 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18090 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18091 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18092 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18093 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18094 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18096 (index_Fast_Copy_Backward): Define.
18097 (HAS_ARCH_FEATURE): Define.
18098 (HAS_FAST_REP_STRING): Define.
18099 (HAS_FAST_COPY_BACKWARD): Define.
18101 2010-06-21 Andreas Schwab <schwab@redhat.com>
18103 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18104 Restore proper fallback handling.
18106 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18109 * posix/group_member.c (__group_member): Correct checking loop.
18111 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18112 OOM in getpwuid_r correctly. Return error number when the caller
18113 should return, otherwise -1.
18114 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18115 call returning > 0 value.
18116 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18118 2010-06-07 Andreas Schwab <schwab@redhat.com>
18120 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18121 libc_nonshared.a from targets in modules-names.
18123 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18125 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18128 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18130 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18131 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18132 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18135 2010-06-02 Andreas Schwab <schwab@redhat.com>
18137 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18139 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18141 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18147 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18148 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18150 2010-06-14 Roland McGrath <roland@redhat.com>
18152 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18154 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18156 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18157 __REDIRECT followed by __THROW.
18158 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18159 * posix/getopt.h (getopt): Likewise.
18161 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18163 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18164 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18165 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18167 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18168 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18170 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18172 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18174 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18178 Properly check family and model.
18180 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18182 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18184 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18186 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18188 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18190 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18193 2010-05-19 Andreas Schwab <schwab@redhat.com>
18195 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18198 2010-05-21 Andreas Schwab <schwab@redhat.com>
18200 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18201 and internal_recvmmsg.
18202 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18203 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18204 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18205 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18207 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18208 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18209 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18211 2010-05-20 Andreas Schwab <schwab@redhat.com>
18213 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18215 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18217 POWER7 optimizations.
18218 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18219 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18221 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18223 * version.h: Update for 2.13 development version.
18225 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18227 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18228 exceptions. Return 0.
18230 2010-05-07 Roland McGrath <roland@redhat.com>
18232 * elf/ldconfig.c (main): Add a const.
18234 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18236 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18237 (args_options): Add no-idn option.
18238 (ahosts_keys_int): Add idn_flags to ai_flags.
18239 (parse_option): Handle 'i' option to clear idn_flags.
18241 * malloc/malloc.c (_int_free): Possible race in the most recently
18242 added check. Only act on the data if no current modification
18245 See ChangeLog.17 for earlier changes.