1 2012-08-10 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12 2012-08-09 Jeff Law <law@redhat.com>
15 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16 When avoid_arena is set, don't retry in the that arena. Pick the
17 next one, whatever it might be.
18 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19 (arena_lock): Pass in new parameter to arena_get2.
20 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22 (__libc_malloc): Unify retrying after main arena failure with
23 __libc_memalign version.
24 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31 (__strstr_sse42): Use typeof __redirect_strstr.
32 (__strstr_ia32): Likewise.
33 (__libc_strstr): New prototype.
34 (strstr): Renamed to ...
35 (__libc_strstr): This.
36 (strstr): New strong alias of __libc_strstr.
37 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41 (__libc_time): New prototype.
42 (time_ifunc): Replace time with __libc_time.
43 (time): New strong alias and hidden definition of __libc_time.
44 (__GI_time): Remove strong alias.
45 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47 (memmove): Redefined to __redirect_memmove.
48 (__memmove_sse2): Use typeof __redirect_memmove.
49 (__memmove_ssse3): Likewise.
50 (__memmove_ssse3_back): Likewise.
51 (__libc_memmove): New prototype.
52 (memmove): Renamed to ...
53 (__libc_memmove): This.
54 (memmove): New strong alias of __libc_memmove.
56 2012-08-08 Mark Salter <msalter@redhat.com>
59 (R_MN10300_TLS_GD): Define.
60 (R_MN10300_TLS_LD): Likewise.
61 (R_MN10300_TLS_LDO): Likewise.
62 (R_MN10300_TLS_GOTIE): Likewise.
63 (R_MN10300_TLS_IE): Likewise.
64 (R_MN10300_TLS_LE): Likewise.
65 (R_MN10300_TLS_DTPMOD): Likewise.
66 (R_MN10300_TLS_DTPOFF): Likewise.
67 (R_MN10300_TLS_TPOFF): Likewise.
68 (R_MN10300_SYM_DIFF): Likewise.
69 (R_MN10300_ALIGN): Likewise.
70 (R_MN10300_NUM): Update.
72 2012-08-08 Joseph Myers <joseph@codesourcery.com>
74 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
77 2012-08-08 Roland McGrath <roland@hack.frob.com>
79 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
81 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
82 sysdeps/unix -> sysdeps/posix move.
83 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
85 2012-08-07 Allan McRae <allan@archlinux.org>
88 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
89 (SUNOS_CPP): Likewise.
90 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
92 (open_input): Call CPP using execvp.
94 2012-08-07 Joseph Myers <joseph@codesourcery.com>
96 * sysdeps/unix/sysv/linux/kernel-features.h
97 (__ASSUME_PROT_GROWSUPDOWN): Remove.
98 (__ASSUME_NO_CLONE_DETACHED): Likewise.
99 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
100 (__ASSUME_WAITID_SYSCALL): Likewise.
101 * sysdeps/unix/sysv/linux/dl-execstack.c
102 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
104 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
106 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
107 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
108 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
110 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
112 [__ASSUME_WAITID_SYSCALL]: Likewise.
113 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
115 2012-08-07 Roland McGrath <roland@hack.frob.com>
117 * sysdeps/unix/closedir.c: Renamed to ...
118 * sysdeps/posix/closedir.c: ... here.
119 * sysdeps/unix/dirfd.c: Renamed to ...
120 * sysdeps/posix/dirfd.c: ... here.
121 * sysdeps/unix/dirstream.h: Renamed to ...
122 * sysdeps/posix/dirstream.h: ... here.
123 * sysdeps/unix/fdopendir.c: Renamed to ...
124 * sysdeps/posix/fdopendir.c: ... here.
125 * sysdeps/unix/opendir.c: Renamed to ...
126 * sysdeps/posix/opendir.c: ... here.
127 * sysdeps/unix/readdir.c: Renamed to ...
128 * sysdeps/posix/readdir.c: ... here.
129 * sysdeps/unix/readdir_r.c: Renamed to ...
130 * sysdeps/posix/readdir_r.c: ... here.
131 * sysdeps/unix/rewinddir.c: Renamed to ...
132 * sysdeps/posix/rewinddir.c: ... here.
133 * sysdeps/unix/seekdir.c: Renamed to ...
134 * sysdeps/posix/seekdir.c: ... here.
135 * sysdeps/unix/telldir.c: Renamed to ...
136 * sysdeps/posix/telldir.c: ... here.
137 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
138 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
139 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
140 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
142 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
143 * bits/fcntl.h: ... here.
145 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
147 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
148 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
149 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
150 (struct flock): Move l_start, l_len to the beginning.
151 Use __pid_t for l_pid.
152 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
153 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
154 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
155 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
156 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
157 [__USE_LARGEFILE64] (struct flock64): New type.
158 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
160 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
161 * bits/dirent.h: ... here.
163 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
164 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
166 2012-08-07 Joseph Myers <joseph@codesourcery.com>
168 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
169 Change from 2.6.0 to 2.6.16.
170 * sysdeps/unix/sysv/linux/configure: Regenerated.
171 * sysdeps/unix/sysv/linux/kernel-features.h
172 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
173 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
175 (__ASSUME_UTIMES): Likewise.
176 (__ASSUME_CLONE_STOPPED): Remove.
177 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
178 architectures, not kernel version.
179 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
180 (__ASSUME_NO_CLONE_DETACHED): Likewise.
181 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
182 (__ASSUME_WAITID_SYSCALL): Likewise.
183 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
184 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
185 * README: State 2.6.16 as minimum Linux kernel version. Do not
186 refer to older versions.
188 2012-08-06 Roland McGrath <roland@hack.frob.com>
190 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
191 Define alphasort64 as an alias.
192 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
193 Define versionsort64 as an alias.
194 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
195 Define scandir64 as an alias.
196 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
197 Define scandirat64 as an alias.
198 * dirent/alphasort64.c (alphasort64):
199 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
200 * dirent/versionsort64.c: Likewise.
201 * dirent/scandir64.c: Likewise.
202 * dirent/scandirat64.c: Likewise.
203 * sysdeps/wordsize-64/alphasort.c: File removed.
204 * sysdeps/wordsize-64/alphasort64.c: File removed.
205 * sysdeps/wordsize-64/scandir.c: File removed.
206 * sysdeps/wordsize-64/scandir64.c: File removed.
207 * sysdeps/wordsize-64/scandirat.c: File removed.
208 * sysdeps/wordsize-64/scandirat64.c: File removed.
209 * sysdeps/wordsize-64/versionsort.c: File removed.
210 * sysdeps/wordsize-64/versionsort64.c: File removed.
211 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
212 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
213 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
214 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
215 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
216 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
217 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
218 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
220 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
222 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
224 [defined __arch64__ || defined __sparcv9]
225 (__INO_T_MATCHES_INO64_T): New macro.
226 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
227 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
228 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
229 * sysdeps/unix/sysv/linux/bits/dirent.h
230 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
231 (_DIRENT_MATCHES_DIRENT64): New macro.
233 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
234 Define lockf64 as an alias.
235 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
236 Define fseeko64 as an alias.
237 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
238 Define ftello64 as an alias.
239 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
240 Define _IO_fgetpos64 and fgetpos64 as aliases.
241 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
242 Define _IO_fsetpos64 and fsetpos64 as aliases.
243 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
244 Conditionalize body on this.
245 * libio/fseeko64.c: Likewise.
246 * libio/ftello64.c: Likewise.
247 * libio/iofgetpos64.c: Likewise.
248 * libio/iofsetpos64.c: Likewise.
249 * sysdeps/wordsize-64/lockf.c: File removed.
250 * sysdeps/wordsize-64/lockf64.c: File removed.
251 * sysdeps/wordsize-64/fseeko.c: File removed.
252 * sysdeps/wordsize-64/fseeko64.c: File removed.
253 * sysdeps/wordsize-64/ftello.c: File removed.
254 * sysdeps/wordsize-64/ftello64.c: File removed.
255 * sysdeps/wordsize-64/iofgetpos.c: File removed.
256 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
257 * sysdeps/wordsize-64/iofsetpos.c: File removed.
258 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
259 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
260 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
261 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
262 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
263 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
264 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
265 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
266 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
267 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
268 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
270 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
272 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
274 [defined __arch64__ || defined __sparcv9]
275 (__OFF_T_MATCHES_OFF64_T): New macro.
276 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
277 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
279 (__OFF_T_MATCHES_OFF64_T): New macro.
281 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
283 * stdlib/secure-getenv.c (__secure_getenv): Replace
284 GLIBC_2_16 with GLIBC_2_17.
286 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
288 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
289 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
291 2012-08-03 David S. Miller <davem@davemloft.net>
293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
295 2012-08-03 Joseph Myers <joseph@codesourcery.com>
297 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
299 (__ASSUME_CORRECT_SI_PID): Likewise.
300 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
301 (__ASSUME_TMPFS_NAME): Likewise.
302 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
303 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
304 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
305 (HAVE_AUX_SECURE): Make definition unconditional.
306 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
307 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
309 2012-08-03 Roland McGrath <roland@hack.frob.com>
311 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
312 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
313 * sysdeps/mach/hurd/eloop-threshold.h: New file.
314 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
315 __eloop_threshold instead of SYMLOOP_MAX.
317 * sysdeps/generic/eloop-threshold.h: New file.
318 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
320 * elf/chroot_canon.c (chroot_canon): Likewise.
322 2012-08-03 Joseph Myers <joseph@codesourcery.com>
325 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
326 Change to 2.6.0 everywhere.
327 * sysdeps/unix/sysv/linux/configure: Regenerated.
328 * sysdeps/unix/sysv/linux/kernel-features.h
329 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
330 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
332 (__ASSUME_POSIX_TIMERS): Define unconditionally.
333 (__ASSUME_FUTEX_REQUEUE): Remove.
334 (__ASSUME_STATFS64): Define unconditionally.
335 (__ASSUME_AT_SECURE): Likewise.
336 (__ASSUME_CORRECT_SI_PID): Likewise.
337 (__ASSUME_TGKILL): Define without depending on kernel version for
339 (__ASSUME_UTIMES): Likewise.
340 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
342 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
343 (__ASSUME_TMPFS_NAME): Likewise.
344 * README: Update reference to Linux kernel versions.
346 2012-08-02 Marek Polacek <polacek@redhat.com>
349 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
350 libc_cv_asm_type_prefix with %.
351 * configure: Regenerated.
352 * include/libc-symbols.h: Remove comment about
353 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
354 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
355 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
356 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
357 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
358 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
359 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
360 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
361 * elf/tst-unique2mod1.c: Likewise.
362 * elf/tst-unique1mod2.c: Likewise.
363 * elf/tst-unique1mod1.c: Likewise.
364 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
365 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
366 Replace ASM_TYPE_DIRECTIVE with .type.
367 * sysdeps/s390/s390-64/sysdep.h: Likewise.
368 * sysdeps/i386/sysdep.h: Likewise.
369 * sysdeps/x86_64/sysdep.h: Likewise.
370 * sysdeps/sh/sysdep.h: Likewise.
371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
372 Do not define ASM_TYPE_DIRECTIVE.
373 * sysdeps/powerpc/sysdep.h: Likewise.
374 * sysdeps/powerpc/powerpc32/sysdep.h:
375 Replace ASM_TYPE_DIRECTIVE with .type.
376 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
377 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
378 * sysdeps/i386/fpu/e_powf.S: Likewise.
379 * sysdeps/i386/fpu/e_expl.S: Likewise.
380 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
381 * sysdeps/i386/fpu/e_acosh.S: Likewise.
382 * sysdeps/i386/fpu/e_pow.S: Likewise.
383 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
384 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
385 * sysdeps/i386/fpu/s_expm1.S: Likewise.
386 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
387 * sysdeps/i386/fpu/e_log2.S: Likewise.
388 * sysdeps/i386/fpu/e_log2l.S: Likewise.
389 * sysdeps/i386/fpu/e_scalb.S: Likewise.
390 * sysdeps/i386/fpu/e_powl.S: Likewise.
391 * sysdeps/i386/fpu/e_log10f.S: Likewise.
392 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
393 * sysdeps/i386/fpu/e_logl.S: Likewise.
394 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
395 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
396 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
397 * sysdeps/i386/fpu/e_log2f.S: Likewise.
398 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
399 * sysdeps/i386/fpu/e_log.S: Likewise.
400 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
401 * sysdeps/i386/fpu/e_logf.S: Likewise.
402 * sysdeps/i386/fpu/e_log10l.S: Likewise.
403 * sysdeps/i386/fpu/e_atanh.S: Likewise.
404 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
405 * sysdeps/i386/fpu/e_log10.S: Likewise.
406 * sysdeps/i386/fpu/s_frexp.S: Likewise.
407 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
408 * sysdeps/i386/fpu/s_asinh.S: Likewise.
409 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
410 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
411 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
412 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
413 * sysdeps/i386/i686/strtok.S: Likewise.
414 * sysdeps/i386/i386-mcount.S: Likewise.
415 * sysdeps/i386/strtok.S: Likewise.
416 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
417 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
418 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
419 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
420 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
421 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
422 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
423 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
424 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
425 * sysdeps/x86_64/_mcount.S: Likewise.
426 * sysdeps/x86_64/strtok.S: Likewise.
427 * sysdeps/sh/_mcount.S: Likewise.
429 2012-08-01 Roland McGrath <roland@hack.frob.com>
431 * libio/iofopen.c: Include <fcntl.h>.
432 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
433 (_IO_fopen64, fopen64): Define as aliases.
434 * libio/iofopen64.c: Include <fcntl.h>.
435 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
436 Conditionalize body on this.
437 * sysdeps/wordsize-64/iofopen.c: File removed.
438 * sysdeps/wordsize-64/iofopen64.c: File removed.
440 2012-08-01 Marek Polacek <polacek@redhat.com>
442 * libc/Makeconfig: Use elf in place of binfmt-subdir.
443 Use dlfcn directly instead of a variable.
444 (binfmt-subdir): Do not define.
447 2012-08-01 Joseph Myers <joseph@codesourcery.com>
449 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
450 Remove all definitions.
451 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
453 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
454 (miss_F_GETOWN_EX): Remove all definitions.
455 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
457 [!__ASSUME_FCNTL64]: Remove conditional code.
458 [__ASSUME_FCNTL64]: Make code unconditional.
459 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
461 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
462 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
463 (lockf64) [__NR_fcntl64]: Make code unconditional.
464 (lockf64) [__ASSUME_FCNTL64]: Likewise.
466 * sysdeps/unix/sysv/linux/kernel-features.h
467 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
468 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
469 Make code unconditional.
470 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
471 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
473 [__NR_vfork]: Make code unconditional.
474 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
475 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
477 [__NR_vfork]: Make code unconditional.
478 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
479 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
481 2012-08-01 Roland McGrath <roland@hack.frob.com>
483 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
484 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
486 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
487 Define mkstemp64 as an alias.
488 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
489 Define mkstemps64 as an alias.
490 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
491 Define mkostemp64 as an alias.
492 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
493 Define mkostemps64 as an alias.
494 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
495 Conditionalize body on this.
496 * misc/mkostemp64.c: Likewise.
497 * misc/mkostemps64.c: Likewise.
498 * misc/mkstemps64.c: Likewise.
499 * sysdeps/wordsize-64/mkstemp64.c: File removed.
500 * sysdeps/wordsize-64/mkostemp64.c: File removed.
501 * sysdeps/wordsize-64/mkostemp.c: File removed.
502 * sysdeps/wordsize-64/mkstemp.c: File removed.
503 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
504 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
505 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
506 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
509 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
510 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
511 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
512 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
514 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
515 compat_symbol macros from <shlib-compat.h> rather than the underlying
516 default_symbol_version and symbol_version macros, so that DEFAULT
517 lines in shlib-versions are respected.
518 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
520 2012-08-01 Florian Weimer <fweimer@redhat.com>
522 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
523 Declare with warn_unused_result.
524 (setgid, setregid, setegid, setresgid): Likewise.
525 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
527 * WUR-REPORT: Remove set*id functions.
529 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
531 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
533 2012-07-31 Roland McGrath <roland@hack.frob.com>
535 * include/sys/socket.h (__libc_accept, __libc_accept4):
536 Add attribute_hidden.
537 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
539 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
541 * inet/getnetgrent_r.c (setup): Likewise.
543 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
545 2012-07-31 David S. Miller <davem@davemloft.net>
547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
549 2012-07-31 Joseph Myers <joseph@codesourcery.com>
552 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
553 value between 1.0 and 2.0 and smaller part has absolute value less
555 * math/s_clog10.c (__clog10): Likewise.
556 * math/s_clog10f.c (__clog10f): Likewise.
557 * math/s_clog10l.c (__clog10l): Likewise.
558 * math/s_clogf.c (__clogf): Likewise.
559 * math/s_clogl.c (__clogl): Likewise.
560 * math/libm-test.inc (clog_test): Add more tests.
561 (clog10_test): Likewise.
562 * sysdeps/i386/fpu/libm-test-ulps: Update.
563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
565 2012-07-31 Florian Weimer <fweimer@redhat.com>
567 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
568 Exit with zero in case no suitable GID is found, and write a
569 message to standard error.
571 2012-07-30 Roland McGrath <roland@hack.frob.com>
573 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
575 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
576 (MAXPATHLEN): Removed.
577 (NOGROUP, NODEV): New macros.
578 (setbit, clrbit, isset, isclr): New macros.
579 (howmany, roundup, powerof2): New macros.
580 (DEV_BSIZE): New macro.
582 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
583 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
585 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
586 definition on [!__NO_LONG_DOUBLE_MATH].
588 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
589 PTR_MANGLE and PTR_DEMANGLE.
591 * socket/accept4.c (accept4): Rename to __libc_accept4.
592 Define accept4 as a weak alias.
594 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
595 on [_DIRENT_HAVE_D_TYPE].
596 * io/ftw.c (ftw_dir): Likewise.
598 * io/xmknod.c (__xmknod): Don't check PATH for being null.
600 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
602 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
603 Use the BSD numbers rather than the arbitrary ones we had.
604 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
605 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
606 (SIGXCPU, SIGXFSZ): New macros.
609 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
610 initializer on [_LIBC_REENTRANT].
612 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
613 definitions inside [_POSIX_MAPPED_FILES].
615 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
617 * dirent/opendir.c: Include <fcntl.h>.
619 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
620 (__libc_getspecific): Likewise.
621 (__libc_key_create): Likewise.
623 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
624 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
625 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
626 (tmpfile64): Define as alias.
627 * sysdeps/wordsize-64/tmpfile.c: File removed.
628 * sysdeps/wordsize-64/tmpfile64.c: File removed.
629 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
630 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
632 * stdio-common/vfscanf.c: Include <stdbool.h>.
633 * nss/makedb.c: Likewise.
634 * stdio-common/_i18n_number.h: Likewise.
635 * argp/argp-help.c: Likewise.
636 * posix/wordexp.c: Likewise.
637 * sysdeps/posix/spawni.c: Likewise.
638 * nss/nss_files/files-initgroups.c: Likewise.
639 * stdio-common/reg-modifier.c: Include <stdlib.h>.
640 * nss/nss_files/files-initgroups.c: Likewise.
641 * nss/nss_db/db-netgrp.c: Likewise.
642 * nss/nss_db/db-initgroups.c: Likewise.
643 * io/fchmodat.c: Include <sys/stat.h>.
645 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
646 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
648 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
651 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
652 Add multiple inclusion protection.
654 2012-07-27 David S. Miller <davem@davemloft.net>
656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
658 2012-07-27 Gary Benson <gbenson@redhat.com>
661 * elf/rtld.c: Include <stap-probe.h>.
662 (dl_main): Added static probes "init_start" and "init_complete".
663 * elf/dl-load.c: Include <stap-probe.h>.
664 (lose): Take new parameter "nsid".
665 Added static probe "map_failed".
666 (_dl_map_object_from_fd): Pass namespace id to lose.
667 Added static probe "map_start".
668 (open_verify): Pass namespace id to lose.
669 * elf/dl-open.c: Include <stap-probe.h>.
670 (dl_open_worker) Added static probes "map_complete", "reloc_start"
671 and "reloc_complete".
672 * elf/dl-close.c: Include <stap-probe.h>.
673 (_dl_close_worker): Added static probes "unmap_start" and
675 * elf/rtld-debugger-interface.txt: New file documenting the above.
677 2012-07-26 Roland McGrath <roland@hack.frob.com>
679 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
680 rather than a string variable.
681 * sunrpc/rpc_main.c (h_output): Likewise.
682 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
684 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
686 * inet/check_native.c: New file.
688 2012-07-26 Joseph Myers <joseph@codesourcery.com>
691 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
692 if larger part has absolute value 1.0.
693 * math/s_clog10.c (__clog10): Likewise.
694 * math/s_clog10f.c (__clog10f): Likewise.
695 * math/s_clog10l.c (__clog10l): Likewise.
696 * math/s_clogf.c (__clogf): Likewise.
697 * math/s_clogl.c (__clogl): Likewise.
698 * math/libm-test.inc (clog_test): Add more tests.
699 (clog10_test): Likewise.
700 * sysdeps/i386/fpu/libm-test-ulps: Update.
701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
703 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
706 (La_retval): Likewise.
707 (int_retval): Likewise.
708 Update #error for removed macros to refer only to definitions in
710 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
714 (La_retval): Likewise.
715 (int_retval): Likewise.
716 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
720 (La_retval): Likewise.
721 (int_retval): Likewise.
722 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
726 (La_retval): Likewise.
727 (int_retval): Likewise.
728 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
732 (La_retval): Likewise.
733 (int_retval): Likewise.
734 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
738 (La_retval): Likewise.
739 (int_retval): Likewise.
740 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
744 (La_retval): Likewise.
745 (int_retval): Likewise.
746 * sysdeps/generic/tst-audit.h: Update comment to refer only to
747 macro definitions in tst-audit.h.
748 * sysdeps/i386/tst-audit.h: New file.
749 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
750 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
751 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
752 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
753 * sysdeps/sh/tst-audit.h: Likewise.
754 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
755 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
756 * sysdeps/x86_64/tst-audit.h: Likewise.
758 2012-07-26 Andreas Jaeger <aj@suse.de>
760 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
763 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
764 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
765 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
767 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
768 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
769 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
771 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
774 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
776 (si_call_addr, si_syscall, si_arch): Define new macro.
777 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
779 (si_call_addr, si_syscall, si_arch): Define new marcro.
780 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
782 (si_call_addr, si_syscall, si_arch): Define new macro.
783 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
785 (si_call_addr, si_syscall, si_arch): Define new macro.
787 2012-07-25 Joseph Myers <joseph@codesourcery.com>
790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
791 Change to 2.4.21 where previously 2.4.1.
792 * sysdeps/unix/sysv/linux/configure: Regenerated.
793 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
794 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
795 Linux kernel version.
796 (__ASSUME_STD_AUXV): Remove.
797 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
799 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
800 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
801 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
802 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
803 (__ASSUME_NETLINK_SUPPORT): Likewise.
804 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
805 (__no_netlink_support): Remove conditional definition.
806 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
808 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
809 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
810 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
811 (if_nameindex_ioctl): Remove.
812 (if_nameindex_netlink): Do not handle __no_netlink_support.
813 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
815 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
816 Remove conditional code.
817 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
819 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
821 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
822 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
823 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
825 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
826 [!__ASSUME_STD_AUXV]: Remove conditional code.
827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
828 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
829 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
831 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
832 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
834 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
836 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
837 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
839 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
841 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
844 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
847 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
849 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
851 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
853 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
856 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
858 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
861 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
863 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
865 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
867 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
870 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
872 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
874 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
876 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
879 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
881 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
882 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
883 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
884 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
885 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
886 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
887 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
888 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
889 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
890 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
891 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
892 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
893 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
894 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
895 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
896 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
897 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
898 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
899 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
901 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
902 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
903 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
905 2012-07-25 Florian Weimer <fweimer@redhat.com>
907 * Versions.def: Add GLIBC_2.17.
908 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
909 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
910 Introduce __libc_secure_getenv.
911 * stdlib/Versions (2.17): Add secure_getenv
912 (GLIBC_PRIVATE): Add __libc_secure_getenv.
913 * stdlib/secure-getenv.c: Rename __secure_getenv to
914 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
915 symbol __secure_getenv for GLIBC_2.0.
916 * stdlib/tst-secure-getenv.c: New.
917 * stdlib/Makefile (tests): Add testcase.
918 * manual/startup.texi (Environment Access): Document
920 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
921 __libc_secure_getenv.
922 * inet/ruserpass.c (ruserpass): Likewise.
923 * malloc/mtrace.c (mtrace): Likewise.
924 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
925 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
926 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
927 * sysdeps/posix/tempname.c: Likewise. Evaluate
929 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
930 __secure_getenv to __libc_secure_getenv.
931 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
938 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
944 2012-07-25 Joseph Myers <joseph@codesourcery.com>
946 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
947 (struct La_i86_retval): Likewise.
948 (struct La_x86_64_regs): Likewise.
949 (struct La_x86_64_retval): Likewise.
950 (struct La_x32_regs): Likewise.
951 (struct La_x32_retval): Likewise.
952 (struct La_ppc32_regs): Likewise.
953 (struct La_ppc32_retval): Likewise.
954 (struct La_ppc64_regs): Likewise.
955 (struct La_ppc64_retval): Likewise.
956 (struct La_sh_regs): Likewise.
957 (struct La_sh_retval): Likewise.
958 (struct La_s390_32_regs): Likewise.
959 (struct La_s390_32_retval): Likewise.
960 (struct La_s390_64_regs): Likewise.
961 (struct La_s390_64_retval): Likewise.
962 (struct La_sparc32_regs): Likewise.
963 (struct La_sparc32_retval): Likewise.
964 (struct La_sparc64_regs): Likewise.
965 (struct La_sparc64_retval): Likewise.
966 (struct audit_ifaces): Remove architecture-specific pltenter and
968 * sysdeps/i386/ldsodefs.h: New file.
969 * sysdeps/powerpc/ldsodefs.h: Likewise.
970 * sysdeps/s390/ldsodefs.h: Likewise.
971 * sysdeps/sh/ldsodefs.h: Likewise.
972 * sysdeps/sparc/ldsodefs.h: Likewise.
973 * sysdeps/x86_64/ldsodefs.h: Likewise.
975 2012-07-25 Marek Polacek <polacek@redhat.com>
978 * math/libm-test.inc (yn_test): Add another test.
979 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
980 to ERANGE when the result is +-Inf.
981 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
982 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
983 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
984 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
986 2012-07-24 Joseph Myers <joseph@codesourcery.com>
988 * conform/data/time.h-data (NULL): Use macro-constant. Require
990 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
992 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
994 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
996 * configure.in <sysdeps resolving>: Correct printing
998 * configure: Regenerate.
1000 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1002 * math/w_ilogb.c: Include <limits.h>.
1003 * math/w_ilogbl.c: Likewise.
1005 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1007 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1008 va_copy. Document allowing for unavailable va_copy only as
1009 pre-C99 compatibility.
1010 * manual/string.texi (Copying and Concatenation): Use va_copy
1011 instead of __va_copy in concat example.
1013 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1015 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1016 (__sendto): Use create_address_port. Initialize APORT and deallocate
1019 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1020 with O_NOLINK passed to __file_name_lookup.
1022 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1023 with O_NOLINK passed to __file_name_lookup.
1025 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1026 negative N or less than NGIDS.
1028 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1029 type to string_t. Set ERANGE as errno and return it if NAME is not big
1030 enough. Use memcpy instead of strncpy.
1032 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1034 * elf/Makefile (check-data): Remove.
1035 (localplt.data): New vpath directive.
1036 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1037 instead of $(check-data).
1038 * scripts/data/localplt-generic.data: Move to ...
1039 * sysdeps/generic/localplt.data: ... here.
1040 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1041 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1042 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1045 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1048 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1051 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1054 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1057 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1061 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1063 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1064 PPC32 and PPC64 files.
1065 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1066 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1068 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1070 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1071 __makecontext_ret to ...
1072 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1073 ... here and call exit if uc_link is NULL. New file.
1074 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1075 __makecontext_ret.S.
1076 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1077 __makecontext_ret to ...
1078 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1079 ... here and call exit if uc_link is NULL. New file.
1080 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1081 __makecontext_ret.S.
1083 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1085 * elf/elf.h (R_390_IRELATIVE): New definition.
1086 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1087 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1088 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1089 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1090 (elf_machine_lazy_rel): Likewise.
1091 * sysdeps/s390/dl-irel.h: New file.
1092 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1093 * sysdeps/s390/s390-64/memset.S: New asm code.
1094 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1095 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1096 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1097 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1098 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1099 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1100 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1101 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1102 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1103 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1104 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1105 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1106 * sysdeps/s390/s390-32/memset.S: New asm code.
1107 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1109 2012-07-17 Marek Polacek <polacek@redhat.com>
1112 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1113 * sysdeps/s390/s390-64/configure.in: Likewise.
1114 * sysdeps/sparc/configure.in: Likewise.
1115 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1116 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1117 * sysdeps/i386/configure.in: Likewise.
1118 * sysdeps/x86_64/configure.in: Likewise.
1119 * sysdeps/sh/configure.in: Likewise.
1120 * sysdeps/s390/s390-32/configure: Regenerated.
1121 * sysdeps/s390/s390-64/configure: Likewise.
1122 * sysdeps/x86_64/configure: Likewise.
1123 * sysdeps/sh/configure: Likewise.
1124 * sysdeps/powerpc/powerpc64/configure: Likewise.
1125 * sysdeps/powerpc/powerpc32/configure: Likewise.
1126 * sysdeps/sparc/configure: Likwise.
1127 * sysdeps/i386/configure: Likewise.
1129 * elf/dl-open.c: Comment fixes.
1131 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1133 * Makefile [CXX] (check-data): Remove.
1134 [CXX] (c++-types.data): New vpath directive.
1135 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1136 vpath. Do not allow for C++ type data being missing.
1137 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1138 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1139 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1140 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1141 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1142 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1143 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1146 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1149 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1152 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1155 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1158 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1161 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1164 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1167 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1168 definitions to architecture-specific files.
1172 * sysdeps/i386/tls-macros.h: New file.
1173 * sysdeps/powerpc/tls-macros.h: Likewise.
1174 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1175 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1176 * sysdeps/sh/tls-macros.h: Likewise.
1177 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1178 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1179 * sysdeps/x86_64/tls-macros.h: Likewise.
1181 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1183 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1184 zero value for regular exit case.
1186 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1187 (__start_context): Preserve zero value for regular exit case.
1189 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1190 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1192 * manual/setjmp.texi (setcontext): Clarify normal process
1193 termination when uc_link is the null pointer.
1194 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1197 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1199 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1200 preprocessor. Test for each exception mask separately.
1202 2012-07-16 Andreas Jaeger <aj@suse.de>
1204 * po/ru.po: Update from translation team.
1206 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1208 * conform/data/string.h-data (NULL): Use macro-constant. Require
1210 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1211 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1212 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
1213 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
1214 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1216 2012-07-13 Andreas Jaeger <aj@suse.de>
1218 * po/fr.po: Update from translation team.
1220 2012-07-12 Marek Polacek <polacek@redhat.com>
1223 * math/libm-test.inc (yn_test): Add test for BZ #14173.
1224 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
1227 2012-07-12 Joseph Myers <joseph@codesourcery.com>
1230 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1231 Change to 2.4.1 where previously 2.4.0.
1232 * sysdeps/unix/sysv/linux/configure: Regenerated.
1233 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
1234 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
1236 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
1237 (__ASSUME_AT_CLKTCK): Remove.
1238 (__ASSUME_AT_PAGESIZE): Likewise.
1239 (__ASSUME_AT_XID): Likewise.
1240 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
1241 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
1242 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
1244 (HAVE_AUX_PAGESIZE): Likewise.
1245 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
1246 [__ASSUME_AT_CLKTCK]: Make code unconditional.
1247 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
1249 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
1252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
1253 the temporary buffer used to invoke __gethostbyname2_r,
1254 __gethostbyaddr_r and gethostbyname4_r to make room for struct
1255 host_data / struct gaih_addrtuple.
1256 * resolv/nss_dns/dns-host.c (global scope): Move definition of
1257 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
1258 header file nss/nsswitch.h.
1259 * nss/nsswitch.h (global scope): Add definition of implementation
1260 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
1261 resolv/nss_dns/dns-host.c).
1263 2012-07-11 Andreas Jaeger <aj@suse.de>
1265 * po/fr.po: Update from translation team.
1267 * po/sv.po: Update from translation team
1268 * po/fr.po: Another update from translation team.
1270 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1272 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
1273 for subnormals or multiply small sinh result by itself.
1274 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1277 2012-07-11 David S. Miller <davem@davemloft.net>
1279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1281 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
1284 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1285 (INTERNAL_MARK): Shift it here.
1287 2012-07-10 Marek Polacek <polacek@redhat.com>
1290 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1291 libc_cv_asm_global_directive with .globl.
1292 * configure: Regenerated.
1293 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1295 * sysdeps/i386/configure: Regenerated.
1296 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1298 * sysdeps/x86_64/configure: Regenerated.
1299 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1300 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1301 * elf/tst-unique2mod2.c: Likewise.
1302 * elf/tst-unique2mod1.c: Likewise.
1303 * elf/tst-unique1mod2.c: Likewise.
1304 * elf/tst-unique1mod1.c: Likewise.
1305 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1306 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1307 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1308 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1309 * sysdeps/mach/sysdep.h: Likewise.
1310 * sysdeps/i386/sysdep.h: Likewise.
1311 * sysdeps/i386/i386-mcount.S: Likewise.
1312 * sysdeps/x86_64/_mcount.S: Likewise.
1313 * sysdeps/x86_64/sysdep.h: Likewise.
1314 * sysdeps/sh/_mcount.S: Likewise.
1315 * sysdeps/sh/sysdep.h: Likewise.
1316 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1317 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1318 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1319 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1320 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1321 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1322 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1323 * locale/localeinfo.h: Likewise.
1324 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1325 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1327 2012-07-09 Roland McGrath <roland@hack.frob.com>
1330 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1332 * manual/message.texi (The Uniforum approach): Likewise.
1333 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1334 (glibc iconv Implementation): Likewise.
1336 2012-07-09 Joseph Myers <joseph@codesourcery.com>
1339 * math/s_clog.c (__clog): Avoid scaling a value down where that
1340 could result in underflow.
1341 * math/s_clog10.c (__clog10): Likewise.
1342 * math/s_clog10f.c (__clog10f): Likewise.
1343 * math/s_clog10l.c (__clog10l): Likewise.
1344 * math/s_clogf.c (__clogf): Likewise.
1345 * math/s_clogl.c (__clogl): Likewise.
1346 * math/libm-test.inc (clog_test): Add more tests.
1347 (clog10_test): Likewise.
1348 * sysdeps/i386/fpu/libm-test-ulps: Update.
1349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1351 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1354 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1355 by 7 not 8 to examine high bit of fractional part.
1358 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1359 for call to __mcount_internal.
1360 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1361 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1362 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1364 2012-07-06 Joseph Myers <joseph@codesourcery.com>
1367 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1368 approximation for values within 0x1p-13f of an odd multiple of
1370 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1371 exception. Add more tests.
1372 * sysdeps/i386/fpu/libm-test-ulps: Update.
1375 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1376 inputs and return -1 for them. Do not check for +Inf in case not
1378 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1379 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1380 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1381 and return -1 for them. Do not check for +Inf in case not
1383 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1385 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1386 and return -1 for them. Do not check for +Inf in case not
1388 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1390 * sysdeps/i386/fpu/libm-test-ulps: Update.
1391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1393 2012-07-06 Mike Frysinger <vapier@gentoo.org>
1395 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1397 2012-07-05 Joseph Myers <joseph@codesourcery.com>
1401 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1402 could result in spurious underflow. Scale down values above
1403 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1404 * math/s_csqrtf.c (__csqrtf): Likewise.
1405 * math/s_csqrtl.c (__csqrtl): Likewise.
1406 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1408 * sysdeps/i386/fpu/libm-test-ulps: Update.
1409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1411 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1413 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1415 * catgets/xopen-msg.awk: New file.
1416 * catgets/xopen-msg.sed: Removed.
1418 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1420 * intl/po2test.awk: New file.
1421 * intl/po2test.sed: Removed.
1423 2012-07-04 Joseph Myers <joseph@codesourcery.com>
1426 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1427 or multiply small sinh result by itself.
1428 * math/s_ctanf.c (__ctanf): Likewise.
1429 * math/s_ctanh.c (__ctanh): Likewise.
1430 * math/s_ctanhf.c (__ctanhf): Likewise.
1431 * math/s_ctanhl.c (__ctanhl): Likewise.
1432 * math/s_ctanl.c (__ctanl): Likewise.
1433 * math/libm-test.inc (ctan_test_tonearest): New function.
1434 (ctan_test_towardzero): Likewise.
1435 (ctan_test_downward): Likewise.
1436 (ctan_test_upward): Likewise.
1437 (ctanh_test_tonearest): Likewise.
1438 (ctanh_test_towardzero): Likewise.
1439 (ctanh_test_downward): Likewise.
1440 (ctanh_test_upward): Likewise.
1441 (main): Call these new functions.
1442 * sysdeps/i386/fpu/libm-test-ulps: Update.
1443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1445 2012-07-03 Mike Frysinger <vapier@gentoo.org>
1447 * .gitignore: Delete /ports entry.
1449 2012-07-03 Andreas Jaeger <aj@suse.de>
1451 * po/bg.po: Update from translation team.
1452 * po/cs.po: Likewise.
1453 * po/de.po: Likewise.
1454 * po/hr.po: Likewise.
1455 * po/nl.pl: Likewise.
1456 * po/pl.po: Likewise.
1457 * po/vi.po: Likewise.
1459 2012-07-03 Joseph Myers <joseph@codesourcery.com>
1461 * Makeconfig [!+link] (+link-before-libc): New variable.
1462 [!+link] (+link-after-libc): Likewise.
1463 [!+link] (+link-tests): Likewise.
1464 [!+link] (+link): Define in terms of $(+link-before-libc) and
1465 $(+link-after-libc).
1466 [!+link-static] (+link-static-before-libc): New variable.
1467 [!+link-static] (+link-static-after-libc): Likewise.
1468 [!+link-static] (+link-static-tests): Likewise.
1469 [!+link-static] (+link-static): Define in terms of
1470 $(+link-static-before-libc) and $(+link-static-after-libc).
1471 [build-shared] (link-libc-before-gnulib): New variable.
1472 [build-shared] (link-libc-tests): Likewise.
1473 [build-shared] (link-libc): Define in terms of
1474 $(link-libc-before-gnulib).
1475 [!build-shared] (link-libc-tests): New variable.
1476 (link-libc-static-tests): New variable.
1477 [!gnulib] (gnulib-arch): New variable.
1478 [!gnulib] (gnulib-tests): Likewise.
1479 [!gnulib] (static-gnulib-arch): Likewise.
1480 [!gnulib] (static-gnulib-tests): Likewise.
1481 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1482 Define with "=" instead of ":=".
1483 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1484 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1485 * Rules (binaries-all-notests): New variable.
1486 (binaries-all-tests): Likewise.
1487 (binaries-static-notests): Likewise.
1488 (binaries-static-tests): Likewise.
1489 (binaries-all): Define using $(binaries-all-notests) and
1490 $(binaries-all-tests).
1491 (binaries-static): Define using $(binaries-static-notests) and
1492 $(binaries-static-tests).
1493 (binaries-shared-tests): New variable.
1494 (binaries-shared-notests): Likewise.
1495 (binaries-shared): Remove variable.
1496 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1497 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1498 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1499 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1500 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1501 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1502 * elf/Makefile (sln-modules): New variable.
1503 (extra-objs): Add $(sln-modules:=.o).
1504 (ldconfig-modules): Add static-stubs.
1505 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1506 * elf/static-stubs.c: New file.
1509 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1510 by 7 not 8 to examine high bit of fractional part. Use volatile
1511 variables when splitting into final array of floats if
1512 __FLT_EVAL_METHOD__ != 0.
1513 * math/libm-test.inc (cos_test): Add another test.
1514 (sin_test): Likewise.
1515 * sysdeps/i386/fpu/libm-test-ulps: Update.
1518 * math/libm-test.inc (cosh_test): Add more tests.
1520 * version.h (RELEASE): Set to "development".
1521 (VERSION): Set to "2.16.90".
1523 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1525 * NEWS: Update copyright. Remove last-updated date.
1526 Mention math library bug fixes and timezone data changes.
1527 * README: Mention GNU/Hurd, x32, and HPPA support status.
1529 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1531 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1533 2012-06-27 Andreas Jaeger <aj@suse.de>
1535 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1537 2012-06-25 Andreas Jaeger <aj@suse.de>
1539 * sysdeps/s390/fpu/libm-test-ulps: Update.
1541 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1542 Thomas Schwinge <thomas@codesourcery.com>
1544 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1545 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1546 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1549 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1551 * sysdeps/mach/start.c: Remove file.
1552 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1553 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1554 * sysdeps/sh/init-first.c: Likewise.
1556 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1557 registers for frame unwinding purposes, add CFI directives.
1558 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1559 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1560 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1563 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1564 __fortify_fail returning.
1565 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1567 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1568 sysdeps/sh/____longjmp_chk.S.
1569 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1570 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1571 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1572 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1574 * sysdeps/sh/abort-instr.h: New file.
1575 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1576 process in case exit returns.
1578 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1579 initialize the GOT register before use.
1581 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1582 calculation of ARGC > 4.
1584 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1585 meaningful names to some local labels.
1587 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1588 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1590 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1591 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1592 (__arch_compare_and_exchange_val_16_acq): Likewise.
1593 (__arch_compare_and_exchange_val_32_acq): Likewise.
1594 (atomic_exchange_and_add): Fix gUSA sequence.
1595 (atomic_add): Likewise.
1596 (atomic_add_negative): Likewise.
1597 (atomic_add_zero): Likewise.
1598 (atomic_bit_test_set): Likewise.
1600 2012-06-22 Andreas Schwab <schwab@redhat.com>
1603 * include/link.h (struct link_map): Add l_free_initfini.
1604 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1606 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1607 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1608 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1611 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1613 * configure.in: Use AC_LANG_SOURCE.
1614 * configure: Regenerate.
1616 2012-06-22 Roland McGrath <roland@hack.frob.com>
1618 * configure.in (libc_cv_localstatedir): New substituted variable.
1619 * configure: Regenerated.
1620 * config.make.in (localstatedir): New variable, substituted from
1621 libc_cv_localstatedir.
1622 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1623 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1624 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1625 * sysdeps/gnu/configure: Regenerated.
1627 2012-06-21 Jeff Law <law@redhat.com>
1630 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1631 free. Simplify list management for _LIBC case.
1633 2012-06-21 Joseph Myers <joseph@codesourcery.com>
1636 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1637 Clear sign bit of 64-bit integer value before comparing against
1640 * sysdeps/mach/configure: Regenerated.
1642 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1645 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1647 2012-06-21 Jeff Law <law@redhat.com>
1650 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1651 uint16_t for elements in the "seen" array to avoid char overflows.
1652 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1653 * elf/dl-open.c (dl_open_worker): Likewise.
1655 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1657 * scripts/list-sources.sh: Scan PORTS for translations.
1658 * po/libc.pot: Regenerated.
1660 2012-06-21 Andreas Jaeger <aj@suse.de>
1663 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1665 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1666 * bits/byteswap-16.h (__bswap_16): Likewise.
1667 * bits/byteswap.h (__bswap_constant_16): Likewise.
1669 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1672 * sysdeps/i386/fpu_control.h: Removed.
1673 * sysdeps/x86_64/fpu_control.h: Moved to ...
1674 * sysdeps/x86/fpu_control.h: Here.
1676 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1677 (_FPU_SETCW): Likewise.
1679 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1682 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1683 * sysdeps/x86/fpu/bits/mathinline.h: This.
1684 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1688 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1689 functions if __x86_64__ is defined.
1691 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1693 * string/endian.h: Add !__ASSEMBLER__ condition for including
1694 conversion interfaces.
1696 2012-06-15 Joseph Myers <joseph@codesourcery.com>
1699 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1700 of ABS(x) in calculating zero to negative powers other than odd
1702 * math/libm-test.inc (pow_test): Add more tests.
1704 2012-06-15 Andreas Jaeger <aj@suse.de>
1706 * manual/contrib.texi (Contributors): Update entry of Liubov
1707 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1710 2012-06-15 Cyril Hrubis <metan@ucw.cz>
1712 * string/string.h: Add __wur to GNU version of strerror_r.
1714 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1717 * string/Makefile (tests): Add tst-strtok_r.
1718 * string/tst-strtok_r.c: New file.
1719 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1720 RAX_LP/RDX_LP on SAVE_PTR.
1722 2012-06-14 Roland McGrath <roland@hack.frob.com>
1724 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1726 2012-06-14 Joseph Myers <joseph@codesourcery.com>
1728 * libm_test.inc (csqrt_test): Allow more spurious underflow
1730 (j0_test): Likewise.
1731 (j1_test): Likewise.
1732 (y0_test): Likewise.
1733 (y1_test): Likewise.
1735 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1737 * po/Makefile (libc.pot): Use UTF-8 charset.
1739 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1742 Suppress sign-conversion warning from FD_SET.
1743 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1744 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1745 not unsigned long int.
1746 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1748 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1752 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1753 __extern_always_inline instead of __extern_inline.
1754 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1755 (__signbit): Likewise.
1756 (__signbitl): Support C++ namespace.
1757 (lrintf): New inline function.
1759 (llrintf): Likewise.
1771 (nearbyint): Likewise.
1772 (nearbyintf): Likewise.
1774 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1776 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1777 non-default versions.
1779 2012-06-11 Roland McGrath <roland@hack.frob.com>
1782 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1784 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1786 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1787 (FE_UPWARD, FE_DOWNWARD): Don't define.
1788 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1789 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1791 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1793 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1794 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1796 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1798 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1800 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1801 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1803 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1806 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1807 * sysdeps/i386/fpu/Implies: New file.
1808 * sysdeps/x86_64/fpu/Implies: Likewise.
1809 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1810 * sysdeps/x86/fpu/bits/fenv.h: This.
1812 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1815 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1818 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1819 character 0xffff that matches the last element of the
1822 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1827 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1830 values higher than 25.6283.
1832 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1835 subnormal exponent extraction and add some __builtin_expect.
1836 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1837 Fix for subnormal mantissa calculation.
1839 2012-06-04 Mike Frysinger <vapier@gentoo.org>
1841 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1842 cpu2 is -1 and errno is not ENOSYS.
1844 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1847 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1848 * sysdeps/x86/bits/string.h: This.
1849 * sysdeps/x86_64/bits/string.h: Removed.
1851 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1852 if not compiling for x86-64, but compiling for >= i486.
1854 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1855 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1857 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1858 New macro from Linux kernel 3.4.0.
1859 (FP_XSTATE_MAGIC2): Likewise.
1860 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1861 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1862 (struct _fpx_sw_bytes): New struct.
1863 (struct _xsave_hdr): Likewise.
1864 (struct _ymmh_state): Likewise.
1865 (struct _xstate): Likewise.
1867 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1868 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1869 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1870 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1871 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1872 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1874 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1875 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1876 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1877 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1878 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1879 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1881 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1884 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1885 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1886 (sysdep_headers): Include sys/platform/ppc.h.
1887 * sysdeps/powerpc/test-gettimebase.c: Test for
1888 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1889 * manual/Makefile (appendices): Include platform.texi.
1890 * manual/contrib.texi (Contributors): Update @node pointers.
1891 * manual/maint.texi (Maintenance): Likewise.
1892 (Platform): New node.
1893 * manual/platform.texi: New file. Document the new features.
1895 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1896 Jakub Jelinek <jakub@redhat.com>
1899 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1900 where __builtin_expect is unavailable.
1902 2012-06-03 David S. Miller <davem@davemloft.net>
1904 * stdlib/longlong.h: Updated from GCC.
1906 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1909 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1910 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1913 (GLIBC_2.16): Likewise.
1915 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1917 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1919 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1922 (default-abi): New variable.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1924 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1926 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1928 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1930 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1933 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1934 definition. Document in comment.
1936 2012-06-01 David S. Miller <davem@davemloft.net>
1938 * stdlib/longlong.h: Updated from GCC.
1940 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1943 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1944 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1945 sys/debugreg.h sys/io.h here.
1946 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1947 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1949 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1950 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1951 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1952 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1953 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1954 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1956 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1957 Define only if __x86_64__ is defined.
1959 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1962 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1963 Use int64_t for variable i.
1964 * math/libm-test.inc (fmod_test): Add more tests.
1966 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1967 z computation is not scheduled after fetestexcept.
1968 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1969 Use math_force_eval instead of asm to ensure calculation scheduled
1970 before exception test.
1971 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1972 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1974 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1977 computation is not scheduled after fetestexcept.
1979 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1982 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1983 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1985 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1987 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1988 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1990 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1993 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1995 (__WCHAR_MIN): Support __WORDSIZE == 64.
1996 (__WCHAR_MAX): Likewise.
1998 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1999 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2003 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2006 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2007 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2009 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2010 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2012 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2013 Defined to 1 if __x86_64__ isn't defined.
2014 (_STAT_VER_LINUX_OLD): New.
2015 (st_atime): Remove duplicate.
2016 (st_mtime): Likewise.
2017 (st_ctime): Likewise.
2019 2012-05-31 David S. Miller <davem@davemloft.net>
2021 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2024 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2026 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2030 * elf/dl-reloc.c: Include <_itoa.h>.
2031 (_dl_reloc_bad_type): Remove use of INTUSE.
2032 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2033 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2034 * stdio-common/psiginfo.c (psiginfo): Likewise.
2035 * stdio-common/psignal.c (psignal): Likewise.
2036 * string/strsignal.c (strsignal): Likewise.
2037 * include/signal.h (_sys_siglist): Declare hidden proto.
2038 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2039 INTVARDEF with libc_hidden_data_def.
2040 * stdio-common/itoa-udigits.c: Likewise.
2041 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2042 (_itoa_lower_digits_internal): Remove declaration.
2043 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2044 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2045 (_sys_sigabbrev_internal): Remove aliases.
2046 (_sys_siglist): Define hidden alias.
2048 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2053 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2056 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2057 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2059 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2060 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2061 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2062 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2063 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2064 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2066 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2067 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2068 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2070 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2078 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2079 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2080 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2082 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2083 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2084 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2085 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2086 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2087 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2089 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2090 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2092 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2093 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2095 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2096 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2097 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2099 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2100 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2102 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2104 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2105 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2106 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2108 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2110 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2112 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2114 * math/math.h (M_El): Use two more decimal places.
2115 (M_LOG2El): Likewise.
2116 (M_LOG10El): Likewise.
2118 (M_LN10l): Likewise.
2120 (M_PI_2l): Likewise.
2121 (M_PI_4l): Likewise.
2122 (M_1_PIl): Likewise.
2123 (M_2_PIl): Likewise.
2124 (M_2_SQRTPIl): Likewise.
2125 (M_SQRT2l): Likewise.
2126 (M_SQRT1_2l): Likewise.
2128 2012-05-31 David S. Miller <davem@davemloft.net>
2130 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2131 values between float registers.
2132 * sysdeps/sparc/sparc64/memset.S: Likewise.
2133 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2135 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2137 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2138 -D_FORTIFY_SOURCE=1.
2139 (CPPFLAGS-tst-longjmp_chk.c): Define.
2140 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2141 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2142 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2143 CFLAGS-tst-wchar-h.c.
2145 2012-05-31 Marek Polacek <polacek@redhat.com>
2148 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2149 __endmntent_internal): Remove declaration.
2150 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2151 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2152 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2154 2012-05-30 David S. Miller <davem@davemloft.net>
2156 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2157 (___Q_simulate_exceptions): Use real FP ops rather than writing
2159 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2162 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2165 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2166 * sysdeps/x86/bits/xtitypes.h: This.
2168 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2169 * sysdeps/x86/bits/wordsize.h: This.
2171 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2172 * sysdeps/x86/bits/huge_vall.h: This.
2174 * sysdeps/i386/bits/select.h: Removed.
2175 * sysdeps/x86_64/bits/select.h: Renamed to ...
2176 * sysdeps/x86/bits/select.h: This.
2178 * sysdeps/i386/bits/setjmp.h: Removed.
2179 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2180 * sysdeps/x86/bits/setjmp.h: This.
2182 * sysdeps/i386/bits/mathdef.h: Removed.
2183 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2184 * sysdeps/x86/bits/mathdef.h: This.
2186 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2189 * include/sys/socket.h (__connect_internal)
2190 (__libc_sa_len_internal): Remove declaration.
2191 (__connect, __libc_sa_len): Declare hidden_proto.
2192 (SA_LEN): Remove use of INTUSE.
2193 * socket/connect.c: Add libc_hidden_def.
2194 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2195 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2196 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2198 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2199 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2200 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2201 of adding _internal alias.
2203 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2206 * sysdeps/i386/bits/link.h: Removed.
2207 * sysdeps/i386/bits/linkmap.h: Likewise.
2208 * sysdeps/x86_64/bits/link.h: Renamed to ...
2209 * sysdeps/x86/bits/link.h: This.
2210 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2211 * sysdeps/x86/bits/linkmap.h: This.
2213 * sysdeps/i386/bits/endian.h: Removed.
2214 * sysdeps/x86_64/bits/endian.h: Renamed to ...
2215 * sysdeps/x86/bits/endian.h: This.
2217 * sysdeps/i386/bits/byteswap.h: Removed.
2218 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2219 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
2220 * sysdeps/x86/bits/byteswap.h: This.
2221 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
2222 * sysdeps/x86/bits/byteswap-16.h: This.
2223 * sysdeps/i386/Implies: Add x86.
2224 * sysdeps/x86_64/Implies: Likewise.
2226 2012-05-30 David S. Miller <davem@davemloft.net>
2228 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
2229 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
2230 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2231 (FP_TRAPPING_EXCEPTIONS): Define.
2232 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2233 (FP_TRAPPING_EXCEPTIONS): Define.
2234 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
2235 subnormals only when inexact has been signalled or underflow
2236 exceptions are enabled.
2237 (_FP_PACK_CANONICAL): Likewise.
2239 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2242 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
2243 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
2245 2012-05-30 Richard Henderson <rth@twiddle.net>
2247 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
2248 with #ifndef NOT_IN_libc.
2250 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
2251 marked to avoid plt entry.
2253 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2256 * Makeconfig (default-abi): New macro.
2257 (abi-includes): Likewise.
2258 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
2259 $(abi-$(default-abi)-lib-soname) for soname if defined.
2260 ($(common-objpfx)gnu/lib-names.stmp): Generate from
2262 * Makefile (installed-stubs): Likewise.
2263 * include/stubs-biarch.h: Removed.
2264 * scripts/lib-names.awk: Only handle one library at a time.
2265 * scripts/soversions.awk: Remove WORDSIZE support.
2266 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
2268 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
2270 (syscall-list-default-condition): Likewise.
2271 (syscall-list-default-condition): Likewise.
2272 (syscall-list-includes): Likewise.
2273 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
2274 syscall-list-* with abi-*. Handle undefined abi-variants.
2275 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
2276 * sysdeps/unix/sysv/linux/i386/Implies: New file.
2277 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
2278 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
2279 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
2280 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
2282 (syscall-list-32-options): Likewise.
2283 (syscall-list-32-condition): Likewise.
2284 (syscall-list-64-options): Likewise.
2285 (syscall-list-64-condition): Likewise.
2286 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2288 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2291 (abi-64-ld-soname): New macro.
2292 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2293 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2296 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2297 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2299 2012-05-30 Joseph Myers <joseph@codesourcery.com>
2301 * sysdeps/unix/sysv/linux/kernel-features.h
2302 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2303 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2304 include <kernel-features.h>.
2305 [!__NR_ftruncate64]: Remove conditional code.
2306 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2307 [__NR_ftruncate64]: Make code unconditional.
2308 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2309 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2310 include <kernel-features.h>.
2311 [!__NR_ftruncate64]: Remove conditional code.
2312 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2313 [__NR_ftruncate64]: Make code unconditional.
2314 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2316 include <kernel-features.h>.
2317 [!__NR_ftruncate64]: Remove conditional code.
2318 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2319 [__NR_ftruncate64]: Make code unconditional.
2320 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2322 include <kernel-features.h>.
2323 [!__NR_ftruncate64]: Remove conditional code.
2324 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2325 [__NR_ftruncate64]: Make code unconditional.
2326 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2328 * configure.in (libc_cv_fpie): Weaken to a compile test using
2330 * configure: Regenerated.
2332 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2347 2012-05-27 David S. Miller <davem@davemloft.net>
2349 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2351 (__Q_simulate_exceptions): Return void. Change to simulate
2352 exceptions by writing into the %fsr.
2353 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2354 (__Qp_handle_exceptions): Likewise.
2356 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2357 __Qp_handle_exceptions.
2358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2359 __Qp_handle_exceptions.
2360 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2361 as unused and give dummy FP_RND_NEAREST initializer.
2362 (FP_INHIBIT_RESULTS): Define.
2363 (___Q_simulate_exceptions): Update declaration.
2364 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2366 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2367 as unused and give dummy FP_RND_NEAREST initializer.
2368 (__Qp_handle_exceptions): Update declaration.
2369 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2372 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2374 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2375 the temporary FPU control word.
2376 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2377 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2378 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2379 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2380 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2381 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2382 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2383 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2384 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2385 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2386 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2388 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2390 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2393 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2395 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2396 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2397 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2398 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2400 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2401 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2404 2012-05-27 Ulrich Drepper <drepper@gmail.com>
2406 * po/h.po: Update from translation team.
2408 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2410 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2412 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2413 handling of denormals.
2414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2415 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2416 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2417 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2418 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2420 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2423 2012-05-26 Marek Polacek <polacek@redhat.com>
2426 * math/libm-test.inc (fma_test): Don't always expect underflow
2429 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2432 * elf/tst-execstack.c: Include stackinfo.h.
2433 (do_test): Adjust test case to ensure that pthread_getattr_np
2434 behaviour remains the same after marking stack executable.
2436 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2438 * sysdeps/unix/sysv/linux/kernel-features.h
2439 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2440 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2442 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2443 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2444 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2446 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2447 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2449 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2451 * configure.in: Define the default includes to being none.
2452 * configure: Regenerated.
2454 2012-05-25 Roland McGrath <roland@hack.frob.com>
2456 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2457 * sysdeps/x86_64/setjmp.S: Likewise.
2458 * sysdeps/i386/bsd-setjmp.S: Likewise.
2459 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2460 * sysdeps/i386/setjmp.S: Likewise.
2461 * sysdeps/i386/__longjmp.S: Likewise.
2462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2463 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2465 * include/stap-probe.h: New file.
2466 * configure.in: Handle --enable-systemtap.
2467 * configure: Regenerated.
2468 * config.h.in (USE_STAP_PROBE): New #undef.
2469 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2470 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2471 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2473 2012-05-25 Joseph Myers <joseph@codesourcery.com>
2476 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2477 to 2.4.0 where earlier.
2478 * sysdeps/unix/sysv/linux/configure: Regenerated.
2479 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2480 <kernel-features.h>.
2481 [__ASSUME_32BITUIDS]: Make code unconditional.
2482 [!__ASSUME_32BITUIDS]: Remove conditional code.
2483 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2484 <kernel-features.h>.
2485 [__ASSUME_32BITUIDS]: Make code unconditional.
2486 [!__ASSUME_32BITUIDS]: Remove conditional code.
2487 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2488 [__ASSUME_32BITUIDS]: Make code unconditional.
2489 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2490 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2491 <kernel-features.h>.
2492 [__ASSUME_32BITUIDS]: Make code unconditional.
2493 [!__ASSUME_32BITUIDS]: Remove conditional code.
2494 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
2503 <kernel-features.h>.
2504 [__ASSUME_32BITUIDS]: Make code unconditional.
2505 [!__ASSUME_32BITUIDS]: Remove conditional code.
2506 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2507 <kernel-features.h>.
2508 [__ASSUME_32BITUIDS]: Make code unconditional.
2509 [!__ASSUME_32BITUIDS]: Remove conditional code.
2510 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2511 <kernel-features.h>.
2512 [__ASSUME_32BITUIDS]: Make code unconditional.
2513 [!__ASSUME_32BITUIDS]: Remove conditional code.
2514 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2515 <kernel-features.h>.
2516 [__ASSUME_32BITUIDS]: Make code unconditional.
2517 [!__ASSUME_32BITUIDS]: Remove conditional code.
2518 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2519 <kernel-features.h>.
2520 [__ASSUME_32BITUIDS]: Make code unconditional.
2521 [!__ASSUME_32BITUIDS]: Remove conditional code.
2522 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2523 <kernel-features.h>.
2524 [__ASSUME_32BITUIDS]: Make code unconditional.
2525 [!__ASSUME_32BITUIDS]: Remove conditional code.
2526 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2527 <kernel-features.h>.
2528 [__ASSUME_32BITUIDS]: Make code unconditional.
2529 [!__ASSUME_32BITUIDS]: Remove conditional code.
2530 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2531 <kernel-features.h>.
2532 [__NR_setresgid] (__setresgid): Do not declare.
2533 [__ASSUME_32BITUIDS]: Make code unconditional.
2534 [!__ASSUME_32BITUIDS]: Remove conditional code.
2535 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2536 <kernel-features.h>.
2537 [__NR_setresuid] (__setresuid): Do not declare.
2538 [__ASSUME_32BITUIDS]: Make code unconditional.
2539 [!__ASSUME_32BITUIDS]: Remove conditional code.
2540 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2541 <kernel-features.h>.
2542 [__ASSUME_32BITUIDS]: Make code unconditional.
2543 [!__ASSUME_32BITUIDS]: Remove conditional code.
2544 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2545 <kernel-features.h>.
2546 [__ASSUME_32BITUIDS]: Make code unconditional.
2547 [!__ASSUME_32BITUIDS]: Remove conditional code.
2548 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2549 <kernel-features.h>.
2550 [__ASSUME_32BITUIDS]: Make code unconditional.
2551 [!__ASSUME_32BITUIDS]: Remove conditional code.
2552 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2553 <kernel-features.h>.
2554 [__ASSUME_32BITUIDS]: Make code unconditional.
2555 [!__ASSUME_32BITUIDS]: Remove conditional code.
2556 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2557 <kernel-features.h>.
2558 [__ASSUME_32BITUIDS]: Make code unconditional.
2559 [!__ASSUME_32BITUIDS]: Remove conditional code.
2560 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2561 <kernel-features.h>.
2562 [__ASSUME_32BITUIDS]: Make code unconditional.
2563 [!__ASSUME_32BITUIDS]: Remove conditional code.
2564 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2565 <kernel-features.h>.
2566 [__ASSUME_32BITUIDS]: Make code unconditional.
2567 [!__ASSUME_32BITUIDS]: Remove conditional code.
2568 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2569 <kernel-features.h>.
2570 [__ASSUME_32BITUIDS]: Make code unconditional.
2571 [!__ASSUME_32BITUIDS]: Remove conditional code.
2572 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2573 <kernel-features.h>.
2574 [__ASSUME_32BITUIDS]: Make code unconditional.
2575 [!__ASSUME_32BITUIDS]: Remove conditional code.
2576 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2577 <kernel-features.h>.
2578 [__ASSUME_32BITUIDS]: Make code unconditional.
2579 [!__ASSUME_32BITUIDS]: Remove conditional code.
2580 * sysdeps/unix/sysv/linux/kernel-features.h
2581 (__ASSUME_SETRESUID_SYSCALL): Remove.
2582 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2583 (__ASSUME_32BITUIDS): Likewise.
2584 (__ASSUME_LDT_WORKS): Likewise.
2585 (__ASSUME_O_DIRECTORY): Likewise.
2586 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2587 architecture but not kernel version.
2588 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2589 (__ASSUME_MMAP2_SYSCALL): Likewise.
2590 (__ASSUME_STAT64_SYSCALL): Likewise.
2591 (__ASSUME_IPC64): Likewise.
2592 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2593 <kernel-features.h>.
2594 [__ASSUME_32BITUIDS]: Make code unconditional.
2595 [!__ASSUME_32BITUIDS]: Remove conditional code.
2596 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2597 <kernel-features.h>.
2598 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2599 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2600 132096]: Remove conditional code.
2601 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2602 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2603 <kernel-features.h>.
2604 [__ASSUME_32BITUIDS]: Make code unconditional.
2605 [!__ASSUME_32BITUIDS]: Remove conditional code.
2606 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2607 <kernel-features.h>.
2608 [__ASSUME_32BITUIDS]: Make code unconditional.
2609 [!__ASSUME_32BITUIDS]: Remove conditional code.
2610 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2611 <kernel-features.h>.
2612 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2614 (__setresgid): Do not declare.
2615 [__ASSUME_32BITUIDS]: Make code unconditional.
2616 [!__ASSUME_32BITUIDS]: Remove conditional code.
2617 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2618 <kernel-features.h>.
2619 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2621 (__setresuid): Do not declare.
2622 [__ASSUME_32BITUIDS]: Make code unconditional.
2623 [!__ASSUME_32BITUIDS]: Remove conditional code.
2624 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2625 <kernel-features.h>.
2626 [__ASSUME_32BITUIDS]: Make code unconditional.
2627 [!__ASSUME_32BITUIDS]: Remove conditional code.
2628 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2629 <kernel-features.h>.
2630 [__ASSUME_32BITUIDS]: Make code unconditional.
2631 [!__ASSUME_32BITUIDS]: Remove conditional code.
2633 2012-05-25 Richard Henderson <rth@twiddle.net>
2635 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2636 dl_hwcap to ifunc resolver.
2637 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2639 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2640 dl_hwcap to ifunc resolver.
2641 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2643 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2646 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2647 for |x| <= 2**-26, not 2**-57.
2648 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2651 2012-05-24 Jeff Law <law@redhat.com>
2653 * stdio-common/Makefile (tests): Add bug25.
2654 * stdio-common/bug25.c: New test.
2656 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2659 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2660 multiple of MALLOC_ALIGNMENT in size.
2661 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2663 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2665 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2667 (FILENAME_MAX): Use macro-int-constant.
2668 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2669 (_IOFBF): Use macro-int-constant.
2672 (SEEK_CUR): Likewise.
2673 (SEEK_END): Likewise.
2674 (SEEK_SET): Likewise.
2675 (TMP_MAX): Likewise.
2676 (EOF): Use macro-int-constant. Require < 0.
2677 (NULL): Use macro-constant. Require == 0.
2678 (stdin): Require type to be FILE *.
2681 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2683 (EXIT_SUCCESS): Likewise.
2684 (NULL): Use macro-constant. Require == 0.
2685 (RAND_MAX): Use macro-int-constant.
2686 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2687 [C99-based standards] (strtof): Require function.
2688 [C99-based standards] (strtold): Likewise.
2689 [C99-based standards] (strtoll): Likewise.
2690 [C99-based standards] (strtoull): Likewise.
2691 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2692 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2693 [ISO || ISO99 || ISO11] (math.h): Likewise.
2694 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2695 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2696 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2698 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2701 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2702 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2703 * intl/dgettext.c (DCGETTEXT): Likewise.
2704 * intl/gettext.c (DCGETTEXT): Likewise.
2705 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2706 * posix/regex_internal.h (gettext): Likewise.
2707 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2709 * include/argz.h (__argz_count_internal)
2710 (__argz_stringify_internal): Remove declaration.
2711 (__argz_count, __argz_stringify): Declare hidden proto.
2712 * intl/dcgettext.c: Remove use of INTDEF.
2713 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2714 * string/argz-stringify.c: Likewise.
2715 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2716 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2717 Declare hidden proto.
2718 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2719 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2720 Declare hidden proto.
2721 * include/stdio.h (__asprintf_internal): Don't declare.
2722 (__asprintf): Don't define as macro. Declare hidden proto.
2723 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2724 (__fsetlocking): Declare hidden proto.
2725 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2726 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2728 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2729 (_IO_setlinebuf): Remove use of INTUSE.
2730 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2731 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2732 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2734 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2735 (_IO_do_flush): Remove use of INTUSE.
2736 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2737 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2738 (_IO_adjust_column, _IO_least_wmarker)
2739 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2740 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2741 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2742 (_IO_default_doallocate, _IO_wdefault_doallocate)
2743 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2744 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2745 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2746 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2747 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2748 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2749 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2750 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2751 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2752 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2753 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2754 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2755 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2757 (_IO_flush_all_internal, _IO_adjust_column_internal)
2758 (_IO_default_uflow_internal, _IO_default_finish_internal)
2759 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2760 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2761 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2762 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2763 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2764 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2765 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2766 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2767 (_IO_file_close_internal, _IO_file_close_it_internal)
2768 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2769 (_IO_file_init_internal, _IO_file_attach_internal)
2770 (_IO_file_fopen_internal, _IO_file_read_internal)
2771 (_IO_file_sync_internal, _IO_file_seek_internal)
2772 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2773 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2774 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2775 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2776 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2777 (_IO_list_all_internal, _IO_link_in_internal)
2778 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2779 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2780 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2781 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2782 (_IO_do_write_internal, _IO_padn_internal)
2783 (_IO_getline_info_internal, _IO_getline_internal)
2784 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2785 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2786 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2787 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2788 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2789 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2790 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2791 with libc_hidden_ver, remove use of INTUSE.
2792 * libio/genops.c: Likewise.
2793 * libio/freopen.c: Likewise.
2794 * libio/freopen64.c: Likewise.
2795 * libio/iofclose.c: Likewise.
2796 * libio/iofdopen.c: Likewise.
2797 * libio/iofflush.c: Likewise.
2798 * libio/iofflush_u.c: Likewise.
2799 * libio/iofgets.c: Likewise.
2800 * libio/iofgets_u.c: Likewise.
2801 * libio/iofopen.c: Likewise.
2802 * libio/iofopncook.c: Likewise.
2803 * libio/iofread.c: Likewise.
2804 * libio/iofread_u.c: Likewise.
2805 * libio/ioftell.c: Likewise.
2806 * libio/iofwrite.c: Likewise.
2807 * libio/iogetline.c: Likewise.
2808 * libio/iogets.c: Likewise.
2809 * libio/iogetwline.c: Likewise.
2810 * libio/iopadn.c: Likewise.
2811 * libio/iopopen.c: Likewise.
2812 * libio/ioseekoff.c: Likewise.
2813 * libio/ioseekpos.c: Likewise.
2814 * libio/iosetbuffer.c: Likewise.
2815 * libio/iosetvbuf.c: Likewise.
2816 * libio/ioungetc.c: Likewise.
2817 * libio/ioungetwc.c: Likewise.
2818 * libio/iovdprintf.c: Likewise.
2819 * libio/iovsprintf.c: Likewise.
2820 * libio/iovsscanf.c: Likewise.
2821 * libio/memstream.c: Likewise.
2822 * libio/obprintf.c: Likewise.
2823 * libio/oldfileops.c: Likewise.
2824 * libio/oldiofclose.c: Likewise.
2825 * libio/oldiofdopen.c: Likewise.
2826 * libio/oldiofopen.c: Likewise.
2827 * libio/oldiopopen.c: Likewise.
2828 * libio/oldstdfiles.c: Likewise.
2829 * libio/putc.c: Likewise.
2830 * libio/setbuf.c: Likewise.
2831 * libio/setlinebuf.c: Likewise.
2832 * libio/stdfiles.c: Likewise.
2833 * libio/strops.c: Likewise.
2834 * libio/vasprintf.c: Likewise.
2835 * libio/vscanf.c: Likewise.
2836 * libio/vsnprintf.c: Likewise.
2837 * libio/vswprintf.c: Likewise.
2838 * libio/wfiledoalloc.c: Likewise.
2839 * libio/wfileops.c: Likewise.
2840 * libio/wgenops.c: Likewise.
2841 * libio/wmemstream.c: Likewise.
2842 * libio/wstrops.c: Likewise.
2843 * libio/__fpurge.c: Likewise.
2844 * libio/__fsetlocking.c: Likewise.
2845 * assert/assert.c: Likewise.
2846 * debug/fgets_chk.c: Likewise.
2847 * debug/fgets_u_chk.c: Likewise.
2848 * debug/fread_chk.c: Likewise.
2849 * debug/fread_u_chk.c: Likewise.
2850 * debug/gets_chk.c: Likewise.
2851 * debug/obprintf_chk.c: Likewise.
2852 * debug/vasprintf_chk.c: Likewise.
2853 * debug/vdprintf_chk.c: Likewise.
2854 * debug/vsnprintf_chk.c: Likewise.
2855 * debug/vsprintf_chk.c: Likewise.
2856 * malloc/mtrace.c: Likewise.
2857 * misc/error.c: Likewise.
2858 * misc/syslog.c: Likewise.
2859 * stdio-common/asprintf.c: Likewise.
2860 * stdio-common/fxprintf.c: Likewise.
2861 * stdio-common/getw.c: Likewise.
2862 * stdio-common/isoc99_fscanf.c: Likewise.
2863 * stdio-common/isoc99_scanf.c: Likewise.
2864 * stdio-common/isoc99_vfscanf.c: Likewise.
2865 * stdio-common/isoc99_vscanf.c: Likewise.
2866 * stdio-common/isoc99_vsscanf.c: Likewise.
2867 * stdio-common/printf-prs.c: Likewise.
2868 * stdio-common/printf_fp.c: Likewise.
2869 * stdio-common/printf_fphex.c: Likewise.
2870 * stdio-common/printf_size.c: Likewise.
2871 * stdio-common/putw.c: Likewise.
2872 * stdio-common/scanf.c: Likewise.
2873 * stdio-common/sprintf.c: Likewise.
2874 * stdio-common/tmpfile.c: Likewise.
2875 * stdio-common/vfprintf.c: Likewise.
2876 * stdio-common/vfscanf.c: Likewise.
2877 * stdlib/strfmon_l.c: Likewise.
2878 * sunrpc/openchild.c: Likewise.
2879 * sunrpc/xdr_stdio.c: Likewise.
2880 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2881 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2883 2012-05-24 Roland McGrath <roland@hack.frob.com>
2885 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2887 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2888 in the third column, to generate for the shared library an IFUNC
2889 that uses _dl_vdso_vsym.
2890 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2891 * Makeconfig (object-suffixes-noshared): New variable.
2893 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2894 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2895 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2896 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2899 * include/sys/time.h (__gettimeofday): Remove macro.
2900 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2901 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2903 (__gettimeofday): Add libc_hidden_def.
2904 (gettimeofday): Add libc_hidden_weak.
2905 * sysdeps/mach/gettimeofday.c: Likewise.
2906 * sysdeps/posix/gettimeofday.c: Likewise.
2907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2908 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2909 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2910 (__gettimeofday_internal): Remove strong_alias.
2911 (__gettimeofday): Add libc_hidden_def.
2912 (gettimeofday): Add libc_hidden_weak.
2913 * sysdeps/unix/syscalls.list (gettimeofday):
2914 Remove __gettimeofday_internal alias.
2916 2012-05-24 Daniel Jacobowitz <drow@false.org>
2917 H.J. Lu <hongjiu.lu@intel.com>
2920 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2921 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2922 (largebin_index_32_big): New.
2923 (largebin_index): Use it for 16-byte alignment.
2924 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2925 correction with front_misalign.
2927 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2955 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2956 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2958 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2962 * math/libm-test.inc (exp_test): Add test from bug 14036.
2963 (pow_test): Add test from bug 10846.
2965 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2967 (special_function): Do not include flags in test name.
2968 (parse_args): Likewise.
2969 * sysdeps/i386/fpu/libm-test-ulps: Update.
2970 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2971 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2972 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2975 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2977 * math/libm-test.inc ("Philosophy"): Update comment about
2979 (UNDERFLOW_EXCEPTION): New macro.
2980 (UNDERFLOW_EXCEPTION_OK): Likewise.
2981 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2982 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2983 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2984 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2985 (INVALID_EXCEPTION_OK): Update value.
2986 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2987 (OVERFLOW_EXCEPTION_OK): Likewise.
2988 (IGNORE_ZERO_INF_SIGN): Likewise.
2989 (test_exceptions): Handle underflow exceptions.
2990 (acos_test): Update for underflow exception expectations.
2991 (cexp_test): Likewise.
2992 (clog_test): Likewise.
2993 (clog10_test): Likewise.
2994 (csqrt_test): Likewise.
2995 (ctan_test): Likewise.
2996 (ctanh_test): Likewise.
2997 (exp_test): Likewise.
2998 (exp10_test): Likewise.
2999 (exp2_test): Likewise.
3000 (expm1_test): Likewise.
3001 (fma_test): Likewise.
3002 (j0_test): Likewise.
3003 (jn_test): Likewise.
3004 (nexttoward_test): Likewise.
3005 (pow_test): Likewise.
3006 (scalbn_test): Likewise.
3007 (scalbln_test): Likewise.
3008 (tan_test): Likewise.
3009 (y1_test): Likewise.
3010 * sysdeps/i386/fpu/libm-test-ulps: Update.
3011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3013 2012-05-23 David S. Miller <davem@davemloft.net>
3015 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3016 (__libc_sigaction): Remove unused local variables.
3018 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3020 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3022 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3024 mktime: avoid signed integer overflow
3025 * time/mktime.c (__mktime_internal): Do not mishandle the case
3026 where diff == INT_MIN.
3028 mktime: simplify computation of average
3029 * time/mktime.c (ranged_convert): Use new time_t_avg function
3030 instead of rolling our own (probably-slower) code.
3032 mktime: do not assume signed right shift propagates sign bit
3033 * time/mktime.c (isdst_differ): New static function.
3034 (__mktime_internal): No need to normalize tm_isdst now.
3035 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3038 mktime: merge another wrapv change from gnulib
3039 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3040 from some compilers.
3042 mktime: remove incorrect attempt at unusual arithmetics
3043 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3044 The code didn't really work on such machines anyway.
3045 (TYPE_MINIMUM): Assume two's complement.
3046 (twos_complement_arithmetic): Verify that long_int and time_t
3047 are two's complement (or unsigned, in the latter case).
3049 mktime: check signed shifts on long_int and time_t, too
3050 * time/mktime.c (SHR): Check that shifts work as desired
3051 on the types long_int and time_t too, as SHR is used on
3054 mktime: do not assume 'long' is wide enough
3055 * time/mktime.c (verify): Move decl up.
3056 (long_int): New type.
3057 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3058 to remove assumption in the code that 'long' is wide enough to
3059 store year values. This assumption is not true on x32 and on
3060 some non-glibc platforms.
3062 mktime: merge wrapv change from gnulib
3063 * time/mktime.c (WRAPV): New macro.
3064 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3065 (guess_time_tm, __mktime_internal): Do not assume that signed
3066 integer overflow wraps around; modern compilers generate code
3067 where this assumption is no longer valid.
3069 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3071 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3072 Replace "jmp L(pseudo_end)" with "ret".
3073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3076 2012-05-23 Andreas Jaeger <aj@suse.de>
3078 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3079 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3081 2012-05-23 Andreas Jaeger <aj@suse.de>
3082 Maximilian Attems <max@stro.at>
3084 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3087 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3089 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3090 code so that pseudo_end is just ret and the stack pointer is
3091 correct also for static library in error case.
3093 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3095 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3096 move to syscalls.list.
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3102 * manual/install.texi (Running make install): Do not mention Linux
3103 kernel version for which pt_chown is not needed.
3104 (Linux): Do not mention problems with nscd with 2.0 kernels.
3105 * INSTALL: Regenerated.
3107 2012-05-23 Andreas Jaeger <aj@suse.de>
3109 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3110 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3112 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3113 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3114 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3115 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3116 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3117 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3119 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3120 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3121 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3122 * sysdeps/unix/sysv/linux/bits/in.h
3123 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3125 2012-05-22 Roland McGrath <roland@hack.frob.com>
3127 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3128 (PREPARE_VERSION): Just use assert instead, it will be elided
3129 under [NDEBUG] anyway.
3131 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3133 * sysdeps/unix/sysv/linux/Makefile: Include
3134 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3135 (sysdep_routines): Remove sysctl.
3136 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3137 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3138 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3139 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3140 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3142 2012-05-22 Andreas Jaeger <aj@suse.de>
3144 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3145 that pseudo_end is just ret and the stack pointer is correct also
3146 for static library in error case.
3148 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3151 * nss/nsswitch.c (defconfig_entries): New variable.
3152 (__nss_database_lookup): Don't leak defconfig entries.
3153 (nss_parse_service_list): Don't leak on error paths.
3154 (free_database_entries): New function.
3155 (free_defconfig): New function.
3156 (free_mem): Move common code to free_database_entries.
3158 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3160 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3162 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3164 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3165 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3168 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3169 (INTERNAL_SYSCALL_TYPES): Likewise.
3170 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3171 (LOAD_REGS_TYPES_[1-6]): Likewise.
3172 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3173 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3175 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3177 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3178 copysignl for GLIBC_2_0.
3179 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3180 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3181 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3182 logbl for GLIBC_2_0.
3183 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3184 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3186 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3189 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3191 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3194 * time/mktime.c: Update copyright years.
3196 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3198 mktime: merge comment-quoting-style change from gnulib
3199 * time/mktime.c: Quote 'like this' in comments.
3200 The GNU coding standards suggest that we no longer quote `like this',
3201 as "`" and "'" are typically rendered asymmetrically nowadays.
3202 The typical gnulib style is to quote 'like this' when quoting
3203 code, and "like this" when quoting English.
3205 * time/mktime.c (compile-command): Add "-I.".
3207 mktime: merge mktime-internal.h change from gnulib
3208 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3210 mktime: merge time_r change from gnulib
3211 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3213 mktime: merge DEBUG change from gnulib
3214 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
3215 case system <time.h> has a #define.
3217 mktime: merge <sys/types.h> change from gnulib
3218 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
3219 since <time.t> is now guaranteed to define time_t.
3221 mktime: merge HAVE_CONFIG_H change from gnulib
3222 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
3224 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3229 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
3231 (struct rusage): Use anonymous union to pad each field to
3234 2012-05-21 David S. Miller <davem@davemloft.net>
3236 * Makefules (o-iterator): Remove .s cases.
3237 (compile-command.s): Delete.
3238 (COMPILE.s): Delete.
3239 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
3241 2012-05-21 Joseph Myers <joseph@codesourcery.com>
3243 * configure.in (libc_cv_predef_stack_protector): Only consider
3244 "foobar" and "__stack_chk_fail" lines in libc_undefs.
3245 * configure: Regenerated.
3247 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
3250 New macro. Use R*LP on int and pointer.
3251 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
3252 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
3253 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
3254 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
3256 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
3257 [__WORDSIZE_TIME64_COMPAT32] instead of
3258 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
3259 (struct utmp): Likewise.
3260 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
3261 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
3263 (__WORDSIZE_TIME64_COMPAT32): This.
3264 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3265 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3266 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3267 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3268 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
3269 (__WORDSIZE_TIME64_COMPAT32): New macro.
3271 2012-05-21 Andreas Jaeger <aj@suse.de>
3273 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
3274 only if [SHARED]. Add prototype for __wcschr_ia32.
3276 2012-05-21 Roland McGrath <roland@hack.frob.com>
3278 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
3279 of %rbp unmolested in the jmp_buf while mangling the low bits.
3280 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
3281 unmolested high bits of %rbp while demangling the low bits.
3282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3284 2012-05-21 Andreas Jaeger <aj@suse.de>
3286 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3287 * sunrpc/svc_simple.c: Use it for registerrpc.
3288 * sunrpc/xcrypt.c: Use it for passwd2des.
3290 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3292 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3294 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3295 Don't define if [__SYSCALL_WORDSIZE != 32].
3296 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3299 2012-05-21 Bruno Haible <bruno@clisp.org>
3300 Andreas Jaeger <aj@suse.de>
3302 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3303 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3304 inptr and inend for must_buffer_ch.
3305 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3306 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3307 * stdio-common/Makefile (tests): Remove bug15.
3308 (bug15-ENV): Remove macro.
3309 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3312 2012-05-19 Andreas Jaeger <aj@suse.de>
3313 Roland McGrath <roland@hack.frob.com>
3315 * manual/contrib.texi: Completely rewritten. It contains now an
3316 alphabetical list of contributors and their contributions.
3318 2012-05-21 Richard Henderson <rth@twiddle.net>
3320 * misc/getauxval.c (__getauxval): Use unsigned long int.
3321 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3322 (getauxval): Use unsigned long int.
3324 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3326 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3328 2012-05-21 Roland McGrath <roland@hack.frob.com>
3330 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3331 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3332 __alignof__ (long double).
3334 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3338 2012-05-20 Richard Henderson <rth@twiddle.net>
3340 * misc/getauxval.c: New file.
3341 * misc/sys/auxv.h: New file.
3342 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3343 (routines): Add getauxval.
3344 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3345 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3346 * elf/dl-sysdep.c (_dl_auxv): Remove.
3347 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3348 * elf/dl-support.c (_dl_auxv): New variable.
3349 (_dl_aux_init): Initialize it.
3350 * manual/startup.texi (Auxiliary Vector): New node.
3351 * sysdeps/generic/bits/hwcap.h: New file.
3352 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3353 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3354 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3355 * sysdeps/sparc/sysdep.h: ... here. Include it.
3356 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3357 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
3358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3363 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3369 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3373 2012-05-19 David S. Miller <davem@davemloft.net>
3375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3377 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3380 * math/s_ccosh.c: Include <float.h>
3381 (__ccosh): Avoid internal overflow calculating sinh and cosh
3382 values before multiplying by sin and cos values.
3383 * math/s_ccoshf.c: Likewise.
3384 * math/s_ccoshl.c: Likewise.
3385 * math/s_csin.c: Likewise.
3386 * math/s_csinf.c: Likewise.
3387 * math/s_csinl.c: Likewise.
3388 * math/s_csinh.c: Likewise.
3389 * math/s_csinhf.c: Likewise.
3390 * math/s_csinhl.c: Likewise.
3391 * math/libm-test.inc (ccos_test): Add more tests.
3392 (ccosh_test): Likewise.
3393 (csin_test): Likewise.
3394 (csinh_test): Likewise.
3395 * sysdeps/i386/fpu/libm-test-ulps: Update.
3396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3398 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3400 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3401 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3403 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3405 2012-05-19 Joseph Myers <joseph@codesourcery.com>
3407 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3408 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3409 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3410 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3411 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3412 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3413 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3414 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3415 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3416 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3417 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3418 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3419 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3420 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3421 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3422 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3423 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3424 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3425 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3426 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3427 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3428 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3429 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3430 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3431 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3432 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3433 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3434 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3435 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3436 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3437 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3439 2012-05-18 Andreas Jaeger <aj@suse.de>
3441 * csu/.gitignore: Delete.
3443 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3445 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3446 (timex): Use __syscall_slong_t.
3448 2012-05-18 Andreas Jaeger <aj@suse.de>
3449 Carlos O'Donell <carlos_odonell@mentor.com>
3451 * manual/install.texi (Configuring and compiling): Update
3452 description about files modified in the source directory.
3453 * INSTALL: Regenerated.
3455 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3457 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3458 value. Use "or" to set return value to -1.
3459 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3460 negate return value.
3462 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3464 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3465 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3466 failure if the compiler has Graphite support disabled.
3467 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3469 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3470 CFLAGS-memmove.c): Likewise.
3471 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3474 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3476 * sysdeps/x86_64/x32/_itoa.h: New file.
3478 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3479 getdents system call only if kernel and user dirents have the
3480 same d_ino and d_off.
3482 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3483 LLONG_MAX != LONG_MAX.
3484 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3485 (_fitoa_word): Likewise.
3487 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3489 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3490 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3491 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3493 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3494 include <bits/wordsize.h>. Check __x86_64__ instead of
3496 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3497 if __x86_64__ is defined. Use anonymous union on fpstate.
3499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3502 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3504 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3505 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3506 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3507 Refer to _rtld_local_ro instead of _rtld_global_ro.
3508 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3510 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3512 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3514 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3515 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3516 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3518 * sysdeps/powerpc/powerpc32/dl-machine.c
3519 (__elf_machine_runtime_setup) [PROF]: Don't reference
3522 2012-05-18 Andreas Jaeger <aj@suse.de>
3524 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3525 function only available for GCCs before 3.4 since GCC 3.4
3526 introduced a builtin.
3528 (llrintf): Likewise.
3536 (nearbyint): Likewise.
3537 (nearbyintf): Likewise.
3543 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3545 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3546 on both fields and cast pointer to __syscall_ulong_t.
3548 * bits/types.h (__fsword_t): New type.
3549 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3550 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3552 (__FSWORD_T_TYPE): Likewise.
3553 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3554 (__FSWORD_T_TYPE): Likewise.
3555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3556 (__FSWORD_T_TYPE): Likewise.
3557 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3558 (__FSWORD_T_TYPE): Likewise.
3559 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3560 __SWORD_TYPE with __fsword_t.
3561 (statfs64): Likewise.
3563 2012-05-17 David S. Miller <davem@davemloft.net>
3565 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3567 2012-05-17 Andreas Jaeger <aj@suse.de>
3569 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3572 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3574 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3576 2012-05-17 Andreas Jaeger <aj@suse.de>
3578 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3581 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3583 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3585 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3587 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3588 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3590 2012-05-17 Andreas Jaeger <aj@suse.de>
3591 Carlos O'Donell <carlos_odonell@mentor.com>
3594 * sysdeps/x86_64/multiarch/init-arch.h
3595 (bit_YMM_Usable): Rename to...
3596 (bit_AVX_Usable): ... this.
3597 (bit_FMA4_Usable): New macro.
3598 (bit_XMM_state): New macro.
3599 (bit_YMM_state): New macro.
3600 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3601 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3602 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3603 (CPUID_OSXSAVE): New macro.
3604 (CPUID_AVX): New macro.
3605 (CPUID_FMA4): New macro.
3606 (index_YMM_Usable): Rename to...
3607 (index_AVX_Usable): ... this.
3608 (HAS_AVX): Use HAS_ARCH_FEATURE.
3609 (HAS_FMA4): Likewise.
3610 (HAS_YMM_USABLE): Remove.
3611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3612 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3614 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3615 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3616 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3617 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3618 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3620 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3622 * math/libm-test.c: Support platforms without multiple rounding modes.
3623 * math/bug-nextafter.c: Support platforms without FP exceptions.
3624 * math/bug-nexttoward.c: Likewise.
3625 * math/test-fenv.c: Likewise.
3626 * math/test-misc.c: Likewise.
3627 * stdlib/bug-getcontext.c: Likewise.
3629 2012-05-17 Andreas Jaeger <aj@suse.de>
3631 * manual/examples/search.c (critter_cmp): Change signature to
3633 * manual/string.texi (Collation Functions): Likewise.
3635 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3637 * bits/types.h: Fold copyright years.
3638 * bits/typesizes.h: Likewise.
3639 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3642 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3643 * time/time.h: Likewise.
3645 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3648 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3649 in instead of returning them. Return void.
3650 (__libc_mallinfo): Accumulate over all arenas.
3651 (__malloc_stats): Adjust for change in int_mallinfo interface.
3653 2012-05-16 Roland McGrath <roland@hack.frob.com>
3656 * configure.in (NM): Add AC_CHECK_TOOL for it.
3657 (libc_extra_cflags): New substituted variable.
3658 Check for -fstack-protector being used implicitly.
3659 * configure: Regenerated.
3660 * config.make.in (config-extra-cflags): New variable,
3661 gets @libc_extra_cflags@.
3662 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3665 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3666 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3667 * configure: Regenerated.
3668 * config.make.in (CPPUNDEFS): New substituted variable.
3669 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3670 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3671 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3673 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3675 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3676 (mq_attr): Use __syscall_slong_t.
3678 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3680 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3681 Check __x86_64__ instead of __WORDSIZE.
3682 (_STAT_VER_LINUX): Likewise.
3683 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3684 __syscall_ulong_t and __syscall_slong_t.
3687 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3689 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3691 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3693 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3695 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3697 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3700 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3701 include <bits/wordsize.h>. Check __x86_64__ instead of
3703 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3705 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3707 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3708 include <bits/wordsize.h>. Check __x86_64__ instead of
3710 (user_regs_struct): Use "__extension__ unsigned long long"
3711 instead of "unsigned long" if __x86_64__ is defined.
3712 (user): Likewise. Pad after pointer field if __ILP32__ is
3715 2012-05-16 Joseph Myers <joseph@codesourcery.com>
3717 * configure.in (makeinfo): Require version 4.5 or later. Allow
3719 * configure: Regenerated.
3720 * manual/install.texi (texinfo): Increase version requirement to
3722 * INSTALL: Regenerated.
3724 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3726 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3728 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3730 * sysdeps/x86_64/x32/ffs.c: New file.
3732 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3734 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3735 defined. Use __syscall_ulong_t.
3736 (shminfo): Use __syscall_ulong_t.
3737 (shm_info): Likewise.
3739 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3742 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3744 (msgqnum_t): Use __syscall_ulong_t.
3745 (msglen_t): Likewise.
3746 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3749 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3750 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3752 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3754 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3755 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3757 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3760 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3761 include <bits/wordsize.h>. Check __x86_64__ instead of
3764 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3765 "unsigned long long int" if __x86_64__ is defined.
3766 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3768 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3769 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3770 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3772 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3774 (GET_PC): Cast to uintptr_t first.
3775 (GET_FRAME): Likewise.
3776 (GET_STACK): Likewise.
3778 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3779 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3780 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3781 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3782 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3783 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3784 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3785 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3786 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3787 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3788 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3789 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3790 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3791 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3792 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3793 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3794 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3795 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3796 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3797 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3798 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3799 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3800 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3801 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3802 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3803 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3804 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3805 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3806 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3808 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3810 * Makerules (+depfiles): Also collect depfiles from .oS in
3812 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3813 .oS, $(libnldbl-routines)).
3815 * Makerules (native-compile-mkdep-flags): Define.
3816 * sunrpc/Makefile (extra-objs): Add $(addprefix
3817 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3818 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3819 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3820 calling $(make-target-directory).
3822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3824 * bits/types.h (__snseconds_t): Removed.
3825 * time/time.h (struct timespec): Replace __snseconds_t with
3827 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3828 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3831 (__SNSECONDS_T_TYPE): Likewise.
3832 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3833 (__SNSECONDS_T_TYPE): Likewise.
3834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3835 (__SNSECONDS_T_TYPE): Likewise.
3837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3839 * sysdeps/mach/hurd/bits/typesizes.h
3840 (__SYSCALL_SLONG_TYPE): New macro.
3841 (__SYSCALL_ULONG_TYPE): Likewise.
3843 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3845 * bits/types.h (__syscall_slong_t): New type.
3846 (__syscall_ulong_t): Likewise.
3848 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3849 (__SYSCALL_ULONG_TYPE): Likewise.
3850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3851 (__SYSCALL_SLONG_TYPE): Likewise.
3852 (__SYSCALL_ULONG_TYPE): Likewise.
3853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3854 (__SYSCALL_SLONG_TYPE): Likewise.
3855 (__SYSCALL_ULONG_TYPE): Likewise.
3856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3857 (__SYSCALL_SLONG_TYPE): Likewise.
3858 (__SYSCALL_ULONG_TYPE): Likewise.
3860 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3862 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3863 Add sigaltstack-offsets.sym.
3864 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3865 <sigaltstack-offsets.h>.
3866 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3867 longjmp_msg pointer.
3868 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3869 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3871 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3873 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3875 * elf/stackguard-macros.h: Remove file.
3876 * sysdeps/generic/stackguard-macros.h: New file.
3877 * sysdeps/i386/stackguard-macros.h: Likewise.
3878 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3879 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3880 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3881 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3882 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3883 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3884 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3885 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3886 <elf/stackguard-macros.h>.
3889 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3890 __aligned__ in attribute.
3891 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3892 (gregset_t): Likewise.
3894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3896 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3897 * sysdeps/x86_64/64/Implies-after: Here. New file.
3898 * sysdeps/x86_64/x32/Implies-after: New file.
3900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3902 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3903 and access return value for _dl_profile_fixup. Use R10_LP to
3906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3908 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3912 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3913 * sysdeps/x86_64/x32/sysdep.h: New file.
3915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3917 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3918 * sysdeps/x86_64/setjmp.S: Likewise.
3920 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3922 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3923 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3924 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3925 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3926 remove unused global constant.
3928 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3930 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3931 include of <not-cancel.h>.
3933 2012-05-15 Roland McGrath <roland@hack.frob.com>
3935 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3937 2012-05-15 Jeff Law <law@redhat.com>
3938 Andreas Jaeger <aj@suse.de>
3941 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3943 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3944 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3945 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3946 code changing __hst_map_handle.map.
3948 2012-05-15 Roland McGrath <roland@hack.frob.com>
3950 * configure.in (sysnames): Look for Implies-before and Implies-after
3952 * configure: Regenerated.
3954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3956 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3957 8-byte data alignment with LP_SIZE alignment.
3959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3961 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3966 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3970 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3971 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3972 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3974 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3978 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3979 (stackinfo_sub_sp): Likewise.
3981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3983 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3988 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3993 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3998 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4002 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4003 into R11_LP and load __x86_64_shared_cache_size_half into
4006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4008 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4011 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4019 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4020 powerpc32/power7/fpu/s_logb.c via #include.
4021 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4022 powerpc32/power7/fpu/s_logbf.c via #include.
4023 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4024 powerpc32/power7/fpu/s_logbl.c via #include.
4026 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4028 * README.libm: Remove file.
4030 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4032 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4033 count for x32. Use R*_LP and omit operand-size suffix.
4035 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4037 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4038 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4039 * sysdeps/x86_64/x32/shlib-versions: New file.
4041 2012-05-14 Roland McGrath <roland@hack.frob.com>
4043 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4044 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4045 Use _dl_fatal_printf instead.
4047 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4049 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4050 set if not set by the user. Do not allow for being unset.
4051 * sysdeps/unix/sysv/linux/configure: Regenerated.
4053 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4055 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4056 the `q' suffix from lea and replace .quad with ASM_ADDR.
4058 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4061 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4063 (PTR_DEMANGLE): Likewise.
4065 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4067 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4069 (ASM_ADDR): Likewise.
4087 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4089 * sysdeps/x86_64/x32/dl-machine.h: New file.
4091 2012-05-14 Andreas Jaeger <aj@suse.de>
4093 * manual/Makefile (subdir): Remove export of subdir.
4094 (all): Remove target.
4095 (.PHONY): Remove all from list.
4096 (mkinstalldirs): Remove.
4097 (.PHONY): Remove installdirs from list.
4098 ($(inst_infodir)/libc.info): Use make-target-directory.
4099 (installdirs): Remove.
4101 (glibc-targets): Remove.
4104 ($(objpfx)stubs ../po/manual.pot): Remove.
4105 ($(objpfx)stamp%): Remove.
4106 (make-target-directory): Remove.
4107 (subdir_install): Remove.
4115 * manual/.gitignore: Remove, it's not needed anymore.
4116 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4118 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4120 (texis): Renamed to $(objpfx)texis.
4121 (texis-path): New, contains path to generated files.
4122 (chapters.%): Use texis-path for complete path, add extra argument
4124 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4125 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4126 (summary,texi, stamp-summary): Use complete path of
4127 files. Generate files in build dir.
4128 (dir-add.texi): Build in build dir.
4129 (libm-err.texi,stamp-libm-err): Likewise.
4130 (version.texi, stamp-version): Likewise.
4131 (.%c.texi): Likewise.
4132 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4133 (mostlyclean): Remove target.
4134 (realclean): Remove target.
4135 (generated): Add new variable with contents from mostlyclean and
4136 realclean, remove entries duplicated in common-mostlyclean, add
4137 stamp-libm-err and stamp-version.
4138 (generated-dirs): Add libc directory.
4139 ($(inst_infodir)/libc.info): Install files from build dir.
4141 * manual/install.texi (Configuring and compiling): Adjust since
4142 the info files are not part of the tar ball anymore.
4144 2012-05-14 Andreas Jaeger <aj@suse.de>
4146 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4149 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4152 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4153 to 2.2.0 where earlier.
4154 * sysdeps/unix/sysv/linux/configure: Regenerated.
4155 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4156 Remove conditional code.
4157 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4158 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4159 Remove conditional code.
4160 [!__NR_lchown]: Likewise.
4161 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4162 [__NR_lchown]: Likewise.
4163 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4164 comment referencing __ASSUME_LCHOWN_SYSCALL.
4165 * sysdeps/unix/sysv/linux/i386/sigaction.c
4166 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4167 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4168 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4169 Remove conditional code.
4170 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4171 (__protocol_available): Remove #if 0 code.
4172 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4174 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4175 * sysdeps/unix/sysv/linux/kernel-features.h
4176 (__ASSUME_GETCWD_SYSCALL): Don't define.
4177 (__ASSUME_REALTIME_SIGNALS): Likewise.
4178 (__ASSUME_PREAD_SYSCALL): Likewise.
4179 (__ASSUME_PWRITE_SYSCALL): Likewise.
4180 (__ASSUME_POLL_SYSCALL): Likewise.
4181 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4182 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4184 (__ASSUME_SIOCGIFNAME): Don't define.
4185 (__ASSUME_MSG_NOSIGNAL): Likewise.
4186 (__ASSUME_SENDFILE): Define unconditionally.
4187 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4188 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4190 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4191 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4192 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4193 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4194 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4195 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4196 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4198 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4199 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4201 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4202 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4204 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4205 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4207 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4210 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4211 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4213 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
4216 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4217 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4219 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4221 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
4222 Remove conditional code.
4223 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4224 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4225 Remove conditional code.
4226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4227 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
4228 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
4229 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4230 Remove conditional code.
4231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4232 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
4233 Remove conditional code.
4234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4235 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
4236 Remove conditional code.
4237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4238 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
4239 Remove conditional code.
4240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4241 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
4242 Remove conditional code.
4243 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4244 * sysdeps/unix/sysv/linux/sh/pwrite64.c
4245 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4247 * sysdeps/unix/sysv/linux/sigaction.c
4248 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4249 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4250 * sysdeps/unix/sysv/linux/sigpending.c
4251 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4252 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4253 * sysdeps/unix/sysv/linux/sigprocmask.c
4254 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4255 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4256 * sysdeps/unix/sysv/linux/sigsuspend.c
4257 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4258 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4259 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4260 (__libc_missing_rt_sigs): Remove.
4261 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
4262 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
4263 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
4264 Remove conditional code.
4265 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
4266 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
4268 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
4269 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
4270 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
4271 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
4273 2012-05-14 Andreas Jaeger <aj@suse.de>
4275 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
4276 it's not used in glibc.
4277 (__coshm1): Likewise.
4278 (__acosh1p): Likewise.
4281 * manual/string.texi (Copying and Concatenation): Add missing
4282 variable in concat example.
4283 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4285 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4288 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4289 __builtin_clzl with __builtin_clzll.
4291 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4294 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4297 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4299 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4300 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4301 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4302 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4304 2012-05-14 Mike Frysinger <vapier@gentoo.org>
4306 * NEWS: Update ia64 info.
4308 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4310 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4313 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4315 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4316 * sysdeps/unix/syscalls.list (dup3): Likewise.
4317 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4318 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4320 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4322 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4323 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4325 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4327 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4329 (TLS_IE): Use mov/add instead of movq/addq to load thread
4331 (TLS_GD_PREFIX): New.
4334 2012-05-11 David S. Miller <davem@davemloft.net>
4336 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4337 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4338 (_FPU_SETCW): Likewise.
4340 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4342 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4345 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4348 * iconvdata/gb18030.c: Update tables.
4349 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4350 characters specially.
4351 (BODY for TO_LOOP): Add encoding of missing ranges.
4353 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4356 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4357 * sysdeps/mach/hurd/dup3.c: Likewise.
4358 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4359 * sysdeps/powerpc/memmove.c:: Likewise.
4361 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4363 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4364 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4366 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4368 * elf/elf.h (R_X86_64_RELATIVE64): New.
4369 (R_X86_64_NUM): Updated.
4370 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4371 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4372 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4373 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4374 tst-quad1pie tst-quad2pie
4375 (modules-names): Add tst-quadmod1 tst-quadmod2.
4376 ($(objpfx)tst-quad1): New dependency.
4377 ($(objpfx)tst-quad2): Likewise.
4378 ($(objpfx)tst-quad1pie): Likewise.
4379 ($(objpfx)tst-quad2pie): Likewise.
4380 * sysdeps/x86_64/tst-quad1.c: New file.
4381 * sysdeps/x86_64/tst-quad1pie.c: New file.
4382 * sysdeps/x86_64/tst-quad2.c: Likewise.
4383 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4384 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4385 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4386 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4387 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4389 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4391 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4392 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4393 * streams/stropts.h (t_scalar_t): Define type.
4395 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4396 (_PATH_PRESERVE): Set to "/var/lib".
4397 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4399 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4402 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4403 if __dir_mkfile succeeded.
4405 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4406 checking for _hurd_dtablesize. Unlock it right after having
4407 finished _hurd_dtable allocation.
4409 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4411 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4412 * sysdeps/mach/hurd/configure: Regenerated.
4413 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4414 special-casing to...
4415 * sysdeps/gnu/configure.in: ... this new file.
4416 * sysdeps/unix/sysv/linux/configure: Regenerated.
4417 * sysdeps/gnu/configure: New generated file.
4419 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4420 for Linux: use nsec instead of usec, as well as:
4421 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4422 members of type struct timespec.
4423 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4425 (struct stat64): Likewise.
4426 (_STATBUF_ST_NSEC): New macro.
4427 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4429 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4430 __strtoul_internal rather than strtoul.
4432 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4434 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4439 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4440 which preserves existing values.
4441 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4443 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4445 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4446 TIMEOUT values. Return EINVAL for NFDS values either negative or
4447 greater than FD_SETSIZE.
4449 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4451 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4452 allocated, call __vm_protect to finish enabling the existing space, and
4453 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4454 allocate the remainder.
4456 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4458 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4459 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4461 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4463 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4464 sysdeps/mach/hurd/readlink.c.
4466 * posix/tst-sysconf.c (posix_options): Only use
4467 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4468 _POSIX_SYNCHRONIZED_IO when they are defined
4469 * sysdeps/mach/hurd/bits/posix_opt.h:
4470 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4471 (_XOPEN_REALTIME): Undefine macro.
4472 (_XOPEN_REALTIME_THREADS): Undefine macro.
4473 (_XOPEN_SHM): Undefine macro.
4474 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4476 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4478 (_POSIX_ASYNC_IO): Undefine macro.
4479 (_POSIX_PRIORITIZED_IO): Undefine macro.
4480 (_POSIX_SPIN_LOCKS): Define macro to -1.
4482 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4483 SA_NODEFER, SA_RESETHAND.
4484 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4485 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4488 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4490 * elf/Makefile (pldd-modules): Define unconditionally.
4492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4494 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4496 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4498 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4499 Return ENOENT when name is empty.
4500 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4502 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4504 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4506 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4510 Fix mlock in all cases except non-readable pages.
4511 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4512 instead of VM_PROT_ALL as parameter to __vm_wire function.
4514 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4515 (__mkdir): When path is `/', just fail with EEXIST.
4516 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4518 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4520 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4521 <sys/uio.h> (for writev).
4522 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4523 and <sys/param.h> (for MIN).
4525 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4527 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4528 REQUESTED_TIME. Properly set the remaining time and return EINTR
4531 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4533 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4534 Depend on against $(link-rpcuserlibs).
4536 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4538 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4539 (__libc_stack_end): Do not use attribute_relro.
4540 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4541 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
4542 to libthread-provided value.
4543 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4546 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4549 * bits/libc-lock.h (__libc_once_get): New macro.
4550 * sysdeps/mach/bits/libc-lock.h: Likewise.
4551 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4552 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4553 instead of using implementation details.
4555 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4556 * libio/freopen.c: Likewise.
4557 * libio/freopen64.c: Likewise.
4558 * misc/syslog.c: Likewise.
4559 * nscd/connections.c: Likewise.
4560 * nscd/netgroupcache.c: Likewise.
4561 * sysdeps/posix/getcwd.c: Likewise.
4563 2012-05-10 Roland McGrath <roland@hack.frob.com>
4565 * math/w_ilogbf.c: Add #include <limits.h>.
4567 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4569 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
4570 path instead of returning without unlocking.
4572 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4573 immediate-write ioctls.
4574 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4576 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4578 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4579 __builtin_frame_address instead of making assumptions about the
4580 location of the return address relative to DATA. Force early load of
4582 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4583 __builtin_frame_address.
4586 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4587 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4588 implement dup3 and do some further code clean-ups.
4589 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4590 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4592 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4594 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4596 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4597 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4598 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4599 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4600 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4603 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4604 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4605 when handler == SIG_ERR, not when handler != SIG_ERR.
4607 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4609 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4610 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4613 accept4 for GNU Hurd.
4614 * include/sys/socket.h (__libc_accept4): New prototype.
4615 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4616 to implement __libc_accept4.
4617 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4619 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4621 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4622 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4623 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4626 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4628 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
4630 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
4632 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4633 assertion on O_CLOEXEC flag.
4634 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4635 * hurd/intern-fd.c: Likewise.
4636 * hurd/port2fd.c: Likewise.
4638 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4641 * bits/in.h (IPV6_PKTINFO): Define new macro.
4642 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4644 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4649 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4650 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4651 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4652 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4653 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4654 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4655 * math/libm-test.inc (logb_test) : Additional logb tests.
4657 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4658 Andreas Jaeger <aj@suse.de>
4660 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4661 * configure: Regenerated.
4662 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4663 * config.make.in (link-obsolete-rpc): New substituted variable.
4664 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4665 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4666 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4667 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4668 so that libc.a contains the symbols.
4669 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4670 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4671 * sunrpc/auth_none.c: Likewise.
4672 * sunrpc/auth_unix.c: Likewise.
4673 * sunrpc/authdes_prot.c: Likewise.
4674 * sunrpc/authuxprot.c: Likewise.
4675 * sunrpc/clnt_gen.c: Likewise.
4676 * sunrpc/clnt_perr.c: Likewise.
4677 * sunrpc/clnt_raw.c: Likewise.
4678 * sunrpc/clnt_simp.c: Likewise.
4679 * sunrpc/clnt_tcp.c: Likewise.
4680 * sunrpc/clnt_udp.c: Likewise.
4681 * sunrpc/clnt_unix.c: Likewise.
4682 * sunrpc/des_crypt.c: Likewise.
4683 * sunrpc/des_soft.c: Likewise.
4684 * sunrpc/get_myaddr.c: Likewise.
4685 * sunrpc/key_call.c: Likewise.
4686 * sunrpc/key_prot.c: Likewise.
4687 * sunrpc/netname.c: Likewise.
4688 * sunrpc/pm_getmaps.c: Likewise.
4689 * sunrpc/pm_getport.c: Likewise.
4690 * sunrpc/pmap_clnt.c: Likewise.
4691 * sunrpc/pmap_prot.c: Likewise.
4692 * sunrpc/pmap_prot2.c: Likewise.
4693 * sunrpc/pmap_rmt.c: Likewise.
4694 * sunrpc/publickey.c: Likewise.
4695 * sunrpc/rpc_cmsg.c: Likewise.
4696 * sunrpc/rpc_common.c: Likewise.
4697 * sunrpc/rpc_dtable.c: Likewise.
4698 * sunrpc/rpc_prot.c: Likewise.
4699 * sunrpc/rpc_thread.c: Likewise.
4700 * sunrpc/rtime.c: Likewise.
4701 * sunrpc/svc.c: Likewise.
4702 * sunrpc/svc_auth.c: Likewise.
4703 * sunrpc/svc_raw.c: Likewise.
4704 * sunrpc/svc_run.c: Likewise.
4705 * sunrpc/svc_tcp.c: Likewise.
4706 * sunrpc/svc_udp.c: Likewise.
4707 * sunrpc/svc_unix.c: Likewise.
4708 * sunrpc/svcauth_des.c: Likewise.
4709 * sunrpc/xcrypt.c: Likewise.
4710 * sunrpc/xdr.c: Likewise.
4711 * sunrpc/xdr_array.c: Likewise.
4712 * sunrpc/xdr_float.c: Likewise.
4713 * sunrpc/xdr_intXX_t.c: Likewise.
4714 * sunrpc/xdr_mem.c: Likewise.
4715 * sunrpc/xdr_rec.c: Likewise.
4716 * sunrpc/xdr_ref.c: Likewise.
4717 * sunrpc/xdr_sizeof.c: Likewise.
4718 * sunrpc/xdr_stdio.c: Likewise.
4720 2012-05-10 Roland McGrath <roland@hack.frob.com>
4722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4723 change. Update copyright years.
4725 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4727 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4729 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4730 Joseph Myers <joseph@codesourcery.com>
4731 Paul Pluzhnikov <ppluzhnikov@google.com>
4734 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4736 [cross-compiling] (extra-libs): Likewise.
4737 [cross-compiling] (extra-libs-others): Likewise.
4738 [cross-compiling] (librpcsvc-routines): Likewise.
4739 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4740 [cross-compiling] (omit-deps): Likewise.
4741 (sunrpc-CPPFLAGS): New variable.
4742 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4743 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4744 (cross-rpcgen-objs): New variable.
4745 (extra-objs): Append $(cross-rpcgen-objs).
4746 ($(cross-rpcgen-objs)): New rule.
4747 ($(objpfx)cross-rpcgen): Likewise.
4748 (rpcgen-cmd): Define to use $(built-program-file). Expand
4750 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4751 ($(objpfx)x%.stmp): Likewise.
4752 * sunrpc/proto.h [IS_IN_build] (_): Define.
4753 [IS_IN_build] (_libc_intl_domainname): Likewise.
4755 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4757 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4758 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4759 and R_X86_64_TPOFF64.
4761 2012-05-10 Joseph Myers <joseph@codesourcery.com>
4763 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4764 sysdeps/unix/sysv/syscalls.list.
4767 * sysdeps/unix/sysv/syscalls.list: Remove file.
4769 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4772 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4773 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4774 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4775 (__LC_IDENTIFICATION): Make these macros useful in #if
4776 expressions, as required by C99.
4778 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4780 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4781 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4784 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4786 * stdlib/longlong.h: Updated from GCC.
4788 2012-05-09 Andreas Jaeger <aj@suse.de>
4790 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4791 default is first entry.
4792 (run_mode): Set type.
4793 (main): Remove informal message about syslog.
4794 (options): Fix typo.
4797 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
4800 (llrintf): Likewise.
4804 (nearbyint): Likewise.
4805 (nearbyintf): Likewise.
4807 2012-05-09 Andreas Jaeger <aj@suse.de>
4808 Pedro Alves <palves@redhat.com>
4810 * nscd/nscd.c (run_mode): Use enum.
4811 (main): Cleanup coding style issue.
4813 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
4814 Andreas Jaeger <aj@suse.de>
4816 * nscd/nscd.c (go_background): Replaced with...
4817 (run_mode): ... this.
4818 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
4819 (options): Add -F --foreground.
4820 (main): Implement it.
4821 (parse_opt): Parse it.
4823 2012-05-09 Andreas Jaeger <aj@suse.de>
4826 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4827 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4828 -Wconversion warning.
4829 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4832 2012-05-09 Joseph Myers <joseph@codesourcery.com>
4834 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4836 (LC_ALL): Use macro-int-constant.
4837 (LC_COLLATE): Likewise.
4838 (LC_CTYPE): Likewise.
4839 (LC_MESSAGES): Likewise.
4840 (LC_MONETARY): Likewise.
4841 (LC_NUMERIC): Likewise.
4842 (LC_TIME): Likewise.
4843 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4844 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4846 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4848 [C99-based standards] (float_t): Expect type.
4849 [C99-based standards] (double_t): Expect type.
4850 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4852 [C99-based standards] (HUGE_VALL): Likewise.
4853 [C99-based standards] (INFINITY): Likewise.
4854 [C99-based standards] (NAN): Likewise.
4855 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4856 [C99-based standards] (FP_NAN): Likewise.
4857 [C99-based standards] (FP_NORMAL): Likewise.
4858 [C99-based standards] (FP_SUBNORMAL): Likewise.
4859 [C99-based standards] (FP_ZERO): Likewise.
4860 [C99-based standards] (FP_FAST_FMA): Use
4861 optional-macro-int-constant. Specify type. Require == 1.
4862 [C99-based standards] (FP_FAST_FMAF): Likewise.
4863 [C99-based standards] (FP_FAST_FMAL): Likewise.
4864 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4865 [C99-based standards] (FP_ILOGBNAN): Likewise.
4866 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4868 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4869 [C99-based standards] (math_errhandling): Specify type.
4870 [ISO99 || ISO11] (signgam): Do not allow.
4871 [non-C99-based standards] (copysignf): Do not allow.
4872 [non-C99-based standards] (exp2f): Likewise.
4873 [non-C99-based standards] (log2f): Likewise.
4874 [non-C99-based standards] (modff): Allow.
4875 [non-C99-based standards] (erff): Do not allow.
4876 [non-C99-based standards] (erfcf): Likewise.
4877 [non-C99-based standards] (gammaf): Likewise.
4878 [non-C99-based standards] (hypotf): Likewise.
4879 [non-C99-based standards] (j0f): Likewise.
4880 [non-C99-based standards] (j1f): Likewise.
4881 [non-C99-based standards] (jnf): Likewise.
4882 [non-C99-based standards] (lgammaf): Likewise.
4883 [non-C99-based standards] (tgammaf): Likewise.
4884 [non-C99-based standards] (y0f): Likewise.
4885 [non-C99-based standards] (y1f): Likewise.
4886 [non-C99-based standards] (ynf): Likewise.
4887 [non-C99-based standards] (isnanf): Likewise.
4888 [non-C99-based standards] (acoshf): Likewise.
4889 [non-C99-based standards] (asinhf): Likewise.
4890 [non-C99-based standards] (atanhf): Likewise.
4891 [non-C99-based standards] (cbrtf): Likewise.
4892 [non-C99-based standards] (expm1f): Likewise.
4893 [non-C99-based standards] (ilogbf): Likewise.
4894 [non-C99-based standards] (log1pf): Likewise.
4895 [non-C99-based standards] (logbf): Likewise.
4896 [non-C99-based standards] (nextafterf): Likewise.
4897 [non-C99-based standards] (remainderf): Likewise.
4898 [non-C99-based standards] (rintf): Likewise.
4899 [non-C99-based standards] (scalbf): Likewise.
4900 [non-C99-based standards] (copysignl): Likewise.
4901 [non-C99-based standards] (exp2l): Likewise.
4902 [non-C99-based standards] (log2l): Likewise.
4903 [non-C99-based standards] (modfl): Allow.
4904 [non-C99-based standards] (erfl): Do not allow.
4905 [non-C99-based standards] (erfcl): Likewise.
4906 [non-C99-based standards] (gammal): Likewise.
4907 [non-C99-based standards] (hypotl): Likewise.
4908 [non-C99-based standards] (j0l): Likewise.
4909 [non-C99-based standards] (j1l): Likewise.
4910 [non-C99-based standards] (jnl): Likewise.
4911 [non-C99-based standards] (lgammal): Likewise.
4912 [non-C99-based standards] (tgammal): Likewise.
4913 [non-C99-based standards] (y0l): Likewise.
4914 [non-C99-based standards] (y1l): Likewise.
4915 [non-C99-based standards] (ynl): Likewise.
4916 [non-C99-based standards] (isnanl): Likewise.
4917 [non-C99-based standards] (acoshl): Likewise.
4918 [non-C99-based standards] (asinhl): Likewise.
4919 [non-C99-based standards] (atanhl): Likewise.
4920 [non-C99-based standards] (cbrtl): Likewise.
4921 [non-C99-based standards] (expm1l): Likewise.
4922 [non-C99-based standards] (ilogbl): Likewise.
4923 [non-C99-based standards] (log1pl): Likewise.
4924 [non-C99-based standards] (logbl): Likewise.
4925 [non-C99-based standards] (nextafterl): Likewise.
4926 [non-C99-based standards] (remainderl): Likewise.
4927 [non-C99-based standards] (rintl): Likewise.
4928 [non-C99-based standards] (scalbl): Likewise.
4929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4930 [non-C99-based standards] (FP_*): Do not allow.
4931 [C99-based standards] (FP_*): Change to
4932 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4933 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4935 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4936 (SIG_ERR): Likewise.
4937 [X/Open-based standards] (SIG_HOLD): Likewise.
4938 (SIG_IGN): Likewise.
4939 (SIGABRT): Use macro-int-constant. Specify type. Require
4944 (SIGSEGV): Likewise.
4946 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4947 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4948 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4949 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4950 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4951 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4952 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4953 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4954 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4955 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4956 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4957 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4958 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4959 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4960 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4961 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4962 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4963 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4964 [X/Open-based standards] (SIGTRAP): Likewise.
4965 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4966 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4967 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4968 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4969 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4972 2012-05-08 Ian Wienand <ianw@vmware.com>
4975 * time/tzset.c (__tzset_parse_tz): Update default rules for
4976 daylight time changes in the Energy Policy Act of 2005.
4978 2012-05-09 Andreas Jaeger <aj@suse.de>
4981 * elf/ldconfig.c (parse_conf): Change string to make clear that
4982 ldconfig only issued a warning if ld.so.conf does not exist.
4984 2012-05-08 David S. Miller <davem@davemloft.net>
4986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4987 movxtod instead of popping the value on the stack.
4989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4991 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4993 * config.h.in: Add HAVE_ARM_PCS_VFP.
4995 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4998 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4999 checking but the checks are disabled for any reason.
5001 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5003 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5004 and ELF64_R_TYPE with ELFW(R_TYPE).
5006 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5008 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5011 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5012 (settimeofday): Likewise.
5014 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5016 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5017 a struct th_u2 inside the union, and move tu_block/tu_code into
5018 a new th_u3 union of tu_block/tu_code inside of that. Move
5019 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5020 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5021 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5022 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5023 (th_stuff): Change to th_u1.tu_stuff.
5025 (th_msg): Change to th_u1.th_u2.tu_data.
5027 2012-05-07 David S. Miller <davem@davemloft.net>
5029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5032 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5033 (SETUP_PIC_REG): Use it.
5034 (SETUP_PIC_REG_LEAF): Use it.
5036 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5040 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5042 (EXPL_FINITE): Likewise.
5044 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5045 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5047 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5049 (EXPL_FINITE): Likewise.
5051 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5052 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5054 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5055 test of -max_value argument for long double.
5056 * sysdeps/i386/fpu/libm-test-ulps: Update.
5057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5059 2012-05-06 David S. Miller <davem@davemloft.net>
5061 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5062 quad soft-float symbols whose references which are compiler
5064 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5066 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5070 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5072 (EXPL_FINITE): Likewise.
5076 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5077 Adjust comments for base varying.
5078 (__expl_finite): Change alias to EXPL_FINITE.
5079 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5081 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5082 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5083 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5084 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5085 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5099 * math/libm-test.inc (check_float_internal): Correct ulp
5100 calculation for subnormal expected results.
5102 2012-05-06 Andreas Jaeger <aj@suse.de>
5104 * Makeconfig (+math-flags): New, set to -frounding-math.
5105 (+cflags): Add +math-flags so that all of glibc gets compiled with
5108 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5110 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5112 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5118 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5119 (__ieee754_expl): Allow for and saturate large arguments.
5120 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5121 (u_threshold): Likewise.
5122 (__exp): Call __ieee754_exp before checking for overflow and
5124 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5125 (u_threshold): Likewise.
5126 (__expf): Call __ieee754_expf before checking for overflow and
5128 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5129 (u_threshold): Likewise.
5130 (__expl): Call __ieee754_expl before checking for overflow and
5132 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5133 (__ieee754_expl): Allow for and saturate large arguments.
5134 * math/libm-test.inc (exp_test): Add another test. Do not allow
5135 missing overflow exception on overflow.
5136 (expm1_test): Do not allow missing overflow exception on overflow.
5138 * sysdeps/i386/fpu/e_expl.c: Move to ...
5139 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5140 rather than using inline asm.
5141 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5142 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5143 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5145 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5152 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5154 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5155 sysdeps/unix/common/syscalls.list.
5158 (ftruncate): Likewise.
5159 (getrusage): Likewise.
5160 (gettimeofday): Likewise.
5161 (setpgid): Likewise.
5162 (setregid): Likewise.
5163 (setreuid): Likewise.
5164 (sigaction): Likewise.
5165 (truncate): Likewise.
5166 (vhangup): Likewise.
5167 * sysdeps/unix/common/syscalls.list: Remove file.
5168 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5169 * sysdeps/unix/sysv/linux/Implies: Likewise.
5171 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5173 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5175 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5179 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5182 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5185 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5188 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5191 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5194 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5197 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5201 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5205 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5208 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5212 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
5214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
5216 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5218 * sysdeps/unix/common/bits/dirent.h: Remove file.
5219 * sysdeps/unix/common/bits/fcntl.h: Likewise.
5221 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
5222 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
5223 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
5224 * sysdeps/unix/bsd/isatty.c: Likewise.
5225 * sysdeps/unix/bsd/tcdrain.c: Likewise.
5226 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
5227 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
5229 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
5233 long double comparison inaccuracies.
5234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5237 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
5239 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
5240 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
5242 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5245 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
5246 nonzero digits before rounding a hex value.
5247 * stdlib/tst-strtod.c (tests): Add another test.
5249 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5251 * sysdeps/s390/fpu/libm-test-ulps: Update.
5253 2012-05-03 Andreas Jaeger <aj@suse.de>
5255 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
5256 does not get optimized out.
5257 (malloc_opt_barrier): New.
5259 2012-05-03 Andreas Jaeger <aj@suse.de>
5260 Roland McGrath <roland@hack.frob.com>
5262 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
5263 intermediate file deletion.
5264 (generated): Add .symlist files.
5266 2012-05-03 Joseph Myers <joseph@codesourcery.com>
5269 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
5270 Redirect under this condition.
5271 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5272 [__USE_GNU] (__dprintf_chk): Not under this condition.
5273 [__USE_GNU] (__vdprintf_chk): Likewise.
5274 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
5275 under this condition.
5276 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
5277 [__USE_XOPEN2K8] (dprintf): Define under this condition.
5278 [__USE_XOPEN2K8] (vdprintf): Likewise.
5279 [__USE_GNU] (__dprintf_chk): Not under this condition.
5280 [__USE_GNU] (__vdprintf_chk): Likewise.
5281 [__USE_GNU] (dprintf): Likewise.
5282 [__USE_GNU] (vdprintf): Likewise.
5284 2012-05-03 Roland McGrath <roland@hack.frob.com>
5286 * elf/Makefile (common-generated): Set this instead of generated for
5287 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5288 $(all-built-dso)-derived lists.
5290 2012-05-03 Andreas Jaeger <aj@suse.de>
5292 * sysdeps/i386/fpu/libm-test-ulps: Update.
5296 * scripts/gen-FAQ.pl: Likewise.
5297 * manual/install.texi (Installation): Point to online location of
5299 * Makefile (files-for-dist): Remove FAQ.
5302 2012-05-02 Allan McRae <allan@archlinux.org>
5304 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5305 (LDFLAGS-reldepmod5.so): Likewise.
5306 (LDFLAGS-reldep6mod1.so): Likewise.
5307 (LDFLAGS-reldep6mod4.so): Likewise.
5308 (LDFLAGS-reldep8mod3.so): Likewise.
5309 (LDFLAGS-unload4mod1.so): Likewise.
5310 (LDFLAGS-unload4mod2.so): Likewise.
5311 (LDFLAGS-tst-initorder): Likewise.
5312 (LDFLAGS-tst-initordera2.so): Likewise.
5313 (LDFLAGS-tst-initordera3.so): Likewise.
5314 (LDFLAGS-tst-initordera4.so): Likewise.
5315 (LDFLAGS-tst-initorderb2.so): Likewise.
5316 (LDFLAGS-noload): Likewise.
5317 (LDFLAGS-next): Likewise.
5318 (LDFLAGS-order2mod1.so): Likewise.
5319 (LDFLAGS-order2mod2.so): Likewise.
5320 (LDFLAGS-tst-initorder2): Likewise.
5321 (LDFLAGS-tst-initorder2a.so): Likewise.
5322 (LDFLAGS-tst-initorder2b.so): Likewise.
5323 (LDFLAGS-tst-initorder2c.so): Likewise.
5324 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5326 2012-05-02 David S. Miller <davem@davemloft.net>
5328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5330 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5333 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5335 2012-05-02 Andreas Jaeger <aj@suse.de>
5337 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5338 since we manipulate rounding mode.
5339 (CPPFLAGS-test-idouble.c): Likewise.
5340 (CPPFLAGS-test-ifloat.c): Likewise.
5341 (CFLAGS-test-ldouble.c): Likewise.
5342 (CFLAGS-test-double.c): Likewise.
5343 (CFLAGS-test-float.c): Likewise.
5344 (CFLAGS-test-misc.c): Likewise.
5345 (CFLAGS-test-test-fenv.c): Likewise.
5347 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5351 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5352 comparisons to determine direction to adjust input.
5354 2012-05-01 Roland McGrath <roland@hack.frob.com>
5356 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5357 output to the target.
5359 * scripts/localplt.awk: New file.
5360 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5361 (check-localplt-CFLAGS): Variable removed.
5362 ($(all-built-dso:=.jmprel)): New static pattern rule.
5363 (generated): Add those targets.
5364 (localplt-built-dso): New variable.
5365 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5367 * elf/check-localplt.c: File removed.
5369 * scripts/check-execstack.awk: New file.
5370 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5371 (check-execstack-CFLAGS): Variable removed.
5372 ($(objpfx)check-execstack.h): Target removed.
5373 ($(objpfx)execstack-default): New target.
5374 (generated): Add that instead of check-execstack.h.
5375 ($(all-built-dso:=.phdr)): New static pattern rule.
5376 (generated): Add those targets.
5377 * elf/check-execstack.c: File removed.
5379 * scripts/check-textrel.awk: New file.
5380 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5381 (check-textrel-CFLAGS): Variable removed.
5382 (all-built-dso): Use := to define.o
5383 ($(all-built-dso:=.dyn)): New static pattern rule.
5384 (generated): Add those targets.
5385 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5386 * config.make.in (READELF): New substituted variable.
5387 * elf/check-textrel.c: File removed.
5389 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5391 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5393 * conform/data/ctype.h-data [C99-based standards] (isblank):
5395 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5396 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5397 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5398 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5399 Specify type. Require positive value.
5402 [ISO || POSIX] (EILSEQ): Do not expect.
5403 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5404 Specify type. Require positive value.
5405 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5406 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5407 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5408 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5409 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5410 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5411 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5412 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5413 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5414 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5415 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5416 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5417 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5418 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5419 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5420 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5421 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5422 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5423 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5424 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5425 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5426 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5427 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5428 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5429 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5430 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5431 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5432 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5433 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5434 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5435 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5436 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5437 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5438 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5439 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5440 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5441 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5442 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5443 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5444 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5445 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5446 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5447 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5448 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5449 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5450 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5451 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5452 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5453 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5454 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5455 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5456 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5457 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5458 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5459 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5460 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5461 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5462 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5463 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5464 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5465 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5466 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5467 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5468 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5469 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5470 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5471 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5472 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5473 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5474 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5475 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5476 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5477 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5478 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5479 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5480 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5481 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5483 (FLT_ROUNDS): Expect as macro, not constant.
5484 (FLT_MANT_DIG): Use macro-int-constant.
5485 (DBL_MANT_DIG): Likewise.
5486 (LDBL_MANT_DIG): Likewise.
5487 (FLT_DIG): Likewise.
5488 (DBL_DIG): Likewise.
5489 (LDBL_DIG): Likewise.
5490 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5491 (DBL_MIN_EXP): Likewise.
5492 (LDBL_MIN_EXP): Likewise.
5493 (FLT_MAX_EXP): Use macro-int-constant.
5494 (DBL_MAX_EXP): Likewise.
5495 (LDBL_MAX_EXP): Likewise.
5496 (FLT_MAX_10_EXP): Likewise.
5497 (DBL_MAX_10_EXP): Likewise.
5498 (LDBL_MAX_10_EXP): Likewise.
5499 (FLT_MAX): Use macro-constant.
5500 (DBL_MAX): Likewise.
5501 (LDBL_MAX): Likewise.
5502 (FLT_EPSILON): Use macro-constant. Give upper bound.
5503 (DBL_EPSILON): Likewise.
5504 (LDBL_EPSILON): Likewise.
5505 (FLT_MIN): Likewise.
5506 (DBL_MIN): Likewise.
5507 (LDBL_MIN): Likewise.
5508 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5509 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5510 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5511 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5512 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5513 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5514 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5515 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5516 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5517 [ISO11] (FLT_TRUE_MIN): Likewise.
5518 [ISO11] (LDBL_TRUE_MIN): Likewise.
5519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5520 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5521 (SCHAR_MIN): Use macro-int-constant. Specify type.
5522 (SCHAR_MAX): Likewise.
5523 (UCHAR_MAX): Likewise.
5524 (CHAR_MIN): Likewise.
5525 (CHAR_MAX): Likewise.
5526 (MB_LEN_MAX): Use macro-int-constant.
5527 (SHRT_MIN): Use macro-int-constant. Specify type.
5528 (SHRT_MAX): Likewise.
5529 (USHRT_MAX): Likewise.
5530 (INT_MAX): Likewise.
5531 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5533 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5535 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5537 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5538 bound negative. Suffix upper bound with "L".
5539 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5541 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5543 [C99-based standards] (LLONG_MAX): Likewise.
5544 [C99-based standards] (ULLONG_MAX): Likewise.
5545 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5547 [ISO11] (max_align_t): Require type.
5548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5550 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5551 from $CFLAGS, without defining away __attribute__ calls.
5552 (checknamespace): Use $CFLAGS_namespace.
5554 * conform/conformtest.pl (@keywords): Only include C99 keywords
5555 for standards based on C99 or C11.
5557 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5559 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5562 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5563 usability of symbols in #if.
5565 * conform/conformtest.pl: If macro or constant types start
5566 "promoted:", expect the symbol to be of the following type
5567 promoted by the integer promotions.
5569 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5570 in one place. Also handle "macro-constant".
5572 * conform/conformtest.pl: Only accept expected macro values with
5573 "==". Parse all "macro" lines in one place.
5574 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5576 * conform/conformtest.pl: Handle braced types on "constant" lines
5577 instead of handling "typed-constant".
5578 * conform/data/signal.h-data: Use "constant" instead of
5581 * conform/conformtest.pl: Handle "optional-" at start of lines in
5582 one place rather than duplicating several cases. Handle each
5583 format of "macro" line with initial "optional-".
5585 * conform/conformtest.pl: Only accept expected constant or
5586 optional-constant values with "==". Parse all "constant" lines in
5587 one place. Parse all "optional-constant" lines in one place.
5588 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5589 * conform/data/fmtmsg.h-data: Likewise.
5590 * conform/data/netinet/in.h-data: Likewise.
5591 * conform/data/tar.h-data: Likewise.
5592 * conform/data/limits.h-data: Use "==" form on "constant" and
5593 "optional-constant" lines.
5595 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5596 Use -std=c99 for XOPEN2K.
5597 (@knownproblems): Remove.
5598 (newtoken): Don't check %isknown.
5600 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5601 Do not expect macro.
5602 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5603 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5604 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5605 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5606 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5607 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5608 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5609 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5610 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5611 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5612 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5613 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5614 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5615 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5616 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5617 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5618 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5619 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5620 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5621 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5622 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5623 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5624 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5625 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5626 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5627 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5628 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5629 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5630 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5632 [XPG3] (acosh): Likewise.
5633 [XPG3] (asinh): Likewise.
5634 [XPG3] (atanh): Likewise.
5635 [XPG3] (cbrt): Likewise.
5636 [XPG3] (expm1): Likewise.
5637 [XPG3] (ilogb): Likewise.
5638 [XPG3] (log1p): Likewise.
5639 [XPG3] (logb): Likewise.
5640 [XPG3] (nextafter): Likewise.
5641 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5642 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5643 [XPG3] (remainder): Likewise.
5644 [XPG3] (rint): Likewise.
5645 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5646 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5647 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5648 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5649 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5650 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5651 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5652 [UNIX98 || XOPEN2K] (scalb): Expect.
5653 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5654 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5655 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5656 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5657 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5658 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5659 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5660 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5661 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5662 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5663 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5664 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5665 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5666 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5667 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5668 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5669 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5670 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5671 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5672 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5673 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5674 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5675 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5676 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5677 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5678 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5679 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5680 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5682 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5683 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5684 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5685 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5686 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5687 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5688 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5689 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5691 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5692 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5693 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5694 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5695 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5696 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5697 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5698 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5699 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5700 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5701 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5702 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5703 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5704 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5705 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5706 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5707 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5708 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5709 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5710 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5711 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5712 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5713 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5714 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5715 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5716 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5717 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5718 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5719 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5720 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5721 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5722 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5723 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5724 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5725 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5726 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5727 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5728 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5729 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5730 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5731 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5732 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5733 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5734 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5735 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5736 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5737 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5738 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5739 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5740 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5741 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5742 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5743 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5744 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5745 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5746 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5747 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5748 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5749 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5750 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5751 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5752 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5753 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5754 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5755 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5756 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5757 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5758 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5759 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5760 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5761 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5762 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5763 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5764 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5765 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5766 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5767 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5768 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5769 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5771 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5772 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5773 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5774 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5775 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5776 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5777 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5778 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5779 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5780 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5781 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5782 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5783 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5784 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5785 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5786 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5787 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5788 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5789 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5791 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5792 _XOPEN_SOURCE_EXTENDED for XPG4.
5794 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5796 * Makeconfig (localtime): Remove variable.
5797 (inst_localtime-file): Likewise.
5799 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5820 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5824 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5825 comparisons to determine direction to adjust input.
5826 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5827 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5828 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5830 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5832 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5834 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5835 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5837 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5839 * math/libm-test.inc (nexttoward_test): Add more tests.
5841 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5844 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5845 in version GLIBC_2.1, not GLIBC_2.0.
5846 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5849 2012-04-30 Joseph Myers <joseph@codesourcery.com>
5852 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5854 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5855 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5856 * math/libm-test.inc (acos_test): Add more tests.
5857 (asin_test): Likewise.
5858 * sysdeps/i386/fpu/libm-test-ulps: Update.
5859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5862 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5864 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5865 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5866 * math/libm-test.inc (acos_test_tonearest): New function.
5867 (acos_test_towardzero): Likewise.
5868 (acos_test_downward): Likewise.
5869 (acos_test_upward): Likewise.
5870 (asin_test_tonearest): Likewise.
5871 (asin_test_towardzero): Likewise.
5872 (asin_test_downward): Likewise.
5873 (asin_test_upward): Likewise.
5874 (main): Call the new functions.
5875 * sysdeps/i386/fpu/libm-test-ulps: Update.
5876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5880 * math/e_exp10.c: Include <float.h>.
5881 (__ieee754_exp10): Handle underflow here rather than multiplying
5882 large negative argument by M_LN10.
5883 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5885 * math/e_exp10l.c: Include <float.h>.
5886 (__ieee754_exp10l): Handle underflow here rather than multiplying
5887 large negative argument by M_LN10l.
5888 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5889 spurious overflow exception on underflow.
5891 2012-04-29 Marek Polacek <polacek@redhat.com>
5893 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5894 (__fortify_function): New macro.
5895 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5896 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5897 __extern_always_inline.
5898 * libio/bits/stdio2.h: Likewise.
5899 * libio/bits/stdio.h: Likewise.
5900 * string/string.h: Likewise.
5901 * string/bits/string3.h: Likewise.
5902 * include/stdio.h: Likewise.
5903 * stdlib/bits/stdlib.h: Likewise.
5904 * stdlib/stdlib.h: Likewise.
5905 * rt/bits/mqueue2.h: Likewise.
5906 * rt/mqueue.h: Likewise.
5907 * posix/bits/unistd.h: Likewise.
5908 * posix/unistd.h: Likewise.
5909 * io/bits/poll2.h: Likewise.
5910 * io/bits/fcntl2.h: Likewise.
5911 * io/fcntl.h: Likewise.
5912 * io/sys/poll.h: Likewise.
5913 * misc/bits/syslog.h: Likewise.
5914 * misc/bits/syslog-ldbl.h: Likewise.
5915 * misc/sys/syslog.h: Likewise.
5916 * socket/bits/socket2.h: Likewise.
5917 * socket/sys/socket.h: Likewise.
5918 * debug/tst-chk1.c: Likewise.
5919 * wcsmbs/bits/wchar2.h: Likewise.
5920 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5921 * wcsmbs/wchar.h: Likewise.
5923 2012-04-29 Andreas Jaeger <aj@suse.de>
5925 * Makerules (tests): Remove enable-check-abi protection.
5926 (check-abi-warn): Remove.
5927 (check-abi-%): Remove check-abi-warn usage.
5929 * configure.in: Remove check-abi configure option.
5930 * configure: Regenerated.
5931 * config.make.in (enable-check-abi): Remove.
5933 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5936 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5937 double functions to double *_finite functions.
5940 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5941 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5943 * stdio-common/Makefile (tests): Add tst-sprintf3.
5944 * stdio-common/tst-sprintf3.c: New file.
5946 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5947 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5949 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5951 * conform/conformtest.pl: Remove duplicate typed-constant
5954 2012-04-28 David S. Miller <davem@davemloft.net>
5956 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5957 (check-abi-%): Remove AWK script prerequisite and explicit
5959 (check-abi): Rewrite to just diff the symlist with the abilist.
5960 (config-tls, config-abi-config): Delete, no longer used.
5961 (update-abi-%): Remove AWK script and explicit abilist directory.
5962 (update-abi): Rewrite to simply compare and conditionally copy the
5963 symlist and the sysdep abilist file. Remove update-abi-config
5965 * abilist/ld.abilist: Remove.
5966 * abilist/libBrokenLocale.abilist: Remove.
5967 * abilist/libanl.abilist: Remove.
5968 * abilist/libcrypt.abilist: Remove.
5969 * abilist/libdl.abilist: Remove.
5970 * abilist/librt.abilist: Remove.
5971 * abilist/libthread_db.abilist: Remove.
5972 * abilist/libutil.abilist: Remove.
5973 * scripts/extract-abilist.awk: Remove.
5974 * scripts/merge-abilist.awk: Remove.
5975 * sysdeps/generic/libcidn.abilist: New file.
5976 * sysdeps/generic/libnss_compat.abilist: New file.
5977 * sysdeps/generic/libnss_db.abilist: New file.
5978 * sysdeps/generic/libnss_dns.abilist: New file.
5979 * sysdeps/generic/libnss_files.abilist: New file.
5980 * sysdeps/generic/libnss_hesiod.abilist: New file.
5981 * sysdeps/generic/libnss_nis.abilist: New file.
5982 * sysdeps/generic/libnss_nisplus.abilist: New file.
5983 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5984 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5985 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5987 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5988 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5989 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5990 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5991 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5992 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5993 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5994 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5995 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5997 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5998 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5999 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6000 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6002 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6003 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6004 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6005 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6006 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6007 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6009 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6010 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6011 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6013 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6116 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6117 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6118 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6120 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6121 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6122 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6123 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6124 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6125 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6126 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6127 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6128 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6129 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6181 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6183 * conform/conformtest.pl: Fix typo in handling typed-constant from
6186 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6188 * README: Cut down references to pre-2.6 Linux kernels and
6189 Linuxthreads. Update lists of configurations in libc and ports
6190 and sort alphabetically. Say "or newer" with Linux kernel version
6193 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6195 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6198 * math/libm-test.inc (logb_test_downward): New test to expose
6199 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6202 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6205 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6207 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6208 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6210 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6212 * sysdeps/unix/i386/brk.S: Remove file.
6213 * sysdeps/unix/i386/dl-brk.S: Likewise.
6214 * sysdeps/unix/i386/pipe.S: Likewise.
6215 * sysdeps/unix/i386/sigreturn.S: Likewise.
6216 * sysdeps/unix/i386/syscall.S: Likewise.
6217 * sysdeps/unix/i386/vfork.S: Likewise.
6218 * sysdeps/unix/i386/wait.S: Likewise.
6220 * sysdeps/unix/common/tcsendbrk.c: Move to ...
6221 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
6223 * configure.in (arm*-none*): Do not allow without
6224 --enable-hacker-mode.
6225 (netbsd*): Remove case setting base_os.
6226 (386bsd*): Likewise.
6227 (freebsd*): Likewise.
6231 (ultrix*): Likewise.
6232 (newsos*): Likewise.
6242 (solaris[2-9]*): Likewise.
6244 * configure: Regenerated.
6246 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6249 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
6250 overflow or cancellation in calculating denominator.
6251 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
6252 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
6253 down expression to avoid unexpected rounding in newer GCCs.
6254 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
6256 2012-04-26 David S. Miller <davem@davemloft.net>
6258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
6259 long-double compat symbols.
6260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
6264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
6266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
6267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
6268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
6271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6274 2012-04-25 David S. Miller <davem@davemloft.net>
6276 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
6277 HWCAP_* values only after the memory barriers have been defined.
6278 (atomic_full_barrier): Define.
6279 (atomic_read_barrier): Define.
6280 (atomic_write_barrier): Define.
6282 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6284 * shlib-versions: Add libgcc_s version information.
6285 * sysdeps/generic/libgcc_s.h: Remove.
6286 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6288 * sysdeps/gnu/unwind-resume.c: Likewise.
6289 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6291 2012-04-25 David S. Miller <davem@davemloft.net>
6293 * sysdeps/unix/sparc/brk.S: Delete.
6294 * sysdeps/unix/sparc/dl-brk.S: Delete.
6295 * sysdeps/unix/sparc/pipe.S: Delete.
6296 * sysdeps/unix/sparc/sysdep.S: Delete.
6297 * sysdeps/unix/sparc/sysdep.h: Delete.
6298 * sysdeps/unix/sparc/vfork.S: Delete.
6299 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6300 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6301 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6302 ret_ERRVAL, r0, r1, MOVE): Define.
6303 (JUMPTARGET): Remove.
6304 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6305 sysdeps/unix/sparc/sysdep.h
6306 (ENTRY, END): Remove.
6307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6309 2012-04-25 Joseph Myers <joseph@codesourcery.com>
6311 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6312 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6315 * timezone/README: Update upstream location and email address for
6317 * timezone/zdump.c: Update from tzcode 2012b.
6318 * timezone/zic.c: Likewise.
6320 * configure.in (libc_cv_as_needed): Remove test.
6321 * configure: Regenerated.
6322 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6323 conditional definition.
6324 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6325 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6326 * config.make.in (have-as-needed): Remove variable.
6328 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6329 Paul Pluzhnikov <ppluzhnikov@google.com>
6331 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6334 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6336 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6337 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6338 * sysdeps/sh/strlen.S: Likewise.
6340 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6342 * sysdeps/unix/fork.S: Remove file.
6343 * sysdeps/unix/i386/fork.S: Likewise.
6344 * sysdeps/unix/sparc/fork.S: Likewise.
6346 * sysdeps/unix/system.c: Remove file.
6347 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6349 * sysdeps/unix/getegid.S: Remove file.
6350 * sysdeps/unix/geteuid.S: Likewise.
6352 2012-04-24 Roland McGrath <roland@hack.frob.com>
6354 * scripts/check-localplt.awk: New file.
6355 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6357 * scripts/data/localplt-generic.data: Add a comment.
6359 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6360 NODE when __dir_mkfile failed.
6361 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6362 Reported by Ludovic Courtès <ludo@gnu.org>.
6364 2012-04-24 Andreas Jaeger <aj@suse.de>
6366 * Makerules (common-clean): Also remove gen-as-const-headers
6369 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6371 * Makerules (native-compile): Do not change working directory for
6372 build. Use $(OUTPUT_OPTION) in command.
6373 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6375 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6378 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6379 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6380 * math/libm-test.inc (floor_test): Add more tests.
6381 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6383 2012-04-24 Joseph Myers <joseph@codesourcery.com>
6385 * sysdeps/unix/getdents.c: Remove file.
6386 * sysdeps/unix/sysv/getdents.c: Likewise.
6387 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6389 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6390 sysdeps/unix/mman/syscalls.list.
6392 (mprotect): Likewise.
6395 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6396 * sysdeps/unix/mman/syscalls.list: Remove.
6397 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6399 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6400 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6401 * configure: Regenerated.
6402 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6404 * config.make.in (libgcc_s_suffix): Remove variable.
6406 2012-04-23 Joseph Myers <joseph@codesourcery.com>
6408 * sysdeps/unix/sysv/gethostname.c: Move to ...
6409 * sysdeps/posix/gethostname.c: ... here.
6411 * sysdeps/unix/execve.S: Remove file.
6413 * sysdeps/unix/_exit.S: Remove file.
6415 2012-04-23 Andreas Jaeger <aj@suse.de>
6418 * manual/Makefile: Remove make dist support, there's no
6419 need for a stand-alone documentation tar ball.
6420 (TEXI2DVI): Define always, it's not in Makeconfig.
6424 (glibc-doc-$(edition).tar): Removed
6428 (ETAGS): Remove, it's in Makeconfig.
6429 (move-if-change): Remove, it's in Makeconfig.
6431 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6434 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6435 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6436 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6437 (strtod_l, strtof_l, strtold_l): Remove __wur.
6438 It is not necessarily an error to ignore strtol's return value.
6439 One can reliably look at the stored endptr to decide whether
6440 the number had valid syntax.
6442 2012-04-21 Andreas Jaeger <aj@suse.de>
6445 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6447 2012-04-21 Joseph Myers <joseph@codesourcery.com>
6449 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6450 * sysdeps/unix/sysv/Versions: Remove file.
6452 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6457 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
6460 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6461 version from __vm86.
6463 2012-04-20 Joseph Myers <joseph@codesourcery.com>
6465 * sysdeps/unix/common/lxstat.c: Remove file.
6466 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6468 * sysdeps/unix/sysv/Makefile: Remove file.
6470 * sysdeps/unix/sysv/direct.h: Remove file.
6472 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6473 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6474 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6475 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6476 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6477 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6478 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6480 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6482 * sysdeps/unix/xmknod.c: Remove file.
6483 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6485 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6487 * sysdeps/unix/sysv/i386/time.S: Remove file.
6489 * sysdeps/unix/fxstat.c: Remove file.
6490 * sysdeps/unix/xstat.c: Likewise.
6491 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6493 * sysdeps/unix/sysv/sigaction.c: Remove file.
6495 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6496 (sysdep_headers): Remove variable.
6497 [termio.h not in sysdep_headers] (generated): Likewise.
6498 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6499 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6500 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6501 * sysdeps/unix/sysv/tcflow.c: Likewise.
6502 * sysdeps/unix/sysv/tcflush.c: Likewise.
6503 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6504 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6505 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6506 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6507 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6509 * sysdeps/unix/siglist.c: Remove file.
6511 * sysdeps/unix/getppid.S: Remove file.
6513 * sysdeps/unix/mkdir.c: Remove file.
6514 * sysdeps/unix/rmdir.c: Likewise.
6516 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6518 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6520 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6521 errlist-compat value.
6523 2012-04-18 David S. Miller <davem@davemloft.net>
6525 * sysdeps/generic/memcopy.h (reg_char): Delete.
6526 * debug/strcat_chk.c: Use char, not reg_char.
6527 * debug/strcpy_chk.c: Likewise.
6528 * debug/strncat_chk.c: Likewise.
6529 * debug/strncpy_chk.c: Likewise.
6530 * string/memchr.c: Likewise.
6531 * string/memrchr.c: Likewise.
6532 * string/rawmemchr.c: Likewise.
6533 * string/strcat.c: Likewise.
6534 * string/strchr.c: Likewise.
6535 * string/strchrnul.c: Likewise.
6536 * string/strcmp.c: Likewise.
6537 * string/strcpy.c: Likewise.
6538 * string/strncat.c: Likewise.
6539 * string/strncmp.c: Likewise.
6540 * string/strncpy.c: Likewise.
6542 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6544 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6545 __builtin_memcopy is called when src and dest ranges are known to not
6548 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6550 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6551 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6552 fwd_align_merge macro call.
6553 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6554 bwd_align_merge macro call.
6555 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6557 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6559 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6560 bwd_align_merge macros.
6561 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6562 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6563 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6565 2012-04-18 David S. Miller <davem@davemloft.net>
6567 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6569 2012-04-18 Andreas Jaeger <aj@suse.de>
6572 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6573 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6574 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6576 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6577 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6578 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6580 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6581 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6582 Adjust for changed ldbl-128 files.
6584 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6585 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6586 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6588 2012-04-17 David S. Miller <davem@davemloft.net>
6590 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6592 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6594 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6595 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6596 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6597 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6598 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6599 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6601 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6604 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6605 * math/libm-test.inc: Add ilogb errno and exception tests.
6606 * math/w_ilogb.c: New file: ilogb wrapper.
6607 * math/w_ilogbf.c: New file: ilogbf wrapper.
6608 * math/w_ilogbl.c: New file: ilogbl wrapper.
6609 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6610 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6611 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6612 exception being thrown with 0.0 as argument.
6613 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6614 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6615 exception being thrown with 0.0 as argument.
6616 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6617 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6618 exception being thrown with 0.0 as argument.
6619 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6620 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6621 exception being thrown with 0.0 as argument.
6622 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6623 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
6624 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
6625 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6626 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6627 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6628 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6629 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6630 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6632 2012-04-17 Petr Baudis <pasky@ucw.cz>
6634 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6637 2012-04-16 Marek Polacek <polacek@redhat.com>
6639 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6641 2012-04-16 Marek Polacek <polacek@redhat.com>
6643 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6644 operands of fdivp instruction.
6646 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6648 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6649 * elf/tst-auditmod3b.c: Likewise.
6650 * elf/tst-auditmod4b.c: Likewise.
6651 * elf/tst-auditmod5b.c: Likewise.
6652 * elf/tst-auditmod6b.c: Likewise.
6653 * elf/tst-auditmod6c.c: Likewise.
6654 * elf/tst-auditmod7b.c: Likewise.
6655 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6656 * sysdeps/x86_64/preconfigure.in: Likewise.
6657 * sysdeps/x86_64/preconfigure: Regenerated.
6659 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6661 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6664 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
6666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6667 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6669 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6672 * locale/iso-639.def: Fix gl language name. Spotted by
6675 2012-04-12 Roland McGrath <roland@hack.frob.com>
6678 * libio/libio.h (__io_write_fn): Update comment.
6680 2012-04-12 Petr Baudis <pasky@ucw.cz>
6683 * stdio.texi (Hook Functions): The user provided writer function
6684 is not allowed to return -1.
6686 2012-04-11 David S. Miller <davem@davemloft.net>
6688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6690 2012-04-11 Mike Frysinger <vapier@gentoo.org>
6692 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6693 Add a leading slash to rtkaio.
6695 2012-04-11 Jim Meyering <meyering@redhat.com>
6698 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6699 It is not necessarily an error to ignore fwrite's return
6700 value. One can reliably use ferror to test for errors after
6703 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6705 * bits/types.h (__snseconds_t): New type.
6706 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6708 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6710 (__SNSECONDS_T_TYPE): Likewise.
6711 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6712 (__SNSECONDS_T_TYPE): Likewise.
6713 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6714 (__SNSECONDS_T_TYPE): Likewise.
6716 2012-04-10 Andreas Jaeger <aj@suse.de>
6719 * manual/time.texi (Processor Time): Return type of times is
6720 elapsed real time since an arbitrary point in the past.
6721 (CPU Time): Move CLK_TCK from here...
6722 (Processor Time): ...to here. Correct description.
6723 * manual/conf.texi (Constants for Sysconf): Correct description of
6726 2012-04-10 David S. Miller <davem@davemloft.net>
6729 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6730 where the is a gap between DT_REL(A) and DT_JMPREL.
6732 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6734 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6735 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6736 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6738 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6740 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6741 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6742 (dl_main): Handle --inhibit-cache.
6743 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6745 * elf/dl-load.c (_dl_map_object): Use it.
6746 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6748 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6751 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6752 (__ieee754_powl): Saturate large exponents rather than testing for
6753 overflow of y*log2(x).
6754 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6755 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6759 * math/s_ctan.c: Include <float.h>.
6760 (__ctan): Avoid internal overflow or cancellation in calculating
6762 * math/s_ctanf.c: Likewise.
6763 * math/s_ctanl.c: Likewise.
6764 * math/s_ctanh.c: Likewise.
6765 * math/s_ctanhf.c: Likewise.
6766 * math/s_ctanhl.c: Likewise.
6767 * math/libm-test.inc (ctan_test): Add more tests.
6768 (ctanh_test): Likewise.
6769 * sysdeps/i386/fpu/libm-test-ulps: Update.
6770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6772 2012-04-09 Andreas Jaeger <aj@suse.de>
6775 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6776 is an optional BSD extension.
6779 * manual/stdio.texi (Opening Streams): Document additional fopen
6782 2012-04-09 Roland McGrath <roland@hack.frob.com>
6784 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6785 %eax without telling the compiler.
6787 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6790 * manual/install.texi: Use sourceware.org.
6792 2012-04-09 Joseph Myers <joseph@codesourcery.com>
6795 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6796 (__ieee754_pow): Generate overflow and underflow using huge*huge
6797 and tiny*tiny rather than just returning constant infinity or zero
6798 for large exponents.
6799 * math/libm-test.inc (pow_test): Require overflow exceptions for
6800 applicable cases of large exponents.
6803 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6804 (__ieee754_pow): Use iterative multiplication algorithm only for
6805 integer exponents with absolute value below 1024. Check for odd
6806 integer exponents when using algorithm for real exponents.
6807 * math/libm-test.inc (pow_test): Add more tests.
6808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6810 2012-04-08 Joseph Myers <joseph@codesourcery.com>
6813 * math/libm-test.inc (exp_test): Do not allow overflow exception
6816 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6819 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6820 instead of __kernel_standard_f.
6822 2012-04-08 Mike Frysinger <vapier@gentoo.org>
6824 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6825 * sysdeps/x86_64/memset_chk.S: Likewise.
6827 2012-04-08 Andreas Jaeger <aj@suse.de>
6830 * manual/startup.texi (Environment Access): Describe return value
6831 for putenv and setenv.
6834 * manual/filesys.texi (Directory Entries): Add description for
6838 * manual/filesys.texi (Directory Entries): Clarify that it's file
6839 system not operating system in the description of DT_UNKNOWN.
6842 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6844 2012-04-08 Stephen Compall <s11@member.fsf.org>
6847 * manual/llio.texi (Opening and Closing Files): Add cross
6848 reference to explain mode argument.
6850 2012-04-07 Mike Frysinger <vapier@gentoo.org>
6852 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6853 * sysdeps/x86_64/memset_chk.S: Likewise.
6855 2012-04-07 David S. Miller <davem@davemloft.net>
6857 * elf/elf.h (R_SPARC_WDISP10): Define.
6858 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6860 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6861 R_SPARC_SIZE64 and R_SPARC_H34.
6863 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6865 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6866 conditions and remove no longer applicable assertion.
6868 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6870 * bits/byteswap.h: Include <features.h>.
6871 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6872 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6874 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6876 * bits/byteswap.h (__bswap_16): Removed.
6877 Include <bits/byteswap-16.h> to get __bswap_16.
6878 * sysdeps/i386/bits/byteswap.h: Likewise.
6879 * sysdeps/s390/bits/byteswap.h: Likewise.
6880 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6881 * bits/byteswap-16.h: New file.
6882 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6883 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6884 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6885 * string/Makefile (headers): Add bits/byteswap-16.h.
6887 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6890 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6892 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6893 * nss/tst-nss-static.c: New.
6895 2012-04-06 Robert Millan <rmh@gnu.org>
6898 * manual/llio.texi (File Position Primitive): lseek
6899 refers to WHENCE when it really means OFFSET.
6901 2012-04-06 Andreas Jaeger <aj@suse.de>
6903 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6904 strncmp declarations.
6906 * abilist/libc.abilist: Add __poll and __ppoll.
6908 2012-04-05 David S. Miller <davem@davemloft.net>
6910 * scripts/check-local-headers.sh: Accept a host triplet in the
6911 path matched by the exclude regexp.
6913 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6915 * sysdeps/powerpc/powerpc32/dl-machine.h
6916 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6917 * sysdeps/s390/s390-32/dl-machine.h
6918 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6919 * sysdeps/sparc/sparc32/dl-machine.h
6920 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6921 * sysdeps/sparc/sparc64/dl-machine.h
6922 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6924 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6926 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6927 undefined symbol errors.
6929 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6932 2012-04-05 Michael Matz <matz@suse.de>
6935 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6937 2012-04-05 Andreas Jaeger <aj@suse.de>
6940 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6943 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6945 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6946 which ROUND is no valid rounding mode.
6948 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6950 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6952 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6954 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6956 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6957 an exception using FPU order intentionally.
6959 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6961 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6962 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6963 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6964 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6966 2012-04-05 Simon Josefsson <simon@josefsson.org>
6969 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6970 EINVAL when BUFLEN is too smal.
6972 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6975 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6976 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6978 2012-04-03 Andreas Jaeger <aj@suse.de>
6981 * manual/setjmp.texi (System V contexts): Fix sentence.
6984 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6985 New macro for this case.
6986 [!__GNUC__] (__bswap_64): New inline function for this case.
6987 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6988 * bits/byteswap.h: Likewise.
6989 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6990 ull, guard with __GLIBC_HAVE_LONG_LONG.
6992 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6993 __GLIBC_HAVE_LONG_LONG.
6995 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6996 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6998 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7001 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7002 inptr and inend, rather than using last_ch.
7004 2012-04-02 David S. Miller <davem@davemloft.net>
7006 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7007 * stdio-common/printf-parse.h (read_int): Change return type to
7008 'int', return -1 on INT_MAX overflow.
7009 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7010 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7011 overflows INT_MAX. Check for overflow of in-format-string precision
7012 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7013 SIZE_MAX not INT_MAX for integer overflow test.
7014 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7015 skip the construct in the format string but do not record anything.
7016 * stdio-common/bug22.c: Adjust to test both width/prevision
7017 INT_MAX overflow as well as total length INT_MAX overflow. Check
7018 explicitly for proper errno values.
7020 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7022 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7024 * string/test-strcmp.c [! WIDE]: Likewise.
7025 * time/tst-mktime2.c: Likewise for INT_MAX.
7026 * string/test-string.h: #include <sys/param.h> for MIN.
7028 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7029 * sysdeps/i386/init-first.c (init): Likewise.
7030 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7031 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7032 * sysdeps/sh/init-first.c (init): Likewise.
7034 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7036 * po/ru.po: Update from translation team.
7037 * po/vi.po: Likewise.
7039 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7041 * resolv/nss_dns/dns-host.c: Merge copyright years.
7043 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7045 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7046 Optimize memcpy with prefetch if
7047 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7048 src, dst pointers have unequal 16 byte alignments.
7050 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7053 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7054 from a CNAME entry and return the minimum ttl for the query.
7055 (gaih_getanswer_slice): Likewise.
7057 2012-03-30 Jeff Law <law@redhat.com>
7059 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7061 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7062 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7064 * resolv/nss_dns/dns-host.c: Update copyright year.
7066 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7068 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7069 requests to save a system call. Fix check that all bytes are sent.
7071 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7072 comments for sendmmsg.
7074 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7077 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7078 with only 1 character between 0x0041 and 0x01b0.
7079 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7080 * wcsmbs/tst-mbsnrtowcs.c: New file.
7082 2012-03-29 David S. Miller <davem@davemloft.net>
7084 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7085 small copies by hand.
7087 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7090 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7091 _nss_compat_initgroups_dyn): Fall back to malloc/free
7092 for large group memberships.
7094 2012-03-28 David S. Miller <davem@davemloft.net>
7096 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7097 that branches into memcpy.
7098 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7099 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7100 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7101 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7104 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7106 * sysdeps/sparc/mempcpy.S: New file.
7108 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7109 the IFUNC routine in the libc case.
7110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7112 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7113 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7114 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7115 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7116 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7117 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7118 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7119 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7121 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7122 loop to 256 bytes instead of 64 bytes and fix test signedness.
7124 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7125 * sysdeps/sparc/sparc32/Makefile: rather than here...
7126 * sysdeps/sparc/sparc64/Makefile: and here.
7128 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7130 * malloc/mallocbug.c: Avoid warnings about unused variables.
7132 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7135 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7136 in the right place. Discard and retry query if response is
7137 larger than input buffer size.
7139 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7144 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7145 x for large integer exponent.
7146 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7147 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7148 sign of result as needed afterwards.
7149 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7150 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7151 result for underflowing pow the same as for overflow.
7152 (__kernel_standard_l): Handle powl overflow and underflow here
7153 rather than calling __kernel_standard.
7154 * math/libm-test.inc (pow_test): Add more tests.
7169 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7170 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7171 (__kernel_standard_l): New function.
7172 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7174 * math/w_acosl.c (__acosl): Likewise.
7175 * math/w_asinl.c (__asinl): Likewise.
7176 * math/w_atan2l.c (__atan2l): Likewise.
7177 * math/w_atanhl.c (__atanhl): Likewise.
7178 * math/w_coshl.c (__coshl): Likewise.
7179 * math/w_exp10l.c (__exp10l): Likewise.
7180 * math/w_exp2l.c (__exp2l): Likewise.
7181 * math/w_fmodl.c (__fmodl): Likewise.
7182 * math/w_hypotl.c (__hypotl): Likewise.
7183 * math/w_j0l.c (__j0l, __y0l): Likewise.
7184 * math/w_j1l.c (__j1l, __y1l): Likewise.
7185 * math/w_jnl.c (__jnl, __ynl): Likewise.
7186 * math/w_lgammal.c (__lgammal): Likewise.
7187 * math/w_log10l.c (__log10l): Likewise.
7188 * math/w_log2l.c (__log2l): Likewise.
7189 * math/w_logl.c (__logl): Likewise.
7190 * math/w_powl.c (__powl): Likewise.
7191 * math/w_remainderl.c (__remainderl): Likewise.
7192 * math/w_scalbl.c (sysv_scalbl): Likewise.
7193 * math/w_sinhl.c (__sinhl): Likewise.
7194 * math/w_sqrtl.c (__sqrtl): Likewise.
7195 * math/w_tgammal.c (__tgammal): Likewise.
7196 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7197 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7198 * math/libm-test.inc (acos_test): Add more tests.
7199 (acosh_test): Likewise.
7200 (asin_test): Likewise.
7201 (atanh_test): Likewise.
7202 (exp_test): Likewise.
7203 (exp10_test): Likewise.
7204 (exp2_test): Likewise.
7205 (expm1_test): Likewise.
7206 (lgamma_test): Likewise.
7207 (log_test): Likewise.
7208 (log10_test): Likewise.
7209 (log1p_test): Likewise.
7210 (log2_test): Likewise.
7211 (pow_test): Do not allow some spurious overflow exceptions.
7212 (sqrt_test): Add more tests.
7213 (tgamma_test): Likewise.
7214 (y0_test): Likewise.
7215 (y1_test): Likewise.
7216 (yn_test): Likewise.
7218 2012-03-27 Anton Blanchard <anton@samba.org>
7220 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
7222 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7223 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7224 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7226 2012-03-27 David S. Miller <davem@davemloft.net>
7228 * conform/Makefile: Run run-conformtest.sh using $(BASH).
7230 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
7233 2012-03-27 Andreas Jaeger <aj@suse.de>
7235 * sysdeps/x86_64/elf/configure.in: Moved to ...
7236 * sysdeps/x86_64/configure.in: ... here.
7237 * sysdeps/x86_64/elf/start.S: Moved to ...
7238 * sysdeps/x86_64/start.S: ... here.
7239 * sysdeps/x86_64/elf/configure: Delete.
7241 * sysdeps/x86_64/configure.in: Merge contents from
7242 sysdeps/i386/configure.in (without i686 check).
7244 * sysdeps/i386/elf/Versions: Merge into ...
7245 * sysdeps/i386/Versions: ... this.
7246 * sysdeps/i386/elf/Versions: Delete file.
7247 * sysdeps/i386/elf/start.S: Moved to ...
7248 * sysdeps/i386/start.S: ...here.
7249 * sysdeps/i386/elf/configure.in: Merge into...
7250 * sysdeps/i386/configure.in: ...here.
7251 * sysdeps/i386/elf/configure.in: Delete file.
7252 * sysdeps/i386/elf/configure: Delete file.
7254 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
7255 * debug/backtracesyms.c: ... here.
7256 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
7257 * debug/backtracesymsfd.c: ... here.
7258 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
7259 * sysdeps/generic/ifunc-sel.h: ... here.
7261 * sysdeps/unix/i386/start.c: Delete file.
7262 * sysdeps/unix/sparc/start.c: Delete file.
7263 * sysdeps/unix/start.c: Delete file.
7265 * sysdeps/sh/elf/configure.in: Moved to ...
7266 * sysdeps/sh/configure.in: ... here.
7267 * sysdeps/sh/elf/start.S: Moved to ...
7268 * sysdeps/sh/start.S: ... here.
7269 * sysdeps/sh/elf/configure: Delete file.
7271 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
7272 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
7273 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
7274 * sysdeps/powerpc/powerpc64/entry.h: ... here.
7275 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
7276 * sysdeps/powerpc/powerpc64/start.S: here.
7277 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
7278 * sysdeps/powerpc/powerpc64/Makefile: ... this.
7279 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
7280 * sysdeps/powerpc/powerpc64/configure.in: ... this.
7281 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
7283 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
7284 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7285 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7286 * sysdeps/powerpc/powerpc32/start.S: ... here.
7287 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7288 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7289 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7291 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7292 * sysdeps/powerpc/ifunc-sel.h: ... here.
7293 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7294 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7296 * sysdeps/sparc/elf/configure.in: Moved to ...
7297 * sysdeps/sparc/configure.in: ... here.
7298 * sysdeps/sparc/elf/configure: Delete file.
7299 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7300 * sysdeps/sparc/sparc32/start.S: ... here.
7301 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7302 * sysdeps/sparc/sparc64/start.S: ... here.
7303 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7304 * sysdeps/sparc/sparc32/Makefile: ... this.
7305 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7306 * sysdeps/sparc/sparc64/Makefile: ... this.
7308 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7309 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7310 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7311 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7312 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7313 * sysdeps/s390/s390-32/setjmp.S: ... here.
7314 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7315 * sysdeps/s390/s390-32/configure.in: ... here.
7316 * sysdeps/s390/s390-32/elf/configure: Delete file.
7317 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7318 * sysdeps/s390/s390-32/start.S: ... here.
7320 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7321 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7322 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7323 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7324 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7325 * sysdeps/s390/s390-64/setjmp.S: ... here.
7326 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7327 * sysdeps/s390/s390-64/configure.in: ... here
7328 * sysdeps/s390/s390-64/elf/configure: Delete file.
7329 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7330 * sysdeps/s390/s390-64/start.S: ... here.
7331 * sysdeps/s390/s390-64/elf/configure: Delete.
7333 * configure.in: Remove support for elf directories in sysdeps.
7335 * configure: Regenerated.
7336 * sysdeps/i386/configure: Regenerated.
7337 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7338 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7339 * sysdeps/s390/s390-32/configure: Regenerated.
7340 * sysdeps/s390/s390-64/configure: Regenerated.
7341 * sysdeps/sh/configure: Regenerated.
7342 * sysdeps/sparc/configure: Regenerated.
7343 * sysdeps/x86_64/configure: Regenerated.
7345 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7350 denormal result into account.
7352 2012-03-25 Roland McGrath <roland@hack.frob.com>
7354 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7355 Reported by Allan McRae <allan@archlinux.org>.
7357 2012-03-23 Jeff Law <law@redhat.com>
7359 * nss/getnssent.c (__nss_getent): Fix typo.
7361 2012-03-23 David S. Miller <davem@davemloft.net>
7363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7365 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7367 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7368 to pad to uint64_t for each field.
7369 (dl_tls_index): Replace unsigned long with uint64_t.
7371 2012-03-23 Daniel Jacobowitz <dmj@google.com>
7372 Paul Pluzhnikov <ppluzhnikov@google.com>
7375 * grp/Makefile (otherlibs): Don't set it.
7376 * inet/Makefile (otherlibs): Likewise.
7377 * login/Makefile (otherlibs): Likewise.
7378 * nscd/Makefile (otherlibs): Likewise.
7379 * posix/Makefile (otherlibs): Likewise.
7380 * pwd/Makefile (otherlibs): Likewise.
7381 * rt/Makefile (otherlibs): Likewise.
7382 * sunrpc/Makefile (otherlibs): Likewise.
7383 * nss/Makefile (otherlibs): Likewise.
7384 Add libnss_files to routines and static-only-routines.
7385 ($(objpfx)getent): Remove rule.
7386 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7387 static-only-routines.
7389 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7392 * math/s_cexp.c: Include <float.h>.
7393 (__cexp): Handle exp result overflowing not necessarily
7394 overflowing both real and imaginary parts of result.
7395 * math/s_cexpf.c: Likewise.
7396 * math/s_cexpl.c: Likewise.
7397 * math/libm-test.inc (cexp_test): Add more tests.
7398 * sysdeps/i386/fpu/libm-test-ulps: Update.
7399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7401 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7403 * include/link.h (ELFW): New macro.
7404 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7405 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7407 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7409 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7412 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7414 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7416 (struct La_x32_retval): Likewise.
7418 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7420 * sysdeps/x86_64/preconfigure.in: New file.
7421 * sysdeps/x86_64/preconfigure: New generated file.
7423 2012-03-22 Joseph Myers <joseph@codesourcery.com>
7426 * math/e_exp2l.c: Include <float.h>.
7427 (__ieee754_exp2l): Handle overflow and underflow cases
7428 separately. Only pass fractional part of argument to
7430 * math/libm-test.inc (exp2_test): Add more tests.
7432 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7433 negating x to take absolute value.
7434 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7436 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7439 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7440 computing low part if x was negated.
7441 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7443 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7445 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7447 (pltexit): Cast int_retval to ptrdiff_t.
7448 * elf/tst-auditmod3b.c: Likewise.
7449 * elf/tst-auditmod4b.c: Likewise.
7450 * elf/tst-auditmod5b.c: Likewise.
7451 * elf/tst-auditmod6b.c: Likewise.
7452 * elf/tst-auditmod6c.c: Likewise.
7453 * elf/tst-auditmod7b.c: Likewise.
7455 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7456 and x32_gnu_pltexit.
7458 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7460 (La_x32_regs): New macro.
7461 (La_x32_retval): Likewise.
7462 (la_x32_gnu_pltenter): New function prototype.
7463 (la_x32_gnu_pltexit): Likewise.
7465 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7467 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7472 * configure.in (libc_cv_cc_nofma): Check for option to disable
7473 generation of FMA instructions.
7474 * configure: Regenerate.
7475 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7476 * sysdeps/ieee754/dbl-64/Makefile: New file.
7477 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7478 Remove brandred-fma4.
7479 (CFLAGS-brandred-fma4.c): Remove.
7480 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7481 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7483 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7486 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7488 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7489 LLONG_MAX != LONG_MAX.
7490 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7491 (_fitoa_word): Likewise.
7492 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7493 LLONG_MAX != LONG_MAX.
7494 * stdio-common/_itowa.h: Include <_itoa.h>.
7495 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7496 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7497 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7498 only if not defined.
7499 (_ITOA_WORD_TYPE): Likewise.
7500 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7501 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7503 2012-03-21 David S. Miller <davem@davemloft.net>
7505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7507 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7509 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7510 of x86_64 when setting libc_cv_slibdir, libdir and
7512 * sysdeps/unix/sysv/linux/configure: Regenerated.
7514 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7516 * manual/lang.texi (Old Varargs): Remove section.
7517 (How Variadic): Update menu.
7518 (va_start): Do not mention varargs.h.
7520 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7521 Joseph Myers <joseph@codesourcery.com>
7523 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7525 * configure: Regenerated.
7527 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7529 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7530 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7533 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7536 * Makefile (files-for-dist): Remove NOTES.
7537 (NOTES): Remove rule.
7538 * README: Don't refer to NOTES.
7539 * manual/creature.texi: Don't include macros.texi.
7540 * manual/intro.texi (creature.texi): Remove comment referring to
7543 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7544 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7545 * configure: Regenerated.
7546 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7548 (libc_cv_as_i686): Likewise.
7549 (libc_cv_cc_avx): Likewise.
7550 (libc_cv_cc_sse2avx): Likewise.
7551 (libc_cv_cc_fma4): Likewise.
7552 (libc_cv_cc_novzeroupper): Likewise.
7553 * sysdeps/i386/configure: Regenerated.
7556 * sysdeps/i386/fpu/s_cexp.S: Remove.
7557 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7558 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7559 * math/libm-test.inc (cexp_test): Add more tests.
7560 * sysdeps/i386/fpu/libm-test-ulps: Update.
7561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7563 2012-03-21 Allan McRae <allan@archlinux.org>
7565 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7567 2012-03-21 Joseph Myers <joseph@codesourcery.com>
7570 * math/w_exp2.c: Do not include <float.h>.
7571 (o_threshold, u_threshold): Remove.
7572 (__exp2): Calculate result before checking finiteness and calling
7574 * math/w_exp2f.c: Likewise.
7575 * math/w_exp2l.c: Likewise.
7576 * math/libm-test.inc (exp2_test): Require overflow exception for
7580 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7581 range of signed 64-bit integers before using fistpll. Remove
7582 checks for whether integers fit in mantissa bits.
7583 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7584 the range of signed 32-bit integers before using fistpl. Remove
7585 checks for whether integers fit in mantissa bits.
7586 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7587 (__ieee754_powl): Test for y outside the range of signed 64-bit
7588 integers before using fistpll. Reduce 64-bit values to 63-bit
7590 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7591 divide-by-zero is raised for zero to large negative powers.
7592 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7593 (__ieee754_powl): Test for y outside the range of signed 64-bit
7594 integers before using fistpll. Reduce 64-bit values to 63-bit
7596 * math/libm-test.inc (pow_test): Add more tests.
7598 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7600 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7601 <stdio-common/_itoa.h>.
7602 * debug/segfault.c: Likewise.
7603 * elf/dl-cache.c: Likewise.
7604 * elf/dl-minimal.c: Likewise.
7605 * elf/dl-misc.c: Likewise.
7606 * elf/dl-sysdep.c: Likewise.
7607 * elf/dl-version.c: Likewise.
7608 * elf/rtld.c: Likewise.
7609 * hurd/hurdsock.c: Likewise.
7610 * hurd/lookup-retry.c: Likewise.
7611 * malloc/malloc.c: Likewise.
7612 * malloc/mtrace.c: Likewise.
7613 * nscd/nscd_getgr_r.c: Likewise.
7614 * nscd/nscd_getpw_r.c: Likewise.
7615 * nscd/nscd_getserv_r.c: Likewise.
7616 * posix/getopt_init.c: Likewise.
7617 * posix/wordexp.c: Likewise.
7618 * stdio-common/_itoa.c: Likewise.
7619 * stdio-common/printf_fphex.c: Likewise.
7620 * stdio-common/vfprintf.c: Likewise.
7621 * string/_strerror.c: Likewise.
7622 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7623 * sysdeps/i386/i686/hp-timing.h: Likewise.
7624 * sysdeps/mach/_strerror.c: Likewise.
7625 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7626 * sysdeps/mach/hurd/sethostid.c: Likewise.
7627 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7628 * sysdeps/mach/xpg-strerror.c: Likewise.
7629 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7630 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7631 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7632 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7633 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7634 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7635 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7636 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7637 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7638 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7639 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7640 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7641 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7642 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7643 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7644 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7645 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7646 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7647 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7648 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7649 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7651 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7653 * stdio-common/_itoa.h: Moved to ...
7654 * sysdeps/generic/_itoa.h: Here.
7656 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7658 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7659 instead of "_itoa.h" and "_itowa.h".
7660 * stdio-common/vfprintf.: Likewise.
7662 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7664 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7666 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7667 (__signbit): Likwise.
7671 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7673 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7676 2012-03-20 Joseph Myers <joseph@codesourcery.com>
7678 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7679 OVERFLOW_EXCEPTION_OK.
7680 * math/libm-test.inc ("Philosophy"): Update comment about
7682 (OVERFLOW_EXCEPTION): Define.
7683 (OVERFLOW_EXCEPTION_OK): Likewise.
7684 (INVALID_EXCEPTION_OK): Renumber.
7685 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7686 (IGNORE_ZERO_INF_SIGN): Likewise.
7687 (test_exceptions): Handle FE_OVERFLOW.
7688 (exp10_test): Expect overflow exceptions.
7689 (exp2_test): Likewise.
7690 (expm1_test): Likewise.
7691 (nextafter_test): Likewise.
7692 (pow_test): Likewise.
7693 (scalbn_test): Likewise.
7694 (scalbln_test): Likewise.
7696 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7698 * sysdeps/x86_64/bits/atomic.h
7699 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7701 (atomic_exchange_acq): Likewise.
7702 (__arch_exchange_and_add_body): Likewise.
7703 (__arch_add_body): Likewise.
7704 (atomic_add_negative): Likewise.
7705 (atomic_add_zero): Likewise.
7707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7709 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
7710 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7712 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7714 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7715 Check __x86_64__ instead of __WORDSIZE.
7717 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7719 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7721 2012-03-19 David S. Miller <davem@davemloft.net>
7723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7725 * sysdeps/sparc/fpu/fenv_private.h: New file.
7726 * sysdeps/sparc/fpu/math_private.h: Use it.
7727 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7729 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7730 (libc_feholdexcept_setroundl): Remove.
7731 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7733 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7734 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7736 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7738 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7739 int64_t instead of long int.
7740 (INSERT_WORDS64): Likwise.
7742 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7744 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7745 _Unwind_GetCFA return to _Unwind_Ptr first.
7747 2012-03-19 Joseph Myers <joseph@codesourcery.com>
7750 * math/s_clog.c: Include <float.h>.
7751 (__clog): Scale large or subnormal inputs.
7752 * math/s_clogf.c: Likewise.
7753 * math/s_clogl.c: Likewise.
7754 * math/s_clog10.c: Include <float.h>.
7755 (M_LOG10_2): Define.
7756 (__clog10): Scale large or subnormal inputs.
7757 * math/s_clog10f.c: Likewise.
7758 * math/s_clog10l.c: Likewise.
7759 * math/libm-test.inc (clog_test): Add more tests.
7760 (clog10_test): Likewise.
7761 * sysdeps/i386/fpu/libm-test-ulps: Update.
7762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7765 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7767 * math/libm-test.inc (atan2_test): Add another test.
7769 * Makerules (common-objdir-compile): Remove.
7770 * sysdeps/unix/Makefile (config-generated): Do not add
7771 $(unix-generated) to variable.
7772 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7773 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7775 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7777 [generic bits/local_lim.h] (before-compile): Do not append to
7779 [generic bits/local_lim.h] (common-generated): Likewise.
7780 [generic sys/param.h] (before-compile): Do not append to variable.
7781 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7782 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7783 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7784 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7786 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7787 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7788 [generic sys/param.h] ($(addprefix
7789 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7790 [generic sys/param.h] (common-generated): Do not append to
7792 [generic sys/param.h] (sysdep_headers): Likewise.
7793 [generic bits/errno.h] (before-compile): Do not append to
7795 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7797 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7798 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7799 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7800 [generic bits/errno.h] (common-generated): Do not append to
7802 [generic bits/ioctls.h] (before-compile): Do not append to
7804 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7806 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7807 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7808 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7810 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7811 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7812 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7813 [generic bits/ioctls.h] (common-generated): Do not append to
7815 [generic sys/syscall.h] (syscall.h): Remove variable.
7816 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7818 [generic sys/syscall.h] (before-compile): Do not append to
7820 [generic sys/syscall.h] (common-generated): Likewise.
7821 * sysdeps/unix/errnos-tmpl.c: Remove file.
7822 * sysdeps/unix/errnos.awk: Likewise.
7823 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7824 * sysdeps/unix/ioctls.awk: Likewise.
7825 * sysdeps/unix/mk-local_lim.c: Likewise.
7826 * sysdeps/unix/snarf-ioctls: Likewise.
7828 2012-03-19 Richard Henderson <rth@twiddle.net>
7830 * sysdeps/i386/fpu/fenv_private.h: New file.
7831 * sysdeps/i386/fpu/math_private.h: Use it.
7832 (math_opt_barrier, math_force_eval): Remove.
7833 (libc_feholdexcept_setround_53bit): Remove.
7834 (libc_feupdateenv_53bit): Remove.
7835 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7836 (math_opt_barrier, math_force_eval): Remove.
7837 (libc_feholdexcept): Remove.
7838 (libc_feholdexcept_setround): Remove.
7839 (libc_fetestexcept, libc_fesetenv): Remove.
7840 (libc_feupdateenv_test): Remove.
7841 (libc_feupdateenv, libc_feholdsetround): Remove.
7842 (libc_feresetround): Remove.
7844 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7845 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7847 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7848 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7849 (libc_feupdateenv_testl): New.
7850 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7851 (libc_feupdateenv_testf): New.
7852 (libc_feupdateenv): Use libc_feupdateenv_test.
7853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7854 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7856 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7857 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7858 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7859 (libc_feresetround_noex): New.
7860 (libc_feresetround_noexf): New.
7861 (libc_feresetround_noexl): New.
7862 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7863 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7864 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7865 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7868 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7870 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7871 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7872 SET_RESTORE_ROUND_NOEX.
7873 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7874 SET_RESTORE_ROUND_NOEXF.
7875 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7876 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7877 (libc_feholdsetroundf): New.
7878 (libc_feresetround, libc_feresetroundf): New.
7880 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7881 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7882 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7884 * sysdeps/generic/math_private.h: Include <fenv.h>.
7885 (default_libc_feholdexcept): New.
7886 (default_libc_feholdexcept_setround): New.
7887 (default_libc_fesetenv, default_libc_feupdateenv): New.
7888 (libc_feholdexcept): Only define if undefined.
7889 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7890 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7891 (libc_feholdexcept_setroundl): Likewise.
7892 (libc_feholdexcept_setround_53bit): Likewise.
7893 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7894 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7895 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7896 (libc_feupdateenv_53bit): Likewise.
7897 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7898 (libc_feholdexcept): Convert from macro to inline function.
7899 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7900 (libc_fesetenv, libc_feupdateenv): Likewise.
7902 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7903 not previously defined.
7904 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7905 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7906 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7907 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7908 * sysdeps/ieee754/flt-32/math_private.h: New file.
7909 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7910 math_private.h below SET_FLOAT_WORD.
7911 (__isnan, __isinf_ns, __finite): Remove.
7912 (__isnanf, __isinf_nsf, __finitef): Remove.
7914 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7918 2012-03-17 David S. Miller <davem@davemloft.net>
7921 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7924 2012-03-16 David S. Miller <davem@davemloft.net>
7926 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7930 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7932 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7933 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7934 sysdep_routines when subdir is sysvipc.
7935 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7938 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7940 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7942 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7945 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7947 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7948 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7949 (__lround): Renamed to ...
7950 (__llround): This. Replace long int with long long int.
7951 Define lround functions as aliases of llround functions.
7952 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7954 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7956 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7957 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7958 adresses to uintptr_t. Replace "long int" and "unsigned long
7959 int" with "greg_t" on va_arg.
7961 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7963 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7964 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7966 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7967 Move e_machine check before EI_CLASS check. Handle x32
7968 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7969 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7970 SKIP_EM_IA_64 and include
7971 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7973 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7974 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7975 (add_system_dir): New macro.
7977 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7978 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7980 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7991 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7993 * math/w_j0f.c (j0f): Likewise.
7995 * math/w_j0l.c (__j0l): Likewise.
7997 * math/w_j1.c (j1): Likewise.
7999 * math/w_j1f.c (j1f): Likewise.
8001 * math/w_j1l.c (__j1l): Likewise.
8003 * math/w_jn.c (jn): Likewise.
8005 * math/w_jnf.c (jnf): Likewise.
8007 * math/w_jnl.c (__jnl): Likewise.
8009 * math/libm-test.inc (j0_test): Add more tests.
8010 (j1_test): Likewise.
8011 (jn_test): Likewise. Add trailing semicolon to existing test.
8012 (y0_test): Likewise.
8013 (y1_test): Likewise.
8014 * sysdeps/i386/fpu/libm-test-ulps: Update.
8015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8019 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8020 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8021 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8022 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8023 (__tanl): Set errno for infinite argument.
8024 * sysdeps/i386/fpu/mptan.c: Remove.
8025 * sysdeps/i386/fpu/s_tan.S: Likewise.
8026 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8027 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8028 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8029 * math/libm-test.inc (tan_test): Add more tests and enable more
8030 tests for double and long double.
8031 * sysdeps/i386/fpu/libm-test-ulps: Update.
8032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8034 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8036 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8037 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8039 2012-03-16 Roland McGrath <roland@hack.frob.com>
8041 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8042 * configure.in: Use it for both main tree and add-ons.
8043 * configure: Regenerated.
8045 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8047 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8049 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8051 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8055 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8056 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8057 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8058 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8059 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8061 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8062 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8064 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8065 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8066 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8067 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8068 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8069 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8070 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8071 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8072 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8073 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8074 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8075 * math/libm-test.inc (cos_test): Add more tests and enable more
8076 tests for long double.
8077 (sin_test): Likewise.
8078 (sincos_test): Likewise.
8079 * sysdeps/i386/fpu/libm-test-ulps: Update.
8080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8082 2012-03-16 David S. Miller <davem@davemloft.net>
8084 * sysdeps/sparc/fpu/math_private.h: New file.
8086 2012-03-15 David S. Miller <davem@davemloft.net>
8088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8102 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8103 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8105 * sysdeps/sparc/sparc-ifunc.h: New file.
8106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8132 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8133 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8134 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8135 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8144 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8145 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8151 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8153 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8157 2012-03-15 Andreas Jaeger <aj@suse.de>
8160 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8161 ieee754/flt-32 implementation for sin, cos and sincos.
8162 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8163 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8164 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8165 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8166 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8167 ieee754/flt-32 implementation for tan.
8169 * math/libm-test.inc (cos_test): Enable some large input tests for
8171 (sin_test): Likewise.
8172 (sincos_test): Likewise.
8173 (tan_test): Add tests for large input.
8175 * sysdeps/i386/fpu/libm-test-ulps: Update.
8177 2012-03-15 Andreas Jaeger <aj@suse.de>
8180 * math/libm-test.inc (cos_test): Add more test cases.
8181 (sin_test): Likewise.
8182 (sincos_test): Likewise.
8184 2012-03-15 Andreas Jaeger <aj@suse.de>
8187 * math/libm-test.inc (cos_test): Add a test case for large input
8189 (sin_test): Likewise.
8190 (sincos_test): Likewise.
8192 2012-03-15 Andreas Jaeger <aj@suse.de>,
8193 Joseph Myers <joseph@codesourcery.com>
8196 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8197 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8198 * sysdeps/i386/fpu/branred.c: Likewise.
8199 * sysdeps/i386/fpu/dosincos.c: Likewise.
8200 * sysdeps/i386/fpu/mpa.c: Likewise.
8201 * sysdeps/i386/fpu/s_cos.S: Likewise.
8202 * sysdeps/i386/fpu/s_sin.S: Likewise.
8203 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8204 * sysdeps/i386/fpu/sincos32.c: Likewise.
8206 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8208 (libc_feupdateenv_53bit): Define.
8209 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8211 (libc_feupdateenv_53bit): Define.
8213 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
8214 53 bit (without extend i386 double precision).
8216 * math/libm-test.inc (sincos_test): Add tests for large input.
8220 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8222 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8226 2012-03-15 David S. Miller <davem@davemloft.net>
8228 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
8229 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
8230 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
8231 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
8232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
8233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
8234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
8235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
8236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
8237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
8238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
8239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
8240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
8241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
8242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
8243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
8245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
8246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
8248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
8249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
8251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
8252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
8254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
8255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
8256 fmin/fmax sysdep routines.
8257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8259 2012-03-14 David S. Miller <davem@davemloft.net>
8261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
8262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
8263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
8264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
8265 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
8266 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
8267 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
8268 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
8269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
8270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
8271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
8272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
8273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
8274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
8275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
8276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
8277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
8278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
8279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
8280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
8281 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
8282 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
8283 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
8284 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8285 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8286 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
8289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
8294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
8297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
8300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
8303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
8306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
8321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
8324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
8327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
8330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8333 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8338 * sysdeps/sparc/configure.in: New file.
8339 * sysdeps/sparc/configure: Generate.
8340 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8341 * configure: Regenerate.
8342 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8343 * config.make.in (have-as-vis3): New.
8344 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8345 available use -Av9d instead of -Av9a.
8346 * sysdeps/sparc/sparc64/Makefile: Likewise.
8347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
8348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8356 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8357 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8358 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8359 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8360 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8362 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8363 fzeros/fnegs to load 0x80000000 into a float register instead of
8365 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8367 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8371 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8372 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8373 ($(inst_includedir)/bits/syscall.h): Remove rule.
8374 ($(objpfx)bits/syscall.d): Include instead of
8375 $(objpfx)syscall-list.d.
8376 (generated): Change syscall-list.h and syscall-list.d to
8377 bits/syscall.h and bits/syscall.d.
8379 2012-03-14 Roland McGrath <roland@hack.frob.com>
8382 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8384 2012-03-14 Joseph Myers <joseph@codesourcery.com>
8387 * math/s_csqrt.c: Include <float.h>.
8388 (__csqrt): Scale large or subnormal inputs.
8389 * math/s_csqrtf.c: Likewise.
8390 * math/s_csqrtl.c: Likewise.
8391 * math/libm-test.inc (csqrt_test): Add more tests.
8392 * sysdeps/i386/fpu/libm-test-ulps: Update.
8393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8396 * math/libm-test.inc (hypot_test): Add more tests.
8398 2012-03-13 David S. Miller <davem@davemloft.net>
8401 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8402 double-precision for the calculation instead of scaling.
8404 2012-03-13 Joseph Myers <joseph@codesourcery.com>
8406 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8407 manipulate bits before adding and subtracting TWO52[sx].
8408 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8409 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8411 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8413 2012-03-13 David S. Miller <davem@davemloft.net>
8415 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8416 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8418 rtld-global-offsets.h
8419 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8421 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8424 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8426 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8427 'err' in the ifdef scope in which it is actually used.
8429 * nss/nss_db/db-init.c: Include string.h
8431 2012-03-12 David S. Miller <davem@davemloft.net>
8433 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8434 masking out of the most significant byte of random value used.
8435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8436 Fix coding style in previous change.
8438 * sysdeps/unix/sysv/linux/kernel-features.h
8439 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8440 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8442 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8445 2012-03-11 David S. Miller <davem@davemloft.net>
8447 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8448 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8449 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8450 for 'resultvar' otherwise things get truncated on 64-bit.
8452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8453 Fix masking out of the most significant byte of random value used.
8455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8457 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8461 2012-03-09 David S. Miller <davem@davemloft.net>
8463 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8464 variables with appropriate CPP guards.
8465 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8466 frame pointer, not the stack pointer. Correct layout comments. Fix test
8467 on resulting framesize and the management of the outregs buffer for pltexit.
8468 Preserve floating point return values across _dl_call_pltexit call.
8469 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8470 framesize and the management of the outregs buffer for pltexit.
8471 Preserve floating point return values across _dl_call_pltexit
8473 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8474 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8475 (print_exit): Fix format string for return register value.
8477 2012-03-10 Joseph Myers <joseph@codesourcery.com>
8479 * sunrpc/Makefile (others): Add rpcgen.
8480 ($(objpfx)rpcgen): Remove special build rule and dependency on
8482 * sunrpc/rpcgen.c: New file.
8484 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8487 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8488 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8489 * sysdeps/i386/crti.S: Likewise.
8490 * sysdeps/i386/crtn.S: Likewise.
8491 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8492 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8493 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8494 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8495 * sysdeps/sh/crti.S: Likewise.
8496 * sysdeps/sh/crtn.S: Likewise.
8497 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8500 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8502 * locale/programs/locfile-kw.gperf: Likewise.
8503 * locale/programs/charmap-kw.h: Regenerated.
8504 * locale/programs/locfile-kw.h: Likewise.
8507 * intl/plural.y: Replace FSF snail mail address with URL.
8508 * intl/plural.c: Regenerated.
8510 2012-03-09 Richard Henderson <rth@twiddle.net>
8512 * include/math_private.h: Remove file.
8513 * math/math_private.h: Move file ...
8514 * sysdeps/generic/math_private.h: ... here.
8516 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8517 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8518 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8520 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
8521 and <math_private.h>.
8522 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8523 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8524 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8525 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8526 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8559 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8560 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8561 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8563 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8564 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8565 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8566 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8567 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8568 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8571 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8572 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8573 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8574 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8575 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8576 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8577 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8583 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8584 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8585 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8586 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8587 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8588 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8590 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8598 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8599 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8603 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8610 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8611 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8612 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8613 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8614 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8615 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8616 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8617 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8618 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8619 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8620 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8621 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8622 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8623 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8624 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8625 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8626 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8627 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8628 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8629 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8630 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8632 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8633 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8634 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8635 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8636 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8637 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8638 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8639 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8642 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8643 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8644 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8646 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8647 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8649 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8650 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8651 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8652 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8653 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8654 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8655 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8656 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8657 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8658 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8659 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8660 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8661 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8662 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8663 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8664 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8665 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8666 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8667 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8668 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8669 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8670 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8671 * sysdeps/ieee754/k_standard.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8785 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8786 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8787 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8790 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8791 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8792 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8794 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8799 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8801 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8802 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8803 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8804 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8805 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8807 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8808 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8809 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8810 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8811 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8812 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8813 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8814 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8815 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8816 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8817 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8818 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8819 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8820 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8821 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8822 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8823 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8824 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8825 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8826 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8827 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8828 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8829 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8830 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8831 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8832 * sysdeps/ieee754/s_lib_version.c: Likewise.
8833 * sysdeps/ieee754/s_matherr.c: Likewise.
8834 * sysdeps/ieee754/s_signgam.c: Likewise.
8835 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8836 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8837 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8838 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8839 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8840 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8841 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8842 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8843 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8844 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8845 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8846 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8847 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8848 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8849 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8850 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8851 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8852 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8853 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8855 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8857 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8859 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8860 * sunrpc/rpc_main.c: Likewise.
8861 * sunrpc/rpc_svcout.c: Likewise.
8863 2012-03-09 David S. Miller <davem@davemloft.net>
8865 * include/math_private.h: New file.
8867 2012-03-09 Joseph Myers <joseph@codesourcery.com>
8869 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8870 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8871 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8872 from <bits/socket_type.h>.
8873 (enum __socket_type): Don't define here.
8874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8879 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8882 * Makerules ($(inst_includedir)/%.h): New rule.
8883 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8884 (install-others): Remove variable setting.
8885 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8887 2012-03-08 Richard Henderson <rth@twiddle.net>
8889 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8890 from macro to inline function; merge with the
8891 !__LIBC_INTERNAL_MATH_INLINES version.
8892 (__ieee754_sqrtf): Likewise.
8894 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8896 (__rintf, __floor, __floorf): Likewise.
8898 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8899 macro to inline function.
8900 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8902 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8903 not <math/math_private.h>.
8905 2012-03-08 David S. Miller <davem@davemloft.net>
8907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8909 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8911 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8913 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8915 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8916 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8918 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8920 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8921 be defined individually, they must be defined as a block. Define
8922 S for printing a string instead of hidint the different by using a
8923 macro for adding the 'l'.
8924 * stdio-common/tst-fphex-wide.c: Adjust.
8926 2012-03-07 Marek Polacek <polacek@redhat.com>
8928 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8930 2012-03-08 Marek Polacek <polacek@redhat.com>
8933 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8934 * stdio-common/tst-fphex.c: Define a few macros to make the
8935 test reusable. Use them.
8936 * stdio-common/tst-fphex-wide.c: New file.
8938 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8941 * manual/macros.texi (gnusystems): New macro.
8942 (nongnusystems): Likewise.
8943 (gnulinuxhurdsystems): Likewise.
8944 (gnuhurdsystems): Likewise..
8945 (gnulinuxsystems): Likewise.
8946 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8947 variants of the GNU system, not "GNU system".
8948 * manual/conf.texi: Likewise.
8949 * manual/errno.texi: Likewise. Update example of errno macro
8951 * manual/filesys.texi: Likewise.
8952 (getumask): Document as specific to GNU/Hurd.
8953 * manual/install.texi: Likewise. Reword some references to
8955 * manual/intro.texi: Likewise.
8956 * manual/io.texi: Likewise.
8957 (File Name Portability): Detail which constraints are inapplicable
8958 to all GNU systems and which are only inapplicable to GNU/Hurd.
8959 * manual/job.texi: Likewise.
8960 * manual/llio.texi: Likewise.
8961 (O_NOCTTY): Document as present on GNU/Linux.
8962 * manual/maint.texi: Likewise.
8963 * manual/memory.texi: Likewise.
8964 * manual/pattern.texi: Likewise.
8965 * manual/pipe.texi: Likewise.
8966 * manual/process.texi: Likewise.
8967 * manual/resource.texi: Likewise.
8968 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8970 * manual/setjmp.texi: Likewise.
8971 * manual/signal.texi: Likewise.
8972 * manual/startup.texi: Likewise.
8973 * manual/stdio.texi: Likewise.
8974 * manual/terminal.texi: Likewise.
8975 (ONLCR): Document as POSIX.
8976 (OXTABS): Document availability on GNU/Linux as XTABS.
8977 (ONOEOT): Document availability separately from other bits.
8978 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8979 * manual/time.texi: Likewise.
8980 * manual/users.texi: Likewise.
8981 * INSTALL: Regenerated.
8982 * sysdeps/gnu/errlist.c: Regenerated.
8984 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8985 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8986 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8988 * configure: Regenerated.
8990 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8992 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8993 default includes instead of AC_HEADER_CHECK.
8994 * sysdeps/i386/configure: Regenerated.
8997 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8998 * math/s_cacoshf.c (__cacoshf): Likewise.
8999 * math/s_cacoshl.c (__cacoshl): Likewise.
9000 * math/s_casinh.c (__casinh): Set signs of result from argument.
9001 * math/s_casinhf.c (__casinhf): Likewise.
9002 * math/s_casinhl.c (__casinhl): Likewise.
9003 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9004 (casinh_test): Add more tests.
9005 * sysdeps/i386/fpu/libm-test-ulps: Update.
9006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9008 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9010 * po/zh_TW.po: Update from translation team.
9012 * login/Makefile (distribute): Remove variable.
9013 * catgets/Makefile: Likewise.
9014 * mach/Makefile: Likewise.
9015 * malloc/Makefile: Likewise.
9016 * misc/Makefile: Likewise.
9017 * iconv/Makefile: Likewise.
9018 * nscd/Makefile: Likewise.
9019 * hurd/Makefile: Likewise.
9020 * manual/Makefile: Likewise.
9021 * locale/Makefile: Likewise.
9022 * intl/Makefile: Likewise.
9023 * conform/Makefile: Likewise.
9024 * nss/Makefile: Likewise.
9025 * time/Makefile: Likewise.
9026 * soft-fp/Makefile: Likewise.
9027 * dirent/Makefile: Likewise.
9028 * gmon/Makefile: Likewise.
9029 * po/Makefile: Likewise.
9030 * rt/Makefile: Likewise.
9031 * socket/Makefile: Likewise.
9032 * math/Makefile: Likewise.
9033 * signal/Makefile: Likewise.
9034 * debug/Makefile: Likewise.
9035 * elf/Makefile: Likewise.
9036 * timezone/Makefile: Likewise.
9037 * stdlib/Makefile: Likewise.
9038 * iconvdata/Makefile: Likewise.
9039 * sunrpc/Makefile: Likewise.
9040 * io/Makefile: Likewise.
9041 * argp/Makefile: Likewise.
9042 * inet/Makefile: Likewise.
9043 * hesiod/Makefile: Likewise.
9044 * grp/Makefile: Likewise.
9045 * csu/Makefile: Likewise.
9046 * wctype/Makefile: Likewise.
9047 * crypt/Makefile: Likewise.
9048 * libio/Makefile: Likewise.
9049 * string/Makefile: Likewise.
9050 * nis/Makefile: Likewise.
9051 * resolv/Makefile: Likewise.
9052 * stdio-common/Makefile: Likewise.
9053 * wcsmbs/Makefile: Likewise.
9054 * dlfcn/Makefile: Likewise.
9055 * posix/Makefile: Likewise.
9058 * timezone/Makefile: Don't install timezone files, just the programs
9061 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9063 * nss/databases.def: Add missing gshadow entry.
9065 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9067 2012-03-06 Marek Polacek <polacek@redhat.com>
9070 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9071 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9072 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9073 * stdio-common/tst-long-dbl-fphex.c: New file.
9075 2012-03-06 David S. Miller <davem@davemloft.net>
9077 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9078 (set_obp_int): New function.
9079 (get_obp_int): New function.
9080 (__get_clockfreq_via_dev_openprom): Likewise.
9081 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9082 Avoid unused variable warnings on 'val' and use builtin_expect.
9083 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9085 (INLINE_CLONE_SYSCALL): Likewise.
9087 2012-03-05 David S. Miller <davem@davemloft.net>
9089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9091 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9097 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9099 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9102 Replace gettimeofday with __vdso_gettimeofday.
9104 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9105 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9106 __vdso_clock_gettime and __vdso_getcpu.
9108 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9109 time with __vdso_time.
9111 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9113 * manual/lang.texi (size_t): Note types to which size_t may be
9114 equivalent with the GNU C Library, but do not describe when
9115 differences between them are significant.
9117 2012-03-05 Andreas Jaeger <aj@suse.de>
9119 * sysdeps/i386/fpu/libm-test-ulps: Update.
9121 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9124 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9125 (__ieee754_pow): Save and restore rounding mode and use
9126 round-to-nearest for main computations.
9127 * math/libm-test.inc (pow_test_tonearest): New function.
9128 (pow_test_towardzero): Likewise.
9129 (pow_test_downward): Likewise.
9130 (pow_test_upward): Likewise.
9131 (main): Call the new functions.
9132 * sysdeps/i386/fpu/libm-test-ulps: Update.
9133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9136 * math/libm-test.inc (cosh_test_tonearest): New function.
9137 (cosh_test_towardzero): Likewise.
9138 (cosh_test_downward): Likewise.
9139 (cosh_test_upward): Likewise.
9140 (sinh_test_tonearest): Likewise.
9141 (sinh_test_towardzero): Likewise.
9142 (sinh_test_downward): Likewise.
9143 (sinh_test_upward): Likewise.
9144 (main): Call the new functions.
9145 * sysdeps/i386/fpu/libm-test-ulps: Update.
9146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9148 2012-03-05 Tom de Vries <tom@codesourcery.com>
9150 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9151 default stack guard is set in last bytes.
9152 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9154 2012-03-05 Kees Cook <keescook@chromium.org>
9156 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9159 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9160 possibly allocate from heap instead of stack.
9161 * stdio-common/bug-vfprintf-nargs.c: New file.
9162 * stdio-common/Makefile (tests): Add nargs overflow test.
9164 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9168 2012-03-03 Marek Polacek <polacek@redhat.com>
9170 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9171 * math/math_private.h: Likewise.
9172 * stdlib/tst-strtod.c: Likewise.
9173 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9174 * sysdeps/x86_64/bits/atomic.h: Likewise.
9176 2012-03-02 David S. Miller <davem@davemloft.net>
9178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9182 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9183 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9184 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9185 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9187 2012-03-02 Roland McGrath <roland@hack.frob.com>
9190 * manual/examples/README: New file, says the example source files
9191 can be used under GPL>=2.
9192 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9193 line containing just "*/".
9194 * manual/examples/add.c: Add copyright header (GPL>=2).
9195 * manual/examples/argp-ex1.c: Likewise.
9196 * manual/examples/argp-ex2.c: Likewise.
9197 * manual/examples/argp-ex3.c: Likewise.
9198 * manual/examples/argp-ex4.c: Likewise.
9199 * manual/examples/atexit.c: Likewise.
9200 * manual/examples/db.c: Likewise.
9201 * manual/examples/dir.c: Likewise.
9202 * manual/examples/dir2.c: Likewise.
9203 * manual/examples/execinfo.c: Likewise.
9204 * manual/examples/filecli.c: Likewise.
9205 * manual/examples/filesrv.c: Likewise.
9206 * manual/examples/fmtmsgexpl.c: Likewise.
9207 * manual/examples/genpass.c: Likewise.
9208 * manual/examples/inetcli.c: Likewise.
9209 * manual/examples/inetsrv.c: Likewise.
9210 * manual/examples/isockad.c: Likewise.
9211 * manual/examples/longopt.c: Likewise.
9212 * manual/examples/memopen.c: Likewise.
9213 * manual/examples/memstrm.c: Likewise.
9214 * manual/examples/mkfsock.c: Likewise.
9215 * manual/examples/mkisock.c: Likewise.
9216 * manual/examples/mygetpass.c: Likewise.
9217 * manual/examples/pipe.c: Likewise.
9218 * manual/examples/popen.c: Likewise.
9219 * manual/examples/rprintf.c: Likewise.
9220 * manual/examples/search.c: Likewise.
9221 * manual/examples/select.c: Likewise.
9222 * manual/examples/setjmp.c: Likewise.
9223 * manual/examples/sigh1.c: Likewise.
9224 * manual/examples/sigusr.c: Likewise.
9225 * manual/examples/stpcpy.c: Likewise.
9226 * manual/examples/strdupa.c: Likewise.
9227 * manual/examples/strftim.c: Likewise.
9228 * manual/examples/strncat.c: Likewise.
9229 * manual/examples/subopt.c: Likewise.
9230 * manual/examples/swapcontext.c: Likewise.
9231 * manual/examples/termios.c: Likewise.
9232 * manual/examples/testopt.c: Likewise.
9233 * manual/examples/testpass.c: Likewise.
9234 * manual/examples/timeval_subtract.c: Likewise.
9237 * manual/time.texi (Elapsed Time): Move timeval_subtract example
9239 * manual/timeval_subtract.c.texi: ... here, new file.
9241 2012-03-02 David S. Miller <davem@davemloft.net>
9243 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
9245 2012-03-02 Joseph Myers <joseph@codesourcery.com>
9248 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
9249 (__sin): Save and restore rounding mode and use round-to-nearest
9250 for all computations.
9251 (__cos): Save and restore rounding mode and use round-to-nearest
9252 for all computations.
9253 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
9255 (tan): Save and restore rounding mode and use round-to-nearest for
9257 * math/libm-test.inc (cos_test_tonearest): New function.
9258 (cos_test_towardzero): Likewise.
9259 (cos_test_downward): Likewise.
9260 (cos_test_upward): Likewise.
9261 (sin_test_tonearest): Likewise.
9262 (sin_test_towardzero): Likewise.
9263 (sin_test_downward): Likewise.
9264 (sin_test_upward): Likewise.
9265 (tan_test_tonearest): Likewise.
9266 (tan_test_towardzero): Likewise.
9267 (tan_test_downward): Likewise.
9268 (tan_test_upward): Likewise.
9269 (main): Call the new functions.
9270 * sysdeps/i386/fpu/libm-test-ulps: Update.
9271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9274 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
9275 small n, then large n, before computing and testing k+n.
9276 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9277 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9281 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
9282 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9283 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9284 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9287 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9288 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9289 * math/libm-test.inc (scalbn_test): Add more tests.
9290 (scalbln_test): Likewise.
9292 * manual/filesys.texi (mode_t): Describe constraints on size and
9293 signedness, not exact equivalence to a particular type.
9295 (ino64_t): Likewise.
9297 (nlink_t): Likewise.
9298 (blkcnt_t): Likewise.
9299 (blkcnt64_t): Likewise.
9300 * manual/llio.texi (off_t): Likewise.
9303 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9304 (__ieee754_exp): Save and restore rounding mode and use
9305 round-to-nearest for all computations.
9306 * math/libm-test.inc (exp_test_tonearest): New function.
9307 (exp_test_towardzero): Likewise.
9308 (exp_test_downward): Likewise.
9309 (exp_test_upward): Likewise.
9310 (main): Call the new functions.
9311 * sysdeps/i386/fpu/libm-test-ulps: Update.
9312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9314 2012-03-01 Chris Demetriou <cgd@google.com>
9316 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9317 have predictable order.
9319 2012-03-01 David S. Miller <davem@davemloft.net>
9321 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9323 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9324 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9325 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9326 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9328 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9329 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9330 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9332 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9333 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9334 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9335 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9336 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9340 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9341 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9342 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9344 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9345 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9346 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9347 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9348 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9349 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9350 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9351 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9352 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9353 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9354 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9356 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9357 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9358 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9360 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9361 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9362 * sysdeps/sparc/elf/configure: Regenerated.
9364 2012-03-01 Joseph Myers <joseph@codesourcery.com>
9366 * configure.in (AS, LD): Require binutils 2.20 or later.
9367 * configure: Regenerated.
9368 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9369 as required minimum version.
9370 * INSTALL: Regenerated.
9374 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9375 before squaring exponent.
9376 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9377 bottom long double and 27 bits of top long double before squaring
9379 * math/libm-test.inc (erfc_test): Add more tests.
9380 * sysdeps/i386/fpu/libm-test-ulps: Update.
9381 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9384 2012-03-01 Kai Tietz <ktietz@redhat.com>
9386 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9387 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9388 containing bit-fields.
9389 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9390 * soft-fp/single.h (_FP_UNION_S): Likewise.
9391 * soft-fp/double.h (_FP_UNION_D): Likewise.
9393 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9396 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9397 not include ../strcmp.S.
9398 [USE_AS_STRNCASECMP_L]: Likewise.
9399 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9400 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9401 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9402 (__strncasecmp_l_ia32): Define as alias to
9403 __strncasecmp_l_nonascii.
9406 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9407 * sysdeps/i386/fpu/libm-test-ulps: Update.
9408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9410 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9413 2012-02-29 Jeff Law <law@redhat.com>
9415 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9418 2012-02-29 Marek Polacek <polacek@redhat.com>
9421 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9422 * elf/Makefile: Add rules to run tst-unused-dep.out.
9424 2012-02-28 David S. Miller <davem@davemloft.net>
9426 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9427 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9428 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9429 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9430 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9431 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9433 2012-02-29 Joseph Myers <joseph@codesourcery.com>
9435 * math/libm-test.inc (llround_test): Move one test from
9436 lround_test. Use TEST_f_L in moved test.
9437 (lround_test): Move misplaced test to llround_test. Add testcase
9440 2012-02-28 Ulrich Drepper <drepper@gmail.com>
9442 * sysdeps/x86_64/fpu/e_expf.S: New file.
9443 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9445 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9448 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9449 of remain_len that may cause incomplete multi-byte character and
9451 * posix/bug-regex33.c: New file.
9452 * posix/Makefile (tests): Add bug-regex33.
9454 2012-02-28 Joseph Myers <joseph@codesourcery.com>
9456 * manual/macros.texi: New file.
9457 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9458 * manual/libc.texinfo: Include macros.texi.
9459 * manual/creatute.texi: Likewise.
9460 * manual/install.texi: Likewise.
9461 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9462 @glibcadj{} in references to the GNU C Library.
9463 * manual/charset.texi: Likewise.
9464 * manual/conf.texi: Likewise.
9465 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9466 when not using those macros.
9467 * manual/creature.texi: Likewise.
9468 * manual/crypt.texi: Likewise.
9469 * manual/errno.texi: Likewise.
9470 * manual/filesys.texi: Likewise.
9471 * manual/header.texi: Likewise.
9472 * manual/install.texi: Likewise.
9473 * manual/intro.texi: Likewise.
9474 * manual/io.texi: Likewise.
9475 * manual/job.texi: Likewise.
9476 * manual/lang.texi: Likewise.
9477 * manual/libc.texiinfo: Likewise.
9478 * manual/llio.texi: Likewise.
9479 * manual/locale.texi: Likewise.
9480 * manual/maint.texi: Likewise.
9481 * manual/math.texi: Likewise.
9482 * manual/memory.texi: Likewise.
9483 * manual/message.texi: Likewise.
9484 * manual/nss.texi: Likewise.
9485 * manual/pattern.texi: Likewise.
9486 * manual/process.texi: Likewise.
9487 * manual/resource.texi: Likewise.
9488 * manual/search.texi: Likewise.
9489 * manual/setjmp.texi: Likewise.
9490 * manual/signal.texi: Likewise.
9491 * manual/socket.texi: Likewise.
9492 * manual/startup.texi: Likewise.
9493 * manual/stdio.texi: Likewise.
9494 * manual/string.texi: Likewise.
9495 * manual/sysinfo.texi: Likewise.
9496 * manual/syslog.texi: Likewise.
9497 * manual/terminal.texi: Likewise.
9498 * manual/time.texi: Likewise.
9499 * manual/users.texi: Likewise.
9500 * INSTALL: Regenerated.
9501 * NOTES: Regenerated.
9502 * sysdeps/gnu/errlist.c: Regenerated.
9504 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9506 * include/dirent.h: Include <dirstream.h> before
9509 2012-02-28 David S. Miller <davem@davemloft.net>
9511 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9512 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9513 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9514 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9516 2012-02-27 David S. Miller <davem@davemloft.net>
9518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9520 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9521 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9524 frame pointer instead of stack pointer relative arg slot.
9525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9526 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9527 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9529 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9532 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9534 2012-02-27 David S. Miller <davem@davemloft.net>
9536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9540 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9541 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9542 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9543 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9545 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9547 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9548 later. Allow versions 5-9.
9549 * configure: Regenerated.
9550 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9551 required minimum version and 4.6 as recommended version. Do not
9552 mention bugs in GCC 2.7 and 2.8.
9553 * INSTALL: Regenerated.
9555 2012-02-27 David S. Miller <davem@davemloft.net>
9557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9561 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9562 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9563 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9564 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9566 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9567 manipulate bits before adding and subtracting TWO112[sx].
9568 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9570 2012-02-27 Roland McGrath <roland@hack.frob.com>
9573 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9574 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9575 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9576 being in POSIX, because they are in 1003.1-2008.
9578 * rt/tst-aio.c: Include <fcntl.h>.
9579 * rt/tst-aio7.c: Likewise.
9580 * rt/tst-aio64.c: Likewise.
9582 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9584 2012-02-27 Joseph Myers <joseph@codesourcery.com>
9586 * manual/install.texi (--with-headers): Describe headers as
9587 interface headers, not private headers.
9588 (Specific advice for GNU/Linux systems): Describe use of headers
9589 from "make headers_install", not private headers from older
9591 * INSTALL: Regenerated.
9592 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9594 * sysdeps/unix/sysv/linux/configure: Regenerated.
9596 * manual/llio.texi (fclean): Remove documentation.
9598 * manual/Makefile (libc-texi-generated): New variable. Include
9600 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9601 $(libc-texi-generated), not duplicated list of files.
9602 (version.texi, stamp-version): New rules.
9603 (realclean): Remove $(libc-texi-generated), not individual files
9604 from that list. Do not remove dir-add.texinfo.
9605 * manual/libc.texinfo: Comment out uses of edition numbers and
9606 references to printed manual. Remove last-updated dates.
9607 (EDITION): Comment out.
9609 (VERSION, UPDATED): Remove.
9610 (version.texi): Include.
9612 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9614 * sysdeps/posix/spawni.c: Include <signal.h>.
9615 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9616 * sysdeps/pthread/aio_fsync.c: Likewise.
9618 2012-02-26 Ulrich Drepper <drepper@gmail.com>
9620 * conform/Makefile (tests): Run only when not cross-compiling and
9621 when fast-check is not defined.
9623 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9624 * conform/data/limits.h-data: Fixes for POSIX2008.
9625 * conform/run-conformtest.sh: Run all tests.
9626 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9628 * include/bits/dlfcn.h: Likewise.
9629 * include/langinfo.h: Likewise.
9630 * include/monetary.h: Likewise.
9631 * include/sys/poll.h: Likewise.
9633 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9635 * posix/spawn.h: Define __need_sigset_t.
9636 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9637 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9638 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9639 to get sigevent_t only.
9640 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9642 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9643 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9644 process_vm_writev only for __USE_GNU.
9645 * termios/termios.h: Declare tcgetsid also for POSIX2008.
9647 * conform/Makefile: For now ignore errors from run-conformtest.
9648 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9649 POSIX to avoid namespace pollution. Don't prepend headers.
9650 * conform/data/aio.h-data: Fixes for POSIX testing.
9651 * conform/data/fcntl.h-data: Likewise.
9652 * conform/data/glob.h-data: Likewise.
9653 * conform/data/grp.h-data: Likewise.
9654 * conform/data/pthread.h-data: Likewise.
9655 * conform/data/pwd.h-data: Likewise.
9656 * conform/data/signal.h-data: Likewise.
9657 * conform/data/spawn.h-data: Likewise.
9658 * conform/data/stdio.h-data: Likewise.
9659 * conform/data/stdlib.h-data: Likewise.
9660 * conform/data/stropts.h-data: Likewise.
9661 * conform/data/sys/mman.h-data: Likewise.
9662 * conform/data/sys/stat.h-data: Likewise.
9663 * conform/data/sys/types.h-data: Likewise.
9664 * conform/data/sys/wait.h-data: Likewise.
9665 * conform/data/time.h-data: Likewise.
9666 * conform/data/unistd.h-data: Likewise.
9667 * conform/data/utime.h-data: Likewise.
9669 * io/sys/stat.h: fchmod was always in POSIX.
9670 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9671 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9672 * rt/aio.h: Define __need_timespec before including <time.h>.
9673 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9674 struct. Add forward declaration of pthread_attr_t and use it in
9676 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9677 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9678 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9679 always remove CLK_TCK definition.
9681 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9683 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9685 2012-02-25 Ulrich Drepper <drepper@gmail.com>
9687 * conform/run-conformtest.sh: New file.
9688 * conform/Makefile: Run run-conformtest for tests.
9689 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9692 * conform/data/uchar.h-data: New file.
9693 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9694 * conform/data/arpa/inet.h-data: Likewise.
9695 * conform/data/assert.h-data: Likewise.
9696 * conform/data/complex.h-data: Likewise.
9697 * conform/data/cpio.h-data: Likewise.
9698 * conform/data/ctype.h-data: Likewise.
9699 * conform/data/dirent.h-data: Likewise.
9700 * conform/data/dlfcn.h-data: Likewise.
9701 * conform/data/errno.h-data: Likewise.
9702 * conform/data/fcntl.h-data: Likewise.
9703 * conform/data/float.h-data: Likewise.
9704 * conform/data/fmtmsg.h-data: Likewise.
9705 * conform/data/fnmatch.h-data: Likewise.
9706 * conform/data/ftw.h-data: Likewise.
9707 * conform/data/glob.h-data: Likewise.
9708 * conform/data/grp.h-data: Likewise.
9709 * conform/data/iconv.h-data: Likewise.
9710 * conform/data/inttypes.h-data: Likewise.
9711 * conform/data/langinfo.h-data: Likewise.
9712 * conform/data/libgen.h-data: Likewise.
9713 * conform/data/limits.h-data: Likewise.
9714 * conform/data/locale.h-data: Likewise.
9715 * conform/data/math.h-data: Likewise.
9716 * conform/data/monetary.h-data: Likewise.
9717 * conform/data/mqueue.h-data: Likewise.
9718 * conform/data/ndbm.h-data: Likewise.
9719 * conform/data/net/if.h-data: Likewise.
9720 * conform/data/netdb.h-data: Likewise.
9721 * conform/data/netinet/in.h-data: Likewise.
9722 * conform/data/nl_types.h-data: Likewise.
9723 * conform/data/poll.h-data: Likewise.
9724 * conform/data/pthread.h-data: Likewise.
9725 * conform/data/pwd.h-data: Likewise.
9726 * conform/data/regex.h-data: Likewise.
9727 * conform/data/sched.h-data: Likewise.
9728 * conform/data/search.h-data: Likewise.
9729 * conform/data/semaphore.h-data: Likewise.
9730 * conform/data/setjmp.h-data: Likewise.
9731 * conform/data/signal.h-data: Likewise.
9732 * conform/data/spawn.h-data: Likewise.
9733 * conform/data/stdarg.h-data: Likewise.
9734 * conform/data/stdio.h-data: Likewise.
9735 * conform/data/stdlib.h-data: Likewise.
9736 * conform/data/string.h-data: Likewise.
9737 * conform/data/strings.h-data: Likewise.
9738 * conform/data/stropts.h-data: Likewise.
9739 * conform/data/sys/ipc.h-data: Likewise.
9740 * conform/data/sys/mman.h-data: Likewise.
9741 * conform/data/sys/msg.h-data: Likewise.
9742 * conform/data/sys/resource.h-data: Likewise.
9743 * conform/data/sys/select.h-data: Likewise.
9744 * conform/data/sys/sem.h-data: Likewise.
9745 * conform/data/sys/shm.h-data: Likewise.
9746 * conform/data/sys/socket.h-data: Likewise.
9747 * conform/data/sys/stat.h-data: Likewise.
9748 * conform/data/sys/statvfs.h-data: Likewise.
9749 * conform/data/sys/time.h-data: Likewise.
9750 * conform/data/sys/timeb.h-data: Likewise.
9751 * conform/data/sys/times.h-data: Likewise.
9752 * conform/data/sys/types.h-data: Likewise.
9753 * conform/data/sys/uio.h-data: Likewise.
9754 * conform/data/sys/un.h-data: Likewise.
9755 * conform/data/sys/utsname.h-data: Likewise.
9756 * conform/data/sys/wait.h-data: Likewise.
9757 * conform/data/syslog.h-data: Likewise.
9758 * conform/data/tar.h-data: Likewise.
9759 * conform/data/termios.h-data: Likewise.
9760 * conform/data/utime.h-data: Likewise.
9761 * conform/data/utmpx.h-data: Likewise.
9762 * conform/data/varargs.h-data: Likewise.
9763 * conform/data/wchar.h-data: Likewise.
9764 * conform/data/wctype.h-data: Likewise.
9765 * conform/data/wordexp.h-data: Likewise.
9767 * include/stropts.h: New file.
9768 * include/uchar.h: New file.
9769 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9770 * include/assert.h: Likewise.
9771 * include/ctype.h: Likewise.
9772 * include/dirent.h: Likewise.
9773 * include/dlfcn.h: Likewise.
9774 * include/fcntl.h: Likewise.
9775 * include/fnmatch.h: Likewise.
9776 * include/glob.h: Likewise.
9777 * include/grp.h: Likewise.
9778 * include/libio.h: Likewise.
9779 * include/locale.h: Likewise.
9780 * include/math.h: Likewise.
9781 * include/net/if.h: Likewise.
9782 * include/netdb.h: Likewise.
9783 * include/netinet/in.h: Likewise.
9784 * include/pthread.h: Likewise.
9785 * include/pwd.h: Likewise.
9786 * include/regex.h: Likewise.
9787 * include/sched.h: Likewise.
9788 * include/search.h: Likewise.
9789 * include/setjmp.h: Likewise.
9790 * include/signal.h: Likewise.
9791 * include/stdio.h: Likewise.
9792 * include/stdlib.h: Likewise.
9793 * include/string.h: Likewise.
9794 * include/sys/cdefs.h: Likewise.
9795 * include/sys/mman.h: Likewise.
9796 * include/sys/msg.h: Likewise.
9797 * include/sys/resource.h: Likewise.
9798 * include/sys/select.h: Likewise.
9799 * include/sys/socket.h: Likewise.
9800 * include/sys/stat.h: Likewise.
9801 * include/sys/statvfs.h: Likewise.
9802 * include/sys/time.h: Likewise.
9803 * include/sys/times.h: Likewise.
9804 * include/sys/uio.h: Likewise.
9805 * include/sys/utsname.h: Likewise.
9806 * include/sys/wait.h: Likewise.
9807 * include/termios.h: Likewise.
9808 * include/time.h: Likewise.
9809 * include/ulimit.h: Likewise.
9810 * include/unistd.h: Likewise.
9811 * include/utime.h: Likewise.
9812 * include/wchar.h: Likewise.
9813 * include/wctype.h: Likewise.
9814 * include/wordexp.h: Likewise.
9816 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9818 * time/time.h: TIME_UTC must be a macro.
9819 Make timespec_get available for ISO C11 only as well.
9821 2012-02-24 Ulrich Drepper <drepper@gmail.com>
9823 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9824 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9826 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9828 * configure.in: Use -o not -a in test for unsupported multi-arch.
9830 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9832 * manual/texinfo.tex: Update to version 2012-01-19.16.
9834 2012-02-24 Joseph Myers <joseph@codesourcery.com>
9836 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9838 2012-02-24 Roland McGrath <roland@hack.frob.com>
9841 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9842 * manual/fdl-1.3.texi: New file.
9843 * manual/fdl-1.1.texi: File removed.
9846 * manual/libc.texinfo (FDL_VERSION): New @set.
9847 Use it for mention of FDL in cover text.
9848 (Documentation License): Use it in @include file name.
9850 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9851 Roland McGrath <roland@hack.frob.com>
9854 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9855 not LONG_LONG_MAX and LONG_LONG_MIN.
9856 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9857 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9859 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9861 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9865 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9866 manipulate bits before adding and subtracting TWO23[sx].
9867 * math/libm-test.inc (nearbyint_test): Add more tests.
9869 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9872 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9873 bits before adding and subtracting TWO23[sx].
9874 * math/libm-test.inc (rint_test): Add more tests.
9875 (rint_test_tonearest): Likewise.
9876 (rint_test_towardzero): Likewise.
9877 (rint_test_downward): Likewise.
9878 (rint_test_upward: Likewise.
9880 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9883 * include/stdc-predef.h: New file. Extracted from features.h.
9884 * include/features.h: Include stdc-predef.h.
9885 * Makefile (headers): Add stdc-predef.h.
9886 * CONFORMANCE (Compiler limitations): Update.
9888 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9890 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9892 2012-02-21 David S. Miller <davem@davemloft.net>
9894 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9895 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9897 2012-02-20 David S. Miller <davem@davemloft.net>
9899 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9900 using a normal save/restore sequence, rather than allocating a
9901 dummy stack frame just to store a frame pointer and restore.
9902 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9904 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9906 * manual/install.texi: Fix stray word in line-wrapped comment.
9908 2012-02-20 David S. Miller <davem@davemloft.net>
9910 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9911 both binutils and gcc support GOTDATA.
9913 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9914 "rd %pc" in the PIC register setup sequences.
9916 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9917 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9918 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9919 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9920 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9921 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9922 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9923 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9924 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9925 (SYSCALL_ERROR_HANDLER): Likewise.
9926 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9927 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9928 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9929 (SYSCALL_ERROR_HANDLER): Likewise.
9931 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9932 (HAVE_GCC_GOTDATA): New.
9933 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9934 relocation support in both binutils and gcc.
9935 * sysdeps/sparc/elf/configure: Regenerate.
9937 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9938 * sysdeps/sparc/sparc32/elf/configure: Delete.
9939 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9940 * sysdeps/sparc/sparc64/elf/configure: Delete.
9941 * sysdeps/sparc/elf/configure.in: New file.
9942 * sysdeps/sparc/elf/configure: Generate.
9944 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9945 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9946 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9947 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9948 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9950 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9952 * manual/install.texi: Do not mention specific glibc version
9954 * manual/libc.texinfo (VERSION, UPDATED): Update.
9955 (@copying): Use @copyright{} and range of years.
9957 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9960 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9961 [crti.S not in sysdirs] (generated): Do not append.
9962 [crti.S not in sysdirs] (omit-deps): Likewise.
9963 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9964 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9965 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9966 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9967 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9969 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9970 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9971 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9972 * csu/defs.awk: Remove file.
9973 * sysdeps/generic/initfini.c: Likewise.
9974 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9976 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9979 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9981 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9982 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9983 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9984 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9985 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9986 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9988 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9989 (__EPOLL_PACKED): Define to empty if not defined by
9991 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9995 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9997 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9998 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9999 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10000 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10002 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10006 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10008 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10011 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10012 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10015 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10017 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10018 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10020 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10022 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10023 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10025 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10027 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10030 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10032 * math/w_acos.c: Use non-signaling floating-point comparisons.
10033 * math/w_acosf.c: Likewise.
10034 * math/w_acosh.c: Likewise.
10035 * math/w_acoshf.c: Likewise.
10036 * math/w_acoshl.c: Likewise.
10037 * math/w_acosl.c: Likewise.
10038 * math/w_asin.c: Likewise.
10039 * math/w_asinf.c: Likewise.
10040 * math/w_asinl.c: Likewise.
10041 * math/w_atanh.c: Likewise.
10042 * math/w_atanhf.c: Likewise.
10043 * math/w_atanhl.c: Likewise.
10044 * math/w_exp2.c: Likewise.
10045 * math/w_exp2f.c: Likewise.
10046 * math/w_exp2l.c: Likewise.
10047 * math/w_j0.c: Likewise.
10048 * math/w_j0f.c: Likewise.
10049 * math/w_j0l.c: Likewise.
10050 * math/w_j1.c: Likewise.
10051 * math/w_j1f.c: Likewise.
10052 * math/w_j1l.c: Likewise.
10053 * math/w_jn.c: Likewise.
10054 * math/w_jnf.c: Likewise.
10055 * math/w_log.c: Likewise.
10056 * math/w_log10.c: Likewise.
10057 * math/w_log10f.c: Likewise.
10058 * math/w_log10l.c: Likewise.
10059 * math/w_log2.c: Likewise.
10060 * math/w_log2f.c: Likewise.
10061 * math/w_log2l.c: Likewise.
10062 * math/w_logf.c: Likewise.
10063 * math/w_logl.c: Likewise.
10064 * math/w_sqrt.c: Likewise.
10065 * math/w_sqrtf.c: Likewise.
10066 * math/w_sqrtl.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10069 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10070 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10071 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10073 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10076 * manual/string.texi (strnlen): Use correct parameter name in
10077 equivalent expression.
10079 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10082 * manual/users.texi (seteuid): Consistently use neweuid for
10085 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10088 * manual/nss.texi (Services in the NSS configuration): Correct
10089 list of services in example configuration file.
10091 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10094 * manual/arith.texi: Remove statements about negative zero
10095 behaving identically to zero.
10097 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10100 * manual/install.texi: Do not document upgrading from libc5.
10102 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10105 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10107 2012-02-18 David S. Miller <davem@davemloft.net>
10109 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10110 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10111 %o7 across the call.
10112 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10114 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10115 SETUP_PIC_REG_LEAF.
10116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10117 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10118 * sysdeps/sparc/crtn.S: Likewise.
10120 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10122 * aout/Makefile: Remove.
10124 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10127 * manual/examples/argp-ex1.c (main): Format definition in GNU
10129 * manual/examples/argp-ex2.c (main): Likewise.
10130 * manual/examples/argp-ex3.c (main): Likewise.
10131 * manual/examples/argp-ex4.c (main): Likewise.
10132 * manual/examples/longopt.c (main): Use new-style prototype
10134 * manual/examples/strncat.c (main): Specify return type and use
10135 (void) for arguments.
10136 * manual/examples/subopt.c (main): Use char **argv argument.
10138 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10141 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10144 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10147 * manual/string.texi (strchr): Change when strchrnul is
10150 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10153 * manual/locale.texi (setlocale): Document LOCPATH.
10155 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10158 * manual/process.texi (execle): Move @dots{} before last argument.
10160 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10163 * manual/charset.texi (Generic Charset Conversion): Fix typo
10164 (LC_TYPE -> LC_CTYPE).
10166 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10169 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10170 (scalbnf): Likewise.
10171 (scalbnl): Likewise.
10172 (scalbln): Likewise.
10173 (scalblnf): Likewise.
10174 (scalblnl): Likewise.
10175 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10176 (vwarnx): Likewise.
10179 * manual/filesys.texi (telldir): Use braces around return type.
10180 * manual/llio.texi (mmap): Add space after comma.
10181 (mmap64): Likewise.
10182 * manual/math.texi (jn): Use @var{} on parameter names.
10188 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10190 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10192 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10193 (sched_get_priority_max): Likewise.
10194 * manual/signal.texi (sigvec): Add space after comma.
10195 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10197 (if_indextoname): Likewise.
10198 (if_freenameindex): Likewise.
10199 (sendto): Use ',' instead of '.' in prototype.
10200 * manual/startup.texi (syscall): Use @dots{} instead of literal
10202 * manual/stdio.texi (__fpending): Separate initial words of
10203 paragraph from @deftypefun line.
10204 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10206 (vsyslog): Use @var{} on parameter names.
10207 * manual/terminal.texi (stty): Use @var{} on parameter names.
10208 * manual/users.texi (getutmp): Use @var{} on parameter names.
10209 (getutmpx): Likewise.
10211 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10214 * manual/stdio.texi (fopen): Fix typos in description of
10217 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
10220 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
10221 get clock_id definition.
10223 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
10226 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
10227 (madvise): Cast every argument to void on its own.
10229 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10232 * manual/startup.texi (Exit Status): Fix typo.
10234 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10237 * manual/examples/argp-ex1.c: Include <stdlib.h>.
10238 * manual/examples/argp-ex2.c: Likewise.
10239 * manual/examples/argp-ex3.c: Likewise.
10241 2012-02-16 Richard Henderson <rth@redhat.com>
10243 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
10244 * sysdeps/s390/s390-32/initfini.c: Remove.
10245 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
10246 * sysdeps/s390/s390-64/initfini.c: Remove.
10248 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10250 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
10251 compiler output for sysdeps/generic/initfini.c.
10252 * sysdeps/sh/elf/initfini.c: Remove file.
10254 2012-02-16 David S. Miller <davem@davemloft.net>
10257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
10259 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
10260 * sysdeps/sparc/crti.S: New file.
10261 * sysdeps/sparc/crtn.S: New file.
10262 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
10263 * sysdeps/sparc/sparc64/Makefile: Likewise.
10265 2012-02-15 Mike Frysinger <vapier@gentoo.org>
10268 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
10270 2012-02-15 Roland McGrath <roland@hack.frob.com>
10273 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
10275 * mach/devstream.c (cookie_io_functions_t): Macro removed.
10276 (write, read, close): Likewise.
10277 Patch by Aurelien Jarno <aurelien@aurel32.net>.
10279 2012-02-15 Joseph Myers <joseph@codesourcery.com>
10281 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
10282 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
10283 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
10284 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10286 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10290 2012-02-14 Marek Polacek <polacek@redhat.com>
10292 * sysdeps/x86_64/crti.S: New file.
10293 * sysdeps/x86_64/crtn.S: New file.
10294 * sysdeps/x86_64/elf/initfini.c: Remove file.
10296 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10298 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10299 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10300 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10301 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10303 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10307 2012-02-13 Joseph Myers <joseph@codesourcery.com>
10309 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10310 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10311 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10312 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10314 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10318 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10320 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10321 __feraiseexcept instead of feraiseexcept.
10323 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10324 nanosleep invocations.
10325 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10326 strings, and add error checking for a nanosleep invocations.
10328 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10330 Replace FSF snail mail address with URLs, as per GNU coding standards.
10331 Most of the snail mail addresses were wrong anyway, and omitting
10332 them makes the source code easier to maintain. Almost all of the
10333 changes are to license notices and to locale LC_IDENTIFICATION
10334 addresses, except for this one:
10335 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10336 not its snail mail address.
10338 2012-02-09 Richard Henderson <rth@twiddle.net>
10340 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10341 of kernel-features.h.
10343 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10345 2012-02-08 Marek Polacek <polacek@redhat.com>
10347 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10348 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10349 * sysdeps/gnu/_G_config.h: Likewise.
10350 * sysdeps/generic/_G_config.h: Likewise.
10352 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10354 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10358 * sysdeps/powerpc/powerpc32/crti.S: New file.
10359 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10360 * sysdeps/powerpc/powerpc64/crti.S: New file.
10361 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10363 * Makeconfig (have-initfini): Don't set.
10364 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10365 * configure.in (nopic_initfini): Don't substitute.
10366 * config.h.in (HAVE_INITFINI): Don't #undef.
10367 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10368 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10370 2012-02-08 Joseph Myers <joseph@codesourcery.com>
10372 Support crti.S and crtn.S provided directly by architectures.
10373 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10374 [crti.S in sysdirs] (omit-deps): Likewise.
10375 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10376 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10377 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10378 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10379 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10380 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10381 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10382 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10383 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10384 compiler output for sysdeps/generic/initfini.c.
10385 * sysdeps/i386/elf/Makefile: Remove file.
10386 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10388 2012-02-07 Marek Polacek <polacek@redhat.com>
10390 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10391 * sysdeps/gnu/_G_config.h: Likewise.
10392 * sysdeps/mach/hurd/_G_config.h: Likewise.
10394 2012-02-07 Marek Polacek <polacek@redhat.com>
10396 * math/Makefile (tests): Add tst-CMPLX2.
10397 * math/tst-CMPLX2.c: New file.
10399 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10401 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10403 * math/libm-test.inc (jn_test): Add missing L suffix.
10405 2012-02-06 Marek Polacek <polacek@redhat.com>
10407 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10408 * sysdeps/i386/fpu/e_powf.S: Likewise.
10409 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10410 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10411 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10412 * sysdeps/i386/fpu/e_pow.S: Likewise.
10413 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10414 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10415 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10416 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10417 * sysdeps/i386/fpu/e_log2.S: Likewise.
10418 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10419 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10420 * sysdeps/i386/fpu/e_powl.S: Likewise.
10421 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10422 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10423 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10424 * sysdeps/i386/fpu/e_logl.S: Likewise.
10425 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10426 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10427 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10428 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10429 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10430 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10431 * sysdeps/i386/fpu/e_log.S: Likewise.
10432 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10433 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10434 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10435 * sysdeps/i386/fpu/e_logf.S: Likewise.
10436 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10437 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10438 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10439 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10440 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10441 * sysdeps/i386/fpu/e_log10.S: Likewise.
10442 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10443 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10444 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10445 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10446 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10447 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10448 * sysdeps/i386/asm-syntax.h: Likewise.
10449 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10450 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10451 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10452 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10453 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10454 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10455 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10456 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10457 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10458 * sysdeps/powerpc/sysdep.h: Likewise.
10459 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10460 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10462 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10465 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10467 2012-02-06 Joseph Myers <joseph@codesourcery.com>
10469 * sysdeps/i386/sysdep.h: Include <features.h>.
10470 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10473 2012-02-05 Joseph Myers <joseph@codesourcery.com>
10475 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10477 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10480 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10482 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10483 (SETUP_PIC_REG): Use GET_PC_THUNK.
10484 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10487 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10489 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10490 for non-PIC compilation.
10491 (SETUP_PIC_REG): Add .p2align directive.
10492 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10493 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10494 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10495 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10496 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10497 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10498 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10499 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10500 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10501 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10502 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10503 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10504 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10505 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10506 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10507 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10508 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10509 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10510 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10511 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10512 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10513 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10514 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10515 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10516 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10518 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10519 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10520 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10521 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10522 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10523 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10524 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10525 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10526 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10527 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10528 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10529 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10530 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10531 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10532 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10534 2012-02-03 Joseph Myers <joseph@codesourcery.com>
10536 * math/tst-CMPLX.c: Include <stdio.h>.
10538 2012-01-31 Joseph Myers <joseph@codesourcery.com>
10540 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10542 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10543 * sysdeps/sparc/bits/mathdef.h: Likewise.
10545 2012-01-31 Marek Polacek <polacek@redhat.com>
10547 * libio/libio.h: Don't define _PARAMS.
10548 * locale/programs/config.h: Don't define PARAMS.
10549 * stdlib/strtol_l.c: Likewise.
10550 (__strtol_l): Remove PARAMS from the prototype.
10552 2012-01-31 Ulrich Drepper <drepper@gmail.com>
10554 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10555 names. Just use the correct names. Remove unnecessary wrapper
10557 * malloc/arena.c: Likewise.
10558 * malloc/hooks.c: Likewise.
10560 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10561 ARENA_TEST says not to. Simplify test for creation of a new arena.
10562 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10564 2012-01-30 Ulrich Drepper <drepper@gmail.com>
10566 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10568 (update_get_addr): New function.
10569 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10570 GET_ADDR_MODULE parameter.
10572 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10574 * crypt/cert.c: Remove __STDC__ conditionals.
10575 * crypt/crypt-entry.c: Likewise.
10576 * crypt/crypt_util.c: Likewise.
10577 * libio/filedoalloc.c: Likewise.
10578 * libio/fileops.c: Likewise.
10579 * libio/genops.c: Likewise.
10580 * libio/iofclose.c: Likewise.
10581 * libio/iofdopen.c: Likewise.
10582 * libio/iofopen.c: Likewise.
10583 * libio/iofopen64.c: Likewise.
10584 * libio/iogetdelim.c: Likewise.
10585 * libio/iopopen.c: Likewise.
10586 * libio/obprintf.c: Likewise.
10587 * libio/oldfileops.c: Likewise.
10588 * libio/oldiofclose.c: Likewise.
10589 * libio/oldiofdopen.c: Likewise.
10590 * libio/oldiofopen.c: Likewise.
10591 * libio/oldiopopen.c: Likewise.
10592 * libio/wfiledoalloc.c: Likewise.
10593 * libio/wgenops.c: Likewise.
10594 * locale/programs/xmalloc.c: Likewise.
10595 * misc/syslog.c: Likewise.
10596 * stdio-common/xbug.c: Likewise.
10597 * string/memchr.c: Likewise.
10598 * string/memcmp.c: Likewise.
10599 * string/memrchr.c: Likewise.
10600 * string/rawmemchr.c: Likewise.
10601 * sysdeps/posix/getcwd.c: Likewise.
10602 * time/strftime_l.c: Likewise.
10604 2012-01-30 Joseph Myers <joseph@codesourcery.com>
10606 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
10607 * config.make.in (config-cflags-sse2avx): Define.
10608 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10611 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10613 * scripts/config.guess: Update from upstream config git repository.
10614 * scripts/config.sub: Likewise.
10616 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10618 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10620 (R_TILEPRO_*, R_TILEGX_*): New macros.
10622 * scripts/firstversions.awk: Fix bug in version range handling.
10624 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10626 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10628 * include/sys/epoll.h: New file.
10629 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10632 2012-01-28 Ulrich Drepper <drepper@gmail.com>
10634 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10635 Avoid unnecessary __WORDSIZE == 64 test.
10636 (fmaxf): Use VEX format if possible.
10641 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10642 * math/math_private.h: Remove libc_fegetround* and
10644 * sysdeps/i386/configure.in: Check for -msse2avx.
10645 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10646 also if SSE2AVX is defined.
10647 Remove libc_fegetround* and libc_fesetround*.
10648 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10649 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10650 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10652 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10653 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10654 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10655 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10656 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10658 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10660 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10662 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10664 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10666 2012-01-27 Ulrich Drepper <drepper@gmail.com>
10669 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10671 * Makeconfig (libm): Define.
10672 * elf/Makefile: Add rules to build and run tst-relsort1.
10673 * elf/tst-relsort1.c: New file.
10674 * elf/tst-relsort1mod1.c: New file.
10675 * elf/tst-relsort1mod2.c: New file.
10677 2012-01-27 Joseph Myers <joseph@codesourcery.com>
10679 * math/s_ldexp.c: Remove __STDC__ conditionals.
10680 * math/s_ldexpf.c: Likewise.
10681 * math/s_ldexpl.c: Likewise.
10682 * math/s_nextafter.c: Likewise.
10683 * math/s_nexttowardf.c: Likewise.
10684 * math/s_significand.c: Likewise.
10685 * math/s_significandf.c: Likewise.
10686 * math/s_significandl.c: Likewise.
10687 * math/w_jnl.c: Likewise.
10688 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10689 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10690 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10691 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10692 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10703 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10704 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10707 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10708 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10709 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10710 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10711 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10712 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10713 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10714 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10715 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10716 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10717 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10718 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10719 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10720 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10721 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10722 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10723 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10724 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10725 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10726 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10727 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10728 * sysdeps/ieee754/k_standard.c: Likewise.
10729 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10732 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10738 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10777 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10778 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10779 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10790 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10793 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10795 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10803 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10804 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10808 * sysdeps/ieee754/s_matherr.c: Likewise.
10809 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10810 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10811 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10812 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10814 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10816 * crypt/md5.h: Remove __STDC__ conditionals.
10817 * libio/libioP.h: Likewise.
10818 * locale/programs/config.h: Likewise.
10819 * sysdeps/generic/sysdep.h: Likewise.
10820 * sysdeps/i386/asm-syntax.h: Likewise.
10821 * sysdeps/s390/asm-syntax.h: Likewise.
10822 * sysdeps/unix/sysdep.h: Likewise.
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10826 2012-01-26 Joseph Myers <joseph@codesourcery.com>
10828 * libio/libio.h: Remove __STDC__ conditionals.
10829 * malloc/obstack.h: Likewise.
10830 * math/complex.h: Likewise.
10831 * math/math.h: Likewise.
10832 * sysdeps/generic/_G_config.h: Likewise.
10833 * sysdeps/gnu/_G_config.h: Likewise.
10834 * sysdeps/mach/hurd/_G_config.h: Likewise.
10835 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10836 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10837 * sysdeps/sparc/bits/mathdef.h: Likewise.
10839 2012-01-26 Ulrich Drepper <drepper@gmail.com>
10842 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
10843 Clean up HAS_* macros.
10844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
10845 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10847 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10849 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10850 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10851 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10852 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10853 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10855 2012-01-25 Joseph Myers <joseph@codesourcery.com>
10857 * elf/tst-unique3.cc (gets): Remove declaration.
10858 * elf/tst-unique3lib.cc (gets): Likewise.
10859 * elf/tst-unique3lib2.cc (gets): Likewise.
10860 * elf/tst-unique4.cc (gets): Likewise.
10862 2012-01-24 Ulrich Drepper <drepper@gmail.com>
10864 * include/stdio.h: Add C++ protection. Add gets declarations and
10866 * debug/tst-chk1.c: Don't declare gets here.
10867 * stdio-common/tst-gets.c: Likewise.
10869 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10871 * posix/glob: Remove directory.
10873 2012-01-24 Joseph Myers <joseph@codesourcery.com>
10875 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10877 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10879 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10880 of the non-standard EPFNOSUPPORT.
10882 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10884 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10885 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10886 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10888 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10890 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10892 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10894 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10896 * nscd/grpcache.c (cache_addgr): Likewise.
10897 * nscd/hstcache.c (cache_addhst): Likewise.
10898 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10899 * nscd/pwdcache.c (cache_addpw): Likewise.
10900 * nscd/servicescache.c (cache_addserv): Likewise.
10902 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10904 * malloc/malloc.c: Various cleanups.
10905 * malloc/hooks.c: Likewise.
10907 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10908 * stdlib/bug-fmtmsg1.c: New file.
10910 * stdlib/fmtmsg.c (init): Add missing unlock.
10911 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10913 2012-01-12 Marek Polacek <polacek@redhat.com>
10915 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10918 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10920 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10921 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10922 macro to ensure uniqueness of label name.
10923 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10924 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10926 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10928 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10930 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10931 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10932 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10935 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10937 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10939 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10940 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10941 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10943 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10945 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10946 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10947 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10950 * math/bits/math-finite.h: Add ldexp support.
10952 2012-01-10 Marek Polacek <polacek@redhat.com>
10954 * locale/programs/localedef.h (show_archive_content): Add noreturn
10957 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10959 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10961 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10963 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10965 * io/Makefile (headers): Add bits/poll2.h.
10967 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10970 typo #include statement.
10972 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10974 * include/sys/cdefs.h: Define __attribute_alloc_size.
10975 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10976 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10977 * elf/pldd.c: Likewise.
10978 * iconv/iconv_charmap.c: Likewise.
10979 * iconv/iconvconfig.c: Likewise.
10980 * iconv/strtab.c: Likewise.
10981 * locale/programs/locale.c: Likewise.
10982 * locale/programs/localedef.h: Likewise.
10983 * locale/programs/simple-hash.c: Likewise.
10984 * nscd/nscd.h: Likewise.
10985 * nss/makedb.c: Likewise.
10986 * sysdeps/generic/ldconfig.h: Likewise.
10987 * locale/programs/localedef.c: Remove xmalloc prototype.
10988 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10990 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10992 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10995 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10997 * math/Makefile (tests): Add tst-CMPLX.
10998 * math/tst-CMPLX.c: New file.
11000 * math/complex.h (CMPLXL): Fix typo.
11002 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11003 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11005 * debug/tst-chk1.c: Add poll and ppoll tests.
11006 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11007 * include/sys/poll.h: Add hidden proto for ppoll.
11008 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11009 * sysdeps/mach/hurd/ppoll.c: Likewise.
11010 * io/ppoll.c: Likewise.
11011 * debug/poll_chk.c: New file.
11012 * debug/ppoll_chk.c: New file.
11013 * include/bits/poll2.h: New file.
11014 * io/bits/poll2.h: New file.
11017 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11019 * configure.in: static is always set to yes. Remove.
11020 * config.make.in: Don't set build-static.
11021 * Makeconfig: Remove use of build-static.
11022 * dlfcn/Makefile: Likewise.
11023 * elf/Makefile: Likewise.
11024 * math/Makefile: Likewise.
11025 * misc/Makefile: Likewise.
11026 * nptl/Makefile: Likewise.
11027 * sysdeps/mach/hurd/Makefile: Likewise.
11029 * configure.in: PWD_P is not used anymore.
11030 * config.make.in: Remove PWD_P entry.
11032 * configure.in: Remove last remnants of RANLIB.
11033 No need to check for signed size_t anymore.
11034 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11036 Remove __builtin_expect test because we require at least gcc 3.4.
11037 * aclocal.m4: Likewise.
11039 * wcsmbs/mbrtoc16.c: Implement using towc function.
11040 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11041 * wcsmbs/wcsmbsload.c: Likewise.
11042 * iconv/gconv_simple.c: Likewise.
11043 * iconv/gconv_int.h: Likewise.
11044 * iconv/gconv_builtin.h: Likewise.
11045 * iconv/iconv_prog.c: Remove CHAR16 handling.
11047 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11049 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11051 * configure.in: Remove --with-elf and --enable-bounded options.
11052 Dont set base_machine for ia64. More non-ELF conditions removed.
11053 Remove testing and setting of leading underscore information.
11054 * config.make.in (build-bounded): Set to no.
11055 * config.h.in: Remove NO_UNDERSCORES entry.
11056 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11058 * csu/start.c: Remove !NO_UNDERSCORE code.
11059 * locale/localeinfo.h: Likewise.
11060 * sysdeps/generic/machine-gmon.h: Likewise.
11061 * sysdeps/generic/sysdep.h: Likewise.
11062 * sysdeps/i386/sysdep.h: Likewise.
11063 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11064 * sysdeps/mach/sysdep.h: Likewise.
11065 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11066 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11067 * sysdeps/sh/sysdep.h: Likewise.
11068 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11069 * sysdeps/unix/i386/sysdep.S: Likewise.
11070 * sysdeps/unix/sparc/start.c: Likewise.
11071 * sysdeps/unix/sparc/sysdep.S: Likewise.
11072 * sysdeps/unix/sparc/sysdep.h: Likewise.
11073 * sysdeps/unix/start.c: Likewise.
11074 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11075 * sysdeps/x86_64/sysdep.h: Likewise.
11077 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11080 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11082 * argp/argp-fmtstream.h: Use const instead __const.
11083 * argp/argp.h: Likewise.
11084 * assert/assert.h: Likewise.
11085 * bits/fenv.h: Likewise.
11086 * bits/sched.h: Likewise.
11087 * bits/sigset.h: Likewise.
11088 * bits/sigthread.h: Likewise.
11089 * catgets/nl_types.h: Likewise.
11090 * conform/data/pthread.h-data: Likewise.
11091 * crypt/crypt-private.h: Likewise.
11092 * crypt/crypt.h: Likewise.
11093 * crypt/crypt_util.c: Likewise.
11094 * ctype/ctype.h: Likewise.
11095 * debug/execinfo.h: Likewise.
11096 * debug/mbsnrtowcs_chk.c: Likewise.
11097 * debug/mbsrtowcs_chk.c: Likewise.
11098 * debug/wcsnrtombs_chk.c: Likewise.
11099 * debug/wcsrtombs_chk.c: Likewise.
11100 * debug/wcstombs_chk.c: Likewise.
11101 * dirent/dirent.h: Likewise.
11102 * dlfcn/dlfcn.h: Likewise.
11103 * elf/neededtest4.c: Likewise.
11104 * grp/grp.h: Likewise.
11105 * gshadow/gshadow.h: Likewise.
11106 * iconv/gconv.h: Likewise.
11107 * iconv/gconv_int.h: Likewise.
11108 * iconv/gconv_simple.c: Likewise.
11109 * iconv/iconv.h: Likewise.
11110 * iconv/loop.c: Likewise.
11111 * iconv/skeleton.c: Likewise.
11112 * include/aio.h: Likewise.
11113 * include/aliases.h: Likewise.
11114 * include/argz.h: Likewise.
11115 * include/arpa/inet.h: Likewise.
11116 * include/assert.h: Likewise.
11117 * include/dirent.h: Likewise.
11118 * include/dlfcn.h: Likewise.
11119 * include/execinfo.h: Likewise.
11120 * include/fcntl.h: Likewise.
11121 * include/fenv.h: Likewise.
11122 * include/glob.h: Likewise.
11123 * include/grp.h: Likewise.
11124 * include/libintl.h: Likewise.
11125 * include/mntent.h: Likewise.
11126 * include/netdb.h: Likewise.
11127 * include/pwd.h: Likewise.
11128 * include/rpc/netdb.h: Likewise.
11129 * include/sched.h: Likewise.
11130 * include/search.h: Likewise.
11131 * include/shadow.h: Likewise.
11132 * include/signal.h: Likewise.
11133 * include/stdio.h: Likewise.
11134 * include/stdlib.h: Likewise.
11135 * include/string.h: Likewise.
11136 * include/sys/socket.h: Likewise.
11137 * include/sys/stat.h: Likewise.
11138 * include/sys/statfs.h: Likewise.
11139 * include/sys/statvfs.h: Likewise.
11140 * include/sys/syslog.h: Likewise.
11141 * include/sys/time.h: Likewise.
11142 * include/sys/uio.h: Likewise.
11143 * include/time.h: Likewise.
11144 * include/unistd.h: Likewise.
11145 * include/utmp.h: Likewise.
11146 * include/wchar.h: Likewise.
11147 * include/wctype.h: Likewise.
11148 * inet/aliases.h: Likewise.
11149 * inet/arpa/inet.h: Likewise.
11150 * inet/netinet/ether.h: Likewise.
11151 * inet/netinet/in.h: Likewise.
11152 * intl/libintl.h: Likewise.
11153 * io/bits/fcntl2.h: Likewise.
11154 * io/fcntl.h: Likewise.
11155 * io/ftw.h: Likewise.
11156 * io/sys/poll.h: Likewise.
11157 * io/sys/stat.h: Likewise.
11158 * io/sys/statfs.h: Likewise.
11159 * io/sys/statvfs.h: Likewise.
11160 * io/utime.h: Likewise.
11161 * libio/bits/stdio.h: Likewise.
11162 * libio/bits/stdio2.h: Likewise.
11163 * libio/libio.h: Likewise.
11164 * libio/libioP.h: Likewise.
11165 * libio/stdio.h: Likewise.
11166 * locale/lc-ctype.c: Likewise.
11167 * locale/locale.h: Likewise.
11168 * login/utmp.h: Likewise.
11169 * malloc/arena.c: Likewise.
11170 * malloc/malloc.c: Likewise.
11171 * malloc/malloc.h: Likewise.
11172 * malloc/mcheck.c: Likewise.
11173 * malloc/mtrace.c: Likewise.
11174 * math/bits/mathcalls.h: Likewise.
11175 * math/fenv.h: Likewise.
11176 * math/math_private.h: Likewise.
11177 * misc/bits/error.h: Likewise.
11178 * misc/bits/syslog.h: Likewise.
11179 * misc/err.h: Likewise.
11180 * misc/error.h: Likewise.
11181 * misc/fstab.h: Likewise.
11182 * misc/mntent.h: Likewise.
11183 * misc/regexp.h: Likewise.
11184 * misc/search.h: Likewise.
11185 * misc/sgtty.h: Likewise.
11186 * misc/sys/mman.h: Likewise.
11187 * misc/sys/syslog.h: Likewise.
11188 * misc/sys/uio.h: Likewise.
11189 * misc/sys/xattr.h: Likewise.
11190 * misc/ttyent.h: Likewise.
11191 * nis/rpcsvc/ypclnt.h: Likewise.
11192 * nss/nss.h: Likewise.
11193 * posix/bits/unistd.h: Likewise.
11194 * posix/fnmatch.h: Likewise.
11195 * posix/glob.h: Likewise.
11196 * posix/sched.h: Likewise.
11197 * posix/spawn.h: Likewise.
11198 * posix/sys/wait.h: Likewise.
11199 * posix/unistd.h: Likewise.
11200 * posix/wordexp.h: Likewise.
11201 * pwd/pwd.h: Likewise.
11202 * resolv/netdb.h: Likewise.
11203 * resource/sys/resource.h: Likewise.
11204 * rt/aio.h: Likewise.
11205 * rt/bits/mqueue2.h: Likewise.
11206 * rt/mqueue.h: Likewise.
11207 * shadow/shadow.h: Likewise.
11208 * signal/signal.h: Likewise.
11209 * socket/send.c: Likewise.
11210 * socket/sendto.c: Likewise.
11211 * socket/sys/socket.h: Likewise.
11212 * stdio-common/printf.h: Likewise.
11213 * stdlib/bits/stdlib.h: Likewise.
11214 * stdlib/fmtmsg.h: Likewise.
11215 * stdlib/monetary.h: Likewise.
11216 * stdlib/stdlib.h: Likewise.
11217 * stdlib/ucontext.h: Likewise.
11218 * streams/stropts.h: Likewise.
11219 * string/argz.h: Likewise.
11220 * string/bits/string2.h: Likewise.
11221 * string/string.h: Likewise.
11222 * string/strings.h: Likewise.
11223 * sunrpc/rpc/auth.h: Likewise.
11224 * sunrpc/rpc/auth_des.h: Likewise.
11225 * sunrpc/rpc/clnt.h: Likewise.
11226 * sunrpc/rpc/netdb.h: Likewise.
11227 * sunrpc/rpc/pmap_clnt.h: Likewise.
11228 * sunrpc/rpc/xdr.h: Likewise.
11229 * sysdeps/generic/inttypes.h: Likewise.
11230 * sysdeps/generic/net/if.h: Likewise.
11231 * sysdeps/generic/sys/swap.h: Likewise.
11232 * sysdeps/gnu/net/if.h: Likewise.
11233 * sysdeps/gnu/utmpx.h: Likewise.
11234 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11235 * sysdeps/i386/i486/bits/string.h: Likewise.
11236 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
11237 * sysdeps/s390/bits/string.h: Likewise.
11238 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
11239 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
11240 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
11241 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11242 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11243 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
11244 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11245 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
11246 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11247 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11248 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
11249 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11250 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
11251 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11252 * sysdeps/unix/sysv/linux/readv.c: Likewise.
11253 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
11254 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11255 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11256 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11257 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11258 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11259 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
11260 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
11261 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
11262 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
11263 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
11264 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
11265 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11266 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
11267 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
11268 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
11269 * sysvipc/sys/ipc.h: Likewise.
11270 * sysvipc/sys/msg.h: Likewise.
11271 * sysvipc/sys/sem.h: Likewise.
11272 * sysvipc/sys/shm.h: Likewise.
11273 * termios/termios.h: Likewise.
11274 * time/sys/time.h: Likewise.
11275 * time/time.h: Likewise.
11276 * wcsmbs/bits/wchar2.h: Likewise.
11277 * wcsmbs/uchar.h: Likewise.
11278 * wcsmbs/wchar.h: Likewise.
11279 * wctype/wctype.h: Likewise.
11282 * Makeconfig: Remove all but ELF support including AIX support.
11283 * Makerules: Likewise.
11284 * config.h.in: Likewise.
11285 * config.make.in: Likewise.
11286 * configure: Likewise.
11287 * configure.in: Likewise.
11288 * csu/Makefile: Likewise.
11289 * csu/version.c: Likewise.
11290 * debug/Makefile: Likewise.
11291 * dlfcn/Makefile: Likewise.
11292 * elf/Makefile: Likewise.
11293 * extra-lib.mk: Likewise.
11294 * iconv/Makefile: Likewise.
11295 * include/libc-symbols.h: Likewise.
11296 * include/shlib-compat.h: Likewise.
11297 * resolv/Makefile: Likewise.
11298 * resolv/res_libc.c: Likewise.
11299 * rt/Makefile: Likewise.
11300 * sysdeps/i386/asm-syntax.h: Likewise.
11301 * sysdeps/i386/sysdep.h: Likewise.
11302 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11303 * sysdeps/mach/sysdep.h: Likewise.
11304 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11305 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11306 * sysdeps/s390/asm-syntax.h: Likewise.
11307 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11308 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11309 * sysdeps/sh/sysdep.h: Likewise.
11310 * sysdeps/unix/sparc/sysdep.h: Likewise.
11311 * sysdeps/wordsize-32/divdi3.c: Likewise.
11312 * sysdeps/x86_64/sysdep.h: Likewise.
11314 * argp/Versions: Remove _argp_unlock_xxx.
11317 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11318 * abilist/libBrokenLocale.abilist: Likewise.
11319 * abilist/libanl.abilist: Likewise.
11320 * abilist/libc.abilist: Likewise.
11321 * abilist/libcrypt.abilist: Likewise.
11322 * abilist/libdl.abilist: Likewise.
11323 * abilist/libm.abilist: Likewise.
11324 * abilist/libnsl.abilist: Likewise.
11325 * abilist/libpthread.abilist: Likewise.
11326 * abilist/libresolv.abilist: Likewise.
11327 * abilist/librt.abilist: Likewise.
11328 * abilist/libthread_db.abilist: Likewise.
11329 * abilist/libutil.abilist: Likewise.
11330 * abilist/libnss_db.abilist: New file.
11332 * scripts/abilist.awk: Add support for indirect functions.
11334 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11336 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11338 * shlib-versions: Remove entries for ports architectures.
11340 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11342 * elf/stackguard-macros.h: Remove support for IA-64.
11343 * elf/tst-auditmod1.c: Likewise.
11344 * sysdeps/generic/ldsodefs.h: Likewise.
11346 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11347 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11351 * configure.in: Remove --enable-omitfp support.
11353 * config.make.in: Likewise.
11354 * Makeconfig: Likewise.
11355 * manual/install.texi: Likewise.
11357 In case anyone cares, the IA-64 architecture could move to ports.
11358 * sysdeps/ia64/*: Removed.
11359 * sysdeps/unix/sysv/linux/ia64/*: Removed.
11360 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
11363 * configure.in: Remove entries for unsupported architectures.
11366 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11367 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11369 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11370 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11371 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11372 fall back to using wcrtomb.
11373 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11374 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11376 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11377 * wcsmbs/tst-c16c32-1.c: New file.
11379 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11382 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11384 * elf/tst-unique3.cc: Add explicit declaration of gets.
11385 * elf/tst-unique3lib.cc: Likewise.
11386 * elf/tst-unique3lib2.cc: Likewise.
11387 * elf/tst-unique4.cc: Likewise.
11389 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11391 2012-01-06 Joseph Myers <joseph@codesourcery.com>
11394 * assert/assert.h (static_assert): Don't define for C++.
11395 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11396 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11398 2012-01-03 Ulrich Drepper <drepper@gmail.com>
11400 * iconv/loop.c (single loop): Fix assertion in storing of
11403 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11405 2012-01-01 Ulrich Drepper <drepper@gmail.com>
11407 * posix/getconf.c: Update copyright year.
11408 * nss/getent.c: Likewise.
11409 * nss/makedb.c: Likewise.
11410 * iconv/iconvconfig.c: Likewise.
11411 * iconv/iconv_prog.c: Likewise.
11412 * elf/ldconfig.c: Likewise.
11413 * elf/pldd.c: Likewise.
11414 * elf/sotruss.ksh: Likewise.
11415 * catgets/gencat.c: Likewise.
11416 * csu/version.c: Likewise.
11417 * elf/ldd.bash.in: Likewise.
11418 * elf/sprof.c (print_version): Likewise.
11419 * locale/programs/locale.c: Likewise.
11420 * locale/programs/localedef.c: Likewise.
11421 * login/programs/pt_chown.c: Likewise.
11422 * nscd/nscd.c (print_version): Likewise.
11423 * debug/xtrace.sh: Likewise.
11424 * malloc/memusage.sh: Likewise.
11425 * malloc/mtrace.pl: Likewise.
11426 * debug/catchsegv.sh: Likewise.
11428 2011-12-30 Jakub Jelinek <jakub@redhat.com>
11430 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11433 2011-12-24 Ulrich Drepper <drepper@gmail.com>
11436 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11437 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11439 * iconv/gconv_int.h: Likewise.
11440 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11441 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11442 from libc for GLIBC_2.16.
11443 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11444 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11445 * wcsmbs/uchar.h: Really define mbstate_t.
11446 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11447 * wcsmbs/c16rtomb.c: New file.
11448 * wcsmbs/mbrtoc16.c: New file.
11449 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11450 for C/POSIX locale.
11451 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11452 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11454 * wcsmbs/wchar.h: Add missing __restrict.
11456 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11459 * time/Makefile (routines): Add timespec_get.
11460 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11461 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11462 timespec for ISO C11.
11463 * time/timespec_get.c: New file.
11464 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11465 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11468 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11469 * stdlib/stdlib.h: Declare aligned_alloc.
11470 * Versions.def: Add GLIBC_2.16 for libc.
11471 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11474 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11477 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
11481 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11484 * assert/assert.h (static_assert): Define.
11486 * version.h: Update for 2.16 development version.
11489 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11492 * version.h (RELEASE): Bump for 2.15 release.
11493 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11495 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11496 Patch by Marek Polacek <mpolacek@redhat.com>.
11498 * bits/byteswap.h: Protect long long constants with __extension__.
11499 * sysdeps/i386/bits/byteswap.h: Likewise.
11500 * sysdeps/ia64/bits/byteswap.h: Likewise.
11501 * sysdeps/s390/bits/byteswap.h: Likewise.
11502 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11504 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11507 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11508 destination buffer.
11509 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11511 2011-12-23 Marek Polacek <polacek@redhat.com>
11513 * elf/dl-addr.c (determine_info): Add inline keyword.
11514 * elf/tst-auditmod4b.c (check_avx): Likewise.
11515 * elf/tst-auditmod6b.c (check_avx): Likewise.
11516 * elf/tst-auditmod6c.c (check_avx): Likewise.
11517 * elf/tst-auditmod7b.c (check_avx): Likewise.
11519 2011-12-23 Ulrich Drepper <drepper@gmail.com>
11521 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11524 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11527 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11528 processing for last bytes.
11530 2011-08-06 Bruno Haible <bruno@clisp.org>
11533 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11534 U+0385, not to U+1FEE.
11537 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11538 entry for U+00A5 U+0301.
11540 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11543 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11544 buffer for the output is too small.
11546 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11550 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11551 SSE flags if possible.
11553 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11557 processing for last bytes.
11559 2011-12-22 Joseph Myers <joseph@codesourcery.com>
11561 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11562 (syscall-list-default-options, syscall-list-default-condition)
11563 (syscall-list-includes): Define.
11564 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11565 list of ABIs and options and #if conditions for each ABI. Do not
11566 handle common syscalls between ABIs specially.
11567 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11569 (syscall-list-variants, syscall-list-32bit-options)
11570 (syscall-list-32bit-condition, syscall-list-64bit-options)
11571 (syscall-list-64bit-condition): Define.
11572 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11573 (syscall-list-variants, syscall-list-32bit-options)
11574 (syscall-list-32bit-condition, syscall-list-64bit-options)
11575 (syscall-list-64bit-condition): Define.
11576 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11578 (syscall-list-variants, syscall-list-32bit-options)
11579 (syscall-list-32bit-condition, syscall-list-64bit-options)
11580 (syscall-list-64bit-condition): Define.
11581 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11583 (syscall-list-variants, syscall-list-32bit-options)
11584 (syscall-list-32bit-condition, syscall-list-64bit-options)
11585 (syscall-list-64bit-condition): Define.
11587 2011-12-22 Ulrich Drepper <drepper@gmail.com>
11589 * locale/iso-639.def: Add brx entry.
11592 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11593 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11595 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11596 __feraiseexcept_renamed.
11598 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11601 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11602 EPOLLET with unsigned values.
11603 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11604 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11606 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11607 to large cancellation.
11608 * math/s_cacoshf.c: Likewise.
11609 * math/s_cacoshl.c: Likewise.
11611 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11615 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11616 * math/s_cacoshf.c: Likewise.
11617 * math/s_cacoshl.c: Likewise.
11619 2011-12-21 Ulrich Drepper <drepper@gmail.com>
11622 * iconv/gconv.h: Define __GCONV_SWAP.
11623 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11624 * iconvdata/utf-16.c: Likewise.
11625 * iconvdata/utf-32.c: Likewise.
11627 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11630 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11631 numerator after shifting it by one limb.
11633 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11635 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11636 under [__USE_EXTERN_INLINES].
11638 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11641 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11643 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11645 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11646 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11648 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11649 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11650 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11651 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11652 for strncasecmp/strncasecmp_l compilation.
11653 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11654 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11656 2011-12-08 Marek Polacek <mpolacek@redhat.com>
11659 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11662 2011-12-17 Ulrich Drepper <drepper@gmail.com>
11665 * time/tzfile.c (__tzfile_read): Check values from file header.
11667 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11669 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11670 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11671 * powerpc/powerpc32/dl-start.S: Likewise.
11672 * powerpc/powerpc32/elf/start.S: Likewise.
11673 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11674 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11675 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11676 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11677 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11678 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11679 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11680 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11681 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11682 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11683 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11684 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11685 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11686 * powerpc/powerpc32/memset.S: Likewise.
11687 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11688 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11689 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11690 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11691 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11692 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11693 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11694 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11695 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11696 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11697 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11698 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11699 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11701 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11703 * math/libm-test.inc: Added more nearbyint tests.
11704 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11705 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11706 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11707 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11709 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11711 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11714 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11716 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11717 Add wcscpy-ssse3 wcscpy-c.
11718 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11719 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11720 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11721 * sysdeps/x86_64/wcschr.S: New file.
11722 * sysdeps/x86_64/wcsrchr.S: New file.
11723 * string/test-strcmp.c: Remove checking of wcscmp function for
11725 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11726 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11727 wcsrchr-sse2 wcsrchr-c.
11728 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11729 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11730 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11731 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11732 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11733 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11734 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11735 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11736 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11737 * wcsmbc/wcschr.c (WCSCHR): New macro.
11739 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11741 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11742 * wcsmbs/test-wcsrchr.c: New file.
11743 * string/test-strrchr.c: Add wcsrchr support.
11745 * wcsmbs/test-wcscpy.c: New file.
11746 * string/test-strcpy.c: Add wcscpy support.
11749 2011-12-10 Ulrich Drepper <drepper@gmail.com>
11751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11754 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11757 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11759 2011-12-04 Ulrich Drepper <drepper@gmail.com>
11761 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
11762 Minor optimizations.
11764 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11765 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11766 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11768 2011-12-03 Ulrich Drepper <drepper@gmail.com>
11770 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11771 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11772 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11773 for gcc to avoid warnings.
11774 * inet/Makefile (tests): Add tst-checks.
11775 * inet/tst-checks.c: New file.
11777 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11780 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11783 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11784 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11786 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11788 2011-12-02 Ulrich Drepper <drepper@gmail.com>
11790 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11793 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11795 2011-11-29 Joseph Myers <joseph@codesourcery.com>
11797 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11798 conditional on GCC version.
11799 (__arch_compare_and_exchange_val_8_acq)
11800 (__arch_compare_and_exchange_val_16_acq)
11801 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11802 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11803 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11805 2011-12-02 Joseph Myers <joseph@codesourcery.com>
11807 * sysdeps/sh/backtrace.c: New file.
11809 2011-12-02 Andreas Schwab <schwab@redhat.com>
11811 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11814 2011-12-01 Andreas Schwab <schwab@redhat.com>
11816 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11817 falling back to utime.
11819 2011-11-30 Andreas Schwab <schwab@redhat.com>
11821 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11822 expectations for float.
11824 2011-11-29 Andreas Schwab <schwab@redhat.com>
11826 * locale/weight.h (findidx): Add parameter len.
11827 * locale/weightwc.h (findidx): Likewise.
11828 * posix/fnmatch_loop.c (FCT): Adjust caller.
11829 * posix/regcomp.c (build_equiv_class): Likewise.
11830 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11831 * posix/regexec.c (check_node_accept_bytes): Likewise.
11832 * string/strcoll_l.c (STRCOLL): Likewise.
11833 * string/strxfrm_l.c (STRXFRM): Likewise.
11835 2011-11-17 Ulrich Drepper <drepper@gmail.com>
11837 * Makefile.in: Remove CVSOPT handling.
11838 * configure.in: Remove use of AC_REVISION.
11839 * iconvdata/Makefile (distribute): No need to filter out CVS.
11840 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11843 2011-11-16 Andreas Schwab <schwab@redhat.com>
11845 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11846 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11847 [USE_AS_STRNCASECMP_L]: Likewise.
11848 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11849 NO_TLS_DIRECT_SEG_REFS.
11850 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11851 Fix argument offsets for non-PIC.
11852 [USE_AS_STRNCASECMP_L]: Likewise.
11853 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11854 NO_TLS_DIRECT_SEG_REFS.
11856 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11858 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
11860 * locale/loadlocale.c (_nl_load_locale): Likewise.
11862 2011-11-15 Andreas Schwab <schwab@redhat.com>
11864 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11865 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11866 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11867 (SYSCALL_GETTIME): Set errno on error.
11869 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11870 count references to noai6ai_cached.
11872 2011-11-15 Ulrich Drepper <drepper@gmail.com>
11874 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11876 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11877 FD_CLOEXEC for /proc/self/maps.
11879 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11880 FD_CLOEXEC for /proc/meminfo.
11882 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11885 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11886 FD_CLOEXEC for given file.
11888 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11890 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11891 FD_CLOEXEC for /etc/hosts.
11892 (_gethtent): Likewise.
11894 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11896 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11897 cancellation and set FD_CLOEXEC for /etc/netgroup.
11899 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11900 reading /etc/publickey.
11902 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11903 allow cancellation when reading /etc/group.
11905 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11907 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11909 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11910 when using data file.
11912 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11914 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11915 (write_nis_obj): Use "c" and "e" in fopen.
11917 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11919 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11921 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11923 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11925 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11928 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11930 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11932 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11934 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11935 file parsing and set FD_CLOEXEC.
11937 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11939 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11941 2011-11-14 Andreas Schwab <schwab@redhat.com>
11943 * malloc/arena.c (arena_get2): Don't call reused_arena when
11944 _int_new_arena failed.
11946 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11948 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11949 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11950 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11951 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11952 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11953 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11954 to compile strcasecmp and strncasecmp.
11955 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11956 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11960 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11962 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11963 locale-defines.sym to gen-as-const-headers.
11964 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11965 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11966 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11967 to compile strcasecmp and strncasecmp.
11968 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11969 strcasecmp_l and strncasecmp_l.
11970 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11971 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11972 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11973 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11974 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11975 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11976 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11977 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11978 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11979 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11980 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11982 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11984 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11985 result of SYSDEP_GETTIME_CPU to retval.
11986 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11987 parameter list to macro. Remove trailing semicolon. Adjust users.
11989 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11992 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11994 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11996 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11997 from unused variable.
11999 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12001 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12004 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12007 * sunrpc/rpc_prot.c (rejected): Fix case value.
12009 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12010 unsigned long long int to avoid warnings in shift.
12012 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12014 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12017 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12018 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12019 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12021 * nis/nis_table.c (nis_list): Use variable of correct type for
12022 result of __follow_path call.
12024 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12026 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12027 of math functions ceil, trunc, floor, round, and sqrt, when
12028 avaliable on the platform.
12029 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12031 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12032 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12033 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12035 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12037 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12038 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12040 2011-11-11 Roland McGrath <roland@hack.frob.com>
12042 * include/unistd.h: Fix __readlink return type.
12043 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12045 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12047 * stdlib/ucontext.h: Undo last change for makecontext.
12049 2011-11-11 Andreas Schwab <schwab@redhat.com>
12051 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12053 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12054 * setjmp/setjmp.h: Mark functions as non-leaf.
12055 * setjmp/bits/setjmp2.h: Likewise.
12056 * stdlib/ucontext.h: Likewise.
12058 2011-11-10 Andreas Schwab <schwab@redhat.com>
12060 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12061 (reused_arena): Don't check arena limit.
12062 (arena_get2): Atomically check arena limit.
12064 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12066 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12067 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12069 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12072 2011-11-07 Andreas Schwab <schwab@redhat.com>
12074 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12075 handler when locking.
12077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12078 Fix size of allocated buffer.
12080 2011-11-04 Andreas Schwab <schwab@redhat.com>
12083 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12084 declarations for long double functions.
12085 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12087 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12089 2011-11-03 Andreas Schwab <schwab@redhat.com>
12091 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12094 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12097 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12099 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12101 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12103 * include/alloca.h (stackinfo_alloca_round): Define.
12104 (extend_alloca): Use it.
12105 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12106 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12109 * scripts/check-local-headers.sh: Ignore libaudit.h.
12111 * nscd/Makefile (extra-objs): Make recursively expanded.
12113 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12115 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12116 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12118 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12119 * posix/tst-rfc3484-2.c: Likewise.
12120 * posix/tst-rfc3484-3.c: Likewise.
12122 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12124 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12126 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12127 process_vm_writev from libc using GLIBC_2.15 version.
12129 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12131 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12133 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12136 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12139 * nss/getent.c (initgroups_keys): Show error message in case no group
12142 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12143 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12144 __bump_nl_timestamp.
12145 * nscd/connections (nscd_init): When host database is served open
12146 netlink socket and request notification about configuration changes.
12147 (main_loop_poll): Track netlink file descriptor and bump timestamp
12148 in case data becomes available.
12149 (main_loop_epoll): Likewise.
12150 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12151 (database_pers_head): Add extra_data fileds.
12152 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12153 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12154 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12156 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12157 in6ai data, call __free_in6ai.
12158 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12159 Add -DHAVE_NETLINK.
12160 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12161 interface information. Reuse previous data if netlink timestamp
12163 (__bump_nl_timestamp): New function.
12164 (__free_in6ai): New function.
12166 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12168 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12169 close_not_cancel_no_status here.
12170 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12172 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12175 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12178 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12179 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12180 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12182 2011-07-03 Andreas Jaeger <aj@suse.de>
12185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12186 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12187 * math/libm-test.inc (sin_test): Add test case.
12189 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12192 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12193 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12195 * elf/chroot_canon.c (chroot_canon): Cleanups.
12197 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12200 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12201 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12203 * string/test-strchr.c: Make usable for strchrnul testing.
12204 * string/test-strchrnul.c: New file.
12205 * string/Makefile (strop-tests): Add strchrnul.
12207 * po/it.po: Update from translation team.
12208 * po/es.po: Likewise.
12210 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12212 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
12213 the three constants needed as parameters. Drop the others.
12214 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
12215 __m128i_strloadu_tolower.
12216 Create and initialize variable zero and use it in all the places
12217 where _mm_setzero_si128 was used.
12219 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
12220 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
12221 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
12222 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
12224 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
12225 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
12226 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
12227 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
12228 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
12229 __mpranred, __mptan.
12230 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
12231 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
12232 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
12233 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
12234 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
12235 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
12236 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
12237 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
12238 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
12240 2011-10-28 Andreas Schwab <schwab@redhat.com>
12242 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
12243 redefine if SHARED.
12244 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
12246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
12247 wide char related routines to wcsmbs subdir.
12249 2011-10-27 Andreas Schwab <schwab@redhat.com>
12252 * misc/sys/cdefs.h (__THROWNL): Define.
12253 * posix/unistd.h: Use __THREADNL instead of __THREAD
12254 for memory synchronization functions.
12256 2011-10-26 Roland McGrath <roland@hack.frob.com>
12259 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
12261 * manual/stdio.texi (Obstack Streams): Node removed.
12263 2011-10-26 Andreas Schwab <schwab@redhat.com>
12265 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
12266 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12267 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12269 * math/math_private.h (math_force_eval): Allow non-addressable
12271 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
12273 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12275 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
12276 file is not needed.
12278 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
12279 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12280 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12281 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12282 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12283 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12284 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12285 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12287 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12288 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12289 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12290 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12291 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12292 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12293 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12294 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12295 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12296 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12297 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12298 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12300 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12301 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12302 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12303 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12304 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12305 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12307 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12308 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12310 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12311 place. Use VEX encoding when compiling for AVX.
12313 2011-10-25 Andreas Schwab <schwab@redhat.com>
12315 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12316 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12318 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12320 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12322 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
12323 useless if() expression.
12324 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12325 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12326 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12327 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12328 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12329 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12330 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12331 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12333 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12334 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12335 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12336 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12337 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12338 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12339 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12340 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12342 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12344 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12346 2011-10-25 Andreas Schwab <schwab@redhat.com>
12348 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12350 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12352 2011-10-25 Ulrich Drepper <drepper@gmail.com>
12354 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12355 .text section. Avoid duplicate constants.
12356 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12358 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12360 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12364 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12365 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12366 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12367 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12368 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12369 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12370 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12371 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12372 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12373 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12374 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12375 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12376 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12377 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12378 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12379 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12380 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12381 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12382 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12383 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12384 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12385 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12386 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12387 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12388 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12389 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12390 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12391 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12392 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12393 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12394 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12395 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12396 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12397 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12398 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12399 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12400 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12402 2011-10-24 Ulrich Drepper <drepper@gmail.com>
12404 * sysdeps/x86_64/dla.h: Move to ...
12405 * sysdeps/x86_64/fpu/dla.h: ...here.
12406 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12407 situations. Use __builtin_fma only for gcc 4.6 and up.
12409 * config.make.in: Add have-mfma4 entry.
12410 * configure.in: Substitute libc_cv_cc_fma4.
12411 * math/Makefile (dbl-only-routines): Add sincostab.
12412 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12413 Use __sincostab not sincos.
12414 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12416 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12421 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12422 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12423 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12424 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12426 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12427 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12429 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12430 define aliases when function name is a macro.
12431 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12432 sysdeps/ieee754/dbl-64/sincos.tbl.
12433 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12434 fma4-enabled routines.
12435 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12436 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12437 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12438 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12439 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12440 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12441 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12442 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12444 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12445 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12446 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12447 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12448 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12449 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12450 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12451 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12452 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12453 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12454 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12455 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12456 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12457 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12458 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12459 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12460 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12461 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12462 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12463 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12464 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12466 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12468 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12469 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12473 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12474 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12475 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12477 2011-10-24 Andreas Schwab <schwab@redhat.com>
12479 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12481 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12483 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12485 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12487 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12489 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12490 Remove unused variable magic_bits.
12491 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12493 * string/strnlen.c: Define and use STRNLEN macro.
12494 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12495 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12496 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12497 * wcsmbs/wcslen.c: Define and use WCSLEN.
12498 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12499 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12500 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12501 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12502 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12503 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12504 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12506 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12509 strnlen-sse2-no-bsf.
12510 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12511 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12512 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12513 Add strnlen support.
12514 (USE_AS_STRNLEN): New macro.
12515 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12516 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12517 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12518 * sysdeps/x86_64/wcslen.S: New file.
12520 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12522 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12523 XMM-moves are used for copying on small sizes.
12525 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12527 * wcsmbs/Makefile (strop-tests): Add wcschr.
12528 * wcsmbs/test-wcschr.c: New file.
12529 * string/test-strchr.c: Update.
12530 Add wcschr support.
12533 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12535 * wcsmbs/Makefile (strop-tests): Add wcslen.
12536 * wcsmbs/test-wcslen.c: New file.
12537 * string/test-strlen.c: Update.
12538 Add wcslen support.
12541 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12543 * po/it.po: Update from translation team.
12545 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12547 * sysdeps/x86_64/wcscmp.S: Update.
12548 Fix wrong comparison semantics.
12549 wcscmp shall use signed comparison not unsigned.
12550 Don't use substraction to avoid overflow bug.
12551 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12552 * wcsmbc/wcscmp.c: Likewise.
12553 * string/test-strcmp.c: Likewise.
12554 Add new tests to check cases with negative values.
12556 2011-10-23 Ulrich Drepper <drepper@gmail.com>
12558 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12559 * sysdeps/x86_64/dla.h: ...here. New file.
12560 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12565 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12567 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12570 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12573 __ynl_finite aliases.
12575 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12579 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12581 [DLA_FMA] (EMULV): Use DLA_FMA.
12582 [DLA_FMA] (MUL12): Use EMULV.
12583 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12584 that are not needed.
12585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12589 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12590 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12591 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12593 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12595 * math/s_nan.c: Undef __nan.
12596 * math/s_nanf.c: Undef __nanf.
12597 * math/s_nanl.c: Undef __nanl.
12598 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12601 2011-10-22 Ulrich Drepper <drepper@gmail.com>
12603 * math/s_catan.c: Add branch predictions.
12604 * math/s_catanf.c: Likewise.
12605 * math/s_catanh.c: Likewise.
12606 * math/s_catanhf.c: Likewise.
12607 * math/s_catanhl.c: Likewise.
12608 * math/s_catanl.c: Likewise.
12609 * math/s_cexp.c: Likewise.
12610 * math/s_cexpf.c: Likewise.
12611 * math/s_cexpl.c: Likewise.
12612 * math/s_clog.c: Likewise.
12613 * math/s_clog10.c: Likewise.
12614 * math/s_clog10f.c: Likewise.
12615 * math/s_clog10l.c: Likewise.
12616 * math/s_clogf.c: Likewise.
12617 * math/s_clogl.c: Likewise.
12618 * math/s_csqrt.c: Likewise.
12619 * math/s_csqrtf.c: Likewise.
12620 * math/s_csqrtl.c: Likewise.
12621 * math/s_ctanf.c: Likewise.
12622 * math/s_ctanh.c: Likewise.
12623 * math/s_ctanhf.c: Likewise.
12624 * math/s_ctanhl.c: Likewise.
12625 * math/s_ctanl.c: Likewise.
12627 * math/math_private.h: Define __nan, __nanf, __nanl.
12628 * math/s_cacosh.c: Include <math_private.h>.
12629 * math/s_cacoshl.c: Likewise.
12630 * math/s_casinh.c: Likewise.
12631 * math/s_casinhf.c: Likewise.
12632 * math/s_casinhl.c: Likewise.
12633 * math/s_ccos.c: Rely entire on ccosh.
12634 * math/s_ccosf.c: Rely entire on ccoshf.
12635 * math/s_ccosl.c: Rely entirely on ccoshl.
12636 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12637 Remove tests for FE_INVALID.
12638 * math/s_ccoshf.c: Likewise.
12639 * math/s_ccoshl.c: Likewise.
12640 * math/s_csin.c: Likewise.
12641 * math/s_csinf.c: Likewise.
12642 * math/s_csinh.c Likewise.
12643 * math/s_csinhf.c: Likewise.
12644 * math/s_csinhl.c: Likewise.
12645 * math/s_csinl.c: Likewise.
12646 * math/s_ctan.c: Likewise.
12647 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12648 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12649 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12651 2011-10-21 Ulrich Drepper <drepper@gmail.com>
12653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12654 compilation problems.
12656 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12659 2011-10-20 Ulrich Drepper <drepper@gmail.com>
12661 * sysdeps/i386/configure.in: Test for -mfma4 option.
12662 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12663 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12664 COMMON_CPUID_INDEX_80000001.
12665 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12666 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12667 use it if FMA3 is not supported.
12668 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12670 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12671 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12673 2011-10-20 Andreas Schwab <schwab@redhat.com>
12676 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12677 it would create a cycle with a link time dependency.
12679 2011-10-19 Ulrich Drepper <drepper@gmail.com>
12681 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12683 * string/Makefile (strop-tests): Add rawmemchr.
12684 * string/test-rawmemchr.c: New file.
12686 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12687 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12688 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12689 when compiling str{,n}casecmp and when AVX is available. Hook up
12690 new optimized code in initializers.
12692 2011-10-19 Andreas Schwab <schwab@redhat.com>
12694 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12695 __feraiseexcept instead of feraiseexcept.
12697 2011-10-18 Ulrich Drepper <drepper@gmail.com>
12699 * math/math_private.h: Define defaults for libc_fetestexcept and
12701 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12702 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12703 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12704 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12705 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12706 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12707 libc_fetestexcept and libc_feupdateenv.
12709 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12710 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12711 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12712 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12713 libc_feholdexcept_setround.
12715 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12716 Add s_nearbyint-c and s_nearbyintf-c.
12717 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12718 nearbyintf inlines.
12719 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12720 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12721 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12722 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12724 * math/math_private.h: Define defaults for libc_fegetround,
12725 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12726 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12727 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12728 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12729 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12730 standard functions.
12731 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12732 Remove comments and hacks for old compiler versions.
12733 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12734 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12735 libc_feholdexceptl.
12737 2011-10-18 Andreas Schwab <schwab@redhat.com>
12739 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
12740 (__feraiseexcept_renamed): Add __NTH.
12741 (feraiseexcept): Add __NTH. Rename local variables to fix
12742 namespace violations.
12744 2011-10-17 Ulrich Drepper <drepper@gmail.com>
12746 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12748 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12750 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12751 recently added interfaces.
12752 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12754 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12755 about macro parameter expansion.
12757 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12758 __NO_MATH_INLINES is defined. Cleanups.
12760 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12761 and __floorf is target has SSE4.1.
12762 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12763 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12764 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12765 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12767 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12769 (floorf): Likewise.
12771 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12773 2011-10-17 Andreas Schwab <schwab@redhat.com>
12775 * misc/sys/cdefs.h: Fix last change.
12777 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12780 2011-10-16 Ulrich Drepper <drepper@gmail.com>
12782 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12784 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12785 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12788 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12789 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12790 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12791 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12792 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12793 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12794 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12795 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12796 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12797 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12798 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12799 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12800 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12801 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12802 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12803 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12804 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12805 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12807 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12808 ceil, ceilf, floor, floorf.
12810 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12811 Perform IRELATIVE relocations last.
12813 * elf/do-rel.h: Add another parameter nrelative, replacing the
12814 local variable with the same name. Change name of the function
12815 to end in Rel or Rela (uppercase).
12816 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12817 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12818 elf_dynamic_do_##reloc function.
12820 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12822 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12823 is sufficient, at least on modern CPUs.
12825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12827 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12828 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12830 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12832 * math/bits/math-finite.h: Add entries for exp.
12833 * math/e_expl.c: Add __*_finite alias.
12834 * sysdeps/i386/fpu/e_exp.S: Likewise.
12835 * sysdeps/i386/fpu/e_expf.S: Likewise.
12836 * sysdeps/i386/fpu/e_expl.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12838 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12842 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12843 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12845 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12846 is sufficient, at least on modern CPUs.
12848 * ctype/ctype-info.c (__ctype_init): Define.
12849 * include/ctype.h (__ctype_init): Declare.
12850 (__ctype_b_loc): The variable is always initialized.
12851 (__ctype_toupper_loc): Likewise.
12852 (__ctype_tolower_loc): Likewise.
12853 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12854 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12856 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12858 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12860 * configure.in: Also look in $cxxmachine/include for C++ system
12863 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12865 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12866 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12867 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12868 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12869 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12870 (USE_AS_WMEMCMP): New macro.
12872 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12873 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12874 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12875 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12876 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12877 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12878 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12879 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12880 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12881 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12882 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12883 (USE_AS_WMEMCMP): New macro.
12884 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12885 * sysdeps/string/test-memcmp.c: Update.
12886 Fix simple_wmemcmp.
12888 * wcsmbs/wmemcmp.c: Update.
12889 (WMEMCMP): New macro.
12892 2011-10-12 Andreas Jaeger <aj@suse.de>
12895 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12897 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12899 * libio/iofwide.c (do_length): Avoid warning.
12901 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12903 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12905 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12907 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12908 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12909 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12910 * sysdeps/i386/i686/fpu/e_log.S: New file.
12911 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12912 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12914 * ctype/ctype.h: Add support for inlined isXXX functions when
12915 compiling C++ code.
12917 2011-10-14 Andreas Schwab <schwab@redhat.com>
12919 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12921 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12923 2011-10-13 Roland McGrath <roland@hack.frob.com>
12926 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12928 2011-10-13 Andreas Schwab <schwab@redhat.com>
12930 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12931 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12934 * sysdeps/x86_64/memrchr.S: Check for zero size.
12936 * string/stratcliff.c: Add memrchr tests.
12938 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12941 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12942 rawmemchr-sse2 rawmemchr-sse2-bsf.
12943 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12944 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12945 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12946 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12947 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12948 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12949 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12950 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12951 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12952 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12953 * string/memrchr.c (MEMRCHR): New macro.
12955 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12957 Add integration with gcc's -ffinite-math-only and optimize wrapper
12959 * Versions.def: Define GLIBC_2.15 version for libm.
12960 * math/Makefile (headers): Add bits/math-finite.h.
12961 * math/bits/math-finite.h: New file.
12962 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12963 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12964 * math/e_acoshl.c: Add __*_finite alias.
12965 * math/e_acosl.c: Likewise.
12966 * math/e_asinl.c: Likewise.
12967 * math/e_atan2l.c: Likewise.
12968 * math/e_atanhl.c: Likewise.
12969 * math/e_coshl.c: Likewise.
12970 * math/e_exp10.c: Likewise.
12971 * math/e_exp10f.c: Likewise.
12972 * math/e_exp10l.c: Likewise.
12973 * math/e_exp2l.c: Likewise.
12974 * math/e_fmodl.c: Likewise.
12975 * math/e_gammal_r.c: Likewise.
12976 * math/e_hypotl.c: Likewise.
12977 * math/e_j0l.c: Likewise.
12978 * math/e_j1l.c: Likewise.
12979 * math/e_jnl.c: Likewise.
12980 * math/e_lgammal_r.c: Likewise.
12981 * math/e_log10l.c: Likewise.
12982 * math/e_log2l.c: Likewise.
12983 * math/e_logl.c: Likewise.
12984 * math/e_powl.c: Likewise.
12985 * math/e_sinhl.c: Likewise.
12986 * math/e_sqrtl.c: Likewise.
12987 * math/e_scalb.c: Completely rewritten and optimized.
12988 * math/e_scalbf.c: Likewise.
12989 * math/e_scalbl.c: Likewise.
12990 * math/w_acos.c: Likewise.
12991 * math/w_acosf.c: Likewise.
12992 * math/w_acosl.c: Likewise.
12993 * math/w_acosh.c: Likewise.
12994 * math/w_acoshf.c: Likewise.
12995 * math/w_acoshl.c: Likewise.
12996 * math/w_asin.c: Likewise.
12997 * math/w_asinf.c: Likewise.
12998 * math/w_asinl.c: Likewise.
12999 * math/w_atan2.c: Likewise.
13000 * math/w_atan2f.c: Likewise.
13001 * math/w_atan2l.c: Likewise.
13002 * math/w_atanh.c: Likewise.
13003 * math/w_atanhf.c: Likewise.
13004 * math/w_atanhl.c: Likewise.
13005 * math/w_exp10.c: Likewise.
13006 * math/w_exp10f.c: Likewise.
13007 * math/w_exp10l.c: Likewise.
13008 * math/w_fmod.c: Likewise.
13009 * math/w_fmodf.c: Likewise.
13010 * math/w_fmodl.c: Likewise.
13011 * math/w_j0.c: Likewise.
13012 * math/w_j0f.c: Likewise.
13013 * math/w_j0l.c: Likewise.
13014 * math/w_j1.c: Likewise.
13015 * math/w_j1f.c: Likewise.
13016 * math/w_j1l.c: Likewise.
13017 * math/w_jn.c: Likewise.
13018 * math/w_jnf.c: Likewise.
13019 * math/w_log.c: Likewise.
13020 * math/w_logf.c: Likewise.
13021 * math/w_logl.c: Likewise.
13022 * math/w_log10.c: Likewise.
13023 * math/w_log10f.c: Likewise.
13024 * math/w_log10l.c: Likewise.
13025 * math/w_log2.c: Likewise.
13026 * math/w_log2f.c: Likewise.
13027 * math/w_log2l.c: Likewise.
13028 * math/w_pow.c: Likewise.
13029 * math/w_powf.c: Likewise.
13030 * math/w_powl.c: Likewise.
13031 * math/w_remainder.c: Likewise.
13032 * math/w_remainderf.c: Likewise.
13033 * math/w_remainderl.c: Likewise.
13034 * math/w_scalb.c: Likewise.
13035 * math/w_scalbf.c: Likewise.
13036 * math/w_scalbl.c: Likewise.
13037 * math/w_sqrt.c: Likewise.
13038 * math/w_sqrtf.c: Likewise.
13039 * math/w_sqrtl.c: Likewise.
13040 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13041 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13043 * math/math_private.h: Declare __kernel_standard_f.
13044 * math/w_cosh.c: Remove cruft and optimize a bit.
13045 * math/w_coshf.c: Likewise.
13046 * math/w_coshl.c: Likewise.
13047 * math/w_exp2.c: Likewise.
13048 * math/w_exp2f.c: Likewise.
13049 * math/w_exp2l.c: Likewise.
13050 * math/w_hypot.c: Likewise.
13051 * math/w_hypotf.c: Likewise.
13052 * math/w_hypotl.c: Likewise.
13053 * math/w_lgamma.c: Likewise.
13054 * math/w_lgamma_r.c: Likewise.
13055 * math/w_lgammaf.c: Likewise.
13056 * math/w_lgammaf_r.c: Likewise.
13057 * math/w_lgammal.c: Likewise.
13058 * math/w_lgammal_r.c: Likewise.
13059 * math/w_sinh.c: Likewise.
13060 * math/w_sinhf.c: Likewise.
13061 * math/w_sinhl.c: Likewise.
13062 * math/w_tgamma.c: Likewise.
13063 * math/w_tgammaf.c: Likewise.
13064 * math/w_tgammal.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13066 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13067 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13068 Minor optimizations. Pretty printing. Remove cruft.
13069 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13070 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13071 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13072 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13073 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13074 * sysdeps/i386/fpu/e_asin.S: Likewise.
13075 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13076 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13077 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13078 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13079 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13080 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13081 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13082 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13083 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13084 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13085 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13086 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13087 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13088 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13089 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13090 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13091 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13092 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13093 * sysdeps/i386/fpu/e_log.S: Likewise.
13094 * sysdeps/i386/fpu/e_log10.S: Likewise.
13095 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13096 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13097 * sysdeps/i386/fpu/e_log2.S: Likewise.
13098 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13099 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13100 * sysdeps/i386/fpu/e_logf.S: Likewise.
13101 * sysdeps/i386/fpu/e_logl.S: Likewise.
13102 * sysdeps/i386/fpu/e_pow.S: Likewise.
13103 * sysdeps/i386/fpu/e_powf.S: Likewise.
13104 * sysdeps/i386/fpu/e_powl.S: Likewise.
13105 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13106 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13107 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13108 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13109 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13110 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13111 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13112 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13113 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13115 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13119 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13120 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13121 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13122 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13123 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13124 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13125 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13127 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13128 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13130 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13131 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13132 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13134 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13135 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13136 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13137 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13138 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13139 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13140 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13141 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13142 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13143 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13144 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13145 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13146 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13147 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13148 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13149 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13150 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13151 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13152 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13153 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13154 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13155 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13165 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13169 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13170 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13171 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13172 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13173 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13174 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13175 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13176 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13177 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13178 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13179 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13180 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13182 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13183 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13184 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13185 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13186 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13188 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13189 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13190 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13191 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13192 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13193 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13194 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13195 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13197 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13198 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13199 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13200 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13201 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13202 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13205 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13206 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13207 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13208 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13209 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13210 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13211 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13212 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13213 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13214 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
13215 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
13216 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
13217 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
13218 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13219 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13220 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13221 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13222 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
13223 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13224 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
13225 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
13226 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
13227 (__isnanf): Likewise.
13228 (__isinf_ns): Likewise.
13229 (__isinf_nsf): Likewise.
13230 (__finite): Likewise.
13231 (__finitef): Likewise.
13232 (__ieee754_sqrt): Define as macro.
13233 (__ieee754_sqrtf): Define as macro.
13234 (__ieee754_sqrtl): Define as macro.
13235 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
13237 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
13238 __FINITE_MATH_ONLY__ consistent.
13239 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
13241 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
13243 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
13246 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
13248 2011-10-09 Ulrich Drepper <drepper@gmail.com>
13250 * po/ja.po: Update from translation team.
13252 2011-10-08 Roland McGrath <roland@hack.frob.com>
13254 * locale/programs/locarchive.c (prepare_address_space): New function.
13255 (create_archive, enlarge_archive, open_archive): Use it.
13257 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
13258 inside [SHARED], where it is used.
13260 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
13262 * nss/getent.c (netgroup_keys): Remove unused variable.
13263 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13265 2011-10-08 Ulrich Drepper <drepper@gmail.com>
13267 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
13268 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
13269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
13270 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
13271 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
13272 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
13273 * math/Makefile (libm-calls): Add s_isinf_ns.
13274 * math/divtc3.c: Use __isinf_nsl instead of isinf.
13275 * math/multc3.c: Likewise.
13276 * math/s_casin.c: Likewise.
13277 * math/s_casinf.c: Likewise.
13278 * math/s_casinl.c: Likewise.
13279 * math/s_ccos.c: Likewise.
13280 * math/s_ccosf.c: Likewise.
13281 * math/s_ccosl.c: Likewise.
13282 * math/s_ctan.c: Likewise.
13283 * math/s_ctanf.c: Likewise.
13284 * math/s_ctanh.c: Likewise.
13285 * math/s_ctanhf.c: Likewise.
13286 * math/s_ctanhl.c: Likewise.
13287 * math/s_ctanl.c: Likewise.
13288 * math/w_fmod.c: Likewise.
13289 * math/w_fmodf.c: Likewise.
13290 * math/w_fmodl.c: Likewise.
13291 * math/w_remainder.c: Likewise.
13292 * math/w_remainderf.c: Likewise.
13293 * math/w_remainderl.c: Likewise.
13294 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13295 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13296 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13298 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13299 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13300 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13301 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13303 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13305 * stdio-common/printf_fphex.c: Likewise.
13306 * stdio-common/printf_size.c: Likewise.
13308 * math/e_exp10.c: Include math_private.h using <...> not "...".
13309 * math/e_exp10f.c: Likewise.
13310 * math/e_exp10l.c: Likewise.
13311 * math/e_exp2l.c: Likewise.
13312 * math/e_j0l.c: Likewise.
13313 * math/e_j1l.c: Likewise.
13314 * math/e_jnl.c: Likewise.
13315 * math/e_lgammal_r.c: Likewise.
13316 * math/e_rem_pio2l.c: Likewise.
13317 * math/e_scalb.c: Likewise.
13318 * math/e_scalbf.c: Likewise.
13319 * math/e_scalbl.c: Likewise.
13320 * math/k_cosl.c: Likewise.
13321 * math/k_sinl.c: Likewise.
13322 * math/k_tanl.c: Likewise.
13323 * math/s_cacoshf.c: Likewise.
13324 * math/s_catan.c: Likewise.
13325 * math/s_catanf.c: Likewise.
13326 * math/s_catanh.c: Likewise.
13327 * math/s_catanhf.c: Likewise.
13328 * math/s_catanhl.c: Likewise.
13329 * math/s_catanl.c: Likewise.
13330 * math/s_ccosh.c: Likewise.
13331 * math/s_ccoshf.c: Likewise.
13332 * math/s_ccoshl.c: Likewise.
13333 * math/s_cexp.c: Likewise.
13334 * math/s_cexpf.c: Likewise.
13335 * math/s_cexpl.c: Likewise.
13336 * math/s_clog.c: Likewise.
13337 * math/s_clog10.c: Likewise.
13338 * math/s_clog10f.c: Likewise.
13339 * math/s_clog10l.c: Likewise.
13340 * math/s_clogf.c: Likewise.
13341 * math/s_clogl.c: Likewise.
13342 * math/s_csin.c: Likewise.
13343 * math/s_csinf.c: Likewise.
13344 * math/s_csinh.c: Likewise.
13345 * math/s_csinhf.c: Likewise.
13346 * math/s_csinhl.c: Likewise.
13347 * math/s_csinl.c: Likewise.
13348 * math/s_csqrt.c: Likewise.
13349 * math/s_csqrtf.c: Likewise.
13350 * math/s_csqrtl.c: Likewise.
13351 * math/s_ctan.c: Likewise.
13352 * math/s_ctanf.c: Likewise.
13353 * math/s_ctanh.c: Likewise.
13354 * math/s_ctanhf.c: Likewise.
13355 * math/s_ctanhl.c: Likewise.
13356 * math/s_ctanl.c: Likewise.
13357 * math/s_ldexp.c: Likewise.
13358 * math/s_ldexpf.c: Likewise.
13359 * math/s_ldexpl.c: Likewise.
13360 * math/s_significand.c: Likewise.
13361 * math/s_significandf.c: Likewise.
13362 * math/s_significandl.c: Likewise.
13363 * math/w_acos.c: Likewise.
13364 * math/w_acosf.c: Likewise.
13365 * math/w_acosh.c: Likewise.
13366 * math/w_acoshf.c: Likewise.
13367 * math/w_acoshl.c: Likewise.
13368 * math/w_acosl.c: Likewise.
13369 * math/w_asin.c: Likewise.
13370 * math/w_asinf.c: Likewise.
13371 * math/w_asinl.c: Likewise.
13372 * math/w_atan2.c: Likewise.
13373 * math/w_atan2f.c: Likewise.
13374 * math/w_atan2l.c: Likewise.
13375 * math/w_atanh.c: Likewise.
13376 * math/w_atanhf.c: Likewise.
13377 * math/w_atanhl.c: Likewise.
13378 * math/w_cosh.c: Likewise.
13379 * math/w_coshf.c: Likewise.
13380 * math/w_coshl.c: Likewise.
13381 * math/w_dremf.c: Likewise.
13382 * math/w_exp10.c: Likewise.
13383 * math/w_exp10f.c: Likewise.
13384 * math/w_exp10l.c: Likewise.
13385 * math/w_exp2.c: Likewise.
13386 * math/w_exp2f.c: Likewise.
13387 * math/w_fmod.c: Likewise.
13388 * math/w_fmodf.c: Likewise.
13389 * math/w_fmodl.c: Likewise.
13390 * math/w_hypot.c: Likewise.
13391 * math/w_hypotf.c: Likewise.
13392 * math/w_hypotl.c: Likewise.
13393 * math/w_j0.c: Likewise.
13394 * math/w_j0f.c: Likewise.
13395 * math/w_j0l.c: Likewise.
13396 * math/w_j1.c: Likewise.
13397 * math/w_j1f.c: Likewise.
13398 * math/w_j1l.c: Likewise.
13399 * math/w_jn.c: Likewise.
13400 * math/w_jnf.c: Likewise.
13401 * math/w_jnl.c: Likewise.
13402 * math/w_lgamma.c: Likewise.
13403 * math/w_lgamma_r.c: Likewise.
13404 * math/w_lgammaf.c: Likewise.
13405 * math/w_lgammaf_r.c: Likewise.
13406 * math/w_lgammal.c: Likewise.
13407 * math/w_lgammal_r.c: Likewise.
13408 * math/w_log.c: Likewise.
13409 * math/w_log10.c: Likewise.
13410 * math/w_log10f.c: Likewise.
13411 * math/w_log10l.c: Likewise.
13412 * math/w_log2.c: Likewise.
13413 * math/w_log2f.c: Likewise.
13414 * math/w_log2l.c: Likewise.
13415 * math/w_logf.c: Likewise.
13416 * math/w_logl.c: Likewise.
13417 * math/w_pow.c: Likewise.
13418 * math/w_powf.c: Likewise.
13419 * math/w_powl.c: Likewise.
13420 * math/w_remainder.c: Likewise.
13421 * math/w_remainderf.c: Likewise.
13422 * math/w_remainderl.c: Likewise.
13423 * math/w_scalb.c: Likewise.
13424 * math/w_scalbf.c: Likewise.
13425 * math/w_scalbl.c: Likewise.
13426 * math/w_sinh.c: Likewise.
13427 * math/w_sinhf.c: Likewise.
13428 * math/w_sinhl.c: Likewise.
13429 * math/w_sqrt.c: Likewise.
13430 * math/w_sqrtf.c: Likewise.
13431 * math/w_sqrtl.c: Likewise.
13432 * math/w_tgamma.c: Likewise.
13433 * math/w_tgammaf.c: Likewise.
13434 * math/w_tgammal.c: Likewise.
13436 * po/ja.po: Update from translation team.
13438 2011-09-29 Andreas Jaeger <aj@suse.de>
13441 * sunrpc/netname.c (netname2host): Fix logic.
13445 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13447 * math/w_remainder.c (__remainder): Likewise.
13448 * math/w_remainderf.c (__remainderf): Likewise.
13449 * math/libm-test.inc (remainder_test): Add test cases.
13451 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13453 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13456 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13458 * string/test-memcmp.c: Avoid unncessary #defines.
13459 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13461 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13463 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13464 Use new sse2 version for core i3 - i7 as it's faster
13465 than sse42 version.
13466 (bit_Prefer_PMINUB_for_stringop): New.
13467 * sysdeps/x86_64/rawmemchr.S: Update.
13468 Replace with faster SSE2 version.
13469 * sysdeps/x86_64/memrchr.S: New file.
13470 * sysdeps/x86_64/memchr.S: Update.
13471 Replace with faster SSE2 version.
13473 2011-09-12 Marek Polacek <mpolacek@redhat.com>
13475 * elf/dl-load.c (lose): Add cast to avoid warning.
13477 2011-10-07 Ulrich Drepper <drepper@gmail.com>
13479 * po/ca.po: Update from translation team.
13481 * inet/getnetgrent_r.c: Hook up nscd.
13482 * nscd/Makefile (routines): Add nscd_netgroup.
13483 (nscd-modules): Add netgroupcache.
13484 (CFLAGS-netgroupcache.c): Define.
13485 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13486 (cache_search): Add const to second parameter.
13487 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13489 (dbs): Add netgrdb entry.
13490 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13491 (verify_persistent_db): Handle netgrdb.
13492 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13493 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13495 (netgroup_response_header): Define.
13496 (innetgroup_response_header): Define.
13497 (datahead): Add netgroup_response_header and innetgroup_response_header
13499 * nscd/nscd.conf: Add entries for netgroup cache.
13500 * nscd/nscd.h (dbtype): Add netgrdb.
13501 (_PATH_NSCD_NETGROUP_DB): Define.
13502 (netgroup_iov_disabled): Declare.
13503 (xmalloc, xcalloc, xrealloc): Move declarations here.
13504 (cache_search): Adjust prototype.
13505 Add netgroup-related prototypes.
13506 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13507 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13508 (__nscd_innetgr): Declare.
13509 * nscd/selinux.c (perms): Use access_vector_t as element type and
13510 add netgroup-related initializers.
13511 * nscd/netgroupcache.c: New file.
13512 * nscd/nscd_netgroup.c: New file.
13513 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13514 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13515 For four parameters use innetgr.
13516 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13517 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13518 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13519 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13521 * nscd/connections.c (register_traced_file): Don't register file
13522 for disabled databases.
13524 2011-10-06 Ulrich Drepper <drepper@gmail.com>
13526 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13528 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13529 from tree and freeing node.
13531 2011-09-25 Jiri Olsa <jolsa@redhat.com>
13533 * nss/nsswitch.c (__nss_database_lookup): Handle
13534 nss_parse_service_list out of memory case.
13536 2011-09-15 Jiri Olsa <jolsa@redhat.com>
13538 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13539 out of memory case.
13541 2011-10-04 Andreas Schwab <schwab@redhat.com>
13543 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13544 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13546 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13547 elf_machine_rela, elf_machine_lazy_rel.
13548 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13549 (ELF_DYNAMIC_DO_REL): Likewise.
13550 (ELF_DYNAMIC_DO_RELA): Likewise.
13551 (ELF_DYNAMIC_RELOCATE): Likewise.
13552 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13553 to ELF_DYNAMIC_DO_REL.
13554 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13555 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13556 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13558 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13559 skip_ifunc, don't call ifunc function if non-zero.
13560 (elf_machine_rela): Likewise.
13561 (elf_machine_lazy_rel): Likewise.
13562 (elf_machine_lazy_rela): Likewise.
13563 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13564 (elf_machine_lazy_rel): Likewise.
13565 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13567 (elf_machine_lazy_rel): Likewise.
13568 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13570 (elf_machine_lazy_rel): Likewise.
13571 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13572 (elf_machine_lazy_rel): Likewise.
13573 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13574 (elf_machine_lazy_rel): Likewise.
13575 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13576 (elf_machine_lazy_rel): Likewise.
13577 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13578 (elf_machine_lazy_rel): Likewise.
13579 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13580 (elf_machine_lazy_rel): Likewise.
13581 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13582 (elf_machine_lazy_rel): Likewise.
13584 2011-09-28 Ulrich Drepper <drepper@gmail.com>
13586 * nss/nss_files/files-init.c (_nss_files_init): Use static
13587 initialization for all the *_traced_file variables.
13589 2011-09-28 Andreas Schwab <schwab@redhat.com>
13591 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13593 2011-09-27 Roland McGrath <roland@hack.frob.com>
13596 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13598 2011-09-27 Andreas Schwab <schwab@redhat.com>
13600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13601 Reread the line before reparsing it.
13603 2011-09-26 Andreas Schwab <schwab@redhat.com>
13605 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13607 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13608 Maxim Kuvyrkov <maxim@codesourcery.com>
13609 Joseph Myers <joseph@codesourcery.com>
13611 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13612 if needed for __stack_chk_guard.
13614 2011-09-19 Roland McGrath <roland@hack.frob.com>
13616 * sysdeps/posix/spawni.c (script_execute): Always define it.
13617 It will be optimized away if unused.
13618 (maybe_script_execute): New function.
13619 (__spawni): Call it.
13621 * Makerules: Don't include tls.make.
13622 (config-tls): Always set to thread.
13623 * tls.make.c: File removed.
13625 2011-09-19 Mike Frysinger <vapier@gentoo.org>
13627 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13628 * config.make.in (CPPFLAGS-config): New substituted variable.
13630 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13632 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13635 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13636 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13638 2011-09-15 Roland McGrath <roland@hack.frob.com>
13640 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13641 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13642 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13643 (CALL_FAIL): Likewise.
13644 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13645 (CALL_FAIL): Macro removed.
13646 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13648 2011-09-15 Ulrich Drepper <drepper@gmail.com>
13650 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13651 for __FINITE_MATH_ONLY__ == 1.
13653 2011-09-15 Andreas Schwab <schwab@redhat.com>
13655 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13656 __ieee754_sqrt instead of sqrt.
13657 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13658 __ieee754_sqrtf instead of sqrtf.
13659 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13660 __floorf instead of floorf.
13661 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13662 __floorf, __truncf instead of floorf, truncf.
13664 2011-09-14 Ulrich Drepper <drepper@gmail.com>
13666 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13668 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13669 __extern_always_inline.
13670 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13673 2011-09-14 Andreas Schwab <schwab@redhat.com>
13675 * elf/rtld.c (dl_main): Also relocate in dependency order when
13676 doing symbol dependency testing.
13678 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13680 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13681 Always define `refsym'.
13683 2011-09-13 Andreas Schwab <schwab@redhat.com>
13685 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13686 (__FD_ELT): Renamed from __FDELT.
13687 * misc/bits/select2.h (__FD_ELT): Likewise.
13688 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13689 __FD_MASK instead of __FDELT, __FDMASK.
13690 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13692 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13695 * elf/Makefile (gen-ldd): Fix pattern.
13697 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13698 (init_tls): Likewise.
13700 2011-09-12 Ulrich Drepper <drepper@gmail.com>
13702 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13704 2011-09-12 Andreas Schwab <schwab@redhat.com>
13706 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13707 `struct cmsghdr *' instead of `void *'.
13708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13711 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13713 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13715 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13716 ldd_rewrite_script.
13718 2011-09-11 Ulrich Drepper <drepper@gmail.com>
13720 * configure.in: Remove --with-tls option.
13721 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13722 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13723 out in case it is missing.
13724 * sysdeps/ia64/elf/configure.in: Likewise.
13725 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13726 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13727 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13728 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13729 * sysdeps/sh/elf/configure.in: Likewise.
13730 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13731 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13732 * sysdeps/x86_64/elf/configure.in: Likewise.
13733 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13734 * sysdeps/mach/hurd/tls.h: Likewise.
13737 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13740 * configure.in: Fix use of AC_INIT.
13742 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13744 2011-09-10 Ulrich Drepper <drepper@gmail.com>
13746 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13748 * malloc/hooks.c: Likewise.
13751 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13752 variables statically.
13753 (narenas): Initialize.
13754 (list_lock): Initialize.
13755 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13756 initializtion of main_arena and list_lock. Small cleanups.
13757 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13758 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13759 Add initializers to main_arena and mp_.
13760 (malloc_state): Remove pagesize member. Change all users to use
13763 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13764 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13765 is always initialized.
13767 * malloc/malloc.c: Removed unused configurations and dead code.
13768 * malloc/arena.c: Likewise.
13769 * malloc/hooks.c: Likewise.
13770 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
13772 * include/tls.h: Removed. USE___THREAD must always be defined.
13773 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13774 * elf/dl-libc.c: Likewise.
13775 * elf/dl-tsd.c: Likewise.
13776 * include/errno.h: Likewise.
13777 * include/netdb.h: Likewise.
13778 * include/resolv.h: Likewise.
13779 * inet/herrno-loc.c: Likewise.
13780 * inet/herrno.c: Likewise.
13781 * malloc/arena.c: Likewise.
13782 * malloc/hooks.c: Likewise.
13783 * malloc/malloc.c: Likewise.
13784 * resolv/res-state.c: Likewise.
13785 * resolv/res_libc.c: Likewise.
13786 * sysdeps/i386/dl-machine.h: Likewise.
13787 * sysdeps/ia64/dl-machine.h: Likewise.
13788 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13789 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13790 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13791 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13792 * sysdeps/sh/dl-machine.h: Likewise.
13793 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13794 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13795 * sysdeps/unix/i386/sysdep.S: Likewise.
13796 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13797 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13798 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13799 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13800 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13801 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13802 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13803 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13806 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13807 * sysdeps/x86_64/dl-machine.h: Likewise.
13808 * tls.make.c: Likewise.
13810 * configure.in: Remove --with-__thread option. Make tests for
13811 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13812 tls_model attribute fail if no support is available. Remove
13814 * Makeconfig: Adjust for dropped configure option. All features are
13816 * Makerules: Likewise.
13817 * Versions.def: Likewise.
13818 * argp/argp-fmtstream.c: Likewise.
13819 * argp/argp-fmtstream.h: Likewise.
13820 * argp/argp-help.c: Likewise.
13821 * assert/assert.c: Likewise.
13822 * config.h.in: Likewise.
13823 * config.make.in: Likewise.
13824 * configure: Likewise.
13825 * configure.in: Likewise.
13826 * csu/Versions: Likewise.
13827 * csu/init.c: Likewise.
13828 * elf/tst-audit2.c: Likewise.
13829 * elf/tst-tls10.c: Likewise.
13830 * elf/tst-tls10.h: Likewise.
13831 * elf/tst-tls11.c: Likewise.
13832 * elf/tst-tls12.c: Likewise.
13833 * elf/tst-tls14.c: Likewise.
13834 * elf/tst-tlsmod11.c: Likewise.
13835 * elf/tst-tlsmod12.c: Likewise.
13836 * elf/tst-tlsmod13.c: Likewise.
13837 * elf/tst-tlsmod13a.c: Likewise.
13838 * elf/tst-tlsmod14a.c: Likewise.
13839 * elf/tst-tlsmod15b.c: Likewise.
13840 * elf/tst-tlsmod16a.c: Likewise.
13841 * elf/tst-tlsmod16b.c: Likewise.
13842 * elf/tst-tlsmod7.c: Likewise.
13843 * elf/tst-tlsmod8.c: Likewise.
13844 * elf/tst-tlsmod9.c: Likewise.
13845 * gmon/gmon.c: Likewise.
13846 * grp/fgetgrent_r.c: Likewise.
13847 * grp/putgrent.c: Likewise.
13848 * hurd/fopenport.c: Likewise.
13849 * include/libc-symbols.h: Likewise.
13850 * include/tls.h: Likewise.
13851 * intl/gettextP.h: Likewise.
13852 * intl/loadinfo.h: Likewise.
13853 * locale/global-locale.c: Likewise.
13854 * locale/localeinfo.h: Likewise.
13855 * mach/devstream.c: Likewise.
13856 * malloc/arena.c: Likewise.
13857 * malloc/set-freeres.c: Likewise.
13858 * misc/err.c: Likewise.
13859 * misc/getttyent.c: Likewise.
13860 * misc/mntent_r.c: Likewise.
13861 * posix/getopt.c: Likewise.
13862 * posix/wordexp.c: Likewise.
13863 * pwd/fgetpwent_r.c: Likewise.
13864 * resolv/Versions: Likewise.
13865 * resolv/res_hconf.c: Likewise.
13866 * shadow/fgetspent_r.c: Likewise.
13867 * shadow/putspent.c: Likewise.
13868 * stdio-common/printf_fphex.c: Likewise.
13869 * stdio-common/tmpfile.c: Likewise.
13870 * stdlib/abort.c: Likewise.
13871 * stdlib/fmtmsg.c: Likewise.
13872 * sunrpc/auth_unix.c: Likewise.
13873 * sunrpc/clnt_perr.c: Likewise.
13874 * sunrpc/clnt_tcp.c: Likewise.
13875 * sunrpc/clnt_udp.c: Likewise.
13876 * sunrpc/clnt_unix.c: Likewise.
13877 * sunrpc/openchild.c: Likewise.
13878 * sunrpc/svc_simple.c: Likewise.
13879 * sunrpc/svc_tcp.c: Likewise.
13880 * sunrpc/svc_udp.c: Likewise.
13881 * sunrpc/svc_unix.c: Likewise.
13882 * sunrpc/xdr.c: Likewise.
13883 * sunrpc/xdr_array.c: Likewise.
13884 * sunrpc/xdr_rec.c: Likewise.
13885 * sunrpc/xdr_ref.c: Likewise.
13886 * sunrpc/xdr_stdio.c: Likewise.
13888 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13890 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13892 2011-07-03 Andreas Jaeger <aj@suse.de>
13894 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13895 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13896 regenerate with gen-libm-tests.pl.
13898 2010-05-12 Petr Baudis <pasky@suse.cz>
13901 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13902 around j0() zero points by switching to j1().
13903 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13908 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13910 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13912 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13915 Patch in part by Pavel Roskin <proski@gnu.org>.
13918 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13920 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13921 Free memory block if necessary.
13924 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13925 be NULL. Don't lock in this case.
13927 2011-09-09 Roland McGrath <roland@hack.frob.com>
13929 * elf/elf.h (ELFOSABI_GNU): New macro.
13930 (ELFOSABI_LINUX): Define to that.
13932 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13934 * string/strncat.c (strncat): Undef the symbol in case it has been
13935 defined in bits/string.h.
13937 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13939 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13941 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13944 2011-08-17 Andreas Jaeger <aj@suse.de>
13946 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13948 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13949 Ian Lance Taylor <iant@google.com>
13951 * math/libm-test.inc (lround_test): New testcase.
13952 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13954 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13956 * Makefile: Remove support for automatic cvs check-ins.
13957 * Makerules: Likewise.
13958 * config.make.in: Likewise.
13959 * configure.in: Likewise.
13960 * intl/Makefile: Likewise.
13961 * locale/Makefile: Likewise.
13962 * po/Makefile: Likewise.
13963 * posix/Makefile: Likewise.
13964 * sysdeps/gnu/Makefile: Likewise.
13965 * sysdeps/mach/hurd/Makefile: Likewise.
13966 * sysdeps/sparc/sparc32/Makefile: Likewise.
13969 * posix/Makefile (bug-regex32-ENV): Define.
13970 Patch by John Stanley <jpsinthemix@verizon.net>.
13972 * misc/Makefile (headers): Add bits/select2.h.
13973 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13974 * misc/bits/select2.h: New file.
13975 * include/bits/select2.h: New file.
13976 * debug/Makefile (routines): Add fdelt_chk.
13977 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13978 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13980 * debug/fdelt_chk.c: New file.
13982 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13983 * wcsmbs/test-wmemcmp.c: Likewise.
13984 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13985 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13987 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13989 * string/Makefile (strop-tests): Add memcmp.
13990 * string/test-wmemcmp.c: New file.
13991 * string/test-memcmp.c: Add wmemcmp support.
13993 2011-09-08 Roland McGrath <roland@hack.frob.com>
13996 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13999 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14000 garbage value in a __mach_port_mod_refs call in the cases of the
14001 task-self and thread-self ports.
14003 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14005 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14007 2011-09-08 Andreas Schwab <schwab@redhat.com>
14009 * elf/dl-load.c (lose): Check for non-null L.
14011 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14013 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14015 * elf/dl-libc.c (dlerror_run): Pass back error code from
14019 * elf/dl-load.c (lose): Free l_origin if it is valid.
14021 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14023 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14024 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14025 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14026 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14027 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14028 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14030 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14032 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14033 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14034 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14035 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14036 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14037 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14038 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14039 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14040 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14041 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14043 2011-08-15 Alan Modra <amodra@gmail.com>
14046 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14047 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14048 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14049 ppc_mcount to static-only-routines.
14050 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14052 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14053 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14055 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14057 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14058 for finite and infinity parameters.
14060 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14062 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14063 and add nop instructions for throughput optimization.
14064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14066 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14068 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14069 aligned copy for power7 with vector-scalar instructions.
14070 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14072 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14077 2011-09-07 Andreas Schwab <schwab@redhat.com>
14080 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14083 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14085 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14086 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14087 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14088 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14091 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14093 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14094 Forgot to demangle the pointer.
14096 * sysdeps/i386/sysdep.h: Define atom_text_section.
14097 * sysdeps/x86_64/sysdep.h: Likewise.
14098 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14099 section with atom_text_section.
14100 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14101 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14102 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14103 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14104 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14106 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14107 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14108 already be defined. Change to take two parameters and don't assign
14109 result to variable. Adjust all users.
14110 Define INTERNAL_GETTIME if not already defined.
14111 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14114 HAVE_CLOCK_GETTIME_VSYSCALL.
14115 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14118 gettimeofday vsyscall, just use time.
14120 2011-09-06 Andreas Schwab <schwab@redhat.com>
14122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14125 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14127 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14129 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14131 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14133 syscall if possible.
14135 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14137 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14138 e_ident. Don't pass to find_mapsXX.
14139 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14141 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14144 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14145 * sysdeps/x86_64/multiarch/strchr.S: Update.
14146 Check bit_slow_BSF bit.
14147 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14148 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14149 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14151 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14154 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14156 (tryshell): Define.
14157 (__spawni): Change last parameter to be flag. Test
14158 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14159 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14160 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14161 * posix/spawni.c: Likewise.
14162 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14163 * posix/spawnp.c: Likewise. Change normal version to use
14164 SPAWN_XFLAGS_USE_PATH.
14165 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14166 SPAWN_XFLAGS_TRY_SHELL.
14169 * posix/glob.h: Remove gcc 1.x support.
14172 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14174 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14177 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14179 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14180 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14181 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14182 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14183 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14184 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14186 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14188 * sysdeps/x86_64/wcscmp.S: New file.
14190 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14191 wcscmp-c wcscmp-sse2
14192 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14193 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14194 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14195 * wcsmbs/wcscmp.c: Allow renaming.
14197 2011-09-05 David S. Miller <davem@davemloft.net>
14199 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14200 stack slot, rather than the struct return pointer slot.
14201 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14202 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14204 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14206 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14208 * po/ja.po: Update from translation team.
14211 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14212 kernel in 64-bit binaries.
14214 2011-09-01 David S. Miller <davem@davemloft.net>
14216 * elf/elf.h (HWCAP_SPARC_*): Move to..
14217 * sysdeps/sparc/sysdep.h: this new file and add new values.
14218 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
14219 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
14220 _DL_HWCAP_COUNT to 24.
14221 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14223 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
14224 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
14225 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
14226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
14227 instead of magic constants.
14228 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14230 2011-08-31 David S. Miller <davem@davemloft.net>
14232 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
14233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
14234 Reimplement to do errno handling inline.
14235 (SYSCALL_ERROR_HANDLER): New macro.
14236 (__SYSCALL_STRING): Do not do errno handling in asm.
14237 (__CLONE_SYSCALL_STRING): Delete.
14238 (__INTERNAL_SYSCALL_STRING): Delete.
14239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
14240 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
14241 (PSEUDO): Reimplement to do errno handling inline.
14242 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
14243 (SYSCALL_ERROR_HANDLER): New macro.
14244 (__SYSCALL_STRING): Do not do errno handling in asm.
14245 (__CLONE_SYSCALL_STRING): Delete.
14246 (__INTERNAL_SYSCALL_STRING): Delete.
14247 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
14248 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
14250 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
14251 (inline_syscall*): Add 'err' argument.
14252 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
14253 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
14254 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
14255 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
14257 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
14258 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14260 2011-08-30 Andreas Schwab <schwab@redhat.com>
14262 * elf/rtld.c (dl_main): Relocate objects in dependency order.
14264 2011-08-29 Jiri Olsa <jolsa@redhat.com>
14266 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
14269 2011-08-24 David S. Miller <davem@davemloft.net>
14271 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
14273 2011-08-24 Andreas Schwab <schwab@redhat.com>
14275 * elf/Makefile: Add rules to build and run unload8 test.
14276 * elf/unload8.c: New file.
14277 * elf/unload8mod1.c: New file.
14278 * elf/unload8mod1x.c: New file.
14279 * elf/unload8mod2.c: New file.
14280 * elf/unload8mod3.c: New file.
14282 * elf/dl-close.c (_dl_close_worker): Reset private search list if
14285 2011-08-23 David S. Miller <davem@davemloft.net>
14287 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14288 subtract stack bias.
14289 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14290 %sp not %fp in calculations.
14291 (_JMPBUF_UNWINDS_ADJ): Likewise.
14293 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14294 (aio_suspend): Call it to force an exception region around the
14295 AIO_MISC_WAIT() invocation.
14297 2011-08-23 Andreas Schwab <schwab@redhat.com>
14299 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14302 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14304 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14306 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14307 and <dl-machine.h>.
14308 (Elf64_FuncDesc): Remove.
14310 2011-08-22 David S. Miller <davem@davemloft.net>
14312 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14313 sigaltstack check, add missing cfi directives.
14314 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14315 missing cfi directives, and sigaltstack handling.
14317 2011-08-16 Andreas Schwab <schwab@redhat.com>
14320 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14321 object is seen twice.
14322 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14324 * elf/Makefile (distribute): Add tst-initorder2.c.
14325 (tests): Add tst-initorder2.
14326 (modules-names): Add tst-initorder2a tst-initorder2b
14327 tst-initorder2c tst-initorder2d. Add rules to build them.
14328 ($(objpfx)tst-initorder2.out): New rule.
14329 * elf/tst-initorder2.c: New file.
14330 * elf/tst-initorder2.exp: New file.
14332 2011-08-22 Andreas Schwab <schwab@redhat.com>
14334 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14336 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14337 dependencies back to end of function.
14339 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14340 $(elfobjdir)/ld.so.
14342 2011-08-21 Ulrich Drepper <drepper@gmail.com>
14344 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14345 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14346 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14347 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14348 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14349 of __vdso_gettimeofday.
14350 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14351 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14353 (_libc_vdso_platform_setup): Remove initialization of
14354 __vdso_gettimeofday and __vdso_time.
14356 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14358 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14359 and fgetc_unlocked.
14360 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14363 * elf/dl-open.c (add_to_global): Report additions to the global scope
14364 for LD_DEBUG=scopes.
14365 (dl_open_worker): Also print scope of newly loaded dependencies.
14366 (_dl_show_scope): Indicate if there is no scope.
14369 * stdio-common/Makefile (tests): Add bug24.
14370 * stdio-common/bug24.c: New file.
14372 2011-08-19 Andreas Jaeger <aj@suse.de>
14375 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14376 non-existant file when using close-on-exec mode.
14378 2011-08-20 Ulrich Drepper <drepper@gmail.com>
14380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14381 the very first instruction.
14383 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14384 the CFI state in the end.
14385 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14386 inclusion of dl-trampoline.h.
14387 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14389 2011-08-19 Andreas Schwab <schwab@redhat.com>
14391 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14392 expectations for long double.
14394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14395 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14397 2011-08-14 David S. Miller <davem@davemloft.net>
14399 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14400 artificual limit depends upon the system page size.
14402 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14404 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14405 * resolv/Makefile: Define CFLAGS-libresolv.
14407 2011-08-17 Andreas Schwab <schwab@redhat.com>
14409 * nss/makedb.c (compute_tables): Make variables used in nested
14412 2011-08-17 Ulrich Drepper <drepper@gmail.com>
14414 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14415 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14416 if buffer was too small.
14418 * elf/pldd.c (main): Attach to all threads in the process.
14419 Rewrite /proc handling to use *at functions.
14421 2011-08-16 Ulrich Drepper <drepper@gmail.com>
14423 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14424 specifies first scope to show.
14425 (dl_open_worker): Update callers. Move printing scope of new
14426 object to before the relocation.
14427 * elf/rtld.c (dl_main): Update _dl_show_scope call.
14428 * sysdeps/generic/ldsodefs.h: Update declaration.
14430 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14431 string for the scope number.
14433 2011-08-14 Ulrich Drepper <drepper@gmail.com>
14435 * nscd/servicescache.c (cache_addserv): Make sure written is always
14438 2011-08-14 Roland McGrath <roland@hack.frob.com>
14440 * sysdeps/i386/i486/bits/atomic.h
14441 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14442 statement expression, so as to suppress "set but not used" warning.
14443 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14445 * string/strncat.c (STRNCAT): Use prototype definition.
14447 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14448 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14450 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14451 (localedef-modules): Add localedef.
14452 (locale-modules): Add locale.
14454 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14455 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14456 to avoid a warning.
14458 2011-08-14 David S. Miller <davem@davemloft.net>
14460 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14461 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14463 2011-08-13 Ulrich Drepper <drepper@gmail.com>
14465 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
14466 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14467 * elf/rtld.c (dl_main): Set l_name of vDSO.
14468 Call _dl_show_scope when DL_DEBUG_SCOPES.
14469 (process_dl_debug): Recognize scopes flag and also set it for all.
14470 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14471 Declare _dl_show_scope.
14473 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14474 (do_dlopen): Pass caller_dlopen to dl_open.
14475 (__libc_dlopen_mode): Initialize caller_dlopen.
14477 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14478 of libc. Make tolower call locale-independent. Optimize a bit by
14479 using isdigit instead of isalnum.
14480 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14482 2011-08-12 Ulrich Drepper <drepper@gmail.com>
14484 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14485 was a dependency or dynamically loaded.
14487 2011-08-11 Ulrich Drepper <drepper@gmail.com>
14489 * intl/l10nflist.c: Allow architecture-specific pop function.
14490 * sysdeps/x86_64/l10nflist.c: New file.
14492 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14495 2011-08-10 Andreas Schwab <schwab@redhat.com>
14497 * include/dirent.h: Add libc_hidden_proto for scandirat and
14498 scandirat64. Don't declare __scandirat64.
14499 * dirent/scandirat.c: Add libc_hidden_def.
14500 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14501 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14503 2011-08-10 David S. Miller <davem@davemloft.net>
14505 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14507 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14509 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14511 2011-08-09 Ulrich Drepper <drepper@gmail.com>
14513 * Versions.def [libc]: Add GLIBC_2.15.
14514 * dirent/Makefile (routines): Add scandirat and scandirat64.
14515 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14517 * dirent/dirent.h: Declare scandirat and scandirat64.
14518 * dirent/scandirat.c: New file.
14519 * dirent/scandirat64.c: New file.
14520 * sysdeps/wordsize-64/scandirat.c: New file.
14521 * sysdeps/wordsize-64/scandirat64.c: New file.
14522 * dirent/opendir.c: Define opendirat.
14523 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14525 * dirent/scandir64.c: Adjust for scandir.c change.
14526 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14527 __scandirat64, and __scandir_cancel_handler.
14528 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14529 additional parameter and use openat instead of open (outside of ld.so).
14530 Add new __opendir as wrapper around __opendirat.
14531 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14532 here without requiring old scandirat implementation.
14534 2011-08-08 Ulrich Drepper <drepper@gmail.com>
14536 * dirent/scandir.c (cancel_handler): Renamed to
14537 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14538 defined. Adjust users.
14539 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14540 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14542 2011-08-04 Ulrich Drepper <drepper@gmail.com>
14544 * string/test-string.h (IMPL): Use __STRING to expand name and then
14547 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14550 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14552 * string/Makefile: Update.
14553 (strop-tests): Append strncat.
14554 * string/test-wcscmp.c: New file.
14555 New comprehensive test for wcscmp.
14556 * string/test-strcmp.c: Update.
14557 (WIDE): New define.
14559 2011-07-22 Andreas Schwab <schwab@redhat.com>
14561 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14564 2011-07-26 Andreas Schwab <schwab@redhat.com>
14566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14567 encoding to ACE if AI_IDN.
14569 2011-08-01 Jakub Jelinek <jakub@redhat.com>
14571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14572 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14574 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14576 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14577 Fix overflow bug in strncat.
14578 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14580 * string/test-strncat.c: Update.
14581 Add new tests for checking overflow bugs.
14583 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14586 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14587 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14588 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14589 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14590 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14591 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14592 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14593 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14596 (USE_AS_STRCAT): Define.
14597 Add strcat and strncat support.
14598 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14600 2011-07-25 Andreas Schwab <schwab@redhat.com>
14602 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14603 __n bigger than INT_MAX+1.
14604 (__strncmp_g): Likewise.
14606 2011-07-23 Ulrich Drepper <drepper@gmail.com>
14608 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14609 * libio/stido.h: Likewise.
14611 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14616 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14617 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14618 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14619 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14620 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14623 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14628 (_dl_x86_64_save_sse): Likewise.
14630 2011-07-22 Ulrich Drepper <drepper@gmail.com>
14632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14634 (_dl_x86_64_save_sse): Likewise.
14636 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14638 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14640 2011-07-21 Andreas Schwab <schwab@redhat.com>
14642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14644 (_dl_x86_64_save_sse): Use correct AVX check.
14646 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14648 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14649 bug in strncpy/strncat.
14650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14652 2011-07-21 Ulrich Drepper <drepper@gmail.com>
14654 * string/tester.c (test_strcat): Add tests for different alignments
14655 of source and destination.
14656 (test_strncat): Likewise.
14658 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14661 * posix/glob.c (glob): Check passed in values before using them in
14662 expressions to avoid some overflows.
14663 (glob_in_dir): Likewise.
14666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14667 check for AVX enablement so that we don't crash with old kernels and
14669 * elf/tst-audit4.c: Add same checks here.
14670 * elf/tst-audit6.c: Likewise.
14672 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
14674 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14676 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14678 2011-07-20 Ulrich Drepper <drepper@gmail.com>
14680 * po/cs.po: Update from translation team.
14681 * po/bg.po: Likewise.
14683 2011-07-12 Marek Polacek <mpolacek@redhat.com>
14685 * misc/sys/cdefs.h: Add support for const attribute.
14686 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14687 to gnu_dev_{major,minor,makedev} functions.
14689 2011-07-20 Marek Polacek <mpolacek@redhat.com>
14691 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14693 2011-07-20 Andreas Schwab <schwab@redhat.com>
14695 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14698 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14701 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14702 register in order to avoid conflicts with the soft frame pointer
14703 being held in r11 when necessary.
14704 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14705 (INTERNAL_VSYSCALL_NCS): Likewise.
14707 2011-07-14 Marek Polacek <mpolacek@redhat.com>
14709 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14710 * elf/dl-fini.c (_dl_fini): Adjust caller.
14711 * elf/dl-close.c (_dl_close_worker): Likewise.
14712 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14714 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14716 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14717 "aux_cache->nlibs < 0".
14719 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14720 in the reload-count case.
14722 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14725 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14726 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14727 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14728 * sysdeps/x86_64/multiarch/strcat.S: New file.
14729 * sysdeps/x86_64/multiarch/strncat.S: New file.
14730 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14731 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14732 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14733 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14734 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14735 (USE_AS_STRCAT): Define.
14736 Add strcat and strncat support.
14737 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14738 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14739 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14740 * string/strncat.c: Update.
14741 (USE_AS_STRNCAT): Define.
14742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14743 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14745 * sysdeps/x86_64/multiarch/init-arch.h
14746 (bit_Prefer_PMINUB_for_stringop): New.
14747 (index_Prefer_PMINUB_for_stringop): Likewise.
14748 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14749 bit_Prefer_PMINUB_for_stringop.
14751 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14753 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14755 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14756 of casting of buffer.
14757 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14758 buffer32 and buffer64.
14759 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14760 writes instead of casting of buffer.
14761 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14763 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14766 2011-07-19 Andreas Schwab <schwab@redhat.com>
14768 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14770 2011-07-19 Ulrich Drepper <drepper@gmail.com>
14772 * nscd/nscd.c (termination_handler): Don't do anything for a database
14773 if it has not yet been initialized.
14775 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14777 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14779 2011-07-15 Marek Polacek <mpolacek@redhat.com>
14781 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14783 2011-07-18 Ulrich Drepper <drepper@gmail.com>
14785 * po/nl.po: Update from translation team.
14786 * po/sv.po: Likewise.
14788 2011-07-16 Roland McGrath <roland@hack.frob.com>
14790 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14791 now disallowed by GCC.
14793 * configure.in (use-default-link): Default to yes if a test -shared
14794 link meets our qualifications.
14795 * configure: Regenerated.
14797 * config.make.in (output-format): New variable.
14798 * configure.in: Check for ld --print-output-format support.
14799 * configure: Regenerated.
14800 * Makerules ($(common-objpfx)format.lds)
14801 [$(output-format) != unknown]: Just use $(output-format),
14802 instead of the linker-script munging.
14804 2011-07-14 Roland McGrath <roland@hack.frob.com>
14806 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14807 of $(common-objpfx)shlib.lds.
14808 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14810 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14811 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14813 * configure.in (-z relro check): Adjust test code to add a large
14814 writable data section after it.
14815 * configure: Regenerated.
14817 2011-07-11 Roland McGrath <roland@hack.frob.com>
14819 * configure.in (-z relro check): Fix test code to make the variable
14821 * configure: Regenerated.
14823 2011-07-11 Ulrich Drepper <drepper@gmail.com>
14825 * nscd/nscd.h (struct traced_file): Define.
14826 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14827 elements. Add traced_files.
14828 (inotify_fd): Declare.
14829 (register_traced_file): Declare.
14830 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14831 (inotify_fd): Export.
14832 (resolv_conf_descr): Remove.
14833 (nscd_init): Move inotify descriptor creation to main.
14834 Don't register files for notification here.
14835 (register_traced_file): New function.
14836 (invalidate_cache): Don't use reset_res to determine whether to call
14837 res_init, go through the list of registered files.
14838 (main_loop_poll): The inotify descriptors are now stored in the
14839 structures for the traced files.
14840 (main_loop_epoll): Likewise
14841 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14842 to __nss_disable_nscd.
14843 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14844 for a database anymore. Check the records for all the registered
14846 * nss/Makefile (libnss_files-routines): Add files-init.
14847 (libnss_db-routines): Add db-init.
14848 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14849 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14850 * nss/nss_db/db-init.c: New file.
14851 * nss/nss_files/files-init.c: New file.
14852 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14853 __nss_lookup_function.
14854 (__nss_lookup_function): Call nss_load_library.
14855 (nss_load_all_libraries): New function.
14856 (__nss_disable_nscd): Take parameter with callback function for files
14857 to register. Set is_nscd. Load all the DSOs for the NSS modules
14858 used for the cached services.
14859 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14860 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14861 options for features to all the files in nscd.
14863 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14865 2011-07-10 Roland McGrath <roland@hack.frob.com>
14867 * csu/elf-init.c (__libc_csu_init): Comment typo.
14869 2011-07-09 Ulrich Drepper <drepper@gmail.com>
14871 * po/pl.po: Update from translation team.
14872 * po/ja.po: Likewise.
14873 * po/ru.po: Likewise.
14874 * po/ko.po: Likewise.
14875 * po/fr.po: Likewise.
14877 2011-07-09 Roland McGrath <roland@hack.frob.com>
14879 * configure.in (.ctors/.dtors header and trailer check):
14880 Use an empirical test on a built program.
14881 * configure: Regenerated.
14883 * configure.in (-z relro check): Use an empirical test on a built DSO.
14884 Detect, but do not require, on ia64.
14885 * configure: Regenerated.
14887 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14888 Update tests that use readelf to use $READELF instead.
14889 * configure: Regenerated.
14891 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14893 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14894 if the result is not used.
14896 2011-07-05 Andreas Jaeger <aj@suse.de>
14899 * stdlib/tst-strtod.c: Add testcase.
14901 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14903 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14904 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14905 The latter has a higher limit. Take additional parameter to pass to
14907 (__pathconf): Pass file to __statfs_link_max.
14908 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14910 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14914 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14915 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14917 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14918 (__statfs_filesize_max): Likewise.
14919 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14921 2011-07-05 Andreas Jaeger <aj@suse.de>
14923 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14925 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14927 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14929 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14932 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14934 * Makefile (strop-tests): Add strncat.
14935 * string/test-strncat.c: New file.
14937 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14939 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14941 2011-06-21 Andreas Jaeger <aj@suse.de>
14943 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14944 Copy rule from iconvdata/Makefile.
14946 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14949 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14950 but no long options are defined, just return 'W'.
14952 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14955 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14957 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14959 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14961 (innetgr): Likewise.
14963 2011-07-05 Roland McGrath <roland@hack.frob.com>
14965 * config.make.in (install_root): Default to $(DESTDIR).
14967 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14969 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14971 2011-07-02 Roland McGrath <roland@hack.frob.com>
14973 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14975 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14976 containing directory rather than embedding absolute directory names.
14978 * scripts/check-local-headers.sh: Rewritten using awk.
14979 Match by word, not by line. Print error messages for matches.
14980 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14982 * Makerules [shlib-lds-flags empty]:
14983 ($(common-objpfx)libc_pic.opts): New target.
14984 ($(common-objpfx)libc_pic.os.clean): New target.
14985 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14987 * config.make.in (OBJCOPY): New variable.
14988 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14989 * configure: Regenerated.
14991 * config.make.in (use-default-link): New variable.
14992 * configure.in (use_default_link): Grok --with-default-link to set it.
14993 * configure: Regenerated.
14994 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14995 (shlib-lds, shlib-lds-flags): Define to empty.
14997 * Makerules (shlib-lds): New variable.
14998 (shlib-lds-flags): New variable.
14999 (build-shlib, build-moduile, build-module-asneeded): Use it.
15000 ($(common-objpfx)libc.so): Use $(shlib-lds).
15001 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15002 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15004 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15005 DT_FLAGS/DT_FLAGS_1 with zero flags.
15007 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15008 linker script munging.
15010 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15012 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15014 * crypt/sha512.c (sha512_process_block): Perform total addition using
15015 128-bit if possible.
15016 (__sha512_finish_ctx): Likewise.
15017 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15019 * crypt/sha256.c (SWAP64): Define.
15020 (sha256_process_block): Perform total addition using 64-bit if
15022 (__sha256_finish_ctx): Likewise.
15024 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15026 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15028 * nscd/hstcache.c (cache_addhst): Likewise.
15029 * nscd/grpcache.c (cache_addgr): Likewise.
15030 * nscd/aicache.c (addhstaiX): Likewise
15031 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15033 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15035 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15036 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15037 * nscd/hstcache.c (cache_addhst): Likewise.
15038 * nscd/grpcache.c (cache_addgr): Likewise.
15039 * nscd/aicache.c (addhstaiX): Likewise
15041 2011-07-01 Andreas Schwab <schwab@redhat.com>
15043 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15044 domain only when needed.
15046 2011-06-30 Andreas Schwab <schwab@redhat.com>
15048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15049 is always restored.
15051 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15053 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15054 are re-adding the entry.
15055 * nscd/servicescache.c (cache_addserv): Likewise.
15057 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15059 * sysdeps/generic/dl-irel.h: fix protection against multiple
15061 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15063 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15066 * malloc/memusage.sh: Fix quoting in message.
15067 * debug/xtrace.sh: Likewise.
15069 * configure.in: Remove support for --experimental-malloc option, make
15071 * config.make.in: Likewise.
15072 * malloc/Makefile: Likewise.
15074 2011-06-27 Andreas Schwab <schwab@redhat.com>
15076 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15077 two-byte characters.
15079 2011-06-27 Roland McGrath <roland@hack.frob.com>
15081 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15082 AC_CACHE_CHECK invocation.
15083 * configure: Regenerated.
15085 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15087 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15090 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15091 bit from old_res_options.
15093 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15095 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15096 value type for setfct.
15098 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15101 __gettimeofday instead of gettimeofday.
15103 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15105 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15107 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15109 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15111 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15114 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15117 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15118 strcpy-sse2-unaligned strncpy-sse2-unaligned
15119 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15120 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15121 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15122 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15123 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15124 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15125 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15126 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15127 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15128 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15129 (STRCPY): Support SSE2 and SSSE3 versions.
15131 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15134 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15135 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15136 kernels which artificially limit size of requests.
15138 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15141 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15142 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15143 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15144 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15145 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15146 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15147 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15150 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15151 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15152 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15153 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15154 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15156 Enable unaligned load optimization for Intel Core i3, i5 and i7
15158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15160 (index_Fast_Unaligned_Load): Define.
15161 (HAS_FAST_UNALIGNED_LOAD): Define.
15163 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15165 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15167 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15170 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15171 until it is clear that the information is realy needed.
15172 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15174 2011-06-22 Andreas Schwab <schwab@redhat.com>
15176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15178 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15181 /sys/devices/system/cpu/online if it is usable.
15183 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15184 reading the information from the /proc filesystem to once a second.
15186 2011-06-21 Andreas Jaeger <aj@suse.de>
15188 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15189 NULL after inclusion of kernel headers.
15191 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15193 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15194 calls to internal_setent.
15197 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15198 addresses using gethostbyname4_r ignore IPv4 addresses.
15200 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15201 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15203 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15205 2011-06-20 David S. Miller <davem@davemloft.net>
15207 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15209 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15211 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15212 (elf_irel): Use it.
15213 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
15214 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
15215 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
15216 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
15217 * sysdeps/x86_64/dl-irel.h: Likewise.
15219 * elf/dl-runtime.c: Use elf_ifunc_invoke.
15220 * elf/dl-sym.c: Likewise.
15222 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15224 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
15225 need to dereference resplen2.
15227 2011-06-14 Andreas Schwab <schwab@redhat.com>
15229 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
15231 2011-06-15 Ulrich Drepper <drepper@gmail.com>
15233 * Makeconfig: Define vardbdir and inst_vardbdir.
15234 * nss/Makefile: Add rules to install db-Makefile.
15236 * nss/nss_db/db-XXX.c: Cleanup.
15238 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
15239 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
15241 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
15242 * nss/makedb.c: Implement -g option to specify that value strings
15243 are generated and should not be added to table iterated over for
15245 * nss/nss_db/db-initgroups.c: New file.
15247 * nss/getent.c: Add support for initgroups lookups through getgrouplist
15250 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
15251 (internal_getgrouplist): Adjust to name change.
15252 Update use_initgroups_entry if this is not the first call.
15253 * nss/databases.def: Add initgroups entry.
15255 * nss/makedb.c (compute_tables): Check result of multiple hash table
15256 sizes to minimize maximum chain length.
15258 2011-06-14 Ulrich Drepper <drepper@gmail.com>
15260 * Versions.def: Add entry for libnss_db.
15261 * shlib-versions: Likewise.
15262 * nss/Makefile: Add rules to build libnss_db.
15263 * nss/Versions: Add libnss_db information. Organize libnss_files
15265 * nss/db-Makefile: Add gshadow support. Change rules for the new
15266 makedb progra. Some minor improvements to generate smaller files.
15267 * nss/nss_db/nss_db.h: Move NSS database header data structures to
15269 * nss/makedb.c: ...here.
15270 Improve database format to be smaller and require less memory at
15272 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
15274 * nss/nss_db/db-netgrp.c: Likewise.
15275 * nss/nss_db/db-open.c: Likewise.
15276 * nss/nss_files/flies-XXX.x: Adjust comments.
15277 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
15278 * nss/nss_files/files-grp.c: Likewise.
15279 * nss/nss_files/files-hosts.c: Likewise.
15280 * nss/nss_files/files-network.c: Likewise.
15281 * nss/nss_files/files-proto.c: Likewise.
15282 * nss/nss_files/files-pwd.c: Likewise.
15283 * nss/nss_files/files-rpc.c: Likewise.
15284 * nss/nss_files/files-service.c: Likewise.
15285 * nss/nss_files/files-sgrp.c: Likewise.
15286 * nss/nss_files/files-spwd.c: Likewise.
15287 * nss/nss_db/db-alias.c: Removed.
15288 * nss/nss_db/dummy-db.h: Removed.
15290 2011-06-02 Ulrich Drepper <drepper@gmail.com>
15292 * nss/makedb.c: Rewritten to not use database library.
15293 * nss/Makefile: Update to build new makedb program.
15295 2011-06-14 Andreas Jaeger <aj@suse.de>
15297 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15298 memset declaration.
15300 2011-06-10 Andreas Schwab <schwab@redhat.com>
15302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15305 2011-06-10 Roland McGrath <roland@hack.frob.com>
15307 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15308 * elf/Makefile ($(objpfx)ld.so): Likewise.
15310 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15311 Don't list ld.so twice in dependencies.
15313 * posix/bug-regex31.c: Include <stdlib.h>.
15315 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15317 * nis/nss_compat/compat-spwd.c
15318 (getspent_next_nss_netgr): Remove unused variable.
15319 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15321 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15322 nonmembers" output to use the right array.
15324 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15326 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15328 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15329 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15330 * catgets/gencat.c (read_input_file): Likewise.
15331 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15333 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15334 variable definition inside #if's controlling its use.
15336 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15338 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15340 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15342 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15345 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15347 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15348 * configure: Regenerated.
15350 * Makerules: Revert last change.
15351 * elf/Makefile: Likewise.
15353 2011-06-09 Roland McGrath <roland@hack.frob.com>
15355 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15356 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15357 (reloc-link): Likewise.
15359 2011-06-09 Ulrich Drepper <drepper@gmail.com>
15361 * elf/Makefile: Add rules to build pldd.
15362 * elf/pldd.c: New file.
15363 * elf/pldd-xx.c: New file.
15365 2011-06-07 Ulrich Drepper <drepper@gmail.com>
15367 * version.h: Update for 2.15 development version.
15369 2011-06-07 David S. Miller <davem@davemloft.net>
15371 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15373 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15374 elf_machine_lazy_rel): Likewise.
15375 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15376 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15377 elf_machine_lazy_rel): Likewise.
15378 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15379 dl_hwcap via passed in argument.
15380 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15383 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15385 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15387 2011-06-06 Roland McGrath <roland@hack.frob.com>
15390 * manual/fdl-1.1.texi: New file, verbatim from:
15391 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15392 * manual/lgpl-2.1.texi: New file, verbatim from:
15393 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15394 * manual/Makefile (licenses): New variable, list those new file names.
15396 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15398 * manual/fdl.texi: File removed.
15399 * manual/lesser.texi: File removed.
15400 * manual/libc.texinfo (Copying, Documentation License):
15401 Use new @include file names, put @appendix directive before @include.
15403 2011-06-04 Jakub Jelinek <jakub@redhat.com>
15406 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15407 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15408 (mq_open): Add __NTH.
15410 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15413 Assume Intel Core i3/i5/i7 processor if AVX is available.
15415 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15420 2011-05-31 Andreas Schwab <schwab@redhat.com>
15422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15423 memory. Use alloca_account. Fix memory leak when retrying.
15425 2011-05-31 Ulrich Drepper <drepper@gmail.com>
15427 * version.h (RELEASE): Bump for 2.14 release.
15428 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15430 * config.make.in (RANLIB): Remove entry.
15432 2011-05-30 Ulrich Drepper <drepper@gmail.com>
15434 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15435 (libc.pot): Work around missing support for .ksh extension in xgettext.
15438 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15439 if both request failed.
15440 (send_dg): In case of server errors clear resplen or *resplen2.
15443 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15444 when there are multiple maps.
15445 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15446 (_dl_fini): Remove test here.
15448 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15450 2011-05-29 Ulrich Drepper <drepper@gmail.com>
15453 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15454 bit from old_res_options.
15455 (gaih_inet): Likewise.
15458 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
15461 * resolv/res_init.c (res_setoptions): Make the code more compact.
15464 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15468 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15470 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15473 * malloc/malloc.h: Declare malloc hook variables as volatile.
15475 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15479 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
15480 raise in the comment.
15481 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15482 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15483 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
15485 2011-05-28 Ulrich Drepper <drepper@gmail.com>
15488 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15489 grow the buffers more if it already has to be sufficient.
15490 (build_wcs_upper_buffer): Likewise.
15491 * posix/regexec.c (check_matching): Likewise.
15492 (clean_state_log_if_needed): Likewise.
15493 (extend_buffers): Don't enlarge buffers beyond size of the input
15495 Patches mostly by Emil Wojak <emil@wojak.eu>.
15496 * posix/bug-regex32.c: New file.
15497 * posix/Makefile (tests): Add bug-regex32.
15499 * locale/findlocale.c (_nl_find_locale): Return right away if
15500 _nl_explode_name failed.
15501 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15503 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15505 * debug/xtrace.sh: Unify messages.
15506 * malloc/memusage.sh: Likewise.
15509 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15510 time symbol from vDSO. Substitute with vsyscall if not available.
15511 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15514 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15515 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15516 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15517 Add sendmmsg and internal_sendmmsg.
15518 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15519 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15520 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15522 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15523 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15524 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15526 2011-05-27 Ulrich Drepper <drepper@gmail.com>
15529 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15530 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15536 * iconvdata/Makefile (tests): Add bug-iconv9.
15537 * iconvdata/bug-iconv9.c: New file.
15539 2011-05-27 Andreas Schwab <schwab@redhat.com>
15542 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15544 2011-05-25 Jakub Jelinek <jakub@redhat.com>
15546 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15547 (struct user_regs_struct): Change intcs field back to cs.
15549 2011-05-25 Ulrich Drepper <drepper@gmail.com>
15551 * po/ja.po: Update from translation team.
15553 2011-05-23 Ulrich Drepper <drepper@gmail.com>
15556 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15557 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15559 2011-05-20 Andreas Schwab <schwab@redhat.com>
15561 * stdlib/longlong.h: Update from GCC.
15563 2011-05-23 Andreas Schwab <schwab@redhat.com>
15565 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15567 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15568 Add parameter name.
15569 (__sysconf): Pass it down.
15571 2011-05-22 Ulrich Drepper <drepper@gmail.com>
15574 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15576 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15577 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15578 add in in __libc_use_alloca calls. Adjust callers.
15579 (glob): Use malloc in some situations.
15581 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15582 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15585 2011-05-21 Ulrich Drepper <drepper@gmail.com>
15587 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15588 and CLOCK_BOOTTIME_ALARM.
15591 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15594 * string/_strerror.c (__strerror_r): Print negative errors as signed
15598 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15599 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15600 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15602 * configure.in: Fix typo in redirection and correct removal of test
15603 files in two cases.
15606 * locale/setlocale.c (new_composite_name): Fix test to check for
15607 identical name of all categories.
15610 * libio/filedoalloc.c (local_isatty): New function.
15611 (_IO_file_doallocate): Use local_isatty.
15612 * stdio-common/perror.c (perror): In case a new stream is used
15613 forward the stream error.
15614 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15617 2011-05-20 Ulrich Drepper <drepper@gmail.com>
15620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15622 * include/alloca.h (extend_alloca_account): Define.
15625 * posix/regex.h: Fix comments with documentation of user-accessible
15626 fields after compilation and describe correct free'ing of pattern
15627 after re_compile_pattern.
15628 Patch by Reuben Thomas <rrt@sc3d.org>.
15630 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15632 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15633 and -mno-altivec to prevent the compiler from using Altivec and/or
15634 VSX instructions when the corresponding registers are not available.
15636 2011-05-19 Andreas Schwab <schwab@redhat.com>
15638 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15640 2011-05-19 Ulrich Drepper <drepper@gmail.com>
15642 * libio/freopen.c (freopen): Use __dup2, not dup2.
15643 * libio/freopen64.c (freopen64): Likewise.
15645 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15648 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15649 * math/Makefile (tests): Add test-powl.
15650 (CFLAGS-test-powl.c): Define.
15651 * math/test-powl.c: New file.
15653 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15655 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15657 2011-05-17 Ulrich Drepper <drepper@gmail.com>
15660 * iconvdata/gb18030.c: Update to GB18020-2005.
15662 2011-05-16 Ulrich Drepper <drepper@gmail.com>
15664 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15665 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15666 Patch by Aharon Robbins <arnold@skeeve.com>.
15669 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15673 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15674 through underflows.
15677 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15678 point to strings before performing equality test for error_one_per_line
15682 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15685 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15686 (struct user_fpregs_struct): Avoid __uint*_t types.
15689 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15690 symbol info. Use it instead of calling _dl_addr locally.
15691 (lock_and_info): New function.
15692 (tr_freehook): Call lock_and_info and pass symbol info as additional
15693 parameter to tr_where.
15694 (tr_mallochook): Likewise.
15695 (tr_reallochook): Likewise.
15696 (tr_memalignhook): Likewise.
15698 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15699 used and couldn't be at all thread-safe.
15701 2011-05-15 Ulrich Drepper <drepper@gmail.com>
15703 * libio/freopen.c (freopen): Don't close old file descriptor
15704 before the new one is opened. Instead dup the new file descriptor
15705 to the old one after the new stream is created.
15706 * libio/freopen64.c (freopen64): Likewise.
15707 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15708 * libio/fileops.c (_IO_new_file_close_it): Handle new
15709 _IO_FLAGS2_NOCLOSE flag.
15710 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15711 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15712 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15713 _IO_FLAGS2_NOCLOSE flag.
15714 * include/unistd.h: Add hidden_proto for dup3.
15715 Define __have_dup3.
15716 * io/dup3.c: Define hidden symbol.
15717 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15720 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15721 when an incomplete long option is used.
15722 * posix/tst-getopt_long1.c: New file.
15723 * posix/Makefile (tests): Add tst-getopt_long1.
15726 * scripts/config.guess: Update from autoconf-2.68.
15727 * scripts/config.sub: Likewise.
15730 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15732 (has_cpuclock): ...this. New function.
15733 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15734 macro here based on has_cpuclock code.
15737 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15738 First byte (not low byte) is now always NUL.
15739 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15742 Use non-cancelable interfaces.
15745 * locale/iso-639.def: Add entry for Sorani.
15748 * include/stdlib.h: Move include protection to the right place.
15749 Define abort_msg_s. Declare __abort_msg with it.
15750 * stdlib/abort.c (__abort_msg): Adjust type.
15751 * assert/assert.c (__assert_fail_base): New function. Majority
15752 of code from __assert_fail. Allocate memory for __abort_msg with
15754 (__assert_fail): Now call __assert_fail_base.
15755 * assert/assert-perr.c: Remove bulk of implementation. Use
15756 __assert_fail_base.
15757 * include/assert.hL Declare __assert_fail_base.
15758 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15760 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15762 2011-05-14 Ulrich Drepper <drepper@gmail.com>
15766 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15767 until all modules are registered in the DTV.
15768 * elf/Makefile: Add rules to build and run tst-tls19.
15769 * elf/tst-tls19.c: New file.
15770 * elf/tst-tls19mod1.c: New file.
15771 * elf/tst-tls19mod2.c: New file.
15772 * elf/tst-tls19mod3.c: New file.
15773 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15776 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15780 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15781 two-byte sequence errors.
15782 * iconvdata/Makefile (tests): Add bug-iconv8.
15783 * iconvdata/bug-iconv8.c: New file.
15786 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15789 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15792 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15793 (dummy_getcfa): New function.
15794 (init): Get _Unwind_GetCFA address, use dummy if not found.
15795 (backtrace_helper): In recursion check, also check whether CFA changes.
15796 (__backtrace): Completely initialize arg.
15798 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
15799 storing incomplete byte sequence in state object. Avoid testing for
15800 guaranteed too small input if we know there is enough data available.
15802 2011-05-11 Andreas Schwab <schwab@redhat.com>
15804 * Makeconfig (+link-pie): Indent.
15805 * Rules (binaries-pie): Define if $(have-fpie) and
15807 (binaries-shared): Also filter out $(binaries-pie).
15808 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15809 * nscd/Makefile (others-pie): Add nscd.
15810 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15811 ($(objpfx)nscd): Remove command override.
15812 * login/Makefile (others-pie): Add pt_chown.
15813 ($(objpfx)pt_chown): Remove command override.
15814 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15815 remove command overrides.
15817 2011-05-13 Ulrich Drepper <drepper@gmail.com>
15819 * libio/tst_putwc.c: Fix error messages.
15822 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15823 currently writing and seek to current position when not.
15824 * libio/Makefile (tests): Add bug-fclose1.
15825 * libio/bug-fclose1.c: New file.
15827 2011-05-12 Ulrich Drepper <drepper@gmail.com>
15830 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15831 don't set DF_1_NODELETE here.
15832 (do_lookup_x): When entering new entry test for copy relocation
15833 and if necessary set DF_1_NODELETE flag.
15834 * elf/tst-unique4.cc: New file.
15835 * elf/tst-unique4.h: New file.
15836 * elf/tst-unique4lib.cc: New file.
15837 * elf/Makefile: Add rules to build and run tst-unique4.
15838 Patch by Piotr Bury <pbury@goahead.com>.
15840 2011-05-11 Ulrich Drepper <drepper@gmail.com>
15843 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15846 * misc/mntent_r.c (addmntent): Flush the stream after the output
15849 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15850 (is_trusted_path_normalize): Skip initial colon. Append slash
15851 to empty buffer. Duplicate is_trusted_path code but allow
15852 constructed patch to be prefix.
15853 (is_dst): Allow $ORIGIN followed by /.
15854 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15855 Correct testing of result of is_trusted_path_normalize
15856 (decompose_rpath): Fix warning.
15858 2011-05-10 Ulrich Drepper <drepper@gmail.com>
15861 * grp/initgroups.c (internal_getgrouplist): When we found the service
15862 list through the initgroups entry in nsswitch.conf do not always
15863 continue on a successful lookup. Don't always use the
15864 __nss_group_database value if it is set.
15865 * nss/nsswitch.conf (initgroups): Change action for successful db
15866 lookup to continue for compatibility.
15868 2011-05-09 Ulrich Drepper <drepper@gmail.com>
15871 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15873 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15875 * iconvdata/tst-tables.sh: Likewise.
15876 * iconvdata/cp770.c: New file.
15877 * iconvdata/cp771.c: New file.
15878 * iconvdata/cp772.c: New file.
15879 * iconvdata/cp773.c: New file.
15880 * iconvdata/cp774.c: New file.
15881 * iconvdata/testdata/CP770: New file.
15882 * iconvdata/testdata/CP770..UTF8: New file.
15883 * iconvdata/testdata/CP771: New file.
15884 * iconvdata/testdata/CP771..UTF8: New file.
15885 * iconvdata/testdata/CP772: New file.
15886 * iconvdata/testdata/CP772..UTF8: New file.
15887 * iconvdata/testdata/CP773: New file.
15888 * iconvdata/testdata/CP773..UTF8: New file.
15889 * iconvdata/testdata/CP774: New file.
15890 * iconvdata/testdata/CP774..UTF8: New file.
15892 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15894 * iconvdata/gen-8bit-gap.sh: Likewise.
15895 * iconvdata/gen-8bit.sh: Likewise.
15897 * locale/iso-639.def: Add ary entry.
15900 * locale/C-translit.h.in: Add U20A1 transliteration.
15903 * locale/iso-639.def: Add wae entry.
15904 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15907 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15911 * locale/C-translit.h.in: Add entry for U20B9.
15912 Patch by pravin.d.s@gmail.com.
15914 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15917 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15918 ENAMETOOLONG use generic getcwd.
15919 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15920 in rtld. Use *stat64.
15921 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15922 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15923 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15924 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15925 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15926 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15927 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15928 __fstatat64 macros.
15929 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15930 * dirent/rewinddir.c: Add libc_hidden_def.
15931 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15932 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15934 * include/dirent.h (__alloc_dir): Add flags parameter.
15935 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15936 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15938 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15939 from fdopendir if O_CLOEXEC is already set.
15941 2011-03-15 Alan Modra <amodra@gmail.com>
15943 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15944 l_tls_firstbyte_offset non-zero. Save padding offset in
15945 l_tls_firstbyte_offset for later use.
15946 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15947 freeing static tls block.
15949 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15951 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15952 where #ifdef was intended. The intent is to prevent ARG_MAX from
15953 being defined by the kernel headers.
15955 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15958 * resolv/resolv.h: Define RES_NOTLDQUERY.
15959 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15960 no-tld-query and set RES_NOTLDQUERY.
15961 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15962 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15963 modern BIND to search name as TLD unless forbidden.
15965 2011-05-07 Petr Baudis <pasky@suse.cz>
15966 Ulrich Drepper <drepper@gmail.com>
15969 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15970 (is_trusted_path): ...to here.
15971 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15972 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15973 using is_trusted_path_normalize() in setuid scripts.
15975 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15977 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15978 __BEGIN/__END_DECLS.
15980 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15983 NSS_STATUS_NOTFOUND if no record was found.
15985 2011-05-05 Andreas Schwab <schwab@redhat.com>
15987 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15988 (headers-not-in-tirpc): Remove rpc/netdb.h
15989 * resolv/netdb.h: Revert last change.
15991 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15993 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15994 circular dependency between libgcc.a and libc.a.
15996 2011-05-05 Andreas Schwab <schwab@redhat.com>
15998 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15999 * nis/Makefile: Don't install rpcsvc/*.
16000 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16001 instead of <rpc/types.h>.
16002 (MAXHOSTNAMELEN): Define.
16004 2011-05-03 Andreas Schwab <schwab@redhat.com>
16006 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16008 2011-04-28 Maciej Babinski <mbabinski@google.com>
16011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16012 gethostbyname4_r when IPv6 results are possible.
16014 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16017 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16018 _PC_PIPE_BUF handling.
16020 2011-04-30 Bruno Haible <bruno@clisp.org>
16023 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16024 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16026 * inet/getnameinfo.c (getnameinfo): Likewise.
16028 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16030 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16031 to groups setting in database lookup.
16032 * nss/nsswitch.conf: Add initgroups entry.
16034 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16037 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16039 Patch by Eric Blake <eblake@redhat.com>.
16041 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16043 * sunrpc/Makefile (need-export-routines): Add svc_run.
16044 (routines): Remove svc_run.
16045 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16046 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16047 * sunrpc/svc_run.c (svc_run): Likewise.
16048 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16050 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16053 problem in reallocation in last patch.
16055 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16057 * sunrpc/Makefile: Move inclusion of Rules.
16059 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16061 * nss/nss_files/files-initgroups.c: New file.
16062 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16063 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16064 _nss_files_initgroups_dyn.
16066 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16068 * elf/elf.h (R_ARM_IRELATIVE): Define.
16070 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16072 * po/ru.po: Update from translation team.
16074 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16076 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16079 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16082 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16083 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16084 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16088 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16090 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16092 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16093 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16094 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16096 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16099 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16101 * stdlib/bug-getcontext.c: New file.
16102 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16104 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16106 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16107 instructions into .machine "z9-109".
16108 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16109 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16111 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16113 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16114 between environment variables and auxiliary vector.
16116 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16118 * Makefile: Add rules to build linkobj/libc.so.
16119 * include/libc-symbols.h: Define libc_hidden_nolink.
16120 * include/rpc/auth.h: Mark functions which are to be hidden.
16121 * include/rpc/auth_des.h: Likewise.
16122 * include/rpc/auth_unix.h: Likewise.
16123 * include/rpc/clnt.h: Likewise.
16124 * include/rpc/des_crypt.h: Likewise.
16125 * include/rpc/key_prot.h: Likewise.
16126 * include/rpc/pmap_clnt.h: Likewise.
16127 * include/rpc/pmap_prot.h: Likewise.
16128 * include/rpc/pmap_rmt.h: Likewise.
16129 * include/rpc/rpc_msg.h: Likewise.
16130 * include/rpc/svc.h: Likewise.
16131 * include/rpc/svc_auth.h: Likewise.
16132 * include/rpc/xdr.h: Likewise.
16133 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16134 * nss/Makefile: Likewise.
16135 * sunrpc/Makefile: Don't install headers. Build library with normal
16136 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16137 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16138 for the compat linking library. Remove use of INTDEF/INTUSE.
16139 * sunrpc/auth_none.c: Likewise.
16140 * sunrpc/auth_unix.c: Likewise.
16141 * sunrpc/authdes_prot.c: Likewise.
16142 * sunrpc/authuxprot.c: Likewise.
16143 * sunrpc/clnt_gen.c: Likewise.
16144 * sunrpc/clnt_perr.c: Likewise.
16145 * sunrpc/clnt_raw.c: Likewise.
16146 * sunrpc/clnt_simp.c: Likewise.
16147 * sunrpc/clnt_tcp.c: Likewise.
16148 * sunrpc/clnt_udp.c: Likewise.
16149 * sunrpc/clnt_unix.c: Likewise.
16150 * sunrpc/des_crypt.c: Likewise.
16151 * sunrpc/des_soft.c: Likewise.
16152 * sunrpc/get_myaddr.c: Likewise.
16153 * sunrpc/key_call.c: Likewise.
16154 * sunrpc/key_prot.c: Likewise.
16155 * sunrpc/netname.c: Likewise.
16156 * sunrpc/pm_getmaps.c: Likewise.
16157 * sunrpc/pm_getport.c: Likewise.
16158 * sunrpc/pmap_clnt.c: Likewise.
16159 * sunrpc/pmap_prot.c: Likewise.
16160 * sunrpc/pmap_prot2.c: Likewise.
16161 * sunrpc/pmap_rmt.c: Likewise.
16162 * sunrpc/publickey.c: Likewise.
16163 * sunrpc/rpc_cmsg.c: Likewise.
16164 * sunrpc/rpc_common.c: Likewise.
16165 * sunrpc/rpc_dtable.c: Likewise.
16166 * sunrpc/rpc_prot.c: Likewise.
16167 * sunrpc/rpc_thread.c: Likewise.
16168 * sunrpc/rtime.c: Likewise.
16169 * sunrpc/svc.c: Likewise.
16170 * sunrpc/svc_auth.c: Likewise.
16171 * sunrpc/svc_authux.c: Likewise.
16172 * sunrpc/svc_raw.c: Likewise.
16173 * sunrpc/svc_run.c: Likewise.
16174 * sunrpc/svc_simple.c: Likewise.
16175 * sunrpc/svc_tcp.c: Likewise.
16176 * sunrpc/svc_udp.c: Likewise.
16177 * sunrpc/svc_unix.c: Likewise.
16178 * sunrpc/svcauth_des.c: Likewise.
16179 * sunrpc/xcrypt.c: Likewise.
16180 * sunrpc/xdr.c: Likewise.
16181 * sunrpc/xdr_array.c: Likewise.
16182 * sunrpc/xdr_float.c: Likewise.
16183 * sunrpc/xdr_intXX_t.c: Likewise.
16184 * sunrpc/xdr_mem.c: Likewise.
16185 * sunrpc/xdr_rec.c: Likewise.
16186 * sunrpc/xdr_ref.c: Likewise.
16187 * sunrpc/xdr_sizeof.c: Likewise.
16188 * sunrpc/xdr_stdio.c: Likewise.
16190 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16193 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16194 * sysdeps/ia64/dl-tls.h: Likewise.
16195 * sysdeps/powerpc/dl-tls.h: Likewise.
16196 * sysdeps/s390/dl-tls.h: Likewise.
16197 * sysdeps/sh/dl-tls.h: Likewise.
16198 * sysdeps/sparc/dl-tls.h: Likewise.
16199 * sysdeps/x86_64/dl-tls.h: Likewise.
16200 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16202 2011-03-14 Andreas Schwab <schwab@redhat.com>
16204 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16205 rpath element also skip the following colon.
16206 (expand_dynamic_string_token): Add is_path parameter and pass
16207 down to DL_DST_REQUIRED and _dl_dst_substitute.
16208 (decompose_rpath): Call expand_dynamic_string_token with
16209 non-zero is_path. Ignore empty rpaths.
16210 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16213 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
16215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16218 2011-04-09 Ulrich Drepper <drepper@gmail.com>
16221 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
16222 Patch by Filipe David Manana <fdmanana@apache.org>.
16224 2011-04-07 Andreas Schwab <schwab@redhat.com>
16226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
16227 Maintain aligned stack.
16228 (CHECK_RSP): Remove unused macro.
16230 2011-04-03 Ulrich Drepper <drepper@gmail.com>
16232 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
16233 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
16235 2011-04-02 Ulrich Drepper <drepper@gmail.com>
16237 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
16239 * include/features.h: Mention __USE_XOPEN2K8 in comment.
16241 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
16244 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
16245 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
16246 * sysdeps/x86_64/memmove.c: New file.
16247 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
16248 (memcpy): Renamed to ...
16249 (__new_memcpy): This.
16250 (memcpy): Provide GLIBC_2_14 memcpy.
16251 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
16252 (memcpy): Provide GLIBC_2_2_5 memcpy.
16254 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16257 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
16259 2011-03-30 Andreas Schwab <schwab@redhat.com>
16261 * misc/syncfs.c: New file.
16262 * misc/Makefile (routines): Add syncfs.
16263 * posix/unistd.h: Declare syncfs.
16264 * sysdeps/unix/syscalls.list: Add syncfs.
16266 2011-04-01 Andreas Schwab <schwab@redhat.com>
16268 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
16270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16272 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16273 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16275 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
16276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16278 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16280 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
16281 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16282 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
16283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16284 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16286 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16288 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16289 sync_file_range.c with -fexceptions.
16290 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16291 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16292 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16293 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16294 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16295 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16296 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
16297 sync_file_range as cancellation point
16298 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16299 now a wrapper around __call_sync_file_range with cancellation handling.
16300 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16301 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16302 function name to __call_sync_file_range.
16303 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16304 Add call_sync_file_range.
16306 2011-04-01 Andreas Schwab <schwab@redhat.com>
16308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16311 2011-04-01 Ulrich Drepper <drepper@gmail.com>
16313 * iconv/iconv.h: Fix typo in comment.
16314 * io/fcntl.h: Likewise.
16315 * libio/stdio.h: Likewise.
16316 * posix/spawn.h: Likewise.
16317 * posix/unistd.h: Likewise.
16318 * stdlib/stdlib.h: Likewise.
16319 * time/time.h: Likewise.
16320 * wcsmbs/wchar.h: Likewise.
16322 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16323 open_by_handle): Add.
16324 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16325 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16326 Augment a few comments.
16327 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16328 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16329 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16332 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16335 * io/fcntl.h (AT_EMPTY_PATH): Define.
16337 2011-03-30 Ulrich Drepper <drepper@gmail.com>
16339 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16340 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16341 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16343 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
16344 * Versions.def: Add GLIBC_2.14.
16345 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16348 2011-03-22 Ulrich Drepper <drepper@gmail.com>
16350 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16352 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16354 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16357 * string/test-strncmp.c (do_page_test): New function.
16358 (check2): Likewise.
16359 (test_main): Call check2.
16360 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16362 2011-03-20 Ulrich Drepper <drepper@gmail.com>
16365 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16366 Handle cache information in CPU leaf 4.
16367 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16369 2011-03-18 Ulrich Drepper <drepper@gmail.com>
16372 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16373 character representation.
16374 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16376 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16378 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16379 END(__isnan) to END(__isnanf) to match function entry point/label
16380 EALIGN(__isnanf,...).
16382 2011-03-10 Jakub Jelinek <jakub@redhat.com>
16384 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16386 2011-03-10 Ulrich Drepper <drepper@gmail.com>
16389 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16390 copy from the symbol referenced in the relocation to initialize the
16392 Patch by Piotr Bury <pbury@goahead.com>.
16393 * elf/Makefile: Add rules to build and tst-unique3.
16394 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16395 * elf/tst-unique3.cc: New file.
16396 * elf/tst-unique3.h: New file.
16397 * elf/tst-unique3lib.cc: New file.
16398 * elf/tst-unique3lib2.cc: New file.
16400 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16402 2011-03-10 Mike Frysinger <vapier@gentoo.org>
16404 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16405 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16408 2011-03-06 Ulrich Drepper <drepper@gmail.com>
16410 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16411 to-be-loaded object along a path to loader is ld.so.
16413 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16414 Ulrich Drepper <drepper@gmail.com>
16416 * sysdeps/x86_64/memset.S: After aligning destination, code
16417 branches to different locations depending on the value of
16418 misalignment, when multiarch is enabled. Fix this.
16420 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16422 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16423 Set _x86_64_preferred_memory_instruction for AMD processsors.
16424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16425 Set bit_Prefer_SSE_for_memop for AMD processors.
16427 2011-03-04 Ulrich Drepper <drepper@gmail.com>
16429 * libio/fmemopen.c (fmemopen): Optimize a bit.
16431 2011-03-03 Andreas Schwab <schwab@redhat.com>
16433 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16435 2011-03-03 Roland McGrath <roland@redhat.com>
16437 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16439 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16441 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
16442 __bzero_ultra1 instead of __memset_ultra1.
16444 2011-02-23 Andreas Schwab <schwab@redhat.com>
16445 Ulrich Drepper <drepper@gmail.com>
16448 * include/link.h (struct link_map): Add l_orig_initfini.
16449 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16450 returning unsuccessfully.
16451 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16452 close of a file loaded at startup, restore the original l_initfini
16454 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16455 list, store the pointer.
16456 * elf/Makefile ($(objpfx)noload-mem): New rule.
16457 (noload-ENV): Define.
16458 (tests): Add $(objpfx)noload-mem.
16459 * elf/noload.c: Include <memcheck.h>.
16460 (main): Call mtrace. Close all opened handles.
16462 2011-02-17 Andreas Schwab <schwab@redhat.com>
16465 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16466 dependencies are missing.
16468 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16470 Fix __if_freereq crash: Unlike the generic version which uses free,
16472 * sysdeps/mach/hurd/ifreq.h: New file.
16474 2011-01-27 Petr Baudis <pasky@suse.cz>
16475 Ulrich Drepper <drepper@gmail.com>
16478 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16479 to extend_alloca().
16480 * stdio-common/bug23.c: New file.
16481 * stdio-common/Makefile (tests): Add bug23.
16483 2010-09-28 Andreas Schwab <schwab@redhat.com>
16484 Ulrich Drepper <drepper@gmail.com>
16487 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16488 before performing relro protection. At old place add assertion
16489 to make sure nothing changed.
16491 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16492 Glauber de Oliveira Costa <glommer@gmail.com>
16494 * elf/elf.h: Add new ARM TLS relocs.
16496 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16499 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16501 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16503 * sysdeps/wordsize-64/tst-writev.c: New file.
16505 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16507 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16508 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16509 insns in _dl_start to prevent a TOC reference before relocs are
16512 2011-02-15 Ulrich Drepper <drepper@gmail.com>
16515 * Makeconfig: Remove RANLIB definition.
16516 * Makerules: Don't use RANLIB.
16517 * aclocal.m4: Remove ranlib test.
16518 * configure.in: No need to check for ranlib.
16519 * elf/rtld-Rules: Don't use RANLIB.
16521 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16523 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16525 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16526 inclusion protection macro.
16528 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16529 SIGRTMIN and SIGRTMAX and print information in that case only when
16530 SIGRTMIN is defined.
16532 2011-02-11 Jakub Jelinek <jakub@redhat.com>
16534 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16535 arginfo fn returning -1.
16537 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16538 and thousands string is zero terminated.
16540 2011-02-03 Andreas Schwab <schwab@redhat.com>
16542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16543 sysdeps/unix/sysv/linux/bits/socket.h.
16545 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16547 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16548 (__CPU_COUNT): Remove old macros.
16549 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16550 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16551 (__CPU_ALLOC, __CPU_FREE): Add macros.
16552 (__sched_cpualloc, __sched_cpufree): Add declarations.
16554 2011-02-05 Ulrich Drepper <drepper@gmail.com>
16556 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16557 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16558 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16559 (readdhstai): Return value of addhstaiX call.
16560 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16561 (addgrbyX): Return value returned by cache_addgr.
16562 (readdgrbyname): Return value returned by addgrbyX.
16563 (readdgrbygid): Likewise.
16564 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16565 (addpwbyX): Return value returned by cache_addpw.
16566 (readdpwbyname): Return value returned by addhstbyX.
16567 (readdpwbyuid): Likewise.
16568 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16569 (addservbyX): Return value returned by cache_addserv.
16570 (readdservbyname): Return value returned by addservbyX:
16571 (readdservbyport): Likewise.
16572 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16573 (addhstbyX): Return value returned by cache_addhst.
16574 (readdhstbyname): Return value returned by addhstbyX.
16575 (readdhstbyaddr): Likewise.
16576 (readdhstbynamev6): Likewise.
16577 (readdhstbyaddrv6): Likewise.
16578 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16579 (readdinitgroups): Return value returned by addinitgroupsX.
16580 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16581 (prune_cache): Keep track of timeout value of re-added entries.
16582 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16583 * nscd/nscd.h: Adjust prototypes of readd* functions.
16585 2011-02-04 Roland McGrath <roland@redhat.com>
16587 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16588 (nis_stats): Likewise.
16589 * nis/nis_modify.c (nis_modify): Likewise.
16590 * nis/nis_remove.c (nis_remove): Likewise.
16591 * nis/nis_add.c (nis_add): Likewise.
16593 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16595 * posix/fnmatch_loop.c: Add some consts.
16597 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16599 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16602 * config.make.in (config-cflags-novzeroupper): Define.
16603 * configure.in: Substitute libc_cv_cc_novzeroupper.
16604 * elf/Makefile (AVX-CFLAGS): Define.
16605 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16606 (CFLAGS-tst-auditmod4a.c): Likewise.
16607 (CFLAGS-tst-auditmod4b.c): Likewise.
16608 (CFLAGS-tst-auditmod6b.c): Likewise.
16609 (CFLAGS-tst-auditmod6c.c): Likewise.
16610 (CFLAGS-tst-auditmod7b.c): Likewise.
16611 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16613 2011-02-02 Ulrich Drepper <drepper@gmail.com>
16615 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16616 function to the callback.
16617 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16619 2011-02-02 Andreas Schwab <schwab@redhat.com>
16621 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16624 2011-01-19 Ulrich Drepper <drepper@gmail.com>
16627 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16629 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16631 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16634 * elf/Makefile: Add rules to build and run new test.
16635 * elf/tst-initorder.c: New file.
16636 * elf/tst-initorder.exp: New file.
16637 * elf/tst-initordera1.c: New file.
16638 * elf/tst-initordera2.c: New file.
16639 * elf/tst-initordera3.c: New file.
16640 * elf/tst-initordera4.c: New file.
16641 * elf/tst-initorderb1.c: New file.
16642 * elf/tst-initorderb2.c: New file.
16643 * elf/tst-order-a1.c: New file.
16644 * elf/tst-order-a2.c: New file.
16645 * elf/tst-order-a3.c: New file.
16646 * elf/tst-order-a4.c: New file.
16647 * elf/tst-order-b1.c: New file.
16648 * elf/tst-order-b2.c: New file.
16649 * elf/tst-order-main.c: New file.
16650 New test case by George Gensure <werkt0@gmail.com>.
16652 2010-10-01 Andreas Schwab <schwab@redhat.com>
16654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16655 decoding ACE if AI_CANONIDN.
16657 2011-01-18 Ulrich Drepper <drepper@gmail.com>
16659 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16661 2011-01-17 Ulrich Drepper <drepper@gmail.com>
16663 * version.h (RELEASE): Bump for 2.13 release.
16664 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16666 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16668 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16670 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16671 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16672 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16673 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16674 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16675 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16677 * posix/getconf.c: Update copyright year.
16678 * catgets/gencat.c: Likewise.
16679 * csu/version.c: Likewise.
16680 * debug/catchsegv.sh: Likewise.
16681 * debug/xtrace.sh: Likewise.
16682 * elf/ldconfig.c: Likewise.
16683 * elf/ldd.bash.in: Likewise.
16684 * elf/sprof.c (print_version): Likewise.
16685 * iconv/iconv_prog.c: Likewise.
16686 * iconv/iconvconfig.c: Likewise.
16687 * locale/programs/locale.c: Likewise.
16688 * locale/programs/localedef.c: Likewise.
16689 * malloc/memusage.sh: Likewise.
16690 * malloc/mtrace.pl: Likewise.
16691 * nscd/nscd.c (print_version): Likewise.
16692 * nss/getent.c: Likewise.
16694 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16695 PF_CAIF, and PF_ALG.
16696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16698 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16700 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16701 (modules-names): Use them.
16702 (ifunc-test-modules, ifunc-pie-tests): Define.
16703 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16704 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16705 (test-extras): Likewise.
16706 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16707 $(compile-command.c).
16708 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16709 (all-built-dso): Define.
16710 (check-textrel.out, check-execstack.out): Depend on it.
16712 * configure.in: Don't override --enable-multi-arch.
16714 2011-01-15 Ulrich Drepper <drepper@gmail.com>
16717 * nscd/hstcache.c (tryagain): Define.
16718 (cache_addhst): Return tryagain not notfound for temporary errors.
16719 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16722 2011-01-14 Ulrich Drepper <drepper@gmail.com>
16725 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16726 to make the syscall.
16727 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16730 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16731 and fall back to matching as normal character if the string ends before
16732 the matching ']' is found. This is what POSIX requires.
16733 * posix/testfnm.c: Adjust test result.
16734 * posix/globtest.sh: Adjust test result. Add new test.
16735 * posix/tst-fnmatch.input: Likewise.
16736 * posix/tst-fnmatch2.c: Add new test.
16738 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16740 * elf/Makefile (check-execstack): Revert last change. Depend on
16742 (check-execstack.h): New target.
16743 (generated): Add check-execstack.h.
16744 * elf/check-execstack.c: Include "check-execstack.h".
16745 (main): Revert last change.
16746 (handle_file): Return zero if GNU_STACK is absent and
16747 DEFAULT_STACK_PERMS doesn't include PF_X.
16749 2011-01-13 Ulrich Drepper <drepper@gmail.com>
16751 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16752 in child fails because the descriptor is already closed.
16753 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16754 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16755 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
16758 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16762 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16763 temporary buffer used to handle multi lookups locally.
16764 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
16766 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16768 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16771 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16773 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16774 alignment for SSE2.
16776 2011-01-12 Ulrich Drepper <drepper@gmail.com>
16779 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16780 characters. When rounding increased number of integer digits recompute
16782 * stdio-common/tst-grouping.c: New file.
16783 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16785 2011-01-09 Ulrich Drepper <drepper@gmail.com>
16787 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16788 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16790 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16792 * bits/select.h: Likewise.
16794 2011-01-08 Ulrich Drepper <drepper@gmail.com>
16796 * po/ja.po: Update from translation team.
16798 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
16801 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16802 implementation just like for lxstat, fxstatat, et al.
16804 2010-12-27 Jim Meyering <meyering@redhat.com>
16807 * posix/regexec.c (build_trtable): Return failure indication upon
16808 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16810 2010-12-25 Ulrich Drepper <drepper@gmail.com>
16813 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16814 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16815 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16816 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16819 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16822 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16823 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16825 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16827 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16828 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16829 script has SORT_BY_INIT_PRIORITY.
16830 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16831 NO_CTORS_DTORS_SECTIONS is defined.
16832 * elf/soinit.c: Likewise.
16833 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16834 NO_CTORS_DTORS_SECTIONS is defined.
16835 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16836 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16837 * sysdeps/sh/init-first.c: Likewise.
16838 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16840 2010-12-24 Ulrich Drepper <drepper@gmail.com>
16842 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16843 always use the slow path.
16845 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16847 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16848 similar rule which adds the sysdep directories to the header search in
16849 order to pick up the correct platform stackinfo.h.
16850 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16851 perform test if it is, otherwise return successfully without testing.
16852 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16853 DEFAULT_STACK_PERMS define in stackinfo.h.
16854 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16855 defined in stackinfo.h.
16856 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16857 DEFAULT_STACK_PERMS defined in stackinfo.h.
16858 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16859 * sysdeps/ia64/stackinfo.h: Likewise.
16860 * sysdeps/s390/stackinfo.h: Likewise.
16861 * sysdeps/sh/stackinfo.h: Likewise.
16862 * sysdeps/sparc/stackinfo.h: Likewise.
16863 * sysdeps/x86_64/stackinfo.h: Likewise.
16864 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16865 PF_X for powerpc64. Retain PF_X for powerpc32.
16867 2010-12-19 Ulrich Drepper <drepper@gmail.com>
16869 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16871 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16872 GETDENTS_64BIT_ALIGNED.
16874 2010-12-14 Ulrich Drepper <dreper@gmail.com>
16876 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16878 2010-12-10 Andreas Schwab <schwab@redhat.com>
16880 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16883 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16884 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16886 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16887 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16889 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16892 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16895 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16897 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16899 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16901 * po/it.po: Update from translation team.
16903 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16908 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16910 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16912 2010-11-24 Andreas Schwab <schwab@redhat.com>
16914 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16916 (gaih_getanswer_slice): Likewise.
16918 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16922 2010-05-31 Petr Baudis <pasky@suse.cz>
16925 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16926 silently even in the chroot mode.
16928 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16930 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16931 last patch a bit. Pretty printing
16933 2010-05-31 Petr Baudis <pasky@suse.cz>
16936 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16937 initialization of skip_initgroups_dyn.
16939 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16941 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16942 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16944 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16946 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16948 2010-11-11 Andreas Schwab <schwab@redhat.com>
16950 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16951 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16952 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16953 ($(objpfx)tst-fnmatch-mem): New rule.
16954 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16955 * posix/tst-fnmatch.c (main): Call mtrace.
16957 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16960 Support Intel processor model 6 and model 0x2c.
16962 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16964 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16967 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16970 * string/test-strncasecmp.c (check_result): New function.
16971 (do_one_test): Use it.
16972 (check1): New function.
16973 (test_main): Use it.
16974 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16975 Support strcasecmp and strncasecmp.
16977 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16980 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16981 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16983 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16985 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16989 * sysdeps/x86_64/multiarch/bzero.S: New file.
16990 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16991 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16992 * sysdeps/x86_64/multiarch/memset.S: New file.
16993 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16995 Set bit_Prefer_SSE_for_memop for Intel processors.
16996 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16998 (index_Prefer_SSE_for_memop): Define.
16999 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17001 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17003 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17004 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17006 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17009 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17010 (__x86_64_raw_data_cache_size_half): Likewise.
17011 (__x86_64_raw_shared_cache_size): Likewise.
17012 (__x86_64_raw_shared_cache_size_half): Likewise.
17014 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17015 (__x86_64_raw_data_cache_size_half): Likewise.
17016 (__x86_64_raw_shared_cache_size): Likewise.
17017 (__x86_64_raw_shared_cache_size_half): Likewise.
17018 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17019 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17020 and __x86_64_raw_shared_cache_size_half. Round
17021 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17022 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17023 to multiple of 256 bytes.
17025 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17028 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17029 of inacessible symlinks. Verify result of symlink before returning it.
17030 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17031 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17033 2010-10-28 Erich Ritz <erichritz@gmail.com>
17035 * math/math.h (isinf): Fix typo in comment.
17037 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17039 * po/da.po: Update from translation team.
17041 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17043 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17044 is added to the list.
17046 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17047 Ulrich Drepper <drepper@gmail.com>
17049 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17050 the global list here. Move code to...
17051 (_dl_add_to_namespace_list): ...here. New function.
17052 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17053 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17054 * elf/dl-load.c (lose): Don't remove the element from the list.
17055 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17056 (_dl_map_object): Likewise.
17058 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17061 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17062 into all bytes of SSE register.
17063 Patch by Richard Li <richardpku@gmail.com>.
17065 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17068 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17071 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17073 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17074 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17075 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17076 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17081 2010-10-22 Andreas Schwab <schwab@redhat.com>
17083 * include/dlfcn.h (__RTLD_SECURE): Define.
17084 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17085 mode & __RTLD_SECURE instead.
17086 (open_path): Rename preloaded parameter to secure.
17087 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17088 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17089 * elf/dl-deps.c (openaux): Likewise.
17090 * elf/rtld.c (struct map_args): Remove is_preloaded.
17091 (map_doit): Don't use it.
17092 (dl_main): Likewise.
17093 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17094 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17096 2010-09-09 Andreas Schwab <schwab@redhat.com>
17098 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17099 (sysd-rules-targets): Remove duplicates.
17100 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17101 rtld-%.$o dependency.
17103 2010-10-18 Andreas Schwab <schwab@redhat.com>
17105 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17106 _dl_map_object do it.
17108 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17110 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17111 fast fma builtins, define the macros in the C99 standard.
17112 (FP_FAST_FMAF): Likewise.
17113 (FP_FAST_FMAL): Likewise.
17114 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17116 * bits/mathdef.h: Update copyright year.
17117 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17119 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17121 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17122 builtins, define the macros in the C99 standard.
17123 (FP_FAST_FMAF): Likewise.
17124 (FP_FAST_FMAL): Likewise.
17125 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17127 (FP_FAST_FMAF): Likewise.
17129 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17132 * math/libm-test.inc (fma_test): Some new testcases.
17133 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17134 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17135 y and infinite z. Do multiplication by C already in long double.
17136 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17138 y and infinite z. Do bitwise or of inexact bit into u.d.
17139 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17140 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17141 * sysdeps/i386/fpu/s_fma.S: Removed.
17142 * sysdeps/i386/fpu/s_fmal.S: Removed.
17144 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17147 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17149 computation is not scheduled after fetestexcept. Fix value
17150 of minimum denormal long double.
17152 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17155 * math/libm-test.inc (fma_test): Add some more tests.
17156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17159 2010-10-15 Andreas Schwab <schwab@redhat.com>
17161 * scripts/data/localplt-s390-linux-gnu.data: New file.
17162 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17164 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17167 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17168 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17170 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17172 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17174 if one of x and y is very large and the other is subnormal.
17175 * sysdeps/s390/fpu/s_fmaf.c: New file.
17176 * sysdeps/s390/fpu/s_fma.c: New file.
17177 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17178 * sysdeps/powerpc/fpu/s_fma.S: New file.
17179 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17180 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17181 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17183 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17186 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17188 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17189 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17190 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17191 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17192 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17193 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17194 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17196 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17199 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17200 * posix/bug-regex31.input: Add test case.
17202 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17204 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17205 * posix/bug-regex31.input: New file.
17208 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17209 (parse_sub_exp): Fix last change, use postorder.
17211 * posix/bug-regex31.c: New file.
17212 * posix/Makefile: Add rules to build and run bug-regex31.
17214 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
17217 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
17220 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
17221 to have entries in sys_siglist.
17224 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
17227 2010-10-07 Jakub Jelinek <jakub@redhat.com>
17230 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
17231 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
17232 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
17233 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
17234 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17235 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
17236 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
17237 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
17238 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
17239 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
17240 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
17241 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
17242 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17243 * math/ftestexcept.c (fetestexcept): Likewise.
17244 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
17245 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
17246 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17247 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
17248 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
17249 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
17250 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17252 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17255 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
17258 2010-10-06 Ulrich Drepper <drepper@gmail.com>
17260 * string/bug-strstr1.c: New file.
17261 * string/Makefile: Add rules to build and run bug-strstr1.
17263 2010-10-05 Eric Blake <eblake@redhat.com>
17266 * string/str-two-way.h (two_way_long_needle): Always clear memory
17267 when skipping input due to the shift table.
17269 2010-10-03 Ulrich Drepper <drepper@gmail.com>
17272 * malloc/mcheck.c: Handle large requests.
17275 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
17276 for strncmp and strncasecmp.
17277 * string/stratcliff.c: Add tests for strcmp and strncmp.
17278 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
17280 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17282 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
17285 2010-09-30 Andreas Jaeger <aj@suse.de>
17287 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17288 (CGROUP_SUPER_MAGIC): Define.
17289 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17290 Handle btrfs and cgroup file systems.
17291 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17294 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
17296 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17297 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17299 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17302 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17303 trying to locate the ELF header.
17305 2010-09-27 Andreas Schwab <schwab@redhat.com>
17308 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17309 Mask out sign-bit copies when constructing f_fsid.
17311 2010-09-24 Petr Baudis <pasky@suse.cz>
17313 * debug/stack_chk_fail_local.c: Add missing licence exception.
17314 * debug/warning-nop.c: Likewise.
17316 2010-09-15 Joseph Myers <joseph@codesourcery.com>
17318 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17319 implementing getdents64 using getdents syscall, set d_type if
17320 __ASSUME_GETDENTS32_D_TYPE.
17322 2010-09-16 Andreas Schwab <schwab@redhat.com>
17324 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17325 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17327 2010-09-21 Ulrich Drepper <drepper@redhat.com>
17330 * posix/unistd.h: Undo change of feature selection for ftruncate from
17333 2010-09-20 Ulrich Drepper <drepper@redhat.com>
17335 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
17338 2010-09-20 Andreas Schwab <schwab@redhat.com>
17340 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17342 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17344 2010-09-14 Andreas Schwab <schwab@redhat.com>
17346 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17347 variables after CHECK_SP call.
17348 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17350 2010-09-13 Andreas Schwab <schwab@redhat.com>
17351 Ulrich Drepper <drepper@redhat.com>
17353 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17354 re-relocationg ld.so.
17355 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17356 _dl_init_paths call.
17357 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17360 2010-09-14 Ulrich Drepper <drepper@redhat.com>
17362 * resolv/res_init.c (__res_vinit): Count the default server we added.
17364 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17365 Ulrich Drepper <drepper@redhat.com>
17368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17369 (____longjmp_chk): Use %ebx for saving value across system call.
17372 2010-09-06 Andreas Schwab <schwab@redhat.com>
17374 * manual/Makefile: Don't mix pattern rules with normal rules.
17376 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17378 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17380 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17381 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17382 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17383 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17384 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17387 2010-09-04 Ulrich Drepper <drepper@redhat.com>
17390 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17391 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17393 2010-09-02 Ulrich Drepper <drepper@redhat.com>
17395 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17396 * sysdeps/x86_64/addmul_1.S: Likewise.
17397 * sysdeps/x86_64/lshift.S: Likewise.
17398 * sysdeps/x86_64/mul_1.S: Likewise.
17399 * sysdeps/x86_64/rshift.S: Likewise.
17400 * sysdeps/x86_64/sub_n.S: Likewise.
17401 * sysdeps/x86_64/submul_1.S: Likewise.
17403 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17405 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17406 Define __sched_param instead of SCHED_* and sched_param when
17407 <bits/sched.h> is included with __need_schedparam defined.
17408 * bits/sched.h [__need_schedparam]
17409 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
17410 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17411 (__defined_schedparam): Define to 1.
17412 (__sched_param): New structure, identical to sched_param.
17413 (__need_schedparam): Undefine.
17415 2010-08-31 Mike Frysinger <vapier@gentoo.org>
17417 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17418 (epoll_create1): Declare.
17420 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17422 2010-08-31 Andreas Schwab <schwab@redhat.com>
17425 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17426 shifting retval into place.
17428 2010-09-01 Ulrich Drepper <drepper@redhat.com>
17430 * nis/rpcsvc/nis.h: Update copyright notice.
17431 * nis/rpcsvc/nis.x: Likewise.
17432 * nis/rpcsvc/nis_callback.h: Likewise.
17433 * nis/rpcsvc/nis_callback.x: Likewise.
17434 * nis/rpcsvc/nis_object.x: Likewise.
17435 * nis/rpcsvc/nis_tags.h: Likewise.
17436 * nis/rpcsvc/yp.h: Likewise.
17437 * nis/rpcsvc/yp.x: Likewise.
17438 * nis/rpcsvc/ypupd.h: Likewise.
17439 * nis/yp_xdr.c: Likewise.
17440 * nis/ypupdate_xdr.c: Likewise.
17442 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17443 mainly the body of pmap_getport. Add parameters to specify timeouts.
17444 (pmap_getport): Use __libc_rpc_getport.
17445 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17446 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17447 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17449 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17454 2010-08-27 Roland McGrath <roland@redhat.com>
17456 * sysdeps/i386/i686/multiarch/Makefile
17457 (CFLAGS-varshift.c): New variable.
17459 2010-08-27 Ulrich Drepper <drepper@redhat.com>
17461 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17462 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17466 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17468 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17470 * sysdeps/x86_64/strlen.S: Unroll the loop.
17471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17472 strlen-sse2 strlen-sse2-bsf.
17473 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17474 __strlen_no_bsf if bit_Slow_BSF is set.
17475 (__strlen_sse42): Removed.
17476 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17477 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17479 2010-08-25 Roland McGrath <roland@redhat.com>
17481 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17482 * sysdeps/x86_64/multiarch/varshift.c: New file.
17483 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17484 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17485 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17486 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17488 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17491 strlen-sse2 strlen-sse2-bsf.
17492 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17493 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17494 (__strlen_sse2): Removed.
17495 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17496 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17498 bit_Slow_BSF for Atom.
17499 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17500 (index_Slow_BSF): Define.
17501 (HAS_SLOW_BSF): Define.
17503 2010-08-25 Ulrich Drepper <drepper@redhat.com>
17506 * resolv/res_init.c (__res_vinit): When no server address at all
17507 is given default to loopback.
17509 2010-08-24 Roland McGrath <roland@redhat.com>
17511 * configure.in: Remove config-name.h generation.
17512 * configure: Regenerated.
17513 * config-name.in: File removed.
17514 * scripts/config-uname.sh: New file.
17515 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17516 ($(objdir)config-name.h): New target.
17518 * sunrpc/rpc_parse.h: Avoid nested comment.
17520 2010-08-24 Richard Henderson <rth@redhat.com>
17521 Ulrich Drepper <drepper@redhat.com>
17522 H.J. Lu <hongjiu.lu@intel.com>
17524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17526 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17527 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17528 _mm_alignr_epi8 with _mm_loadu_si128.
17529 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17530 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17531 (__m128i_shift_right): Removed.
17532 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17533 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17534 * sysdeps/x86_64/multiarch/varshift.h: New file.
17535 * sysdeps/x86_64/multiarch/varshift.S: New file.
17537 2010-08-21 Mike Frysinger <vapier@gentoo.org>
17539 * configure.in: Move assembler checks to before sysdep dir checking.
17541 2010-08-20 Petr Baudis <pasky@suse.cz>
17543 * LICENSES: Sync the sunrpc license.
17545 2010-08-19 Ulrich Drepper <drepper@redhat.com>
17547 * sunrpc/auth_des.c: Update copyright notice once again.
17548 * sunrpc/auth_none.c: Likewise.
17549 * sunrpc/auth_unix.c: Likewise.
17550 * sunrpc/authdes_prot.c: Likewise.
17551 * sunrpc/authuxprot.c: Likewise.
17552 * sunrpc/bindrsvprt.c: Likewise.
17553 * sunrpc/clnt_gen.c: Likewise.
17554 * sunrpc/clnt_perr.c: Likewise.
17555 * sunrpc/clnt_raw.c: Likewise.
17556 * sunrpc/clnt_simp.c: Likewise.
17557 * sunrpc/clnt_tcp.c: Likewise.
17558 * sunrpc/clnt_udp.c: Likewise.
17559 * sunrpc/clnt_unix.c: Likewise.
17560 * sunrpc/des_crypt.c: Likewise.
17561 * sunrpc/des_soft.c: Likewise.
17562 * sunrpc/get_myaddr.c: Likewise.
17563 * sunrpc/getrpcport.c: Likewise.
17564 * sunrpc/key_call.c: Likewise.
17565 * sunrpc/key_prot.c: Likewise.
17566 * sunrpc/openchild.c: Likewise.
17567 * sunrpc/pm_getmaps.c: Likewise.
17568 * sunrpc/pm_getport.c: Likewise.
17569 * sunrpc/pmap_clnt.c: Likewise.
17570 * sunrpc/pmap_prot.c: Likewise.
17571 * sunrpc/pmap_prot2.c: Likewise.
17572 * sunrpc/pmap_rmt.c: Likewise.
17573 * sunrpc/rpc/auth.h: Likewise.
17574 * sunrpc/rpc/auth_unix.h: Likewise.
17575 * sunrpc/rpc/clnt.h: Likewise.
17576 * sunrpc/rpc/des_crypt.h: Likewise.
17577 * sunrpc/rpc/key_prot.h: Likewise.
17578 * sunrpc/rpc/netdb.h: Likewise.
17579 * sunrpc/rpc/pmap_clnt.h: Likewise.
17580 * sunrpc/rpc/pmap_prot.h: Likewise.
17581 * sunrpc/rpc/pmap_rmt.h: Likewise.
17582 * sunrpc/rpc/rpc.h: Likewise.
17583 * sunrpc/rpc/rpc_des.h: Likewise.
17584 * sunrpc/rpc/rpc_msg.h: Likewise.
17585 * sunrpc/rpc/svc.h: Likewise.
17586 * sunrpc/rpc/svc_auth.h: Likewise.
17587 * sunrpc/rpc/types.h: Likewise.
17588 * sunrpc/rpc/xdr.h: Likewise.
17589 * sunrpc/rpc_clntout.c: Likewise.
17590 * sunrpc/rpc_cmsg.c: Likewise.
17591 * sunrpc/rpc_common.c: Likewise.
17592 * sunrpc/rpc_cout.c: Likewise.
17593 * sunrpc/rpc_dtable.c: Likewise.
17594 * sunrpc/rpc_hout.c: Likewise.
17595 * sunrpc/rpc_main.c: Likewise.
17596 * sunrpc/rpc_parse.c: Likewise.
17597 * sunrpc/rpc_parse.h: Likewise.
17598 * sunrpc/rpc_prot.c: Likewise.
17599 * sunrpc/rpc_sample.c: Likewise.
17600 * sunrpc/rpc_scan.c: Likewise.
17601 * sunrpc/rpc_scan.h: Likewise.
17602 * sunrpc/rpc_svcout.c: Likewise.
17603 * sunrpc/rpc_tblout.c: Likewise.
17604 * sunrpc/rpc_util.c: Likewise.
17605 * sunrpc/rpc_util.h: Likewise.
17606 * sunrpc/rpcinfo.c: Likewise.
17607 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17608 * sunrpc/rpcsvc/key_prot.x: Likewise.
17609 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17610 * sunrpc/rpcsvc/mount.x: Likewise.
17611 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17612 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17613 * sunrpc/rpcsvc/rex.x: Likewise.
17614 * sunrpc/rpcsvc/rstat.x: Likewise.
17615 * sunrpc/rpcsvc/rusers.x: Likewise.
17616 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17617 * sunrpc/rpcsvc/spray.x: Likewise.
17618 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17619 * sunrpc/rtime.c: Likewise.
17620 * sunrpc/svc.c: Likewise.
17621 * sunrpc/svc_auth.c: Likewise.
17622 * sunrpc/svc_authux.c: Likewise.
17623 * sunrpc/svc_raw.c: Likewise.
17624 * sunrpc/svc_run.c: Likewise.
17625 * sunrpc/svc_simple.c: Likewise.
17626 * sunrpc/svc_tcp.c: Likewise.
17627 * sunrpc/svc_udp.c: Likewise.
17628 * sunrpc/svc_unix.c: Likewise.
17629 * sunrpc/svcauth_des.c: Likewise.
17630 * sunrpc/xcrypt.c: Likewise.
17631 * sunrpc/xdr.c: Likewise.
17632 * sunrpc/xdr_array.c: Likewise.
17633 * sunrpc/xdr_float.c: Likewise.
17634 * sunrpc/xdr_mem.c: Likewise.
17635 * sunrpc/xdr_rec.c: Likewise.
17636 * sunrpc/xdr_ref.c: Likewise.
17637 * sunrpc/xdr_sizeof.c: Likewise.
17638 * sunrpc/xdr_stdio.c: Likewise.
17640 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17643 2010-08-19 Andreas Schwab <schwab@redhat.com>
17645 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17647 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
17649 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17650 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17651 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17652 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17653 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17654 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17655 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17656 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17657 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17658 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17659 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17660 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17661 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17662 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17664 2010-07-26 Anton Blanchard <anton@samba.org>
17666 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17667 * malloc/arena.c (heap_trim): Likewise.
17669 2010-08-16 Ulrich Drepper <drepper@redhat.com>
17671 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17674 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17676 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17678 * sysdeps/i386/elf/Makefile: New file.
17680 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17682 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17683 from fanotify_init.
17684 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17687 2010-08-15 Ulrich Drepper <drepper@redhat.com>
17689 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17691 * sysdeps/multiarch/strcmp.S: Likewise.
17693 2010-08-14 Ulrich Drepper <drepper@redhat.com>
17695 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17696 strncase_l-nonascii.
17697 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17698 Add strncase_l-ssse3.
17699 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17700 * sysdeps/x86_64/strcmp.S: Likewise.
17701 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17702 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17703 * sysdeps/x86_64/strncase.S: New file.
17704 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17705 * sysdeps/x86_64/strncase_l.S: New file.
17706 * string/Makefile (strop-tests): Add strncasecmp.
17707 * string/test-strncasecmp.c: New file.
17709 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17712 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17713 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17715 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17717 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17719 2010-08-12 Ulrich Drepper <drepper@redhat.com>
17721 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17722 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17723 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17725 2010-05-01 Alan Modra <amodra@gmail.com>
17727 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17728 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17729 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17730 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17731 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17732 tidying. Don't tail-call __sigjmp_save for static lib.
17733 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17735 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17736 (CALL_MCOUNT): Add eh info, and nop after bl.
17737 (TAIL_CALL_SYSCALL_ERROR): New macro.
17738 (PSEUDO_RET): Use it.
17739 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17740 Correct save location of integer regs and cr.
17741 (_dl_profile_resolve): Correct cr save location. Delete nops
17742 after bl when SHARED. Reduce cfi size a little by better
17743 placement of cfi directives.
17744 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17745 make a stack frame. Instead use parm save area as a temp.
17746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17747 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17749 Don't make a stack frame for parent, use parm save area.
17750 Increase child stack frame to 112 bytes. Don't save unused reg,
17751 and adjust reg usage. Set up cfi on error recovery and
17752 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17754 (__makecontext): Add dummy nop after jump to exit.
17755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17756 Use correct parm save area and cr save, reduce stack frame.
17757 Correct cfi for possible PSEUDO_RET frame setup.
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17759 Branch to local label emitted by PSEUDO_RET rather than
17762 2010-08-12 Andreas Schwab <schwab@redhat.com>
17765 * locale/programs/locale.c (print_assignment): New function.
17766 (show_locale_vars): Use it.
17768 2010-08-11 Ulrich Drepper <drepper@redhat.com>
17770 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17772 (struct statfs64): Likewise.
17773 (_STATFS_F_FLAGS): Define.
17774 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17775 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17776 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17777 (ST_VALID): Define locally.
17778 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17779 __statvfs_getflags, use the provided value.
17780 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17781 __ASSUME_STATFS_F_FLAGS.
17783 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17785 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17786 Add sys/fanotify.h.
17787 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17788 fanotify_mask for GLIBC_2.13.
17789 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17790 fanotify_init and fanotify_mark.
17791 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17792 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17794 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17796 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17797 prlimit64 for GLIBC_2.13.
17798 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17803 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17804 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17805 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17806 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17808 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17811 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17812 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17814 * nss/Makefile: Add rules to build and run tst-nss-test1.
17815 * shlib-versions: Add entry for libnss_test1.
17816 * nss/nss_test1.c: New file.
17817 * nss/tst-nss-test1.c: New file.
17819 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17820 (__nss_configure_lookup): Set appropriate entry in
17821 __nss_configure_lookup to true.
17822 * nss/nsswitch.h: Define enum with indeces of databases in
17823 databases and __nss_database_custom arrays. Declare
17824 __nss_database_custom.
17825 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17826 to avoid using nscd when custom rules are installed.
17827 * nss/getXXbyYY_r.c: Likewise.
17828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17830 * nss/nss_files/files-parse.c: Whitespace fixes.
17832 2010-08-09 Ulrich Drepper <drepper@redhat.com>
17835 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17836 * posix/fnmatch_loop.c: Likewise.
17838 2010-07-17 Andi Kleen <ak@linux.intel.com>
17840 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17841 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17842 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17843 * Versions.def [GLIBC_2.13]: Add.
17845 2010-08-06 Ulrich Drepper <drepper@redhat.com>
17847 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17848 Also fail if tpwd after pwuid call is NULL.
17850 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17852 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17853 when converting to ms.
17855 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17857 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17858 EOPNOTSUPP errors with ENOTTY.
17859 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17860 EOPNOTSUPP errors with ENOTTY.
17862 2010-07-31 Ulrich Drepper <drepper@redhat.com>
17864 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17865 Add strcasecmp_l-ssse3.
17866 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17868 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17869 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17870 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17872 2010-07-30 Ulrich Drepper <drepper@redhat.com>
17874 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17876 * string/Makefile (strop-tests): Add strcasecmp.
17877 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17878 strcasecmp_l-nonascii.
17879 (gen-as-const-headers): Add locale-defines.sym.
17880 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17881 * sysdeps/x86_64/strcasecmp.S: New file.
17882 * sysdeps/x86_64/strcasecmp_l.S: New file.
17883 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17884 * sysdeps/x86_64/locale-defines.sym: New file.
17885 * string/test-strcasecmp.c: New file.
17887 * string/test-strcasestr.c: Test both ends of the range of characters.
17888 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17890 2010-07-29 Roland McGrath <roland@redhat.com>
17893 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17895 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17897 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17900 2010-07-27 Andreas Schwab <schwab@redhat.com>
17902 * manual/memory.texi (Malloc Tunable Parameters): Document
17905 2010-07-26 Roland McGrath <roland@redhat.com>
17908 * configure.in (-fgnu89-inline check): Set and substitute
17909 gnu89_inline, not libc_cv_gnu89_inline.
17910 * configure: Regenerated.
17911 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17913 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17915 * string/test-strnlen.c: New file.
17916 * string/Makefile (strop-tests): Add strnlen.
17917 * string/tester.c (test_strnlen): Add a few more test cases.
17918 * string/tst-strlen.c: Better error reporting.
17920 * sysdeps/x86_64/strnlen.S: New file.
17922 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17924 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17925 lower-latency instructions.
17927 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17929 * string/test-strcasestr.c: New file.
17930 * string/test-strstr.c: New file.
17931 * string/Makefile (strop-tests): Add strstr and strcasestr.
17932 * string/str-two-way.h: Don't undefine MAX.
17933 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17935 2010-07-21 Andreas Schwab <schwab@redhat.com>
17937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17938 strcasestr-nonascii.
17939 (CFLAGS-strcasestr-nonascii.c): Define.
17940 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17941 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17942 Remove unused attribute.
17944 2010-07-20 Roland McGrath <roland@redhat.com>
17946 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17947 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17948 ld.so.cache was broken. With it, there is no way to disable dsocaps
17949 like LD_HWCAP_MASK can disable hwcaps.
17951 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17953 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17955 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17957 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17958 call in strcasestr.
17959 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17960 __strcasestr_sse42_nonascii.
17961 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17962 strcasestr-nonascii.c.
17963 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17965 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17967 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17968 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17969 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17970 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17972 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17974 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17977 2010-07-06 Andreas Schwab <schwab@redhat.com>
17980 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17983 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17986 _PC_PIPE_BUF using F_GETPIPE_SZ.
17988 2010-07-05 Roland McGrath <roland@redhat.com>
17990 * manual/arith.texi (Rounding Functions): Fix rint description
17991 implicit in round description.
17993 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17995 * elf/Makefile: Fix linking for a few tests to make recent linker
17998 2010-06-30 Andreas Schwab <schwab@redhat.com>
18000 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18001 $(common-objpfx)libc_nonshared.a.
18003 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18005 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18006 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18007 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18008 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18009 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18010 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18011 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18012 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18027 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18028 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18029 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18030 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18031 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18032 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18033 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18034 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18035 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18036 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18037 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18038 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18054 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18056 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18057 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18058 * string/memmove.c (memmove): Renamed to ...
18059 (MEMMOVE): ...this. Default to memmove.
18060 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18061 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18064 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18065 mempcpy-ssse3-back memmove-ssse3-back.
18066 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18067 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18068 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18069 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18070 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18071 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18072 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18073 * sysdeps/x86_64/multiarch/memmove.c: New file.
18074 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18075 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18076 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18077 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18078 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18079 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18081 (index_Fast_Copy_Backward): Define.
18082 (HAS_ARCH_FEATURE): Define.
18083 (HAS_FAST_REP_STRING): Define.
18084 (HAS_FAST_COPY_BACKWARD): Define.
18086 2010-06-21 Andreas Schwab <schwab@redhat.com>
18088 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18089 Restore proper fallback handling.
18091 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18094 * posix/group_member.c (__group_member): Correct checking loop.
18096 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18097 OOM in getpwuid_r correctly. Return error number when the caller
18098 should return, otherwise -1.
18099 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18100 call returning > 0 value.
18101 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18103 2010-06-07 Andreas Schwab <schwab@redhat.com>
18105 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18106 libc_nonshared.a from targets in modules-names.
18108 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18110 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18113 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18115 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18116 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18120 2010-06-02 Andreas Schwab <schwab@redhat.com>
18122 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18124 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18126 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18128 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18129 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18130 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18132 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18133 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18135 2010-06-14 Roland McGrath <roland@redhat.com>
18137 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18139 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18141 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18142 __REDIRECT followed by __THROW.
18143 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18144 * posix/getopt.h (getopt): Likewise.
18146 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18148 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18149 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18150 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18152 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18153 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18155 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18157 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18159 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18163 Properly check family and model.
18165 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18167 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18169 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18171 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18173 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18175 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18178 2010-05-19 Andreas Schwab <schwab@redhat.com>
18180 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18183 2010-05-21 Andreas Schwab <schwab@redhat.com>
18185 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18186 and internal_recvmmsg.
18187 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18188 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18189 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18190 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18192 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18193 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18194 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18196 2010-05-20 Andreas Schwab <schwab@redhat.com>
18198 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18200 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18202 POWER7 optimizations.
18203 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18204 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18206 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18208 * version.h: Update for 2.13 development version.
18210 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18212 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
18213 exceptions. Return 0.
18215 2010-05-07 Roland McGrath <roland@redhat.com>
18217 * elf/ldconfig.c (main): Add a const.
18219 2010-05-06 Ulrich Drepper <drepper@redhat.com>
18221 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
18222 (args_options): Add no-idn option.
18223 (ahosts_keys_int): Add idn_flags to ai_flags.
18224 (parse_option): Handle 'i' option to clear idn_flags.
18226 * malloc/malloc.c (_int_free): Possible race in the most recently
18227 added check. Only act on the data if no current modification
18230 See ChangeLog.17 for earlier changes.