1 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5 * sysdeps/arm/libm-test-ulps: Regenerated.
7 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8 Roland McGrath <roland@hack.frob.com>
10 * test-skeleton.c (signal_handler): Kill the whole process group
11 before killing the child individually.
12 (main): Report any failure on `setpgid'.
14 2014-06-30 Roland McGrath <roland@hack.frob.com>
16 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17 from _TLS_H to _ARM_NPTL_TLS_H.
18 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
19 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
21 2014-06-30 Joseph Myers <joseph@codesourcery.com>
24 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25 (__expm1l): Return argument unchanged when small but not
28 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30 (_FP_UNPACK_RAW_1_P): Likewise.
31 (_FP_PACK_RAW_1): Likewise.
32 (_FP_PACK_RAW_1_P): Likewise.
33 (_FP_MUL_MEAT_1_wide): Likewise.
34 (_FP_MUL_MEAT_DW_1_hard): Likewise.
35 (_FP_MUL_MEAT_1_hard): Likewise.
36 (_FP_DIV_MEAT_1_imm): Likewise.
37 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
38 (_FP_DIV_MEAT_1_udiv): Likewise.
39 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
40 (_FP_UNPACK_RAW_2): Likewise.
41 (_FP_UNPACK_RAW_2_P): Likewise.
42 (_FP_PACK_RAW_2): Likewise.
43 (_FP_PACK_RAW_2_P): Likewise.
44 (_FP_MUL_MEAT_DW_2_wide): Likewise.
45 (_FP_MUL_MEAT_2_wide): Likewise.
46 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
47 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
49 (_FP_MUL_MEAT_2_gmp): Likewise.
50 (_FP_DIV_MEAT_2_udiv): Likewise.
51 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
52 (_FP_FRAC_SRL_4): Likewise.
53 (_FP_FRAC_SRST_4): Likewise.
54 (_FP_FRAC_SRS_4): Likewise.
55 (_FP_UNPACK_RAW_4): Likewise.
56 (_FP_UNPACK_RAW_4_P): Likewise.
57 (_FP_PACK_RAW_4): Likewise.
58 (_FP_PACK_RAW_4_P): Likewise.
59 (_FP_MUL_MEAT_DW_4_wide): Likewise.
60 (_FP_MUL_MEAT_4_wide): Likewise.
61 (_FP_MUL_MEAT_4_gmp): Likewise.
62 (umul_ppppmnnn): Likewise.
63 (_FP_DIV_MEAT_4_udiv): Likewise.
64 (__FP_FRAC_ADD_4): Likewise.
65 (__FP_FRAC_SUB_3): Likewise.
66 (__FP_FRAC_SUB_4): Likewise.
67 (__FP_FRAC_DEC_3): Likewise.
68 (__FP_FRAC_DEC_4): Likewise.
69 (__FP_FRAC_ADDI_4): Likewise.
70 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
71 (_FP_FRAC_SRL_8): Likewise.
72 (_FP_FRAC_SRS_8): Likewise.
74 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
76 (FP_UNPACK_RAW_EP): Likewise.
77 (FP_PACK_RAW_E): Likewise.
78 (FP_PACK_RAW_EP): Likewise.
79 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
80 (_FP_ISSIGNAN): Likewise.
81 (_FP_ADD_INTERNAL): Likewise.
85 (_FP_TO_INT): Likewise.
86 (_FP_FROM_INT): Likewise.
87 (FP_EXTEND): Likewise.
88 (_FP_DIV_MEAT_N_loop): Likewise.
90 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
92 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
95 2014-06-29 Joseph Myers <joseph@codesourcery.com>
98 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
99 result with correct sign in case of exponents that produce
100 overflow except for X very close to 1.
102 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
104 mktime: merge #if/#ifdef usage from glibc
105 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
106 as that works with both Glibc's and Gnulib's style.
107 See thread starting at Siddhesh Poyarekar's bug report at:
108 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
110 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
112 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
113 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
114 * sysdeps/tile/tilegx/memmove.c: Remove file.
116 2014-06-27 Joseph Myers <joseph@codesourcery.com>
118 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
120 * scripts/soversions.awk: Do not handle or generate ABI lines.
121 * shlib-versions: Remove ABI entries.
122 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
123 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
125 2014-06-27 Roland McGrath <roland@hack.frob.com>
127 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
128 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
129 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
132 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
133 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
135 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
137 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
138 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
139 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
140 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
141 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
142 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
143 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
144 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
145 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
146 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
147 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
148 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
149 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
151 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
153 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
154 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
155 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
156 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
158 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
159 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
161 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
162 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
163 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
164 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
166 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
167 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
168 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
169 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
170 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
171 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
173 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
175 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
176 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
177 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
178 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
180 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
181 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
183 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
184 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
185 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
186 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
188 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
190 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
191 Identical file removed.
192 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
194 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
195 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
196 Identical file removed.
197 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
198 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
199 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
201 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
202 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
203 Identical file removed.
204 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
205 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
206 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
207 Identical file removed.
208 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
209 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
210 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
211 Identical file removed.
212 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
213 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
214 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
215 Identical file removed.
216 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
218 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
219 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
220 Identical file removed.
221 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
223 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
224 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
225 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
226 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
227 Identical file removed.
228 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
230 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
232 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
233 Identical file removed.
234 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
236 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
237 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
238 Identical file removed.
239 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
241 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
242 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
243 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
244 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
245 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
246 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
248 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
249 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
250 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
252 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
253 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
254 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
255 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
256 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
258 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
261 * nscd/nscd.c (monitor_child): Return exit status of child
262 instead of return value from wait syscall.
264 2014-06-27 Joseph Myers <joseph@codesourcery.com>
266 * configure.ac (libc_commonpagesize): Remove variable.
267 (libc_relro_required): Likewise.
268 (libc_cv_z_relro): Remove configure test.
269 * configure: Regenerated.
270 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
272 (libc_relro_required): Likewise.
273 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
274 (libc_relro_required): Likewise.
275 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
276 (libc_relro_required): Likewise.
277 * sysdeps/arm/preconfigure: Regenerated.
278 * sysdeps/ia64/preconfigure: Remove file.
279 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
281 (libc_relro_required): Likewise.
285 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
286 (__ieee754_yn): Set FE_TONEAREST mode internally and then
287 recompute overflowing results in original rounding mode.
288 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
289 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
290 recompute overflowing results in original rounding mode.
291 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
292 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
293 recompute overflowing results in original rounding mode.
294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
295 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
296 recompute overflowing results in original rounding mode.
297 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
298 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
299 recompute overflowing results in original rounding mode.
300 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
301 (libc_feholdsetround_ctx): New macro.
302 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
303 * sysdeps/i386/fpu/libm-test-ulps: Update.
304 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
306 2014-06-26 Joseph Myers <joseph@codesourcery.com>
308 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
309 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
310 corresponding .cpsetup call.
312 2014-06-26 Roland McGrath <roland@hack.frob.com>
314 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
315 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
316 * sysdeps/arm/Makefile [$(subdir) = csu]
317 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
318 (static-only-routines): Add aeabi_read_tp here.
319 (shared-only-routines): Add libc-aeabi_read_tp here.
320 (CFLAGS-libc-start.c): Add -fexceptions here.
321 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
322 (sysdep_routines, static-only-routines, shared-only-routines):
323 Don't add to these here.
324 (CFLAGS-libc-start.c): Likewise.
326 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
327 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
328 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
329 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
330 * sysdeps/arm/Makefile [$(subdir) = rt]
331 (librt-sysdep_routines, librt-shared-only-routines):
332 Append rt-aeabi_unwind_cpp_pr1 here.
333 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
334 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
335 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
336 (libpthread-sysdep_routines, libpthread-shared-only-routines):
337 Append nptl-aeabi_unwind_cpp_pr1 here.
338 (tests): Filter out tst-cleanupx4 here.
339 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
340 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
343 2014-06-26 Joseph Myers <joseph@codesourcery.com>
345 * scripts/list-sources.sh: Do not handle ports specially.
347 2014-06-26 Roland McGrath <roland@hack.frob.com>
349 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
350 * sysdeps/arm/feupdateenv.c: Likewise.
352 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
354 2014-06-26 Joseph Myers <joseph@codesourcery.com>
356 * manual/texinfo.tex: Update to version 2014-05-05.10 with
357 trailing whitespace removed.
358 * scripts/config.guess: Update to version 2014-03-23.
359 * scripts/config.sub: Update to version 2014-05-01
360 * scripts/install-sh: Update to version 2013-12-25.23.
361 * scripts/move-if-change: Update from gnulib.
363 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
365 * debug/memmove_chk.c: Remove pagecopy.h include.
367 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
369 * time/mktime.c (leapyear): Remove inline keyword. The code is now
370 identical to gnulib mktime.
372 2014-06-26 Joseph Myers <joseph@codesourcery.com>
374 * configure.ac: Do not test for machine being rs6000. Do not test
376 * configure: Regenerated.
378 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
380 * configure: Regenerated.
381 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
382 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
383 Remove configure test.
384 * sysdeps/arm/configure: Regenerated.
385 * sysdeps/nptl/configure.ac: Do not check
386 libc_cv_asm_cfi_directives.
387 * sysdeps/nptl/configure: Regenerated.
388 * sysdeps/x86_64/nptl/configure.ac: Remove file.
389 * sysdeps/x86_64/nptl/configure: Remove generated file.
390 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
392 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
394 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
396 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
397 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
398 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
401 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
402 instead of whether it is defined.
403 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
404 * sysdeps/hppa/dl-machine.h: Likewise.
405 * sysdeps/ia64/dl-machine.h: Likewise.
406 * sysdeps/m68k/dl-machine.h: Likewise.
407 * sysdeps/microblaze/dl-machine.h: Likewise.
408 * sysdeps/mips/dl-machine.: Likewise.
409 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
410 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
411 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
412 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
413 * sysdeps/sh/dl-machine.h: Likewise.
414 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
415 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
416 * sysdeps/tile/dl-machine.h: Likewise.
417 * sysdeps/x86_64/dl-machine.h: Likewise.
419 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
421 (verify_persistent_db): Likewise.
423 2014-06-26 Roland McGrath <roland@hack.frob.com>
425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
426 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
428 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
431 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
434 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
436 Identical file removed.
437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
438 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
440 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
442 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
444 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
446 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
449 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
451 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
453 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
456 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
458 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
460 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
462 Identical file removed.
463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
464 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
466 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
469 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
472 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
476 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
478 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
480 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
483 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
486 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
488 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
491 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
493 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
495 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
497 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
498 * sysdeps/unix/sysv/linux/s390/Versions
499 (libpthread: GLIBC_2.19): New version set.
500 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
501 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
502 (librt: GLIBC_2.3.3): New version set.
503 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
504 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
505 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
506 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
507 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
508 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
509 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
510 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
511 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
512 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
513 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
514 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
515 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
516 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
517 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
518 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
519 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
520 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
521 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
522 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
523 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
524 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
525 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
526 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
527 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
528 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
529 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
530 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
531 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
532 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
533 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
534 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
535 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
537 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
538 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
539 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
540 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
541 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
543 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
545 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
546 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
547 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
549 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
550 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
551 (__libc_vfork): Define the function under this name.
552 [!NOT_IN_libc] (__vfork): Make this an alias.
553 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
554 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
555 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
556 (__libc_vfork): Define the function under this name.
557 [!NOT_IN_libc] (__vfork): Make this an alias.
558 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
559 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
560 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
561 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
562 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
563 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
565 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
566 code that was previously under [RESET_PID].
567 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
568 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
569 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
571 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
572 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
573 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
574 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
575 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
576 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
577 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
578 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
579 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
580 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
581 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
583 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
584 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
585 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
586 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
587 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
588 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
589 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
590 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
591 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
592 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
593 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
594 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
595 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
596 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
597 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
598 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
599 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
600 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
601 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
602 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
603 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
604 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
605 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
606 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
607 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
608 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
609 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
610 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
611 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
613 2014-06-25 Roland McGrath <roland@hack.frob.com>
615 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
616 that was previously under [RESET_PID].
617 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
619 2014-06-25 Joseph Myers <joseph@codesourcery.com>
621 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
622 not undefine and redefine.
623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
624 [O_CLOEXEC]: Make code unconditional.
625 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
626 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
628 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
629 conditional variable definition.
630 (shm_open) [O_CLOEXEC]: Make code unconditional.
631 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
634 * configure.ac (USE_REGPARMS): Don't define here.
635 * configure: Regenerated.
636 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
637 * sysdeps/i386/configure: Regenerated.
639 * nptl/createthread.c: Don't include kernel-features.h.
640 * nptl/pthread_cancel.c: Likewise.
641 * nptl/pthread_condattr_setclock.c: Likewise.
642 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
643 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
644 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
645 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
646 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
647 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
648 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
650 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
651 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
652 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
653 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
654 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
655 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
656 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
657 * nscd/gai.c: Likewise.
658 * nss/nss_db/db-open.c: Likewise.
659 * sysdeps/generic/ldsodefs.h: Likewise.
660 * sysdeps/sh/nptl/tls.h: Likewise.
661 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
662 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
663 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
664 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
665 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
666 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
667 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
668 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
669 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
670 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
671 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
672 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
673 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
674 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
675 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
676 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
677 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
678 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
679 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
680 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
681 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
682 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
683 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
684 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
685 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
686 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
687 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
688 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
689 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
690 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
691 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
692 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
693 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
694 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
695 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
696 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
697 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
698 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
699 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
700 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
701 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
702 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
703 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
704 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
705 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
706 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
707 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
708 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
709 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
710 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
711 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
712 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
713 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
714 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
715 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
716 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
717 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
718 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
741 * sysdeps/unix/sysv/linux/pread.c: Likewise.
742 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
743 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
744 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
745 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
746 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
747 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
748 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
749 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
750 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
751 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
752 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
753 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
754 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
755 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
756 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
757 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
758 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
759 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
760 * sysdeps/unix/sysv/linux/system.c: Likewise.
761 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
762 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
763 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
764 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
765 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
766 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
767 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
769 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
770 * configure: Regenerated.
771 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
773 * configure.ac (base_machine): Do not set specially for particular
775 * configure: Regenerated.
776 * sysdeps/powerpc/preconfigure: Move machine and base_machine
777 settings from configure.ac.
778 * sysdeps/i386/preconfigure: New file.
779 * sysdeps/s390/preconfigure: Likewise.
780 * sysdeps/sh/preconfigure: Likewise.
781 * sysdeps/sparc/preconfigure: Likewise.
783 2014-06-25 Roland McGrath <roland@hack.frob.com>
785 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
786 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
787 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
788 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
789 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
790 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
791 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
792 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
793 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
794 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
795 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
796 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
797 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
798 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
799 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
800 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
801 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
802 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
803 * sysdeps/sparc/sparc64/Makefile: ... appended here.
805 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
806 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
807 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
808 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
809 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
810 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
811 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
812 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
813 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
814 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
815 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
816 * sysdeps/sparc/sparc32/sem_post.c: ... here.
817 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
818 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
819 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
820 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
821 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
822 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
823 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
824 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
825 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
826 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
827 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
828 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
829 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
830 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
831 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
832 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
833 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
834 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
835 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
836 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
837 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
838 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
839 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
840 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
841 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
842 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
845 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
847 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
850 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
853 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
855 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
858 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
860 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
862 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
864 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
867 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
870 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
872 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
875 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
877 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
879 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
881 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
883 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
886 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
889 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
891 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
894 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
896 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
898 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
900 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
903 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
906 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
908 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
911 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
913 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
915 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
917 2014-06-25 Joseph Myers <joseph@codesourcery.com>
919 * timezone/checktab.awk: Update from tzcode 2014e.
920 * timezone/private.h: Likewise.
921 * timezone/tzfile.h: Likewise.
922 * timezone/zdump.c: Likewise.
923 * timezone/zic.c: Likewise.
925 * sysdeps/unix/sysv/linux/kernel-features.h
926 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
927 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
928 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
929 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
930 Remove conditional code.
932 2014-06-25 Will Newton <will.newton@linaro.org>
934 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
935 (_dl_arm_cap_flags): Add HWCAP2 values.
936 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
937 (_DL_HWCAP_COUNT): Increase to 37.
938 (_DL_HWCAP_LAST): New define.
939 (_DL_HWCAP2_LAST): New define.
940 (_dl_procinfo): Add support for printing
942 (_dl_string_hwcap): Use _dl_hwcap_string.
944 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
948 2014-06-25 Joseph Myers <joseph@codesourcery.com>
950 * README: Do not mention ports directory.
952 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
954 * sysdeps/unix/sysv/linux/futimes.c: Do not include
956 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
957 conditional variable definition.
958 (__futimes): Update comment.
959 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
960 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
963 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
964 arguments close to 0.
965 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
967 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
969 * math/auto-libm-test-in: Add more tests of exp10.
970 * math/auto-libm-test-out: Regenerated.
971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
973 * sysdeps/unix/sysv/linux/kernel-features.h
974 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
975 * sysdeps/unix/sysv/linux/readv.c: Do not include
977 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
978 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
979 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
981 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
983 * sysdeps/unix/sysv/linux/writev.c: Do not include
985 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
986 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
987 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
989 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
992 2014-06-25 Will Newton <will.newton@linaro.org>
994 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
995 comment changes throughout the file. Remove checks
996 for HAVE_*_H definitions that are not required.
997 (__gen_tempname): Call abort if an unknown kind value is
1000 2014-06-25 Andreas Schwab <schwab@suse.de>
1003 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1004 scalbln, scalblnf, scalblnl in libc.
1006 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1009 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1010 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1011 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1013 2014-06-24 Roland McGrath <roland@hack.frob.com>
1015 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1016 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1017 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1018 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1020 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1021 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1023 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1024 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1025 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1026 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1027 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1028 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1029 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1030 * sysdeps/x86/bits/semaphore.h: ... here.
1031 * sysdeps/x86/nptl/elide.h: Moved ...
1032 * sysdeps/x86/elide.h: ... here.
1033 * sysdeps/x86_64/nptl/Implies: File removed.
1034 * sysdeps/i386/nptl/Implies: File removed.
1036 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1039 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1040 return the argument for normal arguments with exponent below -64.
1041 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1043 * math/auto-libm-test-in: Add another test of expm1.
1044 * math/auto-libm-test-out: Regenerated.
1047 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1048 calling __erfcl for arguments at least 16.
1049 * math/auto-libm-test-in: Add more tests of erf.
1050 * math/auto-libm-test-out: Regenerated.
1052 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1053 individual architectures.
1054 * sysdeps/unix/sysv/linux/configure: Regenerated.
1055 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1056 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1057 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1058 (ldd_rewrite_script): Define variable.
1059 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1064 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1065 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1066 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1067 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1068 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1069 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1070 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1071 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1073 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1076 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1077 Rename member __data.d to __data.__elision_data.
1079 2014-06-24 Wilco <wdijkstr@arm.com>
1081 * NEWS: Add 16918 to fixed bug list.
1083 2014-06-24 Wilco <wdijkstr@arm.com>
1085 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1087 2014-06-24 Wilco <wdijkstr@arm.com>
1089 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1090 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1091 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1092 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1093 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1094 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1095 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1098 2014-06-24 Wilco <wdijkstr@arm.com>
1100 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1102 2014-06-24 Wilco <wdijkstr@arm.com>
1104 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1105 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1106 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1107 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1109 2014-06-24 Wilco <wdijkstr@arm.com>
1112 * sysdeps/arm/feupdateenv.c (feupdateenv):
1113 Rewrite to reduce FPSCR accesses and fix return value.
1115 2014-06-24 Wilco <wdijkstr@arm.com>
1117 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1118 Optimize to avoid unnecessary FPSCR writes.
1119 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1120 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1121 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1122 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1124 2014-06-24 Wilco <wdijkstr@arm.com>
1126 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1127 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1128 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1129 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1130 Call libc_fetestexcept_vfp.
1131 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1132 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1133 __SOFTFP__ ifdef so that they can be built for softfp.
1135 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1137 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1138 argument type signed char.
1140 * Makerules (check-abi): Dump diff of symlist if the test
1143 2014-06-23 Roland McGrath <roland@hack.frob.com>
1145 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1148 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1149 Remove unused variable ST.
1151 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1155 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1156 small arguments before calling __expm1.
1157 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1158 small arguments before calling __expm1f.
1159 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1160 small arguments before calling __expm1l.
1161 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1163 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1164 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1165 spurious underflow for some cosh tests.
1166 * math/auto-libm-test-out: Regenerated.
1167 * sysdeps/i386/fpu/libm-test-ulps: Update.
1170 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1171 (__ieee754_y1): Set errno if return value overflows.
1172 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1173 (__ieee754_y1f): Set errno if return value overflows.
1174 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1175 (__ieee754_y1l): Set errno if return value overflows.
1176 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1177 (__ieee754_y1l): Set errno if return value overflows.
1178 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1179 * math/auto-libm-test-out: Regenerated.
1181 * math/gen-auto-libm-tests.c: Document use of
1182 ignore-zero-inf-sign.
1183 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1184 (input_flags): Add ignore-zero-inf-sign.
1185 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1186 * math/gen-libm-test.pl (generate_testfile): Handle
1187 ignore-zero-inf-sign.
1188 * math/auto-libm-test-in: Mark some cpow tests with
1189 ignore-zero-inf-sign and some with xfail-rounding.
1190 * math/auto-libm-test-out: Regenerated.
1191 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1192 * sysdeps/i386/fpu/libm-test-ulps: Update.
1193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1196 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1197 overflowing or underflowing operations take place with sign of
1199 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1200 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1201 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1202 (__ieee754_pow): Recompute overflowing and underflowing results in
1203 original rounding mode.
1204 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1205 (__powl_helper): Allow negative argument X and scale negated value
1206 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1207 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1208 overflowing or underflowing operations take place with sign of
1210 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1212 * math/auto-libm-test-in: Add more tests of pow.
1213 * math/auto-libm-test-out: Regenerated.
1214 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1215 (pow_tonearest_test_data): Remove.
1216 (pow_test_tonearest): Likewise.
1217 (pow_towardzero_test_data): Likewise.
1218 (pow_test_towardzero): Likewise.
1219 (pow_downward_test_data): Likewise.
1220 (pow_test_downward): Likewise.
1221 (pow_upward_test_data): Likewise.
1222 (pow_test_upward): Likewise.
1223 (main): Don't call removed functions.
1224 * sysdeps/i386/fpu/libm-test-ulps: Update.
1225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1227 2014-06-23 Roland McGrath <roland@hack.frob.com>
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1403 2014-06-23 Will Newton <will.newton@linaro.org>
1404 Wilco <wdijkstr@arm.com>
1406 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1407 implementation. Include get-rounding-mode.h.
1408 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1409 [!libc_feholdsetround_noex_ctx]: Define
1410 libc_feholdsetround_noex_ctx.
1411 [!libc_feholdsetround_noexf_ctx]: Define
1412 libc_feholdsetround_noexf_ctx.
1413 [!libc_feholdsetround_noexl_ctx]: Define
1414 libc_feholdsetround_noexl_ctx.
1415 (libc_feholdsetround_ctx): New function.
1416 (libc_feresetround_ctx): New function.
1417 (libc_feholdsetround_noex_ctx): New function.
1418 (libc_feresetround_noex_ctx): New function.
1420 2014-06-23 Roland McGrath <roland@hack.frob.com>
1422 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1423 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1424 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1425 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1426 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1427 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1429 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1430 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1431 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1432 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1433 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1434 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1435 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1436 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1437 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1441 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1443 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1444 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1445 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1446 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1449 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1451 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1452 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1453 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1455 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1458 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1459 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1461 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1463 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1464 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1466 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1467 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1468 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1469 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1470 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1471 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1472 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1473 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1474 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1475 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1477 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1479 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1480 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1481 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1482 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1483 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1484 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1485 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1486 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1487 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1488 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1489 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1490 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1491 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1493 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1494 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1495 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1496 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1497 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1498 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1500 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1502 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1503 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1504 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1506 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1507 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1508 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1509 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1510 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1511 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1513 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1514 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1515 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1516 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1517 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1518 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1519 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1520 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1521 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1522 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1523 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1524 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1525 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1526 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1527 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1528 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1529 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1530 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1531 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1532 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1533 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1535 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1537 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1538 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1539 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1540 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1541 (IPV6_PMTUDISC_INTERFACE): Likewise.
1542 (IPV6_PMTUDISC_OMIT): Likewise.
1544 2014-06-23 Andreas Schwab <schwab@suse.de>
1546 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1547 Remove unused errout label.
1549 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1551 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1552 macro: hardware supports Vector Crypto instructions.
1554 2014-06-23 Will Newton <will.newton@linaro.org>
1556 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1557 rather than __builtin_expect.
1559 * elf/dl-lookup.c (undefined_msg): Remove variable.
1560 (_dl_lookup_symbol_x): Replace undefined_msg with string
1563 * elf/dl-lookup.c (do_lookup_unique): New function.
1564 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1565 to a separate function.
1567 2014-06-23 Andreas Schwab <schwab@suse.de>
1570 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1571 before reading the next line.
1573 2014-06-23 Will Newton <will.newton@linaro.org>
1575 * test-skeleton.c (signal_handler): Use printf and %m
1576 rather than perror. Use printf rather than fprintf to
1577 stderr. Use puts rather than fputs to stderr.
1580 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1582 * nscd/nscd.c (thread_info_t): Remove typedef.
1583 (thread_info): Remove variable.
1585 2014-06-21 Allan McRae <allan@archlinux.org>
1587 * NEWS: Mention CVE-2014-4043.
1589 2014-06-20 Roland McGrath <roland@hack.frob.com>
1591 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1592 * nptl/smp.h: ... here.
1594 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1596 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1597 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1598 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1599 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1601 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1602 * nptl/stack-aliasing.h: New file.
1603 * sysdeps/i386/i686/stack-aliasing.h: New file.
1604 * sysdeps/i386/i686/nptl/Makefile: File removed.
1605 * sysdeps/x86_64/stack-aliasing.h: New file.
1606 * sysdeps/x86_64/nptl/Makefile
1607 (CFLAGS-pthread_create.c): Variable removed.
1609 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1610 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1612 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1613 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1616 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1618 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1619 (__ASSUME_SIGFRAME_V2): Remove macro.
1620 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1621 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1622 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1623 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1624 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1625 Declare as function. Remove conditional macro definitions.
1626 (__default_rt_sa_restorer): Likewise.
1627 (__default_sa_restorer_v1): Remove declaration.
1628 (__default_sa_restorer_v2): Likewise.
1629 (__default_rt_sa_restorer_v1): Likewise.
1630 (__default_rt_sa_restorer_v2): Likewise.
1631 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1632 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1633 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1635 2014-06-20 Roland McGrath <roland@hack.frob.com>
1637 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1638 (libpthread-routines): Add sysdep.
1639 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1640 * sysdeps/unix/sysv/linux/sparc/Versions
1641 (libpthread: GLIBC_2.3.3): New version set.
1642 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1643 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1644 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1645 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1646 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1647 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1649 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1650 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1651 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1652 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1653 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1654 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1655 * sysdeps/sparc/nptl/sem_init.c: ... here.
1656 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1657 * sysdeps/sparc/nptl/sem_post.c: ... here.
1658 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1659 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1660 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1661 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1662 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1663 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1664 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1665 (libpthread-routines): Add cpu_relax.
1666 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1668 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1669 (librt: GLIBC_2.3.3): New version set.
1670 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1671 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1672 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1673 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1676 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1677 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1679 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1681 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1682 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1683 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1685 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1687 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1688 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1690 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1692 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1694 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1698 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1702 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1706 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1710 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1713 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1717 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1719 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1721 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1724 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1726 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1727 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1728 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1730 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1732 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1733 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1734 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1735 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1736 * nscd/nscd.c: Likewise.
1737 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1738 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1739 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1740 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1742 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1743 <kernel-features.h>.
1744 (init_mq_netlink): Remove conditional have_sock_cloexec
1745 definitions. Remove code conditional on have_sock_cloexec < 0.
1746 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1747 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1748 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1749 <kernel-features.h>.
1750 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1751 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1753 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1755 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1756 Add tests for memset_chk and memset.
1758 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1761 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1764 * elf/tst-dl-iter-static.c: New file.
1765 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1767 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1770 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1772 * sysdeps/unix/sysv/linux/kernel-features.h
1773 (__ASSUME_F_GETOWN_EX): Remove macro.
1774 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1775 <kernel-features.h>.
1776 (miss_F_GETOWN_EX): Remove variable or macro.
1777 (do_fcntl): Do not check miss_F_GETOWN_EX.
1778 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1780 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1782 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1783 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1784 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1786 * sysdeps/unix/sysv/linux/kernel-features.h
1787 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1788 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1789 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1790 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1792 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1795 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1796 Fix calculation of the symbol's value.
1797 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1798 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1799 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1800 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1801 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1802 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1803 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1804 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1805 (modules-names): Add `tst-armtlsdescmod',
1806 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1807 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1808 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1809 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1810 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1811 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1812 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1813 ($(objpfx)tst-armtlsdescloc): New dependency.
1814 ($(objpfx)tst-armtlsdescextnow): Likewise.
1815 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1816 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1818 * sysdeps/arm/configure: Regenerate.
1820 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1822 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1823 (__atfct_seterrno_2): Likewise.
1824 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1825 <kernel-features.h>.
1826 (__ASSUME_ATFCTS): Do not undefine and redefine.
1827 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1828 (__have_atfcts): Remove conditional definition.
1829 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1830 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1831 unreachable if [__ASSUME_ATFCTS].
1832 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1833 not undefine and redefine.
1834 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1835 <kernel-features.h>.
1836 (faccessat) [__NR_faccessat]: Make code unconditional.
1837 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1838 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1839 <kernel-features.h>.
1840 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1841 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1842 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1843 <kernel-features.h>.
1844 (fchownat) [__NR_fchownat]: Make code unconditional.
1845 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1846 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1847 <kernel-features.h>.
1848 (futimesat) [__NR_futimesat]: Make code unconditional.
1849 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1850 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1851 <kernel-features.h>.
1852 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1853 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1854 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1855 <kernel-features.h>.
1856 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1857 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1858 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1859 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1860 <kernel-features.h>.
1861 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1862 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1863 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1864 <kernel-features.h>.
1865 (linkat) [__NR_linkat]: Make code unconditional.
1866 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1867 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1868 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1869 <kernel-features.h>.
1870 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1871 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1872 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1873 <kernel-features.h>.
1874 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1875 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1876 * sysdeps/unix/sysv/linux/openat.c: Do not include
1877 <kernel-features.h>.
1878 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1879 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1880 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1881 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1882 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1883 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1884 <kernel-features.h>.
1885 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1886 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1887 result of INLINE_SYSCALL directly, not via int variable.
1888 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1889 <kernel-features.h>.
1890 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1891 (renameat) [__NR_renameat]: Make code unconditional.
1892 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1893 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1894 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1895 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1896 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1897 (__ASSUME_ATFCTS): Do not undefine and redefine.
1898 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1899 <kernel-features.h>.
1900 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1901 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1902 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1903 <kernel-features.h>.
1904 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1905 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1906 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1907 (__ASSUME_ATFCTS): Do not undefine and redefine.
1908 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1909 <kernel-features.h>.
1910 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1911 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1912 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1913 <kernel-features.h>.
1914 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1915 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1917 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1919 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1921 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1924 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1925 constructed tree before returning error.
1926 * posix/bug-regexp36.c: Expand test case.
1928 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1931 * math/libm-test.inc (scalbln_test_date):
1932 Add errno expectations.
1933 * math/w_scalblnf.c: New File.
1934 Add wrapper which checks for setting errno to ERANGE.
1935 Add weak_alias for corresponding scalbln function.
1936 * math/w_scalbln.c: Likewise.
1937 * math/w_scalblnl.c: Likewise.
1938 * math/Makefile (libm-calls): Add w_scalbln.
1939 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1940 Remove weak_alias for corresponding scalbln function.
1941 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1942 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1943 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1944 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1945 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1946 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1947 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1948 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1949 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1950 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1951 Remove long_double_symbol for scalblnl function in libm, libc.
1952 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1953 Add wrapper which checks for setting errno to ERANGE.
1954 Add long_double_symbol for scalblnl function in libm, libc.
1955 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1956 Remove long_double_symbol for scalblnl in libm.
1957 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1958 Add wrapper which checks for setting errno to ERANGE.
1959 Add long_double_symbol for scalblnl function in libm.
1960 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1961 Do not use wrapper because of own implementation.
1963 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1965 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1966 3 bytes for __pad1 for x32.
1967 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1969 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1970 H.J. Lu <hongjiu.lu@intel.com>
1972 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1973 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1974 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1975 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1976 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1978 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1981 * posix/regcomp.c (parse_expression): Deallocate partially
1982 constructed tree before returning error.
1983 * posix/Makefile.c (tests): Add bug-regex36.
1984 (generated): Add bug-regex36.mtrace.
1985 (tests-special): Add $(objpfx)bug-regex36-mem.out
1986 (bug-regex36-ENV): New variable.
1987 ($(objpfx)bug-regex36-mem.out): New rule.
1988 * posix/bug-regex36.c: New file.
1990 2014-06-19 Will Newton <will.newton@linaro.org>
1992 * malloc/malloc.c (systrim): If extra is zero then return
1995 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1997 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1999 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2001 * sysdeps/aarch64/strchr.S: New file.
2003 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2006 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2007 from arguments -2 or below.
2008 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2009 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2011 2014-06-18 Andreas Schwab <schwab@suse.de>
2014 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2015 of a bracket expr not to run off the end of the string.
2016 * posix/Makefile (tests): Add tst-fnmatch3.
2017 * posix/tst-fnmatch3.c: New file.
2019 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2021 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2022 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2023 [$(cross-compiling) = no]: Likewise.
2024 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2025 [$(cross-compiling) = no]: Likewise.
2027 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2030 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2031 double, adjusted for any remainder from the high double.
2032 * math/libm-test.inc (nearbyint): Add tests.
2035 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2037 * nptl/sysdeps/powerpc/Makefile: Moved ...
2038 * sysdeps/powerpc/nptl/Makefile: ... here.
2039 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2040 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2041 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2042 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2043 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2044 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2045 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2046 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2047 * nptl/sysdeps/powerpc/tls.h: Moved ...
2048 * sysdeps/powerpc/nptl/tls.h: ... here.
2050 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2053 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2054 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2055 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2056 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2057 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2058 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2059 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2060 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2061 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2063 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2065 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2067 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2069 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2072 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2075 2014-06-16 Florian Weimer <fweimer@redhat.com>
2078 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2079 non-executed part of the test.
2081 2014-06-16 Andreas Schwab <schwab@suse.de>
2083 * string/bits/string2.h (strdup, strndup): Update feature guard.
2085 2014-06-14 David S. Miller <davem@davemloft.net>
2087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2089 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2091 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2092 that was previously under [RESET_PID].
2093 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2095 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2096 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2097 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2098 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2099 (__libc_vfork): New strong alias.
2100 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2102 2014-06-14 Andi Kleen <ak@linux.intel.com>
2104 * sysdeps/generic/elide.h: New file.
2106 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2108 * Makefile (installed-headers): Adjust path of pthread.h header.
2110 2014-06-13 Roland McGrath <roland@hack.frob.com>
2112 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2113 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2114 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2115 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2117 * nptl/sysdeps/s390/Makefile: Moved ...
2118 * sysdeps/s390/nptl/Makefile: ... here.
2119 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2120 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2121 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2122 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2123 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2124 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2125 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2126 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2127 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2128 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2129 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2130 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2131 * nptl/sysdeps/s390/tls.h: Moved ...
2132 * sysdeps/s390/nptl/tls.h: ... here.
2134 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2135 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2137 2014-06-13 David S. Miller <davem@davemloft.net>
2139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2142 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2146 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2147 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2148 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2149 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2150 Remove RESET_PID cpp guards.
2151 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2152 Remove RESET_PID cpp guards.
2153 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2155 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2157 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2160 2014-06-13 Andi Kleen <ak@linux.intel.com>
2162 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2163 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2164 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2165 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2166 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2167 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2168 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2169 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2170 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2171 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2172 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2173 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2174 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2175 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2176 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2177 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2178 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2179 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2180 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2181 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2183 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2184 (pthread_rwlock_rdlock): Add elision.
2185 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2186 (pthread_rwlock_wrlock): Add elision.
2187 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2188 (pthread_rwlock_trywrlock): Add elision.
2189 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2190 (pthread_rwlock_tryrdlock): Add elision.
2191 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2192 (pthread_rwlock_tryrdlock): Add elision unlock.
2193 * nptl/sysdeps/pthread/pthread.h:
2194 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2195 (PTHREAD_RWLOCK_INITIALIZER,
2196 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2197 Handle new elision field.
2198 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2199 * sysdeps/arm/nptl/bits/pthreadtypes.h
2200 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2201 * sysdeps/sh/nptl/bits/pthreadtypes.h
2202 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2203 * sysdeps/tile/nptl/bits/pthreadtypes.h
2204 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2205 * sysdeps/a/nptl/bits/pthreadtypes.h
2206 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2207 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2208 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2209 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2210 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2211 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2212 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2213 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2214 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2215 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2216 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2217 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2218 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2219 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2220 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2221 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2222 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2223 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2224 (elision_init): Set try_xbegin to zero when no RTM.
2225 * sysdeps/x86/nptl/bits/pthreadtypes.h
2226 (pthread_rwlock_t): Change __pad1 to __rwelision.
2227 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2229 2014-06-13 Andi Kleen <ak@linux.intel.com>
2231 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2232 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2233 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2234 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2236 2014-06-13 Meador Inge <meadori@codesourcery.com>
2239 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2240 that the cached result has been set before returning it.
2242 2014-06-12 Roland McGrath <roland@hack.frob.com>
2244 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2245 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2246 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2247 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2248 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2249 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2251 * nptl/sysdeps/sparc/Makefile: Moved ...
2252 * sysdeps/sparc/nptl/Makefile: ... here.
2253 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2254 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2255 * nptl/sysdeps/sparc/tls.h: Moved ...
2256 * sysdeps/sparc/nptl/tls.h: ... here.
2257 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2258 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2259 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2260 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2261 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2262 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2263 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2264 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2265 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2266 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2267 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2268 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2269 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2270 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2271 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2272 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2273 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2274 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2276 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2277 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2279 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2280 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2282 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2283 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2286 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2288 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2289 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2291 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2292 (struct list_links): Type removed.
2293 (struct thread_node, struct timer_node): Replace struct list_links
2294 with struct list_head.
2295 (list_unlink_ip): Likewise.
2296 * sysdeps/pthread/timer_routines.c
2297 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2298 (list_append, list_insbefore): Likewise.
2299 (list_init): Function removed.
2300 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2301 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2302 * sysdeps/pthread/Makefile: ... here, new file.
2304 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2305 * sysdeps/nptl/Implies: ... here.
2306 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2307 * nptl/sysdeps/pthread/list.h: Moved ...
2308 * include/list.h: ... here.
2309 * nptl/sysdeps/pthread/createthread.c: Moved ...
2310 * nptl/createthread.c: ... here.
2311 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2312 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2313 * nptl/pt-longjmp.c: ... here.
2314 * nptl/sysdeps/pthread/Makefile: Moved ...
2315 * sysdeps/nptl/Makefile: ... here.
2316 * nptl/sysdeps/pthread/Subdirs: Moved ...
2317 * sysdeps/nptl/Subdirs: ... here.
2318 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2319 * sysdeps/nptl/aio_misc.h: ... here.
2320 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2321 * sysdeps/nptl/bits/libc-lock.h: ... here.
2322 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2323 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2324 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2325 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2326 * nptl/sysdeps/pthread/configure: Moved ...
2327 * sysdeps/nptl/configure: ... here.
2328 * nptl/sysdeps/pthread/configure.ac: Moved ...
2329 * sysdeps/nptl/configure.ac: ... here.
2330 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2331 * sysdeps/nptl/gai_misc.h: ... here.
2332 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2333 * sysdeps/nptl/librt-cancellation.c: ... here.
2334 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2335 * sysdeps/nptl/malloc-machine.h: ... here.
2336 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2337 * sysdeps/nptl/pthread-functions.h: ... here.
2338 * nptl/sysdeps/pthread/pthread.h: Moved ...
2339 * sysdeps/nptl/pthread.h: ... here.
2340 * nptl/sysdeps/pthread/setxid.h: Moved ...
2341 * sysdeps/nptl/setxid.h: ... here.
2342 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2343 * sysdeps/nptl/sigfillset.c: ... here.
2344 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2345 * sysdeps/nptl/tcb-offsets.h: ... here.
2346 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2347 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2348 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2349 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2350 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2351 * sysdeps/pthread/allocalim.h: ... here.
2352 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2353 * sysdeps/pthread/bits/sigthread.h: ... here.
2354 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2355 * sysdeps/pthread/flockfile.c: ... here.
2356 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2357 * sysdeps/pthread/ftrylockfile.c: ... here.
2358 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2359 * sysdeps/pthread/funlockfile.c: ... here.
2360 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2361 * sysdeps/pthread/posix-timer.h: ... here.
2362 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2363 * sysdeps/pthread/timer_create.c: ... here.
2364 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2365 * sysdeps/pthread/timer_delete.c: ... here.
2366 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2367 * sysdeps/pthread/timer_getoverr.c: ... here.
2368 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2369 * sysdeps/pthread/timer_gettime.c: ... here.
2370 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2371 * sysdeps/pthread/timer_routines.c: ... here.
2372 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2373 * sysdeps/pthread/timer_settime.c: ... here.
2374 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2375 * sysdeps/pthread/tst-timer.c: ... here.
2376 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2377 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2379 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2380 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2382 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2383 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2384 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2385 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2386 Update #include target.
2387 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2388 * sysdeps/i386/i686/nptl/Makefile: ... here.
2389 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2390 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2391 Update #include target.
2392 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2393 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2394 * nptl/sysdeps/i386/Makefile: Moved ...
2395 * sysdeps/i386/nptl/Makefile: ... here.
2396 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2397 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2398 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2399 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2400 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2401 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2402 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2403 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2404 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2405 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2406 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2407 * nptl/sysdeps/i386/tls.h: Moved ...
2408 * sysdeps/i386/nptl/tls.h: ... here.
2410 * sysdeps/sh/Makefile [$(subdir) = csu]
2411 (gen-as-const-headers): Add tcb-offsets.sym.
2412 * nptl/sysdeps/sh/Makefile: File removed.
2413 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2414 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2415 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2416 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2417 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2418 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2419 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2420 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2421 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2422 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2423 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2424 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2425 * nptl/sysdeps/sh/tls.h: Moved ...
2426 * sysdeps/sh/nptl/tls.h: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2428 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2430 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2432 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2434 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2435 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2436 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2437 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2438 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2440 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2442 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2444 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2446 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2447 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2448 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2449 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2450 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2451 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2453 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2454 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2456 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2457 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2458 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2459 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2460 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2462 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2464 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2466 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2467 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2468 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2469 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2470 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2471 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2472 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2473 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2474 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2476 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2478 * posix/spawn_faction_addopen.c: Include string.h.
2480 2014-06-11 Roland McGrath <roland@hack.frob.com>
2482 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2483 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2484 * nptl/sysdeps/x86_64/Makefile: Moved ...
2485 * sysdeps/x86_64/nptl/Makefile: ... here.
2486 * nptl/sysdeps/x86_64/configure: Moved ...
2487 * sysdeps/x86_64/nptl/configure: ... here.
2488 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2489 * sysdeps/x86_64/nptl/configure.ac: ... here.
2490 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2491 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2492 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2493 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2494 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2495 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2496 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2497 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2498 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2499 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2500 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2501 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2502 * nptl/sysdeps/x86_64/tls.h: Moved ...
2503 * sysdeps/x86_64/nptl/tls.h: ... here.
2504 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2505 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2506 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2507 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2509 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2511 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2515 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2517 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2519 [POSIX] (off_t): Likewise.
2520 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2521 [POSIX] (S_ISBLK): Require macro.
2522 [POSIX] (S_ISCHR): Likewise.
2523 [POSIX] (S_ISDIR): Likewise.
2524 [POSIX] (S_ISFIFO): Likewise.
2525 [POSIX] (S_ISREG): Likewise.
2526 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2528 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2530 [POSIX] (time_t): Likewise.
2531 [POSIX] (timer_t): Likewise.
2533 2014-06-11 Florian Weimer <fweimer@redhat.com>
2536 * posix/spawn_int.h (struct __spawn_action): Make the path string
2537 non-const to support deallocation.
2538 * posix/spawn_faction_addopen.c
2539 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2540 * posix/spawn_faction_destroy.c
2541 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2542 path in all spawn_do_open actions.
2543 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2544 posix_spawn_file_actions_addopen.
2546 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2548 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2549 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2550 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2551 conditional code always true.
2552 (__libc_vfork): New alias.
2554 2014-06-11 Roland McGrath <roland@hack.frob.com>
2556 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2557 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2559 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2561 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2562 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2564 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2565 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2567 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2568 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2570 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2572 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2573 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2574 multiarch strcmp for PPC64.
2575 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2576 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2578 multiarch optimizations.
2579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2580 (__libc_ifunc_impl_list): Likewise.
2582 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2584 * benchtests/scripts/validate_benchout.py: New script.
2585 * benchtests/Makefile (bench-func): Call it.
2586 * benchtests/scripts/benchout.schema.json: New file.
2588 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2590 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2591 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2592 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2593 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2594 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2595 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2596 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2597 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2598 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2599 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2600 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2601 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2602 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2603 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2604 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2605 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2709 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2710 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2711 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2712 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2713 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2715 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2717 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2718 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2719 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2720 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2721 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2722 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2723 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2724 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2725 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2726 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2727 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2728 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2729 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2731 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2732 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2734 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2735 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2736 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2737 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2739 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2740 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2741 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2742 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2743 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2744 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2745 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2747 2014-06-10 Wilco <wdijkstr@arm.com>
2749 * math/test-fenv-return.c: New file.
2750 * math/Makefile: Add new test test-fenv-return.
2752 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2755 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2757 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2758 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2759 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2760 0.0L for an argument of 1.0L.
2761 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2763 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2764 value when x - 1 is zero.
2765 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2766 * sysdeps/i386/fpu/libm-test-ulps: Update.
2767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2769 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2772 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2774 2014-06-09 Roland McGrath <roland@hack.frob.com>
2776 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2777 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2779 2014-06-09 Roland McGrath <roland@hack.frob.com>
2781 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2782 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2784 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2785 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2787 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2788 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2790 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2791 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2793 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2794 if not already defined.
2795 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2796 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2797 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2798 (TLS_INIT_TP): Use it.
2799 (TLS_DEFINE_INIT_TP): New macro.
2800 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2802 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2804 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2806 [POSIX] (IXANY): Likewise.
2807 [POSIX] (OLCUC): Likewise.
2808 [POSIX || POSIX2008] (CBAUD): Do not allow.
2809 [POSIX || POSIX2008] (DEFECHO): Likewise.
2810 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2811 [POSIX || POSIX2008] (ECHOKE): Likewise.
2812 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2813 [POSIX || POSIX2008] (EXTA): Likewise.
2814 [POSIX || POSIX2008] (EXTB): Likewise.
2815 [POSIX || POSIX2008] (FLUSHO): Likewise.
2816 [POSIX || POSIX2008] (LOBLK): Likewise.
2817 [POSIX || POSIX2008] (PENDIN): Likewise.
2818 [POSIX || POSIX2008] (SWTCH): Likewise.
2819 [POSIX || POSIX2008] (VDISCARD): Likewise.
2820 [POSIX || POSIX2008] (VDSUSP): Likewise.
2821 [POSIX || POSIX2008] (VLNEXT): Likewise.
2822 [POSIX || POSIX2008] (VREPRINT): Likewise.
2823 [POSIX || POSIX2008] (VSTATUS): Likewise.
2824 [POSIX || POSIX2008] (VWERASE): Likewise.
2825 (B*): Change to B[0123456789]*.
2826 * conform/data/time.h-data [POSIX || UNIX98]
2827 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2828 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2829 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2830 [POSIX] (tm_*): Do not allow.
2832 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2834 * Makefile (install): Don't set LANGUAGE.
2835 * Makefile.in (install): Likewise.
2836 * assert/Makefile (test-assert-ENV): Remove variable.
2837 (test-assert-perr-ENV): Likewise.
2838 * elf/Makefile (neededtest4-ENV): Likewise.
2839 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2840 [$(cross-compiling) = no]: Don't set LANGUAGE.
2841 * io/ftwtest-sh (LANG): Remove variable.
2842 * libio/Makefile (tst-widetext-ENV): Likewise.
2843 * manual/install.texi (Running make install): Don't refer to
2844 environment settings for make install.
2845 * INSTALL: Regenerated.
2846 * nptl/tst-tls6.sh: Don't set LANG.
2847 * posix/globtest.sh (LANG): Remove variable.
2848 * string/Makefile (tester-ENV): Likewise.
2849 (inl-tester-ENV): Likewise.
2850 (noinl-tester-ENV): Likewise.
2851 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2852 [$(cross-compiling) = no]: Don't set LANGUAGE.
2853 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2854 without explicit environment settings.
2856 2014-06-06 Roland McGrath <roland@hack.frob.com>
2858 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2859 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2860 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2861 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2863 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2865 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2866 other files in the crypt directory.
2867 * crypt/crypt.c: Remove duplicate includes.
2868 * crypt/crypt-entry.c: Likewise.
2869 * crypt/crypt_util.c: Likewise.
2871 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2873 * Makeconfig (run-program-env): New variable.
2874 (run-program-prefix-before-env): Likewise.
2875 (run-program-prefix-after-env): Likewise.
2876 (run-program-prefix): Define in terms of new variables.
2877 (built-program-cmd-before-env): New variable.
2878 (built-program-cmd-after-env): Likewise.
2879 (built-program-cmd): Define in terms of new variables.
2880 (test-program-prefix-before-env): New variable.
2881 (test-program-prefix-after-env): Likewise.
2882 (test-program-prefix): Define in terms of new variables.
2883 (test-program-cmd-before-env): New variable.
2884 (test-program-cmd-after-env): Likewise.
2885 (test-program-cmd): Define in terms of new variables.
2886 * Rules (make-test-out): Use $(run-program-env).
2887 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2888 (help): Do not mention environment variables. Mention
2889 --timeoutfactor option.
2890 (timeoutfactor): New variable.
2891 (blacklist_exports): Remove function.
2892 (exports): Remove variable.
2893 (command): Do not include ${exports}.
2894 * manual/install.texi (Configuring and compiling): Do not mention
2895 test wrappers preserving environment variables. Mention that last
2896 assignment to a variable must take precedence.
2897 * INSTALL: Regenerated.
2898 * benchtests/Makefile (run-bench): Use $(run-program-env).
2899 * catgets/Makefile ($(objpfx)test1.cat): Use
2900 $(built-program-cmd-before-env), $(run-program-env) and
2901 $(built-program-cmd-after-env).
2902 ($(objpfx)test2.cat): Do not specify environment variables
2904 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2905 $(run-program-env) and $(built-program-cmd-after-env).
2906 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2907 $(run-program-env) and $(test-program-cmd-after-env).
2908 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2910 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2911 run_program_env and test_program_cmd_after_env arguments.
2912 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2913 * elf/tst-pathopt.sh: Use run_program_env argument.
2914 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2915 $(test-wrapper-env) and $(run-program-env).
2916 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2917 run_program_env arguments.
2918 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2919 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2920 $(test-program-prefix-before-env), $(run-program-env) and
2921 $(test-program-prefix-after-env).
2922 ($(objpfx)tst-gettext2.out): Likewise.
2923 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2924 run_program_env and test_program_prefix_after_env arguments.
2925 * intl/tst-gettext2.sh: Likewise.
2926 * intl/tst-gettext4.sh: Do not set environment variables
2928 * intl/tst-gettext6.sh: Likewise.
2929 * intl/tst-translit.sh: Likewise.
2930 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2931 $(test-program-prefix-before-env), $(run-program-env) and
2932 $(test-program-prefix-after-env).
2933 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2934 run_program_env and test_program_prefix_after_env arguments.
2935 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2936 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2937 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2938 explicitly with each use of ${test_wrapper_env}.
2939 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2940 $(test-program-prefix-before-env), $(run-program-env) and
2941 $(test-program-prefix-after-env).
2942 * posix/tst-getconf.sh: Do not set environment variables
2944 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2945 run_program_env and test_program_prefix_after_env arguments.
2946 * stdio-common/tst-printf.sh: Do not set environment variables
2948 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2949 $(test-program-prefix-before-env), $(run-program-env) and
2950 $(test-program-prefix-after-env).
2951 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2952 run_program_env and test_program_prefix_after_env arguments.
2953 Split $test calls into $test_pre and $test.
2954 * timezone/Makefile (build-testdata): Use
2955 $(built-program-cmd-before-env), $(run-program-env) and
2956 $(built-program-cmd-after-env).
2958 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2960 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2961 strlen for non SHARED builds.
2963 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2965 * nptl/allocatestack.c (check_list): Inlined function...
2966 (__reclaim_stacks): ... here.
2968 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2971 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2974 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2976 * Rules (make-test-out): Include
2977 LOCPATH=$(common-objpfx)localedata in default environment.
2978 * debug/Makefile (tst-chk1-ENV): Remove variable.
2979 (tst-chk2-ENV): Likewise.
2980 (tst-chk3-ENV): Likewise.
2981 (tst-chk4-ENV): Likewise.
2982 (tst-chk5-ENV): Likewise.
2983 (tst-chk6-ENV): Likewise.
2984 (tst-lfschk1-ENV): Likewise.
2985 (tst-lfschk2-ENV): Likewise.
2986 (tst-lfschk3-ENV): Likewise.
2987 (tst-lfschk4-ENV): Likewise.
2988 (tst-lfschk5-ENV): Likewise.
2989 (tst-lfschk6-ENV): Likewise.
2990 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2991 (tst-iconv7-ENV): Likewise.
2992 * intl/Makefile (LOCPATH-ENV): Likewise.
2993 (tst-codeset-ENV): Likewise.
2994 (tst-gettext3-ENV): Likewise.
2995 (tst-gettext5-ENV): Likewise.
2996 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2997 (tst-fopenloc-ENV): Likewise.
2998 (tst-fgetws-ENV): Remove variable.
2999 (tst-ungetwc1-ENV): Likewise.
3000 (tst-ungetwc2-ENV): Likewise.
3001 (bug-ungetwc2-ENV): Likewise.
3002 (tst-swscanf-ENV): Likewise.
3003 (bug-ftell-ENV): Likewise.
3004 (tst-fgetwc-ENV): Likewise.
3005 (tst-fseek-ENV): Likewise.
3006 (tst-ftell-partial-wide-ENV): Likewise.
3007 (tst-ftell-active-handler-ENV): Likewise.
3008 (tst-ftell-append-ENV): Likewise.
3009 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3010 (tst-regexloc-ENV): Likewise.
3011 (bug-regex1-ENV): Likewise.
3012 (tst-regex-ENV): Likewise.
3013 (tst-regex2-ENV): Likewise.
3014 (bug-regex5-ENV): Likewise.
3015 (bug-regex6-ENV): Likewise.
3016 (bug-regex17-ENV): Likewise.
3017 (bug-regex18-ENV): Likewise.
3018 (bug-regex19-ENV): Likewise.
3019 (bug-regex20-ENV): Likewise.
3020 (bug-regex22-ENV): Likewise.
3021 (bug-regex23-ENV): Likewise.
3022 (bug-regex25-ENV): Likewise.
3023 (bug-regex26-ENV): Likewise.
3024 (bug-regex30-ENV): Likewise.
3025 (bug-regex32-ENV): Likewise.
3026 (bug-regex33-ENV): Likewise.
3027 (bug-regex34-ENV): Likewise.
3028 (bug-regex35-ENV): Likewise.
3029 (tst-rxspencer-ENV): Likewise.
3030 (tst-rxspencer-no-utf8-ENV): Likewise.
3031 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3032 (tst-sscanf-ENV): Likewise.
3033 (tst-swprintf-ENV): Likewise.
3034 (tst-swscanf-ENV): Likewise.
3035 (test-vfprintf-ENV): Likewise.
3036 (scanf13-ENV): Likewise.
3037 (bug14-ENV): Likewise.
3038 (tst-grouping-ENV): Likewise.
3039 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3040 (tst-strtod3-ENV): Likewise.
3041 (tst-strtod4-ENV): Likewise.
3042 (tst-strtod5-ENV): Likewise.
3043 (testmb2-ENV): Likewise./
3044 * string/Makefile (tst-strxfrm-ENV): Likewise.
3045 (tst-strxfrm2-ENV): Likewise.
3046 (bug-strcoll1-ENV): Likewise.
3047 (test-strcasecmp-ENV): Likewise.
3048 (test-strncasecmp-ENV): Likewise.
3049 * time/Makefile (tst-strptime-ENV): Likewise.
3050 (tst-ftime_l-ENV): Likewise.
3051 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3052 (tst-mbrtowc-ENV): Likewise.
3053 (tst-wcrtomb-ENV): Likewise.
3054 (tst-mbrtowc2-ENV): Likewise.
3055 (tst-c16c32-1-ENV): Likewise.
3056 (tst-mbsnrtowcs-ENV): Likewise.
3058 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3060 * manual/resource.texi (How to get information about the memory
3061 subsystem?): Fix typo.
3062 Reported by Peon de la Parra Ivan <peon@keba.com>
3064 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3067 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3068 (pthread_spin_lock): Branch out of spin loop to proper location.
3069 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3070 (pthread_spin_lock): Likewise.
3072 * nptl/tst-spin4.c: New test.
3073 * nptl/Makefile (tests): Add tst-spin4.
3075 2014-06-03 Andreas Schwab <schwab@suse.de>
3078 * resolv/res_send.c (send_dg): Reload file descriptor after
3081 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3083 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3085 2014-06-03 Richard Henderson <rth@redhat.com>
3087 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3088 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3089 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3090 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3091 in the SAVE_PID block.
3092 (__libc_vfork): New alias.
3093 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3095 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3096 child in registers, not on the stack. Remove RESET_PID conditionals.
3097 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3099 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3101 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3103 2014-06-03 Wilco <wdijkstr@arm.com>
3105 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3106 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3107 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3108 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3109 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3112 2014-06-03 Wilco <wdijkstr@arm.com>
3114 * sysdeps/aarch64/fpu/math_private.h
3115 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3116 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3117 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3118 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3121 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3123 * crypt/crypt-private.h: Include ufc-crypt.h.
3124 (__b64_from_24bit): Declare extern.
3125 * crypt/crypt_util.c(__b64_from_24bit): New function.
3126 (b64t): New static const variable.
3127 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3128 (b64t): Remove variable.
3129 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3130 * crypt/sha256-crypt.c: Include crypt-private.h.
3131 (b64t): Remove variable.
3132 (__sha256_crypt_r): Remove b64_from_24bit and replace
3133 with __b64_from_24bit.
3134 * crypt/sha512-crypt.c: Likewise.
3136 2014-06-02 Roland McGrath <roland@hack.frob.com>
3138 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3139 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3140 Label the code __libc_vfork rather than __vfork.
3141 [!NOT_IN_libc] (vfork): Define as weak alias.
3142 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3143 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3144 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3146 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3148 * malloc/malloc.c (malloc_info): Fix format specifier for
3151 2014-06-02 Wilco <wdijkstr@arm.com>
3153 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3156 2014-06-02 Wilco <wdijkstr@arm.com>
3159 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3160 Rewrite to reduce FPCR/FPSR accesses.
3162 2014-06-01 David S. Miller <davem@davemloft.net>
3164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3166 2014-05-31 David S. Miller <davem@davemloft.net>
3168 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3169 to occur in round to nearest mode when |x| >= 2.0
3171 2014-05-30 Richard Henderson <rth@twiddle.net>
3173 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3174 (PSEUDO_RET_NOERRNO): Remove.
3175 (ret): Don't redefine.
3176 (ret_NOERRNO): Define in terms of ret.
3177 (ret_ERRVAL): Likewise.
3179 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3180 use of PSEUDO_RET; perform the error check directly.
3182 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3184 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3187 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3189 * malloc/malloc (malloc_info): Fix formatting.
3191 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3192 Roland McGrath <roland@hack.frob.com>
3194 * malloc/malloc (malloc_info): Also print mmapped statistics.
3196 2014-05-30 Roland McGrath <roland@hack.frob.com>
3198 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3199 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3201 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3203 * malloc/malloc.c (malloc_info): Inline mi_arena.
3205 2014-05-29 Richard Henderson <rth@twiddle.net>
3207 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3208 Remove comma before expanding ASM_ARGS_##nr.
3209 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3210 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3212 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3213 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3214 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3215 (ASM_ARGS_1): Add leading comma.
3217 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3218 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3219 to __errno_location.
3220 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3221 Remove the expected plt for __errno_location.
3223 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3224 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3227 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3228 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3229 it and break it down.
3230 (DOCARGS_0, DOCARGS_1): Do nothing.
3231 (DOCARGS_2): Update to store into the new stack frame.
3232 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3233 (UNDOCARGS_1): Update to restore from the new stack frame.
3234 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3235 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3237 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3238 (SINGLE_THREAD_P): New parameter for result regno.
3239 (PSEUDO): Update to match; use cbz instead of beq.
3241 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3242 Use ENTRY to define the _nocancel entry point. Share the syscall
3243 and syscall error check paths with the cancel path.
3246 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3247 whitespace; tabs before and after asm mnemonics.
3249 2014-05-29 Eric Wong <normalperson@yhbt.net>
3252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3253 Call fstat64 or stat64 internally, depending on arguments passed.
3254 Replace stat buffer argument with file descriptor argument.
3255 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3256 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3257 Pass fd to __internal_statvfs instead of calling fstat64.
3258 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3259 Pass fd to __internal_statvfs64 instead of calling fstat64.
3260 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3261 Pass -1 to __internal_statvfs instead of calling stat64.
3262 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3263 Pass -1 to __internal_statvfs64 instead of calling stat64.
3265 2014-05-28 Roland McGrath <roland@hack.frob.com>
3267 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3268 that was previously under [RESET_PID].
3269 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3271 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3272 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3274 2014-05-27 Roland McGrath <roland@hack.frob.com>
3276 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3278 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3279 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3281 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3283 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3285 2014-05-27 Andreas Schwab <schwab@suse.de>
3287 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3289 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3290 * elf/rtld.c (init_tls, dl_main): Likewise.
3291 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3292 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3293 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3294 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3295 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3296 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3297 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3298 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3299 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3300 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3301 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3302 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3303 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3304 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3305 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3306 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3307 * sysdeps/generic/tls.h: Update description.
3309 2014-05-27 Will Newton <will.newton@linaro.org>
3312 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3313 and restore r2 rather than just restoring.
3315 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3318 * libio/tst-ftell-append.c: New test case.
3319 * libio/Makefile (tests): Add test case.
3320 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3322 * libio/wfileops.c (do_ftell_wide): Likewise.
3324 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3328 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3332 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3333 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3334 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3335 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3336 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3337 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3338 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3341 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3344 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3345 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3346 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3347 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3348 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3350 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3351 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3353 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3355 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3357 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3358 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3359 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3361 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3362 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3363 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3364 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3366 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3369 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3372 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3375 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3379 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3387 conditional [RESET_PID].
3388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3391 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3396 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3397 (__libc_vfork): New strong alias.
3398 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3400 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3405 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3406 (__libc_vfork): New strong alias.
3407 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3409 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3412 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3414 * malloc/malloc.c (mi_arena): New function.
3415 (malloc_info): Remove nested function mi_arena. Call non-nosted
3418 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3420 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3422 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3423 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3424 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3425 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3426 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3427 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3428 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3430 2014-05-26 Andreas Schwab <schwab@suse.de>
3433 * locale/programs/repertoire.c (repertoire_read): Add slash
3434 between I18NPATH element and file name.
3435 * locale/programs/locfile.c (locfile_read): Likewise.
3437 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3439 * nptl/pthread_mutexattr_settype.c
3440 (__pthread_mutexattr_settype):
3441 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3443 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3445 * nptl/tst-mutex5 (do_test):
3446 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3448 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3450 * benchtests/README: Document 'init' directive.
3451 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3453 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3454 (parse_file): Recognize 'init' directive.
3456 2014-05-26 Kyle McMartin <kyle@redhat.com>
3459 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3460 alignment of struct pthread.
3462 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3465 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3466 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3467 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3468 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3470 2014-05-25 Richard Henderson <rth@twiddle.net>
3472 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3473 (SINGLE_THREAD_P_PIC): Remove.
3474 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3475 (SINGLE_THREAD_P_PIC): Remove.
3477 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3478 branch to syscall error ...
3480 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3481 from __local_syscall_error to .Lsyscall_error.
3482 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3483 (SYSCALL_ERROR): Update label name.
3485 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3486 Do not use DOARGS/UNDOARGS.
3487 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3488 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3489 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3490 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3491 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3493 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3496 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3497 define if !NOT_IN_libc.
3498 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3499 define with non-default symbol versions.
3501 2014-05-23 Richard Henderson <rth@twiddle.net>
3503 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3504 (vfork, __vfork): Define via compat_symbol.
3506 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3507 [!HAVE_IFUNC] (vfork_compat): Remove.
3508 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3510 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3513 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3514 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3517 2014-05-23 Richard Henderson <rth@twiddle.net>
3519 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3520 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3521 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3522 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3524 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3525 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3526 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3527 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3528 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3529 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3530 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3531 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3532 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3533 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3534 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3535 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3536 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3537 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3538 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3539 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3540 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3541 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3542 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3543 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3544 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3545 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3546 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3547 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3548 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3549 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3550 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3551 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3552 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3553 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3554 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3555 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3556 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3557 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3558 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3559 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3560 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3561 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3562 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3563 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3564 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3565 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3566 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3567 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3568 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3569 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3570 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3571 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3572 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3573 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3574 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3575 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3576 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3577 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3578 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3579 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3581 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3582 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3583 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3584 before exiting on error.
3585 (__libc_vfork): New strong alias.
3586 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3587 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3589 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3590 that was previously under [RESET_PID].
3591 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3593 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3595 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3598 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3599 value when x - 1 is zero.
3600 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3601 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3602 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3603 0.0L for an argument of 1.0L.
3604 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3606 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3607 value when x - 1 is zero.
3608 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3609 * sysdeps/i386/fpu/libm-test-ulps: Update.
3610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3612 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3614 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3615 alphasort and versionsort.
3617 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3619 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3621 [copysignf]: Likewise.
3623 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3625 * crypt/md5-crypt.c: Fix formatting.
3627 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3629 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3630 (b64_from_24bit): New function.
3632 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3634 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3635 libc_hidden_builtin_def to ifunc.
3636 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3637 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3639 2014-05-21 Roland McGrath <roland@hack.frob.com>
3641 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3642 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3644 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3646 * nscd/Depend (linuxthreads): Remove.
3648 * resolv/Depend (linuxthreads): Remove.
3649 * rt/Depend (linuxthreads): Remove.
3651 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3652 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3653 $(common-objpfx)elf/.
3654 (link-libc-before-gnulib): Likewise.
3655 (elfobjdir): Remove variable.
3656 * Makefile (install): Use $(elf-objpfx) instead of
3657 $(common-objpfx)elf/.
3658 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3660 (link-libc-deps): Likewise.
3661 ($(common-objpfx)libc.so): Likewise.
3662 ($(common-objpfx)linkobj/libc.so): Likewise.
3663 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3664 instead of $(common-objpfx)elf/.
3665 (symbolic-link-list): Likewise.
3666 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3667 [$(cross-compiling) = no]: Likewise.
3668 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3670 (static-gnulib-arch): Likewise.
3671 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3672 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3673 $(common-objpfx)elf/.
3675 2014-05-21 Richard Henderson <rth@redhat.com>
3677 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3678 (SINGLE_THREAD_P): Use the correct width load. Fold
3679 into the ldr offset.
3681 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3682 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3684 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3686 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3687 (libgcc_s_resume): Use __attribute_used__.
3688 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3691 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3693 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3694 optimization when used with float constants.
3696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3698 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3701 * locale/nl_langinfo_l.c: Make direct reference to every
3702 _nl_current_CATEGORY symbol.
3703 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3704 (tests-static): Add tst-langinfo-static.
3705 (tests-special): Add tst-langinfo-static.out.
3706 ($(objpfx)tst-langinfo.out): Redirect output.
3707 ($(objpfx)tst-langinfo-static.out): New.
3708 * localedata/tst-langinfo.sh: Send output to stdout.
3709 * localedata/tst-langinfo-static.c: New file.
3712 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3713 when the shift amount is modulo the limb size.
3715 2014-05-20 Richard Henderson <rth@redhat.com>
3718 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3719 Change type of sa_flags from unsigned int to int.
3722 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3724 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3726 2014-05-20 Will Newton <will.newton@linaro.org>
3728 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3729 Test the return value of the system call in the nocancel case.
3731 2014-05-20 Will Newton <will.newton@linaro.org>
3732 Yvan Roux <yvan.roux@linaro.org>
3734 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3735 #include of asm/ptrace.h.
3736 (PTRACE_GET_THREAD_AREA): Remove #undef.
3737 (PTRACE_GETHBPREGS): Likewise.
3738 (PTRACE_SETHBPREGS): Likewise.
3739 (struct user_regs_struct): New structure.
3740 (struct user_fpsimd_struct): New structure.
3741 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3742 #include of asm/ptrace.h and second #include of sys/user.h.
3743 (PTRACE_GET_THREAD_AREA): Remove #undef.
3744 (PTRACE_GETHBPREGS): Likewise.
3745 (PTRACE_SETHBPREGS): Likewise.
3746 (ELF_NGREG): Use new struct user_regs_struct.
3747 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3749 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3751 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3752 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3754 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3757 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3758 membar to avoid block loads/stores to overlap previous stores.
3760 2014-05-17 Richard Henderson <rth@redhat.com>
3762 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3763 Create the __##syscall_name##_nocancel entry point.
3764 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3765 Remove; let the sysdep-cancel.h code create it.
3767 2014-05-17 David S. Miller <davem@davemloft.net>
3769 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3770 Protect with __USE_GNU.
3771 (TIOCSET_TEMPT): Likewise.
3772 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3773 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3774 these are already provided in bits/ioctl-types.h
3776 2014-05-16 Roland McGrath <roland@hack.frob.com>
3778 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3779 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3781 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3782 Use wait4 regardless of [__NR_waitpid].
3784 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3787 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3788 (_FP_NANSIGN_Q): Set the quiet bit.
3790 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3792 * benchtests/Makefile
3793 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3794 not $(common-objpfx)math/libm.so.
3795 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3796 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3797 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3798 $(common-objpfx)dlfcn/libdl.so.
3799 ($(objpfx)tst-audit8): Depend on $(libm), not
3800 $(common-objpfx)math/libm.so.
3801 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3802 not $(common-objpfx)dlfcn/libdl.so.
3804 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3805 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3806 [$(build-shared) = yes].
3807 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3808 $(common-objpfx)nptl/libpthread.so.
3809 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3810 $(common-objpfx)math/libm.so$(libm.so-version) or
3811 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3812 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3813 $(common-objpfx)dlfcn/libdl.so.
3814 * setjmp/Makefile (link-libm): Remove variable.
3815 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3816 * stdio-common/Makefile (link-libm): Remove variable.
3817 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3818 * stdlib/Makefile (link-libm): Remove variable.
3819 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3820 ($(objpfx)tst-strtod-round): Likewise.
3821 ($(objpfx)tst-tininess): Likewise.
3822 ($(objpfx)tst-strtod-underflow): Likewise.
3823 ($(objpfx)tst-strtod6): Likewise.
3824 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3825 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3826 $(common-objpfx)dlfcn/libdl.so.
3828 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3830 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3831 BSD terminal modes definitions.
3833 2014-05-16 Roland McGrath <roland@hack.frob.com>
3835 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3836 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3838 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3839 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3840 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3841 Don't do #include_next.
3842 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3843 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3844 Don't do #include_next.
3845 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3846 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3847 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3848 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3850 2014-05-16 Allan McRae <allan@archlinux.org>
3852 * po/sv.po: Update Swedish translation from translation project.
3854 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3857 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3860 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3861 errno if the TIOCGPTN ioctl fails with an error different than
3863 * login/tst-ptsname.c: New file.
3864 * login/Makefile (tests): Add tst-ptsname.
3867 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3870 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3874 herrno to return EAI_AGAIN.
3876 2014-05-14 Roland McGrath <roland@hack.frob.com>
3878 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3879 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3880 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3881 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3882 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3883 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3884 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3885 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3886 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3887 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3888 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3889 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3890 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3891 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3892 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3893 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3894 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3895 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3896 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3897 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3898 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3899 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3900 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3901 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3902 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3903 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3904 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3905 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3906 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3907 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3909 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3911 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3914 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3916 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3918 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3920 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3922 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3924 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3926 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3928 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3930 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3932 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3934 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3936 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3938 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3940 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3943 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3945 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3947 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3949 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3951 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3953 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3955 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3957 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3959 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3961 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3964 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3966 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3968 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3969 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3970 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3971 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3972 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3973 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3974 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3975 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3976 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3977 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3978 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3979 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3980 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3981 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3982 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3983 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3984 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3985 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3986 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3987 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3988 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3989 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3990 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3991 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3992 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3993 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3994 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3995 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3996 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3997 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3998 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4000 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4001 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4003 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4004 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4005 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4006 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4007 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4008 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4010 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4011 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4013 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4014 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4016 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4017 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4019 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4020 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4021 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4022 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4024 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4025 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4026 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4027 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4028 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4029 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4030 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4031 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4033 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4034 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4036 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4038 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4039 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4040 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4041 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4042 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4044 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4046 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4048 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4049 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4050 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4051 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4052 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4053 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4055 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4056 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4058 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4059 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4061 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4062 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4064 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4065 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4066 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4067 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4069 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4070 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4071 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4072 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4073 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4074 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4075 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4076 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4078 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4079 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4081 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4083 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4084 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4085 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4086 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4087 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4089 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4091 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4093 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4094 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4095 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4096 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4097 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4098 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4099 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4100 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4101 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4102 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4104 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4105 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4107 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4108 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4110 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4111 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4113 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4114 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4115 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4116 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4117 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4118 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4120 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4121 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4122 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4123 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4124 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4125 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4126 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4127 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4129 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4130 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4132 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4134 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4135 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4136 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4137 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4138 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4140 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4142 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4144 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4145 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4146 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4147 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4148 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4149 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4150 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4151 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4152 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4153 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4154 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4156 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4157 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4159 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4160 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4162 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4163 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4164 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4165 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4166 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4167 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4168 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4169 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4170 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4171 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4172 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4173 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4174 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4175 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4176 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4177 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4178 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4179 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4181 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4182 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4183 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4184 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4186 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4187 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4188 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4189 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4190 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4192 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4193 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4195 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4196 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4198 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4199 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4200 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4201 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4202 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4204 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4205 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4206 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4207 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4208 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4209 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4210 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4211 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4212 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4213 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4214 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4216 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4217 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4218 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4219 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4220 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4222 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4223 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4224 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4225 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4226 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4227 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4228 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4229 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4230 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4231 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4233 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4234 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4236 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4237 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4238 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4239 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4240 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4241 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4242 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4243 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4244 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4245 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4246 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4247 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4248 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4249 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4254 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4258 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4260 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4264 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4270 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4271 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4272 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4273 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4274 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4275 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4276 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4277 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4278 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4279 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4280 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4281 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4282 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4283 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4284 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4286 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4287 that was previously under [RESET_PID].
4288 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4289 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4290 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4292 * sysdeps/i386/nptl/Implies: New file.
4293 * sysdeps/x86_64/nptl/Implies: New file.
4294 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4295 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4296 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4297 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4299 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4300 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4301 (__libc_vfork): New strong alias.
4302 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4303 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4305 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4306 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4307 (__libc_vfork): New strong alias.
4308 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4309 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4311 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4312 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4313 (__libc_vfork): New strong alias.
4314 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4315 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4316 * nptl/pt-vfork.c: New file.
4317 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4318 (libpthread: GLIBC_2.20): New version set (empty).
4320 2014-05-14 Will Newton <will.newton@linaro.org>
4322 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4325 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4328 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4329 arguments with exponent 65 or above.
4330 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4331 arguments 0x1p113L or above.
4332 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4333 to arguments 0x1p107L or above.
4334 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4335 positive arguments with exponent 65 or above.
4336 * math/auto-libm-test-in: Add more tests of log1p.
4337 * math/auto-libm-test-out: Regenerated.
4340 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4341 non-finite arguments is +0.
4342 * math/s_cacosf.c (__cacosf): Likewise.
4343 * math/s_cacosl.c (__cacosl): Likewise.
4344 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4345 * sysdeps/i386/fpu/libm-test-ulps: Update.
4346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4349 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4351 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4352 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4353 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4354 for explicit high bit of mantissa when testing for argument equal
4356 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4357 * sysdeps/i386/fpu/libm-test-ulps: Update.
4358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4361 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4362 (__erf): Scale by 16 instead of 8 in potentially underflowing
4363 case. Ensure exception if result actually underflows.
4364 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4365 (__erff): Scale by 16 instead of 8 in potentially underflowing
4366 case. Ensure exception if result actually underflows.
4367 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4368 (efx8): Remove variable.
4369 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4370 case. Ensure exception if result actually underflows.
4371 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4372 (efx8): Remove variable.
4373 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4374 case. Ensure exception if result actually underflows.
4375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4376 (efx8): Remove variable.
4377 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4378 case. Ensure exception if result actually underflows.
4379 * math/auto-libm-test-in: Add more tests of erf.
4380 * math/auto-libm-test-out: Regenerated.
4382 2014-05-14 Andreas Schwab <schwab@suse.de>
4384 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4385 Remove code conditionalized on USE___THREAD.
4387 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4388 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4391 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4393 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4394 Define unconditionally.
4395 (__ASSUME_O_CLOEXEC): Likewise.
4396 (__ASSUME_SOCK_CLOEXEC): Likewise.
4397 (__ASSUME_IN_NONBLOCK): Likewise.
4398 (__ASSUME_PIPE2): Likewise.
4399 (__ASSUME_EVENTFD2): Likewise.
4400 (__ASSUME_SIGNALFD4): Likewise.
4401 (__ASSUME_DUP3): Likewise.
4402 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4403 (__ASSUME_DUP3): Do not define.
4404 (__ASSUME_EVENTFD2): Likewise.
4405 (__ASSUME_IN_NONBLOCK): Likewise.
4406 (__ASSUME_O_CLOEXEC): Likewise.
4407 (__ASSUME_PIPE2): Likewise.
4408 (__ASSUME_SIGNALFD4): Likewise.
4409 (__ASSUME_SOCK_CLOEXEC): Likewise.
4410 (__ASSUME_UTIMES): Undefine.
4411 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4412 (__ASSUME_UTIMES): Do not define.
4413 (__ASSUME_O_CLOEXEC): Likewise.
4414 (__ASSUME_SOCK_CLOEXEC): Likewise.
4415 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4416 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4418 (__ASSUME_PIPE2): Likewise.
4419 (__ASSUME_EVENTFD2): Likewise.
4420 (__ASSUME_SIGNALFD4): Likewise.
4421 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4422 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4424 (__ASSUME_EVENTFD2): Likewise.
4425 (__ASSUME_SIGNALFD4): Likewise.
4426 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4427 (__ASSUME_32BITUIDS): Likewise.
4428 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4429 (__ASSUME_IPC64): Likewise.
4430 (__ASSUME_ST_INO_64_BIT): Likewise.
4431 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4432 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4433 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4434 (__ASSUME_UTIMES): Do not define.
4435 (__ASSUME_PSELECT): Likewise.
4436 (__ASSUME_PPOLL): Likewise.
4437 (__ASSUME_O_CLOEXEC): Likewise.
4438 (__ASSUME_SOCK_CLOEXEC): Likewise.
4439 (__ASSUME_IN_NONBLOCK): Likewise.
4440 (__ASSUME_PIPE2): Likewise.
4441 (__ASSUME_EVENTFD2): Likewise.
4442 (__ASSUME_SIGNALFD4): Likewise.
4443 (__ASSUME_DUP3): Likewise.
4444 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4445 (__ASSUME_UTIMES): Likewise.
4446 (__ASSUME_O_CLOEXEC): Likewise.
4447 (__ASSUME_SOCK_CLOEXEC): Likewise.
4448 (__ASSUME_IN_NONBLOCK): Likewise.
4449 (__ASSUME_PIPE2): Likewise.
4450 (__ASSUME_EVENTFD2): Likewise.
4451 (__ASSUME_SIGNALFD4): Likewise.
4452 (__ASSUME_DUP3): Likewise.
4453 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4454 (__ASSUME_UTIMES): Likewise.
4455 (__ASSUME_O_CLOEXEC): Likewise.
4456 (__ASSUME_SOCK_CLOEXEC): Likewise.
4457 (__ASSUME_IN_NONBLOCK): Likewise.
4458 (__ASSUME_PIPE2): Likewise.
4459 (__ASSUME_EVENTFD2): Likewise.
4460 (__ASSUME_SIGNALFD4): Likewise.
4461 (__ASSUME_DUP3): Likewise.
4462 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4464 (__ASSUME_UTIMES): Likewise.
4465 (__ASSUME_EVENTFD2): Likewise.
4466 (__ASSUME_SIGNALFD4): Likewise.
4467 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4468 (__ASSUME_O_CLOEXEC): Likewise.
4469 (__ASSUME_SOCK_CLOEXEC): Likewise.
4470 (__ASSUME_IN_NONBLOCK): Likewise.
4471 (__ASSUME_PIPE2): Likewise.
4472 (__ASSUME_EVENTFD2): Likewise.
4473 (__ASSUME_SIGNALFD4): Likewise.
4474 (__ASSUME_DUP3): Likewise.
4475 (__ASSUME_UTIMES): Undefine.
4477 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4478 feclearexcept. Remove symbol versioning code.
4479 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4480 symbol versioning code.
4481 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4482 symbol versioning code.
4483 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4484 feupdateenv. Remove symbol versioning code.
4485 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4486 fegetexceptflag. Remove symbol versioning code.
4487 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4488 fesetexceptflag. Remove symbol versioning code.
4489 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4490 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4491 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4492 (__posix_fadvise64_l32): Remove prototype.
4493 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4496 2014-05-13 Roland McGrath <roland@hack.frob.com>
4498 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4499 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4500 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4501 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4503 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4505 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4506 current working directory
4508 2014-05-13 Roland McGrath <roland@hack.frob.com>
4510 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4511 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4512 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4513 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4514 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4515 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4516 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4517 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4518 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4519 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4520 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4521 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4522 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4523 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4524 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4525 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4526 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4527 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4528 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4529 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4530 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4531 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4532 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4533 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4534 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4535 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4537 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4538 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4539 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4540 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4541 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4542 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4543 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4544 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4545 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4546 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4547 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4548 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4549 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4550 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4551 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4553 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4554 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4556 * sysdeps/unix/sysv/linux/arm/Makefile
4557 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4558 Add rt-aeabi_unwind_cpp_pr1.
4559 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4560 Add nptl-aeabi_unwind_cpp_pr1.
4561 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4562 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4563 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4564 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4565 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4566 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4568 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4569 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4570 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4571 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4573 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4574 Deconditionalize the code that was previously under [RESET_PID].
4575 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4577 * sysdeps/generic/exit-thread.h: New file.
4578 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4579 * include/unistd.h (__exit_thread): Remove declaration.
4580 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4581 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4582 * csu/libc-start.c: Include <exit-thread.h>.
4583 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4584 * nptl/pthread_create.c: Include <exit-thread.h>.
4585 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4586 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4587 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4588 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4589 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4590 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4591 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4592 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4593 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4594 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4595 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4596 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4597 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4598 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4599 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4600 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4601 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4603 2014-05-13 Andreas Schwab <schwab@suse.de>
4605 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4607 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4609 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4610 (__ASSUME_UTIMES): Do not condition on kernel version.
4611 (__ASSUME_PSELECT): Define unconditionally.
4612 (__ASSUME_PPOLL): Likewise.
4613 (__ASSUME_ATFCTS): Likewise.
4614 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4615 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4616 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4617 (__ASSUME_UTIMENSAT): Define unconditionally.
4618 (__ASSUME_PRIVATE_FUTEX): Likewise.
4619 (__ASSUME_FALLOCATE): Likewise.
4620 (__ASSUME_O_CLOEXEC): Likewise.
4621 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4622 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4623 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4624 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4625 (__ASSUME_IN_NONBLOCK): Likewise.
4626 (__ASSUME_PIPE2): Likewise.
4627 (__ASSUME_EVENTFD2): Likewise.
4628 (__ASSUME_SIGNALFD4): Likewise.
4629 (__ASSUME_DUP3): Likewise.
4630 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4631 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4632 (__ASSUME_AT_RANDOM): Likewise.
4633 (__ASSUME_PREADV): Likewise.
4634 (__ASSUME_PWRITEV): Likewise.
4635 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4636 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4637 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4638 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4639 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4640 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4641 (__ASSUME_O_CLOEXEC): Define unconditionally.
4642 (__ASSUME_PSELECT): Do not undefine conditionally.
4643 (__ASSUME_PPOLL): Likewise.
4644 (__ASSUME_ATFCTS): Likewise.
4645 (__ASSUME_SET_ROBUST_LIST): Likewise.
4646 (__ASSUME_UTIMENSAT): Likewise.
4647 (__ASSUME_FDATASYNC): Define unconditionally.
4648 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4649 (__ASSUME_SIGFRAME_V2): Likewise.
4650 )__ASSUME_EVENTFD2): Likewise.
4651 (__ASSUME_SIGNALFD4): Likewise.
4652 (__ASSUME_PSELECT): Do not undefine conditionally.
4653 (__ASSUME_PPOLL): Likewise.
4654 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4655 (__ASSUME_PSELECT): Define unconditionally.
4656 (__ASSUME_PPOLL): Likewise.
4657 (__ASSUME_O_CLOEXEC): Likewise.
4658 (__ASSUME_SOCK_CLOEXEC): Likewise.
4659 (__ASSUME_IN_NONBLOCK): Likewise.
4660 (__ASSUME_PIPE2): Likewise.
4661 (__ASSUME_EVENTFD2): Likewise.
4662 (__ASSUME_SIGNALFD4): Likewise.
4663 (__ASSUME_DUP3): Likewise.
4664 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4665 (__ASSUME_O_CLOEXEC): Likewise.
4666 (__ASSUME_SOCK_CLOEXEC): Likewise.
4667 (__ASSUME_IN_NONBLOCK): Likewise.
4668 (__ASSUME_PIPE2): Likewise.
4669 (__ASSUME_EVENTFD2): Likewise.
4670 (__ASSUME_SIGNALFD4): Likewise.
4671 (__ASSUME_DUP3): Likewise.
4672 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4673 (__ASSUME_EVENTFD2): Likewise.
4674 (__ASSUME_SIGNALFD4): Likewise.
4675 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4677 2014-05-12 Andreas Schwab <schwab@suse.de>
4680 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4681 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4682 than maximum RPC packet size.
4683 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4684 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4685 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4686 (_nss_nis_getservbyport_r): Likewise.
4688 2014-05-12 Will Newton <will.newton@linaro.org>
4690 * malloc/Makefile (tests): Add tst-mallopt.
4691 * malloc/tst-mallopt.c: New file.
4693 2014-05-09 Roland McGrath <roland@hack.frob.com>
4695 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4696 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4698 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4700 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4701 (tst-tlsmod6.so): Likewise.
4703 2014-05-09 Roland McGrath <roland@hack.frob.com>
4705 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4707 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4710 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4711 and <dl-procinfo.h>.
4712 (__fegetenv): Save SSE state in envp->__eip if supported.
4713 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4714 envp->__eip if supported.
4715 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4716 and <dl-procinfo.h>.
4717 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4718 __data_offset and __data_selector in environment to 0. Set SSE
4720 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4722 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4724 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4726 2014-05-09 Will Newton <will.newton@linaro.org>
4728 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4729 and libc_relro_required for ARM.
4730 * sysdeps/arm/preconfigure: Regenerate.
4732 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4733 Stefan Liebler <stli@linux.vnet.ibm.com>
4735 * config.make.in (enable-lock-elision): New Makefile variable.
4736 * configure.ac: Likewise.
4737 * configure: Regenerate.
4738 * sysdeps/s390/configure.ac:
4739 Add check for gcc transactions support.
4740 * sysdeps/s390/configure: Regenerate.
4741 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4742 Build elision files if enabled.
4743 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4744 Add lock elision support for s390.
4745 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4746 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4747 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4748 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4749 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4750 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4751 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4753 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4755 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4757 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4759 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4760 (__lll_timedlock_elision, __lll_lock_elision)
4761 (__lll_unlock_elision, __lll_trylock_elision)
4762 (lll_timedlock_elision, lll_lock_elision)
4763 (lll_unlock_elision, lll_trylock_elision): Add.
4764 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4765 (pthread_mutex_t): Add lock elision support for s390.
4767 2014-05-14 Wilco <wdijkstr@arm.com>
4769 * sysdeps/arm/fclrexcpt.c: Cleanup.
4770 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4771 * sysdeps/arm/feenablxcpt.c: Cleanup.
4772 * sysdeps/arm/fegetenv.c: Cleanup.
4773 * sysdeps/arm/fegetexcept.c: Cleanup.
4774 * sysdeps/arm/fegetround.c: Cleanup.
4775 * sysdeps/arm/feholdexcpt.c: Cleanup.
4776 * sysdeps/arm/fesetenv.c: Cleanup.
4777 * sysdeps/arm/fesetround.c: Cleanup.
4778 * sysdeps/arm/feupdateenv.c: Cleanup.
4779 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4780 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4781 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4782 * sysdeps/arm/ftestexcept.c: Cleanup.
4783 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4784 * sysdeps/arm/setfpucw.c: Cleanup.
4786 2014-05-09 Will Newton <will.newton@linaro.org>
4788 * sysdeps/arm/armv7/strcmp.S: New file.
4789 * NEWS: Mention addition of ARMv7 optimized strcmp.
4791 2014-05-08 Roland McGrath <roland@hack.frob.com>
4793 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4794 look for %.ac rather than %.in.
4796 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4797 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4798 * sysdeps/mach/hurd/configure: Regenerated.
4799 * sysdeps/unix/sysv/linux/configure: Regenerated.
4801 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4803 2014-05-07 Steve Ellcey <sellcey@mips.com>
4806 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4810 2014-05-07 Andreas Schwab <schwab@suse.de>
4812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4813 when skipping over non-matching result from nscd.
4815 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4818 * nptl/sockperf.c (client): Check socket return value.
4821 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4822 nscd security class.
4824 2014-05-06 Roland McGrath <roland@hack.frob.com>
4826 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4827 * sysdeps/arm/unwind.h: ... here.
4829 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4832 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4835 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4837 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4838 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4839 multiarch strncpy for PPC64.
4840 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4841 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4843 multiarch optimizations.
4844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4845 (__libc_ifunc_impl_list): Likewise.
4846 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4847 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4848 multiarch stpncpy for PPC64.
4849 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4850 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4852 2014-05-06 Andreas Schwab <schwab@suse.de>
4855 * gmon/mcount.c (_MCOUNT_DECL): Use
4856 atomic_compare_and_exchange_bool_acq instead of
4857 catomic_compare_and_exchange_bool_acq.
4859 2014-05-05 Roland McGrath <roland@hack.frob.com>
4861 * elf/Makefile (others, install-bin): Remove pldd.
4862 (pldd-modules): Variable removed.
4863 ($(objpfx)pldd): Target removed.
4864 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4865 (others, install-bin): Append pldd here.
4866 ($(objpfx)pldd): New target.
4868 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4869 to 0, so the first #if test emitted later doesn't see it undefined.
4870 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4871 * sysdeps/gnu/errlist.c: Regenerated.
4873 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4875 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4876 [libc_hidden_builtin_def]: Define to empty value.
4877 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4878 [libc_hidden_builtin_def]: Likewise.
4879 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4880 [libc_hidden_builtin_def]: Likewise.
4881 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4882 [libc_hidden_builtin_def]: Likewise.
4883 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4884 __redirect_memcpy and define ifunc as default hidden symbol.
4885 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4886 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4888 2014-05-04 Adam Conrad <adconrad@0c3.net>
4890 * locale/iso-4217.def: Reintroduce XDR currency.
4892 2014-05-04 Allan McRae <allan@archlinux.org>
4894 * po/eo.po: Update Esperanto translation from translation project.
4896 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4898 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4899 and FEATURE_INDEX_MAX to 1.
4900 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4902 2014-05-01 Steve Ellcey <sellcey@mips.com>
4904 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4905 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4906 * iconvdata/big5.c (ONE_DIRECTION): Define.
4907 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4908 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4909 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4910 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4911 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4912 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4913 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4914 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4915 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4916 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4917 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4918 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4919 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4920 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4921 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4922 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4923 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4924 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4925 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4926 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4927 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4928 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4929 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4930 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4931 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4932 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4933 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4934 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4935 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4936 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4937 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4938 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4939 * iconvdata/johab.c (ONE_DIRECTION): Define.
4940 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4941 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4942 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4943 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4944 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4945 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4946 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4947 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4948 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4949 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4951 2014-05-01 Roland McGrath <roland@hack.frob.com>
4953 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4954 (_IO_JUMPS_OFFSET): Define to 0.
4956 * nptl/sysdeps/pthread/bits/libc-lock.h
4957 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4958 (__libc_lock_define_initialized_recursive): Always define using
4959 initializer. Modern compilers treat uninitialized (implicit zero) and
4960 explicit zero initializers the same (i.e. put the datum in bss).
4962 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4964 * nscd/nscd-client.h: Include <string.h>.
4966 2014-05-01 David S. Miller <davem@davemloft.net>
4969 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4970 multiple zero bytes exist at the end of a string.
4971 Reported by Aurelien Jarno <aurelien@aurel32.net>
4973 * string/test-strcmp.c (check): Add explicit test for situations where
4974 there are multiple zero bytes after the first.
4976 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4979 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4980 when compiling wprintf.
4981 * stdio-common/tstdiomisc.c (t3): New function.
4984 2014-05-01 Steve Ellcey <sellcey@mips.com>
4986 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4987 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4988 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4989 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4991 2014-05-01 Steve Ellcey <sellcey@mips.com>
4993 * stdlib/longlong.h: Updated from GCC.
4995 2014-05-01 Will Newton <will.newton@linaro.org>
4996 Bernard Ogden <bernie.ogden@linaro.org>
4998 * NEWS: Update fixed bug list.
5001 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5003 2014-04-30 David S. Miller <davem@davemloft.net>
5005 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5006 (libc_feholdexcept_setround_sparc_ctx): New function.
5007 (libc_fesetenv_sparc_ctx): Likewise.
5008 (libc_feupdateenv_sparc_ctx): Likewise.
5009 (libc_feholdsetround_sparc_ctx): Likewise.
5010 (libc_feholdexcept_setround_ctx): Define.
5011 (libc_feholdexcept_setroundf_ctx): Likewise.
5012 (libc_feholdexcept_setroundl_ctx): Likewise.
5013 (libc_fesetenv_ctx): Likewise.
5014 (libc_fesetenvf_ctx): Likewise.
5015 (libc_fesetenvl_ctx): Likewise.
5016 (libc_feupdateenv_ctx): Likewise.
5017 (libc_feupdateenvf_ctx): Likewise.
5018 (libc_feupdateenvl_ctx): Likewise.
5019 (libc_feresetround_ctx): Likewise.
5020 (libc_feresetroundf_ctx): Likewise.
5021 (libc_feresetroundl_ctx): Likewise.
5022 (libc_feholdsetround_ctx): Likewise.
5023 (libc_feholdsetroundf_ctx): Likewise.
5024 (libc_feholdsetroundl_ctx): Likewise.
5026 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5027 with __USE_GNU instead of XOPEN cpp guards.
5029 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5032 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5033 with XOPEN cpp guards.
5035 2014-04-30 Julian Brown <julian@codesourcery.com>
5038 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5041 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5044 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5046 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5047 * sysdeps/unix/sysv/linux/configure: Regenerated.
5048 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5049 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5050 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5051 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5052 * README: Update reference to required Linux kernel version.
5053 * manual/install.texi (Linux): Update reference to required Linux
5054 kernel headers version.
5055 * INSTALL: Regenerated.
5057 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5059 [POSIX] (limits.h): Likewise.
5060 [POSIX] (math.h): Likewise.
5061 [POSIX] (sys/wait.h): Likewise.
5062 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5064 [POSIX] (stddef.h): Do not allow header inclusion.
5066 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5068 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5070 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5072 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5073 Return immediately after lll_futex_wake.
5075 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5078 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5080 (datahead_init_pos): Call datahead_init_common early.
5081 (datahead_init_neg): Likewise.
5083 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5084 datahead_init_neg): New functions.
5085 * nscd/aicache.c (addhstaiX): Use them.
5086 * nscd/grpcache.c (cache_addgr): Likewise.
5087 * nscd/hstcache.c (cache_addhst): Likewise.
5088 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5089 * nscd/netgroupcache.c (do_notfound): Likewise.
5090 (addgetnetgrentX): Likewise.
5091 (addinnetgrX): Likewise.
5092 * nscd/pwdcache.c (cache_addpw): Likewise.
5093 * nscd/servicescache.c (cache_addserv): Likewise.
5095 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5096 Atsushi Onoe <atsushi@onoe.org>
5101 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5102 one response is valid.
5103 * resolv/res_send.c (send_dg): Check for validity of other
5104 response if the current response is a referral.
5106 2014-04-29 Steve Ellcey <sellcey@mips.com>
5108 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5110 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5113 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5114 Always divide by positive zero when computing -Inf result.
5115 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5116 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5118 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5120 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5121 FPSCR if value do not change.
5122 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5123 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5124 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5125 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5126 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5127 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5130 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5132 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5133 * sysdeps/unix/sysv/linux/hppa: Move directory from
5134 ports/systeps/unix/sysv/linux/hppa.
5135 * README: Update listing for hppa-*-linux-gnu.
5137 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5140 * manual/stdio.texi (Hook functions): Fix types of stream hook
5143 * socket/sys/socket.h: Fix typo in comment.
5145 2014-04-28 Wilco <wdijkstr@arm.com>
5147 * sysdeps/arm/fenv_private.h: New file.
5148 * sysdeps/arm/math_private.h: New file.
5149 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5151 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5153 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5155 (La_x86_64_retval): Likewise.
5157 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5159 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5160 fpsr if value didn't change.
5161 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5162 to fpcr if value didn't change.
5163 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5164 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5165 fpsr or fpcr if value didn't change.
5166 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5167 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5168 fpcr if value didn't change.
5169 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5170 to fpsr if value didn't change.
5172 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5174 * nptl/tst-sem3.c: Use test-skeleton.c
5175 (main): Rename to do_test. Use return instead of
5177 * nptl/tst-sem4.c: Use test-skeleton.c
5178 (main): Rename to do_test.
5180 2014-04-22 David S. Miller <davem@davemloft.net>
5182 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5183 (struct sigaction): New struct member __glibc_reserved0, change
5184 type of sa_flags to int.
5186 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5188 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5189 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5191 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5193 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5194 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5196 2014-04-22 Will Newton <will.newton@linaro.org>
5197 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5199 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5200 (__longjmp): Add longjmp and longjmp_target SystemTap
5202 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5203 (__sigsetjmp): Add setjmp SystemTap probe.
5205 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5207 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5210 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5212 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5214 * sysdeps/powerpc/fpu/fenv_private.h
5215 (libc_feholdexcept_setroundl_ctx): Define to
5216 libc_feholdexcept_setround_ppc_ctx.
5217 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5218 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5219 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5220 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5222 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5224 * sysdeps/aarch64/math-tests.h: New file.
5226 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5228 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5231 Check and set bit_AVX2_Usable.
5232 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5234 (bit_AVX2): Likewise.
5235 (index_AVX2_Usable): Likewise.
5236 (CPUID_AVX2): Likewise.
5237 (HAS_AVX2): Likewise.
5239 2014-04-17 Will Newton <will.newton@linaro.org>
5241 * manual/setjmp.texi (System V contexts): Add note that
5242 calling setcontext on a context created by a call to a
5243 signal handler is undefined. Update text to note that
5244 setcontext from a signal handler is possible but not
5248 * stdlib/tst-setcontext.c: Include signal.h.
5249 (main): Check that the signal stack before and
5250 after swapcontext is the same.
5252 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5253 Re-implement to restore registers in user code and avoid
5254 rt_sigreturn system call.
5256 2014-04-17 Wilco <wdijkstr@arm.com>
5258 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5259 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5260 * math/test-fenv.c: Skip exception trap tests on targets which only
5261 support non-stop mode.
5263 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5264 Wilco Dijkstra <wilco.dijkstra@arm.com>
5266 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5267 (libc_feholdsetround_aarch64_ctx)
5268 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5269 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5270 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5271 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5272 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5273 (libc_feresetround_noexl_ctx): Define.
5275 2014-04-16 Richard Henderson <rth@redhat.com>
5277 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5279 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5282 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5283 const from the non-libc, non-ldso copy.
5285 * sysdeps/alpha/libm-test-ulps: Regenerate.
5287 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5288 Wilco Dijkstra <wilco.dijkstra@arm.com>
5290 * sysdeps/aarch64/fpu/math_private.h: New file.
5292 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5294 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5296 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5298 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5299 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5301 Intel MPX bound registers before _dl_profile_fixup.
5302 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5303 registers after _dl_profile_fixup. Save and restore bound
5304 registers bnd0/bnd1 when calling _dl_call_pltexit.
5305 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5306 (LR_BND_OFFSET): Likewise.
5307 (LRV_BND0_OFFSET): Likewise.
5308 (LRV_BND1_OFFSET): Likewise.
5310 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5312 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5314 * sysdeps/mach/hurd/i386/tls.h: ... here.
5315 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5316 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5319 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5321 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5323 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5325 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5327 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5330 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5331 * sysdeps/s390/configure: Regenerate.
5334 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5335 Set round-to-nearest internally to reduce error accumulation.
5337 2014-04-16 Alan Modra <amodra@gmail.com>
5341 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5342 * math/libm-test.inc (frexp_test_data): Add tests.
5343 * NEWS: Update fixed bug list.
5345 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5347 * benchtests/Makefile: Depend on libraries in build directory.
5348 (bench-math): Separate out math tests.
5349 (bench-pthread): Separate out pthread tests.
5350 (bench): Include math and pthread tests.
5352 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5355 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5356 _dl_debug_initialize.
5358 * configure.ac: Remove SELinux header check.
5359 * configure: Regenerate.
5360 * nscd/selinux.c (perms): Array of const char* to permission names.
5361 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5362 default policy. Call string_to_security_class and string_to_av_perm to
5363 translate strings. Enforce default policy and call avs_has_perm with
5364 results of translated strings.
5366 2014-04-13 David S. Miller <davem@davemloft.net>
5368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5370 2014-04-12 Allan McRae <allan@archlinux.org>
5373 * manual/string.texi (Collation Functions): Fix qsort argument
5375 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5377 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5379 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5380 Make the test a no-op if there are no exceptions defined.
5382 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5384 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5385 enable-hardcoded-path-in-tests
5387 2014-04-11 Will Newton <will.newton@linaro.org>
5389 * benchtests/Makefile (extra-objs): Add json-lib.o.
5390 (bench-func): Tidy up JSON output.
5391 * benchtests/bench-skeleton.c: Include json-lib.h.
5392 (main): Use JSON library functions to do output of
5394 * benchtests/bench-timing-type.c (main): Output the
5395 timing type simply, leaving formatting to the user.
5396 * benchtests/json-lib.c: New file.
5397 * benchtests/json-lib.h: Likewise.
5399 2014-04-11 Torvald Riegel <triegel@redhat.com>
5402 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5403 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5404 memory barriers. Add comments.
5405 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5406 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5407 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5408 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5409 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5410 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5412 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5414 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5415 * sysdeps/s390/s390-64/configure.ac: ... this ...
5416 * sysdeps/s390/configure.ac: ... to here.
5417 * sysdeps/s390/s390-32/configure: Delete file.
5418 * sysdeps/s390/s390-64/configure: Delete file.
5419 * sysdeps/s390/configure: Regenerate.
5421 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5423 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5425 2014-04-11 Will Newton <will.newton@linaro.org>
5427 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5428 to zero if it is not defined elsewhere. (mtrim): Test
5429 the value of MALLOC_DEBUG with #if rather than #ifdef.
5431 2014-04-10 Torvald Riegel <triegel@redhat.com>
5433 * benchtests/pthread_once-inputs: New file.
5434 * benchtests/pthread_once-source.c: New file.
5435 * benchtests/README: Update documentation.
5437 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5438 H.J. Lu <hongjiu.lu@intel.com>
5440 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5441 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5442 * sysdeps/x86_64/configure: Regenerated.
5443 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5445 (REGISTER_SAVE_RAX): Likewise.
5446 (REGISTER_SAVE_RCX): Likewise.
5447 (REGISTER_SAVE_RDX): Likewise.
5448 (REGISTER_SAVE_RSI): Likewise.
5449 (REGISTER_SAVE_RDI): Likewise.
5450 (REGISTER_SAVE_R8): Likewise.
5451 (REGISTER_SAVE_R9): Likewise.
5452 (REGISTER_SAVE_BND0): Likewise.
5453 (REGISTER_SAVE_BND1): Likewise.
5454 (REGISTER_SAVE_BND2): Likewise.
5455 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5456 bound registers when calling _dl_fixup.
5458 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5460 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5461 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5463 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5464 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5465 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5466 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5467 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5468 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5469 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5471 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5474 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5475 pathconf(_PC_NAME_MAX).
5477 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5479 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5481 (__PTHREAD_SPINS): Move definition to ...
5482 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5483 (__PTHREAD_SPINS): ... here.
5484 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5485 (__PTHREAD_SPIN): Likewise.
5486 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5487 (__PTHREAD_SPIN): Likewise.
5488 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5489 (__PTHREAD_SPIN): Likewise.
5490 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5491 (__PTHREAD_SPIN): Likewise.
5492 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5493 (__PTHREAD_SPIN): Likewise.
5494 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5495 (__PTHREAD_SPIN): Likewise.
5496 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5497 (__PTHREAD_SPIN): Likewise.
5498 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5499 (__PTHREAD_SPIN): Likewise.
5500 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5501 (__PTHREAD_SPIN): Likewise.
5502 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5503 (__PTHREAD_SPIN): Likewise.
5504 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5505 (__PTHREAD_SPIN): Likewise.
5506 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5507 (__PTHREAD_SPIN): Likewise.
5509 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5510 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5511 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5512 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5514 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5515 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5516 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5517 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5519 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5520 strlen symbol for non multi-arch builds.
5521 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5522 missing hidden_def and weak_alias.
5524 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5526 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5528 2014-04-07 Will Newton <will.newton@linaro.org>
5530 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5531 and contents. [!_LIBC] Remove #ifndef and contents.
5532 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5533 * string/memccpy.c (__memccpy): Use ANSI prototype.
5534 * string/memfrob.c (memfrob): Likewise.
5535 * string/strcoll.c (STRCOLL): Likewise.
5536 * string/strlen.c (strlen): Likewise.
5537 * string/strtok.c (STRTOK): Likewise.
5538 * string/strcat.c: Remove unused #include of memcopy.h.
5539 (strcat): Use ANSI prototype.
5540 * string/strchr.c: Remove unused #include of memcopy.h.
5541 (strchr): Use ANSI prototype.
5542 * string/strcmp.c: Remove unused #include of memcopy.h.
5543 (strcmp): Use ANSI prototype.
5544 * string/strcpy.c: Remove unused #include of memcopy.h.
5545 (strcpy): Use ANSI prototype.
5547 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5549 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5550 * config.make.in (config-extra-cppflags): Set it from
5551 libc_extra_cppflags.
5552 * configure.ac (libc_extra_cflags): Make it accumulate over
5553 configure fragments.
5554 (libc_extra_cppflags): New flag.
5555 * configure. Regenerate.
5556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5557 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5558 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5562 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5563 result for FE_DOWNWARD rounding mode.
5564 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5568 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5570 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5571 in function argument name.
5573 2014-04-03 David Svoboda <svoboda@cert.org>
5576 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5579 2014-04-03 Roland McGrath <roland@hack.frob.com>
5581 * elf/dl-unmap-segments.h: New file.
5582 * sysdeps/generic/ldsodefs.h
5583 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5584 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5585 * elf/dl-fptr.c: Likewise.
5586 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5587 * sysdeps/aarch64/tlsdesc.c: Likewise.
5588 * sysdeps/arm/tlsdesc.c: Likewise.
5589 * sysdeps/i386/tlsdesc.c: Likewise.
5590 * sysdeps/tile/dl-runtime.c: Likewise.
5591 * sysdeps/x86_64/tlsdesc.c: Likewise.
5592 * elf/dl-load.h: New file.
5593 * elf/dl-load.c: Include it.
5594 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5595 Macros moved to dl-load.h.
5596 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5597 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5598 Use _dl_unmap_segments in place of __munmap.
5599 Break out segment-mapping loop into ...
5600 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5602 2014-04-03 Will Newton <will.newton@linaro.org>
5604 * elf/dl-lookup.c (do_lookup_x): Remove comment
5605 referring to nested function and move variable
5606 declarations down to before first use.
5608 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5612 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5614 * math/s_catanf.c (__catanf): Likewise.
5615 * math/s_catanh.c (__catanh): Likewise.
5616 * math/s_catanhf.c (__catanhf): Likewise.
5617 * math/s_catanhl.c (__catanhl): Likewise.
5618 * math/s_catanl.c (__catanl): Likewise.
5619 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5620 by positive zero when computing -Inf result.
5621 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5622 (catanh_test): Likewise.
5623 * sysdeps/i386/fpu/libm-test-ulps: Update.
5624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5627 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5628 instead of using underflowing value in computing result.
5629 * math/s_clog10.c (__clog10): Likewise.
5630 * math/s_clog10f.c (__clog10f): Likewise.
5631 * math/s_clog10l.c (__clog10l): Likewise.
5632 * math/s_clogf.c (__clogf): Likewise.
5633 * math/s_clogl.c (__clogl): Likewise.
5634 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5635 (clog10_test): Likewise.
5636 * sysdeps/i386/fpu/libm-test-ulps: Update.
5637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5639 2014-04-02 Alan Modra <amodra@gmail.com>
5642 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5643 output when value is near a power of two. Use int64_t for lx and
5644 remove casts. Use decimal rather than hex exponent constants.
5645 Don't use long double multiplication when double will suffice.
5646 * math/libm-test.inc (nextafter_test_data): Add tests.
5647 * NEWS: Add 16739 and 16786 to bug list.
5649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5651 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5653 2014-04-01 Will Newton <will.newton@linaro.org>
5655 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5656 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5658 2014-04-01 Florian Weimer <fweimer@redhat.com>
5661 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5662 * nptl/tst-setuid2.c: New file.
5663 * nptl/Makefile (xtests): Add tst-setuid2.
5665 2014-04-01 Alan Modra <amodra@gmail.com>
5668 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5670 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5674 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5675 set errno as appropriate.
5676 * math/w_scalbf.c (__scalbf): Likewise.
5677 * math/w_scalbl.c (__scalbl): Likewise.
5678 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5679 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5680 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5684 * math/w_atan2.c: Include <errno.h>.
5685 (__atan2): Set errno for result underflowing to zero.
5686 * math/w_atan2f.c: Include <errno.h>.
5687 (__atan2f): Set errno for result underflowing to zero.
5688 * math/w_atan2l.c: Include <errno.h>.
5689 (__atan2l): Set errno for result underflowing to zero.
5690 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5692 * math/auto-libm-test-out: Regenerated.
5694 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5696 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5697 Encode instruction correctly in little endian.
5698 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5700 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5702 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5704 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5707 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5710 * sysdeps/unix/sysv/linux/kernel-features.h
5711 [__sparc__ && !__arch64__ && !__sparc_v9__]
5712 (__ASSUME_SET_ROBUST_LIST): Do not define.
5713 [__sparc__ && !__arch64__ && !__sparc_v9__]
5714 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5715 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5717 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5718 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5719 (__ASSUME_REQUEUE_PI): Likewise.
5720 (__ASSUME_SET_ROBUST_LIST): Likewise.
5721 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5722 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5724 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5725 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5727 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5729 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5731 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5732 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5734 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5735 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5739 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5740 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5741 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5743 2014-03-31 Will Newton <will.newton@linaro.org>
5745 * benchtests/Makefile (bench): Add ffs and ffsll to list
5747 * benchtests/ffs-inputs: New file.
5748 * benchtests/ffsll-inputs: Likewise.
5750 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5753 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5754 too large before casting to int.
5755 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5756 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5757 * math/libm-test.inc (scalb_test_data): Add more tests.
5759 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5761 * benchtests/Makefile (DETAILED_OPT): New make option.
5762 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5764 * benchtests/bench-skeleton.c: Include stdbool.h.
5765 (main): Store and print timings per input.
5766 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5767 member to each argument value.
5768 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5769 (_print_arg_data): Initialize per-input timing to 0.
5771 * benchtests/Makefile (timing-type): New binary.
5772 (bench-clean): Also remove bench-timing-type.
5773 (bench): New target for timing-type.
5774 (bench-func): Print output in JSON format.
5775 * benchtests/bench-skeleton.c (main): Print output in JSON
5777 * benchtests/bench-timing-type.c: New file.
5778 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5779 (TIMING_PRINT_STATS): Remove.
5780 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5783 * benchtests/bench-modf.c: Remove.
5784 * benchtests/modf-inputs: New inputs file.
5786 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5789 * math/s_clog10.c (M_PI_LOG10E): New macro.
5790 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5791 imaginary parts are 0.
5792 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5793 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5794 imaginary parts are 0.
5795 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5796 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5797 imaginary parts are 0.
5798 * math/libm-test.inc (clog10_test_data): Update expected results
5799 for when real and imaginary parts are 0.
5801 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5803 * elf/dl-load.c: Finish conversion of __builtin_expect into
5806 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5809 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5810 1+x for argument with exponent below -67.
5811 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5813 * math/auto-libm-test-in: Add more tests of exp.
5814 * math/auto-libm-test-out: Regenerated.
5816 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5819 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5820 (nscd_getnetgrent): Use it.
5823 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5826 2014-03-27 Andi Kleen <ak@linux.intel.com>
5828 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5829 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5830 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5831 (lll_robust_unlock): Remove out of line section. Use cfi
5833 (LLL_STUB_UNWIND_INFO*): Remove.
5834 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5835 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5836 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5837 (lll_robust_unlock): Remove out of line section. Use cfi
5839 (LLL_STUB_UNWIND_INFO*): Remove.
5841 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5844 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5847 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5849 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5851 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5854 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5856 * math/test-fenv-preserve.c: New file.
5857 * math/Makefile (tests): Add test-fenv-preserve.
5859 2014-03-26 Will Newton <will.newton@linaro.org>
5861 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5863 2014-03-25 Roland McGrath <roland@hack.frob.com>
5865 * scripts/versionlist.awk: Partition the version sets and emit all
5866 GLIBC_* (sorted) before all others (sorted).
5868 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5870 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5871 GLIBC_2.2.5 version.
5873 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5875 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5878 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5883 2014-03-25 Andreas Schwab <schwab@suse.de>
5885 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5886 label to be used after in6ailist is initialized.
5888 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5890 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5891 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5893 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5897 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5899 (fp_formats): Update initializers.
5900 (init_fp_formats): Initialize new field.
5901 (output_for_one_input_case): Allow underflow for results up to
5903 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5904 * math/auto-libm-test-in: Don't mark some underflows from asin and
5906 * math/auto-libm-test-out: Regenerated.
5907 * sysdeps/i386/fpu/libm-test-ulps: Update.
5908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5910 2014-03-25 Andreas Schwab <schwab@suse.de>
5912 * libio/Makefile (tst-ftell-partial-wide-ENV)
5913 (tst-ftell-active-handler-ENV): Define.
5915 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5917 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5919 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5921 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5923 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5925 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5926 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5927 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5929 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5932 * elf/dl-load.c (open_verify): Add mode parameter.
5933 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5934 (open_path): Change from boolean 'secure' to complete flag 'mode'
5935 (_dl_map_object): Adjust.
5936 * elf/Makefile (tests): Add tst-dlopen-aout.
5937 * elf/tst-dlopen-aout.c: New test.
5939 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5942 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5943 (struct stat): Rename member pad0 to __glibc_reserved0.
5946 * sysdeps/s390/s390-32/bits/wordsize.h
5947 (__WORDSIZE32_SIZE_ULONG): New define.
5948 * sysdeps/s390/s390-64/bits/wordsize.h
5949 (__WORDSIZE32_SIZE_ULONG): Likewise.
5950 * sysdeps/generic/stdint.h (SIZE_MAX):
5951 Define as UL if __WORDSIZE32_SIZE_ULONG.
5954 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5955 (__glibc_reserved0): New variable.
5956 (sa_flags): Change type to int.
5958 * posix/Makefile (before-compile): Use += before-compile instead
5961 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5962 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5964 2014-03-20 Andreas Schwab <schwab@suse.de>
5967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5968 non-matching result from nscd.
5970 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5972 * scripts/bench.py: Moved to ...
5973 * benchtests/scripts/bench.py: ... here.
5974 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5976 2014-03-24 Andreas Schwab <schwab@suse.de>
5979 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5980 alloca_account and account alloca use for struct in6ailist.
5982 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5985 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5986 rounding mode to recompute results that overflow to infinity or
5988 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5990 * math/auto-libm-test-out: Regenerated.
5991 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5992 (ccosh_test): Likewise.
5993 (csin_test_data): Use plus_oflow.
5994 (csin_test): Use ALL_RM_TEST.
5995 (csinh_test_data): Use plus_oflow.
5996 (csinh_test): Use ALL_RM_TEST.
5997 * sysdeps/i386/fpu/libm-test-ulps: Update.
5998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6000 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6002 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6003 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6004 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6007 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6009 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6010 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6011 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6012 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6014 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6015 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6017 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6018 * sysdeps/i386/fpu/libm-test-ulps: Update.
6019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6021 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6023 * scripts/bench.pl: Remove file.
6024 * scripts/bench.py: New benchmark script.
6025 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6026 * benchtests/README: Mention python dependency.
6027 * scripts/pylintrc: New file.
6028 * scripts/pylint: New file.
6030 * bits/mathdef.h: Use #ifdef instead of #if.
6031 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6032 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6033 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6034 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6035 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6036 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6038 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6039 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6041 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6043 and strpbrk-ppc64 objects.
6044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6045 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6046 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6047 multiarch strpbrk for POWER7.
6048 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6049 multiarch strpbrk for PPC64.
6050 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6052 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6055 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6057 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6058 (atan_test): Likewise.
6059 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6060 (atanh_test): Use ALL_RM_TEST.
6061 (atan2_test_data): Likewise.
6062 (cabs_test): Likewise.
6063 (cacosh_test): Likewise.
6064 (carg_test): Likewise.
6065 (casin_test): Likewise.
6066 (casinh_test): Likewise.
6067 (cbrt_test): Likewise.
6068 (csqrt_test): Likewise.
6069 (erf_test): Likewise.
6070 (erfc_test): Likewise.
6071 (pow10_test): Likewise.
6072 (exp2_test): Likewise.
6073 (hypot_test): Likewise.
6074 (j0_test): Likewise.
6075 (j1_test): Likewise.
6076 (lgamma_test): Likewise.
6077 (gamma_test): Likewise.
6078 (sincos_test): Likewise.
6079 (tanh_test): Likewise.
6080 (y0_test): Likewise.
6081 (y1_test): Likewise.
6082 * sysdeps/i386/fpu/libm-test-ulps: Update.
6083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6085 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6087 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6089 and strcspn-ppc64 objects.
6090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6091 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6092 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6093 multiarch strcspn for POWER7.
6094 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6095 multiarch strcspn for PPC64.
6096 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6098 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6101 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6103 * math/gen-libm-test.pl (generate_testfile): Expect only function
6104 name as argument to AUTO_TESTS_* and pass results for all rounding
6105 modes to parse_args.
6106 (parse_auto_input): Separate inputs of automatic tests from
6107 outputs before storing in %auto_tests.
6108 * math/libm-test.inc (acos_test_data): Update call to
6110 (acos_test): Use ALL_RM_TEST.
6111 (acos_tonearest_test_data): Remove.
6112 (acos_test_tonearest): Likewise.
6113 (acos_towardzero_test_data): Likewise.
6114 (acos_test_towardzero): Likewise.
6115 (acos_downward_test_data): Likewise.
6116 (acos_test_downward): Likewise.
6117 (acos_upward_test_data): Likewise.
6118 (acos_test_upward): Likewise.
6119 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6120 (asin_test_data): Likewise.
6121 (asin_test): Use ALL_RM_TEST.
6122 (asin_tonearest_test_data): Remove.
6123 (asin_test_tonearest): Likewise.
6124 (asin_towardzero_test_data): Likewise.
6125 (asin_test_towardzero): Likewise.
6126 (asin_downward_test_data): Likewise.
6127 (asin_test_downward): Likewise.
6128 (asin_upward_test_data): Likewise.
6129 (asin_test_upward): Likewise.
6130 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6131 (atan_test_data): Likewise.
6132 (atanh_test_data): Likewise.
6133 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6134 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6135 (carg_test_data): Likewise.
6136 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6137 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6138 (ccosh_test_data): Likewise.
6139 (cexp_test_data): Likewise.
6140 (clog_test_data): Likewise.
6141 (clog10_test_data): Likewise.
6142 (cos_test_data): Update call to AUTO_TESTS_f_f.
6143 (cos_test): Use ALL_RM_TEST.
6144 (cos_tonearest_test_data): Remove.
6145 (cos_test_tonearest): Likewise.
6146 (cos_towardzero_test_data): Likewise.
6147 (cos_test_towardzero): Likewise.
6148 (cos_downward_test_data): Likewise.
6149 (cos_test_downward): Likewise.
6150 (cos_upward_test_data): Likewise.
6151 (cos_test_upward): Likewise.
6152 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6153 (cosh_test): Use ALL_RM_TEST.
6154 (cosh_tonearest_test_data): Remove.
6155 (cosh_test_tonearest): Likewise.
6156 (cosh_towardzero_test_data): Likewise.
6157 (cosh_test_towardzero): Likewise.
6158 (cosh_downward_test_data): Likewise.
6159 (cosh_test_downward): Likewise.
6160 (cosh_upward_test_data): Likewise.
6161 (cosh_test_upward): Likewise.
6162 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6163 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6164 (ctan_test_data): Likewise.
6165 (ctan_test): Use ALL_RM_TEST.
6166 (ctan_tonearest_test_data): Remove.
6167 (ctan_test_tonearest): Likewise.
6168 (ctan_towardzero_test_data): Likewise.
6169 (ctan_test_towardzero): Likewise.
6170 (ctan_downward_test_data): Likewise.
6171 (ctan_test_downward): Likewise.
6172 (ctan_upward_test_data): Likewise.
6173 (ctan_test_upward): Likewise.
6174 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6175 (ctanh_test): Use ALL_RM_TEST.
6176 (ctanh_tonearest_test_data): Remove.
6177 (ctanh_test_tonearest): Likewise.
6178 (ctanh_towardzero_test_data): Likewise.
6179 (ctanh_test_towardzero): Likewise.
6180 (ctanh_downward_test_data): Likewise.
6181 (ctanh_test_downward): Likewise.
6182 (ctanh_upward_test_data): Likewise.
6183 (ctanh_test_upward): Likewise.
6184 (erf_test_data): Update call to AUTO_TESTS_f_f.
6185 (erfc_test_data): Likewise.
6186 (exp_test_data): Likewise.
6187 (exp_test): Use ALL_RM_TEST.
6188 (exp_tonearest_test_data): Remove.
6189 (exp_test_tonearest): Likewise.
6190 (exp_towardzero_test_data): Likewise.
6191 (exp_test_towardzero): Likewise.
6192 (exp_downward_test_data): Likewise.
6193 (exp_test_downward): Likewise.
6194 (exp_upward_test_data): Likewise.
6195 (exp_test_upward): Likewise.
6196 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6197 (exp10_test): Use ALL_RM_TEST.
6198 (exp10_tonearest_test_data): Remove.
6199 (exp10_test_tonearest): Likewise.
6200 (exp10_towardzero_test_data): Likewise.
6201 (exp10_test_towardzero): Likewise.
6202 (exp10_downward_test_data): Likewise.
6203 (exp10_test_downward): Likewise.
6204 (exp10_upward_test_data): Likewise.
6205 (exp10_test_upward): Likewise.
6206 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6207 (expm1_test_data): Likewise.
6208 (expm1_test): Use ALL_RM_TEST.
6209 (expm1_tonearest_test_data): Remove.
6210 (expm1_test_tonearest): Likewise.
6211 (expm1_towardzero_test_data): Likewise.
6212 (expm1_test_towardzero): Likewise.
6213 (expm1_downward_test_data): Likewise.
6214 (expm1_test_downward): Likewise.
6215 (expm1_upward_test_data): Likewise.
6216 (expm1_test_upward): Likewise.
6217 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6218 (fma_test): Use ALL_RM_TEST.
6219 (fma_towardzero_test_data): Remove.
6220 (fma_test_towardzero): Likewise.
6221 (fma_downward_test_data): Likewise.
6222 (fma_test_downward): Likewise.
6223 (fma_upward_test_data): Likewise.
6224 (fma_test_upward): Likewise.
6225 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6226 (j0_test_data): Update call to AUTO_TESTS_f_f.
6227 (j1_test_data): Likewise.
6228 (jn_test_data): Update call to AUTO_TESTS_if_f.
6229 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6230 (log_test_data): Update call to AUTO_TESTS_f_f.
6231 (log10_test_data): Likewise.
6232 (log1p_test_data): Likewise.
6233 (log2_test_data): Likewise.
6234 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6235 (pow_tonearest_test_data): Likewise.
6236 (sin_test_data): Update call to AUTO_TESTS_f_f.
6237 (sin_test): Use ALL_RM_TEST.
6238 (sin_tonearest_test_data): Remove.
6239 (sin_test_tonearest): Likewise.
6240 (sin_towardzero_test_data): Likewise.
6241 (sin_test_towardzero): Likewise.
6242 (sin_downward_test_data): Likewise.
6243 (sin_test_downward): Likewise.
6244 (sin_upward_test_data): Likewise.
6245 (sin_test_upward): Likewise.
6246 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6247 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6248 (sinh_test): Use ALL_RM_TEST.
6249 (sinh_tonearest_test_data): Remove.
6250 (sinh_test_tonearest): Likewise.
6251 (sinh_towardzero_test_data): Likewise.
6252 (sinh_test_towardzero): Likewise.
6253 (sinh_downward_test_data): Likewise.
6254 (sinh_test_downward): Likewise.
6255 (sinh_upward_test_data): Likewise.
6256 (sinh_test_upward): Likewise.
6257 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6258 (sqrt_test): Use ALL_RM_TEST.
6259 (sqrt_tonearest_test_data): Remove.
6260 (sqrt_test_tonearest): Likewise.
6261 (sqrt_towardzero_test_data): Likewise.
6262 (sqrt_test_towardzero): Likewise.
6263 (sqrt_downward_test_data): Likewise.
6264 (sqrt_test_downward): Likewise.
6265 (sqrt_upward_test_data): Likewise.
6266 (sqrt_test_upward): Likewise.
6267 (tan_test_data): Update call to AUTO_TESTS_f_f.
6268 (tan_test): Use ALL_RM_TEST.
6269 (tan_tonearest_test_data): Remove.
6270 (tan_test_tonearest): Likewise.
6271 (tan_towardzero_test_data): Likewise.
6272 (tan_test_towardzero): Likewise.
6273 (tan_downward_test_data): Likewise.
6274 (tan_test_downward): Likewise.
6275 (tan_upward_test_data): Likewise.
6276 (tan_test_upward): Likewise.
6277 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6278 (tgamma_test_data): Likewise.
6279 (y0_test_data): Likewise.
6280 (y1_test_data): Likewise.
6281 (yn_test_data): Update call to AUTO_TESTS_if_f.
6282 (main): Do not call removed functions.
6284 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6286 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6287 (ldexp_test_data): Remove.
6288 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6290 (scalb_test): Use ALL_RM_TEST.
6292 2014-03-19 Andreas Schwab <schwab@suse.de>
6294 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6296 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6299 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6300 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6301 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6302 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6303 (__ASSUME_PREADV): Undefine.
6304 (__ASSUME_PWRITEV): Likewise.
6306 2014-03-18 Roland McGrath <roland@hack.frob.com>
6308 * bits/mman-linux.h: Add comment about non-Linux use.
6309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6310 bits/mman-linux.h resting place.
6312 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6313 * bits/mman-linux.h: ... here.
6315 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6317 * conform/conformtest.pl: Add standard definition when calling C
6318 preprocessor on data files.
6319 (checknamespace): Remove unused variable.
6321 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6323 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6324 minus_oflow, plus_uflow and minus_uflow in expected results.
6325 * math/libm-test.inc (scalbn_test_data): Add more tests of
6326 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6328 (scalbn_test): Use ALL_RM_TEST.
6329 (scalbln_test_data): Add more tests of negative arguments. Use
6330 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6331 (scalbln_test): Use ALL_RM_TEST.
6333 2014-03-18 Roland McGrath <roland@hack.frob.com>
6335 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6337 2014-03-18 Will Newton <will.newton@linaro.org>
6339 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6342 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6344 * Makerules [!subdir] (check-abi): Exit with error status if a
6347 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6349 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6350 for rint. Include results for all rounding modes.
6351 (nearbyint_test): Use ALL_RM_TEST.
6352 (rint_test_data): Include all tests used for nearbyint.
6354 2014-03-17 Will Newton <will.newton@linaro.org>
6356 * nptl/sysdeps/pthread/pthread.h: Revert previous
6359 * sysdeps/generic/ldsodefs.h: Revert previous
6362 * libio/genops.c: Revert previous change.
6363 * libio/libioP.h: Likewise.
6364 * stdio-common/vfprintf.c: Likewise.
6366 * sysdeps/generic/math_private.h: Revert previous
6369 * sysdeps/generic/math_private.h: Check whether
6370 HAVE_RM_CTX is defined with #ifdef rather
6373 * argp/argp-fmtstream.h: Check whether
6374 __STRICT_ANSI__ is defined with #ifdef rather
6376 * argp/argp.h: Likewise.
6378 * libio/genops.c: Check whether
6379 _IO_JUMPS_OFFSET is defined with #ifdef rather
6381 * libio/libioP.h: Likewise.
6382 * stdio-common/vfprintf.c: Likewise.
6384 * sysdeps/generic/ldsodefs.h: Check whether
6385 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6388 * nptl/sysdeps/pthread/pthread.h: Check
6389 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6392 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6394 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6396 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6400 * libio/fileops.c (_IO_file_open): Seek to end of file but
6401 don't cache the offset.
6402 (get_file_offset): Remove function.
6403 (do_ftell): Use cached offset when available.
6404 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6405 don't cache the offset.
6406 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6408 (do_one_test): Call it.
6409 (do_ftell_test): Fix up expected old offset for a+ mode.
6410 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6413 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6414 up test status with function return status.
6415 (do_write_test): Likewise.
6416 (do_append_test): Likewise.
6418 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6419 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6422 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6424 * math/gen-libm-test.pl (parse_args): Handle results specified for
6425 each rounding mode separately.
6426 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6427 tests and results from lrint_tonearest_test_data,
6428 lrint_towardzero_test_data, lrint_downward_test_data and
6429 lrint_upward_test_data.
6430 (lrint_test): Use ALL_RM_TEST.
6431 (lrint_tonearest_test_data): Remove.
6432 (lrint_test_tonearest): Likewise.
6433 (lrint_towardzero_test_data): Likewise.
6434 (lrint_test_towardzero): Likewise.
6435 (lrint_downward_test_data): Likewise.
6436 (lrint_test_downward): Likewise.
6437 (lrint_upward_test_data): Likewise.
6438 (lrint_test_upward): Likewise.
6439 (llrint_test_data): Merge in per-rounding-mode tests and results
6440 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6441 llrint_downward_test_data and llrint_upward_test_data.
6442 (llrint_test): Use ALL_RM_TEST.
6443 (llrint_tonearest_test_data): Remove.
6444 (llrint_test_tonearest): Likewise.
6445 (llrint_towardzero_test_data): Likewise.
6446 (llrint_test_towardzero): Likewise.
6447 (llrint_downward_test_data): Likewise.
6448 (llrint_test_downward): Likewise.
6449 (llrint_upward_test_data): Likewise.
6450 (llrint_test_upward): Likewise.
6451 (rint_test_data): Merge in per-rounding-mode tests and results
6452 from rint_tonearest_test_data, rint_towardzero_test_data,
6453 rint_downward_test_data and rint_upward_test_data. Add
6454 per-rounding-mode results for tests not in those arrays.
6455 (rint_test): Use ALL_RM_TEST.
6456 (rint_tonearest_test_data): Remove.
6457 (rint_test_tonearest): Likewise.
6458 (rint_towardzero_test_data): Likewise.
6459 (rint_test_towardzero): Likewise.
6460 (rint_downward_test_data): Likewise.
6461 (rint_test_downward): Likewise.
6462 (rint_upward_test_data): Likewise.
6463 (rint_test_upward): Likewise.
6464 (main): Don't call removed functions.
6466 2014-03-14 Roland McGrath <roland@hack.frob.com>
6468 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6469 "Compiled on ..." crapola. It is anti-useful.
6471 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6473 * scripts/evaluate-test.sh: Handle fourth argument to determine
6474 whether test run should stop on failure.
6475 * Makeconfig (stop-on-test-failure): New variable.
6476 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6477 $(stop-on-test-failure).
6478 * Makefile (tests): Give a summary of results from testing and
6479 exit with failure status if they include an ERROR or FAIL.
6481 * manual/install.texi (Configuring and compiling): Mention
6482 stop-on-test-failure=y.
6483 * INSTALL: Regenerated.
6485 2014-03-14 Roland McGrath <roland@hack.frob.com>
6487 * scripts/versionlist.awk: New file.
6488 * Makerules [$(build-shared) = yes]
6489 (postclean-generated): Add Versions.def, not Versions.def.v and
6491 ($(common-objpfx)Versions.def.v.i): Target removed.
6492 ($(common-objpfx)Versions.def): New target.
6493 ($(common-objpfx)Versions.all): Depend on that rather that
6494 $(common-objpfx)Versions.def.v.
6495 * Versions.def: File removed.
6497 * Makeconfig (+gccwarn): Add -Wundef.
6498 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6499 a dl-sysdep.h breaking its contract.
6500 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6501 * include/stackinfo.h: New file.
6502 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6503 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6504 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6505 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6506 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6507 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6508 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6509 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6510 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6511 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6512 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6513 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6514 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6515 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6516 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6518 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6521 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6523 * math/libm-test.inc (round_test_data): Add more tests.
6526 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6528 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6531 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6533 * math/libm-test.inc (ceil_test_data): Add more tests.
6535 * math/libm-test.inc (trunc_test_data): Add more tests related to
6538 2014-03-14 Roland McGrath <roland@hack.frob.com>
6540 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6541 with #if rather than #ifdef.
6542 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6544 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6546 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6547 first. Disable AVX-512 GCC support if assembler doesn't support
6549 * sysdeps/x86_64/configure: Regenerated.
6551 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6553 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6554 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6555 (__old_pthread_attr_setstack): Likewise.
6556 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6557 [!_STACK_GROWS_DOWN]: Likewise.
6559 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6561 * config.make.in (have-bash2): Delete.
6562 * configure.ac (libc_cv_have_bash2): Delete.
6563 * configure: Regenerate.
6564 * elf/Makefile (common-ldd-rewrite): Rename to ...
6565 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6566 (sh-ldd-rewrite): Delete.
6567 (bash-ldd-rewrite): Delete.
6568 (have-bash2): Delete checks.
6569 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6572 * config.make.in (have-ksh): Delete.
6574 * configure.ac (libc_cv_have_ksh): Delete.
6575 * configure: Regenerate.
6577 * elf/Makefile: Delete $(have-ksh) check.
6578 ($(objpfx)sotruss): Change KSH to BASH.
6579 * elf/sotruss.ksh: Rename to ...
6580 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6581 function style to match POSIX. Drop ksh vim mode setting.
6583 * manual/time.texi (Specifying the Time Zone with TZ): Change
6584 Tuesday to Thursday.
6586 * debug/tst-longjmp_chk2.c: Update header comment.
6587 (stackoverflow_handler): Add comment. Call assert on pass value.
6589 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6591 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6592 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6593 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6594 (La_x86_64_vector): Add zmm.
6595 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6596 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6597 ($(objpfx)tst-audit10): New target.
6598 ($(objpfx)tst-audit10.out): Likewise.
6599 (tst-audit10-ENV): New.
6600 (AVX512-CFLAGS): Likewise.
6601 (CFLAGS-tst-audit10.c): Likewise.
6602 (CFLAGS-tst-auditmod10a.c): Likewise.
6603 (CFLAGS-tst-auditmod10b.c): Likewise.
6604 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6605 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6606 * sysdeps/x86_64/configure: Regenerated.
6607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6608 AVX-512 zmm register support.
6609 (_dl_x86_64_save_sse): Likewise.
6610 (_dl_x86_64_restore_sse): Likewise.
6611 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6612 size vector registers.
6613 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6614 (ZMM_SIZE): Likewise.
6615 * sysdeps/x86_64/tst-audit10.c: New file.
6616 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6617 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6619 2014-03-13 Roland McGrath <roland@hack.frob.com>
6621 * configure.ac (HAVE_EHDR_START): New check.
6622 * configure: Regenerated.
6623 * config.h.in (HAVE_EHDR_START): New #undef.
6624 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6625 assuming the lowest-addressed segment maps the start of the file.
6627 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6629 * INSTALL: Regenerated.
6631 2014-03-13 Will Newton <will.newton@linaro.org>
6633 * manual/setjmp.texi (System V contexts): Improve
6634 clarity and grammar of documentation.
6636 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6639 * elf/Makefile (tests): Add tst-pie2.
6640 (tests-pie): Add tst-pie2.
6641 * elf/tst-pie2.c: New file.
6642 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6644 * elf/rtld.c (map_doit): Load executable as lt_executable.
6645 (dl_main): Likewise.
6647 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6650 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6651 (__ASSUME_PSELECT): Undefine.
6653 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6656 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6657 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6659 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6660 selector for static builds.
6662 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6665 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6668 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6670 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6671 IFUNC selector for static builds.
6673 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6675 * sysdeps/mips/math_private.h [__mips_hard_float]
6676 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6677 libc_feresetround_mips_ctx.
6678 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6679 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6680 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6683 * math/s_nextafter.c (__nextafter): Do not return value from
6684 overflowing computation.
6685 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6686 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6687 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6689 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6691 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6692 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6694 2014-03-11 Roland McGrath <roland@hack.frob.com>
6696 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6697 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6698 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6699 the new mov targetting sp.
6701 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6704 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6705 Define it for static builds as well.
6706 (NO_BZERO_IMPL): Likewise.
6708 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6710 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6711 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6712 multiarch strspn for PPC64.
6713 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6714 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6716 (__libc_ifunc_impl_list): Likewise.
6717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6718 multiarch optimizations
6719 * string/strspn.c (strspn): Using macro to redefine symbol name.
6721 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6722 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6724 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6725 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6726 multiarch strncat for PPC64.
6727 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6728 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6730 (__libc_ifunc_impl_list): Likewise.
6731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6732 multiarch optimizations
6734 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6737 * nscd/nscd.service: Make service type forking.
6739 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6741 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6742 sign in non default rounding modes.
6743 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6745 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6747 * math/libm-test.inc (ALL_RM_TEST): New macro.
6748 (ceil_test): Use ALL_RM_TEST.
6749 (cimag_test): Likewise.
6750 (conj_test): Likewise.
6751 (copysign_test): Likewise.
6752 (cproj_test): Likewise.
6753 (creal_test): Likewise.
6754 (fabs_test): Likewise.
6755 (floor_test): Likewise.
6756 (fmax_test): Likewise.
6757 (fmin_test): Likewise.
6758 (fmod_test): Likewise.
6759 (fpclassify_test): Likewise.
6760 (frexp_test): Likewise.
6761 (ilogb_test): Likewise.
6762 (isfinite_test): Likewise.
6763 (finite_test): Likewise.
6764 (isgreater_test): Likewise.
6765 (isgreaterequal_test): Likewise.
6766 (isinf_test): Likewise.
6767 (isless_test): Likewise.
6768 (islessequal_test): Likewise.
6769 (islessgreater_test): Likewise.
6770 (isnan_test): Likewise.
6771 (isnormal_test): Likewise.
6772 (issignaling_test): Likewise.
6773 (isunordered_test): Likewise.
6774 (logb_test): Likewise.
6775 (logb_downward_test_data): Remove.
6776 (logb_test_downward): Likewise.
6777 (lround_test): Use ALL_RM_TEST.
6778 (llround_test): Likewise.
6779 (modf_test): Likewise.
6780 (nexttoward_test): Likewise.
6781 (remainder_test): Likewise.
6782 (drem_test): Likewise.
6783 (remainder_tonearest_test_data): Likewise.
6784 (remainder_test_tonearest): Likewise.
6785 (drem_test_tonearest): Likewise.
6786 (remainder_towardzero_test_data): Likewise.
6787 (remainder_test_towardzero): Likewise.
6788 (drem_test_towardzero): Likewise.
6789 (remainder_downward_test_data): Likewise.
6790 (remainder_test_downward): Likewise.
6791 (drem_test_downward): Likewise.
6792 (remainder_upward_test_data): Likewise.
6793 (remainder_test_upward): Likewise.
6794 (drem_test_upward): Likewise.
6795 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6796 (round_test): Use ALL_RM_TEST.
6797 (signbit_test): Likewise.
6798 (trunc_test): Likewise.
6799 (significand_test): Likewise.
6800 (main): Don't call removed functions.
6802 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6805 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6807 (ILL_ILLOPN): Likewise.
6808 (ILL_ILLADR): Likewise.
6809 (ILL_ILLTRP): Likewise.
6810 (ILL_PRVOPC): Likewise.
6811 (ILL_PRVREG): Likewise.
6812 (ILL_COPROC): Likewise.
6813 (ILL_BADSTK): Likewise.
6814 (FPE_INTDIV): Likewise.
6815 (FPE_INTOVF): Likewise.
6816 (FPE_FLTDIV): Likewise.
6817 (FPE_FLTOVF): Likewise.
6818 (FPE_FLTUND): Likewise.
6819 (FPE_FLTRES): Likewise.
6820 (FPE_FLTINV): Likewise.
6821 (FPE_FLTSUB): Likewise.
6822 (SEGV_MAPERR): Likewise.
6823 (SEGV_ACCERR): Likewise.
6824 (BUS_ADRALN): Likewise.
6825 (BUS_ADRERR): Likewise.
6826 (BUS_OBJERR): Likewise.
6827 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6828 (TRAP_TRACE): Likewise.
6829 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6831 (CLD_KILLED): Likewise.
6832 (CLD_DUMPED): Likewise.
6833 (CLD_TRAPPED): Likewise.
6834 (CLD_STOPPED): Likewise.
6835 (CLD_CONTINUED): Likewise.
6836 (POLL_IN): Likewise.
6837 (POLL_OUT): Likewise.
6838 (POLL_MSG): Likewise.
6839 (POLL_ERR): Likewise.
6840 (POLL_PRI): Likewise.
6841 (POLL_HUP): Likewise.
6842 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6844 (ILL_ILLOPN): Likewise.
6845 (ILL_ILLADR): Likewise.
6846 (ILL_ILLTRP): Likewise.
6847 (ILL_PRVOPC): Likewise.
6848 (ILL_PRVREG): Likewise.
6849 (ILL_COPROC): Likewise.
6850 (ILL_BADSTK): Likewise.
6851 (FPE_INTDIV): Likewise.
6852 (FPE_INTOVF): Likewise.
6853 (FPE_FLTDIV): Likewise.
6854 (FPE_FLTOVF): Likewise.
6855 (FPE_FLTUND): Likewise.
6856 (FPE_FLTRES): Likewise.
6857 (FPE_FLTINV): Likewise.
6858 (FPE_FLTSUB): Likewise.
6859 (SEGV_MAPERR): Likewise.
6860 (SEGV_ACCERR): Likewise.
6861 (BUS_ADRALN): Likewise.
6862 (BUS_ADRERR): Likewise.
6863 (BUS_OBJERR): Likewise.
6864 (BUS_MCEERR_AR): Likewise.
6865 (BUS_MCEERR_AO): Likewise.
6866 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6867 (TRAP_TRACE): Likewise.
6868 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6870 (CLD_KILLED): Likewise.
6871 (CLD_DUMPED): Likewise.
6872 (CLD_TRAPPED): Likewise.
6873 (CLD_STOPPED): Likewise.
6874 (CLD_CONTINUED): Likewise.
6875 (POLL_IN): Likewise.
6876 (POLL_OUT): Likewise.
6877 (POLL_MSG): Likewise.
6878 (POLL_ERR): Likewise.
6879 (POLL_PRI): Likewise.
6880 (POLL_HUP): Likewise.
6881 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6882 (ILL_ILLOPN): Likewise.
6883 (ILL_ILLADR): Likewise.
6884 (ILL_ILLTRP): Likewise.
6885 (ILL_PRVOPC): Likewise.
6886 (ILL_PRVREG): Likewise.
6887 (ILL_COPROC): Likewise.
6888 (ILL_BADSTK): Likewise.
6889 (FPE_INTDIV): Likewise.
6890 (FPE_INTOVF): Likewise.
6891 (FPE_FLTDIV): Likewise.
6892 (FPE_FLTOVF): Likewise.
6893 (FPE_FLTUND): Likewise.
6894 (FPE_FLTRES): Likewise.
6895 (FPE_FLTINV): Likewise.
6896 (FPE_FLTSUB): Likewise.
6897 (SEGV_MAPERR): Likewise.
6898 (SEGV_ACCERR): Likewise.
6899 (BUS_ADRALN): Likewise.
6900 (BUS_ADRERR): Likewise.
6901 (BUS_OBJERR): Likewise.
6902 (BUS_MCEERR_AR): Likewise.
6903 (BUS_MCEERR_AO): Likewise.
6904 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6905 (TRAP_TRACE): Likewise.
6906 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6908 (CLD_KILLED): Likewise.
6909 (CLD_DUMPED): Likewise.
6910 (CLD_TRAPPED): Likewise.
6911 (CLD_STOPPED): Likewise.
6912 (CLD_CONTINUED): Likewise.
6913 (POLL_IN): Likewise.
6914 (POLL_OUT): Likewise.
6915 (POLL_MSG): Likewise.
6916 (POLL_ERR): Likewise.
6917 (POLL_PRI): Likewise.
6918 (POLL_HUP): Likewise.
6919 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6921 (ILL_ILLOPN): Likewise.
6922 (ILL_ILLADR): Likewise.
6923 (ILL_ILLTRP): Likewise.
6924 (ILL_PRVOPC): Likewise.
6925 (ILL_PRVREG): Likewise.
6926 (ILL_COPROC): Likewise.
6927 (ILL_BADSTK): Likewise.
6928 (ILL_BADIADDR): Likewise.
6929 (ILL_BREAK): Likewise.
6930 (FPE_INTDIV): Likewise.
6931 (FPE_INTOVF): Likewise.
6932 (FPE_FLTDIV): Likewise.
6933 (FPE_FLTOVF): Likewise.
6934 (FPE_FLTUND): Likewise.
6935 (FPE_FLTRES): Likewise.
6936 (FPE_FLTINV): Likewise.
6937 (FPE_FLTSUB): Likewise.
6938 (FPE_DECOVF): Likewise.
6939 (FPE_DECDIV): Likewise.
6940 (FPE_DECERR): Likewise.
6941 (FPE_INVASC): Likewise.
6942 (FPE_INVDEC): Likewise.
6943 (SEGV_MAPERR): Likewise.
6944 (SEGV_ACCERR): Likewise.
6945 (SEGV_PSTKOVF): Likewise.
6946 (BUS_ADRALN): Likewise.
6947 (BUS_ADRERR): Likewise.
6948 (BUS_OBJERR): Likewise.
6949 (BUS_MCEERR_AR): Likewise.
6950 (BUS_MCEERR_AO): Likewise.
6951 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6952 (TRAP_TRACE): Likewise.
6953 (TRAP_BRANCH): Likewise.
6954 (TRAP_HWBKPT): Likewise.
6955 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6957 (CLD_KILLED): Likewise.
6958 (CLD_DUMPED): Likewise.
6959 (CLD_TRAPPED): Likewise.
6960 (CLD_STOPPED): Likewise.
6961 (CLD_CONTINUED): Likewise.
6962 (POLL_IN): Likewise.
6963 (POLL_OUT): Likewise.
6964 (POLL_MSG): Likewise.
6965 (POLL_ERR): Likewise.
6966 (POLL_PRI): Likewise.
6967 (POLL_HUP): Likewise.
6968 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6969 (ILL_ILLOPN): Likewise.
6970 (ILL_ILLADR): Likewise.
6971 (ILL_ILLTRP): Likewise.
6972 (ILL_PRVOPC): Likewise.
6973 (ILL_PRVREG): Likewise.
6974 (ILL_COPROC): Likewise.
6975 (ILL_BADSTK): Likewise.
6976 (FPE_INTDIV): Likewise.
6977 (FPE_INTOVF): Likewise.
6978 (FPE_FLTDIV): Likewise.
6979 (FPE_FLTOVF): Likewise.
6980 (FPE_FLTUND): Likewise.
6981 (FPE_FLTRES): Likewise.
6982 (FPE_FLTINV): Likewise.
6983 (FPE_FLTSUB): Likewise.
6984 (SEGV_MAPERR): Likewise.
6985 (SEGV_ACCERR): Likewise.
6986 (BUS_ADRALN): Likewise.
6987 (BUS_ADRERR): Likewise.
6988 (BUS_OBJERR): Likewise.
6989 (BUS_MCEERR_AR): Likewise.
6990 (BUS_MCEERR_AO): Likewise.
6991 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6992 (TRAP_TRACE): Likewise.
6993 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6995 (CLD_KILLED): Likewise.
6996 (CLD_DUMPED): Likewise.
6997 (CLD_TRAPPED): Likewise.
6998 (CLD_STOPPED): Likewise.
6999 (CLD_CONTINUED): Likewise.
7000 (POLL_IN): Likewise.
7001 (POLL_OUT): Likewise.
7002 (POLL_MSG): Likewise.
7003 (POLL_ERR): Likewise.
7004 (POLL_PRI): Likewise.
7005 (POLL_HUP): Likewise.
7006 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7007 (ILL_ILLOPN): Likewise.
7008 (ILL_ILLADR): Likewise.
7009 (ILL_ILLTRP): Likewise.
7010 (ILL_PRVOPC): Likewise.
7011 (ILL_PRVREG): Likewise.
7012 (ILL_COPROC): Likewise.
7013 (ILL_BADSTK): Likewise.
7014 (FPE_INTDIV): Likewise.
7015 (FPE_INTOVF): Likewise.
7016 (FPE_FLTDIV): Likewise.
7017 (FPE_FLTOVF): Likewise.
7018 (FPE_FLTUND): Likewise.
7019 (FPE_FLTRES): Likewise.
7020 (FPE_FLTINV): Likewise.
7021 (FPE_FLTSUB): Likewise.
7022 (SEGV_MAPERR): Likewise.
7023 (SEGV_ACCERR): Likewise.
7024 (BUS_ADRALN): Likewise.
7025 (BUS_ADRERR): Likewise.
7026 (BUS_OBJERR): Likewise.
7027 (BUS_MCEERR_AR): Likewise.
7028 (BUS_MCEERR_AO): Likewise.
7029 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7030 (TRAP_TRACE): Likewise.
7031 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7033 (CLD_KILLED): Likewise.
7034 (CLD_DUMPED): Likewise.
7035 (CLD_TRAPPED): Likewise.
7036 (CLD_STOPPED): Likewise.
7037 (CLD_CONTINUED): Likewise.
7038 (POLL_IN): Likewise.
7039 (POLL_OUT): Likewise.
7040 (POLL_MSG): Likewise.
7041 (POLL_ERR): Likewise.
7042 (POLL_PRI): Likewise.
7043 (POLL_HUP): Likewise.
7044 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7045 (ILL_ILLOPN): Likewise.
7046 (ILL_ILLADR): Likewise.
7047 (ILL_ILLTRP): Likewise.
7048 (ILL_PRVOPC): Likewise.
7049 (ILL_PRVREG): Likewise.
7050 (ILL_COPROC): Likewise.
7051 (ILL_BADSTK): Likewise.
7052 (FPE_INTDIV): Likewise.
7053 (FPE_INTOVF): Likewise.
7054 (FPE_FLTDIV): Likewise.
7055 (FPE_FLTOVF): Likewise.
7056 (FPE_FLTUND): Likewise.
7057 (FPE_FLTRES): Likewise.
7058 (FPE_FLTINV): Likewise.
7059 (FPE_FLTSUB): Likewise.
7060 (SEGV_MAPERR): Likewise.
7061 (SEGV_ACCERR): Likewise.
7062 (BUS_ADRALN): Likewise.
7063 (BUS_ADRERR): Likewise.
7064 (BUS_OBJERR): Likewise.
7065 (BUS_MCEERR_AR): Likewise.
7066 (BUS_MCEERR_AO): Likewise.
7067 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7068 (TRAP_TRACE): Likewise.
7069 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7071 (CLD_KILLED): Likewise.
7072 (CLD_DUMPED): Likewise.
7073 (CLD_TRAPPED): Likewise.
7074 (CLD_STOPPED): Likewise.
7075 (CLD_CONTINUED): Likewise.
7076 (POLL_IN): Likewise.
7077 (POLL_OUT): Likewise.
7078 (POLL_MSG): Likewise.
7079 (POLL_ERR): Likewise.
7080 (POLL_PRI): Likewise.
7081 (POLL_HUP): Likewise.
7082 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7083 (ILL_ILLOPN): Likewise.
7084 (ILL_ILLADR): Likewise.
7085 (ILL_ILLTRP): Likewise.
7086 (ILL_PRVOPC): Likewise.
7087 (ILL_PRVREG): Likewise.
7088 (ILL_COPROC): Likewise.
7089 (ILL_BADSTK): Likewise.
7090 (ILL_DBLFLT): Likewise.
7091 (ILL_HARDWALL): Likewise.
7092 (FPE_INTDIV): Likewise.
7093 (FPE_INTOVF): Likewise.
7094 (FPE_FLTDIV): Likewise.
7095 (FPE_FLTOVF): Likewise.
7096 (FPE_FLTUND): Likewise.
7097 (FPE_FLTRES): Likewise.
7098 (FPE_FLTINV): Likewise.
7099 (FPE_FLTSUB): Likewise.
7100 (SEGV_MAPERR): Likewise.
7101 (SEGV_ACCERR): Likewise.
7102 (BUS_ADRALN): Likewise.
7103 (BUS_ADRERR): Likewise.
7104 (BUS_OBJERR): Likewise.
7105 (BUS_MCEERR_AR): Likewise.
7106 (BUS_MCEERR_AO): Likewise.
7107 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7108 (TRAP_TRACE): Likewise.
7109 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7111 (CLD_KILLED): Likewise.
7112 (CLD_DUMPED): Likewise.
7113 (CLD_TRAPPED): Likewise.
7114 (CLD_STOPPED): Likewise.
7115 (CLD_CONTINUED): Likewise.
7116 (POLL_IN): Likewise.
7117 (POLL_OUT): Likewise.
7118 (POLL_MSG): Likewise.
7119 (POLL_ERR): Likewise.
7120 (POLL_PRI): Likewise.
7121 (POLL_HUP): Likewise.
7122 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7123 (ILL_ILLOPN): Likewise.
7124 (ILL_ILLADR): Likewise.
7125 (ILL_ILLTRP): Likewise.
7126 (ILL_PRVOPC): Likewise.
7127 (ILL_PRVREG): Likewise.
7128 (ILL_COPROC): Likewise.
7129 (ILL_BADSTK): Likewise.
7130 (FPE_INTDIV): Likewise.
7131 (FPE_INTOVF): Likewise.
7132 (FPE_FLTDIV): Likewise.
7133 (FPE_FLTOVF): Likewise.
7134 (FPE_FLTUND): Likewise.
7135 (FPE_FLTRES): Likewise.
7136 (FPE_FLTINV): Likewise.
7137 (FPE_FLTSUB): Likewise.
7138 (SEGV_MAPERR): Likewise.
7139 (SEGV_ACCERR): Likewise.
7140 (BUS_ADRALN): Likewise.
7141 (BUS_ADRERR): Likewise.
7142 (BUS_OBJERR): Likewise.
7143 (BUS_MCEERR_AR): Likewise.
7144 (BUS_MCEERR_AO): Likewise.
7145 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7146 (TRAP_TRACE): Likewise.
7147 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7149 (CLD_KILLED): Likewise.
7150 (CLD_DUMPED): Likewise.
7151 (CLD_TRAPPED): Likewise.
7152 (CLD_STOPPED): Likewise.
7153 (CLD_CONTINUED): Likewise.
7154 (POLL_IN): Likewise.
7155 (POLL_OUT): Likewise.
7156 (POLL_MSG): Likewise.
7157 (POLL_ERR): Likewise.
7158 (POLL_PRI): Likewise.
7159 (POLL_HUP): Likewise.
7160 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7161 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7164 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7165 before #include of <time.h>.
7166 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7167 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7168 (test-xfail-UNIX98/sched.h/conform): Likewise.
7170 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7172 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7173 error absence of trapping exception support.
7174 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7176 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7178 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7179 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7180 * timezone/Makefile (testdata): Move definition above include of
7182 (test-zones): New variable.
7183 (tests-special): Add zone files.
7184 (build-testdata): Use $(evaluate-test).
7186 * elf/Makefile (tests-special): Rename tests to end with .out.
7187 ($(objpfx)noload-mem): Likewise.
7188 ($(objpfx)tst-leaks1-mem): Likewise.
7189 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7190 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7191 $(objpfx)test-iconvconfig.out.
7192 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7193 set -e inside subshell and redirect output to file.
7194 * iconvdata/Makefile (generated): Rename tests to end with .out.
7196 (tests-special): Rename tests to end with .out.
7197 ($(objpfx)mtrace-tst-loading): Likewise.
7198 * intl/Makefile (generated): Likewise.
7199 (tests-special): Likewise.
7200 ($(objpfx)mtrace-tst-gettext): Likewise.
7201 * misc/Makefile (generated): Likewise.
7202 (tests-special): Likewise.
7203 ($(objpfx)tst-error1-mem): Likewise.
7204 * nptl/Makefile (tests-special): Likewise.
7205 ($(objpfx)tst-stack3-mem): Likewise.
7206 (generated): Likewise.
7207 * posix/Makefile (generated): Likewise.
7208 (tests-special): Likewise.
7209 (xtests-special): Likewise.
7210 ($(objpfx)tst-fnmatch-mem): Likewise.
7211 ($(objpfx)bug-regex2-mem): Likewise.
7212 ($(objpfx)bug-regex14-mem): Likewise.
7213 ($(objpfx)bug-regex21-mem): Likewise.
7214 ($(objpfx)bug-regex31-mem): Likewise.
7215 ($(objpfx)tst-vfork3-mem): Likewise.
7216 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7217 ($(objpfx)tst-pcre-mem): Likewise.
7218 ($(objpfx)tst-boost-mem): Likewise.
7219 ($(objpfx)bug-ga2-mem): Likewise.
7220 ($(objpfx)bug-glob2-mem): Likewise.
7221 * resolv/Makefile (generate): Likewise.
7222 (tests-special): Likewise.
7223 (xtests-special): Likewise.
7224 (generated): Likewise.
7225 ($(objpfx)mtrace-tst-leaks): Likewise.
7226 ($(objpfx)mtrace-tst-leaks2): Likewise.
7228 * scripts/merge-test-results.sh: New file.
7229 * Makefile (tests-special-notdir): New variable.
7230 (tests): Run merge-test-results.sh.
7232 * Rules (tests-special-notdir): New variable.
7233 (xtests-special-notdir): Likewise.
7234 (tests): Run merge-test-results.sh
7237 * Makeconfig (test-xfail-name): New variable.
7238 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7239 compute variable name for expected failures.
7240 * conform/Makefile (conformtest-headers-data): New variable.
7241 (conformtest-standards): Likewise.
7242 (conformtest-headers-ISO): Likewise.
7243 (conformtest-headers-ISO99): Likewise.
7244 (conformtest-headers-ISO11): Likewise.
7245 (conformtest-headers-POSIX): Likewise.
7246 (conformtest-headers-XPG3): Likewise.
7247 (conformtest-headers-XPG4): Likewise.
7248 (conformtest-headers-UNIX98): Likewise.
7249 (conformtest-headers-XOPEN2K): Likewise.
7250 (conformtest-headers-POSIX2008): Likewise.
7251 (conformtest-headers-XOPEN2K8): Likewise.
7252 (conformtest-header-list-base): Likewise.
7253 (conformtest-header-list-tests): Likewise.
7254 (conformtest-header-base): Likewise.
7255 (conformtest-header-tests): Likewise.
7256 (tests-special): Add $(conformtest-header-list-tests). If
7257 [$(fast-check) && !$(cross-compiling)], add
7258 $(conformtest-header-tests) instead of
7259 $(objpfx)run-conformtest.out.
7260 (generated): Add $(conformtest-header-list-base). If
7261 [$(fast-check) && !$(cross-compiling)], add
7262 $(conformtest-header-base). Remove previous setting.
7263 ($(conformtest-header-list-tests)): New target.
7264 (test-xfail-run-conformtest): Remove variable.
7265 ($(objpfx)run-conformtest.out): Remove target.
7266 (test-xfail-ISO11/complex.h/conform): New variable.
7267 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7268 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7269 (test-xfail-XPG3/varargs.h/conform): Likewise.
7270 (test-xfail-XPG4/varargs.h/conform): Likewise.
7271 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7272 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7273 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7274 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7275 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7276 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7277 (test-xfail-XPG3/ftw.h/conform): Likewise.
7278 (test-xfail-XPG3/grp.h/conform): Likewise.
7279 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7280 (test-xfail-XPG3/limits.h/conform): Likewise.
7281 (test-xfail-XPG3/pwd.h/conform): Likewise.
7282 (test-xfail-XPG3/search.h/conform): Likewise.
7283 (test-xfail-XPG3/signal.h/conform): Likewise.
7284 (test-xfail-XPG3/stdio.h/conform): Likewise.
7285 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7286 (test-xfail-XPG3/string.h/conform): Likewise.
7287 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7288 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7289 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7290 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7291 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7292 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7293 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7294 (test-xfail-XPG3/termios.h/conform): Likewise.
7295 (test-xfail-XPG3/time.h/conform): Likewise.
7296 (test-xfail-XPG3/unistd.h/conform): Likewise.
7297 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7298 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7299 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7300 (test-xfail-XPG4/netdb.h/conform): Likewise.
7301 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7302 (test-xfail-XPG4/signal.h/conform): Likewise.
7303 (test-xfail-XPG4/stdio.h/conform): Likewise.
7304 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7305 (test-xfail-XPG4/stropts.h/conform): Likewise.
7306 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7307 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7308 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7309 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7310 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7311 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7312 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7313 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7314 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7315 (test-xfail-XPG4/termios.h/conform): Likewise.
7316 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7317 (test-xfail-XPG4/unistd.h/conform): Likewise.
7318 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7319 (test-xfail-POSIX/sched.h/conform): Likewise.
7320 (test-xfail-POSIX/signal.h/conform): Likewise.
7321 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7322 (test-xfail-POSIX/tar.h/conform): Likewise.
7323 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7324 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7325 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7326 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7327 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7328 (test-xfail-UNIX98/sched.h/conform): Likewise.
7329 (test-xfail-UNIX98/signal.h/conform): Likewise.
7330 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7331 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7332 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7333 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7334 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7335 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7336 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7337 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7338 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7339 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7340 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7341 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7342 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7343 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7344 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7345 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7346 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7347 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7348 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7349 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7350 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7351 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7352 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7353 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7354 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7355 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7356 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7357 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7358 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7359 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7360 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7361 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7362 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7363 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7364 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7365 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7366 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7367 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7368 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7369 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7370 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7371 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7372 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7373 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7374 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7375 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7376 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7377 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7378 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7379 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7380 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7381 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7382 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7383 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7384 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7385 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7386 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7387 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7388 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7389 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7390 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7391 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7392 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7393 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7394 (conformtest-cc-flags): Likewise.
7395 ($(conformtest-header-tests): New target.
7396 * conform/check-header-lists.sh: New file.
7397 * conform/run-conformtest.sh: Remove.
7399 * conform/conformtest.pl: Allow ' and \ in values given for
7401 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7403 [POSIX] (sys/types.h): Likewise.
7404 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7406 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7408 * conform/data/signal.h-data (SIGIO): Remove expectation.
7409 [XPG3] (SIGBUS): Do not expect.
7410 [POSIX || XPG3] (SIGPOLL): Likewise.
7411 [POSIX || XPG3] (SIGPROF): Likewise.
7412 [POSIX || XPG3] (SIGSYS): Likewise.
7413 [XPG3] (SIGTRAP): Likewise.
7414 [POSIX || XPG3] (SIGURG): Likewise.
7415 [POSIX || XPG3] (SIGVTALRM): Likewise.
7416 [POSIX || XPG3] (SIGXCPU): Likewise.
7417 [POSIX || XPG3] (SIGXFSZ): Likewise.
7418 [POSIX] (SA_SIGINFO): Expect.
7419 [XPG3] (siginfo_t): Do not expect type or contents.
7420 [POSIX] (si_pid): Do not expect element.
7421 [POSIX] (si_uid): Likewise.
7422 [POSIX] (si_addr): Likewise.
7423 [POSIX] (si_status): Likewise.
7424 [POSIX] (si_band): Likewise.
7425 [XPG4] (si_value): Likewise.
7426 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7427 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7428 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7429 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7430 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7431 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7432 [POSIX || XPG3] (ILL_COPROC): Likewise.
7433 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7434 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7435 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7436 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7437 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7438 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7439 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7440 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7441 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7442 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7443 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7444 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7445 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7446 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7447 [POSIX || XPG3] (CLD_EXITED): Likewise.
7448 [POSIX || XPG3] (CLD_KILLED): Likewise.
7449 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7450 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7451 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7452 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7453 [POSIX || XPG3] (POLL_IN): Likewise.
7454 [POSIX || XPG3] (POLL_OUT): Likewise.
7455 [POSIX || XPG3] (POLL_MSG): Likewise.
7456 [POSIX || XPG3] (POLL_ERR): Likewise.
7457 [POSIX || XPG3] (POLL_PRI): Likewise.
7458 [POSIX || XPG3] (POLL_HUP): Likewise.
7459 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7460 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7461 (SIG*): Do not allow.
7462 [XPG3] (si_*): Likewise.
7463 [XPG3] (SI_*): Likewise.
7464 [XPG3 || XPG4] (sigev_*): Likewise.
7465 [XPG3 || XPG4] (SIGEV_*): Likewise.
7466 [XPG3 || XPG4] (sival_*): Likewise.
7467 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7468 [POSIX || XPG3] (BUS_*): Likewise.
7469 [POSIX || XPG3] (CLD_*): Likewise.
7470 [POSIX || XPG3] (FPE_*): Likewise.
7471 [POSIX || XPG3] (ILL_*): Likewise.
7472 [POSIX || XPG3] (POLL_*): Likewise.
7473 [POSIX || XPG3] (SEGV_*): Likewise.
7474 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7475 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7476 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7477 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7478 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7479 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7480 Specify type and value.
7481 (TVERSLEN): Likewise.
7482 (REGTYPE): Likewise.
7483 (AREGTYPE): Likewise.
7484 (LNKTYPE): Likewise.
7485 (SYMTYPE): Likewise.
7486 (CHRTYPE): Likewise.
7487 (BLKTYPE): Likewise.
7488 (DIRTYPE): Likewise.
7489 (FIFOTYPE): Likewise.
7490 (CONTTYPE): Likewise.
7495 (TUWRITE): Likewise.
7498 (TGWRITE): Likewise.
7501 (TOWRITE): Likewise.
7503 [POSIX] (TSVTX): Expect constant.
7505 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7507 * Makefile (tests): Change dependencies to ....
7508 (tests-special): ... additions to this variable.
7509 (tests): Depend on $(tests-special).
7510 * Makerules (check-abi-list): New variable.
7511 (check-abi): Depend on $(check-abi-list).
7512 [$(subdir) = elf] (tests-special): Add
7513 $(objpfx)check-abi-libc.out.
7514 [$(build-shared) = yes && subdir] (tests-special): Add
7516 [$(build-shared) = yes && subdir] (tests): Do not depend on
7518 * Rules (tests): Depend on $(tests-special).
7519 (xtests): Depend on $(xtests-special).
7520 * catgets/Makefile (tests): Change dependencies to ....
7521 (tests-special): ... additions to this variable.
7522 * conform/Makefile (tests): Change dependencies to ....
7523 (tests-special): ... additions to this variable.
7524 * elf/Makefile (tests): Change dependencies to ....
7525 (tests-special): ... additions to this variable.
7526 * grp/Makefile (tests): Change dependencies to ....
7527 (tests-special): ... additions to this variable.
7528 * iconv/Makefile (xtests): Change dependencies to ....
7529 (xtests-special): ... additions to this variable.
7530 * iconvdata/Makefile (tests): Change dependencies to ....
7531 (tests-special): ... additions to this variable.
7532 * intl/Makefile (tests): Change dependencies to ....
7533 (tests-special): ... additions to this variable. Also add
7534 $(objpfx)tst-gettext.out.
7535 * io/Makefile (tests): Change dependencies to ....
7536 (tests-special): ... additions to this variable.
7537 * libio/Makefile (tests): Change dependencies to ....
7538 (tests-special): ... additions to this variable.
7539 * malloc/Makefile (tests): Change dependencies to ....
7540 (tests-special): ... additions to this variable.
7541 * misc/Makefile (tests): Change dependencies to ....
7542 (tests-special): ... additions to this variable.
7543 * nptl/Makefile (tests): Change dependencies to ....
7544 (tests-special): ... additions to this variable.
7545 * nptl_db/Makefile (tests): Change dependencies to ....
7546 (tests-special): ... additions to this variable.
7547 * posix/Makefile (tests): Change dependencies to ....
7548 (tests-special): ... additions to this variable.
7549 (xtests): Change dependencies to ....
7550 (xtests-special): ... additions to this variable.
7551 * resolv/Makefile (tests): Change dependencies to ....
7552 (tests-special): ... additions to this variable.
7553 (xtests): Change dependencies to ....
7554 (xtests-special): ... additions to this variable.
7555 * stdio-common/Makefile (tests): Change dependencies to ....
7556 (tests-special): ... additions to this variable.
7557 (do-tst-unbputc): Remove target.
7558 (do-tst-printf): Likewise.
7559 * stdlib/Makefile (tests): Change dependencies to ....
7560 (tests-special): ... additions to this variable.
7561 * string/Makefile (tests): Change dependencies to ....
7562 (tests-special): ... additions to this variable.
7563 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7564 (tests-special): ... additions to this variable.
7566 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7568 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7570 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7571 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7573 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7574 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7575 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7576 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7577 * conform/data/libgen.h-data [XPG3]: Likewise.
7578 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7579 * conform/data/ndbm.h-data [XPG3]: Likewise.
7580 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7581 * conform/data/netdb.h-data [XPG3]: Likewise.
7582 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7583 * conform/data/poll.h-data [XPG3]: Likewise.
7584 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7585 * conform/data/strings.h-data [XPG3]: Likewise.
7586 * conform/data/stropts.h-data [XPG3]: Likewise.
7587 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7588 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7589 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7591 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7592 * conform/data/sys/time.h-data [XPG3]: Likewise.
7593 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7594 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7595 * conform/data/sys/un.h-data [XPG3]: Likewise.
7596 * conform/data/syslog.h-data [XPG3]: Likewise.
7597 * conform/data/ucontext.h-data [XPG3]: Likewise.
7598 * conform/data/utmpx.h-data [XPG3]: Likewise.
7599 * conform/data/varargs.h-data [UNIX98]: Enable file.
7601 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7603 * math/libm-test.inc (struct test_f_f_data): Move expected results
7604 into structure for each rounding mode.
7605 (struct test_ff_f_data): Likewise.
7606 (struct test_ff_f_data_nexttoward): Likewise.
7607 (struct test_fi_f_data): Likewise.
7608 (struct test_fl_f_data): Likewise.
7609 (struct test_if_f_data): Likewise.
7610 (struct test_fff_f_data): Likewise.
7611 (struct test_c_f_data): Likewise.
7612 (struct test_f_f1_data): Likewise.
7613 (struct test_fF_f1_data): Likewise.
7614 (struct test_ffI_f1_data): Likewise.
7615 (struct test_c_c_data): Likewise.
7616 (struct test_cc_c_data): Likewise.
7617 (struct test_f_i_data): Likewise.
7618 (struct test_ff_i_data): Likewise.
7619 (struct test_f_l_data): Likewise.
7620 (struct test_f_L_data): Likewise.
7621 (struct test_fFF_11_data): Likewise.
7623 (RM_FE_DOWNWARD): Likewise.
7624 (RM_FE_TONEAREST): Likewise.
7625 (RM_FE_TOWARDZERO): Likewise.
7626 (RM_FE_UPWARD): Likewise.
7627 (RUN_TEST_LOOP_f_f): Update references to expected results.
7628 (RUN_TEST_LOOP_2_f): Likewise.
7629 (RUN_TEST_LOOP_fff_f): Likewise.
7630 (RUN_TEST_LOOP_c_f): Likewise.
7631 (RUN_TEST_LOOP_f_f1): Likewise.
7632 (RUN_TEST_LOOP_fF_f1): Likewise.
7633 (RUN_TEST_LOOP_fI_f1): Likewise.
7634 (RUN_TEST_LOOP_ffI_f1): Likewise.
7635 (RUN_TEST_LOOP_c_c): Likewise.
7636 (RUN_TEST_LOOP_cc_c): Likewise.
7637 (RUN_TEST_LOOP_f_i): Likewise.
7638 (RUN_TEST_LOOP_f_i_tg): Likewise.
7639 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7640 (RUN_TEST_LOOP_f_b): Likewise.
7641 (RUN_TEST_LOOP_f_b_tg): Likewise.
7642 (RUN_TEST_LOOP_f_l): Likewise.
7643 (RUN_TEST_LOOP_f_L): Likewise.
7644 (RUN_TEST_LOOP_fFF_11): Likewise.
7645 * math/gen-libm-test.pl (parse_args): Output four copies of
7646 expected results for each test.
7648 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7649 (__ASSUME_UTIMES): Remove.
7650 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7651 (__ASSUME_UTIMES): Likewise.
7653 * math/gen-auto-libm-tests.c: Update comment on output format.
7654 (output_for_one_input_case): Generate before-rounding and
7655 after-rounding information as conditions on output flags not
7656 floating-point format.
7657 * math/auto-libm-test-out: Regenerated.
7658 * math/gen-libm-test.pl (cond_value): New function.
7659 (or_cond_value): Use cond_value.
7660 (generate_testfile): Handle conditional exceptions.
7662 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7664 * math/libm-test.inc (max_valid_error): New variable.
7665 (init_max_error): Take new argument specifying whether function
7666 results are exactly determined. Set max_valid_error and bound
7667 other variables for errors based on this argument.
7668 (set_max_error): Do not record results above max_valid_error.
7669 (check_float_internal): Only accept errors of up to 0.5ulps if
7670 also at most max_valid_error.
7671 (START): Take new argument EXACT and pass it to init_max_error.
7672 (acos_test): Update call to START.
7673 (acos_test_tonearest): Likewise.
7674 (acos_test_towardzero): Likewise.
7675 (acos_test_downward): Likewise.
7676 (acos_test_upward): Likewise.
7677 (acosh_test): Likewise.
7678 (asin_test): Likewise.
7679 (asin_test_tonearest): Likewise.
7680 (asin_test_towardzero): Likewise.
7681 (asin_test_downward): Likewise.
7682 (asin_test_upward): Likewise.
7683 (asinh_test): Likewise.
7684 (atan_test): Likewise.
7685 (atanh_test): Likewise.
7686 (atan2_test): Likewise.
7687 (cabs_test): Likewise.
7688 (cacos_test): Likewise.
7689 (cacosh_test): Likewise.
7690 (carg_test): Likewise.
7691 (casin_test): Likewise.
7692 (casinh_test): Likewise.
7693 (catan_test): Likewise.
7694 (catanh_test): Likewise.
7695 (cbrt_test): Likewise.
7696 (ccos_test): Likewise.
7697 (ccosh_test): Likewise.
7698 (ceil_test): Likewise.
7699 (cexp_test): Likewise.
7700 (cimag_test): Likewise.
7701 (clog_test): Likewise.
7702 (clog10_test): Likewise.
7703 (conj_test): Likewise.
7704 (copysign_test): Likewise.
7705 (cos_test): Likewise.
7706 (cos_test_tonearest): Likewise.
7707 (cos_test_towardzero): Likewise.
7708 (cos_test_downward): Likewise.
7709 (cos_test_upward): Likewise.
7710 (cosh_test): Likewise.
7711 (cosh_test_tonearest): Likewise.
7712 (cosh_test_towardzero): Likewise.
7713 (cosh_test_downward): Likewise.
7714 (cosh_test_upward): Likewise.
7715 (cpow_test): Likewise.
7716 (cproj_test): Likewise.
7717 (creal_test): Likewise.
7718 (csin_test): Likewise.
7719 (csinh_test): Likewise.
7720 (csqrt_test): Likewise.
7721 (ctan_test): Likewise.
7722 (ctan_test_tonearest): Likewise.
7723 (ctan_test_towardzero): Likewise.
7724 (ctan_test_downward): Likewise.
7725 (ctan_test_upward): Likewise.
7726 (ctanh_test): Likewise.
7727 (ctanh_test_tonearest): Likewise.
7728 (ctanh_test_towardzero): Likewise.
7729 (ctanh_test_downward): Likewise.
7730 (ctanh_test_upward): Likewise.
7731 (erf_test): Likewise.
7732 (erfc_test): Likewise.
7733 (exp_test): Likewise.
7734 (exp_test_tonearest): Likewise.
7735 (exp_test_towardzero): Likewise.
7736 (exp_test_downward): Likewise.
7737 (exp_test_upward): Likewise.
7738 (exp10_test): Likewise.
7739 (exp10_test_tonearest): Likewise.
7740 (exp10_test_towardzero): Likewise.
7741 (exp10_test_downward): Likewise.
7742 (exp10_test_upward): Likewise.
7743 (pow10_test): Likewise.
7744 (exp2_test): Likewise.
7745 (expm1_test): Likewise.
7746 (expm1_test_tonearest): Likewise.
7747 (expm1_test_towardzero): Likewise.
7748 (expm1_test_downward): Likewise.
7749 (expm1_test_upward): Likewise.
7750 (fabs_test): Likewise.
7751 (fdim_test): Likewise.
7752 (floor_test): Likewise.
7753 (fma_test): Likewise.
7754 (fma_test_towardzero): Likewise.
7755 (fma_test_downward): Likewise.
7756 (fma_test_upward): Likewise.
7757 (fmax_test): Likewise.
7758 (fmin_test): Likewise.
7759 (fmod_test): Likewise.
7760 (fpclassify_test): Likewise.
7761 (frexp_test): Likewise.
7762 (hypot_test): Likewise.
7763 (ilogb_test): Likewise.
7764 (isfinite_test): Likewise.
7765 (finite_test): Likewise.
7766 (isgreater_test): Likewise.
7767 (isgreaterequal_test): Likewise.
7768 (isinf_test): Likewise.
7769 (isless_test): Likewise.
7770 (islessequal_test): Likewise.
7771 (islessgreater_test): Likewise.
7772 (isnan_test): Likewise.
7773 (isnormal_test): Likewise.
7774 (issignaling_test): Likewise.
7775 (isunordered_test): Likewise.
7776 (j0_test): Likewise.
7777 (j1_test): Likewise.
7778 (jn_test): Likewise.
7779 (ldexp_test): Likewise.
7780 (lgamma_test): Likewise.
7781 (gamma_test): Likewise.
7782 (lrint_test): Likewise.
7783 (lrint_test_tonearest): Likewise.
7784 (lrint_test_towardzero): Likewise.
7785 (lrint_test_downward): Likewise.
7786 (lrint_test_upward): Likewise.
7787 (llrint_test): Likewise.
7788 (llrint_test_tonearest): Likewise.
7789 (llrint_test_towardzero): Likewise.
7790 (llrint_test_downward): Likewise.
7791 (llrint_test_upward): Likewise.
7792 (log_test): Likewise.
7793 (log10_test): Likewise.
7794 (log1p_test): Likewise.
7795 (log2_test): Likewise.
7796 (logb_test): Likewise.
7797 (logb_test_downward): Likewise.
7798 (lround_test): Likewise.
7799 (llround_test): Likewise.
7800 (modf_test): Likewise.
7801 (nearbyint_test): Likewise.
7802 (nextafter_test): Likewise.
7803 (nexttoward_test): Likewise.
7804 (pow_test): Likewise.
7805 (pow_test_tonearest): Likewise.
7806 (pow_test_towardzero): Likewise.
7807 (pow_test_downward): Likewise.
7808 (pow_test_upward): Likewise.
7809 (remainder_test): Likewise.
7810 (drem_test): Likewise.
7811 (remainder_test_tonearest): Likewise.
7812 (drem_test_tonearest): Likewise.
7813 (remainder_test_towardzero): Likewise.
7814 (drem_test_towardzero): Likewise.
7815 (remainder_test_downward): Likewise.
7816 (drem_test_downward): Likewise.
7817 (remainder_test_upward): Likewise.
7818 (drem_test_upward): Likewise.
7819 (remquo_test): Likewise.
7820 (rint_test): Likewise.
7821 (rint_test_tonearest): Likewise.
7822 (rint_test_towardzero): Likewise.
7823 (rint_test_downward): Likewise.
7824 (rint_test_upward): Likewise.
7825 (round_test): Likewise.
7826 (scalb_test): Likewise.
7827 (scalbn_test): Likewise.
7828 (scalbln_test): Likewise.
7829 (signbit_test): Likewise.
7830 (sin_test): Likewise.
7831 (sin_test_tonearest): Likewise.
7832 (sin_test_towardzero): Likewise.
7833 (sin_test_downward): Likewise.
7834 (sin_test_upward): Likewise.
7835 (sincos_test): Likewise.
7836 (sinh_test): Likewise.
7837 (sinh_test_tonearest): Likewise.
7838 (sinh_test_towardzero): Likewise.
7839 (sinh_test_downward): Likewise.
7840 (sinh_test_upward): Likewise.
7841 (sqrt_test): Likewise.
7842 (sqrt_test_tonearest): Likewise.
7843 (sqrt_test_towardzero): Likewise.
7844 (sqrt_test_downward): Likewise.
7845 (sqrt_test_upward): Likewise.
7846 (tan_test): Likewise.
7847 (tan_test_tonearest): Likewise.
7848 (tan_test_towardzero): Likewise.
7849 (tan_test_downward): Likewise.
7850 (tan_test_upward): Likewise.
7851 (tanh_test): Likewise.
7852 (tgamma_test): Likewise.
7853 (trunc_test): Likewise.
7854 (y0_test): Likewise.
7855 (y1_test): Likewise.
7856 (yn_test): Likewise.
7857 (significand_test): Likewise.
7859 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7860 individual tests in comment.
7861 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7862 (prev_max_error): New variable.
7863 (prev_real_max_error): Likewise.
7864 (prev_imag_max_error): Likewise.
7865 (compare_ulp_data): Don't refer to test names in comment.
7866 (find_test_ulps): Remove function.
7867 (find_function_ulps): Likewise.
7868 (find_complex_function_ulps): Likewise.
7869 (init_max_error): Take function name as argument. Look up ulps
7871 (print_ulps): Remove function.
7872 (print_max_error): Use prev_max_error instead of calling
7874 (print_complex_max_error): Use prev_real_max_error and
7875 prev_imag_max_error instead of calling find_complex_function_ulps.
7876 (check_float_internal): Take max_ulp parameter instead of calling
7877 find_test_ulps. Don't call print_ulps.
7878 (check_float): Update call to check_float_internal.
7879 (check_complex): Update calls to check_float_internal.
7880 (START): Pass argument to init_max_error.
7881 * math/gen-libm-test.pl (%results): Don't include "kind"
7883 (parse_ulps): Don't handle ulps of individual tests.
7884 (print_ulps_file): Likewise.
7885 (output_ulps): Likewise.
7886 * math/README.libm-test: Update.
7887 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7889 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7890 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7891 * sysdeps/arm/libm-test-ulps: Likewise.
7892 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7893 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7894 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7895 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7896 * sysdeps/microblaze/libm-test-ulps: Likewise.
7897 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7898 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7899 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7900 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7901 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7902 * sysdeps/sh/libm-test-ulps: Likewise.
7903 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7904 * sysdeps/tile/libm-test-ulps: Likewise.
7905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7907 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7909 * math/libm-test.inc (print_complex_max_error): Check separately
7910 whether real and imaginary errors are within allowed range and
7911 pass 0 to print_complex_function_ulps instead of value within
7914 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7916 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7918 (get_handles_fopen): Likewise.
7919 (do_write_test): Likewise.
7921 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7923 * libio/fileops.c (do_ftell): Use cached offset when
7925 * libio/iofwide.c (do_ftell_wide): Likewise.
7926 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7928 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7931 * libio/libioP.h (get_file_offset): New function.
7932 * libio/fileops.c (get_file_offset): Likewise.
7933 (do_ftell): Likewise.
7934 (_IO_new_file_seekoff): Split out ftell logic.
7935 * libio/wfileops.c (do_ftell_wide): Likewise.
7936 (_IO_wfile_seekoff): Split out ftell logic.
7937 * libio/tst-ftell-active-handler.c: New test case.
7938 * libio/Makefile (tests): Add it.
7940 2014-03-03 Roland McGrath <roland@hack.frob.com>
7942 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7943 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7945 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7948 * nscd/connections.c (nscd_init): Call do_exit.
7949 (start_threads): Call do_exit and notify_parent.
7950 (begin_drop_privileges): Call do_exit.
7951 (finish_drop_privileges): Likewise.
7952 * nscd/selinux.c (preserve_capabilities): Likewise.
7953 (install_real_capabilities): Likewise.
7954 (nscd_selinux_enabled): Likewise.
7955 (avc_create_thread): Likewise.
7956 (avc_alloc_lock): Likewise.
7957 (nscd_avc_init): Likewise.
7958 * nscd/nscd.c (parent_fd): New static variable.
7959 (main): Create a pipe between parent and child processes.
7960 Skip closing parent_fd.
7961 (monitor_child): New function.
7962 (do_exit): Likewise.
7963 (notify_parent): Likewise.
7964 * nscd/nscd.h (notify_parent): Likewise.
7965 (do_exit): Likewise.
7967 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7969 * malloc/malloc.c (__libc_calloc): Revert last change.
7971 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7975 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7977 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7981 (__libc_ifunc_impl_list): Likewise.
7982 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7983 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7984 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7985 * string/strrchr.c: Define STRRCHR.
7987 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7989 * benchtest/bench-strtok.c (simple_strtok): Delete.
7990 (strtok_string): Use as benchmark.
7991 * string/strtok (STRTOK): New macro.
7993 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7995 * manual/threads.texi: Add header and standard comments to all
7998 * elf/dl-lookup.c (check_match): New function.
7999 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8000 (do_lookup_x): Remove nested function check_match. Use non-nested
8001 function check_match.
8003 2014-02-28 Roland McGrath <roland@hack.frob.com>
8005 * csu/Makefile (generated, before-compile): Use += rather than =.
8006 * catgets/Makefile (generated, generated-dirs): Likewise.
8007 * debug/Makefile (generated): Likewise.
8008 * dlfcn/Makefile (generated): Likewise.
8009 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8010 * iconvdata/Makefile (before-compile, generated): Likewise.
8011 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8012 * libio/Makefile (generated): Likewise.
8013 * malloc/Makefile (generated): Likewise.
8014 * manual/Makefile (generated, generated-dirs): Likewise.
8015 * misc/Makefile (generated): Likewise.
8016 * posix/Makefile (generated): Likewise.
8017 * resolv/Makefile (generated): Likewise.
8018 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8019 * timezone/Makefile (generated, generated-dirs): Likewise.
8021 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8023 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8025 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8026 power8 implementation.
8027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8028 file: POWER8 llround ifunc implementation.
8029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8030 (__lllround): Add POWER8 implementation.
8031 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8032 POWER8 llround implementation.
8034 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8035 power8 implementation.
8036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8037 file: POWER8 llrint ifunc implementation.
8038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8039 Add POWER8 implementation.
8040 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8041 POWER8 llrint implementation.
8043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8044 power8 implementation.
8045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8046 file: POWER8 finite ifunc implementation.
8047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8048 Add POWER8 implementation.
8049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8051 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8052 POWER8 finite implementation.
8053 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8056 power8 implementation.
8057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8058 file: POWER8 isinf ifunc implementation.
8059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8060 POWER8 implementation.
8061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8063 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8064 isinf implementation.
8065 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8067 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8068 (INIT_ARCH): Add hwcap2 initialization.
8069 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8070 power8 implementation.
8071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8072 file: POWER8 isnan ifunc implementation.
8073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8074 POWER8 implementation.
8075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8077 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8078 isnan implementation.
8079 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8081 2014-02-27 Joey Ye <joey.ye@arm.com>
8083 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8084 (_FP_NANFRAC_Q): Set to zero.
8086 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8089 * math/auto-libm-test-in: New test inputs.
8090 * math/auto-libm-test-out: Regenerate.
8091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8094 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8096 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8098 * scripts/evaluate-test.sh: Take new argument indicating whether
8099 failure is expected.
8100 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8101 indicating whether failure is expected.
8102 * conform/Makefile (test-xfail-run-conformtest): New variable.
8103 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8105 * posix/Makefile (test-xfail-annexc): New variable.
8106 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8108 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8110 * argp/Makefile: Include Makeconfig immediately after defining
8112 * assert/Makefile: Likewise.
8113 * benchtests/Makefile: Likewise.
8114 * catgets/Makefile: Likewise.
8115 * conform/Makefile: Likewise.
8116 * crypt/Makefile: Likewise.
8117 * csu/Makefile: Likewise.
8118 (all): Remove target.
8119 * ctype/Makefile: Include Makeconfig immediately after defining
8121 * debug/Makefile: Likewise.
8122 * dirent/Makefile: Likewise.
8123 * dlfcn/Makefile: Likewise.
8124 * gmon/Makefile: Likewise.
8125 * gnulib/Makefile: Likewise.
8126 * grp/Makefile: Likewise.
8127 * gshadow/Makefile: Likewise.
8128 * hesiod/Makefile: Likewise.
8129 * hurd/Makefile: Likewise.
8130 (all): Remove target.
8131 * iconvdata/Makefile: Include Makeconfig immediately after
8133 * inet/Makefile: Likewise.
8134 * intl/Makefile: Likewise.
8135 * io/Makefile: Likewise.
8136 * libio/Makefile: Likewise.
8137 (all): Remove target.
8138 * locale/Makefile: Include Makeconfig immediately after defining
8140 * login/Makefile: Likewise.
8141 * mach/Makefile: Likewise.
8142 (all): Remove target.
8143 * malloc/Makefile: Include Makeconfig immediately after defining
8145 (all): Remove target.
8146 * manual/Makefile: Include Makeconfig immediately after defining
8148 * math/Makefile: Likewise.
8149 * misc/Makefile: Likewise.
8150 * nis/Makefile: Likewise.
8151 * nss/Makefile: Likewise.
8152 * po/Makefile: Likewise.
8153 (all): Remove target.
8154 * posix/Makefile: Include Makeconfig immediately after defining
8156 * pwd/Makefile: Likewise.
8157 * resolv/Makefile: Likewise.
8158 * resource/Makefile: Likewise.
8159 * rt/Makefile: Likewise.
8160 * setjmp/Makefile: Likewise.
8161 * shadow/Makefile: Likewise.
8162 * signal/Makefile: Likewise.
8163 * socket/Makefile: Likewise.
8164 * soft-fp/Makefile: Likewise.
8165 * stdio-common/Makefile: Likewise.
8166 * stdlib/Makefile: Likewise.
8167 * streams/Makefile: Likewise.
8168 * string/Makefile: Likewise.
8169 * sunrpc/Makefile: Likewise.
8170 (all): Remove target.
8171 * sysvipc/Makefile: Include Makeconfig immediately after defining
8173 * termios/Makefile: Likewise.
8174 * time/Makefile: Likewise.
8175 * timezone/Makefile: Likewise.
8176 (all): Remove target.
8177 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8179 * wctype/Makefile: Likewise.
8181 2014-02-26 Steve Ellcey <sellcey@mips.com>
8183 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8184 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8185 (libc_feholdexcept_setround_mips): Ditto.
8186 (libc_feholdsetround): New.
8187 (libc_feholdsetroundf): New.
8188 (libc_feholdsetroundl): New.
8189 (libc_feupdateenv_test_mips): New.
8190 (libc_feupdateenv_test): New.
8191 (libc_feupdateenv_testf): New.
8192 (libc_feupdateenv_testl): New.
8193 (libc_feresetround): New.
8194 (libc_feresetroundf): New.
8195 (libc_feresetroundl): New.
8196 (libc_fetestexcept_mips): New.
8197 (libc_fetestexcept): New.
8198 (libc_fetestexceptf): New.
8199 (libc_fetestexceptl): New.
8201 (libc_feholdexcept_setround_mips_ctx): New.
8202 (libc_feholdexcept_setround_ctx): New.
8203 (libc_feholdexcept_setroundf_ctx): New.
8204 (libc_feholdexcept_setroundl_ctx): New.
8205 (libc_fesetenv_mips_ctx): New.
8206 (libc_fesetenv_ctx): New.
8207 (libc_fesetenv_ctxf): New.
8208 (libc_fesetenv_ctxl): New.
8209 (libc_feupdateenv_mips_ctx): New.
8210 (libc_feupdateenv_ctx): New.
8211 (libc_feupdateenvf_ctx): New.
8212 (libc_feupdateenvl_ctx): New.
8213 (libc_feholdsetround_mips_ctx): New.
8214 (libc_feholdsetround_ctx): New.
8215 (libc_feholdsetroundf_ctx): New.
8216 (libc_feholdsetroundl_ctx): New.
8217 (libc_feresetround_mips_ctx): New.
8218 (libc_feresetround_ctx): New.
8219 (libc_feresetroundf_ctx): New.
8220 (libc_feresetroundl_ctx): New.
8222 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8224 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8226 * manual/ipc.texi: New file.
8227 * manual/Makefile (chapters): Add ipc.
8228 * manual/job.texi: Add "Inter-Process Communication" to next.
8229 * manual/process.texi: Add "Inter-Process Communication" to prev.
8231 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8235 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8237 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8239 * manual/arith.texi: Fix spaces after sentences.
8240 * manual/charset.texi: Likewise.
8241 * manual/errno.texi: Likewise.
8242 * manual/install.texi: Likewise.
8243 * manual/llio.texi: Likewise.
8244 * manual/locale.texi: Likewise.
8245 * manual/maint.texi: Likewise.
8246 * manual/math.texi: Likewise.
8247 * manual/memory.texi: Likewise.
8248 * manual/message.texi: Likewise.
8249 * manual/probes.texi: Likewise.
8250 * manual/resource.texi: Likewise.
8251 * manual/signal.texi: Likewise.
8252 * manual/socket.texi: Likewise.
8253 * manual/stdio.texi: Likewise.
8254 * manual/string.texi: Likewise.
8255 * manual/time.texi: Likewise.
8256 * manual/users.texi: Likewise.
8258 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8261 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8262 _DEFAULT_SOURCE is defined.
8264 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8265 Carlos O'Donell <carlos@redhat.com>
8268 * elf/dl-tls.c (_dl_count_modids): New function.
8269 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8270 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8271 audit library and increment generation counter.
8272 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8273 * elf/tst-audit9.c: New file.
8274 * elf/tst-auditmod9a.c: New file.
8275 * elf/tst-auditmod9b.c: New file.
8276 * elf/Makefile: Add rules to build and run tst-audit9.
8278 2014-02-25 Florian Weimer <fweimer@redhat.com>
8281 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8283 2014-02-25 Will Newton <will.newton@linaro.org>
8285 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8286 (__longjmp): Restore sp and lr before restoring callee
8287 saved registers. Add longjmp and longjmp_target
8288 SystemTap probe point.
8289 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8290 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8291 Define to zero to match jmpbuf layout.
8292 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8293 (__sigsetjmp): Save sp and lr before saving callee
8294 saved registers. Add setjmp SystemTap probe point.
8296 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8298 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8300 2014-02-24 Andreas Schwab <schwab@suse.de>
8303 * elf/pldd.c (wait_for_ptrace_stop): New function.
8304 (main): Call it after attaching.
8306 2014-02-22 Roland McGrath <roland@hack.frob.com>
8308 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8309 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8310 Versions files is now verboten.
8311 * hurd/Versions (libc: GLIBC_2.0):
8312 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8313 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8314 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8315 * mach/Versions: Likewise.
8317 * csu/Versions: Remove unused %include.
8318 * resolv/Versions: Likewise.
8320 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8322 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8323 ($(objpfx)check-local-headers.out): Likewise.
8324 ($(objpfx)begin-end-check.out): Likewise.
8325 * Makerules (check-abi-%.out): Likewise.
8326 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8327 ($(objpfx)test2.cat): Likewise.
8328 ($(objpfx)de/libc.cat): Likewise.
8329 ($(objpfx)test-gencat.out): Likewise.
8330 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8331 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8332 ($(objpfx)noload-mem): Likewise.
8333 ($(objpfx)tst-pathopt.out): Likewise.
8334 ($(objpfx)tst-rtld-load-self.out): Likewise.
8335 ($(objpfx)tst-array1-cmp.out): Likewise.
8336 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8337 ($(objpfx)tst-array2-cmp.out): Likewise.
8338 ($(objpfx)tst-array3-cmp.out): Likewise.
8339 ($(objpfx)tst-array4-cmp.out): Likewise.
8340 ($(objpfx)tst-array5-cmp.out): Likewise.
8341 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8342 ($(objpfx)check-textrel.out): Likewise.
8343 ($(objpfx)check-execstack.out): Likewise.
8344 ($(objpfx)check-localplt.out): Likewise.
8345 ($(objpfx)order2-cmp.out): Likewise.
8346 ($(objpfx)tst-leaks1-mem): Likewise.
8347 ($(objpfx)tst-leaks1-static-mem): Likewise.
8348 ($(objpfx)tst-initorder-cmp.out): Likewise.
8349 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8350 ($(objpfx)tst-unused-dep.out): Likewise.
8351 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8352 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8353 * iconv/Makefile (test-iconvconfig): Likewise.
8354 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8355 ($(objpfx)iconv-test.out): Likewise.
8356 ($(objpfx)tst-tables.out): Likewise.
8357 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8358 ($(objpfx)tst-gettext.out): Likewise.
8359 ($(objpfx)tst-translit.out): Likewise.
8360 ($(objpfx)tst-gettext2.out): Likewise.
8361 ($(objpfx)tst-gettext4.out): Likewise.
8362 ($(objpfx)tst-gettext6.out): Likewise.
8363 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8364 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8365 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8366 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8367 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8368 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8369 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8370 ($(objpfx)wordexp-tst.out): Likewise.
8371 ($(objpfx)annexc.out): Likewise.
8372 ($(objpfx)tst-fnmatch-mem): Likewise.
8373 ($(objpfx)bug-regex2-mem): Likewise.
8374 ($(objpfx)bug-regex14-mem): Likewise.
8375 ($(objpfx)bug-regex21-mem): Likewise.
8376 ($(objpfx)bug-regex31-mem): Likewise.
8377 ($(objpfx)tst-vfork3-mem): Likewise.
8378 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8379 ($(objpfx)tst-pcre-mem): Likewise.
8380 ($(objpfx)tst-boost-mem): Likewise.
8381 ($(objpfx)tst-getconf.out): Likewise.
8382 ($(objpfx)bug-ga2-mem): Likewise.
8383 ($(objpfx)bug-glob2-mem): Likewise.
8384 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8385 ($(objpfx)mtrace-tst-leaks2): Likewise.
8386 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8387 ($(objpfx)tst-printf.out): Likewise.
8388 ($(objpfx)tst-setvbuf1.out): Likewise.
8389 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8390 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8391 ($(objpfx)tst-fmtmsg.out): Likewise.
8392 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8393 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8395 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8396 * bits/sigaction.h [__USE_MISC]: Likewise.
8397 * bits/waitstatus.h: Update #endif comments.
8398 * ctype/ctype.h: Likewise.
8399 * dirent/dirent.h: Likewise.
8400 [__USE_MISC]: Remove redundant conditionals.
8401 * grp/grp.h: Update #endif comments.
8402 [__USE_GNU]: Remove redundant conditionals.
8403 [__USE_MISC]: Likewise.
8404 * inet/netinet/in.h [__USE_GNU]: Likewise.
8405 * io/sys/stat.h [__USE_MISC]: Likewise.
8406 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8407 * libio/bits/stdio.h: Update #endif comments.
8408 [__USE_MISC]: Remove redundant conditionals.
8409 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8410 * libio/stdio.h: Update #endif comments.
8411 [__USE_MISC]: Remove redundant conditionals.
8412 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8413 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8414 * math/math.h: Update #else and #endif comments.
8415 [__USE_MISC]: Remove redundant conditionals.
8416 * misc/sys/uio.h: Update #endif comments.
8417 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8418 * posix/glob.h [__USE_MISC]: Likewise.
8419 * posix/sys/types.h: Update #endif comments.
8420 [__USE_MISC]: Remove redundant conditionals.
8421 * posix/sys/wait.h: Update #endif comments.
8422 [__USE_MISC]: Remove redundant conditionals.
8423 * posix/unistd.h: Update #endif comments.
8424 [__USE_MISC]: Remove redundant conditionals.
8425 * pwd/pwd.h [__USE_GNU]: Likewise.
8426 [__USE_MISC]: Likewise.
8427 * resolv/netdb.h [__USE_GNU]: Likewise.
8428 * signal/signal.h: Update #endif comments.
8429 [__USE_MISC]: Remove redundant conditionals.
8430 * stdlib/stdlib.h: Update #else and #endif comments.
8431 [__USE_MISC]: Remove redundant conditionals.
8432 [__USE_GNU]: Likewise.
8433 * string/bits/string2.h [__USE_MISC]: Likewise.
8434 * string/string.h: Update #endif comments.
8435 [__USE_MISC]: Remove redundant conditionals.
8436 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8438 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8439 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8440 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8442 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8444 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8446 [__USE_MISC]: Remove redundant conditionals.
8447 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8448 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8449 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8450 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8451 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8453 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8454 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8456 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8457 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8459 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8461 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8462 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8464 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8466 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8467 * sysdeps/x86/bits/string.h: Update #endif comments.
8468 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8470 * time/sys/time.h: Update #endif comments.
8471 * time/time.h: Likewise.
8472 [__USE_MISC]: Remove redundant conditionals.
8474 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8477 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8479 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8481 * Versions.def (librt): Add GLIBC_2.17.
8483 2014-02-21 Adam Conrad <adconrad@0c3.net>
8485 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8486 synonym for _SYS_AUXV_H to allow direct inclusion.
8487 * sysdeps/sparc/bits/hwcap.h: Likewise.
8488 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8489 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8490 * sysdeps/sparc/sysdep.h: Likewise.
8492 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8494 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8496 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8498 * benchtests/bench-strrchr.c: Print length instead of position.
8500 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8503 * sysdeps/unix/sysv/linux/kernel-features.h
8504 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8505 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8506 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8507 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8509 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8510 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8511 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8512 (__ASSUME_SENDMMSG): Define instead of using previous
8513 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8514 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8515 (__ASSUME_SENDMMSG_SYSCALL): Define.
8516 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8517 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8519 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8520 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8522 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8523 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8525 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8526 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8527 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8528 [__ASSUME_SENDMMSG]: Change conditionals to
8529 [__ASSUME_SENDMMSG_SOCKETCALL].
8530 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8531 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8533 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8534 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8536 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8537 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8538 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8539 [!__ASSUME_SENDMMSG]: Change conditional to
8540 [!__ASSUME_SENDMMSG_SOCKETCALL].
8541 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8542 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8546 * sysdeps/unix/sysv/linux/kernel-features.h
8547 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8548 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8549 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8550 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8551 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8552 [__i386__ || __sparc__]
8553 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8554 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8555 (__ASSUME_RECVMMSG): Define instead of using previous
8556 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8557 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8558 (__ASSUME_RECVMMSG_SYSCALL): Define.
8559 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8560 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8562 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8563 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8565 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8566 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8568 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8569 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8570 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8571 [__ASSUME_RECVMMSG]: Change condition to
8572 [__ASSUME_RECVMMSG_SOCKETCALL].
8573 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8574 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8576 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8577 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8578 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8580 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8581 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8582 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8583 [!__ASSUME_RECVMMSG]: Change condition to
8584 [!__ASSUME_RECVMMSG_SOCKETCALL].
8585 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8586 (__ASSUME_RECVMMSG_SYSCALL): Define.
8589 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8590 __powerpc__ || __s390__ || __sh__ || __sparc__]
8591 (__ASSUME_SOCKETCALL): Define.
8592 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8593 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8594 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8595 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8596 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8597 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8598 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8599 (__ASSUME_ACCEPT4): Define instead of using previous
8600 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8601 __powerpc__ || __sparc__ || __s390__)] condition.
8602 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8603 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8604 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8605 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8606 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8607 [!__ASSUME_ACCEPT4]: Change condition to
8608 [!__ASSUME_ACCEPT4_SOCKETCALL].
8609 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8610 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8611 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8612 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8613 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8614 __ASSUME_ACCEPT4_SYSCALL.
8615 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8616 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8617 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8618 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8619 __ASSUME_ACCEPT4_SYSCALL.
8620 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8621 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8622 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8623 [__ASSUME_ACCEPT4]: Change condition to
8624 [__ASSUME_ACCEPT4_SOCKETCALL].
8625 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8626 (__ASSUME_SOCKETCALL): Define.
8627 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8628 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8629 (__ASSUME_SOCKETCALL): Define.
8630 (__ASSUME_ACCEPT4): Remove.
8631 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8633 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8634 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8636 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8637 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8639 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8641 (HWCAP_ARM_LPAE): Likewise.
8642 (HWCAP_ARM_EVTSTRM): Likewise.
8643 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8644 Add vpfd32, lpae and evtstrm.
8645 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8648 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8650 * math/auto-libm-test-in: Add tests of clog10.
8651 * math/auto-libm-test-out: Regenerated.
8652 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8653 * sysdeps/i386/fpu/libm-test-ulps: Update.
8654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8656 2014-02-18 Andreas Schwab <schwab@suse.de>
8659 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8660 Store non-zero if the second buffer was newly allocated.
8661 (send_dg): Likewise.
8662 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8663 to send_vc and send_dg.
8664 (res_nsend): Pass NULL for ansp2_malloced.
8665 * resolv/res_query.c (__libc_res_nquery): Add parameter
8666 answerp2_malloced and pass it down to __libc_res_nsend.
8667 (res_nquery): Pass additional NULL to __libc_res_nquery.
8668 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8669 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8670 second answer buffer if answerp2_malloced was set.
8671 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8672 (__libc_res_nquerydomain): Add parameter
8673 answerp2_malloced and pass it down to __libc_res_nquery.
8674 (res_nquerydomain): Pass additional NULL to
8675 __libc_res_nquerydomain.
8676 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8677 additional NULL to __libc_res_nsend and __libc_res_nquery.
8678 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8679 additional NULL to __libc_res_nsearch.
8680 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8681 parameter of __libc_res_nsearch to check for separately allocated
8683 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8685 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8686 additional NULL to __libc_res_nquery.
8687 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8689 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8690 * include/resolv.h: Update prototypes of __libc_res_nquery,
8691 __libc_res_nsearch, __libc_res_nsend.
8693 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8695 * math/auto-libm-test-in: Add tests of fma.
8696 * math/auto-libm-test-out: Regenerated.
8697 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8698 (fma_towardzero_test_data): Likewise.
8699 (fma_downward_test_data): Likewise.
8700 (fma_upward_test_data): Likewise.
8701 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8703 (rounding_modes): Add values for new field.
8704 (func_calc_method): Add value mpfr_fff_f.
8705 (func_calc_desc): Add mpfr_fff_f union field.
8706 (test_function): Add field exact_args.
8707 (FUNC): Add macro argument EXACT_ARGS.
8708 (FUNC_mpfr_f_f): Update call to FUNC.
8709 (FUNC_mpfr_f_f): Likewise.
8710 (FUNC_mpfr_ff_f): Likewise.
8711 (FUNC_mpfr_if_f): Likewise.
8712 (FUNC_mpc_c_f): Likewise.
8713 (FUNC_mpc_c_c): Likewise.
8714 (test_functions): Add fma. Update calls to FUNC.
8715 (handle_input_arg): Add argument exact_args.
8716 (add_test): Update call to handle_input_arg.
8717 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8718 (output_for_one_input_case): Update call to calc_generic_results.
8719 Recalculate exact zero results in each rounding mode.
8721 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8722 non-negative before setting low bit.
8723 * math/auto-libm-test-in: Mark one asin test possibly having
8725 * math/auto-libm-test-out: Regenerated.
8726 * sysdeps/i386/fpu/libm-test-ulps: Update.
8727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8729 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8731 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8732 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8733 ports/sysdeps/unix/sysv/linux/microblaze.
8734 * README: Add missing listing for microblaze*-*-linux-gnu.
8736 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8738 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8739 * sysdeps/unix/sysv/linux/ia64: Move directory from
8740 ports/sysdeps/unix/sysv/linux/ia64.
8741 * README: Update listing for ia64-*-linux-gnu.
8743 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8744 Joseph Myers <joseph@codesourcery.com>
8746 * Makeconfig (test-name): New variable.
8747 (evaluate-test): Likewise.
8748 * Makerules (do-test-clean): Remove .test-result files.
8749 (common-mostlyclean): Likewise.
8750 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8751 * scripts/evaluate-test.sh: New file.
8753 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8755 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8756 separate $(objpfx)tst-fopenloc-cmp.out and
8757 $(objpfx)tst-fopenloc-mem.out targets.
8758 (tests): Update dependencies.
8759 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8760 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8761 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8762 (tst-rxspencer-no-utf8-ARGS): New variable.
8763 (tst-rxspencer-no-utf8-ENV): Likewise.
8764 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8765 instead of $(objpfx)tst-rxspencer-mem.
8766 ($(objpfx)tst-rxspencer-mem): Change target to
8767 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8768 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8769 * posix/tst-rxspencer-no-utf8.c: New file.
8771 * elf/Makefile ($(objpfx)order.out): Remove rule.
8772 [$(run-built-tests) = yes] (tests): Depend on
8773 $(objpfx)order-cmp.out.
8774 ($(objpfx)order-cmp.out): New rule.
8775 [$(run-built-tests) = yes] (tests): Depend on
8776 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8777 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8778 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8779 $(objpfx)tst-array5-static-cmp.out.
8780 ($(objpfx)tst-array1.out): Remove rule.
8781 ($(objpfx)tst-array1-cmp.out): New rule.
8782 ($(objpfx)tst-array1-static.out): Remove rule.
8783 ($(objpfx)tst-array1-static-cmp.out): New rule.
8784 ($(objpfx)tst-array2.out): Remove rule.
8785 ($(objpfx)tst-array2-cmp.out): New rule.
8786 ($(objpfx)tst-array3.out): Remove rule.
8787 ($(objpfx)tst-array3-cmp.out): New rule.
8788 ($(objpfx)tst-array4.out): Remove rule.
8789 ($(objpfx)tst-array4-cmp.out): New rule.
8790 ($(objpfx)tst-array5.out): Remove rule.
8791 ($(objpfx)tst-array5-cmp.out): New rule.
8792 ($(objpfx)tst-array5-static.out): Remove rule.
8793 ($(objpfx)tst-array5-static-cmp.out): New rule.
8794 [$(run-built-tests) = yes] (tests): Depend on
8795 $(objpfx)order2-cmp.out.
8796 ($(objpfx)order2.out): Remove rule.
8797 ($(objpfx)order2-cmp.out): New rule.
8798 ($(objpfx)tst-initorder.out): Remove rule.
8799 [$(run-built-tests) = yes] (tests): Depend on
8800 $(objpfx)tst-initorder-cmp.out.
8801 ($(objpfx)tst-initorder-cmp.out): New rule.
8802 ($(objpfx)tst-initorder2.out): Remove rule.
8803 [$(run-built-tests) = yes] (tests): Depend on
8804 $(objpfx)tst-initorder2-cmp.out.
8805 ($(objpfx)tst-initorder2-cmp.out): New rule.
8806 [$(run-built-tests) = yes] (tests): Depend on
8807 $(objpfx)tst-unused-dep-cmp.out.
8808 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8809 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8810 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8811 on $(objpfx)tst-setvbuf1-cmp.out.
8812 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8813 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8814 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8815 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8816 ($(objpfx)tst-svc.out): Remove rule.
8817 ($(objpfx)tst-svc-cmp.out): New rule.
8819 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8821 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8822 * ctype/ctype.h [__USE_MISC]: Likewise.
8823 * dirent/dirent.h [__USE_MISC]: Likewise.
8824 * grp/grp.h [__USE_MISC]: Likewise.
8825 * io/fcntl.h [__USE_MISC]: Likewise.
8826 * io/sys/stat.h [__USE_MISC]: Likewise.
8827 * libio/stdio.h [__USE_MISC]: Likewise.
8828 * posix/unistd.h [__USE_MISC]: Likewise.
8829 * pwd/pwd.h [__USE_MISC]: Likewise.
8830 * stdlib.h [__USE_MISC]: Likewise.
8831 * string/bits/string2.h [__USE_MISC]: Likewise.
8832 * string/string.h [__USE_MISC]: Likewise.
8833 * time/time.h [__USE_MISC]: Likewise.
8835 2014-02-13 Andreas Schwab <schwab@suse.de>
8838 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8839 second answer buffer if it was separately allocated.
8841 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8843 * sysdeps/mips/math-tests.h: Include <features.h>.
8844 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8845 (ROUNDING_TESTS_long_double): Do not define.
8846 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8847 (EXCEPTION_TESTS_long_double): Likewise.
8848 * sysdeps/mips/mips64/libm-test-ulps: Update.
8850 * include/features.h (__USE_BSD): Remove macro definitions.
8851 (__USE_SVID): Likewise.
8852 (_BSD_SOURCE): Likewise.
8853 (_SVID_SOURCE): Likewise.
8854 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8855 from definition of _DEFAULT_SOURCE.
8856 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8858 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8859 * bits/mman.h [__USE_BSD]: Likewise.
8860 * bits/termios.h [__USE_BSD]: Likewise.
8861 * bits/waitstatus.h [__USE_BSD]: Likewise.
8862 * ctype/ctype.h [__USE_SVID]: Likewise.
8863 * dirent/dirent.h [__USE_BSD]: Likewise.
8864 * grp/grp.h [__USE_SVID]: Likewise.
8865 [__USE_BSD]: Likewise.
8866 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8867 * io/fcntl.h [__USE_BSD]: Likewise.
8868 * io/ftw.h [__USE_BSD]: Likewise.
8869 * io/sys/stat.h [__USE_BSD]: Likewise.
8870 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8871 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8872 * libio/stdio.h [__USE_SVID]: Likewise.
8873 [__USE_BSD]: Likewise.
8874 * math/math.h [__USE_SVID]: Likewise.
8875 [__USE_BSD]: Likewise.
8876 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8877 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8878 * misc/search.h [__USE_SVID]: Likewise.
8879 * misc/sys/mman.h [__USE_BSD]: Likewise.
8880 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8881 * misc/sys/uio.h [__USE_BSD]: Likewise.
8882 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8883 * posix/glob.h [__USE_BSD]: Likewise.
8884 * posix/regex.h [__USE_BSD]: Likewise.
8885 * posix/sys/types.h [__USE_BSD]: Likewise.
8886 [__USE_SVID]: Likewise.
8887 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8888 * posix/sys/wait.h [__USE_BSD]: Likewise.
8889 [__USE_SVID]: Likewise.
8890 * posix/unistd.h [__USE_BSD]: Likewise.
8891 [__USE_SVID]: Likewise.
8892 * pwd/pwd.h [__USE_SVID]: Likewise.
8893 * resolv/netdb.h [__USE_BSD]: Likewise.
8894 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8895 * signal/signal.h [__USE_BSD]: Likewise.
8896 [__USE_SVID]: Likewise.
8897 * socket/sys/socket.h [__USE_BSD]: Likewise.
8898 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8899 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8900 [__USE_SVID]: Likewise.
8901 * string/bits/string2.h [__USE_BSD]: Likewise.
8902 [__USE_SVID]: Likewise.
8903 * string/bits/string3.h [__USE_BSD]: Likewise.
8904 * string/endian.h [__USE_BSD]: Likewise.
8905 * string/string.h [__USE_SVID]: Likewise.
8906 [__USE_BSD]: Likewise.
8907 * string/strings.h [__USE_BSD]: Likewise.
8908 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8909 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8910 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8911 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8912 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8913 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8915 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8917 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8918 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8920 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8921 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8923 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8925 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8926 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8927 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8929 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8931 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8932 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8933 * termios/termios.h [__USE_BSD]: Likewise.
8934 * time/sys/time.h [__USE_BSD]: Likewise.
8935 * time/time.h [__USE_BSD]: Likewise.
8936 [__USE_SVID]: Likewise.
8938 * Makefile (subdir_targets): Remove subdir_lint.out.
8940 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8941 (do-tst-printf): Likewise.
8942 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8943 $(objpfx)tst-printf.out.
8945 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8947 * Makerules (check-abi-%): Change target to
8948 $(objpfx)check-abi-%.out.
8949 (check-abi target): Update dependencies.
8950 (check-abi-pattern variable): Redirect output of diff to $@.
8951 (check-abi variable): Likewise.
8952 * elf/Makefile (check-abi): Update dependencies.
8954 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8956 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8957 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8959 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8960 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8961 value has largest subnormal exponent.
8962 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8963 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8964 * sysdeps/aarch64/soft-fp/sfp-machine.h
8965 (_FP_TININESS_AFTER_ROUNDING): New macro.
8966 * sysdeps/alpha/soft-fp/sfp-machine.h
8967 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8968 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8970 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8971 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8972 * sysdeps/mips/soft-fp/sfp-machine.h
8973 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8974 * sysdeps/powerpc/soft-fp/sfp-machine.h
8975 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8976 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8978 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8979 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8980 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8981 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8982 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8985 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8988 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8991 2014-02-12 Richard Henderson <rth@redhat.com>
8993 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8994 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8995 * sysdeps/unix/sysv/linux/alpha: Move directory from
8996 ports/sysdeps/unix/sysv/linux/alpha.
8997 * README: Update listing for alpha-*-linux-gnu.
8999 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9001 * include/features.h: Update comment documenting feature test
9003 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9005 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9006 (_SVID_SOURCE): Likewise.
9007 (_DEFAULT_SOURCE): Update description of default features.
9008 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9010 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9011 (S_ISVTX): Likewise.
9012 * manual/math.texi (Mathematical Constants): Likewise.
9013 * manual/signal.texi (Interrupted Primitives): Likewise.
9014 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9015 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9016 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9017 Don't refer to _SVID_SOURCE in warning text.
9019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9021 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9023 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9024 * sysdeps/mips/dl-lookup.c: Remove.
9025 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9027 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9030 * math/auto-libm-test-in: Add testcase for expl.
9031 * math/auto-libm-test-out: Regenerate.
9032 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9033 calculation of unsafe.
9034 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9036 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9038 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9039 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9040 ports/sysdeps/unix/sysv/linux/aarch64.
9041 * README: Update listing for aarch64*-*-linux-gnu.
9043 2014-02-11 Will Newton <will.newton@linaro.org>
9045 * manual/probes.texi (Mathematical Function Probes): Use
9046 "triggered" instead of "hit".
9048 * manual/probes.texi (Internal Probes): Add documentation
9049 of setjmp, longjmp and longjmp_target probes.
9051 * include/stap-probe.h: Add comment about probe argument
9054 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9055 definition. (tr_where, tr_freehook, tr_mallochook,
9056 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9058 2014-02-11 David S. Miller <davem@davemloft.net>
9060 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9061 processing int_tests.
9063 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9065 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9066 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9067 * sysdeps/unix/sysv/linux/mips: Move directory from
9068 ports/sysdeps/unix/sysv/linux/mips.
9069 * README: Update listing for mips-*-linux-gnu and
9072 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9074 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9075 * sysdeps/unix/sysv/linux/m68k: Move directory from
9076 ports/sysdeps/unix/sysv/linux/m68k.
9077 * README: Update listing for m68k-*-linux-gnu.
9079 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9081 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9082 * sysdeps/unix/sysv/linux/generic: Move directory from
9083 ports/sysdeps/unix/sysv/linux/generic.
9084 * sysdeps/unix/sysv/linux/tile: Move directory from
9085 ports/sysdeps/unix/sysv/linux/tile.
9086 * README: Update listing for tile*-*-linux-gnu.
9088 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9090 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9092 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9093 * catgets/open_catalog.c (__open_catalog): Likewise.
9094 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9095 * debug/confstr_chk.c: Likewise.
9096 * debug/fread_chk.c (__fread_chk): Likewise.
9097 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9098 * debug/getgroups_chk.c: Likewise.
9099 * debug/mbsnrtowcs_chk.c: Likewise.
9100 * debug/mbsrtowcs_chk.c: Likewise.
9101 * debug/mbstowcs_chk.c: Likewise.
9102 * debug/memcpy_chk.c: Likewise.
9103 * debug/memmove_chk.c: Likewise.
9104 * debug/mempcpy_chk.c: Likewise.
9105 * debug/memset_chk.c: Likewise.
9106 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9107 * debug/strcat_chk.c (__strcat_chk): Likewise.
9108 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9109 * debug/strncat_chk.c (__strncat_chk): Likewise.
9110 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9111 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9112 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9113 * debug/wcpncpy_chk.c: Likewise.
9114 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9115 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9116 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9117 * debug/wcsncpy_chk.c: Likewise.
9118 * debug/wcsnrtombs_chk.c: Likewise.
9119 * debug/wcsrtombs_chk.c: Likewise.
9120 * debug/wcstombs_chk.c: Likewise.
9121 * debug/wmemcpy_chk.c: Likewise.
9122 * debug/wmemmove_chk.c: Likewise.
9123 * debug/wmempcpy_chk.c: Likewise.
9124 * debug/wmemset_chk.c: Likewise.
9125 * dirent/scandirat.c (SCANDIRAT): Likewise.
9126 * dlfcn/dladdr1.c (dladdr1): Likewise.
9127 * dlfcn/dladdr.c (dladdr): Likewise.
9128 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9129 * dlfcn/dlerror.c (__dlerror): Likewise.
9130 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9131 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9132 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9133 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9134 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9135 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9136 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9137 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9139 * elf/dl-conflict.c: Likewise.
9140 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9141 * elf/dl-dst.h: Likewise.
9142 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9143 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9144 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9145 * elf/dl-init.c (call_init, _dl_init): Likewise.
9146 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9147 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9148 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9150 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9152 * elf/dl-minimal.c (__libc_memalign): Likewise.
9153 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9154 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9155 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9156 * elf/dl-sym.c (do_sym): Likewise.
9157 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9158 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9159 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9160 * elf/dl-writev.h (_dl_writev): Likewise.
9161 * elf/ldconfig.c (search_dir): Likewise.
9162 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9163 (dl_main): Likewise.
9164 * elf/setup-vdso.h (setup_vdso): Likewise.
9165 * grp/compat-initgroups.c (compat_call): Likewise.
9166 * grp/fgetgrent.c (fgetgrent): Likewise.
9167 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9168 * grp/putgrent.c (putgrent): Likewise.
9169 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9171 * hurd/hurdinit.c: Likewise.
9172 * iconvdata/8bit-gap.c (struct): Likewise.
9173 * iconvdata/ansi_x3.110.c : Likewise.
9174 * iconvdata/big5.c : Likewise.
9175 * iconvdata/big5hkscs.c : Likewise.
9176 * iconvdata/cp1255.c: Likewise.
9177 * iconvdata/cp1258.c : Likewise.
9178 * iconvdata/cp932.c : Likewise.
9179 * iconvdata/euc-cn.c: Likewise.
9180 * iconvdata/euc-jisx0213.c : Likewise.
9181 * iconvdata/euc-jp.c: Likewise.
9182 * iconvdata/euc-jp-ms.c : Likewise.
9183 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9184 * iconvdata/gb18030.c : Likewise.
9185 * iconvdata/gbbig5.c (const): Likewise.
9186 * iconvdata/gbgbk.c: Likewise.
9187 * iconvdata/gbk.c : Likewise.
9188 * iconvdata/ibm1364.c : Likewise.
9189 * iconvdata/ibm930.c : Likewise.
9190 * iconvdata/ibm932.c: Likewise.
9191 * iconvdata/ibm933.c : Likewise.
9192 * iconvdata/ibm935.c : Likewise.
9193 * iconvdata/ibm937.c : Likewise.
9194 * iconvdata/ibm939.c : Likewise.
9195 * iconvdata/ibm943.c: Likewise.
9196 * iconvdata/iso_11548-1.c: Likewise.
9197 * iconvdata/iso-2022-cn.c : Likewise.
9198 * iconvdata/iso-2022-cn-ext.c : Likewise.
9199 * iconvdata/iso-2022-jp-3.c: Likewise.
9200 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9201 * iconvdata/iso-2022-kr.c : Likewise.
9202 * iconvdata/iso646.c (gconv_end): Likewise.
9203 * iconvdata/iso_6937-2.c : Likewise.
9204 * iconvdata/iso_6937.c : Likewise.
9205 * iconvdata/iso8859-1.c: Likewise.
9206 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9207 * iconvdata/shift_jisx0213.c : Likewise.
9208 * iconvdata/sjis.c : Likewise.
9209 * iconvdata/t.61.c : Likewise.
9210 * iconvdata/tcvn5712-1.c : Likewise.
9211 * iconvdata/tscii.c: Likewise.
9212 * iconvdata/uhc.c : Likewise.
9213 * iconvdata/unicode.c (gconv_end): Likewise.
9214 * iconvdata/utf-16.c (gconv_end): Likewise.
9215 * iconvdata/utf-32.c (gconv_end): Likewise.
9216 * iconvdata/utf-7.c (base64): Likewise.
9217 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9218 * iconv/gconv_close.c (__gconv_close): Likewise.
9219 * iconv/gconv_open.c (__gconv_open): Likewise.
9220 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9221 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9222 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9223 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9224 (ucs4le_internal_loop_single): Likewise.
9225 * iconv/iconv.c (iconv): Likewise.
9226 * iconv/iconv_close.c: Likewise.
9227 * iconv/loop.c (SINGLE): Likewise.
9228 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9229 * include/atomic.h: Likewise.
9230 * inet/inet6_option.c (option_alloc): Likewise.
9231 * intl/bindtextdom.c (set_binding_values): Likewise.
9232 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9233 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9234 * intl/localealias.c (read_alias_file): Likewise.
9235 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9236 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9237 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9238 * libio/fmemopen.c (fmemopen): Likewise.
9239 * libio/iofgets.c (_IO_fgets): Likewise.
9240 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9241 * libio/iofgetws.c (fgetws): Likewise.
9242 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9243 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9244 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9245 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9246 * locale/findlocale.c (_nl_find_locale): Likewise.
9247 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9248 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9250 * locale/setlocale.c (setlocale): Likewise.
9251 * login/programs/pt_chown.c (main): Likewise.
9252 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9253 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9254 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9255 (mmap, mmap64, mremap, munmap): Likewise.
9256 * math/e_exp2l.c: Likewise.
9257 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9258 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9259 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9260 * math/s_catan.c (__catan): Likewise.
9261 * math/s_catanf.c (__catanf): Likewise.
9262 * math/s_catanh.c (__catanh): Likewise.
9263 * math/s_catanhf.c (__catanhf): Likewise.
9264 * math/s_catanhl.c (__catanhl): Likewise.
9265 * math/s_catanl.c (__catanl): Likewise.
9266 * math/s_ccosh.c (__ccosh): Likewise.
9267 * math/s_ccoshf.c (__ccoshf): Likewise.
9268 * math/s_ccoshl.c (__ccoshl): Likewise.
9269 * math/s_cexp.c (__cexp): Likewise.
9270 * math/s_cexpf.c (__cexpf): Likewise.
9271 * math/s_cexpl.c (__cexpl): Likewise.
9272 * math/s_clog10.c (__clog10): Likewise.
9273 * math/s_clog10f.c (__clog10f): Likewise.
9274 * math/s_clog10l.c (__clog10l): Likewise.
9275 * math/s_clog.c (__clog): Likewise.
9276 * math/s_clogf.c (__clogf): Likewise.
9277 * math/s_clogl.c (__clogl): Likewise.
9278 * math/s_csin.c (__csin): Likewise.
9279 * math/s_csinf.c (__csinf): Likewise.
9280 * math/s_csinh.c (__csinh): Likewise.
9281 * math/s_csinhf.c (__csinhf): Likewise.
9282 * math/s_csinhl.c (__csinhl): Likewise.
9283 * math/s_csinl.c (__csinl): Likewise.
9284 * math/s_csqrt.c (__csqrt): Likewise.
9285 * math/s_csqrtf.c (__csqrtf): Likewise.
9286 * math/s_csqrtl.c (__csqrtl): Likewise.
9287 * math/s_ctan.c (__ctan): Likewise.
9288 * math/s_ctanf.c (__ctanf): Likewise.
9289 * math/s_ctanh.c (__ctanh): Likewise.
9290 * math/s_ctanhf.c (__ctanhf): Likewise.
9291 * math/s_ctanhl.c (__ctanhl): Likewise.
9292 * math/s_ctanl.c (__ctanl): Likewise.
9293 * math/w_pow.c: Likewise.
9294 * math/w_powf.c: Likewise.
9295 * math/w_powl.c: Likewise.
9296 * math/w_scalb.c (sysv_scalb): Likewise.
9297 * math/w_scalbf.c (sysv_scalbf): Likewise.
9298 * math/w_scalbl.c (sysv_scalbl): Likewise.
9299 * misc/error.c (error_tail): Likewise.
9300 * misc/pselect.c (__pselect): Likewise.
9301 * nis/nis_callback.c (__nis_create_callback): Likewise.
9302 * nis/nis_call.c (__nisfind_server): Likewise.
9303 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9304 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9305 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9306 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9307 * nis/nis_lookup.c (nis_lookup): Likewise.
9308 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9309 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9310 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9311 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9312 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9313 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9314 * nis/nss_compat/compat-initgroups.c (add_group)
9315 (internal_getgrent_r): Likewise.
9316 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9317 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9318 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9319 (internal_getspnam_r): Likewise.
9320 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9321 (_nss_nis_getaliasbyname_r): Likewise.
9322 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9323 (_nss_nis_getntohost_r): Likewise.
9324 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9325 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9326 (_nss_nis_getgrgid_r): Likewise.
9327 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9328 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9329 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9330 (_nss_nis_gethostbyname4_r): Likewise.
9331 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9332 (initgroups_netid): Likewise.
9333 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9334 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9335 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9336 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9337 (_nss_nis_getprotobynumber_r): Likewise.
9338 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9339 (_nss_nis_getsecretkey): Likewise.
9340 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9341 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9342 (_nss_nis_getpwuid_r): Likewise.
9343 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9344 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9345 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9346 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9347 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9348 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9349 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9351 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9352 (_nss_nisplus_getntohost_r): Likewise.
9353 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9354 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9355 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9356 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9358 * nis/nss_nisplus/nisplus-initgroups.c
9359 (_nss_nisplus_initgroups_dyn): Likewise.
9360 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9361 (_nss_nisplus_getnetbyaddr_r): Likewise.
9362 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9363 (_nss_nisplus_getprotobynumber_r): Likewise.
9364 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9365 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9366 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9368 * nis/nss_nisplus/nisplus-service.c
9369 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9370 (_nss_nisplus_getservbyport_r): Likewise.
9371 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9372 (_nss_nisplus_getspnam_r): Likewise.
9373 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9375 * nscd/aicache.c (addhstaiX): Likewise.
9376 * nscd/cache.c (cache_search, prune_cache): Likewise.
9377 * nscd/connections.c (register_traced_file, send_ro_fd)
9378 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9379 (main_loop_epoll): Likewise.
9380 * nscd/grpcache.c (addgrbyX): Likewise.
9381 * nscd/hstcache.c (addhstbyX): Likewise.
9382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9383 * nscd/mem.c (gc, mempool_alloc): Likewise.
9384 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9385 (addinnetgrX): Likewise.
9386 * nscd/nscd-client.h (__nscd_acquire_maplock)
9387 (__nscd_drop_map_ref): Likewise.
9388 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9389 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9390 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9392 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9393 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9394 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9395 (__nscd_get_map_ref): Likewise.
9396 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9397 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9399 * nscd/pwdcache.c (addpwbyX): Likewise.
9400 * nscd/selinux.c (preserve_capabilities): Likewise.
9401 * nscd/servicescache.c (addservbyX): Likewise.
9402 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9403 * posix/fnmatch.c (fnmatch): Likewise.
9404 * posix/getopt.c (_getopt_internal_r): Likewise.
9405 * posix/glob.c (glob, glob_in_dir): Likewise.
9406 * posix/wordexp.c (exec_comm_child): Likewise.
9407 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9408 (getanswer_r, gaih_getanswer_slice): Likewise.
9409 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9410 * resolv/res_init.c: Likewise.
9411 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9412 * resolv/res_query.c (__libc_res_nquery): Likewise.
9413 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9415 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9416 * stdio-common/perror.c (perror): Likewise.
9417 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9418 * stdio-common/tmpnam.c (tmpnam): Likewise.
9419 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9420 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9421 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9423 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9424 * stdlib/putenv.c (putenv): Likewise.
9425 * stdlib/setenv.c (__add_to_environ): Likewise.
9426 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9427 * stdlib/strtol_l.c (INTERNAL): Likewise.
9428 * string/memmem.c (memmem): Likewise.
9429 * string/strerror.c (strerror): Likewise.
9430 * string/strnlen.c (__strnlen): Likewise.
9431 * string/test-memmem.c (simple_memmem): Likewise.
9432 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9433 * sunrpc/pm_getport.c (__get_socket): Likewise.
9434 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9435 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9436 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9437 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9439 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9440 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9441 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9442 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9443 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9444 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9446 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9448 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9449 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9450 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9451 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9452 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9454 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9455 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9456 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9457 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9458 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9459 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9461 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9463 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9465 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9466 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9467 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9468 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9469 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9470 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9471 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9472 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9473 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9474 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9475 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9476 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9477 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9478 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9480 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9482 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9484 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9486 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9488 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9489 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9490 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9492 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9493 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9494 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9495 * sysdeps/posix/sleep.c: Likewise.
9496 * sysdeps/posix/tempname.c: Likewise.
9497 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9498 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9500 * sysdeps/powerpc/powerpc32/dl-machine.h
9501 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9502 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9504 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9505 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9507 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9508 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9509 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9510 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9511 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9512 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9513 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9514 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9515 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9516 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9517 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9518 (elf_machine_lazy_rel): Likewise.
9519 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9520 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9521 (elf_machine_lazy_rel): Likewise.
9522 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9523 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9524 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9525 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9526 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9527 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9528 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9529 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9531 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9532 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9533 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9534 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9535 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9536 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9537 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9538 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9539 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9540 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9541 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9543 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9544 (__posix_fallocate64_l64): Likewise.
9545 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9546 (posix_fallocate): Likewise.
9547 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9549 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9550 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9551 (getifaddrs_internal): Likewise.
9552 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9553 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9554 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9555 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9556 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9557 (__posix_fallocate64_l64): Likewise.
9558 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9560 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9561 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9562 (__get_clockfreq): Likewise.
9563 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9564 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9565 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9566 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9567 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9568 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9569 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9570 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9572 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9573 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9574 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9575 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9576 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9577 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9578 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9580 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9581 (posix_fallocate): Likewise.
9582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9583 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9584 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9585 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9586 (elf_machine_rela, elf_machine_rela_relative)
9587 (elf_machine_lazy_rel): Likewise.
9588 * time/asctime.c (asctime_internal): Likewise.
9589 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9590 * time/tzset.c (__tzset_parse_tz): Likewise.
9591 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9592 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9593 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9594 * wcsmbs/wcsmbsload.h: Likewise.
9597 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9599 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9600 (arena_get2): Remove THREAD_STATS conditionals.
9601 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9602 (__malloc_stats, int): Likewise.
9604 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9606 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9607 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9609 * manual/setjmp.texi: Fix typos/grammar errors.
9611 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9612 Only return early when n is <= 0. Delete unused return statement.
9614 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9615 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9616 * debug/tst-longjmp_chk3.c: New file.
9618 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9619 (test_main): Replace code with set_fortify_handler call.
9620 * debug/test-strcpy_chk.c: Likewise.
9621 * debug/tst-chk1.c: Likewise.
9622 * debug/tst-longjmp_chk.c: Likewise.
9623 * test-skeleton.c: Include fcntl.h & paths.h
9624 (set_fortify_handler): Define.
9626 * debug/tst-longjmp_chk.c: Add header comment and include
9628 (do_test): Mark static.
9629 (TEST_FUNCTION): Define.
9631 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9632 (IP_PMTUDISC_INTERFACE): Likewise.
9633 (IP_MULTICAST_IF): Likewise.
9634 (IP_MULTICAST_TTL): Likewise.
9635 (IP_MULTICAST_LOOP): Likewise.
9636 (IP_ADD_MEMBERSHIP): Likewise.
9637 (IP_DROP_MEMBERSHIP): Likewise.
9638 (IP_UNBLOCK_SOURCE): Likewise.
9639 (IP_BLOCK_SOURCE): Likewise.
9640 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9641 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9642 (IP_MSFILTER): Likewise.
9643 (MCAST_JOIN_GROUP): Likewise.
9644 (MCAST_BLOCK_SOURCE): Likewise.
9645 (MCAST_UNBLOCK_SOURCE): Likewise.
9646 (MCAST_LEAVE_GROUP): Likewise.
9647 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9648 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9649 (MCAST_MSFILTER): Likewise.
9650 (IP_MULTICAST_ALL): Likewise.
9651 (IP_UNICAST_IF): Likewise.
9653 * timezone/Makefile: Delete $(have-ksh) check.
9654 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9655 * timezone/tzselect.ksh: Add +x mode bits.
9657 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9658 (ANON_INODE_FS_MAGIC): Likewise.
9659 (BDEVFS_MAGIC): Likewise.
9660 (BINFMTFS_MAGIC): Likewise.
9661 (BTRFS_TEST_MAGIC): Likewise.
9662 (CRAMFS_MAGIC_WEND): Likewise.
9663 (DEBUGFS_MAGIC): Likewise.
9664 (ECRYPTFS_SUPER_MAGIC): Likewise.
9665 (EXT3_SUPER_MAGIC): Likewise.
9666 (EXT4_SUPER_MAGIC): Likewise.
9667 (FUTEXFS_SUPER_MAGIC): Likewise.
9668 (HOSTFS_SUPER_MAGIC): Likewise.
9669 (HUGETLBFS_MAGIC): Likewise.
9670 (MINIX3_SUPER_MAGIC): Likewise.
9671 (MTD_INODE_FS_MAGIC): Likewise.
9672 (NILFS_SUPER_MAGIC): Likewise.
9673 (OPENPROM_SUPER_MAGIC): Likewise.
9674 (PIPEFS_MAGIC): Likewise.
9675 (PSTOREFS_MAGIC): Likewise.
9676 (QNX6_SUPER_MAGIC): Likewise.
9677 (RAMFS_MAGIC): Likewise.
9678 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9679 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9680 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9681 (SECURITYFS_MAGIC): Likewise.
9682 (SELINUX_MAGIC): Likewise.
9683 (SMACK_MAGIC): Likewise.
9684 (SOCKFS_MAGIC): Likewise.
9685 (SQUASHFS_MAGIC): Likewise.
9686 (STACK_END_MAGIC): Likewise.
9687 (TMPFS_MAGIC): Likewise.
9688 (USBDEVICE_SUPER_MAGIC): Likewise.
9689 (V9FS_MAGIC): Likewise.
9690 (XENFS_SUPER_MAGIC): Likewise.
9691 (CRAMFS_MAGIC): Fix typo in comment.
9692 (EXT2_SUPER_MAGIC): Update comment.
9693 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9695 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9697 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9698 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9699 * sysdeps/unix/sysv/linux/arm: Move directory from
9700 ports/sysdeps/unix/sysv/linux/arm.
9701 * README: Update listing for arm-*-linux-gnueabi.
9703 * README: Remove mention of am33.
9705 2014-02-07 Roland McGrath <roland@hack.frob.com>
9707 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9708 than the comma operator, to avoid "rhs of comma has no effect"
9710 (__sigfillset, __sigandset, __sigorset): Likewise.
9711 * include/signal.h (__sigemptyset): Likewise.
9712 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9714 2014-02-07 Allan McRae <allan@archlinux.org>
9716 * version.h (RELEASE): Set to "development".
9717 (VERSION): Set to "2.19.90"
9718 * NEWS: Add 2.20 section.
9720 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9723 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9725 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9727 * manual/contrib.texi: Update entry for Carlos O'Donell,
9728 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9730 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9732 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9734 * sysdeps/unix/sysv/linux/kernel-features.h
9735 [__LINUX_KERNEL_VERSION >= 0x020621]
9736 (__ASSUME_PROC_PID_TASK_COMM): Define.
9738 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9741 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9742 conversion when destination buffer does not have enough space.
9743 * libio/tst-ftell-partial-wide.c: New test case.
9744 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9746 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9747 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9748 Leonard and Allan McRae.
9750 2014-02-04 David S. Miller <davem@davemloft.net>
9752 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9755 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9784 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9786 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9787 * shlib-versions: Likewise.
9789 2014-02-04 Roland McGrath <roland@hack.frob.com>
9790 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9792 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9793 (abilist-pattern): New variable, set to %-le.abilist.
9795 * Makerules (abilist-pattern): New variable.
9796 (vpath): Use $(abilist-pattern) in place of %.abilist.
9797 (check-abi-% pattern rule): Likewise.
9798 (check-abi, update-abi): Likewise.
9800 2014-02-04 Eric Wong <normalperson@yhbt.net>
9802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9804 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9806 * manual/startup.texi: Add next, previous, and top entries for
9807 the `Program Arguments' and `Environment Variables' nodes.
9809 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9811 * manual/macros.texi: Add comments before MTASC-safety macros.
9813 * manual/users.texi: Document MTASC-safety properties.
9815 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9816 (pthread_getspecific, pthread_setspecific): Format with
9817 @deftypefun, and add @safety note.
9818 * manual/signal.texi: Move comments that analyze the above
9819 functions to their home place.
9821 2014-02-03 Allan McRae <allan@archlinux.org>
9823 * po/sl.po: Update Slovenian translation from translation project.
9825 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9827 * manual/time.texi (timegm): Add missing blank after @c.
9828 Reported by Joseph Myers <joseph@codesourcery.com>.
9830 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9832 * manual/check-safety.sh: New.
9833 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9835 * manual/terminal.texi: Document MTASC-safety properties.
9837 * manual/filesys.texi: Document MTASC-safety properties.
9839 * manual/errno.texi: Document MTASC-safety properties.
9841 * manual/intro.texi: Document safety identifiers and
9844 * manual/string.texi (wcstok): Fix prototype.
9845 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9847 * manual/time.texi: Document MTASC-safety properties.
9849 * manual/string.texi: Document MTASC-safety properties.
9851 * manual/threads.texi: Document MTASC-safety properties.
9853 * manual/stdio.texi: Document MTASC-safety properties.
9855 * manual/syslog.texi: Document MTASC-safety properties.
9857 * manual/sysinfo.texi: Document MTASC-safety properties.
9859 * manual/startup.texi: Document MTASC-safety properties.
9861 * manual/socket.texi: Document MTASC-safety properties.
9863 * manual/signal.texi: Document MTASC-safety properties.
9865 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9867 * manual/setjmp.texi: Document MTASC-safety properties.
9869 * manual/search.texi: Document MTASC-safety properties.
9871 * manual/resource.texi: Document MTASC-safety properties.
9873 * manual/process.texi: Document MTASC-safety properties.
9875 * manual/platform.texi: Document MTASC-safety properties.
9877 * manual/pipe.texi: Document MTASC-safety properties.
9879 * manual/pattern.texi: Document MTASC-safety properties.
9881 * manual/message.texi: Document MTASC-safety properties.
9884 * manual/memory.texi: Document MTASC-safety properties.
9886 * manual/math.texi: Document MTASC-safety properties.
9888 * manual/locale.texi: Document MTASC-safety properties.
9890 * manual/llio.texi: Document MTASC-safety properties.
9892 * manual/libdl.texi: New.
9894 * manual/lang.texi: Document MTASC-safety properties.
9896 * manual/job.texi: Document MTASC-safety properties.
9898 * manual/getopt.texi: Document MTASC-safety properties.
9900 * manual/ctype.texi: Document MTASC-safety properties.
9902 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9905 * csu/libc-tls.c (static_map): Remove variable.
9906 (__libc_setup_tls): Use main executable's link map for TLS data.
9907 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9908 casing for LM_ID_BASE and GL(dl_nns).
9909 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9910 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9911 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9912 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9913 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9915 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9918 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9920 * manual/debug.texi: Document MTASC-safety properties.
9922 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9925 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9926 of __x86_64__ when disabling x87 inline functions.
9928 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9930 * manual/charset.texi: Document MTASC-safety properties.
9932 * manual/crypt.texi: Document MTASC-safety properties.
9934 * manual/conf.texi: Document MTASC-safety properties.
9936 * manual/arith.texi: Document MTASC-safety properties.
9938 * manual/argp.texi: Document MTASC-safety properties.
9940 * manual/macros.texi: Introduce macros to document multi
9941 thread, asynchronous signal and asynchronous cancellation
9943 * manual/intro.texi: Introduce the properties themselves.
9945 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9947 * sysdeps/sh/sh4/Makefile: New file.
9949 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9951 * math/gen-libm-test.pl ($srcdir): New variable.
9952 ($auto_input): Use it.
9954 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9957 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9958 access beyond array bounds when parsing netgroups file.
9960 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9961 the old buffer before realloc.
9963 2014-01-27 Allan McRae <allan@archlinux.org>
9965 * po/fr.po: Update French translation from translation project.
9967 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9969 * sysdeps/sh/libm-test-ulps: Regenerate.
9971 2014-01-24 David S. Miller <davem@davemloft.net>
9973 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9975 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9977 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9978 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9980 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9983 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9984 string pointers after reallocation.
9986 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9988 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9989 __SH4A__ instead of __SH_FPU_ANY__.
9991 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9993 * sysdeps/sh/fpu_control.h: New file.
9994 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9995 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9996 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9997 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9998 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9999 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10000 * sysdeps/sh/sys/ucontext.h: Remove.
10001 * sysdeps/sh/sys: Remove directory.
10003 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10005 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10006 s390/sys/ucontext.h.
10007 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10008 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10010 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10013 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10015 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10018 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10019 Adjust the vDSO correctly for internal calls.
10020 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10022 2014-01-20 Allan McRae <allan@archlinux.org>
10024 * po/ca.po: Update Catalan translation from translation project.
10026 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10028 * sysdeps/s390/sotruss-lib.c: New file.
10030 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10033 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10034 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10035 local calls issues by not having a PLT stub required for IFUNC calls.
10036 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10038 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10040 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10041 * math/test-fpucw-static.c: Likewise.
10043 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10046 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10048 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10050 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10051 implementation for powerpc.
10053 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10056 * sysdeps/posix/system.c (__libc_system): Do not enable
10057 asynchronous cancellation.
10059 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10062 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10063 handling only for numbers special also in the IEEE case.
10065 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10067 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10069 2014-01-11 Allan McRae <allan@archlinux.org>
10071 * po/bg.po: Update Bulgarian translation from translation project.
10073 * po/de.po: Update German translation from translation project.
10075 2014-01-10 Roland McGrath <roland@hack.frob.com>
10077 * sysdeps/generic/gcc-compat.h: New file.
10079 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10081 * benchtests/asin-inputs: Correct slow inputs.
10082 * benchtests/acos-inputs: Likewise.
10084 2014-01-10 Allan McRae <allan@archlinux.org>
10086 * po:sv.po: Update Swedish translation from translation project.
10088 * po/vi.po: Update Vietnamese translation from translation project.
10090 * po/eo.po: Update Esperanto translation from translation project.
10092 * po/cs.po: Update Czech translation from translation project.
10094 * po/nl.po: Update Dutch translation from translation project.
10096 * po/pl.po: Update Polish translation from translation project.
10098 * po/ru.po: Update Russian translation from translation project.
10100 * po/uk.po: Update Ukrainian translation from translation project.
10102 2014-01-08 Brooks Moses <bmoses@google.com>
10104 * elf/dl-load.c: Fix comment typo.
10106 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10108 * po/header.pot: Rename to...
10109 * po/pot.header: ... this.
10110 * po/Makefile: Use pot.header.
10112 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10113 Maxim Kuvyrkov <maxim@kugelworks.com>
10116 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10117 SRC and DEST against LEN.
10119 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10122 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10124 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10126 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10130 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10133 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10134 for large positive arguments.
10136 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10138 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10140 * math/auto-libm-test-in: Mark various tests with
10141 xfail-rounding:ldbl-128ibm.
10142 * math/auto-libm-test-out: Regenerated.
10145 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10146 Increase overflow threshold.
10148 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10151 * stdio-common/vfprintf.c: Check for integer overflow.
10153 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10155 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10156 the first argument and return value of __tls_get_addr_internal.
10158 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10160 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10161 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10163 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10165 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10166 * sysdeps/s390/rtld-global-offsets.sym: New file.
10167 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10169 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10170 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10171 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10173 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10174 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10180 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10181 halfs of GPRs for high_gprs contexts.
10182 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10183 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10185 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10187 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10189 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10190 for high GPRs (uc_high_gprs) and for future extensions
10192 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10193 for future extensions (__reserved).
10194 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10196 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10197 SC_HIGHGPRS offset definition.
10198 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10199 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10201 * Versions.def: Add GLIBC_2.19 for libpthread.
10202 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10203 siglongjmp for libpthread with GLIBC_2.19 symver.
10204 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10205 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10206 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10207 * sysdeps/s390/__longjmp.c: New file.
10208 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10209 * sysdeps/s390/longjmp.c: New file.
10210 * sysdeps/s390/setjmp.S: New file.
10211 * sysdeps/s390/sigjmp.S: New file.
10212 * sysdeps/s390/v1-longjmp.c: New file.
10213 * sysdeps/s390/v1-setjmp.h: New file.
10214 * sysdeps/s390/v1-sigjmp.c: New file.
10215 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10216 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10217 GLIBC_2.19 version.
10218 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10219 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10220 versioned symbols for ____longjmp_chk.
10221 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10231 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10232 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10233 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10234 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10235 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10236 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10237 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10238 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10239 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10240 * sysdeps/s390/rtld-__longjmp.c: New file.
10241 * sysdeps/s390/rtld-setjmp.S: New file.
10243 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10246 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10247 Return -__logl (x) for small positive arguments without evaluating
10250 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10252 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10254 (__ptrace_peeksiginfo_args): ... this.
10255 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10256 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10257 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10259 2014-01-06 Allan McRae <allan@archlinux.org>
10261 * inet/netinet/in.h: Fix typo in comment.
10263 2014-01-05 Andreas Jaeger <aj@suse.de>
10265 * sysdeps/i386/fpu/libm-test-ulps: Update.
10267 2014-01-05 Allan McRae <allan@archlinux.org>
10269 * po/libc.pot: Regenerated.
10271 * malloc/memusagestat.c: Fix gettext call formatting.
10273 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10275 * nscd/nscd.c: Improve usage() output.
10277 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10279 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10280 * sysdeps/unix/sysv/linux/configure: Regenerated.
10281 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10282 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10284 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10287 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10288 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10290 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10292 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10293 extra tokens at end of #undef directive.
10294 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10295 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10296 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10298 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10300 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10302 * math/auto-libm-test-in: Mark various tests with
10303 xfail-rounding:ldbl-128ibm.
10304 * math/auto-libm-test-out: Regenerated.
10306 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10309 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10310 numbers with subnormal high part when calculating exponent.
10313 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10317 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10319 (__ieee754_acoshl): Use __log1pl not __log1p.
10321 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10323 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10324 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10325 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10326 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10327 (reused_arena, arena_get2): Convert to GNU style.
10328 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10329 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10330 (memalign_check, __malloc_set_state): Likewise.
10331 * malloc/mallocbug.c (main): Likewise.
10332 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10333 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10334 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10335 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10336 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10337 (__posix_memalign, malloc_info): Likewise.
10338 * malloc/malloc.h: Likewise.
10339 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10340 (mallochook, memalignhook, reallochook, mabort): Likewise.
10341 * malloc/mcheck.h: Likewise.
10342 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10343 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10344 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10345 * malloc/morecore.c (__default_morecore): Likewise.
10346 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10347 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10348 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10349 (print_and_abort): Likewise.
10350 * malloc/obstack.h: Likewise.
10351 * malloc/set-freeres.c (__libc_freeres): Likewise.
10352 * malloc/tst-mallocstate.c (main): Likewise.
10353 * malloc/tst-mtrace.c (main): Likewise.
10354 * malloc/tst-realloc.c (do_test): Likewise.
10356 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10359 * nscd/netgroupcache.c (do_notfound): New function.
10360 (addgetnetgrentX): Use it.
10363 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10364 NSS_STATUS_NOTFOUND.
10366 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10368 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10371 2014-01-01 Allan McRae <allan@archlinux.org>
10373 * scripts/update-copyrights: Update configure input file suffix.
10375 * NEWS: Update copyright year.
10376 * catgets/gencat.c: Likewise.
10377 * csu/version.c: Likewise.
10378 * debug/catchsegv.sh: Likewise.
10379 * debug/pcprofiledump.c: Likewise.
10380 * debug/xtrace.sh: Likewise.
10381 * elf/ldconfig.c: Likewise.
10382 * elf/ldd.bash.in: Likewise.
10383 * elf/pldd.c: Likewise.
10384 * elf/sotruss.ksh: Likewise.
10385 * elf/sprof.c: Likewise.
10386 * iconv/iconv_prog.c: Likewise.
10387 * iconv/iconvconfig.c: Likewise.
10388 * locale/programs/locale.c: Likewise.
10389 * locale/programs/localedef.c: Likewise.
10390 * login/programs/pt_chown.c: Likewise.
10391 * malloc/memusage.sh: Likewise.
10392 * malloc/memusagestat.c: Likewise.
10393 * malloc/mtrace.pl: Likewise.
10394 * manual/libc.texinfo: Likewise.
10395 * nscd/nscd.c: Likewise.
10396 * nss/getent.c: Likewise.
10397 * nss/makedb.c: Likewise.
10398 * posix/getconf.c: Likewise.
10399 * scripts/test-installation.pl: Likewise.
10401 * All files with FSF copyright notices: Update copyright dates
10402 using scripts/update-copyrights.
10403 * intl/plural.c: Regenerated.
10404 * locale/programs/charmap-kw.h: Likewise.
10405 * locale/programs/locfile-kw.h: Likewise.
10407 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10409 * sysdeps/unix/sysv/linux/configure: Regenerated.
10410 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10411 the linux/fanotify.h header.
10412 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10413 HAVE_LINUX_FANOTIFY_H is defined.
10415 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10417 * benchtests/cos-inputs: New inputs.
10418 * benchtests/sin-inputs: Likewise.
10420 * benchtests/atan-inputs: New inputs. Fix name of multiple
10421 precision fallback inputs.
10423 * benchtests/atanh-inputs: New inputs.
10424 * benchtests/tanh-inputs: Likewise.
10426 * benchtests/acosh-inputs: New inputs.
10427 * benchtests/asinh-inputs: Likewise.
10429 * benchtests/cosh-inputs: New inputs.
10430 * benchtests/sinh-inputs: Likewise.
10432 * benchtests/acos-inputs: Add more inputs.
10433 * benchtests/asin-inputs: Likewise.
10435 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10438 * manual/arith.texi: Fix spelling.
10439 * manual/charset.texi: Likewise.
10440 * manual/errno.texi: Likewise.
10441 * manual/filesys.texi: Likewise.
10442 * manual/lang.texi: Likewise.
10443 * manual/llio.texi: Likewise.
10444 * manual/locale.texi: Likewise.
10445 * manual/message.texi: Likewise.
10446 * manual/resource.texi: Likewise.
10447 * manual/search.texi: Likewise.
10448 * manual/setjmp.texi: Likewise.
10449 * manual/stdio.texi: Likewise.
10450 * manual/string.texi: Likewise.
10451 * manual/sysinfo.texi: Likewise.
10452 * manual/time.texi: Likewise.
10454 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10456 * po/sl.po: New file.
10458 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10460 * .gitignore: Add core/.gdbinit/.gdb_history.
10462 2013-12-27 Allan McRae <allan@archlinux.org>
10465 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10466 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10468 2013-12-24 Brooks Moses <bmoses@google.com>
10470 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10471 all compilers that claim C++98 compliance, not just GCC.
10472 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10475 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10477 * NEWS: Restore accidentally deleted bug-fix entries.
10479 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10480 Ondřej Bílka <neleai@seznam.cz>
10483 * malloc/malloc.c (_int_free): Perform sanity check only if we
10486 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10489 * manual/stdio.texi (String Input Conversions): Clarify that character
10490 classes are not supported.
10492 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10496 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10499 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10500 Calculate results for small negative arguments directly rather
10501 than using reflection formula with special underflow handling.
10503 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10504 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10505 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10506 (fchflags): Likewise.
10507 (revoke): Likewise.
10508 (setlogin): Likewise.
10509 (sigaltstack): Likewise.
10511 (sigblock): Remove.
10512 (sigsetmask): Likewise.
10514 (waitpid): Likewise.
10515 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10516 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10518 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10519 * sysdeps/unix/bsd/Makefile: ... here.
10520 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10521 * sysdeps/unix/bsd/Versions: ... here.
10522 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10523 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10524 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10525 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10526 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10527 * sysdeps/unix/bsd/sigblock.c: ... here.
10528 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10529 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10530 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10531 * sysdeps/unix/bsd/sigvec.c: ... here.
10532 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10533 * sysdeps/unix/bsd/tcdrain.c: ... here.
10534 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10535 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10536 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10537 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10538 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10539 * sysdeps/unix/bsd/wait.c: ... here.
10540 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10541 * sysdeps/unix/bsd/wait3.c: ... here.
10542 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10543 * sysdeps/unix/bsd/waitpid.c: ... here.
10545 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10548 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10549 round-to-nearest for [!USE_AS_EXPM1L].
10550 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10551 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10552 more tests of exp and exp10. Expect some exp10 tests to miss
10553 exceptions or fail in directed rounding modes.
10554 * math/auto-libm-test-out: Regenerated.
10555 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10556 (exp10_test_tonearest): New function.
10557 (exp10_towardzero_test_data): New array.
10558 (exp10_test_towardzero): New function.
10559 (exp10_downward_test_data): New array.
10560 (exp10_test_downward): New function.
10561 (exp10_upward_test_data): New array.
10562 (exp10_test_upward): New function.
10563 (main): Call the new functions.
10564 * sysdeps/i386/fpu/libm-test-ulps: Update.
10565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10567 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10569 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10570 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10571 * math/auto-libm-test-out: Regenerated.
10572 * math/libm-test.inc (acosh_test_data): Add more tests.
10573 (atanh_test_data): Likewise.
10574 (ceil_test_data): Likewise.
10575 (copysign_test_data): Likewise.
10576 * sysdeps/i386/fpu/libm-test-ulps: Update.
10577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10579 * timezone/checktab.awk: Update from tzcode 2013i.
10580 * timezone/private.h: Likewise.
10581 * timezone/scheck.c: Likewise.
10582 * timezone/tzfile.h: Likewise.
10583 * timezone/tzselect.ksh: Likewise.
10584 * timezone/zdump.c: Likewise.
10585 * timezone/zic.c: Likewise.
10587 * math/auto-libm-test-in: Add tests of cpow.
10588 * math/auto-libm-test-out: Regenerated.
10589 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10590 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10592 (func_calc_desc): Add mpc_cc_c union field.
10593 (test_functions): Add cpow.
10594 (special_fill_2pi): New function.
10595 (special_real_inputs): Add 2pi.
10596 (calc_generic_results): Handle mpc_cc_c.
10597 * sysdeps/i386/fpu/libm-test-ulps: Update.
10598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10600 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10601 csqrt, ctan and ctanh.
10602 * math/auto-libm-test-out: Regenerated.
10603 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10604 (TEST_COND_x86): Likewise.
10605 (ccos_test_data): Use AUTO_TESTS_c_c.
10606 (ccosh_test_data): Likewise.
10607 (cexp_test_data): Likewise.
10608 (clog_test_data): Likewise.
10609 (csqrt_test_data): Likewise.
10610 (ctan_test_data): Likewise.
10611 (ctan_tonearest_test_data): Likewise.
10612 (ctan_towardzero_test_data): Likewise.
10613 (ctan_downward_test_data): Likewise.
10614 (ctan_upward_test_data): Likewise.
10615 (ctanh_test_data): Likewise.
10616 (ctanh_tonearest_test_data): Likewise.
10617 (ctanh_towardzero_test_data): Likewise.
10618 (ctanh_downward_test_data): Likewise.
10619 (ctanh_upward_test_data): Likewise.
10620 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10622 (func_calc_desc): Add mpc_c_c union field.
10623 (FUNC_mpc_c_c): New macro.
10624 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10625 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10627 (special_fill_min_subnorm_p120): New function.
10628 (special_real_inputs): Add min_subnorm_p120.
10629 (calc_generic_results): Handle mpc_c_c.
10630 * sysdeps/i386/fpu/libm-test-ulps: Update.
10631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10633 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10635 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10636 (do_sin_slow): New functions.
10637 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10638 (cslow2, csloww1, csloww2): Use the new functions.
10640 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10641 Use M to change sign of result instead of X. Assume X is
10643 (csloww1): Likewise.
10647 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10648 arguments A and DA.
10652 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10654 (sloww1): Don't adjust sign of DX.
10655 (csloww1): Likewise.
10656 (sloww2): Use X directly and don't adjust sign of DX.
10657 (csloww2): Likewise.
10659 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10661 * math/auto-libm-test-in: Add tests of cabs and carg.
10662 * math/auto-libm-test-out: Regenerated.
10663 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10664 (carg_test_data): Likewise.
10665 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10667 (func_calc_desc): Add mpc_c_f union field.
10668 (test_functions): Add cabs and carg.
10669 (calc_generic_results): Handle mpc_c_f.
10671 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10672 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10673 as a macro and a compat symbol.
10674 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10675 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10676 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10677 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10678 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10679 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10681 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10683 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10685 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10687 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10689 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10691 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10692 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10695 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10699 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10701 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10702 trailing whitespace removed.
10703 * scripts/config.guess: Update to version 2013-11-29.
10704 * scripts/config.sub: Update to version 2013-10-01.
10706 * math/auto-libm-test-in: Add tests of sincos.
10707 * math/auto-libm-test-out: Regenerated.
10708 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10709 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10711 (func_calc_desc): Add mpfr_f_11 union field.
10712 (test_functions): Add sincos.
10713 (calc_generic_results): Handle mpfr_f_11.
10714 * sysdeps/i386/fpu/libm-test-ulps: Update.
10715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10717 2013-12-19 Andreas Schwab <schwab@suse.de>
10719 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10721 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10722 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10723 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10725 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10727 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10728 * sysdeps/i386/fpu/libm-test-ulps: Update.
10729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10732 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10733 round-to-nearest mode when using frndint.
10734 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10735 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10736 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10738 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10740 * math/auto-libm-test-out: Regenerated.
10741 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10742 (TEST_COND_x86): Likewise.
10743 (expm1_tonearest_test_data): New array.
10744 (expm1_test_tonearest): New function.
10745 (expm1_towardzero_test_data): New array.
10746 (expm1_test_towardzero): New function.
10747 (expm1_downward_test_data): New array.
10748 (expm1_test_downward): New function.
10749 (expm1_upward_test_data): New array.
10750 (expm1_test_upward): New function.
10751 (main): Run the new test functions.
10752 * sysdeps/i386/fpu/libm-test-ulps: Update.
10753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10755 * include/features.h: Update comment documenting feature test
10756 macros. Mention _DEFAULT_SOURCE in comment.
10757 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10758 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10759 _BSD_SOURCE and _SVID_SOURCE.
10760 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10761 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10762 !_SVID_SOURCE]: Likewise.
10763 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10764 (__USE_POSIX_IMPLICITLY): Define.
10765 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10766 (_POSIX_SOURCE): Undefine and redefine.
10767 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10768 (_POSIX_C_SOURCE): Likewise.
10769 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10770 (Feature Test Macros): Update documentation of default features.
10772 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10774 * benchtests/Makefile: Add bench-strtok.
10775 * benchtests/bench-strtok.c: New file: strtok benchtest.
10777 2013-12-19 Allan McRae <allan@archlinux.org>
10779 * manual/install.texi: Suppress menu for plain text output.
10780 * INSTALL: Regenerated.
10782 2013-12-18 Brooks Moses <bmoses@google.com>
10785 * misc/getauxval.c: Include errno.h.
10786 (__getauxval): Set errno to ENOENT if the requested type is not
10788 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10789 don't declare with __attribute_const__.
10790 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10791 * manual/startup.texi: Document that getauxval sets errno.
10793 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10795 * math/auto-libm-test-in: Add tests of jn and yn.
10796 * math/auto-libm-test-out: Regenerated.
10797 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10798 (yn_test_data): Likewise.
10799 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10801 (func_calc_desc): Add mpfr_if_f union field.
10802 (FUNC_mpfr_if_f): New macro.
10803 (test_functions): Add jn and yn.
10804 (calc_generic_results): Assert type of second input for
10805 mpfr_ff_f. Handle mpfr_if_f.
10806 (output_for_one_input_case): Disable all checking for arguments
10807 fitting floating-point types in case of an integer argument.
10808 * sysdeps/i386/fpu/libm-test-ulps: Update.
10809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10812 Don't expect fegetround reference in libm.so.
10814 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10816 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10817 $(config-cflags-nofma).
10819 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10821 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10822 * math/auto-libm-test-out: Regenerated.
10825 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10826 to determine exponent and adjust argument to have exponent of -1.
10827 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10829 * math/auto-libm-test-out: Regenerated.
10830 * sysdeps/i386/fpu/libm-test-ulps: Update.
10831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10833 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10835 * manual/probes.texi: Remove cases when per-thread arenas are
10838 2013-12-18 Andreas Schwab <schwab@suse.de>
10840 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10841 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10842 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10843 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10844 * sysdeps/i386/i686/multiarch/Makefile: Update.
10845 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10847 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10849 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10850 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10852 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10855 Support TZ transition times < 00:00:00.
10856 This is needed for version-3 tz-format files; it supports time
10857 stamps past 2037 for America/Godthab (the only entry in the tz
10858 database for which this change is relevant).
10859 * manual/time.texi (TZ Variable): Document transition times
10860 from -167:59:59 through -00:00:01.
10861 * time/tzset.c (tz_rule): Time of day is now signed.
10862 (__tzset_parse_tz): Parse negative time of day.
10864 Document TZ transition times >= 25:00:00.
10865 * manual/time.texi (TZ Variable): Document transition times from
10866 25:00:00 through 167:59:59. These are already supported, and this
10867 support will help with version-3 tz-format files.
10869 * manual/time.texi (TZ Variable): Modernize North America example
10870 to reflect current (i.e., 2007-and-later) daylight saving rules.
10872 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10874 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10876 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10877 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10878 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10879 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10880 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10881 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10882 * sysdeps/unix/bsd/clock.c: Likewise.
10883 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10884 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10885 * sysdeps/unix/bsd/init-posix.c: Likewise.
10886 * sysdeps/unix/bsd/poll.c: Likewise.
10887 * sysdeps/unix/bsd/ptsname.c: Likewise.
10888 * sysdeps/unix/bsd/seekdir.c: Likewise.
10889 * sysdeps/unix/bsd/setegid.c: Likewise.
10890 * sysdeps/unix/bsd/seteuid.c: Likewise.
10891 * sysdeps/unix/bsd/setgid.c: Likewise.
10892 * sysdeps/unix/bsd/setrgid.c: Likewise.
10893 * sysdeps/unix/bsd/setruid.c: Likewise.
10894 * sysdeps/unix/bsd/setsid.c: Likewise.
10895 * sysdeps/unix/bsd/setuid.c: Likewise.
10896 * sysdeps/unix/bsd/sigaction.c: Likewise.
10897 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10898 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10899 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10900 * sysdeps/unix/bsd/telldir.c: Likewise.
10901 * sysdeps/unix/bsd/times.c: Likewise.
10902 * sysdeps/unix/bsd/usleep.c: Likewise.
10904 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10905 ($(objpfx)libbsd-compat.a): Remove rule.
10907 * include/features.h (__FAVOR_BSD): Do not define.
10908 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10909 features conflicting with POSIX.
10910 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10911 (_BSD_SOURCE): Remove description of not being a subset of other
10912 feature test macros.
10913 * manual/job.texi (getpgrp): Do not document BSD version.
10914 (getpgid): Do not document by reference to BSD getpgrp.
10915 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10916 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10917 * signal/signal.h [__FAVOR_BSD]: Likewise.
10918 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10919 instead of making contents conditional on [__FAVOR_BSD].
10920 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10922 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10926 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10929 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10930 values below 2**-450, not 2**-500.
10931 * math/auto-libm-test-in: Don't allow spurious underflow from
10933 * math/auto-libm-test-out: Regenerated.
10937 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10938 values of ha and hb and sort them after adjusting subnormal
10940 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10942 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10943 values of ea and eb and sort them after adjusting subnormal
10945 * math/auto-libm-test-in: Do not expect some hypot tests of
10946 subnormals to fail. Add more hypot tests.
10947 * math/auto-libm-test-out: Regenerated.
10949 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10952 * sysdeps/sh/s_fma.c: New file.
10953 * sysdeps/sh/s_fmaf.c: New file.
10954 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10956 * sysdeps/sh/Implies: Add sh/soft-fp.
10958 2013-12-16 Roland McGrath <roland@hack.frob.com>
10960 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10961 level of indirection to members `objname', `errstring', `malloced'.
10962 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10963 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10964 it as the __longjmp argument (just pass 1 instead).
10965 (_dl_catch_error): Initialize C with argument pointers and address of
10966 volatile local ERRCODE rather than copying values out of C at return.
10968 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10970 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10971 * math/auto-libm-test-out: Regenerated.
10972 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10973 (hypot_test_data): Likewise.
10974 (pow_test_data): Likewise.
10975 (pow_tonearest_test_data): Likewise.
10976 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10978 (func_calc_desc): Add mpfr_ff_f union field.
10979 (FUNC_mpfr_ff_f): New macro.
10980 (test_functions): Add atan2, hypot and pow.
10981 (special_fill_min): New function.
10982 (special_fill_minus_min): Likewise.
10983 (special_fill_min_subnorm): Likewise.
10984 (special_fill_minus_min_subnorm): Likewise.
10985 (special_real_inputs): Add min, -min, min_subnorm and
10987 (calc_generic_results): Handle mpfr_ff_f.
10988 * sysdeps/i386/fpu/libm-test-ulps: Update.
10989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10991 2013-12-16 Will Newton <will.newton@linaro.org>
10993 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10994 (Aligned Memory Blocks): Add documentation for aligned_alloc
10995 and suggest it as an alternative to posix_memalign.
10996 (Hooks for Malloc): Document __memalign_hook is also called
10997 for aligned_alloc. (Summary of Malloc): Add summary for
10998 aligned alloc. Document __memalign_hook is also called
11001 2013-12-16 Will Newton <will.newton@linaro.org>
11003 * manual/memory.texi (Malloc Examples): Clarify default
11004 alignment documentation. Suggest posix_memalign rather
11005 than memalign or valloc.
11006 (Aligned Memory Blocks): Remove suggestion to use memalign
11007 or valloc. Remove obsolete comment about BSD.
11008 Document memalign errno values and mark the function obsolete.
11009 Document posix_memalign returned error codes. Mark valloc
11010 as obsolete. (Hooks for Malloc): __memalign_hook is also
11011 called for posix_memalign and valloc.
11012 (Summary of Malloc): Add posix_memalign to function summary.
11013 __memalign_hook is also called for posix_memalign and valloc.
11015 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11017 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11021 (sloww): Use mynumber union. Expand ternary operator into
11022 if-else statements.
11023 (cslow): use mynumber union.
11025 2013-12-16 Allan McRae <allan@archlinux.org>
11027 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11028 * configure: Regenerated.
11030 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11033 * configure.ac: Added --enable-maintainer-mode. Check for
11034 autoconf when enabled.
11035 * configure: Regenerated.
11037 * nscd/nscd.service: New file.
11038 * nscd/nscd.tmpfiles: New file.
11040 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11043 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11044 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11045 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11046 (strstr): Add __strstr_sse2_unaligned ifunc.
11047 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11048 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11049 (strcasestr): Remove __strcasestr_sse42 ifunc.
11050 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11054 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11056 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11057 * sysdeps/sh/bits/fenv.h: ... here.
11058 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11060 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11062 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11065 hypotf multiarch implementations.
11066 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11067 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11068 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11069 multiarch hypot for PPC64.
11070 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11071 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11072 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11073 multiarch hypotf for PPC64.
11075 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11076 modff multiarch implementations.
11077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11080 multiarch modf for PPC64.
11081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11084 multiarch modff for PPC64.
11086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11087 and logl multiarch implementations.
11088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11091 multiarch logb for PPC64.
11092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11095 multiarch logb for PPC64.
11096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11099 multiarch logb for PPC64.
11101 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11102 isinff multiarch implementation.
11103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11107 multiarch isinf for PPC64.
11108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11111 multiarch isinff for PPC64.
11113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11114 finitef multiarch implementation.
11115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11119 multiarch finite for PPC64.
11120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11123 multiarch finitef for PPC64.
11125 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11126 lrint multiarch implementation.
11127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11131 multiarch llrint for PPC64.
11132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11133 multiarch lrint for PPC64.
11135 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11136 copysignf multiarch implementation.
11137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11142 multiarch copysign for PPC64.
11143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11144 multiarch copysignf for PPC64.
11146 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11147 multiarch implementation.
11148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11156 multiarch llround for PPC64.
11157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11158 multiarch trunc for PPC64.
11159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11160 multiarch truncf for PPC64.
11162 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11163 multiarch implementation.
11164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11172 multiarch llround for PPC64.
11173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11174 multiarch round for PPC64.
11175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11176 multiarch roundf for PPC64.
11178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11179 multiarch implementation.
11180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11188 multiarch llround for PPC64.
11189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11190 multiarch floor for PPC64.
11191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11192 multiarch floorf for PPC64.
11194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11195 multiarch implementation.
11196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11204 multiarch llround for PPC64.
11205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11206 multiarch ceil for PPC64.
11207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11208 multiarch ceilf for PPC64.
11210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11211 multiarch implementation.
11212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11219 multiarch llround for PPC64.
11220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11221 multiarch lround for PPC64.
11223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11224 multiarch implementation.
11225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11232 multiarch isnan for PPC64.
11233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11234 multiarch isnanf for PPC64.
11236 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11237 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11238 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11239 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11240 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11243 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11244 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11245 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11246 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11249 multiarch implementations.
11250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11251 (__libc_ifunc_impl_list): Likewise.
11252 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11253 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11254 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11255 multiarch stpcpy for PPC64.
11257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11258 multiarch implementations.
11259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11260 (__libc_ifunc_impl_list): Likewise.
11261 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11262 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11263 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11264 multiarch strcpy for PPC64.
11266 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11267 redefine function name.
11268 (_wordcopy_fwd_dest_aligned): Likewise.
11269 (_wordcopy_bwd_aligned): Likewise.
11270 (_wordcopy_bwd_dest_aligned): Likewise.
11271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11272 multiarch implementations.
11273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11274 (__libc_ifunc_impl_list): Likewise.
11275 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11276 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11277 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11278 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11279 multiarch wcscpy for PPC64.
11281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11282 multiarch implementations.
11283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11284 (__libc_ifunc_impl_list): Likewise.
11285 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11286 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11287 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11288 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11289 multiarch wcscpy for PPC64.
11291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11292 multiarch implementations.
11293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11294 (__libc_ifunc_impl_list): Likewise.
11295 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11296 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11297 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11298 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11299 multiarch wcsrchr for PPC64.
11301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11302 multiarch implementations.
11303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11304 (__libc_ifunc_impl_list): Likewise.
11305 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11306 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11307 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11308 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11309 multiarch wcschr for PPC64.
11311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11312 multiarch implementations.
11313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11314 (__libc_ifunc_impl_list): Likewise.
11315 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11316 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11317 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11318 multiarch strchrnul for PPC64.
11320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11323 (__libc_ifunc_impl_list): Likewise.
11324 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11325 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11326 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11327 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11333 (__libc_ifunc_impl_list): Likewise.
11334 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11335 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11336 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11337 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11341 multiarch implementations.
11342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11343 (__libc_ifunc_impl_list): Likewise.
11344 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11345 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11346 strncasecmp for PPC64.
11347 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11348 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11349 multiarch strncasecmp_l for PPC64.
11351 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11352 multiarch implementations.
11353 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11354 (__libc_ifunc_impl_list): Likewise.
11355 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11356 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11357 multiarch strcasecmp for PPC64.
11358 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11360 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11361 multiarch strcasecmp_l for PPC64.
11363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11366 (__libc_ifunc_impl_list): Likewise.
11367 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11368 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11369 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11375 (__libc_ifunc_impl_list): Likewise.
11376 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11377 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11378 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11384 (__libc_ifunc_impl_list): Likewise.
11385 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11386 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11387 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11388 rawmemrchr for PPC64.
11390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11393 (__libc_ifunc_impl_list): Likewise.
11394 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11395 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11396 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11402 (__libc_ifunc_impl_list): Likewise.
11403 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11404 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11405 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11411 (__libc_ifunc_impl_list): Likewise.
11412 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11413 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11414 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11417 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11418 avoid cretion of __bzero symbol.
11419 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11421 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11423 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11426 multiarch implementations.
11427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11428 (__libc_ifunc_impl_list): Likewise.
11429 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11430 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11431 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11432 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11434 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11435 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11436 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11437 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11438 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11440 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11442 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11446 (__libc_ifunc_impl_list): Likewise.
11447 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11448 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11449 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11450 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11454 multiarch for POWER/PPC64.
11455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11456 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11457 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11458 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11459 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11460 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11461 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11462 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11463 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11466 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11467 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11468 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11469 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11470 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11471 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11472 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11473 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11474 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11475 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11476 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11477 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11478 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11479 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11480 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11489 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11491 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11493 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11495 * benchtests/Makefile (bench): Add exp2 and log2.
11496 (LDLIBS-bench-exp2): Add -lm.
11497 (LDLIBS-bench-log2): Likewise.
11498 * benchtests/exp2-inputs: New inputs file.
11499 * benchtests/log2-inputs: New inputs file.
11500 * benchtests/log-inputs: Add new inputs.
11501 * benchtests/tan-inputs: Likewise.
11503 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11505 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11507 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11508 (csloww2): ... from here.
11510 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11511 instead of structures.
11512 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11513 (POLYNOMIAL): Likewise.
11514 (TAYLOR_SLOW): Likewise.
11520 (sloww1); Likewise.
11521 (sloww2): Likewise.
11522 (bsloww1): Likewise.
11523 (bsloww2): Likewise.
11524 (cslow2): Likewise.
11525 (csloww): Likewise.
11526 (csloww1): Likewise.
11527 (csloww2): Likewise.
11529 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11531 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11532 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11533 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11534 * malloc/hooks.c (realloc_check): Likewise.
11536 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11537 * malloc/arena.c: Remove PER_THREAD conditional.
11538 [!PER_THREAD]: Remove code.
11539 (ptmalloc_unlock_all2): Likewise.
11540 (ptmalloc_init): Likewise.
11541 (_int_new_arena): Likewise.
11542 (arena_get2): Likewise.
11543 * malloc/hooks.c (__malloc_get_state): Likewise.
11544 (__malloc_set_state): Likewise.
11545 * malloc/malloc.c: Likewise.
11546 (struct malloc_state): Likewise.
11547 (struct malloc_par): Likewise.
11548 (__libc_realloc): Likewise.
11549 (__libc_mallopt): Likewise.
11551 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11553 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11555 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11557 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11558 macro to a function. Check for zero perturb_byte.
11559 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11561 * malloc/malloc.c: (force_reg): Remove.
11562 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11563 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11564 force_reg by atomic_forced_read.
11565 * malloc/arena.c (ptmalloc_init): Likewise.
11566 * malloc/hooks.c (top_check): Likewise.
11568 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11572 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11576 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11578 * math/auto-libm-test-in: Add tests of lgamma.
11579 * math/auto-libm-test-out: Regenerated.
11580 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11581 (M_LOG_2_SQRT_PIl): Likewise.
11582 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11583 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11585 (func_calc_desc): Add mpfr_f_f1 union field.
11586 (ARGS1): New macro.
11594 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11595 (test_functions): Add lgamma.
11596 (calc_generic_results): Handle mpfr_f_f1.
11597 * sysdeps/i386/fpu/libm-test-ulps: Update.
11598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11600 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11602 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11603 __mpn_add_n for PowerPC64/POWER7.
11604 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11605 __mpn_sub_n for PowerPC64/POWER7.
11607 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11608 __mpn_addmul_1 for PowerPC64.
11609 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11610 __mpn_submul_1 for PowerPC64.
11611 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11613 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11616 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11619 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11621 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11623 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11625 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11626 add multiarch folders.
11627 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11628 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11629 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11630 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11631 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11632 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11633 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11634 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11635 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11636 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11637 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11646 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11652 multiarch __ieee754_hypot for PowerPC32.
11653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11658 multiarch __ieee754_hypotf for PowerPC32.
11660 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11661 long_double_symbol only if __logbl is defined.
11662 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11663 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11665 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11666 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11667 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11668 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11669 path for implementation.
11670 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11671 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11673 logb, and logbl multiarch implementations for PowerPC32.
11674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11679 multiarch logb for PowerPC32.
11680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11685 multiarch logbf for PowerPC32.
11686 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11690 multiarch logbl implementation for PowerPC32.
11692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11693 and modff multiarch implementations.
11694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11699 multiarch modf for PowerPC32.
11700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11705 multiarch modff for PowerPC32.
11707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11708 and lrintf multiarch implementations.
11709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11714 multiarch lrint for PowerPC32.
11715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11716 file: multiarch lrintf for PowerPC32.
11718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11719 and lroundf multiarch implementations.
11720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11727 multiarch lround for PowerPC32.
11728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11729 file: multiarch lroundf for PowerPC32.
11731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11732 copysign and copysignf multiarch implementations.
11733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11738 file: multiarch copysign for PowerPC32.
11739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11740 file: multiarch copysignf for PowerPC32.
11742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11743 and truncf multiarch implementations.
11744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11749 multiarch trunc for PowerPC32.
11750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11755 multiarch truncf for PowerPC32.
11757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11758 and roundf multiarch implementations.
11759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11764 multiarch round for PowerPC32.
11765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11770 multiarch roundf for PowerPC32.
11772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11773 and floorf multiarch implementations.
11774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11779 multiarch floor for PowerPC32.
11780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11785 multiarch floorf for PowerPC32.
11787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11788 and ceilf multiarch implementations.
11789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11794 multiarch ceil for PowerPC32.
11795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11800 multiarch ceilf for PowerPC32.
11802 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11804 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11805 FINITEF is defined.
11806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11807 and finitef multiarch implementations.
11808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11813 multiarch finite for PowerPC32.
11814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11817 file: multiarch finitef for PowerPC32.
11819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11820 and isinff multiarch implementations.
11821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11826 multiarch isinf for PowerPC32.
11827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11830 multiarch isinff for PowerPC32.
11832 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11833 alias when __isnan is defined.
11834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11835 and isnanf multiarch implementations.
11836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11845 multiarch isnan for PowerPC32.
11846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11851 multiarch isnanf for PowerPC32.
11853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11854 and sqrtf multiarch implementations.
11855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11860 multiarch sqrt for PowerPC32.
11861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11866 multiarch sqrtf for PowerPC32.
11868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11869 and llroundf multiarch implementations.
11870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11877 file: multiarch llround for PowerPC32.
11878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11879 file: multiarch llroundf for PowerPC32.
11881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11882 multiarch PowerPC32 fpu implementations.
11883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11888 multiarch llrint for PowerPC32.
11889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11898 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11900 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11902 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11904 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11905 multiarch wordcopy for PPC32.
11906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11909 (__libc_ifunc_impl_list): Likewise.
11910 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11911 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11912 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11913 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11914 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11915 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11917 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11922 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11924 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11925 multiarch wcscpy for PPC32.
11926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11929 (__libc_ifunc_impl_list): Likewise.
11930 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11931 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11932 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11933 sysdeps/powerpc/power6/wcscpy.c.
11935 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11943 multiarch wcsrchr for PPC32.
11944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11947 (__libc_ifunc_impl_list): Likewise.
11948 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11949 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11950 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11951 sysdeps/powerpc/power6/wcsrchr.c.
11953 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11957 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11958 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11959 multiarch wcschr for PPc32.
11960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11963 (__libc_ifunc_impl_list): Likewise.
11964 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11965 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11966 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11967 sysdeps/powerpc/power6/wcschr.c.
11969 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11970 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11972 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11973 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11974 file: multiarch strchr for PPC32.
11975 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11977 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11978 (__libc_ifunc_impl_list): Likewise.
11980 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11982 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11984 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11986 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11987 multiarch strchrnul for PPC32.
11988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11991 (__libc_ifunc_impl_list): Likewise.
11993 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11995 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11996 multiarch strncasecmp for PPC32.
11997 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11999 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12000 multiarch strncasecmp_l for PPC32.
12001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12002 strncasecmp multiarch objects.
12003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12004 (__libc_ifunc_impl_list): Likewise.
12006 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12008 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12009 multiarch strncasecmp for PPC32.
12010 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12012 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12013 multiarch strcasecmp_l for PPC32.
12014 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12016 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12017 (__libc_ifunc_impl_list): Likewise.
12019 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12021 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12023 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12024 multiarch strncmp for PPC32.
12025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12028 (__libc_ifunc_impl_list): Likewise.
12030 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12031 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12033 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12034 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12038 (__libc_ifunc_impl_list): Likewise.
12040 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12042 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12044 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12045 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12047 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12048 (__libc_ifunc_impl_list): Likewise.
12050 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12052 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12054 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12055 multiarch rawmemchr for PPC32.
12056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12059 (__libc_ifunc_impl_list): Likewise.
12061 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12063 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12065 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12066 file: memrchr multiarch for PPC32.
12067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12070 (__libc_ifunc_impl_list): Likewise.
12072 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12073 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12075 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12076 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12077 multiarch memchr for PPC32.
12078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12081 (__libc_ifunc_impl_list): Likewise.
12083 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12084 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12086 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12088 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12089 file: multiarch mempcpy for PPC32.
12090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12093 (__libc_ifunc_impl_list): Likewise.
12095 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12096 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12097 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12098 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12099 multiarch bzero for PPC32.
12100 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12102 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12105 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12106 file: multiarch memset for PPC32.
12107 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12109 memset multiarch objects.
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12111 (__libc_ifunc_impl_list): Likewise.
12113 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12115 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12116 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12118 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12122 (__libc_ifunc_impl_list): Likewise.
12124 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12125 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12126 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12128 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12130 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12132 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12133 multiarch memcpy for PPC32.
12134 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12136 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12137 (__libc_ifunc_impl_list): Likewise.
12139 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12140 support multiarch for POWER/PPC32.
12141 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12143 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12145 Implies file to make multiarch folder appers before the fpu and
12146 default folder for power4 configuration.
12148 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12150 * scripts/bench.pl: Append volatile keyword to type.
12152 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12154 * sysdeps/sh/sotruss-lib.c: New file.
12155 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12157 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12161 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12164 * math/w_tgamma.c: Include <errno.h>.
12165 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12166 * math/w_tgammaf.c: Include <errno.h>.
12167 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12168 * math/w_tgammal.c: Include <errno.h>.
12169 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12170 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12171 underflow. Add more tgamma tests.
12172 * math/auto-libm-test-out: Regenerated.
12173 * sysdeps/i386/fpu/libm-test-ulps: Update.
12174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12176 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12177 sin, sinh, tan, tanh, tgamma, y0 and y1.
12178 * math/auto-libm-test-out: Regenerated.
12179 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12180 (TEST_COND_x86): Likewise.
12181 (M_E2l): Remove macro.
12183 (M_2_SQRT_PIl): Likewise.
12184 (M_SQRT_PIl): Likewise.
12185 (M_1_DIV_El): Likewise.
12186 (log_test_data): Use AUTO_TESTS_f_f.
12187 (log10_test_data): Likewise.
12188 (log1p_test_data): Likewise.
12189 (log2_test_data): Likewise.
12190 (sin_test_data): Likewise.
12191 (sin_tonearest_test_data): Likewise.
12192 (sin_towardzero_test_data): Likewise.
12193 (sin_downward_test_data): Likewise.
12194 (sin_upward_test_data): Likewise.
12195 (sinh_test_data): Likewise.
12196 (sinh_tonearest_test_data): Likewise.
12197 (sinh_towardzero_test_data): Likewise.
12198 (sinh_downward_test_data): Likewise.
12199 (sinh_upward_test_data): Likewise.
12200 (tan_test_data): Likewise.
12201 (tan_tonearest_test_data): Likewise.
12202 (tan_towardzero_test_data): Likewise.
12203 (tan_downward_test_data): Likewise.
12204 (tan_upward_test_data): Likewise.
12205 (tanh_test_data): Likewise.
12206 (tgamma_test_data): Likewise.
12207 (y0_test_data): Likewise.
12208 (y1_test_data): Likewise.
12209 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12210 (special_real_inputs): Add pi/4.
12211 * sysdeps/i386/fpu/libm-test-ulps: Update.
12212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12214 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12216 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12217 "longjmp_target" static probes.
12218 (__longjmp): Rename to __longjmp_symbol.
12219 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12220 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12221 on which longjmp to generate.
12222 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12223 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12225 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12226 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12227 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12228 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12229 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12230 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12232 __longjmp_symbol based on which __longjmp to generate.
12233 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12235 (setjmp): Rename to setjmp_symbol.
12236 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12237 (_setjmp): Rename to _setjmp_symbol.
12238 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12239 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12240 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12241 which setjmp to generate.
12242 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12243 "longjmp_target" static probes.
12245 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12247 * benchtests/README: Add note about output arguments.
12248 * benchtests/bench-sincos.c: Remove file.
12249 * benchtests/sincos-inputs: New file.
12250 * scripts/bench.pl: Identify output arguments and define
12251 static variables for them.
12253 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12256 * Makefile (INSTALL): Add install-plain.texi as the primary
12258 * manual/install-plain.texi: New file.
12259 * manual/install.texi: Include node directive only for
12260 non-plaintext output.
12262 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12264 * stdlib/longlong.h: Update from GCC.
12268 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12269 * math/w_j0f.c (y0f): Likewise.
12270 * math/w_j0l.c (__y0l): Likewise.
12271 * math/w_j1.c (y1): Likewise.
12272 * math/w_j1f.c (y1f): Likewise.
12273 * math/w_j1l.c (__y1l): Likewise
12274 * math/w_jn.c (yn): Likewise.
12275 * math/w_jnf.c (ynf): Likewise.
12276 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12277 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12278 value for Bessel function domain errors outside _SVID_ mode.
12279 Adjust sign of return value for yn (negative integer, 0).
12280 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12281 by zero in return for negative x and set sign appropriately for
12283 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12284 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12285 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12286 expectations in error cases.
12287 (y1_test_data): Likewise.
12288 (yn_test_data): Likewise.
12289 * sysdeps/i386/fpu/libm-test-ulps: Update.
12290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12292 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12294 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12295 "64" to "64-v1". Add "64-v2".
12296 (abi-64-options): Rename to ...
12297 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12298 (abi-64-condition): Rename to ...
12299 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12300 (abi-64-ld-soname): Rename to ...
12301 (abi-64-v1-ld-soname): ... this.
12302 (abi-64-v2-options): Define.
12303 (abi-64-v2-condition): Likewise.
12304 (abi-64-v2-ld-soname): Likewise.
12305 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12306 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12311 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12312 Alan Modra <amodra@gmail.com>
12314 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12315 New versions for use with the ELFv2 ABI.
12316 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12317 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12319 (struct La_ppc64v2_retval): Likewise.
12320 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12321 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12322 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12323 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12324 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12325 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12326 Do not save or restore CR.
12327 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12328 (_dl_profile_resolve): Do no save or restore CR. Support extended
12329 return values for ELFv2 ABI. Fix location of FPR return registers.
12330 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12331 updated values for _CALL_ELF == 2.
12332 (La_regs, La_retval, int_retval): Likewise.
12334 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12336 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12337 (FRAME_MIN_SIZE_PARM): Likewise.
12338 (FRAME_BACKCHAIN): Likewise.
12339 (FRAME_CR_SAVE): Likewise.
12340 (FRAME_LR_SAVE): Likewise.
12341 (FRAME_TOC_SAVE): Likewise.
12342 (FRAME_PARM_SAVE): Likewise.
12343 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12344 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12345 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12346 (call_mcount_parm_offset): New macro.
12347 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12348 (PROF): Use symbolic stack frame offsets.
12349 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12350 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12351 Redefine in terms of FRAME_MIN_SIZE.
12352 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12353 (_dl_profile_resolve): Likewise. Update comment.
12354 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12355 symbols stack frame offsets.
12356 (__sigsetjmp): Likewise.
12357 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12358 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12359 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12360 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12363 (FRAME_BACKCHAIN): Remove.
12364 (FRAME_CR_SAVE): Likewise.
12365 (FRAME_LR_SAVE): Likewise.
12366 (FRAME_COMPILER_DW): Likewise.
12367 (FRAME_LINKER_DW): Likewise.
12368 (FRAME_TOC_SAVE): Likewise.
12369 (FRAME_PARM_SAVE): Likewise.
12370 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12371 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12372 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12374 (CHECK_SP): Use symbolic stack frame offsets.
12375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12376 zone" instead of caller's parameter save area for temp storage.
12377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12378 Likewise. Also, use symbolic stack frame offsets.
12379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12380 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12381 our own stack frame instead of the caller's.
12382 (__socket): Use symbolic stack frame offsets.
12384 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12385 Alan Modra <amodra@gmail.com>
12387 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12389 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12390 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12391 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12393 (elf_machine_fixup_plt): Call it.
12394 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12396 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12397 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12398 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12399 r2 before calling target.
12401 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12402 Alan Modra <amodra@gmail.com>
12404 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12405 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12406 versions of macros to support ELFv2 ABI.
12407 (LOCALENTRY): New macro.
12408 (ENTRY, EALIGN): Use it.
12409 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12410 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12411 fall through into ENTRY entry point.
12412 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12413 Only define if _CALL_ELF != 2.
12415 (elf_machine_matches_host): Verify ABI version matches.
12416 (RTLD_START): Use LOCALENTRY.
12417 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12418 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12419 (PLT_ENTRY_WORDS): New macro.
12420 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12421 (elf_machine_runtime_setup): Support ELFv2 ABI.
12422 (elf_machine_fixup_plt): Likewise.
12423 (elf_machine_plt_conflict): Likewise.
12424 (resolve_ifunc): Likewise.
12425 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12426 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12429 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12431 (makecontext): Support ELFv2 ABI.
12432 * elf/elf.h (EF_PPC64_ABI): Define.
12434 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12436 * sysdeps/powerpc/powerpc64/sysdep.h
12437 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12438 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12439 (ENTRY) [ASSEMBLER]: ... but instead here ...
12440 (EALIGN) [ASSEMBLER]: ... and here.
12441 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12442 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12443 (ENTRY_2) [!ASSEMBLER]: Use it.
12444 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12445 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12446 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12447 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12448 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12450 Use PPC64_LOAD_FUNCPTR.
12452 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12454 2013-12-04 Alan Modra <amodra@gmail.com>
12456 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12457 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12458 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12459 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12461 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12462 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12463 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12464 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12465 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12466 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12468 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12471 (__makecontext): Fix incorrect CFI when backtracing out of
12472 context created via makecontext.
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12474 (__setcontext): Fix incorrect CFI during switch to new context.
12475 (__novec_setcontext): Likewise.
12477 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12480 * time/strptime_l.c (__strptime_internal): Allow modifiers
12482 * time/tst-strptime.c (day_tests): Add testcase.
12484 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12486 * scripts/bench.pl: Skip over blank lines.
12488 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12491 * manual/time.texi (Calendar Time): Clarify what timezone functions
12494 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12498 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12500 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12502 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12503 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12504 * debug/memset_chk.c (__memset_chk): Likewise.
12505 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12506 * debug/strncpy_chk.c: Likewise.
12508 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12512 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12513 (__ieee754_exp): For possibly underflowing results, check size of
12514 result and force underflow exception if required.
12515 * math/auto-libm-test-in: Add more tests of exp.
12516 * math/auto-libm-test-out: Regenerated.
12517 * sysdeps/i386/fpu/libm-test-ulps: Update.
12518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12521 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12522 * math/w_exp2f.c (__exp2f): Likewise.
12523 * math/w_exp2l.c (__exp2l): Likewise.
12524 * math/auto-libm-test-in: Do not allow missing errno on exp2
12526 * math/auto-libm-test-out: Regenerated.
12528 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12531 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12532 handle filename validation.
12533 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12536 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12539 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12540 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12541 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12543 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12545 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12546 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12547 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12548 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12549 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12550 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12551 Add more erfc tests.
12552 * math/auto-libm-test-out: Regenerated.
12553 * sysdeps/i386/fpu/libm-test-ulps: Update.
12554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12556 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12557 exp2, expm1, j0 and j1.
12558 * math/auto-libm-test-out: Regenerated.
12559 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12560 (erfc_test_data): Likewise.
12561 (exp_test_data): Likewise.
12562 (exp_tonearest_test_data): Likewise.
12563 (exp_towardzero_test_data): Likewise.
12564 (exp_downward_test_data): Likewise.
12565 (exp_upward_test_data): Likewise.
12566 (exp10_test_data): Likewise.
12567 (exp2_test_data): Likewise.
12568 (expm1_test_data): Likewise.
12569 (j0_test_data): Likewise.
12570 (j1_test_data): Likewise.
12571 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12572 (input_flag_type): Add flag_xfail_rounding.
12573 (input_flags): Add xfail-rounding.
12574 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12575 (output_for_one_input_case): Handle flag_xfail_rounding.
12576 * sysdeps/i386/fpu/libm-test-ulps: Update.
12577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12579 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12582 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12585 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12588 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12589 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12590 (STAP_PROBE0): New macro.
12591 (STAP_PROBE1): Likewise.
12592 (STAP_PROBE2): Likewise.
12593 (STAP_PROBE3): Likewise.
12594 (STAP_PROBE4): Likewise.
12596 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12598 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12600 2013-12-02 Steve Ellcey <sellcey@mips.com>
12602 * benchtests/Makefile (bench): Add sqrt.
12603 (LDLIBS-bench-sqrt): New.
12604 * benchtests/sqrt-input: New.
12606 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12608 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12609 (GAIH_EAI): Likewise.
12610 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12611 (gaih_inet): Likewise.
12612 (getaddrinfo): Don't use GAIH_EAI.
12614 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12615 (struct gaih): Remove definition.
12617 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12619 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12620 Use HERRNOP directly.
12622 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12626 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12628 * math/gen-auto-libm-tests.c (test_functions): Add more
12629 single-argument functions.
12630 (special_fill_pi_2): New function.
12631 (special_fill_minus_pi_2): Likewise.
12632 (special_fill_pi_6): Likewise.
12633 (special_fill_minus_pi_6): Likewise.
12634 (special_fill_pi_3): Likewise.
12635 (special_fill_2pi_3): Likewise.
12636 (special_fill_e): Likewise.
12637 (special_fill_1_e): Likewise.
12638 (special_fill_e_minus_1): Likewise.
12639 (special_real_inputs): Add more special inputs.
12640 (output_for_one_input_case): Do not require ERANGE on underflow to
12641 zero if round-to-nearest result does not underflow to zero, unless
12642 exact results required.
12643 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12644 atan, atanh, cbrt, cos and cosh.
12645 * math/auto-libm-test-out: Regenerated.
12646 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12647 (acos_tonearest_test_data): Likewise.
12648 (acos_towardzero_test_data): Likewise.
12649 (acos_downward_test_data): Likewise.
12650 (acos_upward_test_data): Likewise.
12651 (acosh_test_data): Likewise.
12652 (asin_test_data): Likewise.
12653 (asin_tonearest_test_data): Likewise.
12654 (asin_towardzero_test_data): Likewise.
12655 (asin_upward_test_data): Likewise.
12656 (asinh_test_data): Likewise.
12657 (atan_test_data): Likewise.
12658 (atanh_test_data): Likewise.
12659 (cbrt_test_data): Likewise.
12660 (cos_test_data): Likewise.
12661 (cos_tonearest_test_data): Likewise.
12662 (cos_towardzero_test_data): Likewise.
12663 (cos_downward_test_data): Likewise.
12664 (cos_upward_test_data): Likewise.
12665 (cosh_test_data): Likewise.
12666 (cosh_tonearest_test_data): Likewise.
12667 (cosh_towardzero_test_data): Likewise.
12668 (cosh_downward_test_data): Likewise.
12669 (cosh_upward_test_data): Likewise.
12670 * sysdeps/i386/fpu/libm-test-ulps: Update.
12671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12673 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12676 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12677 * math/w_exp10f.c (__exp10f): Likewise.
12678 * math/w_exp10l.c (__exp10l): Likewise.
12679 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12680 errno settings in existing tests.
12683 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12684 precision control set to double precision.
12685 * sysdeps/i386/fpu/w_sqrt.c: New file.
12686 * math/auto-libm-test-in: Add more tests.
12687 * math/auto-libm-test-out: Update.
12689 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12690 (sqrt_test_tonearest): New function.
12691 (sqrt_towardzero_test_data): New variable.
12692 (sqrt_test_towardzero): New function.
12693 (sqrt_downward_test_data): New variable.
12694 (sqrt_test_downward): New function.
12695 (sqrt_upward_test_data): New variable.
12696 (sqrt_test_upward): New function.
12697 (main): Call the new functions.
12699 * math/gen-auto-libm-tests.c: New file.
12700 * math/auto-libm-test-in: Likewise.
12701 * math/auto-libm-test-out: New generated file.
12702 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12704 (%beautify): Add generated representations of zero.
12705 (top level): Set $auto_input and call parse_auto_input.
12706 (beautify): Remove trailing "f" from hex float constants.
12707 (parse_args): Handle XFAIL_TEST.
12708 (convert_condition): New function.
12709 (or_value): Likewise.
12710 (or_cond_value): Likewise.
12711 (generate_testfile): Handle AUTO_TESTS_* lines.
12712 (parse_auto_input): New function.
12713 * math/libm-test.inc (XFAIL_TEST): New macro.
12714 (ERRNO_UNCHANGED): Update value.
12715 (ERRNO_EDOM): Likewise.
12716 (ERRNO_ERANGE): Likewise.
12717 (IGNORE_RESULT): Likewise.
12718 (TEST_COND_flt_32): New macro.
12719 (TEST_COND_dbl_64): Likewise.
12720 (TEST_COND_ldbl_96_intel): Likewise.
12721 (TEST_COND_ldbl_96_m68k): Likewise.
12722 (TEST_COND_ldbl_128): Likewise.
12723 (TEST_COND_ldbl_128ibm): Likewise.
12724 (TEST_COND_long32): Likewise.
12725 (TEST_COND_long64): Likewise.
12726 (TEST_COND_before_rounding): Likewise.
12727 (TEST_COND_after_rounding): Likewise.
12728 (enable_test): Handle XFAIL_TEST flag.
12729 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12730 with finite results.
12731 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12732 auto-libm-test-out.
12734 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12735 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12738 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12739 __tls_get_addr_internal instead of __tls_get_offset in order to
12740 avoid GOT pointer dependency. Make rtld export
12741 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12742 __tls_get_addr since we are a __tls_get_offset platform.
12743 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12744 GOT pointer being set up before.
12745 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12747 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12749 * manual/math.texi (Errors in Math Functions): Document accuracy
12753 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12754 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12756 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12757 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12758 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12759 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12761 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12762 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12763 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12766 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12767 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12768 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12770 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12771 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12772 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12773 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12774 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12776 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12778 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12780 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12781 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12782 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12783 atomic-feupdateenv and flt-rounds.
12784 * sysdeps/powerpc/nofpu/Versions (libc): Add
12785 __atomic_feholdexcept, __atomic_feclearexcept,
12786 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12787 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12788 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12789 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12790 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12795 * manual/arith.texi (FP Exceptions): Document that exceptions may
12796 not be raised when matherr is used.
12797 (Math Error Reporting): Document overflow in directed rounding
12798 modes. Document that errno may not be set when finite values are
12799 returned on overflow. Document intent to set errno on underflow
12800 only for underflow to zero.
12803 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12804 round-to-nearest then adjust result for other rounding modes.
12805 * include/fenv.h (fegetround): Use libm_hidden_proto.
12806 * math/fegetround.c (fegetround): Use libm_hidden_def.
12807 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12808 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12809 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12810 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12812 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12813 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12814 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12815 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12817 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12820 * nss/Versions (libnss_files): Add
12821 _nss_files_gethostbyname3_r.
12822 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12824 (HOST_DB_LOOKUP): Remove macro.
12825 (_nss_files_gethostbyname_r): Implement function without the
12826 HOST_DB_LOOKUP macro.
12827 (_nss_files_gethostbyname2_r): Likewise.
12829 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12831 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12833 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12835 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12836 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12839 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12841 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12842 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12843 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12844 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12845 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12846 __fe_nomask_env_priv and attribute_hidden.
12847 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12848 (libc_feupdateenv_test_ppc): Likewise.
12849 (libc_feresetround_ppc): Likewise.
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12851 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12852 compat_symbol macro.
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12854 (__fe_nomask_env): Likewise.
12855 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12857 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12859 * string/Makefile: Remove ifunc tests.
12860 * string/test-string.h: Define TEST_IFUNC.
12861 * string/test-bcopy-ifunc.c: Remove.
12862 * string/test-bzero-ifunc.c: Likewise.
12863 * string/test-memccpy-ifunc.c: Likewise.
12864 * string/test-memchr-ifunc.c: Likewise.
12865 * string/test-memcmp-ifunc.c: Likewise.
12866 * string/test-memcpy-ifunc.c: Likewise.
12867 * string/test-memmem-ifunc.c: Likewise.
12868 * string/test-memmove-ifunc.c: Likewise.
12869 * string/test-mempcpy-ifunc.c: Likewise.
12870 * string/test-memrchr-ifunc.c: Likewise.
12871 * string/test-memset-ifunc.c: Likewise.
12872 * string/test-rawmemchr-ifunc.c: Likewise.
12873 * string/test-stpcpy-ifunc.c: Likewise.
12874 * string/test-stpncpy-ifunc.c: Likewise.
12875 * string/test-strcasecmp-ifunc.c: Likewise.
12876 * string/test-strcasestr-ifunc.c: Likewise.
12877 * string/test-strcat-ifunc.c: Likewise.
12878 * string/test-strchr-ifunc.c: Likewise.
12879 * string/test-strchrnul-ifunc.c: Likewise.
12880 * string/test-strcmp-ifunc.c: Likewise.
12881 * string/test-strcpy-ifunc.c: Likewise.
12882 * string/test-strcspn-ifunc.c: Likewise.
12883 * string/test-strlen-ifunc.c: Likewise.
12884 * string/test-strncasecmp-ifunc.c: Likewise.
12885 * string/test-strncat-ifunc.c: Likewise.
12886 * string/test-strncmp-ifunc.c: Likewise.
12887 * string/test-strncpy-ifunc.c: Likewise.
12888 * string/test-strnlen-ifunc.c: Likewise.
12889 * string/test-strpbrk-ifunc.c: Likewise.
12890 * string/test-strrchr-ifunc.c: Likewise.
12891 * string/test-strspn-ifunc.c: Likewise.
12892 * string/test-strstr-ifunc.c: Likewise.
12894 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12896 * benchtests/Makefile: Remove ifunc tests.
12897 * benchtests/bench-string.h: Define TEST_IFUNC.
12898 * benchtests/bench-bcopy-ifunc.c: Remove.
12899 * benchtests/bench-bzero-ifunc.c: Likewise.
12900 * benchtests/bench-memccpy-ifunc.c: Likewise.
12901 * benchtests/bench-memchr-ifunc.c: Likewise.
12902 * benchtests/bench-memcmp-ifunc.c: Likewise.
12903 * benchtests/bench-memcpy-ifunc.c: Likewise.
12904 * benchtests/bench-memmem-ifunc.c: Likewise.
12905 * benchtests/bench-memmove-ifunc.c: Likewise.
12906 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12907 * benchtests/bench-memrchr-ifunc.c: Likewise.
12908 * benchtests/bench-memset-ifunc.c: Likewise.
12909 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12910 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12911 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12912 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12913 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12914 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12915 * benchtests/bench-strcat-ifunc.c: Likewise.
12916 * benchtests/bench-strchr-ifunc.c: Likewise.
12917 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12918 * benchtests/bench-strcmp-ifunc.c: Likewise.
12919 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12920 * benchtests/bench-strcpy-ifunc.c: Likewise.
12921 * benchtests/bench-strcspn-ifunc.c: Likewise.
12922 * benchtests/bench-strlen-ifunc.c: Likewise.
12923 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12924 * benchtests/bench-strncat-ifunc.c: Likewise.
12925 * benchtests/bench-strncmp-ifunc.c: Likewise.
12926 * benchtests/bench-strncpy-ifunc.c: Likewise.
12927 * benchtests/bench-strnlen-ifunc.c: Likewise.
12928 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12929 * benchtests/bench-strrchr-ifunc.c: Likewise.
12930 * benchtests/bench-strsep-ifunc.c: Likewise.
12931 * benchtests/bench-strspn-ifunc.c: Likewise.
12932 * benchtests/bench-strstr-ifunc.c: Likewise.
12934 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12936 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12938 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12940 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12941 * rt/aio.h: Likewise.
12942 * sysdeps/gnu/bits/utmp.h: Likewise.
12943 * sysdeps/gnu/bits/utmpx.h: Likewise.
12944 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12945 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12946 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12947 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12948 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12949 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12950 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12951 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12952 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12953 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12954 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12955 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12956 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12958 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12959 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12960 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12961 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12962 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12963 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12964 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12965 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12966 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12967 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12968 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12969 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12970 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12971 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12972 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12973 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12974 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12975 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12976 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12977 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12978 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12979 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12980 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12981 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12982 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12983 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12984 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12985 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12987 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12990 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12991 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12993 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12995 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12996 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12999 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13001 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13002 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13003 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13004 (__fesetround): Remove define.
13005 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13006 rounding and exceptions handling.
13007 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13008 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13009 (__fe_nomask_env): Likewise.
13010 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13011 __fegetround instead of fegetround.
13012 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13013 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13015 2013-11-21 Roland McGrath <roland@hack.frob.com>
13017 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13020 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13022 2013-11-21 Meador Inge <meadori@codesourcery.com>
13025 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13026 (encrypt_r): Likewise.
13027 * malloc/obstack.h (obstack_free): Likewise.
13028 * posix/unistd.h (encrypt): Likewise.
13030 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13032 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13033 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13034 DL_CALL_DT_FINI() that call the functions directly.
13035 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13036 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13037 * elf/dl-fini.c: Likewise.
13039 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13041 * malloc/hooks.c (memalign_check): Add alignment rounding.
13042 * malloc/malloc.c (_mid_memalign): New function.
13043 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13044 Implement by calling _mid_memalign.
13045 * manual/probes.texi (Memory Allocation Probes): Remove
13046 memory_valloc_retry and memory_pvalloc_retry.
13048 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13050 * locale/programs/locarchive.c (open_archive): Add const
13051 qualifier to ARCHIVEFNAME and copy default fname to
13055 * libio/tst-widetext.input: Rename Oriya to Odia.
13056 * locale/iso-639.def: Likewise.
13058 * manual/probes.texi (Mathematical Function Probes): Add
13059 documentation for sin, cos, asin and acos probes.
13060 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13061 (__sin32): Add slowasin probe.
13062 (__cos32): Add slowacos probe.
13063 (__mpsin): Add slowsin probe.
13064 (__mpcos): Add slowcos probe.
13066 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13069 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13070 thread-local __sim_exceptions_thread and global
13071 __sim_exceptions_global.
13072 (__sim_disabled_exceptions): Change to thread-local
13073 __sim_disabled_exceptions_thread and global
13074 __sim_disabled_exceptions_global.
13075 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13076 and global __sim_round_mode_global.
13077 (__simulate_exceptions): Use thread-local floating-point state and
13078 set global state from it as needed.
13079 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13080 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13081 __sim_round_mode_thread.
13082 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13083 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13084 and global __sim_exceptions_global.
13085 (__sim_disabled_exceptions): Change to thread-local
13086 __sim_disabled_exceptions_thread and global
13087 __sim_disabled_exceptions_global.
13088 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13089 and global __sim_round_mode_global.
13090 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13091 (SIM_SET_GLOBAL): Likewise.
13092 * sysdeps/powerpc/soft-fp/sfp-machine.h
13093 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13094 __sim_round_mode_thread.
13095 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13096 __sim_disabled_exceptions_thread.
13097 (__sim_exceptions): Change to __sim_exceptions_thread.
13098 (__sim_disabled_exceptions): Change to
13099 __sim_disabled_exceptions_thread.
13100 (__sim_round_mode): Change to __sim_round_mode_thread.
13101 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13102 thread-local floating-point state and set global state from it as
13104 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13105 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13106 (__sim_disabled_exceptions): Remove extern declaration.
13107 (feenableexcept): Use thread-local floating-point state and set
13108 global state from it as needed.
13109 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13110 extern declaration.
13111 (__sim_disabled_exceptions): Likewise.
13112 (__sim_round_mode): Likewise.
13113 (__fegetenv): Use thread-local floating-point state.
13114 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13115 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13116 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13117 floating-point state and set global state from it as needed.
13118 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13119 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13120 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13122 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13123 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13125 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13126 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13127 Use __sim_round_mode_thread.
13128 * math/test-fenv-tls.c: New file.
13129 * math/Makefile (tests): Add test-fenv-tls.
13130 ($(objpfx)test-fenv-tls): Depend on
13131 $(common-objpfx)nptl/libpthread.so.
13133 2013-11-19 Andreas Schwab <schwab@suse.de>
13135 * locale/programs/locale.c (show_info): Decode wordarray elements.
13136 * locale/categories.def (LC_MONETARY): Add element for
13137 _NL_MONETARY_CRNCYSTR.
13138 * locale/C-monetary.c (conversion_rate): New variable.
13139 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13142 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13144 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13145 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13147 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13149 * elf/Makefile (tst-auxv): New test.
13150 * elf/tst-auxv.c: New
13151 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13153 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13155 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13156 (hidden_proto): Caller changed.
13157 (hidden_tls_proto): New macro.
13158 (libc_hidden_tls_proto): Likewise.
13159 (rtld_hidden_tls_proto): Likewise.
13160 (libm_hidden_tls_proto): Likewise.
13161 (libresolv_hidden_tls_proto): Likewise.
13162 (librt_hidden_tls_proto): Likewise.
13163 (libdl_hidden_tls_proto): Likewise.
13164 (libnss_files_hidden_tls_proto): Likewise.
13165 (libnsl_hidden_tls_proto): Likewise.
13166 (libnss_nisplus_hidden_tls_proto): Likewise.
13167 (libutil_hidden_tls_proto): Likewise.
13169 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13172 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13173 (decompose_rpath): Defer expansion to fillin_rpath.
13174 (_dl_init_paths): Pass linkmap to fillin_rpath.
13176 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13178 * benchtests/Makefile: Add strsep.
13179 * benchtests/bench-strsep.c: New file: strsep benchtest.
13180 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13182 2013-11-18 Andreas Schwab <schwab@suse.de>
13184 * locale/programs/locale.c (show_info) [case byte]: Check for
13185 '\377' instead of '\177'.
13186 * locale/C-monetary.c (not_available): Always use "\377".
13187 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13188 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13189 detect unavailable sign_posn locale elements.
13190 * locale/localeconv.c (__localeconv): For grouping and
13191 mon_grouping handle "\177" and "\377" like no grouping.
13192 (INT_ELEM): New macro. Use it to set all numeric members.
13193 * locale/programs/ld-monetary.c (monetary_read)
13194 <tok_mon_grouping>: Normalize single -1 to the empty string.
13195 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13198 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13201 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13202 when we match (nil).
13203 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13205 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13207 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13208 (NO_TEST_INLINE): Update value.
13209 (ERRNO_UNCHANGED): Likewise.
13210 (ERRNO_EDOM): Likewise.
13211 (ERRNO_ERANGE): Likewise.
13212 (IGNORE_RESULT): Likewise.
13213 (check_float_internal): Check signs of NaN results if
13214 TEST_NAN_SIGN used.
13215 (check_complex): Pass TEST_NAN_SIGN flag through to second
13216 check_float_internal call.
13217 (copysign_test_data): Add tests with quiet NaNs as second
13218 argument. Use TEST_NAN_SIGN.
13219 (fabs_test_data): Add test of negative quiet NaN argument. Use
13221 (signbit_test_data): Add tests of quiet NaN argument.
13222 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13224 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13226 (parse_args): Handle function results specified as IGNORE.
13227 * math/libm-test.inc (IGNORE_RESULT): New macro.
13228 (check_float_internal): Do not check numerical result if flag
13230 (check_complex): Pass through IGNORE_RESULT to second
13231 check_float_internal call.
13232 (check_int): Do not check numerical result if flag IGNORE_RESULT
13234 (check_long): Likewise.
13235 (check_bool): Likewise.
13236 (check_longlong): Likewise.
13237 (lrint_test_data): Add tests of infinite and NaN arguments.
13238 (lrint_tonearest_test_data): Likewise.
13239 (lrint_towardzero_test_data): Likewise.
13240 (lrint_downward_test_data): Likewise.
13241 (lrint_upward_test_data): Likewise.
13242 (llrint_test_data): Likewise.
13243 (llrint_tonearest_test_data): Likewise.
13244 (llrint_towardzero_test_data): Likewise.
13245 (llrint_downward_test_data): Likewise.
13246 (llrint_upward_test_data): Likewise.
13247 (lround_test_data): Likewise.
13248 (llround_test_data): Likewise.
13250 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13251 (ERRNO_UNCHANGED): Update value.
13252 (ERRNO_EDOM): Likewise.
13253 (ERRNO_ERANGE): Likewise.
13254 (NO_TEST_INLINE_FLOAT): New macro.
13255 (NO_TEST_INLINE_DOUBLE): Likewise.
13256 (enable_test): New function.
13257 (RUN_TEST_f_f): Check enable_test before running test.
13258 (RUN_TEST_2_f): Likewise.
13259 (RUN_TEST_fff_f): Likewise.
13260 (RUN_TEST_c_f): Likewise.
13261 (RUN_TEST_f_f1): Likewise.
13262 (RUN_TEST_fF_f1): Likewise.
13263 (RUN_TEST_fI_f1): Likewise.
13264 (RUN_TEST_ffI_f1): Likewise.
13265 (RUN_TEST_c_c): Likewise.
13266 (RUN_TEST_cc_c): Likewise.
13267 (RUN_TEST_f_i): Likewise.
13268 (RUN_TEST_f_i_tg): Likewise.
13269 (RUN_TEST_ff_i_tg): Likewise.
13270 (RUN_TEST_f_b): Likewise.
13271 (RUN_TEST_f_b_tg): Likewise.
13272 (RUN_TEST_f_l): Likewise.
13273 (RUN_TEST_f_L): Likewise.
13274 (RUN_TEST_fFF_11): Likewise.
13275 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13277 (cosh_test_data): Likewise.
13278 (exp_test_data): Likewise.
13279 (expm1_test_data): Likewise.
13280 (hypot_test_data): Likewise.
13281 (pow_test_data): Likewise.
13282 (sinh_test_data): Likewise.
13283 (tanh_test_data): Likewise.
13284 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13287 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13288 tests with quiet NaN input and output.
13289 (acosh_test_data): Likewise.
13290 (asin_test_data): Likewise.
13291 (asinh_test_data): Likewise.
13292 (atan_test_data): Likewise.
13293 (atanh_test_data): Likewise.
13294 (atan2_test_data): Likewise.
13295 (cbrt_test_data): Likewise.
13296 (cos_test_data): Likewise.
13297 (cosh_test_data): Likewise.
13298 (erf_test_data): Likewise.
13299 (erfc_test_data): Likewise.
13300 (exp_test_data): Likewise.
13301 (exp10_test_data): Likewise.
13302 (exp2_test_data): Likewise.
13303 (expm1_test_data): Likewise.
13304 (hypot_test_data): Likewise.
13305 (j0_test_data): Likewise.
13306 (j1_test_data): Likewise.
13307 (jn_test_data): Likewise.
13308 (lgamma_test_data): Likewise.
13309 (log_test_data): Likewise.
13310 (log10_test_data): Likewise.
13311 (log1p_test_data): Likewise.
13312 (log2_test_data): Likewise.
13313 (pow_test_data): Likewise.
13314 (scalb_test_data): Likewise.
13315 (sin_test_data): Likewise.
13316 (sincos_test_data): Likewise.
13317 (sinh_test_data): Likewise.
13318 (tan_test_data): Likewise.
13319 (tanh_test_data): Likewise.
13320 (tgamma_test_data): Likewise.
13321 (y0_test_data): Likewise.
13322 (y1_test_data): Likewise.
13323 (yn_test_data): Likewise.
13326 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13327 argument being NaN and avoid computations with second argument in
13329 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13330 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13331 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13333 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13335 * locale/iso-639.def: Add Chitwani Tharu (the).
13337 2013-11-14 Andreas Schwab <schwab@suse.de>
13339 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13340 word instead of empty string.
13342 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13345 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13347 (__fe_nomask_env): Likewise.
13349 2013-11-13 Steve Ellcey <sellcey@mips.com>
13351 * benchtests/bench-timing.h: Include time.h.
13353 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13356 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13358 * sysdeps/unix/sysv/linux/configure: Regenerated.
13360 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13363 * stdlib/strtod_l.c (round_and_return): Do not consider
13364 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13365 exponent one less than half the least subnormal exponent.
13366 * stdlib/test-strtod-round-data: Add more tests.
13367 * stdlib/tst-strtod-round.c (tests): Regenerated.
13369 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13372 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13373 (__fe_mask_env): Likewise.
13374 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13375 libm_hidden_proto and add function prototype.
13376 (__fe_mask_env): Add function prototype.
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13378 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13380 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13382 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13384 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13386 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13387 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13389 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13391 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13392 of htab_find_slot().
13394 2013-11-11 David S. Miller <davem@davemloft.net>
13397 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13398 symbol in the non-vis3 case in static builds.
13399 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13400 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13401 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13402 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13404 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13407 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13410 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13412 * benchtests/Makefile: Add bench-strtod.
13413 * benchtests/bench-strtod.c: New file: strtod benchtest
13415 2013-11-11 Andreas Schwab <schwab@suse.de>
13418 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13419 terminating NUL in key length.
13421 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13423 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13424 Add artificial ODP entry for vDSO symbol for PPC64.
13425 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13426 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13428 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13431 * nss/getent.c (services_keys): Recognize services starting with digit.
13433 2013-11-06 David S. Miller <davem@davemloft.net>
13436 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13437 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13439 2013-11-06 Will Newton <will.newton@linaro.org>
13441 * manual/memory.texi (Malloc Examples): Remove register
13442 keyword from examples.
13444 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13446 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13448 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13451 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13452 depending on [__GCC_IEC_559 > 0].
13453 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13454 depending on [__GCC_IEC_559_COMPLEX > 0].
13456 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13458 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13461 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13463 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13465 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13468 * malloc/malloc (malloc_info): Do not handle first bin as
13471 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13473 * locale/iso-639.def: Add Central Nahuatl (nhn).
13475 2013-11-01 Bruno Haible <bruno@clisp.org>
13478 * manual/math.texi (BSD Random): Specify range upper bound as
13481 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13483 * locale/iso-639.def: Add Meadow Mari (mhr).
13485 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13487 [BZ #14752], [BZ #15763]
13488 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13490 * rt/tst_shm.c: Add test for escaping directory.
13492 2013-10-31 Andreas Schwab <schwab@suse.de>
13495 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13496 followed by 'x' as part of digit sequence.
13497 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13499 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13502 * configure.ac: allow GNU Make 4.0 and greater.
13503 * configure: Regenerated.
13505 2013-10-30 Will Newton <will.newton@linaro.org>
13508 * malloc/hooks.c (memalign_check): Limit alignment to the
13509 maximum representable power of two.
13510 * malloc/malloc.c (__libc_memalign): Likewise.
13511 * malloc/tst-memalign.c (do_test): Add test for very
13512 large alignment values.
13513 * malloc/tst-posix_memalign.c (do_test): Likewise.
13515 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13518 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13519 (munmap_chunk): Likewise.
13520 (mremap_chunk): Likewise.
13522 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13525 * stdlib/div.c (div): Remove obsolete code.
13526 * stdlib/ldiv.c (ldiv): Likewise.
13527 * stdlib/lldiv.c (lldiv): Likewise.
13529 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13532 * nss/nss_files/files-XXX.c (get_contents_ret): New
13534 (get_contents): New function.
13535 (internal_getent): Use it. Expand size of LINEBUFLEN.
13537 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13539 * configure.in: Moved to ...
13540 * configure.ac: ... here. Change reference to configure.in
13542 * sysdeps/arm/preconfigure.ac: ... here.
13543 configure.in to configure.ac.
13544 * sysdeps/gnu/configure.in: Moved to ...
13545 * sysdeps/gnu/configure.ac: ... here.
13546 * sysdeps/i386/configure.in: Moved to ...
13547 * sysdeps/i386/configure.ac: ... here.
13548 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13549 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13550 * sysdeps/mach/configure.in: Moved to ...
13551 * sysdeps/mach/configure.ac: ... here.
13552 * sysdeps/mach/hurd/configure.in: Moved to ...
13553 * sysdeps/mach/hurd/configure.ac: ... here.
13554 * sysdeps/powerpc/configure.in: Moved to ...
13555 * sysdeps/powerpc/configure.ac: ... here.
13556 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13557 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13558 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13559 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13560 * sysdeps/s390/s390-32/configure.in: Moved to ...
13561 * sysdeps/s390/s390-32/configure.ac: ... here.
13562 * sysdeps/s390/s390-64/configure.in: Moved to ...
13563 * sysdeps/s390/s390-64/configure.ac: ... here.
13564 * sysdeps/sh/configure.in: Moved to ...
13565 * sysdeps/sh/configure.ac: ... here.
13566 * sysdeps/sparc/configure.in: Moved to ...
13567 * sysdeps/sparc/configure.ac: ... here.
13568 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13569 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13570 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13571 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13572 * sysdeps/x86_64/configure.in: Moved to ...
13573 * sysdeps/x86_64/configure.ac: ... here.
13574 * sysdeps/x86_64/preconfigure.in: Moved to ...
13575 * sysdeps/x86_64/preconfigure.ac: ... here.
13576 * aclocal.m4: Change reference to configure.in to configure.ac.
13577 * config.h.in: Likewise.
13578 * manual/install.texi: Likewise.
13579 * manual/maint.texi: Likewise.
13580 * Makefile: Likewise.
13581 * malloc/Makefile: Likewise.
13582 * nscd/Makefile: Likewise.
13583 * Makeconfig: Change reference to configure.in and
13584 preconfigure.in to configure.ac and preconfigure.ac
13586 * INSTALL: Regenerated.
13587 * configure: Likewise.
13588 * sysdeps/gnu/configure: Likewise.
13589 * sysdeps/i386/configure: Likewise.
13590 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13591 * sysdeps/mach/configure: Likewise.
13592 * sysdeps/mach/hurd/configure: Likewise.
13593 * sysdeps/powerpc/configure: Likewise.
13594 * sysdeps/powerpc/powerpc32/configure: Likewise.
13595 * sysdeps/powerpc/powerpc64/configure: Likewise.
13596 * sysdeps/s390/s390-32/configure: Likewise.
13597 * sysdeps/s390/s390-64/configure: Likewise.
13598 * sysdeps/sh/configure: Likewise.
13599 * sysdeps/sparc/configure: Likewise.
13600 * sysdeps/unix/sysv/linux/configure: Likewise.
13601 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13602 * sysdeps/x86_64/configure: Likewise.
13603 * sysdeps/x86_64/preconfigure: Likewise.
13605 2013-10-29 Andreas Schwab <schwab@suse.de>
13607 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13609 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13611 * benchtests/pow-inputs: Add new inputs.
13613 * benchtests/exp-inputs: Add new inputs.
13615 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13616 conditional check for return value.
13617 (__cos32): Likewise.
13619 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13621 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13622 to provide a boost for large inputs with word alignment.
13623 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13624 implementation based on optimized PPC64 strcpy.
13625 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13626 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13627 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13628 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13630 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13633 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13635 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13638 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13639 * time/tst-strptime.c (day_tests): Add testcase.
13641 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13644 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13646 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13649 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13650 MAP_FAILED on error.
13652 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13655 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13656 heap for large requests.
13658 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13661 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13662 result if the result has no associated interface.
13663 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13664 interface for all 127.X.Y.Z addresses.
13666 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13668 * locale/iso-639.def: Add Ligurian (lij)
13670 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13673 * sunrpc/rpc_main.c: Document rpcgen -5.
13675 2013-10-19 Michael Stahl <mstahl@redhat.com>
13677 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13679 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13682 * posix/glob.c: Match only directories when trailing slash is present.
13683 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13684 (main): Add testcase.
13686 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13689 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13691 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13693 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13694 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13695 AUTH_DES and cindex for FIPS 140-2.
13696 (DES Encryption): Add cindex FIPS 46-3.
13698 * locale/locarchive.h (struct locarhandle): Add fname.
13699 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13700 if an optional argument was specified to --list-archive,
13702 * locale/programs/locarchive.c (show_archive_content): Take new
13703 argument fname and pass it via ah.fname to open_archive.
13704 * locale/programs/localedef.h: Update decl.
13705 (open_archive): If AH->fname is non-null, open that file
13706 rather than the default file name, and don't ignore ENOENT.
13707 (create_archive): Set AH.fname to NULL.
13708 (delete_locales_from_archive): Likewise.
13709 (add_locales_to_archive): Likewise.
13710 * locale/programs/locfile.c (write_all_categories): Likewise.
13712 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13713 Aldy Hernandez <aldyh@redhat.com>
13715 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13716 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13717 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13718 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13719 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13720 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13721 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13722 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13723 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13724 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13725 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13726 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13727 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13728 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13729 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13731 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13733 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13735 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13737 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13738 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13740 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13741 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13742 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13743 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13745 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13746 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13747 * sysdeps/powerpc/preconfigure: Likewise.
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13750 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13751 Replace contents of file by #include of <fenv_libc.h>.
13752 * sysdeps/powerpc/soft-fp/sfp-machine.h
13753 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13755 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13756 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13757 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13758 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13759 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13760 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13762 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13763 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13764 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13765 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13766 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13768 Allow copysignl PLT reference to be missing.
13770 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13771 Joseph Myers <joseph@codesourcery.com
13774 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13776 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13778 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13780 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13781 * elf/tst-tls1.c: Likewise.
13782 * elf/tst-tls10.h: Likewise.
13783 * elf/tst-tls14.c: Likewise.
13784 * elf/tst-tls2.c: Likewise.
13785 * elf/tst-tls3.c: Likewise.
13786 * elf/tst-tls4.c: Likewise.
13787 * elf/tst-tls5.c: Likewise.
13788 * elf/tst-tls6.c: Likewise.
13789 * elf/tst-tls7.c: Likewise.
13790 * elf/tst-tls8.c: Likewise.
13791 * elf/tst-tls9.c: Likewise.
13792 * elf/tst-tlsmod1.c: Likewise.
13793 * elf/tst-tlsmod13.c: Likewise.
13794 * elf/tst-tlsmod13a.c: Likewise.
13795 * elf/tst-tlsmod14a.c: Likewise.
13796 * elf/tst-tlsmod16a.c: Likewise.
13797 * elf/tst-tlsmod16b.c: Likewise.
13798 * elf/tst-tlsmod2.c: Likewise.
13799 * elf/tst-tlsmod3.c: Likewise.
13800 * elf/tst-tlsmod4.c: Likewise.
13801 * elf/tst-tlsmod5.c: Likewise.
13802 * elf/tst-tlsmod6.c: Likewise.
13804 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13807 * malloc/malloc.c: remove checks for statistics.
13809 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13812 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13813 * inet/tst-network.c: Add testcase.
13815 2013-10-17 Andreas Schwab <schwab@suse.de>
13818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13819 to determine canonical name.
13821 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13823 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13824 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13826 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13828 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13829 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13830 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13831 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13832 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13833 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13834 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13835 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13836 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13837 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13838 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13840 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13841 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13842 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13843 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13844 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13845 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13846 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13847 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13848 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13853 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13876 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13879 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13882 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13885 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13886 make result into a quiet NaN.
13888 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13890 * soft-fp/adddf3.c: Fix horizontal whitespace.
13891 * soft-fp/addsf3.c: Likewise.
13892 * soft-fp/addtf3.c: Likewise.
13893 * soft-fp/divdf3.c: Likewise.
13894 * soft-fp/divsf3.c: Likewise.
13895 * soft-fp/divtf3.c: Likewise.
13896 * soft-fp/double.h: Likewise.
13897 * soft-fp/eqdf2.c: Likewise.
13898 * soft-fp/eqsf2.c: Likewise.
13899 * soft-fp/eqtf2.c: Likewise.
13900 * soft-fp/extenddftf2.c: Likewise.
13901 * soft-fp/extended.h: Likewise.
13902 * soft-fp/extendsfdf2.c: Likewise.
13903 * soft-fp/extendsftf2.c: Likewise.
13904 * soft-fp/extendxftf2.c: Likewise.
13905 * soft-fp/fixdfdi.c: Likewise.
13906 * soft-fp/fixdfsi.c: Likewise.
13907 * soft-fp/fixdfti.c: Likewise.
13908 * soft-fp/fixsfdi.c: Likewise.
13909 * soft-fp/fixsfsi.c: Likewise.
13910 * soft-fp/fixsfti.c: Likewise.
13911 * soft-fp/fixtfdi.c: Likewise.
13912 * soft-fp/fixtfsi.c: Likewise.
13913 * soft-fp/fixtfti.c: Likewise.
13914 * soft-fp/fixunsdfdi.c: Likewise.
13915 * soft-fp/fixunsdfsi.c: Likewise.
13916 * soft-fp/fixunsdfti.c: Likewise.
13917 * soft-fp/fixunssfdi.c: Likewise.
13918 * soft-fp/fixunssfsi.c: Likewise.
13919 * soft-fp/fixunssfti.c: Likewise.
13920 * soft-fp/fixunstfdi.c: Likewise.
13921 * soft-fp/fixunstfsi.c: Likewise.
13922 * soft-fp/fixunstfti.c: Likewise.
13923 * soft-fp/floatdidf.c: Likewise.
13924 * soft-fp/floatdisf.c: Likewise.
13925 * soft-fp/floatditf.c: Likewise.
13926 * soft-fp/floatsidf.c: Likewise.
13927 * soft-fp/floatsisf.c: Likewise.
13928 * soft-fp/floatsitf.c: Likewise.
13929 * soft-fp/floattidf.c: Likewise.
13930 * soft-fp/floattisf.c: Likewise.
13931 * soft-fp/floattitf.c: Likewise.
13932 * soft-fp/floatundidf.c: Likewise.
13933 * soft-fp/floatundisf.c: Likewise.
13934 * soft-fp/floatunditf.c: Likewise.
13935 * soft-fp/floatunsidf.c: Likewise.
13936 * soft-fp/floatunsisf.c: Likewise.
13937 * soft-fp/floatunsitf.c: Likewise.
13938 * soft-fp/floatuntidf.c: Likewise.
13939 * soft-fp/floatuntisf.c: Likewise.
13940 * soft-fp/floatuntitf.c: Likewise.
13941 * soft-fp/fmadf4.c: Likewise.
13942 * soft-fp/fmasf4.c: Likewise.
13943 * soft-fp/fmatf4.c: Likewise.
13944 * soft-fp/gedf2.c: Likewise.
13945 * soft-fp/gesf2.c: Likewise.
13946 * soft-fp/getf2.c: Likewise.
13947 * soft-fp/ledf2.c: Likewise.
13948 * soft-fp/lesf2.c: Likewise.
13949 * soft-fp/letf2.c: Likewise.
13950 * soft-fp/muldf3.c: Likewise.
13951 * soft-fp/mulsf3.c: Likewise.
13952 * soft-fp/multf3.c: Likewise.
13953 * soft-fp/negdf2.c: Likewise.
13954 * soft-fp/negsf2.c: Likewise.
13955 * soft-fp/negtf2.c: Likewise.
13956 * soft-fp/op-1.h: Likewise.
13957 * soft-fp/op-2.h: Likewise.
13958 * soft-fp/op-4.h: Likewise.
13959 * soft-fp/op-8.h: Likewise.
13960 * soft-fp/op-common.h: Likewise.
13961 * soft-fp/quad.h: Likewise.
13962 * soft-fp/single.h: Likewise.
13963 * soft-fp/soft-fp.h: Likewise.
13964 * soft-fp/sqrtdf2.c: Likewise.
13965 * soft-fp/sqrtsf2.c: Likewise.
13966 * soft-fp/sqrttf2.c: Likewise.
13967 * soft-fp/subdf3.c: Likewise.
13968 * soft-fp/subsf3.c: Likewise.
13969 * soft-fp/subtf3.c: Likewise.
13970 * soft-fp/truncdfsf2.c: Likewise.
13971 * soft-fp/trunctfdf2.c: Likewise.
13972 * soft-fp/trunctfsf2.c: Likewise.
13973 * soft-fp/trunctfxf2.c: Likewise.
13974 * soft-fp/unorddf2.c: Likewise.
13975 * soft-fp/unordsf2.c: Likewise.
13976 * soft-fp/unordtf2.c: Likewise.
13978 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13980 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13981 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13983 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13985 * elf/dl-libc.c: Clear initfini list after freeing.
13987 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13989 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13990 * soft-fp/addsf3.c: Likewise.
13991 * soft-fp/addtf3.c: Likewise.
13992 * soft-fp/divdf3.c: Likewise.
13993 * soft-fp/divsf3.c: Likewise.
13994 * soft-fp/divtf3.c: Likewise.
13995 * soft-fp/double.h: Likewise.
13996 * soft-fp/eqdf2.c: Likewise.
13997 * soft-fp/eqsf2.c: Likewise.
13998 * soft-fp/eqtf2.c: Likewise.
13999 * soft-fp/extenddftf2.c: Likewise.
14000 * soft-fp/extended.h: Likewise.
14001 * soft-fp/extendsfdf2.c: Likewise.
14002 * soft-fp/extendsftf2.c: Likewise.
14003 * soft-fp/extendxftf2.c: Likewise.
14004 * soft-fp/fixdfdi.c: Likewise.
14005 * soft-fp/fixdfsi.c: Likewise.
14006 * soft-fp/fixdfti.c: Likewise.
14007 * soft-fp/fixsfdi.c: Likewise.
14008 * soft-fp/fixsfsi.c: Likewise.
14009 * soft-fp/fixsfti.c: Likewise.
14010 * soft-fp/fixtfdi.c: Likewise.
14011 * soft-fp/fixtfsi.c: Likewise.
14012 * soft-fp/fixtfti.c: Likewise.
14013 * soft-fp/fixunsdfdi.c: Likewise.
14014 * soft-fp/fixunsdfsi.c: Likewise.
14015 * soft-fp/fixunsdfti.c: Likewise.
14016 * soft-fp/fixunssfdi.c: Likewise.
14017 * soft-fp/fixunssfsi.c: Likewise.
14018 * soft-fp/fixunssfti.c: Likewise.
14019 * soft-fp/fixunstfdi.c: Likewise.
14020 * soft-fp/fixunstfsi.c: Likewise.
14021 * soft-fp/fixunstfti.c: Likewise.
14022 * soft-fp/floatdidf.c: Likewise.
14023 * soft-fp/floatdisf.c: Likewise.
14024 * soft-fp/floatditf.c: Likewise.
14025 * soft-fp/floatsidf.c: Likewise.
14026 * soft-fp/floatsisf.c: Likewise.
14027 * soft-fp/floatsitf.c: Likewise.
14028 * soft-fp/floattidf.c: Likewise.
14029 * soft-fp/floattisf.c: Likewise.
14030 * soft-fp/floattitf.c: Likewise.
14031 * soft-fp/floatundidf.c: Likewise.
14032 * soft-fp/floatundisf.c: Likewise.
14033 * soft-fp/floatunsidf.c: Likewise.
14034 * soft-fp/floatunsisf.c: Likewise.
14035 * soft-fp/floatuntidf.c: Likewise.
14036 * soft-fp/floatuntisf.c: Likewise.
14037 * soft-fp/floatuntitf.c: Likewise.
14038 * soft-fp/fmadf4.c: Likewise.
14039 * soft-fp/fmasf4.c: Likewise.
14040 * soft-fp/fmatf4.c: Likewise.
14041 * soft-fp/gedf2.c: Likewise.
14042 * soft-fp/gesf2.c: Likewise.
14043 * soft-fp/getf2.c: Likewise.
14044 * soft-fp/ledf2.c: Likewise.
14045 * soft-fp/lesf2.c: Likewise.
14046 * soft-fp/letf2.c: Likewise.
14047 * soft-fp/muldf3.c: Likewise.
14048 * soft-fp/mulsf3.c: Likewise.
14049 * soft-fp/multf3.c: Likewise.
14050 * soft-fp/negdf2.c: Likewise.
14051 * soft-fp/negsf2.c: Likewise.
14052 * soft-fp/negtf2.c: Likewise.
14053 * soft-fp/op-1.h: Likewise.
14054 * soft-fp/op-2.h: Likewise.
14055 * soft-fp/op-4.h: Likewise.
14056 * soft-fp/op-8.h: Likewise.
14057 * soft-fp/op-common.h: Likewise.
14058 * soft-fp/quad.h: Likewise.
14059 * soft-fp/single.h: Likewise.
14060 * soft-fp/soft-fp.h: Likewise.
14061 * soft-fp/sqrtdf2.c: Likewise.
14062 * soft-fp/sqrtsf2.c: Likewise.
14063 * soft-fp/sqrttf2.c: Likewise.
14064 * soft-fp/subdf3.c: Likewise.
14065 * soft-fp/subsf3.c: Likewise.
14066 * soft-fp/subtf3.c: Likewise.
14067 * soft-fp/truncdfsf2.c: Likewise.
14068 * soft-fp/trunctfdf2.c: Likewise.
14069 * soft-fp/trunctfsf2.c: Likewise.
14070 * soft-fp/trunctfxf2.c: Likewise.
14071 * soft-fp/unorddf2.c: Likewise.
14072 * soft-fp/unordsf2.c: Likewise.
14073 * soft-fp/unordtf2.c: Likewise.
14075 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14078 * misc/error.c (error_tail): Fix possible buffer overflow.
14080 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14083 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14086 2013-10-14 P. J. McDermott <pj@pehjota.net>
14089 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14090 testing pipefail option.
14092 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14094 * soft-fp/double.h: Indent preprocessor directives inside #if.
14095 * soft-fp/extended.h: Likewise.
14096 * soft-fp/op-2.h: Likewise.
14097 * soft-fp/op-4.h: Likewise.
14098 * soft-fp/op-common.h: Likewise.
14099 * soft-fp/quad.h: Likewise.
14100 * soft-fp/single.h: Likewise.
14101 * soft-fp/soft-fp.h: Likewise.
14103 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14105 * iconv/iconv_prog.c: Fix typos.
14106 * stdio-common/psiginfo-data.h: Likewise.
14108 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14111 * locale/setlocale.c: Fix typo.
14113 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14116 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14117 signaling NaN arguments.
14118 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14119 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14122 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14123 unordered operands.
14124 * soft-fp/gesf2.c (__gesf2): Likewise.
14125 * soft-fp/getf2.c (__getf2): Likewise.
14126 * soft-fp/ledf2.c (__ledf2): Likewise.
14127 * soft-fp/lesf2.c (__lesf2): Likewise.
14128 * soft-fp/letf2.c (__letf2): Likewise.
14130 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14131 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14132 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14133 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14134 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14135 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14136 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14137 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14138 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14139 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14140 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14141 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14142 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14143 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14144 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14145 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14146 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14147 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14148 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14149 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14150 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14151 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14152 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14153 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14154 * soft-fp/floattidf.c (__floattidf): Likewise.
14155 * soft-fp/floattisf.c (__floattisf): Likewise.
14156 * soft-fp/floattitf.c (__floattitf): Likewise.
14157 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14158 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14159 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14160 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14161 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14162 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14163 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14164 * soft-fp/gesf2.c (__gesf2): Likewise.
14165 * soft-fp/getf2.c (__getf2): Likewise.
14166 * soft-fp/ledf2.c (__ledf2): Likewise.
14167 * soft-fp/lesf2.c (__lesf2): Likewise.
14168 * soft-fp/letf2.c (__letf2): Likewise.
14170 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14171 Undefine and redefine.
14172 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14173 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14174 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14175 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14176 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14177 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14178 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14179 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14180 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14181 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14182 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14183 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14184 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14185 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14186 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14189 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14190 without decrementing exponent if mantissa >= that for the
14191 denominator, not >.
14192 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14193 denominator, not >. Decrement exponent in < case instead of
14194 incrementing in >= case.
14195 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14196 without decrementing exponent if mantissa >= that for the
14197 denominator, not >.
14199 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14200 computing saturated result for unsigned overflow.
14202 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14203 Jeff Law <law@redhat.com>
14205 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14206 (atan2Mp): Add systemtap probe marker.
14207 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14208 (__ieee754_log): Add systemtap probe marker.
14209 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14210 (atanMp): Add systemtap probe marker.
14211 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14212 (tanMp): Add systemtap probe marker.
14213 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14214 (__slowexp): Add systemtap probe marker.
14215 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14216 (__slowpow): Add systemtap probe marker.
14217 * manual/probes.texi: Document probes.
14219 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14222 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14224 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14226 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14227 written to buffer but not flushed.
14228 * libio/iofwrite_u.c: Likewise.
14229 * libio/iopadn.c: Return bytes returned even if EOF was
14231 * libio/iowpadn.c: Likewise.
14232 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14233 if _IO_padn does not write the whole buffer.
14234 [!COMPILE_WPRINTF] (PAD): Likewise.
14236 2013-10-10 David S. Miller <davem@davemloft.net>
14238 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14241 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14243 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14244 instead of FSF address.
14245 * soft-fp/fixdfti.c: Likewise.
14246 * soft-fp/fixsfti.c: Likewise.
14247 * soft-fp/fixtfti.c: Likewise.
14248 * soft-fp/fixunsdfti.c: Likewise.
14249 * soft-fp/fixunssfti.c: Likewise.
14250 * soft-fp/fixunstfti.c: Likewise.
14251 * soft-fp/floattidf.c: Likewise.
14252 * soft-fp/floattisf.c: Likewise.
14253 * soft-fp/floattitf.c: Likewise.
14254 * soft-fp/floatuntidf.c: Likewise.
14255 * soft-fp/floatuntisf.c: Likewise.
14256 * soft-fp/floatuntitf.c: Likewise.
14257 * soft-fp/trunctfxf2.c: Likewise.
14259 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14260 * soft-fp/fixdfti.c: Likewise.
14261 * soft-fp/fixsfti.c: Likewise.
14262 * soft-fp/fixtfti.c: Likewise.
14263 * soft-fp/fixunsdfti.c: Likewise.
14264 * soft-fp/fixunssfti.c: Likewise.
14265 * soft-fp/fixunstfti.c: Likewise.
14266 * soft-fp/floattidf.c: Likewise.
14267 * soft-fp/floattisf.c: Likewise.
14268 * soft-fp/floattitf.c: Likewise.
14269 * soft-fp/floatuntidf.c: Likewise.
14270 * soft-fp/floatuntisf.c: Likewise.
14271 * soft-fp/floatuntitf.c: Likewise.
14272 * soft-fp/trunctfxf2.c: Likewise.
14274 2013-10-10 David S. Miller <davem@davemloft.net>
14276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14278 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14280 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14281 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14282 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14283 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14284 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14285 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14286 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14288 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14289 for NaNs before doing comparisons on argument.
14290 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14293 2013-10-10 Will Newton <will.newton@linaro.org>
14295 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14296 passed to _int_memalign does not overflow.
14298 2013-10-10 Torvald Riegel <triegel@redhat.com>
14300 * scripts/bench.pl: Add include-sources directive.
14301 * benchtests/README: Update documentation.
14303 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14305 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14306 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14307 instead of FP_INIT_ROUNDMODE.
14308 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14309 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14312 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14313 copy class of input value.
14314 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14315 not handle exceptions.
14316 * soft-fp/negsf2.c (__negsf2): Likewise.
14317 * soft-fp/negtf2.c (__negtf2): Likewise.
14318 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14320 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14322 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14323 semicolon. From Linux kernel.
14325 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14327 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14329 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14332 * manual/socket.texi: Added statement about buffer
14333 for gethostbyname2_r.
14335 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14337 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14338 Use .p2align directive instead, throughout.
14339 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14340 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14341 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14342 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14343 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14344 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14345 * sysdeps/x86_64/strchr.S: Likewise.
14346 * sysdeps/x86_64/strrchr.S: Likewise.
14348 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14350 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14352 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14354 * sysdeps/generic/math_private.h (__mpsin1): Remove
14356 (__mpcos1): Likewise.
14357 (__mpsin): New argument __range_reduce.
14358 (__mpcos): Likewise.
14359 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14360 (slow): Use __mpsin and __mpcos.
14364 (sloww1): Likewise.
14365 (sloww2): Likewise.
14366 (bsloww): Likewise.
14367 (bsloww1): Likewise.
14368 (bsloww2): Likewise.
14369 (cslow2): Likewise.
14370 (csloww): Likewise.
14371 (csloww1): Likewise.
14372 (csloww2): Likewise.
14373 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14374 range_reduce. Merge in __mpsin1.
14375 (__mpcos): Likewise.
14376 (__mpsin1): Remove.
14377 (__mpcos1): Likewise.
14379 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14381 * locale/loadlocale.c (_nl_intern_locale_data): Use
14383 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14384 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14385 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14386 obstack data is appropriately aligned.
14387 (obstack_int32_grow_fast): Likewise.
14388 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14389 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14390 (add_locale_uint32_array): Likewise.
14392 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14394 * benchtests/Makefile: Remove ARGLIST and RET variables.
14395 ($(objpfx)bench-%.c): Pass only function name to the script.
14396 * benchtests/README: Update documentation.
14397 * benchtests/acos-inputs: Add new directives.
14398 * benchtests/acosh-inputs: Likewise.
14399 * benchtests/asin-inputs: Likewise.
14400 * benchtests/asinh-inputs: Likewise.
14401 * benchtests/atan-inputs: Likewise.
14402 * benchtests/atanh-inputs: Likewise.
14403 * benchtests/cos-inputs: Likewise.
14404 * benchtests/cosh-inputs: Likewise.
14405 * benchtests/exp-inputs: Likewise.
14406 * benchtests/log-inputs: Likewise.
14407 * benchtests/pow-inputs: Likewise.
14408 * benchtests/rint-inputs: Likewise.
14409 * benchtests/sin-inputs: Likewise.
14410 * benchtests/sinh-inputs: Likewise.
14411 * benchtests/tan-inputs: Likewise.
14412 * benchtests/tanh-inputs: Likewise.
14413 * scripts/bench.pl: Add support for new directives.
14415 2013-10-07 Alan Modra <amodra@gmail.com>
14417 * README: Fix careless merge.
14419 2013-10-05 Alan Modra <amodra@gmail.com>
14421 * NEWS: Mention powerpc64le support and bugs fixed.
14422 * README: Both big-endian and little-endian powerpc64 supported.
14424 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14426 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14427 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14428 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14429 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14431 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14433 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14436 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14438 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14439 Move -mhard-float appending from
14440 ports/sysdeps/powerpc/powerpc32/Makefile.
14441 [$(with-fp) = yes] (ASFLAGS): Likewise.
14442 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14443 * sysdeps/powerpc/nofpu: Move directory from
14444 ports/sysdeps/powerpc/nofpu.
14445 * sysdeps/powerpc/soft-fp: Move directory from
14446 ports/sysdeps/powerpc/soft-fp.
14447 * sysdeps/powerpc/powerpc32/405: Move directory from
14448 ports/sysdeps/powerpc/powerpc32/405.
14449 * sysdeps/powerpc/powerpc32/440: Move directory from
14450 ports/sysdeps/powerpc/powerpc32/440.
14451 * sysdeps/powerpc/powerpc32/464: Move directory from
14452 ports/sysdeps/powerpc/powerpc32/464.
14453 * sysdeps/powerpc/powerpc32/476: Move directory from
14454 ports/sysdeps/powerpc/powerpc32/476.
14455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14456 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14458 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14460 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14462 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14464 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14465 * README: Update for powerpc-*-linux-gnu software floating point
14468 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14469 case to powerpc/powerpc32*.
14470 * sysdeps/unix/sysv/linux/configure: Regenerated.
14472 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14473 (_FPU_MASK_OM): Define as 0x04.
14474 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14475 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14477 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14482 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14485 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14488 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14489 and setcontext_e500.
14491 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14493 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14495 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14497 * manual/threads.texi (Default Thread Attributes): Fix typo.
14499 2013-10-04 Will Newton <will.newton@linaro.org>
14501 * malloc/Makefile: Add tst-memalign.
14502 * malloc/tst-memalign.c: New file.
14504 * malloc/tst-posix_memalign.c: Add comments.
14505 (do_test): Add comments and call free on all potentially
14506 allocated pointers. Add space after cast.
14508 * malloc/tst-pvalloc.c: Add comments.
14509 (do_test): Add comments and call free on all potentially
14510 allocated pointers. Remove duplicate check for NULL pointer.
14511 Add space after cast.
14513 * malloc/tst-valloc.c: Add comments.
14514 (do_test): Add comments and call free on all potentially
14515 allocated pointers. Remove duplicate check for NULL pointer.
14516 Add space after cast.
14518 2013-10-04 Alan Modra <amodra@gmail.com>
14520 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14521 Use stdint types in rather than __attribute__((mode())).
14522 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14524 2013-10-04 Alan Modra <amodra@gmail.com>
14526 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14527 Correct handling of unaligned relocs for little-endian.
14528 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14530 2013-10-04 Alan Modra <amodra@gmail.com>
14532 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14533 * configure: Regenerate.
14534 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14535 * shlib-versions: Likewise.
14537 2013-10-04 Alan Modra <amodra@gmail.com>
14539 * string/tester.c (test_memrchr): Increment reported test cycle.
14541 2013-10-04 Alan Modra <amodra@gmail.com>
14543 * string/test-memcpy.c (do_one_test): When reporting errors, print
14544 string address and don't overrun end of string.
14546 2013-10-04 Alan Modra <amodra@gmail.com>
14548 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14549 insrdi. Make better use of reg selection to speed exit slightly.
14550 Schedule entry path a little better. Remove useless "are we done"
14551 checks on entry to main loop. Handle wrapping around zero address.
14552 Correct main loop count. Handle single left-over word from main
14553 loop inline rather than by using loop_small. Remove extra word
14554 case in loop_small caused by wrong loop count. Add little-endian
14556 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14557 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14559 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14560 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14561 support. Avoid rlwimi.
14562 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14564 2013-10-04 Alan Modra <amodra@gmail.com>
14566 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14567 insrdi. Formatting.
14568 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14569 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14570 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14571 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14572 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14573 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14575 2013-10-04 Alan Modra <amodra@gmail.com>
14577 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14578 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14579 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14580 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14581 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14582 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14583 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14584 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14585 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14586 use of regs. Use power7 mtocrf. Tidy function tails.
14588 2013-10-04 Alan Modra <amodra@gmail.com>
14590 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14591 Formatting. Consistently use rXXX register defines or rN defines.
14592 Use early exit labels that avoid restoring unused non-volatile regs.
14593 Make cr field use more consistent with rWORDn compares. Rename
14594 regs used as shift registers for unaligned loop, using rN defines
14595 for short lifetime/multiple use regs.
14596 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14597 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14598 addi 1,1,64 to pop stack frame. Simplify return value code.
14599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14601 2013-10-04 Alan Modra <amodra@gmail.com>
14603 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14604 support. Correct typos, formatting. Optimize tail. Use insrdi
14605 rather than rlwimi.
14606 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14607 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14608 little-endian support. Correct typos.
14609 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14610 rather than rlwimi.
14611 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14612 in loop and entry code to keep "and." results.
14613 (strchr): Add little-endian support. Comment. Move cntlzd
14615 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14617 2013-10-04 Alan Modra <amodra@gmail.com>
14619 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14620 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14621 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14622 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14624 2013-10-04 Alan Modra <amodra@gmail.com>
14626 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14627 (rTMP): Define as r11.
14628 (strcmp): Add little-endian support. Optimise tail.
14629 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14630 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14631 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14632 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14633 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14634 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14635 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14637 2013-10-04 Alan Modra <amodra@gmail.com>
14639 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14640 little-endian support. Remove unnecessary "are we done" tests.
14641 Handle "s" wrapping around zero and extremely large "size".
14642 Correct main loop count. Handle single left-over word from main
14643 loop inline rather than by using small_loop. Correct comments.
14644 Delete "zero" tail, use "end_max" instead.
14645 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14647 2013-10-04 Alan Modra <amodra@gmail.com>
14649 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14650 support. Don't branch over align.
14651 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14652 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14653 support. Rearrange tmp reg use to suit. Comment.
14654 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14656 2013-10-04 Alan Modra <amodra@gmail.com>
14658 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14660 2013-10-04 Alan Modra <amodra@gmail.com>
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14663 conditional form of branch and link when obtaining pc.
14664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14666 2013-10-04 Alan Modra <amodra@gmail.com>
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14673 2013-10-04 Alan Modra <amodra@gmail.com>
14675 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14676 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14677 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14678 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14679 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14680 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14681 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14682 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14683 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14684 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14686 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14687 Alistair Popple <alistair@ozlabs.au.ibm.com>
14688 Alan Modra <amodra@gmail.com>
14691 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14692 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14693 _dl_hwcap access for little-endian.
14694 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14695 destroy vmx regs when saving unaligned.
14696 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14697 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14698 destroy vmx regs when saving unaligned.
14700 2013-10-04 Alan Modra <amodra@gmail.com>
14702 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14703 Don't use a union to pack hi/low value.
14705 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14707 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14709 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14710 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14711 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14712 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14713 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14715 2013-10-04 Alan Modra <amodra@gmail.com>
14717 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14718 constants to usual value for .cst8 section, and remove redundant
14720 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14721 constant for 0x1p52. Load little-endian words of double from
14722 correct stack offsets.
14724 2013-10-04 Alan Modra <amodra@gmail.com>
14726 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14727 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14728 words of double from correct stack offsets.
14729 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14730 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14731 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14732 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14733 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14734 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14735 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14736 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14737 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14738 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14739 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14740 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14741 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14742 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14743 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14744 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14745 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14747 2013-10-04 Alan Modra <amodra@gmail.com>
14749 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14750 64-bit int/double union.
14751 (_FPU_SETCW): Likewise.
14752 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14753 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14755 2013-10-04 Alan Modra <amodra@gmail.com>
14757 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14758 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14760 2013-10-04 Alan Modra <amodra@gmail.com>
14762 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14763 use vector int constants.
14764 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14766 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14768 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14769 array with long long.
14770 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14771 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14772 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14773 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14774 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14775 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14776 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14777 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14778 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14779 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14780 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14781 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14782 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14784 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14786 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14787 (__signbit): Likewise. Correct for little-endian.
14788 (__signbitl): Call __signbit.
14789 (lrint): Correct for little-endian.
14790 (lrintf): Call lrint.
14792 2013-10-04 Alan Modra <amodra@gmail.com>
14794 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14795 union 32-bit int array member with 64-bit int array.
14796 (t515, tm256): Double rather than long double.
14797 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14799 2013-10-04 Alan Modra <amodra@gmail.com>
14801 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14803 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14804 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14805 version of math_ldbl.h.
14807 2013-10-04 Alan Modra <amodra@gmail.com>
14809 [BZ #15734], [BZ #15735]
14810 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14811 all uses of ieee875 long double macros and unions. Simplify test
14812 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14813 ldbl_extract_mantissa value for ix,iy exponents. Properly
14814 normalize after ldbl_extract_mantissa, and don't add hidden bit
14815 already handled. Don't treat low word of ieee854 mantissa like
14816 low word of IBM long double and mask off bit when testing for
14818 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14819 all uses of ieee875 long double macros and unions. Simplify tests
14820 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14821 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14822 two1022, instead use their values. Recognise that tests for large
14823 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14824 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14825 Rewrite all uses of ieee875 long double macros and unions. Simplify
14826 test for 0.0L and nan. Correct negation.
14827 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14828 ieee875 long double macros and unions. Correct output for large
14829 magnitude x. Correct absolute value calculation.
14830 (__erfcl): Likewise.
14831 * math/libm-test.inc: Add tests for errors discovered in IBM long
14832 double versions of fmodl, remainderl, erfl and erfcl.
14834 2013-10-04 Alan Modra <amodra@gmail.com>
14836 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14837 all uses of ieee854 long double macros and unions. Simplify tests
14838 for long doubles that are fully specified by the high double.
14839 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14841 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14842 Remove dead code too.
14843 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14844 (__ieee754_ynl): Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14846 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14847 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14848 Remove dead code too.
14849 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14850 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14851 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14852 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14854 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14856 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14857 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14858 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14859 Comment on variable precision.
14860 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14863 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14865 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14866 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14867 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14869 2013-10-04 Alan Modra <amodra@gmail.com>
14871 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14872 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14873 all uses of ieee854 long double macros and unions.
14874 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14876 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14877 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14878 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14879 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14881 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14882 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14883 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14884 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14885 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14886 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14887 Simplify sign and nan test too.
14888 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14889 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14890 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14891 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14893 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14894 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14896 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14897 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14898 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14899 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14900 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14903 2013-10-04 Alan Modra <amodra@gmail.com>
14905 * stdio-common/printf_size.c (__printf_size): Don't use
14906 union ieee854_long_double in fpnum union.
14907 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14908 signbit macro to retrieve sign from long double.
14909 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14910 retrieve sign from long double.
14911 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14912 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14913 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14914 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14915 * math/test-misc.c (main): Don't use union ieee854_long_double.
14917 2013-10-04 Alan Modra <amodra@gmail.com>
14920 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14921 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14922 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14923 calculation. Remove unnecessary test for denormal exponent.
14924 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14925 Correct handling of denormals. Avoid undefined shift behaviour.
14926 Correct normalisation of low mantissa when low double is denormal.
14927 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14928 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14929 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14930 Correct normalisation of low mantissa. Test for overflow of high
14931 mantissa and normalise.
14932 (ldbl_nearbyint): Use more readable constant for two52.
14933 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14934 (__mpn_construct_long_double): Fix test for overflow of high
14935 mantissa and correct normalisation. Avoid undefined shift.
14937 2013-10-04 Alan Modra <amodra@gmail.com>
14939 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14940 (union ibm_extended_long_double): Define as an array of ieee754_double.
14941 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14942 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14943 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14944 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14946 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14948 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14953 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14955 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14956 page size instead of calling getpagesize.
14958 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14959 (LOCFILE_ALIGN_MASK): Likewise.
14960 (LOCFILE_ALIGN_UP): Likewise.
14961 (LOCFILE_ALIGNED_P): Likewise.
14962 * locale/programs/ld-collate.c (collate_output): Use the new
14963 macros instead of __alignof__ (int32_t).
14964 * locale/weight.h (findidx): Likewise.
14966 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14969 * manual/string.texi: Fix strncat and wcsncat.
14971 2013-10-03 Brooks Moses <bmoses@google.com>
14974 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14975 * Makerules: ...here, and adjust associated comments.
14977 2013-10-02 Will Newton <will.newton@linaro.org>
14979 * malloc/Makefile: Add tst-pvalloc.
14980 * malloc/tst-pvalloc.c: New file.
14982 2013-10-02 Will Newton <will.newton@linaro.org>
14984 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14985 improve test coverage.
14987 2013-10-02 Will Newton <will.newton@linaro.org>
14989 * malloc/Makefile: Add tst-posix_memalign.
14990 * malloc/tst-posix_memalign.c: New file.
14992 2013-10-01 Eric Blake <eblake@redhat.com>
14994 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14995 Use __THROWNL rather than __THROW on static functions.
14997 2013-09-30 Petr Machata <pmachata@redhat.com>
14999 * elf/elf.h (R_AARCH64_ABS16): New macro.
15000 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15001 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15002 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15003 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15004 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15005 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15006 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15007 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15008 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15009 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15010 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15011 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15012 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15013 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15014 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15015 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15016 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15017 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15018 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15019 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15020 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15021 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15022 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15023 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15024 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15025 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15026 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15027 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15028 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15029 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15030 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15031 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15032 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15033 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15034 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15035 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15036 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15037 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15038 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15039 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15040 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15041 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15042 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15043 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15044 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15045 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15046 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15047 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15048 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15049 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15050 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15051 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15052 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15053 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15054 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15055 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15056 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15057 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15058 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15059 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15060 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15061 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15062 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15063 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15064 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15065 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15066 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15067 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15068 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15069 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15070 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15071 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15072 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15073 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15074 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15075 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15076 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15077 (R_AARCH64_TLSDESC_LDR): Likewise.
15078 (R_AARCH64_TLSDESC_ADD): Likewise.
15079 (R_AARCH64_TLSDESC_CALL): Likewise.
15081 2013-09-30 Andreas Schwab <schwab@suse.de>
15084 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15085 the nss database lookup.
15086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15089 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15091 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15093 2013-09-28 P. J. McDermott <pj@pehjota.net>
15095 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15096 ${Bash-specific parameter/pattern/string} parameter expansion.
15097 * sysdeps/unix/make-syscalls.sh: Likewise.
15099 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15101 * sysdeps/sh/stackguard-macros.h: New file.
15103 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15106 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15107 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15108 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15109 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15110 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15112 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15114 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15115 Fix thread ID register.
15117 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15119 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15120 [POSIX || UNIX98]: Require rather than permitting all symbols from
15122 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15123 element of struct sched_param.
15124 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15125 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15126 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15127 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15130 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15132 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15133 argument calculation.
15135 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15137 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15139 [POSIX] (pthread_attr_t): Do not require type.
15140 [POSIX] (pthread_cond_t): Likewise.
15141 [POSIX] (pthread_condattr_t): Likewise.
15142 [POSIX] (pthread_key_t): Likewise.
15143 [POSIX] (pthread_mutex_t): Likewise.
15144 [POSIX] (pthread_mutexattr_t): Likewise.
15145 [POSIX] (pthread_once_t): Likewise.
15146 [POSIX] (pthread_t): Likewise.
15147 [POSIX-based standards] (pthread_atfork): Expect function.
15149 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15150 Richard Sandiford <richard@codesourcery.com>
15152 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15153 (swap_endianness_p): New extern variable.
15154 (set_big_endian): New inline function.
15155 (maybe_swap_uint32): Likewise.
15156 (maybe_swap_uint32_array): Likewise.
15157 (maybe_swap_uint32_obstack): Likewise.
15158 * locale/programs/locfile.c: Include <stdbool.h>.
15159 (swap_endianness_p): New variable.
15160 (add_locale_uint32): Call maybe_swap_uint32.
15161 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15162 (write_locale_data): Call maybe_swap_uint32_array.
15163 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15165 (obstack_int32_grow_fast): Likewise.
15166 (output_weightwc): Call maybe_swap_uint32_obstack.
15167 (collate_output): Likewise.
15168 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15169 (OPT_LITTLE_ENDIAN): Likewise.
15170 (options): Add --little-endian and --big-endian options.
15171 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15172 * locale/programs/locarchive.c: Include "locfile.h".
15176 (create_archive): Use the new macros to access fields of
15177 structures directly mapped from or written to locale archives.
15178 (oldlocrecentcmp): Likewise.
15179 (enlarge_archive): Likewise.
15180 (insert_name): Likewise.
15181 (add_alias): Likewise.
15182 (add_locale): Likewise.
15183 (delete_locales_from_archive): Likewise.
15184 (show_archive_content): Likewise.
15185 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15188 2013-09-24 Roland McGrath <roland@hack.frob.com>
15190 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15191 http://www.gnu.org/doc/freemanuals.texi.
15192 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15194 2013-09-24 Will Newton <will.newton@linaro.org>
15196 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15199 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15201 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15204 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15206 * manual/threads.texi (POSIX Threads): Fix a typo.
15208 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15211 * string/tst-strcoll-overflow.c: New test case.
15212 * string/Makefile (xtests): Add tst-strcoll-overflow.
15213 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15214 cache if string sizes may cause integer overflow.
15217 * string/strcoll_l.c (coll_seq): New members rule, idx,
15218 save_idx and back_us.
15219 (get_next_seq_nocache): New function.
15220 (do_compare_nocache): New function.
15221 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15224 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15227 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15228 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15229 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15232 * elf/Makefile (tests): Add tst-ptrguard1.
15233 (tests-static): Add tst-ptrguard1-static.
15234 (tst-ptrguard1-ARGS): Define.
15235 (tst-ptrguard1-static-ARGS): Define.
15236 * elf/tst-ptrguard1.c: New file.
15237 * elf/tst-ptrguard1-static.c: New file.
15238 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15239 * sysdeps/i386/stackguard-macros.h: Likewise.
15240 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15241 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15242 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15243 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15244 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15245 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15247 2013-09-23 Hector Marco <hecmargi@upv.es>
15248 Ismael Ripoll <iripoll@disca.upv.es>
15249 Carlos O'Donell <carlos@redhat.com>
15252 * sysdeps/generic/stackguard-macros.h: Define
15253 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15254 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15255 Define __pointer_chk_guard_local.
15256 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15257 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15259 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15262 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15264 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15266 * include/string.h (__ffs): Declare as hidden.
15267 * string/ffs.c (__ffs): Define as hidden.
15268 * sysdeps/i386/ffs.c (__ffs): Likewise.
15269 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15270 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15271 * sysdeps/s390/ffs.c (__ffs): Likewise.
15272 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15274 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15276 * NEWS: Mention malloc probes.
15278 * malloc/arena.c (new_heap): New memory_heap_new probe.
15279 (grow_heap): New memory_heap_more probe.
15280 (shrink_heap): New memory_heap_less probe.
15281 (heap_trim): New memory_heap_free probe.
15282 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15283 (systrim): New memory_sbrk_less probe.
15284 * manual/probes.texi: Document them.
15286 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15287 * manual/probes.texi: Document it.
15289 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15290 (__libc_realloc): Add memory_realloc_retry probe.
15291 (__libc_memalign): Add memory_memalign_retry probe.
15292 (__libc_valloc): Add memory_valloc_retry probe.
15293 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15294 (__libc_calloc): Add memory_calloc_retry probe.
15295 * manual/probes.texi: Document them.
15297 * malloc/arena.c (get_free_list): Add probe
15298 memory_arena_reuse_free_list.
15299 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15300 and memory_arena_reuse.
15301 (arena_get2) [!PER_THREAD]: Likewise.
15302 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15303 memory_arena_reuse_realloc.
15304 * manual/probes.texi: Document them.
15306 * malloc/malloc.c (__libc_free): Add
15307 memory_mallopt_free_dyn_thresholds probe.
15308 (__libc_mallopt): Add multiple memory_mallopt probes.
15309 * manual/probes.texi: Document them.
15311 * malloc/malloc.c: Include stap-probe.h.
15312 (__libc_mallopt): Add memory_mallopt probe.
15313 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15314 * manual/probes.texi: New.
15315 * manual/Makefile (chapters): Add probes.
15316 * manual/threads.texi: Set next node.
15318 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15320 [BZ #15963, #13985]
15321 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15322 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15323 Add `Chinese' to `nan' entry name.
15325 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15327 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15328 (POLYNOMIAL): Likewise.
15329 (TAYLOR_SINCOS): Likewise.
15330 (TAYLOR_SLOW): Likewise.
15331 (__sin): Use TAYLOR_SINCOS.
15333 (slow): Use TAYLOR_SLOW.
15335 (bsloww): Likewise.
15336 (csloww): Likewise.
15338 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15340 * stdlib/strtod_l.c: Fix buffer overrun.
15342 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15344 * benchtests/Makefile (bench): Add sincos.
15345 * benchtests/bench-sincos.c: New file.
15347 * math/libm-test.inc (cos_test_data): New test inputs.
15348 (sin_test_data): Likewise.
15350 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15356 (sloww1): Likewise.
15357 (sloww2): Likewise.
15358 (bsloww1): Likewise.
15359 (bsloww2): Likewise.
15360 (cslow2): Likewise.
15361 (csloww1): Likewise.
15362 (csloww2): Likewise.
15364 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15369 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15373 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15375 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15376 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15377 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15378 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15379 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15380 * elf/cache.c (print_entry): Handle the new cache flags.
15382 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15383 Aldy Hernandez <aldyh@redhat.com>
15385 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15386 Change condition to [_SOFT_FLOAT].
15387 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15388 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15390 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15392 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15393 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15399 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15402 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15405 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15407 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15408 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15409 (__longjmp): Use LOAD_GP to load saved GPRs.
15410 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15411 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15412 (__sigsetjmp): Use SAVE_GP to save GPRs.
15414 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15415 Do not append -msoft-float.
15416 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15418 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15420 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15422 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15425 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15426 (_FPU_GETCW): Use initial "__" on variable and field names but not
15427 on macro parameter name.
15428 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15429 parentheses around reference to macro parameter.
15431 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15433 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15435 (ctype_startup): Use uint32_t in cast and sizeof for
15438 2013-09-11 Jia Liu <proljc@gmail.com>
15440 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15442 [__FreeBSD__]: Likewise.
15444 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15446 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15447 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15448 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15449 (strchr): Remove __strchr_sse42 ifunc selection.
15450 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15451 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15453 2013-09-11 Will Newton <will.newton@linaro.org>
15455 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15456 parameter to RES. Remove hardcoded 1000 value.
15457 * benchtests/bench-skeleton.c (main): Pass RES parameter
15458 to TIMING_INIT and multiply result by 1000.
15460 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15464 2013-09-11 Andreas Schwab <schwab@suse.de>
15466 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15468 (O_TMPFILE) [__USE_GNU]: Define.
15469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15472 2013-09-11 Will Newton <will.newton@linaro.org>
15475 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15478 2013-09-11 Will Newton <will.newton@linaro.org>
15481 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15484 2013-09-11 Will Newton <will.newton@linaro.org>
15487 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15490 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15492 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15493 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15494 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15495 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15496 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15498 2013-09-10 Allan McRae <allan@archlinux.org>
15501 * manual/arith.texi (Parsing of Floats): Clarify
15505 * manual/install.texi (Running make install): Mention
15507 * INSTALL: Regenerated.
15509 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15511 * csu/init-first.c (_init): Remove the !SHARED condition around
15512 FPU control word initialization.
15513 * elf/dl-support.c (_dl_fpu_control): New variable.
15514 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15515 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15516 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15517 * math/test-fpucw-static.c: New file.
15518 * math/test-fpucw-ieee.c: New file.
15519 * math/test-fpucw-ieee-static.c: New file.
15520 * math/Makefile (tests): Add `test-fpucw-ieee' and
15522 (tests-static): New variable.
15523 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15525 [($(build-shared),yes)]
15526 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15528 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15531 2013-09-09 Allan McRae <allan@archlinux.org>
15534 * manual/string.texi (Collation Functions): Fix typo in
15536 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15539 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15542 * libio/memstream.c (open_memstream): Fix memory leak.
15543 * libio/wmemstream.c (open_wmemstream): Likewise.
15546 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15548 2013-09-09 Will Newton <will.newton@linaro.org>
15550 * malloc/Makefile: Add tst-realloc to tests.
15551 * malloc/tst-realloc.c: New file.
15553 2013-09-09 Allan McRae <allan@archlinux.org>
15556 * COPYING: Update from GNU website to fix FSF address.
15557 * COPYING.LIB: Likewise.
15559 2013-09-06 David S. Miller <davem@davemloft.net>
15561 * po/zh_TW.po: Update Chinese (traditional) translation from
15562 translation project.
15564 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15565 Joseph Myers <joseph@codesourcery.com>
15567 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15569 (obstack_chunk_alloc): New macro.
15570 (obstack_chunk_free): Likewise.
15571 (record_offset): New function.
15572 (init_locale_data): Likewise.
15573 (align_locale_data): Likewise.
15574 (add_locale_empty): Likewise.
15575 (add_locale_raw_data): Likewise.
15576 (add_locale_raw_obstack): Likewise.
15577 (add_locale_string): Likewise.
15578 (add_locale_wstring): Likewise.
15579 (add_locale_uint32): Likewise.
15580 (add_locale_uint32_array): Likewise.
15581 (add_locale_char): Likewise.
15582 (start_locale_structure): Likewise.
15583 (end_locale_structure): Likewise.
15584 (start_locale_prelude): Likewise.
15585 (end_locale_prelude): Likewise.
15586 (write_locale_data): Take locale_file structure rather than an
15588 * locale/programs/locfile.h: Include "obstack.h".
15589 (struct locale_file): Change to store locale file contents instead
15591 (init_locale_data): New prototype.
15592 (align_locale_data): Likewise.
15593 (add_locale_empty): Likewise.
15594 (add_locale_raw_data): Likewise.
15595 (add_locale_raw_obstack): Likewise.
15596 (add_locale_string): Likewise.
15597 (add_locale_wstring): Likewise.
15598 (add_locale_uint32): Likewise.
15599 (add_locale_uint32_array): Likewise.
15600 (add_locale_char): Likewise.
15601 (start_locale_structure): Likewise.
15602 (end_locale_structure): Likewise.
15603 (start_locale_prelude): Likewise.
15604 (end_locale_prelude): Likewise.
15605 (write_locale_data): Update prototype.
15606 * locale/programs/3level.h (struct TABLE): Remove result field.
15607 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15608 Use new locale_file interface.
15609 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15610 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15611 * locale/programs/ld-address.c (address_output): Use new
15612 locale_file interface.
15613 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15615 (collate_finish): Don't call collseq_table_finalize.
15616 (collate_output): Use new locale_file interface.
15617 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15619 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15620 (TABLE): Move defines earlier in file.
15621 (ELEMENT): Likewise.
15622 (DEFAULT): Likewise.
15623 (wctrans_table_add): Move macro and inline function earlier in
15625 (struct wctype_table): Move type earlier in file.
15626 (add_locale_wctype_table): New static prototype.
15627 (struct locale_ctype_t): Use logical types instead of struct iovec
15628 pointers for members.
15629 (ctype_output): Use new locale_file interface.
15630 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15631 new locale_file interface.
15632 (allocate_arrays): Update for use of new locale_file interface.
15633 * locale/programs/ld-identification.c (identification_output): Use
15634 new locale_file interface.
15635 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15636 * locale/programs/ld-messages.c (messages_output): Likewise.
15637 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15638 * locale/programs/ld-name.c (name_output): Likewise.
15639 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15640 * locale/programs/ld-paper.c (paper_output): Likewise.
15641 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15642 * locale/programs/ld-time.c (time_output): Likewise.
15644 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15646 * benchtests/Makefile: Add memrchr benchmark.
15647 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15648 benchmark as memrchr.
15649 * benchtests/bench-memrchr-ifunc.c: New file.
15650 * benchtests/bench-memrchr.c: New file.
15652 2013-09-06 Will Newton <will.newton@linaro.org>
15654 * benchtests/Makefile (string-bench): Add memcpy.
15656 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15657 Cong Wang <amwang@redhat.com>
15660 * sysdeps/unix/sysv/linux/bits/in.h
15661 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15662 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15663 before __USE_KERNEL_IPV6_DEFS uses.
15664 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15666 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15667 sockaddr_in6, or ipv6_mreq.
15669 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15671 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15672 memory access for final bytes in some large inputs.
15673 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15675 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15677 * string/test-memrchr.c: New file.
15678 * string/test-memrchr-ifunc.c: New file.
15679 * string/Makefile: Add new memrchr testcase.
15681 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15683 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15684 fanotify_init returns EPERM.
15686 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15688 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15690 (top level): Treat second token from macro or constant entries for
15691 allowed headers as allowed.
15692 * include/complex.h: Condition internal declarations on
15694 * include/fenv.h: Condition include of <stdbool.h> and internal
15695 declarations on [!_ISOMAC].
15697 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15700 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15702 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15704 * configure.in (--enable-versioning): Remove configure option.
15705 (libc_cv_asm_symver_directive): Remove configure test.
15706 (libc_cv_ld_version_script_option): Likewise.
15707 (VERSIONING): Remove variable and AC_SUBST.
15708 (DO_VERSIONING): Remove AC_DEFINE.
15709 * configure: Regenerated.
15710 * config.h.in (DO_VERSIONING): Remove macro.
15711 * Makerules [$(versioning) = yes]: Change conditionals to
15712 [$(build-shared) = yes].
15713 * config.make.in (versioning): Remove variable.
15714 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15715 [$(build-shared) = yes].
15716 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15717 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15718 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15719 [$(build-shared) = yes].
15720 * extra-lib.mk [$(versioning) = yes]: Likewise.
15721 * hurd/Makefile [$(versioning) = yes]: Likewise.
15722 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15724 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15726 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15727 [SHARED && !NO_HIDDEN].
15728 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15730 [SHARED && DO_VERSIONING]: Likewise..
15731 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15732 [$(build-shared) = yes].
15733 * manual/install.texi (--disable-versioning): Remove
15735 * INSTALL: Regenerated.
15736 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15738 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15739 [$(build-shared) = yes].
15740 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15741 * sysdeps/i386/i686/multiarch/strstr-c.c
15742 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15743 [SHARED && !NO_HIDDEN].
15744 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15745 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15746 * sysdeps/powerpc/powerpc32/dl-machine.c
15747 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15748 * sysdeps/powerpc/powerpc32/sysdep.h
15749 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15750 to [SHARED && PIC && !NO_HIDDEN].
15751 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15752 conditional to [SHARED].
15754 2013-09-04 Will Newton <will.newton@linaro.org>
15756 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15757 * benchtests/bench-string.h: Include bench-timing.h instead
15758 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15759 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15760 call to HP_TIMING_DIFF_INIT.
15761 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15762 instead of hp-timing.h macros.
15763 * benchtests/bench-memchr.c: Likewise.
15764 * benchtests/bench-memcmp.c: Likewise.
15765 * benchtests/bench-memcpy.c: Likewise.
15766 * benchtests/bench-memmem.c: Likewise.
15767 * benchtests/bench-memmove.c: Likewise.
15768 * benchtests/bench-memset.c: Likewise.
15769 * benchtests/bench-rawmemchr.c: Likewise.
15770 * benchtests/bench-strcasecmp.c: Likewise.
15771 * benchtests/bench-strcasestr.c: Likewise.
15772 * benchtests/bench-strcat.c: Likewise.
15773 * benchtests/bench-strchr.c: Likewise.
15774 * benchtests/bench-strcmp.c: Likewise.
15775 * benchtests/bench-strcpy.c: Likewise.
15776 * benchtests/bench-strcpy_chk.c: Likewise.
15777 * benchtests/bench-strlen.c: Likewise.
15778 * benchtests/bench-strncasecmp.c: Likewise.
15779 * benchtests/bench-strncat.c: Likewise.
15780 * benchtests/bench-strncmp.c: Likewise.
15781 * benchtests/bench-strncpy.c: Likewise.
15782 * benchtests/bench-strnlen.c: Likewise.
15783 * benchtests/bench-strpbrk.c: Likewise.
15784 * benchtests/bench-strrchr.c: Likewise.
15785 * benchtests/bench-strspn.c: Likewise.
15786 * benchtests/bench-strstr.c: Likewise.
15788 2013-09-04 Will Newton <will.newton@linaro.org>
15790 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15792 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15795 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15796 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15797 * math/libm-test.inc (lgamma_test_data): Add more tests.
15798 * sysdeps/i386/fpu/libm-test-ulps: Update.
15799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15801 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15803 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15804 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15807 Add strcmp-sse2-unaligned
15808 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15810 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15812 * Versions.def (libc): Add GLIBC_2.19.
15814 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15816 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15817 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15819 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15822 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15823 intermediate calculations in recurrence.
15824 (__ieee754_ynf): Likewise.
15825 * math/libm-test.inc (jn_test_data): Do not allow spurious
15826 underflow exception. Add more tests.
15827 (yn_test_data): Add more tests.
15828 * sysdeps/i386/fpu/libm-test-ulps: Update.
15829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15831 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15833 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15835 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15837 * csu/init-first.c: Fix then/than typos.
15838 * locale/programs/ld-collate.c: Likewise.
15839 * locale/programs/linereader.h: Likewise.
15840 * manual/charset.texi: Likewise.
15841 * manual/filesys.texi: Likewise.
15842 * manual/stdio.texi: Likewise.
15843 * manual/string.texi: Likewise.
15844 * stdlib/fmtmsg.c: Likewise.
15845 * sysdeps/i386/stpncpy.S: Likewise.
15846 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15847 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15848 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15849 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15851 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15853 * elf/dl-open.c: Fix typos.
15854 * iconvdata/gbbig5.c: Likewise.
15855 * iconvdata/iso-2022-jp.c: Likewise.
15856 * iconv/gconv_int.h: Likewise.
15857 * iconv/loop.c: Likewise.
15858 * nis/rpcsvc/nis.h: Likewise.
15859 * resolv/ns_name.c: Likewise.
15860 * stdio-common/vfscanf.c: Likewise.
15861 * streams/stropts.h: Likewise.
15862 * sunrpc/rpc_thread.c: Likewise.
15863 * sysdeps/i386/strpbrk.S: Likewise.
15864 * sysdeps/ieee754/k_standard.c: Likewise.
15865 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15866 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15867 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15868 * sysdeps/mach/hurd/profil.c: Likewise.
15869 * sysdeps/s390/dl-procinfo.h: Likewise.
15870 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15871 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15872 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15873 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15874 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15876 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15878 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15879 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15881 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15883 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15884 aix specific files.
15885 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15886 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15887 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15888 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15889 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15890 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15891 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15892 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15894 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15895 Roland McGrath <roland@hack.frob.com>
15897 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15898 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15900 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15902 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15903 __executable_start symbol instead of _start.
15905 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15907 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15908 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15910 * sysdeps/gnu/ldsodefs.h: ... this new file.
15912 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15913 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15914 instead of ELFOSABI_LINUX.
15916 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15917 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15918 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15919 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15921 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15922 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15923 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15925 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15926 (ibm_extended_long_double): Add ieee_nan member.
15927 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15928 (do_test): New function.
15930 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15932 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15933 functions, renamed from truncdfsf_test, trunctfsf_test,
15935 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15937 (do_test): Run all these.
15939 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15941 * argp/argp-help.c: Fix typos.
15942 * argp/argp-parse.c: Likewise.
15943 * debug/backtracesyms.c: Likewise.
15944 * elf/elf.h: Likewise.
15945 * malloc/malloc.c: Likewise.
15946 * nis/nis_print.c: Likewise.
15947 * resolv/res_comp.c: Likewise.
15948 * stdlib/stdlib.h: Likewise.
15949 * sunrpc/clnt_tcp.c: Likewise.
15950 * sunrpc/clnt_udp.c: Likewise.
15951 * sunrpc/clnt_unix.c: Likewise.
15952 * sysdeps/unix/bsd/ptsname.c: Likewise.
15953 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15954 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15961 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15963 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15965 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15968 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15971 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15972 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15973 ($(objpfx)bug-dl-leaf): New rule.
15974 ($(objpfx)bug-dl-leaf.so): Likewise.
15975 ($(objpfx)bug-dl-leaf.out): Likewise.
15976 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15977 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15978 * dlfcn/bug-dl-leaf.c: New test.
15979 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15980 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15981 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15982 (dlclose): Likewise.
15983 (dlmopen): Likewise.
15985 2013-08-27 Roland McGrath <roland@hack.frob.com>
15987 * include/netdb.h [!_ISOMAC]:
15988 Don't include <tls.h>.
15989 (h_errno, __libc_h_errno): Move declaration and macros out of
15992 * include/resolv.h [_RESOLV_H_]:
15993 Don't include <tls.h>.
15994 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15995 * resolv/res_libc.c: Don't include <tls.h>.
15996 (_res): Use __attribute__ ((nocommon)) in place of
15997 __attribute__ ((section (".bss"))).
15999 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16000 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16002 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16004 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16005 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16007 * resolv/res_mkquery.c: Include <sys/time.h>.
16009 * inet/ifreq.c: Moved to ...
16010 * sysdeps/unix/ifreq.c: ... here.
16011 * inet/ifreq.c: New file, true stub version.
16013 * socket/sa_len.c: New file.
16014 * socket/Makefile (aux): Add it.
16015 * sysdeps/unix/sysv/linux/Makefile
16016 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16017 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16018 and #include <socket/sa_len.c>.
16019 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16020 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16022 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16023 * bits/socket.h: ... here.
16025 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16026 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16027 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16029 2013-08-27 Andreas Schwab <schwab@suse.de>
16032 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16033 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16034 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16035 * string/test-strcasecmp.c (test_main): Run tests in several
16037 * string/test-strncasecmp.c (test_main): Likewise.
16039 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16040 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16041 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16042 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16043 (__strncasecmp_ssse3) [PIC]: Likewise.
16045 2013-08-26 Roland McGrath <roland@hack.frob.com>
16047 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16049 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16050 instead of explicitly declaring xdecrypt.
16051 * nis/nss_nis/nis-publickey.c: Likewise.
16053 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16056 * nscd/aicache.c: Include res_hconf.h.
16057 (addhstaiX): Initialize res_hconf.
16059 2013-08-26 Andreas Schwab <schwab@suse.de>
16061 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16062 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16064 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16066 * nscd/aicache.c (addhstaiX): Fix indentation.
16068 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16070 * configure.ac: Quote $build_pt_chown test.
16071 * configure: Regenerated.
16073 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16076 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16077 * math/s_cexpf.c (__cexpf): Likewise.
16078 * math/s_cexpl.c (__cexpl): Likewise.
16079 * math/libm-test.inc (cexp_test_data): Correct expected return
16080 value for NaN + i0. Add another test.
16082 2013-08-22 David S. Miller <davem@davemloft.net>
16084 * po/ca.po: Update Catalan translation from translation project.
16085 * po/uk.po: Add Ukrainian translations from translation project.
16087 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16090 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16091 is infinite, not alongside NaN test.
16092 * math/s_fdimf.c (__fdimf): Likewise.
16093 * math/s_fdiml.c (__fdiml): Likewise.
16094 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16095 errno is unchanged.
16097 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16099 * argp/argp-help.c: Fix typos.
16100 * crypt/speeds.c: Likewise.
16101 * csu/check_fds.c: Likewise.
16102 * elf/dl-load.c: Likewise.
16103 * elf/dl-open.c: Likewise.
16104 * elf/reldep3.c: Likewise.
16105 * elf/reldep.c: Likewise.
16106 * elf/sprof.c: Likewise.
16107 * iconv/iconv_charmap.c: Likewise.
16108 * iconv/skeleton.c: Likewise.
16109 * iconv/strtab.c: Likewise.
16110 * io/lockf64.c: Likewise.
16111 * libio/libioP.h: Likewise.
16112 * resolv/gai_notify.c: Likewise.
16113 * resolv/ns_name.c: Likewise.
16114 * resolv/ns_samedomain.c: Likewise.
16115 * resolv/res_send.c: Likewise.
16116 * stdlib/random.c: Likewise.
16117 * sunrpc/rpc/xdr.h: Likewise.
16118 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16119 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16120 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16121 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16122 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16123 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16124 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16125 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16126 * sysdeps/mach/hurd/check_fds.c: Likewise.
16127 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16128 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16129 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16130 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16131 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16132 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16133 * sysdeps/pthread/aio_notify.c: Likewise.
16134 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16135 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16136 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16137 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16138 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16140 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16142 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16143 version if bit_Slow_SSE4_2 is set.
16144 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16145 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16147 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16150 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16151 trampoline stack frame information.
16152 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16153 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16154 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16155 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16156 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16157 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16158 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16159 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16161 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16162 interrupting a syscall and set with option SA_SIGINFO.
16164 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16167 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16168 argument is infinite.
16169 * math/s_cprojf.c (__cprojf): Likewise.
16170 * math/s_cprojl.c (__cprojl): Likewise.
16171 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16172 * math/libm-test.inc (cproj_test_data): Add more tests.
16174 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16176 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16177 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16178 size. Use __ffs to determine corresponding shift.
16180 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16181 Roland McGrath <roland@hack.frob.com>
16183 * Makefile (INSTALL): Remove trailing blank lines from output of
16186 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16188 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16189 Align 32 bit compat elf_greg to 8 bytes.
16191 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16193 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16195 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16197 * string/strcoll_l.c (coll_seq): New structure.
16198 (get_next_seq_cached): New function.
16199 (get_next_seq): New function.
16200 (do_compare): New function.
16201 (STRCOLL): Use GNU style definition. Simplify implementation
16202 by using get_next_seq, get_next_seq_cached and do_compare.
16204 2013-08-16 Florian Weimer <fweimer@redhat.com>
16208 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16210 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16212 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16213 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16214 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16216 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16217 GETDENTS_64BIT_ALIGNED.
16218 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16219 * manual/filesys.texi (Reading/Closing Directory): Document
16220 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16222 * manual/conf.texi (Limits for Files): Add portability note to
16223 NAME_MAX, PATH_MAX.
16224 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16226 2013-08-13 Andreas Schwab <schwab@suse.de>
16229 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16231 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16232 LDBL_MAX_EXP >= 16384]: Add tests for it.
16234 2013-08-12 David S. Miller <davem@davemloft.net>
16236 * version.h (RELEASE): Set to "development".
16237 (VERSION): Set to "2.18.90".
16238 * NEWS: Add 2.19 section.
16240 2013-08-03 David S. Miller <davem@davemloft.net>
16242 * po/ko.po: Update Korean translation from translation project.
16244 2013-08-01 David S. Miller <davem@davemloft.net>
16246 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16247 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16250 2013-07-30 David S. Miller <davem@davemloft.net>
16252 * po/fr.po: Update French translation from translation project.
16254 2013-07-28 David S. Miller <davem@davemloft.net>
16256 * po/cs.po: Update Czech translation from translation project.
16258 * po/sv.po: Update Swedish translation from translation project.
16260 2013-07-27 David S. Miller <davem@davemloft.net>
16262 * po/eo.po: Update Esperanto translation from translation project.
16264 * po/vi.po: Update Vietnamese translation from translation project.
16266 * po/de.po: Update German translation from translation project.
16268 2013-07-26 David S. Miller <davem@davemloft.net>
16270 * po/bg.po: Update Bulgarian translation from translation project.
16272 * po/nl.po: Update Dutch translation from translation project.
16273 * po/pl.po: Update Polish translation from translation project.
16274 * po/ru.po: Update Russian translation from translation project.
16276 2013-07-24 David S. Miller <davem@davemloft.net>
16278 * po/libc.pot: Update.
16280 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16282 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16283 variable page size.
16284 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16285 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16286 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16288 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16290 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16292 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16293 Andreas Schwab <schwab@suse.de>
16294 Roland McGrath <roland@hack.frob.com>
16295 Joseph Myers <joseph@codesourcery.com>
16296 Carlos O'Donell <carlos@redhat.com>
16299 * config.h.in: Define HAVE_PT_CHOWN.
16300 * config.make.in (build-pt-chown): New variable.
16301 * configure.in (--enable-pt_chown): New configure option.
16302 * configure: Regenerate.
16303 * login/Makefile: Include Makeconfig. Build pt_chown only if
16304 build-pt-chown is enabled.
16305 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16306 pt_chown to fix pty ownership.
16307 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16309 * manual/install.texi (Configuring and compiling): Mention
16310 --enable-pt_chown. Add @findex for grantpt.
16311 * INSTALL: Regenerate.
16313 2013-07-20 David S. Miller <davem@davemloft.net>
16315 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16316 difference between 32-bit and 64-bit.
16318 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16321 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16322 Avoid system header dependency with -ffreestanding.
16323 ($(objpfx)bits/syscall%d): Likewise.
16325 2013-07-13 David S. Miller <davem@davemloft.net>
16327 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16328 underflows from atanl/atan2l due to bug 15319.
16329 (casinh_test_data): Likewise.
16331 2013-07-07 David S. Miller <davem@davemloft.net>
16333 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16335 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16337 * sysdeps/i386/fpu/libm-test-ulps: Update.
16338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16340 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16342 * configure.in (--enable-lock-elision): Fix message text.
16343 * INSTALL: Regenerate.
16344 * configure: Regenerate.
16346 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16350 2013-07-03 Andreas Jaeger <aj@suse.de>
16352 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16354 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16355 (ptrace_peeksiginfo_args): Add.
16356 (__ptrace_peeksiginfo_flags): Add.
16357 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16358 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16359 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16361 2013-07-03 Allan McRae <allan@archlinux.org>
16363 * sysdeps/i386/fpu/libm-test-ulps: Update.
16365 2013-07-02 David S. Miller <davem@davemloft.net>
16367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16369 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16373 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16375 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16378 2013-07-02 Andi Kleen <ak@linux.intel.com>
16380 * config.h.in (ENABLE_LOCK_ELISION): Add.
16381 * configure.in (--enable-lock-elision): Add option.
16382 * manual/install.texi: Document --enable lock elision.
16383 * configure: Regenerate
16384 * INSTALL: Regenerate.
16386 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16388 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16389 SSE4.2 strcasecmp for libc.a.
16390 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16392 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16395 * soft-fp/op-common.h (_FP_FMA): New macro.
16396 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16397 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16398 (_FP_MUL_MEAT_1_imm): ... here.
16399 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16400 (_FP_MUL_MEAT_1_wide): ... here.
16401 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16402 (_FP_MUL_MEAT_1_hard): ... here.
16403 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16404 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16405 (_FP_MUL_MEAT_2_wide): ... here.
16406 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16407 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16408 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16409 (_FP_MUL_MEAT_2_gmp): ... here.
16410 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16411 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16412 (_FP_MUL_MEAT_4_wide): ... here.
16413 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16414 (_FP_MUL_MEAT_4_gmp): ... here.
16415 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16416 (_FP_WFRACBITS_DW_S): Likewise.
16417 (_FP_WFRACXBITS_DW_S): Likewise.
16418 (_FP_HIGHBIT_DW_S): Likewise.
16419 (FP_FMA_S): Likewise.
16420 (_FP_FRAC_HIGH_DW_S): Likewise.
16421 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16422 (_FP_WFRACBITS_DW_D): Likewise.
16423 (_FP_WFRACXBITS_DW_D): Likewise.
16424 (_FP_HIGHBIT_DW_D): Likewise.
16425 (FP_FMA_D): Likewise.
16426 (_FP_FRAC_HIGH_DW_D): Likewise.
16427 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16428 (_FP_WFRACBITS_DW_E): Likewise.
16429 (_FP_WFRACXBITS_DW_E): Likewise.
16430 (_FP_HIGHBIT_DW_E): Likewise.
16431 (FP_FMA_E): Likewise.
16432 (_FP_FRAC_HIGH_DW_E): Likewise.
16433 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16434 (_FP_WFRACBITS_DW_Q): Likewise.
16435 (_FP_WFRACXBITS_DW_Q): Likewise.
16436 (_FP_HIGHBIT_DW_Q): Likewise.
16437 (FP_FMA_Q): Likewise.
16438 (_FP_FRAC_HIGH_DW_Q): Likewise.
16439 * soft-fp/fmasf4.c: New file.
16440 * soft-fp/fmadf4.c: Likewise.
16441 * soft-fp/fmatf4.c: Likewise.
16443 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16446 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16448 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16450 (index_Slow_SSE4_2): Likewise.
16451 (index_Prefer_PMINUB_for_stringop): Likewise.
16452 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16453 bit_Slow_SSE4_2 is set.
16454 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16455 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16457 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16459 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16460 rtld_global._dl_hwcap2.
16461 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16463 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16464 POWER8 feature descriptions defined in _dl_hwcap2.
16465 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16466 string handling for POWER8 feature bits.
16467 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16468 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16469 _dl_powerpc_cap_flags.
16470 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16471 * sysdeps/powerpc/rtld-global-offsets.sym
16472 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16473 _dl_hwcap2 in the rtld_global_ro structure.
16475 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16477 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16478 hardware capabilities in support of AT_HWCAP2.
16479 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16480 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16482 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16483 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16484 explicitly the unknown a_type display mechanism is used.
16485 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16486 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16488 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16489 to macro prototype for AT_HWCAP2 support.
16490 * sysdeps/i386/dl-procinfo.h: Likewise.
16491 * sysdeps/s390/dl-procinfo.h: Likewise.
16492 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16493 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16494 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16495 return -1 for unknown a_type display fallback.
16496 * sysdeps/sparc/dl-procinfo.h: Likewise.
16497 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16498 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16500 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16502 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16503 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16505 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16508 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16509 mprotect making __stack_prot writable.
16511 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16512 Joseph Myers <joseph@codesourcery.com>
16514 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16515 as being properly aligned.
16517 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16519 * dlfcn/modstatic5.c: New file.
16520 * dlfcn/tststatic5.c: New file.
16521 * dlfcn/Makefile (tests): Add tststatic5.
16522 (tests-static): Likewise.
16523 (modules-names): Add modstatic5.
16524 (tststatic5-ENV): New variable.
16525 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16528 * elf/dl-support.c (_dl_main_map): New variable.
16529 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16530 (_dl_nns, _dl_load_adds): Set to 1.
16531 (_dl_initial_searchlist): Refer to _dl_main_map.
16532 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16533 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16534 call to _dl_get_origin.
16535 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16537 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16538 * dlfcn/modstatic3.c: New file.
16539 * dlfcn/tststatic3.c: New file.
16540 * dlfcn/tststatic4.c: New file.
16541 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16542 (tests-static): Likewise.
16543 (modules-names): Add modstatic3.
16544 (tststatic3-ENV, tststatic4-ENV): New variables.
16545 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16546 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16548 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16550 * configure.in (CC): Require GCC version 4.4 or later.
16551 * configure: Regenerated.
16552 * manual/install.texi (Tools for Compilation): Update GCC version
16554 * INSTALL: Regenerated.
16556 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16559 * string/test-memcmp.c (check2): New.
16560 (main): Call check2.
16562 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16564 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16567 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16569 (dl_open_worker) [!SHARED]: ... here.
16571 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16573 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16575 2013-06-25 Richard Henderson <rth@redhat.com>
16577 * locale/programs/locarchive.c: Include <libc-internal.h>
16579 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16581 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16582 trailing whitespace removed.
16584 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16587 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16588 * locale/programs/locarchive.c: Include libc-mmap.h.
16589 (prepare_address_space): Take two new outputs (the mmap base and len).
16590 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16592 (create_archive): Declare new mmap base and len values for
16593 prepare_address_space, and store the result in ah.
16594 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16595 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16596 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16597 Declare new mmap base and len values for
16598 prepare_address_space, and store the result in new_ah.
16599 (open_archive): Declare new mmap base and len values for
16600 prepare_address_space, and store the result in ah.
16601 (close_archive): If ah->mmap_base is not NULL, use that and
16602 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16603 * sysdeps/generic/libc-mmap.h: New file.
16605 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16607 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16608 (ALIGN_UP): Likewise.
16609 (PTR_ALIGN_DOWN): Likewise.
16610 (PTR_ALIGN_UP): Likewise.
16612 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16614 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16615 entry mapped to PPC_PLATFORM_POWER8.
16616 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16618 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16619 (_dl_string_platform): Add case for exporting platform position for
16621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16622 search path to sysdeps/powerpc/powerpc32/power8 directory.
16623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16624 search path to sysdeps/powerpc/powerpc64/power8 directory.
16625 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16626 power7 directories.
16627 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16628 power7 directories.
16630 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16632 * INSTALL: Regenerate.
16634 * nscd/connections.c (nscd_init): Fix comment.
16636 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16638 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16641 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16642 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16644 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16646 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16648 (DL_DST_REQ_STATIC): Remove macro.
16650 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16653 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16654 with a shift of 0 bits.
16656 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16658 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16661 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16664 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16666 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16668 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16669 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16670 accepts -fno-tree-loop-distribute-patterns.
16671 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16672 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16674 * string/memset.c (memset): Likewise.
16675 * string/test-memmove.c (simple_memmove): Disable loop transformation
16677 * string/test-memset.c (simple_memset): Likewise.
16678 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16679 * benchtests/bench-memset.c (simple_memset): Likewise.
16680 * configure: Regenerated.
16682 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16684 * math/test-misc.c (main): Ignore fesetround failure when failures
16685 of subsequent rounding tests would be ignored.
16688 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16689 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16690 * math/fegetenv.c (__fegetenv): Return 0.
16691 * math/fegetexcept.c (fegetexcept): Return 0.
16692 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16694 * math/feholdexcpt.c (feholdexcept): Return 0.
16695 * math/fesetenv.c (__fesetenv): Return 0.
16696 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16697 argument FE_TONEAREST.
16698 * math/feupdateenv.c (__feupdateenv): Return 0.
16699 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16701 2013-06-18 Roland McGrath <roland@hack.frob.com>
16703 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16704 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16705 ($(objpfx)rtld-%.os rules): Use them.
16707 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16709 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16712 2013-06-17 Roland McGrath <roland@hack.frob.com>
16714 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16715 length of target pattern, then descending length of dependency pattern.
16716 * configure.in (AWK): Require gawk 3.1.2 or newer.
16717 * manual/install.texi (Tools for Compilation): Say that we do.
16718 * configure: Regenerated.
16720 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16721 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16722 * scripts/sysd-rules.awk: ... this new script.
16723 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16724 than a glob-style pattern.
16726 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16728 * math/test-misc.c (main): Do not treat incorrectly rounded
16729 conversions as failure unless ROUNDING_TESTS passes.
16731 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16734 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16735 restore exception state around main square root computation, then
16736 check for inexactness explicitly.
16738 * math/libm-test.inc (fma_test_data): Add another test.
16740 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16742 * manual/threads.texi (Non-POSIX Extensions): New document
16743 node. Document pthread_getattr_default_np and
16744 pthread_setattr_default_np.
16746 * Versions.def (libpthread): Add GLIBC_2.18.
16747 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16756 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16767 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16770 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16772 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16773 H.J. Lu <hjl.tools@gmail.com>
16776 * sysdeps/x86_64/rtld-memset.c: Remove file.
16777 * sysdeps/x86_64/rtld-memset.S: New file.
16779 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16781 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16782 (test_in_one_mode): Take arguments for whether the rounding mode
16783 is supported for each floating-point type.
16784 (do_test): Pass new arguments to test_in_one_mode using
16787 2013-06-13 Roland McGrath <roland@hack.frob.com>
16789 * posix/tst-waitid.c (do_test): Distinguish different instances of
16790 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16791 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16792 before entering the kernel for waitpid.
16794 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16796 * NEWS: Fix note on clock function precision. Text by Roland
16799 2013-06-13 Roland McGrath <roland@hack.frob.com>
16801 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16802 it into place only when and if the sanity check passes.
16804 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16806 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16807 output for whether conversion result is exact. Take argument
16808 indicating whether type is IBM long double.
16809 (round_for_all): Change need_exact field to ibm_ld.
16810 * stdlib/tst-strtod-round.c (struct exactness): New type.
16811 (struct test): Change bool ld_ok field to struct exactness exact.
16812 (TEST): Update all definitions for change to field.
16813 (tests): Regenerate array contents.
16814 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16815 field value. Check for IBM long double here.
16816 (do_test): Update calls to test_in_one_mode.
16818 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16821 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16822 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16824 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16827 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16828 generated by the compiler on loop optimizations.
16829 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16830 general definitions.
16832 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16834 * math/bug-nextafter.c: Include <math-tests.h>.
16835 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16837 * math/bug-nexttoward.c: Include <math-tests.h>.
16838 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16840 * math/test-misc.c: Include <math-tests.h>.
16841 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16844 2013-06-12 Andreas Jaeger <aj@suse.de>
16846 * po/ia.po: Update Interlingua translation from translation
16849 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16851 * include/fenv.h: Include stdbool.h.
16852 (struct rm_ctx): New structure.
16853 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16855 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16856 (SET_RESTORE_ROUNDF): Likewise.
16857 (SET_RESTORE_ROUNDL): Likewise.
16858 (SET_RESTORE_ROUND_NOEX): Likewise.
16859 (SET_RESTORE_ROUND_NOEXF): Likewise.
16860 (SET_RESTORE_ROUND_NOEXL): Likewise.
16861 (SET_RESTORE_ROUND_53BIT): Likewise.
16862 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16863 (libc_feresetround_noexf_ctx): Likewise.
16864 (libc_feresetround_noexl_ctx): Likewise.
16865 (libc_feholdsetround_53bit_ctx): Likewise.
16866 (libc_feresetround_53bit_ctx): Likewise.
16867 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16868 (libc_feholdexcept_setround_sse_ctx): New function.
16869 (libc_fesetenv_sse_ctx): Likewise.
16870 (libc_feupdateenv_sse_ctx): Likewise.
16871 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16872 (libc_feholdexcept_setround_387_ctx): Likewise.
16873 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16874 (libc_feholdsetround_387_prec_ctx): Likewise.
16875 (libc_feholdsetround_387_ctx): Likewise.
16876 (libc_feholdsetround_387_53bit_ctx): Likewise.
16877 (libc_feholdsetround_sse_ctx): Likewise.
16878 (libc_feresetround_sse_ctx): Likewise.
16879 (libc_feresetround_387_ctx): Likewise.
16880 (libc_feupdateenv_387_ctx): Likewise.
16881 (libc_feholdexcept_setroundf_ctx): Define macro.
16882 (libc_fesetenvf_ctx): Likewise.
16883 (libc_feupdateenvf_ctx): Likewise.
16884 (libc_feholdsetroundf_ctx): Likewise.
16885 (libc_feresetroundf_ctx): Likewise.
16886 (libc_feholdexcept_setround_ctx): Likewise.
16887 (libc_fesetenv_ctx): Likewise.
16888 (libc_feupdateenv_ctx): Likewise.
16889 (libc_feholdsetround_ctx): Likewise.
16890 (libc_feresetround_ctx): Likewise.
16891 (libc_feholdexcept_setroundl_ctx): Likewise.
16892 (libc_feupdateenvl_ctx): Likewise.
16893 (libc_feholdsetroundl_ctx): Likewise.
16894 (libc_feresetroundl_ctx): Likewise.
16895 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16896 (libc_feresetround_53bit_ctx): Likewise.
16898 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16900 * locale/iso-639.def: Convert to UTF-8.
16902 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16904 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16905 (EXCEPTION_TESTS_double): Likewise.
16906 (EXCEPTION_TESTS_long_double): Likewise.
16907 (EXCEPTION_TESTS): Likewise.
16908 * math/libm-test.inc (test_exceptions): Only test exceptions if
16909 EXCEPTION_TESTS (FLOAT).
16911 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16913 * benchtests/Makefile (string-bench): Add strcpy_chk and
16915 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16916 * benchtests/bench-stpcpy_chk.c: New file.
16917 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16918 * benchtests/bench-strcpy_chk.c: New file.
16919 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16921 (do_test): Likewise.
16923 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16925 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16926 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16927 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16928 with tabs where appropriate.
16929 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16931 [PPC_PLATFORM_PPC440]: Likewise.
16932 [PPC_PLATFORM_PPC464]: Likewise.
16933 [PPC_PLATFORM_PPC476]: Likewise.
16934 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16935 ppc464, and ppc476 platform strings merging from ports/
16938 2013-06-11 Andreas Schwab <schwab@suse.de>
16941 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16942 (from_ucs4_idx): Regenerate.
16943 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16944 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16945 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16946 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16947 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16948 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16949 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16950 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16951 from FROM_LOOP and TO_LOOP specific macros.
16952 (BODY): Handle combining characters.
16953 * iconvdata/BIG5HKSCS.irreversible: Update.
16954 * iconvdata/BIG5HKSCS.precomposed: New file.
16955 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16957 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16959 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16961 * include/sys/time.h: Fix indentation and add copyright header.
16963 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16964 (do_test): Likewise.
16965 * string/test-memchr.c (do_one_test): Likewise.
16966 (do_test): Likewise.
16967 * string/test-memcmp.c (do_one_test): Likewise.
16968 (do_test): Likewise.
16969 * string/test-memcpy.c (do_one_test): Likewise.
16970 (do_test): Likewise.
16971 * string/test-memmem.c (do_one_test): Likewise.
16972 (do_test): Likewise.
16973 (do_random_tests): Likewise.
16974 * string/test-memmove.c (do_one_test): Likewise.
16975 (do_test): Likewise.
16976 * string/test-memset.c (do_one_test): Likewise.
16977 (do_test): Likewise.
16978 * string/test-rawmemchr.c (do_one_test): Likewise.
16979 (do_test): Likewise.
16980 * string/test-strcasecmp.c (do_one_test): Likewise.
16981 (do_test): Likewise.
16982 * string/test-strcasestr.c (do_one_test): Likewise.
16983 (do_test): Likewise.
16984 * string/test-strcat.c (do_one_test): Likewise.
16985 (do_test): Likewise.
16986 * string/test-strchr.c (do_one_test): Likewise.
16987 (do_test): Likewise.
16988 * string/test-strcmp.c (do_one_test): Likewise.
16989 (do_test): Likewise.
16990 * string/test-strcpy.c (do_one_test): Likewise.
16991 (do_test): Likewise.
16992 * string/test-string.h: Likewise.
16993 (test_init): Likewise.
16994 * string/test-strlen.c (do_one_test): Likewise.
16995 (do_test): Likewise.
16996 * string/test-strncasecmp.c (do_one_test): Likewise.
16997 (do_test): Likewise.
16998 * string/test-strncat.c (do_one_test): Likewise.
16999 (do_test): Likewise.
17000 * string/test-strncmp.c (do_one_test): Likewise.
17001 (do_test_limit): Likewise.
17002 (do_test): Likewise.
17003 * string/test-strncpy.c (do_one_test): Likewise.
17004 (do_test): Likewise.
17005 * string/test-strnlen.c (do_one_test): Likewise.
17006 (do_test): Likewise.
17007 * string/test-strpbrk.c (do_one_test): Likewise.
17008 (do_test): Likewise.
17009 * string/test-strrchr.c (do_one_test): Likewise.
17010 (do_test): Likewise.
17011 * string/test-strspn.c (do_one_test): Likewise.
17012 (do_test): Likewise.
17013 * string/test-strstr.c (do_one_test): Likewise.
17014 (do_test): Likewise.
17016 * benchtests/Makefile (string-bench): Add string benchmarks.
17017 * benchtests/bench-bcopy-ifunc.c: New file.
17018 * benchtests/bench-bcopy.c: New file.
17019 * benchtests/bench-bzero-ifunc.c: New file.
17020 * benchtests/bench-bzero.c: New file.
17021 * benchtests/bench-memccpy-ifunc.c: New file.
17022 * benchtests/bench-memccpy.c: New file.
17023 * benchtests/bench-memchr-ifunc.c: New file.
17024 * benchtests/bench-memchr.c: New file.
17025 * benchtests/bench-memcmp-ifunc.c: New file.
17026 * benchtests/bench-memcmp.c: New file.
17027 * benchtests/bench-memmem-ifunc.c: New file.
17028 * benchtests/bench-memmem.c: New file.
17029 * benchtests/bench-memmove-ifunc.c: New file.
17030 * benchtests/bench-memmove.c: New file.
17031 * benchtests/bench-mempcpy-ifunc.c: New file.
17032 * benchtests/bench-mempcpy.c: New file.
17033 * benchtests/bench-memset-ifunc.c: New file.
17034 * benchtests/bench-memset.c: New file.
17035 * benchtests/bench-rawmemchr-ifunc.c: New file.
17036 * benchtests/bench-rawmemchr.c: New file.
17037 * benchtests/bench-stpcpy-ifunc.c: New file.
17038 * benchtests/bench-stpcpy.c: New file.
17039 * benchtests/bench-stpncpy-ifunc.c: New file.
17040 * benchtests/bench-stpncpy.c: New file.
17041 * benchtests/bench-strcasecmp-ifunc.c: New file.
17042 * benchtests/bench-strcasecmp.c: New file.
17043 * benchtests/bench-strcasestr-ifunc.c: New file.
17044 * benchtests/bench-strcasestr.c: New file.
17045 * benchtests/bench-strcat-ifunc.c: New file.
17046 * benchtests/bench-strcat.c: New file.
17047 * benchtests/bench-strchr-ifunc.c: New file.
17048 * benchtests/bench-strchr.c: New file.
17049 * benchtests/bench-strchrnul-ifunc.c: New file.
17050 * benchtests/bench-strchrnul.c: New file.
17051 * benchtests/bench-strcmp-ifunc.c: New file.
17052 * benchtests/bench-strcmp.c: New file.
17053 * benchtests/bench-strcpy-ifunc.c: New file.
17054 * benchtests/bench-strcpy.c: New file.
17055 * benchtests/bench-strcspn-ifunc.c: New file.
17056 * benchtests/bench-strcspn.c: New file.
17057 * benchtests/bench-strlen-ifunc.c: New file.
17058 * benchtests/bench-strlen.c: New file.
17059 * benchtests/bench-strncasecmp-ifunc.c: New file.
17060 * benchtests/bench-strncasecmp.c: New file.
17061 * benchtests/bench-strncat-ifunc.c: New file.
17062 * benchtests/bench-strncat.c: New file.
17063 * benchtests/bench-strncmp-ifunc.c: New file.
17064 * benchtests/bench-strncmp.c: New file.
17065 * benchtests/bench-strncpy-ifunc.c: New file.
17066 * benchtests/bench-strncpy.c: New file.
17067 * benchtests/bench-strnlen-ifunc.c: New file.
17068 * benchtests/bench-strnlen.c: New file.
17069 * benchtests/bench-strpbrk-ifunc.c: New file.
17070 * benchtests/bench-strpbrk.c: New file.
17071 * benchtests/bench-strrchr-ifunc.c: New file.
17072 * benchtests/bench-strrchr.c: New file.
17073 * benchtests/bench-strspn-ifunc.c: New file.
17074 * benchtests/bench-strspn.c: New file.
17075 * benchtests/bench-strstr-ifunc.c: New file.
17076 * benchtests/bench-strstr.c: New file.
17078 * benchtests/Makefile: Disable parallel execution of targets.
17079 (string-bench): Add memcpy.
17080 (benchset): New variable to store a list of benchmark sets.
17081 (bench-func): Renamed from bench.
17082 (bench-set): New target.
17083 (bench): Depend on bench-func and bench-set.
17084 * benchtests/README: Add section on benchmark sets.
17085 * benchtests/bench-memcpy-ifunc.c: New file.
17086 * benchtests/bench-memcpy.c: New file.
17087 * benchtests/bench-string.h: New file.
17089 2013-06-11 Andreas Schwab <schwab@suse.de>
17092 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17093 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17094 values in the triple.
17095 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17096 terminator in the group key.
17098 2013-06-11 Andreas Jaeger <aj@suse.de>
17100 * po/zh_TW.po: Update Chinese (traditional) translation from
17101 translation project.
17103 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17105 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17106 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17107 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17108 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17109 (clock_getcpuclockid): Likewise.
17110 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17111 Add weak_alias and libc_hidden_def.
17112 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17113 * rt/clock_gettime.c (clock_gettime): Rename to
17114 __clock_gettime. Add weak_alias and libc_hidden_def.
17115 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17116 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17117 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17118 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17119 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17121 * rt/clock_settime.c (clock_settime): Rename to
17122 __clock_settime. Add weak_alias and libc_hidden_def.
17123 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17125 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17127 * mach/err_boot.sub: Remove trailing whitespace.
17128 * mach/err_ipc.sub: Likewise.
17129 * mach/err_mach.sub: Likewise.
17131 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17132 (ROUNDING_TESTS_double): Likewise.
17133 (ROUNDING_TESTS_long_double): Likewise.
17134 (ROUNDING_TESTS): Likewise.
17135 * math/libm-test.inc: Include <math-tests.h>.
17136 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17137 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17138 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17139 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17141 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17143 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17146 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17148 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17149 otherwise empty TRANS lines.
17150 * sysdeps/gnu/errlist.c: Regenerated.
17152 * catgets/gencat.c (error_print): Use (void) in function
17154 * crypt/crypt_util.c (__init_des): Likewise.
17155 * crypt/speeds.c (Stop): Likewise.
17157 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17158 * inet/ruserpass.c (token): Likewise.
17159 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17160 * intl/localealias.c (extend_alias_table): Likewise.
17161 * intl/plural-exp.c (init_germanic_plural): Likewise.
17162 * libio/fcloseall.c (__fcloseall): Likewise.
17163 * libio/genops.c (_IO_flush_all): Likewise.
17164 (_IO_flush_all_linebuffered): Likewise.
17165 (_IO_cleanup): Likewise.
17166 (_IO_iter_begin): Likewise.
17167 (_IO_iter_end): Likewise.
17168 (_IO_list_lock): Likewise.
17169 (_IO_list_unlock): Likewise.
17170 (_IO_list_resetlock): Likewise.
17171 * libio/getchar.c (getchar): Likewise.
17172 * libio/getchar_u.c (getchar_unlocked): Likewise.
17173 * libio/getwchar.c (getwchar): Likewise.
17174 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17175 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17176 * login/getpt.c (__getpt): Likewise.
17177 * login/tst-utmp.c (main): Likewise.
17178 * malloc/hooks.c (__malloc_check_init): Likewise.
17179 * malloc/malloc.c (__malloc_stats): Likewise.
17180 * malloc/mtrace.c (tr_break): Likewise.
17181 (mtrace): Likewise.
17182 (muntrace): Likewise.
17183 * misc/fstab.c (endfsent): Likewise.
17184 * misc/getclktck.c (__getclktck): Likewise.
17185 * misc/getdtsz.c (__getdtablesize): Likewise.
17186 * misc/gethostid.c (gethostid): Likewise.
17187 * misc/getpagesize.c (__getpagesize): Likewise.
17188 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17189 (__get_nprocs): Likewise.
17190 (__get_phys_pages): Likewise.
17191 (__get_avphys_pages): Likewise.
17192 * misc/getttyent.c (getttyent): Likewise.
17193 (setttyent): Likewise.
17194 (endttyent): Likewise.
17195 * misc/getusershell.c (getusershell): Likewise.
17196 (endusershell): Likewise.
17197 (setusershell): Likewise.
17198 (initshells): Likewise.
17199 * misc/hsearch.c (__hdestroy): Likewise.
17200 * misc/sync.c (sync): Likewise.
17201 * misc/syslog.c (closelog_internal): Likewise.
17202 (closelog): Likewise.
17203 * misc/ttyslot.c (ttyslot): Likewise.
17204 * misc/vhangup.c (vhangup): Likewise.
17205 * posix/fork.c (__fork): Likewise.
17206 * posix/getegid.c (__getegid): Likewise.
17207 * posix/geteuid.c (__geteuid): Likewise.
17208 * posix/getgid.c (__getgid): Likewise.
17209 * posix/getpid.c (__getpid): Likewise.
17210 * posix/getppid.c (__getppid): Likewise.
17211 * posix/getuid.c (__getuid): Likewise.
17212 * posix/pause.c (pause): Likewise.
17213 * posix/setpgrp.c (setpgrp): Likewise.
17214 * posix/setsid.c (__setsid): Likewise.
17215 * posix/test-vfork.c (noop): Likewise.
17216 * resolv/gethnamaddr.c (_endhtent): Likewise.
17217 (_gethtent): Likewise.
17218 (ht_endhostent): Likewise.
17219 (gethostent): Likewise.
17220 (dns_service): Likewise.
17221 * stdlib/drand48.c (drand48): Likewise.
17222 * stdlib/lrand48.c (lrand48): Likewise.
17223 * stdlib/mrand48.c (mrand48): Likewise.
17224 * stdlib/rand.c (rand): Likewise.
17225 * stdlib/random.c (__random): Likewise.
17226 * stdlib/setenv.c (clearenv): Likewise.
17227 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17228 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17229 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17230 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17231 (__get_nprocs): Likewise.
17232 (__get_phys_pages): Likewise.
17233 (__get_avphys_pages): Likewise.
17234 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17235 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17236 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17237 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17238 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17239 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17240 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17241 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17242 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17243 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17244 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17245 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17246 * sysdeps/posix/clock.c (clock): Likewise.
17247 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17248 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17249 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17250 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17251 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17252 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17253 (__get_nprocs_conf): Likewise.
17254 (__get_phys_pages): Likewise.
17255 (__get_avphys_pages): Likewise.
17256 * time/clock.c (clock): Likewise.
17257 * time/tzset.c (__tzname_max): Likewise.
17259 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17261 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17262 (__bswap_32): Do not use "register".
17263 * crypt/crypt.c (_ufc_doit_r): Likewise.
17264 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17265 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17266 * gmon/gmon.c (__monstartup): Likewise.
17267 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17268 * hurd/hurdmalloc.c (more_memory): Likewise.
17269 (malloc): Likewise.
17271 (realloc): Likewise.
17272 (malloc_fork_prepare): Likewise.
17273 (malloc_fork_parent): Likewise.
17274 (malloc_fork_child): Likewise.
17275 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17276 (_svcauth_des): Likewise.
17277 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17278 * inet/inet_net.c (inet_network): Likewise.
17279 * inet/inet_netof.c (inet_netof): Likewise.
17280 * inet/rcmd.c (__validuser2_sa): Likewise.
17281 * io/fts.c (fts_open): Likewise.
17282 (fts_load): Likewise.
17283 (fts_close): Likewise.
17284 (fts_read): Likewise.
17285 (fts_children): Likewise.
17286 (fts_build): Likewise.
17287 (fts_stat): Likewise.
17288 (fts_sort): Likewise.
17289 (fts_alloc): Likewise.
17290 (fts_lfree): Likewise.
17291 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17292 (_IO_file_xsgetn): Likewise.
17293 (_IO_file_xsgetn_mmap): Likewise.
17294 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17295 (_IO_cookie_write): Likewise.
17296 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17297 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17298 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17299 * malloc/obstack.c (_obstack_begin): Likewise.
17300 (_obstack_begin_1): Likewise.
17301 (_obstack_newchunk): Likewise.
17302 (_obstack_allocated_p): Likewise.
17303 (obstack_free): Likewise.
17304 (_obstack_memory_used): Likewise.
17305 * misc/getttyent.c (getttynam): Likewise.
17306 (getttyent): Likewise.
17309 * misc/getusershell.c (initshells): Likewise.
17310 * misc/syslog.c (__vsyslog_chk): Likewise.
17311 * misc/ttyslot.c (ttyslot): Likewise.
17312 * nis/nis_hash.c (__nis_hash): Likewise.
17313 * posix/fnmatch_loop.c (FCT): Likewise.
17314 * posix/getconf.c (print_all): Likewise.
17316 * posix/getopt.c (exchange): Likewise.
17317 * posix/glob.c (globfree): Likewise.
17318 (prefix_array): Likewise.
17319 (__glob_pattern_type): Likewise.
17320 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17321 (NS_GET32): Likewise.
17322 (NS_PUT16): Likewise.
17323 (NS_PUT32): Likewise.
17324 * resolv/gethnamaddr.c (getanswer): Likewise.
17325 (gethostbyname2): Likewise.
17326 (gethostbyaddr): Likewise.
17327 (_gethtent): Likewise.
17328 (_gethtbyname2): Likewise.
17329 (_gethtbyaddr): Likewise.
17330 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17331 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17332 * resolv/res_init.c (__res_vinit): Likewise.
17333 (net_mask): Likewise.
17334 * resolv/res_mkquery.c (outchar): Likewise.
17336 * stdio-common/printf_fp.c (outchar): Likewise.
17338 * stdio-common/printf_fphex.c (outchar): Likewise.
17340 * stdio-common/printf_size.c (outchar): Likewise.
17342 * stdio-common/test_rdwr.c (main): Likewise.
17343 * stdio-common/tfformat.c (matches): Likewise.
17344 * stdio-common/vfprintf.c (outchar): Likewise.
17345 (printf_unknown): Likewise.
17346 (buffered_vfprintf): Likewise.
17347 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17348 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17349 (ReadFile): Likewise.
17350 * stdlib/qsort.c (SWAP): Likewise.
17351 (_quicksort): Likewise.
17352 * stdlib/setenv.c (__add_to_environ): Likewise.
17353 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17354 * stdlib/strtol_l.c (__strtol_l): Likewise.
17355 * stdlib/tst-strtod.c (main): Likewise.
17356 * stdlib/tst-strtol.c (main): Likewise.
17357 * stdlib/tst-strtoll.c (main): Likewise.
17358 * string/bits/string2.h (__strcmp_cc): Likewise.
17359 (__strcmp_cg): Likewise.
17360 (__strcspn_c1): Likewise.
17361 (__strcspn_c2): Likewise.
17362 (__strcspn_c3): Likewise.
17363 (__strspn_c1): Likewise.
17364 (__strspn_c2): Likewise.
17365 (__strspn_c3): Likewise.
17366 (__strsep_1c): Likewise.
17367 (__strsep_2c): Likewise.
17368 (__strsep_3c): Likewise.
17369 * string/memccpy.c (__memccpy): Likewise.
17370 * string/stpcpy.c (__stpcpy): Likewise.
17371 * string/strcmp.c (strcmp): Likewise.
17372 * string/strrchr.c (strrchr): Likewise.
17373 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17375 * sysdeps/mach/hurd/getcwd.c
17376 (_hurd_canonicalize_directory_name_internal): Likewise.
17377 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17378 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17379 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17380 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17381 Likewise, in both definitions.
17382 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17384 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17385 64] (__bswap_64): Likewise.
17386 * time/test_time.c (main): Likewise.
17387 * time/tzfile.c (__tzfile_read): Likewise.
17388 (__tzfile_compute): Likewise.
17389 * time/tzset.c (__tzset_parse_tz): Likewise.
17390 (tzset_internal): Likewise.
17391 (compute_change): Likewise.
17392 * wcsmbs/wcscat.c (__wcscat): Likewise.
17393 * wcsmbs/wcschr.c (wcschr): Likewise.
17394 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17395 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17396 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17397 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17398 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17399 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17400 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17401 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17402 * wcsmbs/wmemset.c (wmemset): Likewise.
17404 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17406 * scripts/config.guess: Update to version 2013-05-16.
17407 * scripts/config.sub: Update to version 2013-04-24.
17408 * scripts/install-sh: Update to version 2011-11-20.07.
17409 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17410 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17412 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17414 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17415 * elf/sln.c: Likewise.
17416 * hurd/hurd/ioctl.h: Likewise.
17417 * hurd/hurdmalloc.c: Likewise.
17418 * hurd/xattr.c: Likewise.
17419 * include/shlib-compat.h: Likewise.
17420 * inet/ruserpass.c: Likewise.
17421 * libio/iofgets_u.c: Likewise.
17422 * libio/iofgetws_u.c: Likewise.
17423 * locale/programs/ld-identification.c: Likewise.
17424 * locale/programs/ld-time.c: Likewise.
17425 * mach/msg-destroy.c: Likewise.
17426 * nss/nss_files/files-netgrp.c: Likewise.
17427 * resolv/res_data.c: Likewise.
17428 * soft-fp/op-1.h: Likewise.
17429 * soft-fp/op-2.h: Likewise.
17430 * soft-fp/op-4.h: Likewise.
17431 * soft-fp/op-common.h: Likewise.
17432 * stdio-common/printf_fphex.c: Likewise.
17433 * stdlib/strtod_l.c: Likewise.
17434 * sunrpc/rpc/clnt.h: Likewise.
17435 * sysdeps/generic/framestate.c: Likewise.
17436 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17437 * sysdeps/i386/bsd-setjmp.S: Likewise.
17438 * sysdeps/i386/__longjmp.S: Likewise.
17439 * sysdeps/i386/setjmp.S: Likewise.
17440 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17441 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17442 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17443 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17444 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17445 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17446 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17447 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17448 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17449 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17450 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17451 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17453 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17458 * sysdeps/ieee754/support.c: Likewise.
17459 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17460 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17461 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17462 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17463 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17464 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17465 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17466 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17467 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17468 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17469 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17470 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17471 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17472 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17473 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17474 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17475 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17478 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17480 * posix/transbug.c: Remove executable mode.
17482 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17484 * crypt/speeds.c: Remove trailing whitespace.
17485 * dlfcn/default.c: Likewise.
17486 * elf/ifuncdep2.c: Likewise.
17487 * elf/ifuncmain1.c: Likewise.
17488 * elf/ifuncmain1vis.c: Likewise.
17489 * elf/testobj.h: Likewise.
17490 * elf/tst-stackguard1.c: Likewise.
17491 * gmon/sys/gmon.h: Likewise.
17492 * hurd/hurdmsg.c: Likewise.
17493 * hurd/new-fd.c: Likewise.
17494 * hurd/ports-get.c: Likewise.
17495 * iconvdata/ibm1008_420.c: Likewise.
17496 * inet/tst-getni1.c: Likewise.
17497 * inet/tst-getni2.c: Likewise.
17498 * libio/ioungetc.c: Likewise.
17499 * libio/wfiledoalloc.c: Likewise.
17500 * manual/libm-err-tab.pl: Likewise.
17501 * math/w_dremf.c: Likewise.
17502 * misc/ftruncate.c: Likewise.
17503 * posix/bug-glob2.c: Likewise.
17504 * posix/tst-pcre.c: Likewise.
17505 * posix/wait4.c: Likewise.
17506 * resolv/README: Likewise.
17507 * resolv/res_debug.h: Likewise.
17508 * resolv/tst-inet_ntop.c: Likewise.
17509 * setjmp/bug269-setjmp.c: Likewise.
17510 * soft-fp/extended.h: Likewise.
17511 * soft-fp/op-1.h: Likewise.
17512 * soft-fp/op-2.h: Likewise.
17513 * soft-fp/op-4.h: Likewise.
17514 * soft-fp/op-8.h: Likewise.
17515 * soft-fp/testit.c: Likewise.
17516 * stdio-common/bug16.c: Likewise.
17517 * stdlib/random.c: Likewise.
17518 * sunrpc/rpcsvc/rquota.x: Likewise.
17519 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17520 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17521 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17522 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17523 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17524 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17525 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17526 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17527 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17528 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17529 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17530 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17531 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17533 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17534 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17535 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17536 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17537 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17538 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17539 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17540 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17541 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17542 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17543 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17544 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17546 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17548 * sysdeps/ieee754/s_lib_version.c: Likewise.
17549 * sysdeps/mach/hurd/check_fds.c: Likewise.
17550 * sysdeps/mach/hurd/getsockname.c: Likewise.
17551 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17552 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17553 * sysdeps/powerpc/bits/link.h: Likewise.
17554 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17555 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17556 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17557 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17558 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17559 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17560 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17561 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17562 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17563 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17564 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17565 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17566 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17567 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17568 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17569 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17570 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17571 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17572 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17573 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17574 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17575 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17576 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17577 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17578 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17579 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17580 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17581 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17582 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17583 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17584 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17585 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17586 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17587 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17588 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17589 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17590 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17591 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17592 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17593 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17594 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17595 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17596 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17597 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17598 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17599 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17600 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17601 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17602 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17603 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17604 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17605 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17606 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17607 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17608 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17609 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17610 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17611 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17612 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17613 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17614 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17615 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17616 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17617 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17618 * sysdeps/powerpc/sysdep.h: Likewise.
17619 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17620 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17621 * sysdeps/sh/dl-trampoline.S: Likewise.
17622 * sysdeps/sh/memset.S: Likewise.
17623 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17624 * sysdeps/sh/strlen.S: Likewise.
17625 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17626 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17627 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17628 * sysdeps/sparc/sparc32/rem.S: Likewise.
17629 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17630 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17631 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17632 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17633 * sysdeps/sparc/sparc32/urem.S: Likewise.
17634 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17635 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17636 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17637 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17638 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17639 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17640 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17641 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17642 * sysdeps/unix/bsd/times.c: Likewise.
17643 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17644 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17648 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17649 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17650 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17651 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17652 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17653 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17654 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17655 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17656 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17657 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17658 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17659 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17660 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17661 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17662 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17663 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17664 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17665 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17666 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17667 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17668 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17669 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17670 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17671 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17672 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17673 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17674 * sysdeps/x86_64/strcspn.S: Likewise.
17676 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17678 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17679 generated file. Regenerate properly from gen-translit.pl.
17680 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17681 locale/C-translit.h.
17683 2013-06-05 Andreas Schwab <schwab@suse.de>
17686 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17687 week as 6 instead of -1.
17688 * time/tst-strptime.c (day_tests): Add test case.
17690 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17692 * sysdeps/generic/math_private.h
17693 (libc_feholdexcept_setround_53bit): Replace with
17694 libc_feholdsetround_53bit.
17695 (libc_feupdateenv_53bit): Replace with
17696 libc_feresetround_53bit.
17697 (SET_RESTORE_ROUND_53BIT): Adjust.
17699 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17701 * string/test-strchrnul.c: Add copyright header.
17703 * posix/tst-getaddrinfo4.c: Increase test timeout.
17705 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17708 * math/libm-test.inc (MAX_EXP): Remove
17710 (ulp): Use MIN_EXP - MANT_DIG.
17711 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17713 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17715 * po/be.po: Revert last change.
17716 * po/zh_CN.po: Likewise.
17717 * po/header.pot: Likewise.
17719 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17721 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17722 link-libc-deps to empty as target-specific variable.
17723 * Makerules (link-libc-args): New variable.
17724 (libc-for-link): Likewise.
17725 (link-libc-deps): Likewise.
17726 (lib%.so): Depend on $(link-libc-deps). Link with
17728 (build-module): Link with $(link-libc-args).
17729 (build-module-asneeded): Likewise.
17730 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17732 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17733 target-specific variable.
17734 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17735 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17736 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17738 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17740 ($(objpfx)libpcprofile.so): Likewise.
17741 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17743 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17744 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17745 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17747 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17748 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17749 * login/Makefile ($(objpfx)libutil.so): Likewise.
17750 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17751 * math/Makefile ($(objpfx)libm.so): Likewise.
17752 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17753 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17754 variable instead of depending directly on libc.
17755 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17756 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17758 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17760 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17761 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17762 ($(objpfx)libanl.so): Likewise.
17763 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17765 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17767 * sysdeps/i386/fpu/Makefile: Remove file.
17768 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17769 ($(objpfx)libm.so): Remove dependency on ld.so.
17771 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17774 * nis/yp_xdr.c (XDRMAXNAME): Define.
17775 (XDRMAXRECORD): Define.
17776 (xdr_domainname): Use XDRMAXNAME.
17777 (xdr_mapname): Likewise.
17778 (xdr_peername): Likewise.
17779 (xdr_keydat): Use XDRMAXRECORD.
17780 (xdr_valdat): Likewise.
17782 2013-05-30 Jeff Law <law@redhat.com>
17785 * manual/errno.texi (ESTALE): Update to account for more than
17786 just NFS file systems.
17787 * sysdeps/gnu/errlist.c: Regenerated.
17789 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17792 * elf/Makefile (tests): Add tst-null-argv.
17793 (modules-names): Add tst-null-argv-lib.
17794 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17795 (tst-null-argv-ENV): Set environment for tst-null-argv.
17796 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17797 (RTLD_PROGNAME): New macro.
17798 * elf/tst-null-argv.c: New test case.
17799 * elf/tst-null-argv-lib.c: Library for test case.
17800 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17801 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17802 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17803 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17804 * elf/dl-init.c (call_init): Likewise.
17805 (_dl_init): Likewise.
17806 * elf/dl-load.c (print_search_path): Likewise.
17807 (_dl_map_object): Likewise.
17808 * elf/dl-lookup.c (do_lookup_x): Likewise.
17809 (add_dependency): Likewise.
17810 (_dl_lookup_symbol_x): Likewise.
17811 (_dl_debug_bindings): Likewise.
17812 * elf/dl-open.c (_dl_show_scope): Likewise.
17813 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17814 * elf/dl-version.c (match_symbol): Likewise.
17815 (_dl_check_map_versions): Likewise.
17816 * elf/rtld.c (dl_main): Likewise.
17817 (print_unresolved): Use RTLD_PROGNAME.
17818 (print_missing_version): Likewise.
17819 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17820 (elf_machine_rela): Likewise.
17821 * sysdeps/powerpc/powerpc32/dl-machine.c
17822 (__process_machine_rela): Likewise.
17823 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17825 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17827 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17829 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17830 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17832 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17834 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17836 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17838 * po/be.po: Add descriptive title.
17839 * po/zh_CN.po: Likewise.
17840 * po/header.pot: Likewise.
17842 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17844 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17846 (enlarge_archive): Likewise.
17848 2013-05-28 Ben North <ben@redfrontdoor.org>
17850 * manual/arith.texi (frexp): It is the magnitude of the return
17851 value which lies in [0.5, 1), not the return value itself.
17853 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17857 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17859 * stdio-common/bug26.c (main): Correct fscanf template.
17861 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17862 declare _dl_skip_args.
17864 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17867 * manual/platform.texi: Add missing @end deftypefun.
17869 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17872 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17873 bit of mantissa of 2^16382.
17874 * math/libm-test.inc (hypot_test_data): Add more tests.
17876 * math/libm-test.inc: Add drem and pow10 to list of tested
17878 (pow10_test): New function.
17879 (drem_test): Likewise.
17880 (drem_test_tonearest): Likewise.
17881 (drem_test_towardzero): Likewise.
17882 (drem_test_downward): Likewise.
17883 (drem_test_upward): Likewise.
17884 (main): Call the new functions.
17886 * math/libm-test.inc (finite_test_data): Remove.
17887 (finite_test): Run tests from isfinite_test_data.
17888 (gamma_test_data): Remove.
17889 (gamma_test): Run tests from lgamma_test_data.
17890 * sysdeps/i386/fpu/libm-test-ulps: Update.
17891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17893 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17895 * manual/platform.texi: Add PowerPC PPR function set documentation.
17896 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17899 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17901 * math/libm-test.inc (MAX_EXP): Define.
17903 (ulp): New function.
17904 (check_float_internal): Use ULPDIFF.
17905 (cpow_test): Disable failing test.
17906 (check_ulp): Test ulp() implemetnation.
17907 (main): Call check_ulp before starting tests.
17909 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17911 * math/gen-libm-test.pl (generate_testfile): Do not handle
17912 START_DATA and END_DATA.
17913 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17915 (acos_tonearest_test_data): Likewise.
17916 (acos_towardzero_test_data): Likewise.
17917 (acos_downward_test_data): Likewise.
17918 (acos_upward_test_data): Likewise.
17919 (acosh_test_data): Likewise.
17920 (asin_test_data): Likewise.
17921 (asin_tonearest_test_data): Likewise.
17922 (asin_towardzero_test_data): Likewise.
17923 (asin_downward_test_data): Likewise.
17924 (asin_upward_test_data): Likewise.
17925 (asinh_test_data): Likewise.
17926 (atan_test_data): Likewise.
17927 (atanh_test_data): Likewise.
17928 (atan2_test_data): Likewise.
17929 (cabs_test_data): Likewise.
17930 (cacos_test_data): Likewise.
17931 (cacosh_test_data): Likewise.
17932 (carg_test_data): Likewise.
17933 (casin_test_data): Likewise.
17934 (casinh_test_data): Likewise.
17935 (catan_test_data): Likewise.
17936 (catanh_test_data): Likewise.
17937 (cbrt_test_data): Likewise.
17938 (ccos_test_data): Likewise.
17939 (ccosh_test_data): Likewise.
17940 (ceil_test_data): Likewise.
17941 (cexp_test_data): Likewise.
17942 (cimag_test_data): Likewise.
17943 (clog_test_data): Likewise.
17944 (clog10_test_data): Likewise.
17945 (conj_test_data): Likewise.
17946 (copysign_test_data): Likewise.
17947 (cos_test_data): Likewise.
17948 (cos_tonearest_test_data): Likewise.
17949 (cos_towardzero_test_data): Likewise.
17950 (cos_downward_test_data): Likewise.
17951 (cos_upward_test_data): Likewise.
17952 (cosh_test_data): Likewise.
17953 (cosh_tonearest_test_data): Likewise.
17954 (cosh_towardzero_test_data): Likewise.
17955 (cosh_downward_test_data): Likewise.
17956 (cosh_upward_test_data): Likewise.
17957 (cpow_test_data): Likewise.
17958 (cproj_test_data): Likewise.
17959 (creal_test_data): Likewise.
17960 (csin_test_data): Likewise.
17961 (csinh_test_data): Likewise.
17962 (csqrt_test_data): Likewise.
17963 (ctan_test_data): Likewise.
17964 (ctan_tonearest_test_data): Likewise.
17965 (ctan_towardzero_test_data): Likewise.
17966 (ctan_downward_test_data): Likewise.
17967 (ctan_upward_test_data): Likewise.
17968 (ctanh_test_data): Likewise.
17969 (ctanh_tonearest_test_data): Likewise.
17970 (ctanh_towardzero_test_data): Likewise.
17971 (ctanh_downward_test_data): Likewise.
17972 (ctanh_upward_test_data): Likewise.
17973 (erf_test_data): Likewise.
17974 (erfc_test_data): Likewise.
17975 (exp_test_data): Likewise.
17976 (exp_tonearest_test_data): Likewise.
17977 (exp_towardzero_test_data): Likewise.
17978 (exp_downward_test_data): Likewise.
17979 (exp_upward_test_data): Likewise.
17980 (exp10_test_data): Likewise.
17981 (exp2_test_data): Likewise.
17982 (expm1_test_data): Likewise.
17983 (fabs_test_data): Likewise.
17984 (fdim_test_data): Likewise.
17985 (finite_test_data): Likewise.
17986 (floor_test_data): Likewise.
17987 (fma_test_data): Likewise.
17988 (fma_towardzero_test_data): Likewise.
17989 (fma_downward_test_data): Likewise.
17990 (fma_upward_test_data): Likewise.
17991 (fmax_test_data): Likewise.
17992 (fmin_test_data): Likewise.
17993 (fmod_test_data): Likewise.
17994 (fpclassify_test_data): Likewise.
17995 (frexp_test_data): Likewise.
17996 (gamma_test_data): Likewise.
17997 (hypot_test_data): Likewise.
17998 (ilogb_test_data): Likewise.
17999 (isfinite_test_data): Likewise.
18000 (isgreater_test_data): Likewise.
18001 (isgreaterequal_test_data): Likewise.
18002 (isinf_test_data): Likewise.
18003 (isless_test_data): Likewise.
18004 (islessequal_test_data): Likewise.
18005 (islessgreater_test_data): Likewise.
18006 (isnan_test_data): Likewise.
18007 (isnormal_test_data): Likewise.
18008 (issignaling_test_data): Likewise.
18009 (isunordered_test_data): Likewise.
18010 (j0_test_data): Likewise.
18011 (j1_test_data): Likewise.
18012 (jn_test_data): Likewise.
18013 (ldexp_test_data): Likewise.
18014 (lgamma_test_data): Likewise.
18015 (lrint_test_data): Likewise.
18016 (lrint_tonearest_test_data): Likewise.
18017 (lrint_towardzero_test_data): Likewise.
18018 (lrint_downward_test_data): Likewise.
18019 (lrint_upward_test_data): Likewise.
18020 (llrint_test_data): Likewise.
18021 (llrint_tonearest_test_data): Likewise.
18022 (llrint_towardzero_test_data): Likewise.
18023 (llrint_downward_test_data): Likewise.
18024 (llrint_upward_test_data): Likewise.
18025 (log_test_data): Likewise.
18026 (log10_test_data): Likewise.
18027 (log1p_test_data): Likewise.
18028 (log2_test_data): Likewise.
18029 (logb_test_data): Likewise.
18030 (logb_downward_test_data): Likewise.
18031 (lround_test_data): Likewise.
18032 (llround_test_data): Likewise.
18033 (modf_test_data): Likewise.
18034 (nearbyint_test_data): Likewise.
18035 (nextafter_test_data): Likewise.
18036 (nexttoward_test_data): Likewise.
18037 (pow_test_data): Likewise.
18038 (pow_tonearest_test_data): Likewise.
18039 (pow_towardzero_test_data): Likewise.
18040 (pow_downward_test_data): Likewise.
18041 (pow_upward_test_data): Likewise.
18042 (remainder_test_data): Likewise.
18043 (remainder_tonearest_test_data): Likewise.
18044 (remainder_towardzero_test_data): Likewise.
18045 (remainder_downward_test_data): Likewise.
18046 (remainder_upward_test_data): Likewise.
18047 (remquo_test_data): Likewise.
18048 (rint_test_data): Likewise.
18049 (rint_tonearest_test_data): Likewise.
18050 (rint_towardzero_test_data): Likewise.
18051 (rint_downward_test_data): Likewise.
18052 (rint_upward_test_data): Likewise.
18053 (round_test_data): Likewise.
18054 (scalb_test_data): Likewise.
18055 (scalbn_test_data): Likewise.
18056 (scalbln_test_data): Likewise.
18057 (signbit_test_data): Likewise.
18058 (sin_test_data): Likewise.
18059 (sin_tonearest_test_data): Likewise.
18060 (sin_towardzero_test_data): Likewise.
18061 (sin_downward_test_data): Likewise.
18062 (sin_upward_test_data): Likewise.
18063 (sincos_test_data): Likewise.
18064 (sinh_test_data): Likewise.
18065 (sinh_tonearest_test_data): Likewise.
18066 (sinh_towardzero_test_data): Likewise.
18067 (sinh_downward_test_data): Likewise.
18068 (sinh_upward_test_data): Likewise.
18069 (sqrt_test_data): Likewise.
18070 (tan_test_data): Likewise.
18071 (tan_tonearest_test_data): Likewise.
18072 (tan_towardzero_test_data): Likewise.
18073 (tan_downward_test_data): Likewise.
18074 (tan_upward_test_data): Likewise.
18075 (tanh_test_data): Likewise.
18076 (tgamma_test_data): Likewise.
18077 (trunc_test_data): Likewise.
18078 (y0_test_data): Likewise.
18079 (y1_test_data): Likewise.
18080 (yn_test_data): Likewise.
18081 (significand_test_data): Likewise.
18083 * math/gen-libm-test.pl (@functions): Remove variable.
18084 (generate_testfile): Don't handle START and END lines.
18085 * math/libm-test.inc (START): New macro.
18087 (END_COMPLEX): Likewise.
18088 (acos_test): Use END macro without arguments.
18089 (acos_test_tonearest): Likewise.
18090 (acos_test_towardzero): Likewise.
18091 (acos_test_downward): Likewise.
18092 (acos_test_upward): Likewise.
18093 (acosh_test): Likewise.
18094 (asin_test): Likewise.
18095 (asin_test_tonearest): Likewise.
18096 (asin_test_towardzero): Likewise.
18097 (asin_test_downward): Likewise.
18098 (asin_test_upward): Likewise.
18099 (asinh_test): Likewise.
18100 (atan_test): Likewise.
18101 (atanh_test): Likewise.
18102 (atan2_test): Likewise.
18103 (cabs_test): Likewise.
18104 (cacos_test): Use END_COMPLEX macro without arguments.
18105 (cacosh_test): Likewise.
18106 (carg_test): Use END macro without arguments.
18107 (casin_test): Use END_COMPLEX macro without arguments.
18108 (casinh_test): Likewise.
18109 (catan_test): Likewise.
18110 (catanh_test): Likewise.
18111 (cbrt_test): Use END macro without arguments.
18112 (ccos_test): Use END_COMPLEX macro without arguments.
18113 (ccosh_test): Likewise.
18114 (ceil_test): Use END macro without arguments.
18115 (cexp_test): Use END_COMPLEX macro without arguments.
18116 (cimag_test): Use END macro without arguments.
18117 (clog_test): Use END_COMPLEX macro without arguments.
18118 (clog10_test): Likewise.
18119 (conj_test): Likewise.
18120 (copysign_test): Use END macro without arguments.
18121 (cos_test): Likewise.
18122 (cos_test_tonearest): Likewise.
18123 (cos_test_towardzero): Likewise.
18124 (cos_test_downward): Likewise.
18125 (cos_test_upward): Likewise.
18126 (cosh_test): Likewise.
18127 (cosh_test_tonearest): Likewise.
18128 (cosh_test_towardzero): Likewise.
18129 (cosh_test_downward): Likewise.
18130 (cosh_test_upward): Likewise.
18131 (cpow_test): Use END_COMPLEX macro without arguments.
18132 (cproj_test): Likewise.
18133 (creal_test): Use END macro without arguments.
18134 (csin_test): Use END_COMPLEX macro without arguments.
18135 (csinh_test): Likewise.
18136 (csqrt_test): Likewise.
18137 (ctan_test): Likewise.
18138 (ctan_test_tonearest): Likewise.
18139 (ctan_test_towardzero): Likewise.
18140 (ctan_test_downward): Likewise.
18141 (ctan_test_upward): Likewise.
18142 (ctanh_test): Likewise.
18143 (ctanh_test_tonearest): Likewise.
18144 (ctanh_test_towardzero): Likewise.
18145 (ctanh_test_downward): Likewise.
18146 (ctanh_test_upward): Likewise.
18147 (erf_test): Use END macro without arguments.
18148 (erfc_test): Likewise.
18149 (exp_test): Likewise.
18150 (exp_test_tonearest): Likewise.
18151 (exp_test_towardzero): Likewise.
18152 (exp_test_downward): Likewise.
18153 (exp_test_upward): Likewise.
18154 (exp10_test): Likewise.
18155 (exp2_test): Likewise.
18156 (expm1_test): Likewise.
18157 (fabs_test): Likewise.
18158 (fdim_test): Likewise.
18159 (finite_test): Likewise.
18160 (floor_test): Likewise.
18161 (fma_test): Likewise.
18162 (fma_test_towardzero): Likewise.
18163 (fma_test_downward): Likewise.
18164 (fma_test_upward): Likewise.
18165 (fmax_test): Likewise.
18166 (fmin_test): Likewise.
18167 (fmod_test): Likewise.
18168 (fpclassify_test): Likewise.
18169 (frexp_test): Likewise.
18170 (gamma_test): Likewise.
18171 (hypot_test): Likewise.
18172 (ilogb_test): Likewise.
18173 (isfinite_test): Likewise.
18174 (isgreater_test): Likewise.
18175 (isgreaterequal_test): Likewise.
18176 (isinf_test): Likewise.
18177 (isless_test): Likewise.
18178 (islessequal_test): Likewise.
18179 (islessgreater_test): Likewise.
18180 (isnan_test): Likewise.
18181 (isnormal_test): Likewise.
18182 (issignaling_test): Likewise.
18183 (isunordered_test): Likewise.
18184 (j0_test): Likewise.
18185 (j1_test): Likewise.
18186 (jn_test): Likewise.
18187 (ldexp_test): Likewise.
18188 (lgamma_test): Likewise.
18189 (lrint_test): Likewise.
18190 (lrint_test_tonearest): Likewise.
18191 (lrint_test_towardzero): Likewise.
18192 (lrint_test_downward): Likewise.
18193 (lrint_test_upward): Likewise.
18194 (llrint_test): Likewise.
18195 (llrint_test_tonearest): Likewise.
18196 (llrint_test_towardzero): Likewise.
18197 (llrint_test_downward): Likewise.
18198 (llrint_test_upward): Likewise.
18199 (log_test): Likewise.
18200 (log10_test): Likewise.
18201 (log1p_test): Likewise.
18202 (log2_test): Likewise.
18203 (logb_test): Likewise.
18204 (logb_test_downward): Likewise.
18205 (lround_test): Likewise.
18206 (llround_test): Likewise.
18207 (modf_test): Likewise.
18208 (nearbyint_test): Likewise.
18209 (nextafter_test): Likewise.
18210 (nexttoward_test): Likewise.
18211 (pow_test): Likewise.
18212 (pow_test_tonearest): Likewise.
18213 (pow_test_towardzero): Likewise.
18214 (pow_test_downward): Likewise.
18215 (pow_test_upward): Likewise.
18216 (remainder_test): Likewise.
18217 (remainder_test_tonearest): Likewise.
18218 (remainder_test_towardzero): Likewise.
18219 (remainder_test_downward): Likewise.
18220 (remainder_test_upward): Likewise.
18221 (remquo_test): Likewise.
18222 (rint_test): Likewise.
18223 (rint_test_tonearest): Likewise.
18224 (rint_test_towardzero): Likewise.
18225 (rint_test_downward): Likewise.
18226 (rint_test_upward): Likewise.
18227 (round_test): Likewise.
18228 (scalb_test): Likewise.
18229 (scalbn_test): Likewise.
18230 (scalbln_test): Likewise.
18231 (signbit_test): Likewise.
18232 (sin_test): Likewise.
18233 (sin_test_tonearest): Likewise.
18234 (sin_test_towardzero): Likewise.
18235 (sin_test_downward): Likewise.
18236 (sin_test_upward): Likewise.
18237 (sincos_test): Likewise.
18238 (sinh_test): Likewise.
18239 (sinh_test_tonearest): Likewise.
18240 (sinh_test_towardzero): Likewise.
18241 (sinh_test_downward): Likewise.
18242 (sinh_test_upward): Likewise.
18243 (sqrt_test): Likewise.
18244 (tan_test): Likewise.
18245 (tan_test_tonearest): Likewise.
18246 (tan_test_towardzero): Likewise.
18247 (tan_test_downward): Likewise.
18248 (tan_test_upward): Likewise.
18249 (tanh_test): Likewise.
18250 (tgamma_test): Likewise.
18251 (trunc_test): Likewise.
18252 (y0_test): Likewise.
18253 (y1_test): Likewise.
18254 (yn_test): Likewise.
18255 (significand_test): Likewise.
18257 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18260 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18262 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18265 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18266 __ppc_mdoio and __ppc_mdoom.
18267 * manual/platform.texi: Document new functions __ppc_yield,
18268 __ppc_mdoio and __ppc_mdoom.
18270 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18272 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18273 (main): Mention "tls" pseudo-hwcap is legacy.
18274 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18276 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18278 * math/gen-libm-test.pl (parse_args): Output only string of
18279 arguments as text for test name, not full call or descriptions of
18280 tests for extra outputs.
18281 (generate_testfile): Do not pass function name to parse_args.
18282 Generate this_func variable from START.
18283 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18285 (struct test_ff_f_data): Likewise.
18286 (test_ff_f_data_nexttoward): Likewise.
18287 (struct test_fi_f_data): Likewise.
18288 (struct test_fl_f_data): Likewise.
18289 (struct test_if_f_data): Likewise.
18290 (struct test_fff_f_data): Likewise.
18291 (struct test_c_f_data): Likewise.
18292 (struct test_f_f1_data): Likewise. Remove field extra_name.
18293 (struct test_fF_f1_data): Likewise.
18294 (struct test_ffI_f1_data): Likewise.
18295 (struct test_c_c_data): Rename test_name field to arg_str.
18296 (struct test_cc_c_data): Likewise.
18297 (struct test_f_i_data): Likewise.
18298 (struct test_ff_i_data): Likewise.
18299 (struct test_f_l_data): Likewise.
18300 (struct test_f_L_data): Likewise.
18301 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18303 (COMMON_TEST_SETUP): New macro.
18304 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18305 (COMMON_TEST_CLEANUP): Likewise.
18306 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18307 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18309 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18310 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18312 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18313 (RUN_TEST_fff_f): Take argument string. Call new setup and
18315 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18316 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18318 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18319 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18321 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18322 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18324 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18325 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18327 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18328 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18330 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18331 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18333 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18334 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18336 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18337 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18339 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18340 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18342 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18343 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18345 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18346 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18348 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18349 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18351 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18352 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18354 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18355 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18357 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18358 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18360 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18362 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18364 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18365 to _sifields.sigfault.
18366 (si_addr_lsb): Define new macro.
18367 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18368 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18369 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18371 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18374 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18376 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18378 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18379 loading the domain.
18381 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18383 * math/gen-libm-test.pl (parse_args): Do not include expected
18384 result in test name.
18385 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18386 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18387 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18388 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18389 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18392 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18394 * benchtests/Makefile: Sort function entries.
18396 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18397 tanh, asinh, acosh, atanh.
18398 * benchtests/acos-inputs: New file.
18399 * benchtests/acosh-inputs: New file.
18400 * benchtests/asin-inputs: New file.
18401 * benchtests/asinh-inputs: New file.
18402 * benchtests/atanh-inputs: New file.
18403 * benchtests/cosh-inputs: New file.
18404 * benchtests/log-inputs: New file.
18405 * benchtests/sinh-inputs: New file.
18406 * benchtests/tanh-inputs: New file.
18408 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18411 * posix/tst-getaddrinfo4.c: New test.
18412 * posix/Makefile (tests): Add it.
18414 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18417 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18418 when no services were used.
18419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18420 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18422 2013-05-21 Andreas Schwab <schwab@suse.de>
18425 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18426 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18428 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18429 redundant variable declarations and reallocation of buffer when
18430 parsing as IPv6 address. Always set NSS status when called from
18431 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18432 buffer too small. Correct computation of needed size.
18433 * nss/Makefile (tests): Add test-digits-dots.
18434 * nss/test-digits-dots.c: New test.
18436 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18438 * benchtests/Makefile: Remove instructions for adding
18440 * benchtests/README: New file to explain how to execute and
18441 enhance the benchmark tests.
18443 2013-05-21 Andreas Schwab <schwab@suse.de>
18446 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18447 * setjmp/tst-sigsetjmp.c: New test.
18449 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18451 * sysdeps/x86_64/memset.S (memset): New implementation.
18452 (__bzero): Likewise.
18453 (__memset_tail): New function.
18455 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18457 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18458 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18459 __memcpy_sse2_unaligned ifunc selection.
18460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18461 Add memcpy-sse2-unaligned.S.
18462 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18463 Add: __memcpy_sse2_unaligned.
18465 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18468 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18469 math_force_eval before restoring floating-point envrionment.
18470 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18471 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18473 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18475 (__nearbyintl): Use math_force_eval before restoring
18476 floating-point environment.
18477 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18479 * math/gen-libm-test.pl (special_functions): Remove.
18480 (parse_args): Don't handle TEST_extra. Handle functions with no
18482 * math/libm-test.inc (struct test_sincos_data): Replace with
18483 struct test_fFF_11_data.
18484 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18485 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18486 (sincos_test_data): Change element type to struct
18487 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18488 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18489 RUN_TEST_LOOP_sincos.
18490 * math/README.libm-test: Don't mention special handling of
18491 individual functions.
18492 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18493 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18494 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18495 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18496 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18499 * math/gen-libm-test.pl (get_variable): Remove function.
18500 (parse_args): Don't show pointer parameters to call in test
18501 names. Use "extra output N" in test names for extra outputs
18502 rather than naming variables.
18504 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18507 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18508 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18509 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18511 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18513 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18516 * math/gen-libm-test.pl (@tests): Remove variable.
18517 ($count): Likewise.
18518 (new_test): Remove function.
18519 (show_exceptions): New function.
18520 (special_functions): Use show_exceptions instead of new_test.
18521 (parse_args): Likewise.
18522 (generate_testfile): Pass only function name in generated call to
18523 print_max_error or print_complex_max_error.
18524 (get_ulps): Do not handle complex tests specially.
18525 (output_test): Rename to ...
18526 (get_all_ulps_for_test): ... this. Return a string rather than
18527 printing to a file. Require ulps to be present.
18528 (output_ulps): Generate arrays rather than #defines.
18529 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18530 (struct ulp_data): New type.
18531 (BUILD_COMPLEX_ULP): Remove macro.
18532 (compare_ulp_data): New function.
18533 (find_ulps): Likewise.
18534 (find_test_ulps): Likewise.
18535 (find_function_ulps): Likewise.
18536 (find_complex_function_ulps): Likewise.
18537 (print_max_error): Determine allowed ulps using
18538 find_function_ulps.
18539 (print_complex_max_error): Determine allowed ulps using
18540 find_complex_function_ulps.
18541 (check_float_internal): Determine max ulps using find_test_ulps.
18542 (check_float): Do not take max_ulp parameter. Update call to
18543 check_float_internal.
18544 (check_complex): Likewise.
18545 (check_int): Do not take max_ulp parameter.
18546 (check_long): Likewise.
18547 (check_bool): Likewise.
18548 (check_longlong): Likewise.
18549 (struct test_f_f_data): Remove max_ulp field.
18550 (struct test_ff_f_data): Likewise.
18551 (struct test_ff_f_data_nexttoward): Likewise.
18552 (struct test_fi_f_data): Likewise.
18553 (struct test_fl_f_data): Likewise.
18554 (struct test_if_f_data): Likewise.
18555 (struct test_fff_f_data): Likewise.
18556 (struct test_c_f_data): Likewise.
18557 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18558 (struct test_fF_f1_data): Likewise.
18559 (struct test_ffI_f1_data): Likewise.
18560 (struct test_c_c_data): Remove max_ulp field.
18561 (struct test_cc_c_data): Likewise.
18562 (struct test_f_i_data): Likewise.
18563 (struct test_ff_i_data): Likewise.
18564 (struct test_f_l_data): Likewise.
18565 (struct test_f_L_data): Likewise.
18566 (struct test_sincos_data): Likewise.
18567 (RUN_TEST_f_f): Do not handle ulps.
18568 (RUN_TEST_LOOP_f_f): Likewise.
18569 (RUN_TEST_2_f): Likewise.
18570 (RUN_TEST_LOOP_2_f): Likewise.
18571 (RUN_TEST_fff_f): Likewise.
18572 (RUN_TEST_LOOP_fff_f): Likewise.
18573 (RUN_TEST_c_f): Likewise.
18574 (RUN_TEST_LOOP_c_f): Likewise.
18575 (RUN_TEST_f_f1): Likewise.
18576 (RUN_TEST_LOOP_f_f1): Likewise.
18577 (RUN_TEST_fF_f1): Likewise.
18578 (RUN_TEST_LOOP_fF_f1): Likewise.
18579 (RUN_TEST_fI_f1): Likewise.
18580 (RUN_TEST_LOOP_fI_f1): Likewise.
18581 (RUN_TEST_ffI_f1): Likewise.
18582 (RUN_TEST_LOOP_ffI_f1): Likewise.
18583 (RUN_TEST_c_c): Likewise.
18584 (RUN_TEST_LOOP_c_c): Likewise.
18585 (RUN_TEST_cc_c): Likewise.
18586 (RUN_TEST_LOOP_cc_c): Likewise.
18587 (RUN_TEST_f_i): Likewise.
18588 (RUN_TEST_LOOP_f_i): Likewise.
18589 (RUN_TEST_f_i_tg): Likewise.
18590 (RUN_TEST_LOOP_f_i_tg): Likewise.
18591 (RUN_TEST_ff_i_tg): Likewise.
18592 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18593 (RUN_TEST_f_b): Likewise.
18594 (RUN_TEST_LOOP_f_b): Likewise.
18595 (RUN_TEST_f_b_tg): Likewise.
18596 (RUN_TEST_LOOP_f_b_tg): Likewise.
18597 (RUN_TEST_f_l): Likewise.
18598 (RUN_TEST_LOOP_f_l): Likewise.
18599 (RUN_TEST_f_L): Likewise.
18600 (RUN_TEST_LOOP_f_L): Likewise.
18601 (RUN_TEST_sincos): Likewise.
18602 (RUN_TEST_LOOP_sincos): Likewise.
18604 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18608 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18609 main case of finite arguments, set rounding mode to FE_TONEAREST
18610 and discard exceptions.
18611 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18613 (remainder_tonearest_test_data): New variable.
18614 (remainder_test_tonearest): New function.
18615 (remainder_towardzero_test_data): New variable.
18616 (remainder_test_towardzero): New function.
18617 (remainder_downward_test_data): New variable.
18618 (remainder_test_downward): New function.
18619 (remainder_upward_test_data): New variable.
18620 (remainder_test_upward): New function.
18621 (main): Call the new test functions.
18623 * math/libm-test.inc (struct test_f_f1_data): Remove field
18625 (struct test_fF_f1_data): Likewise.
18626 (struct test_ffI_f1_data): Likewise.
18627 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18628 based on value of EXTRA_EXPECTED.
18629 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18630 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18631 EXTRA_VAR based on value of EXTRA_EXPECTED.
18632 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18633 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18634 EXTRA_VAR based on value of EXTRA_EXPECTED.
18635 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18636 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18637 EXTRA_VAR based on value of EXTRA_EXPECTED.
18638 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18639 * math/gen-libm-test.pl (parse_args): Don't output initializers
18640 for extra output values.
18642 * math/libm-test.inc (check_int): Expect result to be exactly
18643 equal to expected value and do not handle ulps.
18644 (check_long): Likewise.
18645 (check_longlong): Likewise.
18647 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18649 (cimag_test_data): Likewise.
18650 (conj_test_data): Likewise.
18651 (copysign_test_data): Likewise.
18652 (cproj_test_data): Likewise.
18653 (creal_test_data): Likewise.
18654 (fabs_test_data): Likewise.
18655 (fdim_test_data): Likewise.
18656 (finite_test_data): Likewise.
18657 (floor_test_data): Likewise.
18658 (fmax_test_data): Likewise.
18659 (fmin_test_data): Likewise.
18660 (fmod_test_data): Likewise.
18661 (fpclassify_test_data): Likewise.
18662 (frexp_test_data): Likewise.
18663 (ilogb_test_data): Likewise.
18664 (isfinite_test_data): Likewise.
18665 (isgreater_test_data): Likewise.
18666 (isgreaterequal_test_data): Likewise.
18667 (isinf_test_data): Likewise.
18668 (isless_test_data): Likewise.
18669 (islessequal_test_data): Likewise.
18670 (islessgreater_test_data): Likewise.
18671 (isnan_test_data): Likewise.
18672 (isnormal_test_data): Likewise.
18673 (issignaling_test_data): Likewise.
18674 (isunordered_test_data): Likewise.
18675 (ldexp_test_data): Likewise.
18676 (lrint_test_data): Likewise.
18677 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18678 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18679 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18680 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18681 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18682 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18684 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18685 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18686 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18687 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18689 (lrint_downward_test_data): Test for "inexact" exceptions.
18690 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18691 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18692 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18694 (lrint_upward_test_data): Test for "inexact" exceptions.
18695 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18697 (llrint_test_data): Test for "inexact" exceptions.
18698 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18699 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18700 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18701 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18702 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18703 (llrint_downward_test_data): Test for "inexact" exceptions.
18704 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18705 (llrint_upward_test_data): Test for "inexact" exceptions.
18706 (logb_test_data): Likewise.
18707 (logb_downward_test_data): Likewise.
18708 (nextafter_test_data): Likewise.
18709 (nexttoward_test_data): Likewise.
18710 (remainder_test_data): Likewise.
18711 (remquo_test_data): Likewise.
18712 (scalbn_test_data): Likewise.
18713 (scalbln_test_data): Likewise.
18714 (signbit_test_data): Likewise.
18715 (sqrt_test_data): Likewise.
18716 (significand_test_data): Likewise.
18718 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18721 * benchtests/bench-modf.c (struct args): Mark arg0 as
18723 * scripts/bench.pl: Mark members of struct args as volatile.
18725 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18728 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18729 negative infinity on POWER6 or lower.
18730 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18732 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18735 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18736 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18737 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18738 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18739 (_FP_SETQNAN): New macro.
18740 (_FP_SETQNAN_SEMIRAW): Likewise.
18741 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18742 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18743 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18744 (FP_EXTEND): Use _FP_FRAC_SNANP.
18745 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18746 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18748 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18750 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18753 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18755 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18756 with DIVIDE_BY_ZERO_EXCEPTION.
18757 (gamma_test_data): Likewise.
18758 (lgamma_test_data): Likewise.
18759 (log_test_data): Likewise.
18760 (log10_test_data): Likewise.
18761 (log2_test_data): Likewise.
18762 (tgamma_test_data): Likewise.
18764 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18765 (acos_test_tonearest): Likewise.
18766 (acos_test_towardzero): Likewise.
18767 (acos_test_downward): Likewise.
18768 (acos_test_upward): Likewise.
18769 (acosh_test): Likewise.
18770 (asin_test): Likewise.
18771 (asin_test_tonearest): Likewise.
18772 (asin_test_towardzero): Likewise.
18773 (asin_test_downward): Likewise.
18774 (asin_test_upward): Likewise.
18775 (asinh_test): Likewise.
18776 (atan_test): Likewise.
18777 (atanh_test): Likewise.
18778 (atan2_test): Likewise.
18779 (cabs_test): Likewise.
18780 (cacos_test): Likewise.
18781 (cacosh_test): Likewise.
18782 (casin_test): Likewise.
18783 (casinh_test): Likewise.
18784 (catan_test): Likewise.
18785 (catanh_test): Likewise.
18786 (cbrt_test): Likewise.
18787 (ccos_test): Likewise.
18788 (ccosh_test): Likewise.
18789 (cexp_test): Likewise.
18790 (clog_test): Likewise.
18791 (clog10_test): Likewise.
18792 (cos_test): Likewise.
18793 (cos_test_tonearest): Likewise.
18794 (cos_test_towardzero): Likewise.
18795 (cos_test_downward): Likewise.
18796 (cos_test_upward): Likewise.
18797 (cosh_test): Likewise.
18798 (cosh_test_tonearest): Likewise.
18799 (cosh_test_towardzero): Likewise.
18800 (cosh_test_downward): Likewise.
18801 (cosh_test_upward): Likewise.
18802 (cpow_test): Likewise.
18803 (csin_test): Likewise.
18804 (csinh_test): Likewise.
18805 (csqrt_test): Likewise.
18806 (ctan_test): Likewise.
18807 (ctan_test_tonearest): Likewise.
18808 (ctan_test_towardzero): Likewise.
18809 (ctan_test_downward): Likewise.
18810 (ctan_test_upward): Likewise.
18811 (ctanh_test): Likewise.
18812 (ctanh_test_tonearest): Likewise.
18813 (ctanh_test_towardzero): Likewise.
18814 (ctanh_test_downward): Likewise.
18815 (ctanh_test_upward): Likewise.
18816 (erf_test): Likewise.
18817 (erfc_test): Likewise.
18818 (exp_test): Likewise.
18819 (exp_test_tonearest): Likewise.
18820 (exp_test_towardzero): Likewise.
18821 (exp_test_downward): Likewise.
18822 (exp_test_upward): Likewise.
18823 (exp10_test): Likewise.
18824 (exp2_test): Likewise.
18825 (expm1_test): Likewise.
18826 (fmod_test): Likewise.
18827 (gamma_test): Likewise.
18828 (hypot_test): Likewise.
18829 (j0_test): Likewise.
18830 (j1_test): Likewise.
18831 (jn_test): Likewise.
18832 (lgamma_test): Likewise.
18833 (log_test): Likewise.
18834 (log10_test): Likewise.
18835 (log1p_test): Likewise.
18836 (log2_test): Likewise.
18837 (logb_test_downward): Likewise.
18838 (pow_test): Likewise.
18839 (pow_test_tonearest): Likewise.
18840 (pow_test_towardzero): Likewise.
18841 (pow_test_downward): Likewise.
18842 (pow_test_upward): Likewise.
18843 (remainder_test): Likewise.
18844 (remquo_test): Likewise.
18845 (sin_test): Likewise.
18846 (sin_test_tonearest): Likewise.
18847 (sin_test_towardzero): Likewise.
18848 (sin_test_downward): Likewise.
18849 (sin_test_upward): Likewise.
18850 (sincos_test): Likewise.
18851 (sinh_test): Likewise.
18852 (sinh_test_tonearest): Likewise.
18853 (sinh_test_towardzero): Likewise.
18854 (sinh_test_downward): Likewise.
18855 (sinh_test_upward): Likewise.
18856 (sqrt_test): Likewise.
18857 (tan_test): Likewise.
18858 (tan_test_tonearest): Likewise.
18859 (tan_test_towardzero): Likewise.
18860 (tan_test_downward): Likewise.
18861 (tan_test_upward): Likewise.
18862 (tanh_test): Likewise.
18863 (tgamma_test): Likewise.
18864 (y0_test): Likewise.
18865 (y1_test): Likewise.
18866 (yn_test): Likewise.
18868 * math/gen-libm-test.pl (adjust_arg): Remove function.
18869 (special_function): Remove argument $in_func. Only handle
18870 generating output for tables of tests, not inside functions.
18871 (parse_args): Likewise.
18872 (generate_testfile): Remove variable $in_func. Update call to
18874 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18875 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18876 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18877 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18878 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18879 (MAX_VALUE_INIT): Rename macro to max_value.
18880 (MIN_VALUE_INIT): Rename macro to min_value.
18881 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18882 (plus_zero): Remove variable.
18883 (minus_zero): Likewise.
18884 (plus_infty): Likewise.
18885 (minus_infty): Likewise.
18886 (qnan_value): Likewise.
18887 (max_value): Likewise.
18888 (min_value): Likewise.
18889 (min_subnorm_value): Likewise.
18891 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18893 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18894 uint64_t or uint32_t usage.
18895 * crypt/sha256-block.c: Likewise.
18896 * crypt/sha256-crypt.c: Likewise.
18897 * crypt/sha256.c: Likewise.
18898 * crypt/sha512-block.c: Likewise.
18899 * crypt/sha512-crypt.c: Likewise.
18900 * crypt/sha512.c: Likewise.
18901 * debug/backtrace-tst.c: Likewise.
18902 * debug/pcprofiledump.c: Likewise.
18903 * elf/cache.c: Likewise.
18904 * elf/dl-cache.c: Likewise.
18905 * elf/dl-misc.c: Likewise.
18906 * elf/dl-profile.c: Likewise.
18907 * elf/dl-support.c: Likewise.
18908 * elf/ldconfig.c: Likewise.
18909 * elf/sprof.c: Likewise.
18910 * iconv/dummy-repertoire.c: Likewise.
18911 * iconv/iconv_charmap.c: Likewise.
18912 * iconv/skeleton.c: Likewise.
18913 * iconvdata/8bit-generic.c: Likewise.
18914 * iconvdata/cp737.h: Likewise.
18915 * iconvdata/cp775.h: Likewise.
18916 * iconvdata/ibm1008.h: Likewise.
18917 * iconvdata/ibm1025.h: Likewise.
18918 * iconvdata/ibm1046.h: Likewise.
18919 * iconvdata/ibm1097.h: Likewise.
18920 * iconvdata/ibm1112.h: Likewise.
18921 * iconvdata/ibm1122.h: Likewise.
18922 * iconvdata/ibm1123.h: Likewise.
18923 * iconvdata/ibm1124.h: Likewise.
18924 * iconvdata/ibm1129.h: Likewise.
18925 * iconvdata/ibm1130.h: Likewise.
18926 * iconvdata/ibm1132.h: Likewise.
18927 * iconvdata/ibm1133.h: Likewise.
18928 * iconvdata/ibm1137.h: Likewise.
18929 * iconvdata/ibm1140.h: Likewise.
18930 * iconvdata/ibm1141.h: Likewise.
18931 * iconvdata/ibm1142.h: Likewise.
18932 * iconvdata/ibm1143.h: Likewise.
18933 * iconvdata/ibm1144.h: Likewise.
18934 * iconvdata/ibm1145.h: Likewise.
18935 * iconvdata/ibm1146.h: Likewise.
18936 * iconvdata/ibm1147.h: Likewise.
18937 * iconvdata/ibm1148.h: Likewise.
18938 * iconvdata/ibm1149.h: Likewise.
18939 * iconvdata/ibm1153.h: Likewise.
18940 * iconvdata/ibm1154.h: Likewise.
18941 * iconvdata/ibm1155.h: Likewise.
18942 * iconvdata/ibm1156.h: Likewise.
18943 * iconvdata/ibm1157.h: Likewise.
18944 * iconvdata/ibm1158.h: Likewise.
18945 * iconvdata/ibm1160.h: Likewise.
18946 * iconvdata/ibm1161.h: Likewise.
18947 * iconvdata/ibm1162.h: Likewise.
18948 * iconvdata/ibm1163.h: Likewise.
18949 * iconvdata/ibm1164.h: Likewise.
18950 * iconvdata/ibm1166.h: Likewise.
18951 * iconvdata/ibm1167.h: Likewise.
18952 * iconvdata/ibm12712.h: Likewise.
18953 * iconvdata/ibm1390.h: Likewise.
18954 * iconvdata/ibm1399.h: Likewise.
18955 * iconvdata/ibm16804.h: Likewise.
18956 * iconvdata/ibm4517.h: Likewise.
18957 * iconvdata/ibm4899.h: Likewise.
18958 * iconvdata/ibm4909.h: Likewise.
18959 * iconvdata/ibm4971.h: Likewise.
18960 * iconvdata/ibm5347.h: Likewise.
18961 * iconvdata/ibm803.h: Likewise.
18962 * iconvdata/ibm856.h: Likewise.
18963 * iconvdata/ibm901.h: Likewise.
18964 * iconvdata/ibm902.h: Likewise.
18965 * iconvdata/ibm9030.h: Likewise.
18966 * iconvdata/ibm9066.h: Likewise.
18967 * iconvdata/ibm921.h: Likewise.
18968 * iconvdata/ibm922.h: Likewise.
18969 * iconvdata/ibm9448.h: Likewise.
18970 * iconvdata/isiri-3342.h: Likewise.
18971 * iconvdata/jis0201.h: Likewise.
18972 * include/link.h: Likewise.
18973 * include/netdb.h: Likewise.
18974 * inet/check_native.c: Likewise.
18975 * inet/check_pf.c: Likewise.
18976 * inet/getipv4sourcefilter.c: Likewise.
18977 * inet/getnameinfo.c: Likewise.
18978 * inet/getsourcefilter.c: Likewise.
18979 * inet/htonl.c: Likewise.
18980 * inet/setipv4sourcefilter.c: Likewise.
18981 * inet/setsourcefilter.c: Likewise.
18982 * inet/test-inet6_opt.c: Likewise.
18983 * inet/tst-network.c: Likewise.
18984 * locale/C-collate.c: Likewise.
18985 * locale/C-ctype.c: Likewise.
18986 * locale/C-time.c: Likewise.
18987 * locale/C-translit.h: Likewise.
18988 * locale/loadarchive.c: Likewise.
18989 * locale/programs/3level.h: Likewise.
18990 * locale/programs/charmap.c: Likewise.
18991 * locale/programs/charmap.h: Likewise.
18992 * locale/programs/ld-address.c: Likewise.
18993 * locale/programs/ld-collate.c: Likewise.
18994 * locale/programs/ld-ctype.c: Likewise.
18995 * locale/programs/ld-identification.c: Likewise.
18996 * locale/programs/ld-measurement.c: Likewise.
18997 * locale/programs/ld-messages.c: Likewise.
18998 * locale/programs/ld-monetary.c: Likewise.
18999 * locale/programs/ld-name.c: Likewise.
19000 * locale/programs/ld-numeric.c: Likewise.
19001 * locale/programs/ld-paper.c: Likewise.
19002 * locale/programs/ld-telephone.c: Likewise.
19003 * locale/programs/ld-time.c: Likewise.
19004 * locale/programs/linereader.c: Likewise.
19005 * locale/programs/locale.c: Likewise.
19006 * locale/programs/locarchive.c: Likewise.
19007 * locale/programs/locfile.h: Likewise.
19008 * locale/programs/repertoire.c: Likewise.
19009 * locale/programs/simple-hash.c: Likewise.
19010 * locale/programs/simple-hash.h: Likewise.
19011 * malloc/memusage.c: Likewise.
19012 * malloc/memusagestat.c: Likewise.
19013 * nis/nis_defaults.c: Likewise.
19014 * nis/nis_hash.c: Likewise.
19015 * nis/nis_print.c: Likewise.
19016 * nis/nis_xdr.c: Likewise.
19017 * nscd/connections.c: Likewise.
19018 * nscd/hstcache.c: Likewise.
19019 * nscd/nscd_gethst_r.c: Likewise.
19020 * nscd/nscd_getserv_r.c: Likewise.
19021 * nscd/nscd_helper.c: Likewise.
19022 * nscd/servicescache.c: Likewise.
19023 * nss/makedb.c: Likewise.
19024 * nss/nss_db/db-XXX.c: Likewise.
19025 * nss/nss_db/db-initgroups.c: Likewise.
19026 * nss/nss_db/db-netgrp.c: Likewise.
19027 * nss/nss_files/files-network.c: Likewise.
19028 * nss/nss_files/files-parse.c: Likewise.
19029 * posix/bug-regex5.c: Likewise.
19030 * posix/fnmatch_loop.c: Likewise.
19031 * posix/regcomp.c: Likewise.
19032 * posix/regexec.c: Likewise.
19033 * posix/tst-rfc3484-2.c: Likewise.
19034 * posix/tst-rfc3484-3.c: Likewise.
19035 * posix/tst-rfc3484.c: Likewise.
19036 * resolv/nss_dns/dns-canon.c: Likewise.
19037 * resolv/nss_dns/dns-network.c: Likewise.
19038 * resolv/res_init.c: Likewise.
19039 * resolv/res_mkquery.c: Likewise.
19040 * resolv/tst-aton.c: Likewise.
19041 * stdlib/cxa_atexit.c: Likewise.
19042 * stdlib/cxa_finalize.c: Likewise.
19043 * stdlib/gen-fpioconst.c: Likewise.
19044 * stdlib/strtol_l.c: Likewise.
19045 * string/tst-endian.c: Likewise.
19046 * sunrpc/auth_des.c: Likewise.
19047 * sunrpc/clnt_udp.c: Likewise.
19048 * sunrpc/rtime.c: Likewise.
19049 * sunrpc/svcauth_des.c: Likewise.
19050 * sunrpc/xdr.c: Likewise.
19051 * sunrpc/xdr_intXX_t.c: Likewise.
19052 * sunrpc/xdr_rec.c: Likewise.
19053 * sysdeps/generic/ldconfig.h: Likewise.
19054 * sysdeps/generic/ldsodefs.h: Likewise.
19055 * sysdeps/generic/memusage.h: Likewise.
19056 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19057 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19058 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19059 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19060 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19061 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19062 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19063 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19064 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19066 * sysdeps/posix/getaddrinfo.c: Likewise.
19067 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19068 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19069 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19070 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19071 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19072 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19073 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19074 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19075 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19076 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19077 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19078 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19079 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19080 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19081 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19082 * sysdeps/x86_64/dl-tls.h: Likewise.
19083 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19084 * time/alt_digit.c: Likewise.
19085 * time/era.c: Likewise.
19086 * wcsmbs/tst-c16c32-1.c: Likewise.
19088 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19090 * math/libm-test.inc (struct test_sincos_data): New type.
19091 (RUN_TEST_LOOP_sincos): New macro.
19092 (sincos_test_data): New variable.
19093 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19095 2013-05-16 Richard Henderson <rth@redhat.com>
19097 * math/atest-exp2.c (LIMB64): New macro.
19098 (CONSTSZ): New macro.
19099 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19101 (print_mpn_fp): ... to function scope.
19102 (read_mpn_hex): Remove.
19103 (get_log2): Remove.
19104 (exp2_mpn): Use mp_log2.
19105 (main): Use mp_exp1.
19107 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19109 * math/libm-test.inc: Remove comment about not testing "inexact"
19111 (INEXACT_EXCEPTION): New macro.
19112 (NO_INEXACT_EXCEPTION): Likewise.
19113 (INVALID_EXCEPTION_OK): Update value.
19114 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19115 (OVERFLOW_EXCEPTION_OK): Likewise.
19116 (UNDERFLOW_EXCEPTION_OK): Likewise.
19117 (IGNORE_ZERO_INF_SIGN): Likewise.
19118 (ERRNO_UNCHANGED): Likewise.
19119 (ERRNO_EDOM): Likewise.
19120 (ERRNO_ERANGE): Likewise.
19121 (test_exceptions): Handle testing "inexact" exceptions.
19122 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19123 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19124 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19125 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19127 (rint_towardzero_test_data): Likewise.
19128 (rint_downward_test_data): Likewise.
19129 (rint_upward_test_data): Likewise.
19131 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19132 with OVERFLOW_EXCEPTION.
19133 (exp10_test_data): Likewise.
19134 (exp2_test_data): Likewise.
19135 (expm1_test_data): Likewise.
19136 (lgamma_test_data): Likewise.
19137 (pow_test_data): Likewise.
19138 (tgamma_test_data): Likewise.
19139 (yn_test_data): Remove duplicate test of overflow.
19141 * math/libm-test.inc (struct test_cc_c_data): New type.
19142 (RUN_TEST_LOOP_cc_c): New macro.
19143 (cpow_test_data): New variable.
19144 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19146 * math/libm-test.inc (struct test_f_L_data): New type.
19147 (RUN_TEST_LOOP_f_L): New macro.
19148 (llrint_test_data): New variable.
19149 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19150 (llrint_tonearest_test_data): New variable.
19151 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19152 (llrint_towardzero_test_data): New variable.
19153 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19154 (llrint_downward_test_data): New variable.
19155 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19156 (llrint_upward_test_data): New variable.
19157 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19158 (llround_test_data): New variable.
19159 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19161 2013-05-13 Peter Collingbourne <pcc@google.com>
19163 * math/atest-exp2.c (get_log2): Remove const attribute.
19165 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19167 * math/libm-test.inc (struct test_f_l_data): New type.
19168 (RUN_TEST_LOOP_f_l): New macro.
19169 (lrint_test_data): New variable.
19170 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19171 (lrint_tonearest_test_data): New variable.
19172 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19173 (lrint_towardzero_test_data): New variable.
19174 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19175 (lrint_downward_test_data): New variable.
19176 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19177 (lrint_upward_test_data): New variable.
19178 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19179 (lround_test_data): New variable.
19180 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19182 2013-05-15 Peter Collingbourne <pcc@google.com>
19184 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19185 (EXTRACT_WORDS64) Use where appropriate.
19186 (INSERT_WORDS64) Likewise.
19188 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19189 constraints with x constraints.
19190 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19192 * malloc/obstack.c (_obstack_compat): Add initializer.
19194 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19196 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19197 si_trapno and add si_addr_lsb to _sifields.sigfault.
19198 (si_trapno): Remove macro.
19199 (si_addr_lsb): Define new macro.
19200 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19202 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19204 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19205 instead of TEST_f_l.
19206 (llrint_test_tonearest): Likewise.
19207 (llrint_test_towardzero): Likewise.
19208 (llrint_test_downward): Likewise.
19209 (llrint_test_upward): Likewise.
19210 (llround_test): Likewise.
19212 * math/libm-test.inc (struct test_f_i_data): Add comment.
19213 (RUN_TEST_LOOP_f_b): New macro.
19214 (RUN_TEST_LOOP_f_b_tg): Likewise.
19215 (finite_test_data): New variable.
19216 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19217 (isfinite_test_data): New variable.
19218 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19219 (isinf_test_data): New variable.
19220 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19221 (isnan_test_data): New variable.
19222 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19223 (isnormal_test_data): New variable.
19224 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19225 (issignaling_test_data): New variable.
19226 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19227 (signbit_test_data): New variable.
19228 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19230 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19231 with INVALID_EXCEPTION.
19232 (acosh_test_data): Likewise.
19233 (asin_test_data): Likewise.
19234 (atanh_test_data): Likewise.
19235 (fmod_test_data): Likewise.
19236 (log_test_data): Likewise.
19237 (log10_test_data): Likewise.
19238 (log2_test_data): Likewise.
19239 (pow_test_data): Likewise.
19240 (sqrt_test_data): Likewise.
19241 (y0_test_data): Likewise.
19242 (y1_test_data): Likewise.
19243 (yn_test_data): Likewise.
19245 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19248 * math/libm-test.inc (struct test_ff_i_data): New type.
19249 (RUN_TEST_LOOP_ff_i_tg): New macro.
19250 (isgreater_test_data): New variable.
19251 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19252 (isgreaterequal_test_data): New variable.
19253 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19254 (isless_test_data): New variable.
19255 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19256 (islessequal_test_data): New variable.
19257 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19258 (islessgreater_test_data): New variable.
19259 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19260 (isunordered_test_data): New variable.
19261 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19263 2013-05-14 David S. Miller <davem@davemloft.net>
19265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19267 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19269 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19271 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19273 (struct test_f_i_data): Change type of max_ulp to int.
19275 * math/libm-test.inc (test_ffI_f1_data): New type.
19276 (RUN_TEST_LOOP_ffI_f1): New macro.
19277 (remquo_test_data): New variable.
19278 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19280 * setjmp/tst-setjmp-fp.c: New file.
19281 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19282 (link-libm): New variable.
19283 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19285 * math/libm-test.inc (struct test_f_i_data): New type.
19286 (RUN_TEST_LOOP_f_i): New macro.
19287 (RUN_TEST_LOOP_f_i_tg): Likewise.
19288 (fpclassify_test_data): New variable.
19289 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19290 (ilogb_test_data): New variable.
19291 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19293 * math/libm-test.inc (scalbln_test): Correct function name in END
19296 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19297 (RUN_TEST_LOOP_fI_f1): New macro.
19298 (frexp_test_data): New variable.
19299 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19301 * math/libm-test.inc (struct test_fF_f1_data): New type.
19302 (RUN_TEST_LOOP_fF_f1): New macro.
19303 (modf_test_data): New variable.
19304 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19306 * math/libm-test.inc (struct test_f_f1_data): New type.
19307 (RUN_TEST_LOOP_f_f1): New macro.
19308 (gamma_test_data): New variable.
19309 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19310 (lgamma_test_data): New variable.
19311 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19313 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19315 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19316 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19317 (main): Comment "tls" pseudo-hwcap.
19319 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19321 * math/libm-test.inc (struct test_fl_f_data): New type.
19322 (RUN_TEST_LOOP_fl_f): New variable.
19323 (scalbln_test_data): New variable.
19324 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19326 * math/libm-test.inc (struct test_fi_f_data): New type.
19327 (RUN_TEST_LOOP_fi_f): New macro.
19328 (ldexp_test_data): New variable.
19329 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19330 (scalbn_test_data): New variable.
19331 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19333 * math/libm-test.inc (struct test_c_f_data): New type.
19334 (RUN_TEST_LOOP_c_f): New macro.
19335 (cabs_test_data): New variable.
19336 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19337 (carg_test_data): New variable.
19338 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19339 (cimag_test_data): New variable.
19340 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19341 (creal_test_data): New variable.
19342 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19344 * math/libm-test.inc (struct test_if_f_data): New type.
19345 (RUN_TEST_LOOP_if_f): New macro.
19346 (jn_test_data): New variable.
19347 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19348 (yn_test_data): New variable.
19349 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19351 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19353 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19355 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19356 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19358 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19360 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19361 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19362 (bench-deps): Add bench-timing.h.
19363 * benchtests-bench-skeleton.c: Include bench-timing.h.
19364 (main): Use TIMING_* macros instead of clock_gettime.
19365 * benchtests/bench-timing.h: New file.
19368 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19369 Renamed from _LIB_VERSION.
19370 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19372 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19374 * math/libm-test.inc (struct test_fff_f_data): New type.
19375 (RUN_TEST_LOOP_fff_f): New macro.
19376 (fma_test_data): New variable.
19377 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19378 (fma_towardzero_test_data): New variable.
19379 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19380 (fma_downward_test_data): New variable.
19381 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19382 (fma_upward_test_data): New variable.
19383 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19385 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19386 (struct test_c_c_data): New type.
19387 (RUN_TEST_LOOP_c_c): New macro.
19388 (cacos_test_data): New variable.
19389 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19390 (cacosh_test_data): New variable.
19391 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19392 (casin_test_data): New variable.
19393 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19394 (casinh_test_data): New variable.
19395 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19396 (catan_test_data): New variable.
19397 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19398 (catanh_test_data): New variable.
19399 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19400 (ccos_test_data): New variable.
19401 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19402 (ccosh_test_data): New variable.
19403 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19404 (cexp_test_data): New variable.
19405 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19406 (clog_test_data): New variable.
19407 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19408 (clog10_test_data): New variable.
19409 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19410 (conj_test_data): New variable.
19411 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19412 (cproj_test_data): New variable.
19413 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19414 (csin_test_data): New variable.
19415 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19416 (csinh_test_data): New variable.
19417 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19418 (csqrt_test_data): New variable.
19419 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19420 (ctan_test_data): New variable.
19421 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19422 (ctan_tonearest_test_data): New variable.
19423 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19424 (ctan_towardzero_test_data): New variable.
19425 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19426 (ctan_downward_test_data): New variable.
19427 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19428 (ctan_upward_test_data): New variable.
19429 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19430 (ctanh_test_data): New variable.
19431 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19432 (ctanh_tonearest_test_data): New variable.
19433 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19434 (ctanh_towardzero_test_data): New variable.
19435 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19436 (ctanh_downward_test_data): New variable.
19437 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19438 (ctanh_upward_test_data): New variable.
19439 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19440 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19443 * math/libm-test.inc (struct test_ff_f_data): New type.
19444 (struct test_ff_f_data_nexttoward): Likewise.
19445 (RUN_TEST_LOOP_2_f): New macro.
19446 (RUN_TEST_LOOP_ff_f): Likewise.
19447 (atan2_test_data): New variable.
19448 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19449 (copysign_test_data): New variable.
19450 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19451 (fdim_test_data): New variable.
19452 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19453 (fmax_test_data): New variable.
19454 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19455 (fmin_test_data): New variable.
19456 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19457 (fmod_test_data): New variable.
19458 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19459 (hypot_test_data): New variable.
19460 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19461 (nextafter_test_data): New variable.
19462 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19463 (nexttoward_test_data): New variable.
19464 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19465 (pow_test_data): New variable.
19466 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19467 (pow_tonearest_test_data): New variable.
19468 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19469 (pow_towardzero_test_data): New variable.
19470 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19471 (pow_downward_test_data): New variable.
19472 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19473 (pow_upward_test_data): New variable.
19474 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19475 (remainder_test_data): New variable.
19476 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19477 (scalb_test_data): New variable.
19478 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19479 * sysdeps/i386/fpu/libm-test-ulps: Update.
19481 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19483 * math/libm-test.inc (fma_test): Use max_value instead of local
19485 (nextafter_test): Likewise.
19487 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19488 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19489 (acos_downward_test_data): New variable.
19490 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19491 (acos_upward_test_data): New variable.
19492 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19493 (acosh_test_data): New variable.
19494 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19495 (asin_test_data): New variable.
19496 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19497 (asin_tonearest_test_data): New variable.
19498 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19499 (asin_towardzero_test_data): New variable.
19500 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19501 (asin_downward_test_data): New variable.
19502 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19503 (asin_upward_test_data): New variable.
19504 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19505 (asinh_test_data): New variable.
19506 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19507 (atan_test_data): New variable.
19508 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19509 (atanh_test_data): New variable.
19510 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19511 (cbrt_test_data): New variable.
19512 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19513 (ceil_test_data): New variable.
19514 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19515 (cos_test_data): New variable.
19516 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19517 (cos_tonearest_test_data): New variable.
19518 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19519 (cos_towardzero_test_data): New variable.
19520 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19521 (cos_downward_test_data): New variable.
19522 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19523 (cos_upward_test_data): New variable.
19524 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19525 (cosh_test_data): New variable.
19526 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19527 (cosh_tonearest_test_data): New variable.
19528 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19529 (cosh_towardzero_test_data): New variable.
19530 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19531 (cosh_downward_test_data): New variable.
19532 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19533 (cosh_upward_test_data): New variable.
19534 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19535 (erf_test_data): New variable.
19536 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19537 (erfc_test_data): New variable.
19538 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19539 (exp_test_data): New variable.
19540 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19541 (exp_tonearest_test_data): New variable.
19542 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19543 (exp_towardzero_test_data): New variable.
19544 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19545 (exp_downward_test_data): New variable.
19546 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19547 (exp_upward_test_data): New variable.
19548 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19549 (exp10_test_data): New variable.
19550 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19551 (exp2_test_data): New variable.
19552 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19553 (expm1_test_data): New variable.
19554 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19555 (fabs_test_data): New variable.
19556 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19557 (floor_test_data): New variable.
19558 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19559 (j0_test_data): New variable.
19560 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19561 (j1_test_data): New variable.
19562 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19563 (log_test_data): New variable.
19564 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19565 (log10_test_data): New variable.
19566 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19567 (log1p_test_data): New variable.
19568 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19569 (log2_test_data): New variable.
19570 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19571 (logb_test_data): New variable.
19572 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19573 (logb_downward_test_data): New variable.
19574 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19575 (nearbyint_test_data): New variable.
19576 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19577 (rint_test_data): New variable.
19578 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19579 (rint_tonearest_test_data): New variable.
19580 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19581 (rint_towardzero_test_data): New variable.
19582 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19583 (rint_downward_test_data): New variable.
19584 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19585 (rint_upward_test_data): New variable.
19586 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19587 (round_test_data): New variable.
19588 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19589 (sin_test_data): New variable.
19590 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19591 (sin_tonearest_test_data): New variable.
19592 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19593 (sin_towardzero_test_data): New variable.
19594 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19595 (sin_downward_test_data): New variable.
19596 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19597 (sin_upward_test_data): New variable.
19598 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19599 (sinh_test_data): New variable.
19600 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19601 (sinh_tonearest_test_data): New variable.
19602 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19603 (sinh_towardzero_test_data): New variable.
19604 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19605 (sinh_downward_test_data): New variable.
19606 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19607 (sinh_upward_test_data): New variable.
19608 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19609 (sqrt_test_data): New variable.
19610 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19611 (tan_test_data): New variable.
19612 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19613 (tan_tonearest_test_data): New variable.
19614 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19615 (tan_towardzero_test_data): New variable.
19616 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19617 (tan_downward_test_data): New variable.
19618 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19619 (tan_upward_test_data): New variable.
19620 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19621 (tanh_test_data): New variable.
19622 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19623 (tgamma_test_data): New variable.
19624 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19625 (trunc_test_data): New variable.
19626 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19627 (y0_test_data): New variable.
19628 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19629 (y1_test_data): New variable.
19630 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19631 (significand_test_data): New variable.
19632 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19634 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19637 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19639 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19641 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19643 2013-05-10 Andreas Jaeger <aj@suse.de>
19646 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19647 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19649 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19651 * math/gen-libm-test.pl (adjust_arg): New function.
19652 (special_functions): Handle generating output in both functions
19654 (parse_args): Likewise.
19655 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19656 $in_func argument to parse_args.
19657 * math/libm-test.inc (struct test_f_f_data): New type.
19658 (IF_ROUND_INIT_): New macro.
19659 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19660 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19661 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19662 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19663 (ROUND_RESTORE_): Likewise.
19664 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19665 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19666 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19667 (ROUND_RESTORE_FE_UPWARD): Likewise.
19668 (RUN_TEST_LOOP_f_f): New macro.
19669 (acos_test_data): New variable.
19670 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19671 (acos_tonearest_test_data): New variable.
19672 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19674 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19676 * benchtests/bench-skeleton.c (startup): Fix coding style.
19678 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19681 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19682 negative infinity argument.
19683 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19684 negative infinity argument.
19685 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19686 negative infinity argument.
19687 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19690 2013-05-10 Florian Weimer <fweimer@redhat.com>
19692 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19693 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19694 * iconv/iconv_prog.c (main): Likewise.
19695 * locale/programs/charmap-dir.c (charmap_readdir)
19696 (fopen_uncompressed): Likewise.
19697 * locale/programs/locfile.c (siblings_uncached)
19698 (write_locale_data): Use lstat64 instead of lstat.
19699 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19702 2013-05-10 Andreas Jaeger <aj@suse.de>
19705 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19707 Include <locale.h>.
19709 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19711 * elf/dl-close.c (_dl_close_worker): Add comments.
19713 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19716 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19718 (__ieee754_rem_pio2l): Update comments.
19721 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19723 (__ieee754_rem_pio2l): Update comments.
19725 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19726 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19728 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19731 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19732 (M_PI_34_LOG10El): Likewise.
19733 (M_PI2_LOG10El): Likewise.
19734 (M_PI4_LOG10El): Likewise.
19735 (M_PI_LOG10El): Likewise.
19737 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19741 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19743 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19744 (MINUS_ZERO_INIT): Likewise.
19745 (PLUS_INFTY_INIT): Likewise.
19746 (MINUS_INFTY_INIT): Likewise.
19747 (QNAN_VALUE_INIT): Likewise.
19748 (MAX_VALUE_INIT): Likewise.
19749 (MIN_VALUE_INIT): Likewise.
19750 (MIN_SUBNORM_VALUE_INIT): Likewise.
19751 (plus_zero): Initialize with PLUS_ZERO_INIT.
19752 (minus_zero): Initialize with MINUS_ZERO_INIT.
19753 (plus_infty): Initialize with PLUS_INFTY_INIT.
19754 (minus_infty): Initialize with MINUS_INFTY_INIT.
19755 (qnan_value): Initialize with QNAN_VALUE_INIT.
19756 (max_value): Initialize with MAX_VALUE_INIT.
19757 (min_value): Initialize with MIN_VALUE_INIT.
19758 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19760 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19761 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19762 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19763 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19765 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19766 (RUN_TEST_2_f): Likewise.
19767 (RUN_TEST_ff_f): Likewise.
19768 (RUN_TEST_fi_f): Likewise.
19769 (RUN_TEST_fl_f): Likewise.
19770 (RUN_TEST_fff_f): Likewise.
19771 (RUN_TEST_c_f): Likewise.
19772 (RUN_TEST_f_f1): Likewise.
19773 (RUN_TEST_fF_f1): Likewise.
19774 (RUN_TEST_fI_f1): Likewise.
19775 (RUN_TEST_ffI_f1): Likewise.
19776 (RUN_TEST_c_c): Likewise.
19777 (RUN_TEST_cc_c): Likewise.
19778 (RUN_TEST_f_i): Likewise.
19779 (RUN_TEST_f_i_tg): Likewise.
19780 (RUN_TEST_ff_i_tg): Likewise.
19781 (RUN_TEST_f_b): Likewise.
19782 (RUN_TEST_f_b_tg): Likewise.
19783 (RUN_TEST_f_l): Likewise.
19784 (RUN_TEST_f_L): Likewise.
19785 (RUN_TEST_sincos): Likewise.
19786 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19787 whether to show exceptions. Do not include ");\n" in return
19789 (special_functions): Output call to RUN_TEST_sincos instead of
19790 check_float calls. Update calls to new_test.
19791 (parse_args): Output call to single RUN_TEST_* macro instead of
19792 check_* calls and other assignments. Update calls to new_test.
19798 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19799 input to result for tgamma overflow.
19800 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19801 (gamma_coeff): New variable.
19802 (NCOEFF): New macro.
19803 (gamma_positive): New function.
19804 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19805 underflow here. Use gamma_positive instead of exp (lgamma) for
19807 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19808 (gamma_coeff): New variable.
19809 (NCOEFF): New macro.
19810 (gammaf_positive): New function.
19811 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19812 underflow here. Use gamma_positive instead of exp (lgamma) for
19814 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19815 (gamma_coeff): New variable.
19816 (NCOEFF): New macro.
19817 (gammal_positive): New function.
19818 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19819 underflow here. Use gamma_positive instead of exp (lgamma) for
19821 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19822 (gamma_coeff): New variable.
19823 (NCOEFF): New macro.
19824 (gammal_positive): New function.
19825 (__ieee754_gammal_r): Handle positive infinity, overflow and
19826 underflow here. Handle NaN the same as positive infinity. Remove
19827 check x < 0xffffffff for negative integers. Use gamma_positive
19828 instead of exp (lgamma) for other arguments.
19829 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19830 (gamma_coeff): New variable.
19831 (NCOEFF): New macro.
19832 (gammal_positive): New function.
19833 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19834 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19835 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19836 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19837 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19838 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19839 * sysdeps/generic/math_private.h (__gamma_productf): New
19841 (__gamma_product): Likewise.
19842 (__gamma_productl): Likewise.
19843 * math/Makefile (libm-calls): Add gamma_product.
19844 * math/libm-test.inc (tgamma_test): Add more tests.
19845 * sysdeps/i386/fpu/libm-test-ulps: Update.
19846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19848 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19850 * benchtests/bench-skeleton.c (main): Preheat CPU.
19852 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19854 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19856 2013-05-07 Roland McGrath <roland@hack.frob.com>
19858 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19859 and _dl_skip_args_internal.
19861 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19863 * manual/message.texi (Message Translation): Talk about users.
19864 Message to key mapping impacts design.
19866 2013-05-06 Roland McGrath <roland@hack.frob.com>
19868 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19870 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19872 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19873 * sysdeps/wordsize-64/glob64.c: ... here.
19875 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19876 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19879 * debug/getlogin_r_chk.c: Moved to ...
19880 * login/getlogin_r_chk.c: ... here.
19881 * debug/Makefile (routines): Move getlogin_r_chk to ...
19882 * login/Makefile (routines): ... here.
19883 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19884 * login/Versions (libc: GLIBC_2.4): ... here.
19886 * io/poll.c (__poll): Renamed from poll.
19887 Add libc_hidden_def.
19888 (poll): Define as weak alias.
19890 * debug/ptsname_r_chk.c: Moved to ...
19891 * login/ptsname_r_chk.c: ... here.
19892 * debug/Makefile (routines): Move ptsname_r_chk to ...
19893 * login/Makefile (routines): ... here.
19894 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19895 * login/Versions (libc: GLIBC_2.4): ... here.
19897 * posix/getlogin.c: Moved to ...
19898 * login/getlogin.c: ... here.
19899 * posix/getlogin_r.c: Moved to ...
19900 * login/getlogin_r.c: ... here.
19901 * posix/getlogin_r.c: Moved to ...
19902 * login/getlogin_r.c: ... here.
19903 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19904 * login/Makefile (routines): ... here.
19905 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19906 * login/Versions (libc: GLIBC_2.0): ... here.
19908 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19909 (setrlimit): Define as weak alias.
19911 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19912 Call __ names for open, ftruncate, and close.
19913 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19914 (truncate): Define as weak alias.
19916 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19918 * math/gen-libm-test.pl (parse_args): Initialize x before each
19919 test of frexp, modf and remquo.
19921 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19922 test signgam value.
19924 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19928 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19930 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19932 2013-05-06 Roland McGrath <roland@hack.frob.com>
19934 * elf/dl-writev.h: New file.
19935 * elf/dl-misc.c: Include it.
19936 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19937 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19939 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19941 * math/libm-test.inc (noXFails): Remove variable.
19942 (noXPasses): Likewise.
19943 (BUILD_COMPLEX_INT): Remove macro.
19944 (print_screen): Remove xfail argument.
19945 (print_screen_max_error): Likewise.
19946 (update_stats): Likewise.
19947 (print_max_error): Likewise. Update calls to other affected
19949 (print_complex_max_error): Likewise.
19950 (test_single_exception): Update calls to print_screen.
19951 (test_single_errno): Likewise.
19952 (check_float_internal): Remove xfail argument. Update calls to
19953 other affected functions.
19954 (check_float): Likewise.
19955 (check_complex): Likewise.
19956 (check_int): Likewise.
19957 (check_long): Likewise.
19958 (check_bool): Likewise.
19959 (check_longlong): Likewise.
19960 (main): Don't print noXFails and noXPasses.
19961 * math/gen-libm-test.pl (top level): Don't mention expected
19962 failure handling in comment.
19963 (new_test): Don't handle expected failures.
19964 (parse_args): Don't mention expected failure handling in comment.
19965 (generate_testfile): Don't handle expected failures.
19966 (parse_ulps): Likewise.
19967 (print_ulps_file): Likewise.
19968 (get_failure): Remove function.
19969 (output_test): Don't handle expected failures.
19970 * make/README.libm-test: Don't mention expected failure handling.
19972 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19973 (minus_zero): Likewise.
19974 (plus_infty): Likewise.
19975 (minus_infty): Likewise.
19976 (qnan_value): Likewise.
19977 (max_value): Likewise.
19978 (min_value): Likewise.
19979 (min_subnorm_value): Likewise.
19980 (initialize): Do not initialize those variables dynamically.
19982 2013-05-03 Roland McGrath <roland@hack.frob.com>
19984 * io/open.c (__open_2): Moved to ...
19985 * io/open_2.c: ... this new file.
19986 * io/open64.c (__open64_2): Moved to ...
19987 * io/open64_2.c: ... this new file.
19988 * io/openat.c (__openat_2): Moved to ...
19989 * io/openat_2.c: ... this new file.
19990 * io/openat64.c (__openat64_2): Moved to ...
19991 * io/openat64_2.c: ... this new file.
19992 * io/Makefile (routines): Add them.
19993 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19994 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19995 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19996 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19997 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19998 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19999 (__openat64): Add hidden_ver.
20000 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20001 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20003 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20004 Separately conditionalize setting of GLRO(dl_sysinfo) so
20005 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20006 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20008 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20010 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20011 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20013 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20014 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20015 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20016 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20017 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20019 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20021 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20022 test signgam value.
20024 * math/libm-test.inc (hypot_test): Do not use
20025 IGNORE_ZERO_INF_SIGN.
20027 2013-05-03 Andreas Jaeger <aj@suse.de>
20029 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20031 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20032 (PF_MAX): Adjust for VSOCK change.
20034 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20038 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20041 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20042 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20043 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20045 2013-05-02 David S. Miller <davem@davemloft.net>
20047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20049 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20051 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20053 2013-05-01 Roland McGrath <roland@hack.frob.com>
20055 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20057 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20060 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20061 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20062 Use __attribute__ ((__gnu_inline__)).
20063 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20064 Don't use __attribute__ ((__gnu_inline__)).
20066 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20069 * math/s_catan.c (__catan): Handle small real or imaginary part of
20070 input specially to avoid spurious underflow.
20071 * math/s_catanf.c (__catanf): Likewise.
20072 * math/s_catanh.c (__catanh): Likewise.
20073 * math/s_catanhf.c (__catanhf): Likewise.
20074 * math/s_catanhl.c (__catanhl): Likewise.
20075 * math/s_catanl.c (__catanl): Likewise.
20076 * math/libm-test.inc (catan_test): Add more tests.
20077 (catanh_test): Likewise.
20078 * sysdeps/i386/fpu/libm-test-ulps: Update.
20079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20081 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20085 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20088 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20089 accurately for denominator in atan2.
20090 * math/s_catanf.c (__catanf): Likewise.
20091 * math/s_catanh.c (__catanh): Likewise.
20092 * math/s_catanhf.c (__catanhf): Likewise.
20093 * math/s_catanhl.c (__catanhl): Likewise.
20094 * math/s_catanl.c (__catanl): Likewise.
20095 * math/libm-test.inc (catan_test): Add more tests.
20096 (catanh_test): Likewise.
20097 * sysdeps/i386/fpu/libm-test-ulps: Update.
20098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20100 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20102 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20104 * benchtests/Makefile (bench): Remove slow benchmarks.
20105 * benchtests/atan-inputs: Add slow benchmark inputs.
20106 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20107 (BENCH_FUNC): Accept variant offset.
20109 * benchtests/bench-skeleton.c (main): Run benchmark for each
20111 * benchtests/cos-inputs: Add slow benchmark inputs.
20112 * benchtests/exp-inputs: Likewise.
20113 * benchtests/pow-inputs: Likewise.
20114 * benchtests/sin-inputs: Likewise.
20115 * benchtests/slowatan-inputs: Remove.
20116 * benchtests/slowatan.c: Remove.
20117 * benchtests/slowcos-inputs: Remove.
20118 * benchtests/slowcos.c: Remove.
20119 * benchtests/slowexp-inputs: Remove.
20120 * benchtests/slowexp.c: Remove.
20121 * benchtests/slowpow-inputs: Remove.
20122 * benchtests/slowpow.c: Remove.
20123 * benchtests/slowsin-inputs: Remove.
20124 * benchtests/slowsin.c: Remove.
20125 * benchtests/slowtan-inputs: Remove.
20126 * benchtests/slowtan.c: Remove.
20127 * benchtests/tan-inputs: Add slow benchmark inputs.
20128 * scripts/bench.pl: Parse comments and directives.
20130 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20132 ($(objpfx)bench-%.c): Remove *-ITER.
20133 * benchtests/bench-modf.c: Remove definition of ITER.
20134 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20135 (main): Loop for DURATION seconds instead of fixed number of
20137 * scripts/bench.pl: Don't expect iterations in parameters.
20139 2013-04-29 Roland McGrath <roland@hack.frob.com>
20141 * io/fchdir.c (__fchdir): Renamed from fchdir.
20142 (fchdir): Define as weak alias.
20144 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20146 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20147 (ERRNO_EDOM): Likewise.
20148 (ERRNO_ERANGE): Likewise.
20149 (noErrnoTests): New variable.
20150 (init_max_error): Set errno to 0.
20151 (test_single_errno): New function.
20152 (test_errno): Likewise.
20153 (check_float_internal): Call test_errno. Set errno to 0.
20154 (check_complex): Refer to errno tests in comment.
20155 (check_int): Call test_errno. Set errno to 0.
20156 (check_long): Likewise.
20157 (check_bool): Likewise.
20158 (check_longlong): Likewise.
20159 (cos_test): Use ERRNO_* flags for errno tests instead of
20161 (expm1_test): Likewise.
20162 (fmod_test): Likewise.
20163 (ilogb_test): Likewise.
20164 (lgamma_test): Likewise.
20165 (pow_test): Likewise.
20166 (remainder_test): Likewise.
20167 (sin_test): Likewise.
20168 (tan_test): Likewise.
20169 (yn_test): Likewise.
20170 (initialize): Set errno to 0.
20171 (main): Print number of errno tests.
20172 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20174 2013-04-29 Andreas Jaeger <aj@suse.de>
20177 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20181 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20182 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20186 * stdlib/random.c (__initstate): Return NULL if
20190 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20191 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20194 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20198 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20200 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20201 of individual tests.
20202 (casin_test): Likewise.
20203 (casinh_test): Likewise.
20205 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20208 * math/s_catan.c (__catan): Handle arguments with large real or
20209 imaginary part separately without squaring.
20210 * math/s_catanf.c (__catanf): Likewise.
20211 * math/s_catanh.c (__catanh): Likewise.
20212 * math/s_catanhf.c (__catanhf): Likewise.
20213 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20215 (__catanhl): Handle arguments with large real or imaginary part
20216 separately without squaring.
20217 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20219 (__catanl): Handle arguments with large real or imaginary part
20220 separately without squaring.
20221 * math/libm-test.inc (catan_test): Add more tests.
20222 (catanh_test): Likewise.
20223 * sysdeps/i386/fpu/libm-test-ulps: Update.
20224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20226 2013-04-27 Andreas Jaeger <aj@suse.de>
20229 * stdlib/stdlib.h: Update guards for qecvt.
20230 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20233 2013-04-27 Allan McRae <allan@archlinux.org>
20235 * sysdeps/i386/fpu/libm-test-ulps: Update.
20237 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20240 * math/s_catan.c: Include <float.h>.
20241 (__catan): Ensure underflow exception occurs for underflowed
20243 * math/s_catanf.c: Include <float.h>.
20244 (__catanf): Ensure underflow exception occurs for underflowed
20246 * math/s_catanh.c: Include <float.h>.
20247 (__catanh): Ensure underflow exception occurs for underflowed
20249 * math/s_catanhf.c: Include <float.h>.
20250 (__catanhf): Ensure underflow exception occurs for underflowed
20252 * math/s_catanhl.c: Include <float.h>.
20253 (__catanhl): Ensure underflow exception occurs for underflowed
20255 * math/s_catanl.c: Include <float.h>.
20256 (__catanl): Ensure underflow exception occurs for underflowed
20258 * math/libm-test.inc (catan_test): Add more tests.
20259 (catanh_test): Likewise.
20262 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20263 underflowed result.
20264 * math/s_ccoshf.c (__ccoshf): Likewise.
20265 * math/s_ccoshl.c (__ccoshl): Likewise.
20266 * math/s_csin.c (__csin): Likewise.
20267 * math/s_csinf.c (__csinf): Likewise.
20268 * math/s_csinh.c (__csinh): Likewise.
20269 * math/s_csinhf.c (__csinhf): Likewise.
20270 * math/s_csinhl.c (__csinhl): Likewise.
20271 * math/s_csinl.c (__csinl): Likewise.
20272 * math/libm-test.inc (ccos_test): Add more tests.
20273 (ccosh_test): Likewise.
20274 (csin_test): Likewise.
20275 (csinh_test): Likewise.
20277 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20279 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20280 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20281 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20282 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20283 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20284 powerpc/power5+/fpu folders.
20285 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20288 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20292 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20294 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20295 additions to variable.
20296 [$(config-machine) = x86_64] (modules-names): Likewise.
20297 ($(objpfx)tst-audit3): Remove dependency.
20298 ($(objpfx)tst-audit3.out): Likewise.
20299 ($(objpfx)tst-audit4): Likewise.
20300 ($(objpfx)tst-audit4.out): Likewise.
20301 ($(objpfx)tst-audit5): Likewise.
20302 ($(objpfx)tst-audit5.out): Likewise.
20303 ($(objpfx)tst-audit6): Likewise.
20304 ($(objpfx)tst-audit6.out): Likewise.
20305 ($(objpfx)tst-audit7): Likewise.
20306 ($(objpfx)tst-audit7.out): Likewise.
20307 (tst-audit3-ENV): Remove variable.
20308 (tst-audit4-ENV): Likewise.
20309 (tst-audit5-ENV): Likewise.
20310 (tst-audit6-ENV): Likewise.
20311 (tst-audit7-ENV): Likewise.
20312 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20313 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20314 addition to variable.
20315 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20316 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20317 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20318 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20319 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20320 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20321 tst-audit3, tst-audit4 and tst-audit5.
20322 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20323 tst-audit6 and tst-audit7.
20324 [$(subdir) = elf] (modules-names): Add audit modules for those
20326 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20327 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20328 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20329 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20330 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20331 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20332 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20333 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20334 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20335 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20336 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20337 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20338 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20339 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20340 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20341 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20343 [$(subdir) = elf && $(config-cflags-avx) = yes]
20344 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20345 [$(subdir) = elf && $(config-cflags-avx) = yes]
20346 (CFLAGS-tst-auditmod4a.c): Likewise.
20347 [$(subdir) = elf && $(config-cflags-avx) = yes]
20348 (CFLAGS-tst-auditmod4b.c): Likewise.
20349 [$(subdir) = elf && $(config-cflags-avx) = yes]
20350 (CFLAGS-tst-auditmod6b.c): Likewise.
20351 [$(subdir) = elf && $(config-cflags-avx) = yes]
20352 (CFLAGS-tst-auditmod6c.c): Likewise.
20353 [$(subdir) = elf && $(config-cflags-avx) = yes]
20354 (CFLAGS-tst-auditmod7b.c): Likewise.
20355 * elf/tst-audit3.c: Move to ...
20356 * sysdeps/x86_64/tst-audit3.c: ... here.
20357 * elf/tst-audit4.c: Move to ...
20358 * sysdeps/x86_64/tst-audit4.c: ... here.
20359 * elf/tst-audit5.c: Move to ...
20360 * sysdeps/x86_64/tst-audit5.c: ... here.
20361 * elf/tst-audit6.c: Move to ...
20362 * sysdeps/x86_64/tst-audit6.c: ... here.
20363 * elf/tst-audit7.c: Move to ...
20364 * sysdeps/x86_64/tst-audit7.c: ... here.
20365 * elf/tst-auditmod3a.c: Move to ...
20366 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20367 * elf/tst-auditmod3b.c: Move to ...
20368 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20369 * elf/tst-auditmod4a.c: Move to ...
20370 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20371 * elf/tst-auditmod4b.c: Move to ...
20372 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20373 * elf/tst-auditmod5a.c: Move to ...
20374 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20375 * elf/tst-auditmod5b.c: Move to ...
20376 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20377 * elf/tst-auditmod6a.c: Move to ...
20378 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20379 * elf/tst-auditmod6b.c: Move to ...
20380 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20381 * elf/tst-auditmod6c.c: Move to ...
20382 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20383 * elf/tst-auditmod7a.c: Move to ...
20384 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20385 * elf/tst-auditmod7b.c: Move to ...
20386 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20388 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20391 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20392 define unconditionally.
20393 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20394 define unconditionally.
20395 (INT8_C, INT16_C, etc.): Likewise.
20397 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20399 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20400 __ehdr_start with hidden visibility.
20402 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20404 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20406 * math/libm-test.inc (cos_test): Use accurate hex constants.
20407 (sincost_test): Likewise.
20409 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20411 * math/libm-test.inc (catan_test): Add more tests.
20412 (catanh_test): Likewise.
20414 * math/s_catanf.c (__catanf): Use suffixed floating-point
20416 * math/s_catanhf.c (__catanhf): Likewise.
20417 * math/s_catanhl.c (__catanhl): Likewise.
20418 * math/s_catanl.c (__catanl): Likewise.
20421 * math/s_catan.c (__catan): Calculate imaginary part of result
20422 with log1p not log unless computing log of number close to 0.
20423 * math/s_catanf.c (__catanf): Likewise.
20424 * math/s_catanl.c (__catanl): Likewise.
20425 * math/s_catanh.c (__catanh): Calculate real part of result with
20426 log1p not log unless computing log of number close to 0.
20427 * math/s_catanhf.c (__catanhf): Likewise.
20428 * math/s_catanhl.c (__catanhl): Likewise.
20429 * math/libm-test.inc (catan_test): Add more tests.
20430 (catanh_test): Likewise.
20431 * sysdeps/i386/fpu/libm-test-ulps: Update.
20432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20434 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20436 * benchtests/Makefile: Mention files in which fast and slow
20437 paths of math functions are implemented.
20439 2013-04-23 Roland McGrath <roland@hack.frob.com>
20441 * sysdeps/posix/timespec_get.c: New file.
20443 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20445 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20447 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20449 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20450 powerpc/power5/fpu folders.
20451 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20452 * benchtests/Makefile: Add modf testcase.
20453 * benchtests/bench-modf.c: New file: Benchmark test for mo
20455 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20458 * time/Makefile (tests): Add tst-strptime-whitespace.
20459 * time/strptime_l.c (get_number): Use ISSPACE.
20460 (__strptime_internal): Likewise.
20461 * time/tst-strptime-whitespace.c: New test case.
20463 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20465 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20467 (_nss_files_init): Set it here.
20469 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20471 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20472 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20475 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20477 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20479 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20481 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20484 2013-04-21 David S. Miller <davem@davemloft.net>
20486 * po/ru.po: Update Russion translation from translation project.
20488 2013-04-17 Adam Conrad <adconrad@0c3.net>
20490 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20493 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20495 * configure.in: Remove i386 configure warning. Remove i386 case.
20496 * configure: Regenerate.
20497 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20498 Add example to error message.
20499 * sysdeps/i386/configure: Regenerate.
20501 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20503 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20505 * benchtests/cos-inputs: New file.
20506 * benchtests/slowcos-inputs: New file.
20507 * benchtests/slowcos.c: New file.
20508 * benchtests/slowtan-inputs: New file.
20509 * benchtests/slowtan.c: New file.
20510 * benchtests/tan-inputs: New file.
20512 2013-04-16 Roland McGrath <roland@hack.frob.com>
20514 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20517 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20519 * benchtests/Makefile: Include cppflags-iterator.mk to add
20520 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20522 * Makefile.in (bench-clean): New target.
20523 * benchtests/Makefile (bench-clean): Likewise.
20525 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20527 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20529 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20531 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20533 2013-04-15 Andreas Schwab <schwab@suse.de>
20535 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20536 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20537 * nscd/pwdcache.c (cache_addpw): Likewise.
20538 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20541 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20543 * benchtests/Makefile (bench): Write all output to
20544 bench-out.tmp together.
20546 2013-04-15 Andreas Schwab <schwab@suse.de>
20548 * nscd/nscd.c (main): Don't fork again after closing files.
20550 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20552 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20554 * benchtests/Rules (bench-deps): Collect dependencies into a
20555 single variable. Add Makefile to dependencies.
20556 ($(objpfx)bench-%.c): Depend on bench-deps.
20558 2013-04-12 Roland McGrath <roland@hack.frob.com>
20559 Xavier Roche <roche+kml2@exalead.com>
20562 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20563 just that it's a file descriptor.
20564 * manual/llio.texi (Synchronizing AIO Operations): Update description
20565 for EBADF error from aio_fsync.
20567 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20569 * Rules (bench): Move target definition...
20570 * benchtests/Makefile: ... here.
20572 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20574 * math/libm-test.inc (cos_test): Fix PI/2 test.
20575 (sincos_test): Likewise.
20576 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20577 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20579 2013-04-11 Andreas Schwab <schwab@suse.de>
20582 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20583 accept exponent character only when digits were seen.
20584 * stdio-common/Makefile (tests): Add bug26.
20585 * stdio-common/bug26.c: New file.
20588 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20591 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20593 * Makeconfig (rtld-prefix): Define built linker prefix.
20594 * Rules (run-bench): Use it.
20595 * math/Makefile (run-regen-ulps): Likewise.
20597 * Rules (bench): Remove eval.
20599 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20600 Roland McGrath <roland@hack.frob.com>
20601 Ondrej Bilka <neleai@seznam.cz>
20604 * time/getdate.c: Include ctype.h and alloca.h.
20605 (__getdate_r): Trim leading and trailing spaces of input.
20606 * time/tst-getdate.c (tests): Add tests with leading and
20609 2013-04-08 Roland McGrath <roland@hack.frob.com>
20612 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20613 when computing value.
20615 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20617 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20618 Use testrun.sh to run libm tests.
20621 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20623 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20626 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20628 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20630 * Makefile.in (regen-ulps): New target.
20631 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20632 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20633 [ifneq (no,$(PERL)] (regen-ulps): New target.
20634 [ifeq (no,$(PERL)] (regen-ulps): New target.
20635 * math/libm-test.inc (ulps_file_name): Define.
20636 (output_dir): New variable.
20637 (options): Add "output-dir" option.
20638 (parse_opt): Handle 'o' case.
20639 (main): If output_dir is non-NULL use it as a prefix
20641 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20643 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20645 [BZ #10060, #10062]
20646 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20647 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20648 fail configure if __sync_val_compare_and_swap is not inlined.
20649 * sysdeps/i386/configure: Regenerate.
20650 * configure.in: Build for i686 when configured for i386.
20651 * configure: Regenerate.
20652 * README: Remove i386 reference.
20654 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20656 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20657 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20659 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20661 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20662 (lmsnanval): New variables.
20663 (F): Add conversion tests.
20664 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20665 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20667 * stdio-common/tstdiomisc.c (F): Properly collect individual
20670 [BZ #14686, #15336]
20671 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20672 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20673 Instead, use input NaN values or generate a qNaN by arithmetic
20674 operation. Also fix bugs to comply with the standard.
20675 * math/libm-test.inc (remainder_test): Add more tests.
20677 [BZ #15335, #15342]
20678 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20679 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20680 input NaN values or generate a qNaN by arithmetic operation.
20682 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20685 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20688 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20691 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20692 underflowed result.
20693 * math/s_cexpf.c (__cexpf): Likewise.
20694 * math/s_cexpl.c (__cexpl): Likewise.
20695 * math/libm-test.inc (cexp_test): Add more tests.
20697 2013-04-03 Andreas Schwab <schwab@suse.de>
20700 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20701 order arrays from heap if bigger than alloca cutoff.
20703 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20705 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20706 (SNAN_TESTS_double): Refer to GCC PR56831.
20707 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20710 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20712 * Rules (bench): Move bench.out after the run is complete.
20714 * Rules (bench): Echo currently running benchmark.
20716 * benchtests/Makefile (bench): Add atan and slowatan.
20717 * benchtests/atan-inputs: New file.
20718 * benchtests/slowatan-inputs: New file.
20719 * benchtests/slowatan.c: New file.
20721 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20722 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20726 * sysdeps/unix/sysv/linux/kernel-features.h
20727 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20728 __ASSUME_XFS_RESTRICTED_CHOWN.
20729 * sysdeps/unix/sysv/linux/pathconf.c
20730 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20731 Save and restore errno.
20733 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20736 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20737 arguments using __kernel_casinh.
20738 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20739 arguments using __kernel_casinhf.
20740 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20741 arguments using __kernel_casinhl.
20742 * math/libm-test.inc (cacosh_test): Add more tests.
20743 * sysdeps/i386/fpu/libm-test-ulps: Update.
20744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20746 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20748 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20749 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20751 * bench/Makefile (bench): Add sin and slowsin.
20752 * benchtests/sin-inputs: New file.
20753 * benchtests/slowsin-inputs: New file.
20754 * benchtests/slowsin.c: New file.
20756 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20757 (bench): Add slowexp and slowpow.
20758 (exp-ITER): Increase iterations.
20759 (pow-ITER): Likewise.
20760 * benchtests/exp-inputs: Change input.
20761 * benchtests/pow-inputs: Likewise.
20762 * benchtests/slowexp-inputs: New file.
20763 * benchtests/slowexp.c: New file.
20764 * benchtests/slowpow-inputs: New file.
20765 * benchtests/slowpow.c: New file.
20767 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20769 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20771 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20772 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20773 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20774 * benchtests/Makefile: Add rint benchtest.
20775 * benchtests/rint-inputs: Input for rint benchtest.
20777 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20779 * Versions.def (libm): Add GLIBC_2.18.
20780 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20781 hidden libm prototypes.
20782 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20783 * math/Makefile (libm-calls): Add s_issignaling.
20784 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20785 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20786 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20788 * math/math.h [__USE_GNU] (issignaling): New macro.
20789 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20790 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20791 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20792 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20793 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20794 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20795 * manual/arith.texi (issignaling): New section.
20796 * manual/libm-err-tab.pl (@all_functions): Update comment.
20797 * math/gen-libm-test.pl (parse_args): Apply special handling for
20799 * math/libm-test.inc (print_float, issignaling_test): New
20801 (check_float_internal): Add issignaling checks.
20802 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20803 default definition.
20804 * sysdeps/powerpc/math-tests.h: New file.
20805 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20807 * math/test-snan.c (TEST_FUNC): Likewise.
20809 2013-03-30 David S. Miller <davem@davemloft.net>
20811 * po/de.po: Update from translation team.
20813 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20816 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20817 imaginary part less than 1.0 and real part less than 0.5
20819 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20820 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20821 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20822 (cacos_test): Add more tests.
20823 (casin_test): Likewise.
20824 (casinh_test): Likewise.
20825 * sysdeps/i386/fpu/libm-test-ulps: Update.
20826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20828 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20830 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20831 ONE with its value.
20833 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20834 (__pow_mp): Replace ONE and MONE with their values.
20835 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20836 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20837 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20838 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20839 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20840 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20842 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20844 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20845 (__pow_mp): Replace ZERO and MZERO with their values.
20846 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20847 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20848 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20850 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20851 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20854 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20856 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20858 2013-03-28 Roland McGrath <roland@hack.frob.com>
20860 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20861 Declare with __attribute__ ((weak)).
20862 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20863 Call __call_tls_dtors only if it's not NULL.
20865 2013-03-28 Roland McGrath <roland@hack.frob.com>
20867 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20868 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20869 magic __ehdr_start linker symbol if it's defined.
20870 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20871 them up here if it was already done.
20873 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20874 (_dl_aux_init): Use const in cast when setting it.
20875 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20876 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20877 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20879 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20881 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20882 * csu/libc-tls.c: Nor here.
20883 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20885 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20886 (__libc_message): Never call vsyslog.
20888 2013-03-28 Alan Modra <amodra@gmail.com>
20890 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20892 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20895 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20898 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20902 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20905 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20906 Don't add gid passed as argument.
20908 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20910 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20913 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20914 imaginary part between 1.0 and 1.5 and real part less than 0.5
20916 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20917 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20918 * math/libm-test.inc (cacos_test): Add more tests.
20919 (casin_test): Likewise.
20920 (casinh_test): Likewise.
20921 * sysdeps/i386/fpu/libm-test-ulps: Update.
20922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20924 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20926 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20929 (denorm): Likewise.
20930 (__dbl_mp): Likewise.
20931 (add_magnitudes): Likewise.
20932 (sub_magnitudes): Likewise.
20940 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20942 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20943 (__dubcos): Likewise.
20944 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20945 (__ieee754_acos): Likewise.
20946 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20947 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20948 (__exp1): Likewise.
20949 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20950 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20952 (my_log2): Likewise.
20953 (checkint): Likewise.
20954 * sysdeps/ieee754/dbl-64/e_remainder.c
20955 (__ieee754_remainder): Likewise.
20956 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20957 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20958 (bsloww): Likewise.
20959 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20961 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20962 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20963 MANTISSA_STORE_T to store computations on mantissa. Use
20964 macros for rounding and division.
20965 (denorm): Likewise.
20966 (__dbl_mp): Likewise.
20967 (add_magnitudes): Likewise.
20968 (sub_magnitudes): Likewise.
20971 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20972 powers of two in terms of TWOPOW macro.
20973 (mp_no): Make type of mantissa as MANTISSA_T.
20974 [!RADIXI]: Define RADIXI.
20975 [!TWO52]: Define TWO52.
20976 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20978 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20980 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20981 llroundl symbol when building for PPC32.
20983 2013-03-24 Mark H Weaver <mhw@netris.org>
20985 * manual/arith.texi (Normalization Functions): Fix prototypes for
20986 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20988 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20991 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20992 high value to check if expl overflow.
20993 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20994 to check for underflow and overflow.
20995 * math/libm-test.inc: Add exp test.
20997 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21000 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21003 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21005 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21008 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21010 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21011 wrap blocks consisting of several statements.
21013 * sysdeps/generic/math-tests.h: New file.
21014 * sysdeps/i386/fpu/math-tests.h: Likewise.
21015 * math/test-snan.c: Include it.
21016 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21018 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21021 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21022 (__ieee754_j0l): Do not improve calculations using cos of twice
21023 input for inputs above LDBL_MAX / 2.0L.
21024 (__ieee754_y0l): Likewise.
21025 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21026 (__ieee754_j1l): Do not improve calculations using cos of twice
21027 input for inputs above LDBL_MAX / 2.0L.
21028 (__ieee754_y1l): Likewise.
21029 * math/libm-test.inc (j0_test): Add another test.
21030 (j1_test): Likewise.
21031 (y0_test): Likewise.
21032 (y1_test): Likewise.
21033 * sysdeps/i386/fpu/libm-test-ulps: Update.
21035 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21037 * Rules ($(objpfx)bench-%.c): Include code from a C source
21040 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21043 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21044 imaginary part 1.0 and real part less than 0.5 specially.
21045 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21046 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21047 * math/libm-test.inc (cacos_test): Add more tests.
21048 (casin_test): Likewise.
21049 (casinh_test): Likewise.
21050 * sysdeps/i386/fpu/libm-test-ulps: Update.
21051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21053 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21055 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21056 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21058 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21060 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21061 * config.make.in (config-cflags-sse4): Remove variable.
21062 (config-cflags-avx): Likewise.
21063 (config-cflags-sse2avx): Likewise.
21064 (config-cflags-novzeroupper): Likewise.
21065 (config-asflags-i686): Likewise.
21066 (have-mfma4): Likewise.
21067 (have-as-vis3): Likewise.
21069 * configure.in (MIG): Do not AC_SUBST.
21070 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21071 (libc_cv_cc_sse4): Do not AC_SUBST.
21072 (libc_cv_cc_avx): Likewise.
21073 (libc_cv_cc_sse2avx): Likewise.
21074 (libc_cv_cc_novzeroupper): Likewise.
21075 (libc_cv_cc_fma4): Likewise.
21076 (libc_cv_as_i686): Likewise.
21077 (libc_cv_sparc_as_vis3): Likewise.
21078 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21080 (config-asflags-i686): Likewise.
21081 (config-cflags-avx): Likewise.
21082 (config-cflags-sse2avx): Likewise.
21083 (have-mfma4): Likewise.
21084 (config-cflags-novzeroupper): Likewise.
21085 * sysdeps/mach/configure.in (MIG): Likewise.
21086 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21087 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21089 (config-cflags-avx): Likewise.
21090 (config-cflags-sse2avx): Likewise.
21091 (have-mfma4): Likewise.
21092 (config-cflags-novzeroupper): Likewise.
21093 * configure: Regenerated.
21094 * sysdeps/i386/configure: Likewise.
21095 * sysdeps/mach/configure: Likewise.
21096 * sysdeps/sparc/configure: Likewise.
21097 * sysdeps/x86_64/configure: Likewise.
21099 2013-03-20 Roland McGrath <roland@hack.frob.com>
21102 * locale/programs/localedef.c (options): Put N_ translation marker
21103 on argument names, not just descriptions.
21105 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21107 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21109 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21112 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21114 2013-03-19 Roland McGrath <roland@hack.frob.com>
21116 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21117 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21118 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21119 [!BEFORE_ABORT] (before_abort): New function.
21120 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21121 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21122 (writev_for_fatal): New function.
21123 (WRITEV_FOR_FATAL): New macro; call that.
21124 (backtrace_and_maps): New function.
21125 (BEFORE_ABORT): New macro; call that.
21126 (struct str_list): Type removed.
21127 (__libc_message, __libc_fatal): Functions removed.
21128 Include <sysdeps/posix/libc_fatal.c> instead.
21130 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21132 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21134 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21137 2013-03-19 Andreas Schwab <schwab@suse.de>
21139 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21140 * sysdeps/gnu/configure: Regenerate.
21142 * configure.in: Substitute libc_cv_rtlddir.
21143 * configure: Regenerate.
21144 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21145 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21146 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21147 * elf/Makefile (install-others, CFLAGS-interp.c)
21148 (ldso_install, common-ldd-rewrite): Likewise.
21149 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21150 $(inst_slibdir)/$(rtld-installed-name).
21151 * scripts/rellns-sh: Add -p option.
21152 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21155 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21157 * manual/nptl.texi: Renamed to ...
21158 * manual/threads.texi: ... this.
21159 * manual/Makefile (chapters): Update.
21161 2013-03-18 Roland McGrath <roland@hack.frob.com>
21164 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21165 on argument names, not just descriptions.
21166 * malloc/memusagestat.c (options): Likewise.
21167 * nss/getent.c (options): Likewise.
21169 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21172 * iconv/iconv_prog.c (options): Put N_ translation marker
21173 on argument names, not just descriptions.
21174 * iconv/iconvconfig.c (options): Likewise.
21176 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21178 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21179 implementation which is faster on all x86_64 architectures.
21180 Tested on AMD, Intel Nehalem, SNB, IVB.
21181 * sysdeps/x86_64/strnlen.S: Likewise.
21183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21184 Remove all multiarch strlen and strnlen versions.
21185 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21186 Remove strlen and strnlen related parts.
21188 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21189 Inline strlen part.
21190 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21192 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21193 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21194 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21195 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21196 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21197 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21199 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21201 * manual/memory.texi (Malloc Tunable Parameters):
21202 Sort parameters alphabetically. Add comments for missing entries.
21204 2013-03-17 David S. Miller <davem@davemloft.net>
21206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21208 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21211 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21212 for arguments at most half maximum finite value.
21213 * math/libm-test.inc (j0_test): Add more tests.
21214 (j1_test): Likewise.
21215 (y0_test): Likewise.
21216 (y1_test): Likewise.
21217 * sysdeps/i386/fpu/libm-test-ulps: Update.
21218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21221 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21222 1 / x and functions P and Q for arguments above 0x1p256L.
21223 (__ieee754_y0l): Likewise.
21224 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21225 (__ieee754_y1l): Likewise.
21226 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21227 (j1_test): Likewise.
21228 (y0_test): Likewise.
21229 (y1_test): Likewise.
21231 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21233 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21236 2013-03-15 Roland McGrath <roland@hack.frob.com>
21238 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21239 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21240 zero since it's initialized to EXEC_PAGESIZE.
21242 * sysdeps/unix/sysv/linux/ldsodefs.h
21243 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21244 * sysdeps/generic/ldsodefs.h: ... here.
21246 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21248 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21250 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21252 * math/test-snan.c: Renamed from
21253 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21254 * math/Makefile (tests): Add test-snan.
21255 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21258 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21259 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21261 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21262 __builtin_nan family of functions.
21263 * math/libm-test.inc (initialize): Initialize qnan_value with
21264 __builtin_nan family of functions.
21265 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21267 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21269 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21270 storage class. Initialize qNaN_var and sNaN_var with
21271 __builtin_nan and __builtin_nans families of functions,
21274 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21275 (sqrt_test): Remove duplicate test with qNaN input.
21276 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21277 (round_test, signbit_test, significand_test): Note missing +/-Inf
21278 as well as qNaN tests.
21280 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21281 qNaN_var. Fix a few strings, too.
21282 * math/libm-test.inc (nan_value): Rename to qnan_value.
21283 * math/gen-libm-test.pl (%beautify): Adjust to that.
21284 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21285 * math/test-misc.c (main): Likewise.
21286 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21287 to __qnan_bytes, and __qnan_union, respectively.
21288 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21290 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21291 and lqnanval, respectively.
21292 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21293 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21294 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21295 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21297 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21298 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21301 * math/test-misc.c (main): Fix copy'n'pastos.
21302 * misc/tst-efgcvt.c (special): Likewise.
21304 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21305 Remove declarations.
21307 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21309 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21310 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21311 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21312 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21314 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21316 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21317 macro to return vdso values correctly in IFUNC implementations.
21318 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21319 Optimization by using IFUNC.
21321 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21322 Richard Henderson <rth@redhat.com>
21323 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21325 * Makefile.in (bench): New target.
21326 * NEWS: Mention the benchmark framework.
21327 * Rules (bench): Likewise.
21328 (binaries-bench): Generate binaries for functions to
21330 * benchtests/Makefile: New makefile for benchmark tests.
21331 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21333 * benchtests/exp-inputs: New input file for EXP function.
21334 * benchtests/pow-inputs: New input file for POW function.
21335 * scripts/bench.pl: New script to generate source files for
21336 benchmark programs.
21338 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21340 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21341 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21342 computations on mantissa. Use macros for rounding and
21344 (denorm): Likewise.
21345 (__dbl_mp): Likewise.
21346 (add_magnitudes): Likewise.
21347 (sub_magnitudes): Likewise.
21350 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21351 powers of two in terms of TWOPOW macro.
21352 (mp_no): Make type of mantissa as MANTISSA_T.
21353 [!RADIXI]: Define RADIXI.
21354 [!TWO52]: Define TWO52.
21355 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21357 * manual/nptl.texi (cindex): Modify threads to pthreads.
21359 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21361 * sysdeps/x86_64/preconfigure: Regenerated.
21363 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21366 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21368 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21369 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21371 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21372 * math/libm-test.inc (j0_test): Do not allow one spurious
21373 underflow exception.
21374 (y1_test): Likewise.
21376 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21378 * manual/Makefile (chapters): Add nptl.
21379 * manual/debug.texi (Debugging Support): Add link to Threads
21381 * manual/nptl.texi: New file.
21383 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21385 2013-03-14 Petr Baudis <pasky@ucw.cz>
21387 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21388 for non-NULL pointer before the memory validity test. Pointed
21389 out by Holger Brunck <holger.brunck@keymile.com>.
21391 2013-03-13 Andreas Schwab <schwab@suse.de>
21393 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21396 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21398 * timezone/zic.c: Update from tzcode 2013b.
21400 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21402 * manual/install.texi (Configuring and compiling):
21403 Mention i686 and i586.
21404 * INSTALL: Regenerate.
21406 2013-03-12 Roland McGrath <roland@hack.frob.com>
21408 * sysdeps/init_array/elf-init.c: New file.
21410 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21411 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21413 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21414 __gmon_start__ as global, but as static with a .preinit_array pointer.
21415 * sysdeps/init_array/gmon-start.c: New file. Use that.
21416 * sysdeps/init_array/crti.S: New file, empty except for comments.
21417 * sysdeps/init_array/crtn.S: Likewise.
21419 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21421 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21424 Remove Prefer_SSE_for_memop.
21425 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21426 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21427 HAS_PREFER_SSE_FOR_MEMOP.
21428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21431 Remove bzero, memset ifunc support.
21432 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21433 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21434 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21435 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21437 2013-03-11 Andreas Schwab <schwab@suse.de>
21440 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21443 (GLIBC_2.16): Remove pthread_atfork.
21445 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21447 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21448 (ptestcases.h): Likewise.
21450 2013-03-08 Roland McGrath <roland@hack.frob.com>
21452 * Makeconfig ($(common-objpfx)config.status): Depend on
21453 sysdeps/*/preconfigure{,.in} too.
21455 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21457 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21458 (__free_hook): Use void * instead of __malloc_ptr_t.
21459 (__malloc_hook): Likewise.
21460 (__realloc_hook): Likewise.
21461 (__memalign_hook): Likewise.
21462 (__after_morecore_hook): Likewise.
21463 * malloc/arena.c (save_malloc_hook): Likewise.
21464 (save_free_hook): Likewise.
21465 * malloc/hooks.c (malloc_hook_ini): Likewise.
21466 (realloc_hook_ini): Likewise.
21467 (memalign_hook_ini): Likewise.
21468 * malloc/malloc.c (malloc_hook_ini): Likewise.
21469 (realloc_hook_ini): Likewise.
21470 (memalign_hook_ini): Likewise.
21471 (__free_hook): Likewise.
21472 (__malloc_hook): Likewise.
21473 (__realloc_hook): Likewise.
21474 (__memalign_hook): Likewise.
21475 (__libc_malloc): Likewise.
21476 (__libc_free): Likewise.
21477 (__libc_realloc): Likewise.
21478 (__libc_memalign): Likewise.
21479 (__libc_valloc): Likewise.
21480 (__libc_pvalloc): Likewise.
21481 (__libc_calloc): Likewise.
21482 (__posix_memalign): Likewise.
21483 * malloc/morecore.c (__sbrk): Likewise.
21484 (__default_morecore): Likewise.
21486 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21488 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21489 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21490 __malloc_ptrdiff_t.
21492 * malloc/malloc.h (__malloc_size_t): Remove macro.
21493 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21495 (old_memalign_hook): Likewise.
21496 (old_realloc_hook): Likewise.
21497 (struct hdr): Likewise.
21499 (mallochook): Likewise.
21500 (memalignhook): Likewise.
21501 (reallochook): Likewise.
21502 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21503 (tr_old_realloc_hook): Likewise.
21504 (tr_old_memalign_hook): Likewise.
21505 (tr_mallochook): Likewise.
21506 (tr_reallochook): Likewise.
21507 (tr_memalignhook): Likewise.
21509 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21511 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21512 default_ldbl_pack and using as default implementation.
21513 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21515 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21516 redundant definition.
21517 (ldbl_insert_mantissa): Likewise.
21518 (ldbl_canonicalize): Likewise.
21519 (ldbl_nearbyint): Likewise.
21520 (ldbl_pack): Rename to ldbl_pack_ppc.
21521 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21522 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21523 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21525 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21528 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21529 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21530 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21532 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21533 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21534 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21536 2013-03-07 Andreas Jaeger <aj@suse.de>
21538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21541 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21543 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21544 Include mpa.h and declare __MPEXP.
21545 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21546 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21547 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21548 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21549 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21550 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21551 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21553 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21554 (__slowpow): Use long double EXPL and LOGL functions to
21556 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21557 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21558 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21559 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21560 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21561 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21564 intermediate variable to calculate exponent.
21566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21570 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21571 [!NO__SQR]: Define __sqr.
21572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21573 and NO__SQR. Remove all code except __mul and __sqr. Include
21574 sysdeps/ieee754/dbl-64/mpa.c.
21575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21578 * posix/Makefile (tests): Add tst-pathconf.
21579 * posix/tst-pathconf.c: New test case.
21580 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21582 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21584 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21586 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21588 2013-03-06 Andreas Jaeger <aj@suse.de>
21590 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21591 definition via __MAP_ANONYMOUS.
21593 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21594 it's not part of Linux headers.
21596 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21597 (MAP_HUGE_MASK): Define.
21599 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21601 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21602 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21604 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21605 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21607 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21608 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21610 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21612 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21613 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21614 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21615 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21616 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21617 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21619 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21622 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21623 Handle f2fs and efivarfs.
21625 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21628 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21629 (EFIVARFS_MAGIC): Add.
21630 (F2FS_LINK_MAX): Add.
21632 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21634 * stdio-common/vfprintf.c: Replace __builtin_expect with
21637 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21640 * sysdeps/generic/bp-sym.h: Remove file.
21641 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21642 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21643 <bp-sym.h> and <bp-asm.h>.
21644 (__longjmp): Don't use BP_SYM.
21645 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21647 (memcpy): Don't use BP_SYM.
21648 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21649 <bp-sym.h> and <bp-asm.h>.
21650 (memcpy): Don't use BP_SYM.
21651 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21653 (memcpy): Don't use BP_SYM.
21654 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21656 (memset): Don't use BP_SYM.
21657 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21658 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21659 (__bzero): Don't use BP_SYM.
21660 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21661 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21662 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21663 <bp-sym.h> and <bp-asm.h>.
21664 (memcmp): Don't use BP_SYM. Remove comment about bounded
21666 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21667 <bp-sym.h> and <bp-asm.h>.
21668 (memcpy): Don't use BP_SYM.
21669 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21670 <bp-sym.h> and <bp-asm.h>.
21671 (memset): Don't use BP_SYM.
21672 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21673 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21674 (__bzero): Don't use BP_SYM.
21675 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21676 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21677 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21678 <bp-sym.h> and <bp-asm.h>.
21679 (strncmp): Don't use BP_SYM. Remove comment about bounded
21681 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21682 <bp-sym.h> and <bp-asm.h>.
21683 (memcpy): Don't use BP_SYM.
21684 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21685 <bp-sym.h> and <bp-asm.h>.
21686 (memset): Don't use BP_SYM.
21687 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21688 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21689 (__bzero): Don't use BP_SYM.
21690 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21691 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21692 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21693 <bp-sym.h> and <bp-asm.h>.
21694 (__memchr): Don't use BP_SYM.
21695 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21696 <bp-sym.h> and <bp-asm.h>.
21697 (memcmp): Don't use BP_SYM. Remove comment about bounded
21699 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21700 <bp-sym.h> and <bp-asm.h>.
21701 (memcpy): Don't use BP_SYM.
21702 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21703 <bp-sym.h> and <bp-asm.h>.
21704 (__mempcpy): Don't use BP_SYM.
21705 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21706 <bp-sym.h> and <bp-asm.h>.
21707 (__memrchr): Don't use BP_SYM.
21708 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21709 <bp-sym.h> and <bp-asm.h>.
21710 (memset): Don't use BP_SYM.
21711 (__bzero): Likewise.
21712 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21713 <bp-sym.h> and <bp-asm.h>.
21714 (__rawmemchr): Don't use BP_SYM.
21715 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21716 <bp-sym.h> and <bp-asm.h>.
21717 (__STRCMP): Don't use BP_SYM.
21718 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21719 <bp-sym.h> and <bp-asm.h>.
21720 (strchr): Don't use BP_SYM.
21721 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21722 <bp-sym.h> and <bp-asm.h>.
21723 (__strchrnul): Don't use BP_SYM.
21724 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21725 <bp-sym.h> and <bp-asm.h>.
21726 (strlen): Don't use BP_SYM.
21727 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21728 <bp-sym.h> and <bp-asm.h>.
21729 (strncmp): Don't use BP_SYM. Remove comment about bounded
21731 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21732 <bp-sym.h> and <bp-asm.h>.
21733 (__strnlen): Don't use BP_SYM.
21734 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21735 <bp-sym.h> and <bp-asm.h>.
21736 (__GI__setjmp): Don't use BP_SYM.
21737 (_setjmp): Likewise.
21738 (__sigsetjmp): Likewise.
21739 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21740 (L(start_addresses)): Don't use BP_SYM.
21741 (_start): Likewise.
21742 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21744 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21745 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21746 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21747 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21748 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21750 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21751 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21752 about bounded pointers.
21753 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21754 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21755 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21757 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21758 about bounded pointers. Remove GKM FIXME comments.
21759 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21760 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21762 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21763 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21764 Remove GKM FIXME comments.
21765 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21766 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21767 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21769 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21770 about bounded pointers. Remove GKM FIXME comment.
21771 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21773 (strncmp): Don't use BP_SYM. Remove comment about bounded
21775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21776 <bp-sym.h> and <bp-asm.h>.
21777 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21779 <bp-sym.h> and <bp-asm.h>.
21780 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21783 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21785 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21788 2013-03-05 David S. Miller <davem@davemloft.net>
21790 * po/es.po: Update from translation team.
21792 2013-03-05 Andreas Jaeger <aj@suse.de>
21794 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21795 <bits/mman-linux.h>.
21796 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21798 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21799 <bits/mman-linux.h> to end of file.
21800 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21802 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21803 <bits/mman-linux.h> to end of file.
21804 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21806 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21807 <bits/mman-linux.h> to end of file.
21809 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21810 (MCL_CURRENT, MCL_FUTURE): Define here.
21812 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21815 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21817 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21819 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21821 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21822 fourth parameter needed for rt_sigprocmask syscall.
21823 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21824 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21825 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21826 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21827 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21828 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21830 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21833 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21834 comment about bounded pointers.
21835 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21836 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21838 2013-03-04 Andreas Jaeger <aj@suse.de>
21840 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21841 common definitions.
21843 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21844 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21845 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21846 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21847 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21848 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21850 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21853 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21854 __ieee754_sqrl instead of __sqrl.
21856 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21858 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21859 * sysdeps/powerpc/fpu_control.h: ... here.
21860 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21861 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21862 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21863 * sysdeps/powerpc/bits/mathinline.h: ... here.
21865 2013-03-01 Roland McGrath <roland@hack.frob.com>
21867 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21868 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21869 to just [NEED_DL_SYSINFO_DSO].
21870 * elf/dl-support.c: Likewise.
21871 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21872 * elf/rtld.c (dl_main): Likewise.
21873 * elf/setup-vdso.h (setup_vdso): Likewise.
21874 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21875 * sysdeps/unix/sysv/linux/dl-sysdep.c
21876 (_dl_discover_osversion): Likewise.
21878 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21880 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21881 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21883 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21885 * NEWS: Mention libm performance improvements and non-x86 PI
21888 * csu/libc-start.c (__pthread_initialize_minimal): Change
21889 function arguments.
21890 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21892 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21895 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21896 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21897 <bp-sym.h> and <bp-asm.h>.
21898 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21899 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21901 (memcpy): Don't use BP_SYM.
21902 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21904 (__mpn_add_n): Don't use BP_SYM.
21905 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21906 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21908 (__mpn_addmul_1): Don't use BP_SYM.
21909 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21910 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21912 (_setjmp): Don't use BP_SYM.
21913 (__novmx_setjmp): Likewise.
21914 (__GI__setjmp): Likewise.
21915 (__vmx_setjmp): Likewise.
21916 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21918 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21919 (__bzero): Don't use BP_SYM.
21920 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21921 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21922 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21923 <bp-sym.h> and <bp-asm.h>.
21924 (memcpy): Don't use BP_SYM.
21925 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21926 <bp-sym.h> and <bp-asm.h>.
21927 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21928 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21929 <bp-sym.h> and <bp-asm.h>.
21930 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21931 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21933 (__mpn_lshift): Don't use BP_SYM.
21934 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21935 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21937 (memset): Don't use BP_SYM.
21938 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21939 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21940 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21942 (__mpn_mul_1): Don't use BP_SYM.
21943 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21944 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21945 <bp-sym.h> and <bp-asm.h>.
21946 (memcmp): Don't use BP_SYM.
21947 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21948 <bp-sym.h> and <bp-asm.h>.
21949 (memcpy): Don't use BP_SYM.
21950 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21951 <bp-sym.h> and <bp-asm.h>.
21952 (memset): Don't use BP_SYM.
21953 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21954 <bp-sym.h> and <bp-asm.h>.
21955 (strncmp): Don't use BP_SYM.
21956 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21957 <bp-sym.h> and <bp-asm.h>.
21958 (memcpy): Don't use BP_SYM.
21959 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21960 <bp-sym.h> and <bp-asm.h>.
21961 (memset): Don't use BP_SYM.
21962 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21963 <bp-sym.h> and <bp-asm.h>.
21964 (__memchr): Don't use BP_SYM.
21965 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21966 <bp-sym.h> and <bp-asm.h>.
21967 (memcmp): Don't use BP_SYM.
21968 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21969 <bp-sym.h> and <bp-asm.h>.
21970 (memcpy): Don't use BP_SYM.
21971 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21972 <bp-sym.h> and <bp-asm.h>.
21973 (__mempcpy): Don't use BP_SYM.
21974 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21975 <bp-sym.h> and <bp-asm.h>.
21976 (__memrchr): Don't use BP_SYM.
21977 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21978 <bp-sym.h> and <bp-asm.h>.
21979 (memset): Don't use BP_SYM.
21980 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21981 <bp-sym.h> and <bp-asm.h>.
21982 (__rawmemchr): Don't use BP_SYM.
21983 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21984 <bp-sym.h> and <bp-asm.h>.
21985 (__STRCMP): Don't use BP_SYM.
21986 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21987 <bp-sym.h> and <bp-asm.h>.
21988 (strchr): Don't use BP_SYM.
21989 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21990 <bp-sym.h> and <bp-asm.h>.
21991 (__strchrnul): Don't use BP_SYM.
21992 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21993 <bp-sym.h> and <bp-asm.h>.
21994 (strlen): Don't use BP_SYM.
21995 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21996 <bp-sym.h> and <bp-asm.h>.
21997 (strncmp): Don't use BP_SYM.
21998 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21999 <bp-sym.h> and <bp-asm.h>.
22000 (__strnlen): Don't use BP_SYM.
22001 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22003 (__mpn_rshift): Don't use BP_SYM.
22004 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22005 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22006 <bp-sym.h> and <bp-asm.h>.
22007 (__sigsetjmp): Don't use BP_SYM.
22008 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22009 (L(start_addresses)): Don't use BP_SYM.
22010 (_start): Likewise.
22011 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22013 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22014 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22015 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22016 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22018 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22019 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22020 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22021 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22023 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22025 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22026 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22028 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22030 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22031 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22032 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22034 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22036 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22038 (strncmp): Don't use BP_SYM,
22039 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22041 (__mpn_sub_n): Don't use BP_SYM.
22042 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22043 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22045 (__mpn_submul_1): Don't use BP_SYM.
22046 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22048 <bp-sym.h> and <bp-asm.h>.
22049 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22051 <bp-sym.h> and <bp-asm.h>.
22052 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22055 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22058 Use ZK to minimize writes to Z.
22059 (sub_magnitudes): Simplify code a bit.
22060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22061 Use ZK to minimize writes to Z.
22062 (sub_magnitudes): Simplify code a bit.
22064 2013-02-27 Roland McGrath <roland@hack.frob.com>
22066 * csu/gmon-start.c: Add special exception to license text.
22068 2013-02-27 Richard Henderson <rth@redhat.com>
22070 * scripts/config.guess: Update from config.git.
22071 * scripts/config.sub: Likewise.
22073 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22075 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22077 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22079 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22081 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22083 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22085 2013-02-26 Roland McGrath <roland@hack.frob.com>
22087 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22088 [$(build-shared = yes].
22090 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22092 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22093 (__mul): Reduce iterations for calculating mantissa.
22095 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22097 (__mpranred): Likewise.
22100 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22101 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22103 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22105 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22106 Define __attribute__.
22108 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22110 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22112 * posix/regex_internal.h (__attribute): Remove.
22113 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22114 (re_string_context_at): Likewise.
22115 (bitset_not): Use __attribute__ and mark function as possibly
22117 (bitset_merge): Likewise.
22118 (bitset_mask): Likewise.
22119 (re_string_char_size_at): Likewise.
22120 (re_string_wchar_at): Likewise.
22121 (re_string_elem_size_at): Likewise.
22123 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22125 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22129 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22133 (denorm): Likewise.
22134 (__dbl_mp): Likewise.
22135 (add_magnitudes): Likewise.
22136 (sub_magnitudes): Likewise.
22140 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22143 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22146 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22150 up changes with default code.
22151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22154 2013-02-24 Allan McRae <allan@archlinux.org>
22156 * manual/socket.texi (The Internet Namespace): Order menu items
22157 to match that in the file.
22159 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22160 node listing of the info page menu.
22162 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22165 * sysdeps/i386/bp-asm.h: Remove file.
22166 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22167 (PARMS): Do not use macros from bp-asm.h.
22171 (__mpn_add_n): Do not use BP_SYM
22172 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22174 (PARMS): Do not use macros from bp-asm.h.
22177 (__mpn_addmul_1): Do not use BP_SYM
22178 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22180 (PARMS): Do not use macros from bp-asm.h.
22181 (SIGMSK): Likewise.
22182 (_setjmp): Likewise. Do not use BP_SYM.
22183 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22185 (PARMS): Do not use macros from bp-asm.h.
22186 (SIGMSK): Likewise.
22187 (setjmp): Likewise. Do not use BP_SYM.
22188 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22190 (PARMS): Do not use macros from bp-asm.h.
22191 (__frexp): Do not use BP_SYM.
22193 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22195 (PARMS): Do not use macros from bp-asm.h.
22196 (__frexpf): Do not use BP_SYM.
22197 (frexpf): Likewise.
22198 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22200 (PARMS): Do not use macros from bp-asm.h.
22201 (__frexpl): Do not use BP_SYM.
22202 (frexpl): Likewise.
22203 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22205 (PARMS): Do not use macros from bp-asm.h.
22206 (__remquo): Do not use BP_SYM.
22207 (remquo): Likewise.
22208 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22210 (PARMS): Do not use macros from bp-asm.h.
22211 (__remquof): Do not use BP_SYM.
22212 (remquof): Likewise.
22213 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22215 (PARMS): Do not use macros from bp-asm.h.
22216 (__remquol): Do not use BP_SYM.
22217 (remquol): Likewise.
22218 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22220 (PARMS): Do not use macros from bp-asm.h.
22223 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22224 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22226 (PARMS): Do not use macros from bp-asm.h.
22227 (strlen): Do not use BP_SYM.
22228 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22230 (PARMS): Do not use macros from bp-asm.h.
22234 (__mpn_add_n): Do not use BP_SYM.
22235 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22237 (PARMS): Do not use macros from bp-asm.h.
22240 (__mpn_addmul_1): Do not use BP_SYM.
22241 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22244 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22246 (PARMS): Do not use macros from bp-asm.h.
22249 (__mpn_lshift): Do not use BP_SYM.
22250 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22252 (PARMS): Do not use macros from bp-asm.h.
22256 (memcpy): Likewise. Do not use BP_SYM.
22257 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22258 libc_hidden_def and weak_alias.
22259 (mempcpy): Do not use BP_SYM in weak_alias.
22260 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22262 (PARMS): Do not use macros from bp-asm.h.
22265 [!BZERO_P] (CHR): Likewise.
22266 (memset): Likewise. Do not use BP_SYM.
22267 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22269 (PARMS): Do not use macros from bp-asm.h.
22272 (__mpn_mul_1): Do not use BP_SYM.
22273 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22275 (PARMS): Do not use macros from bp-asm.h.
22278 (__mpn_rshift): Do not use BP_SYM.
22279 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22281 (PARMS): Do not use macros from bp-asm.h.
22284 (strchr): Likewise. Do not use BP_SYM.
22285 (index): Do not use BP_SYM in weak_alias.
22286 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22288 (PARMS): Do not use macros from bp-asm.h.
22291 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22292 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22294 (PARMS): Do not use macros from bp-asm.h.
22295 (strlen): Do not use BP_SYM.
22296 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22298 (PARMS): Do not use macros from bp-asm.h.
22302 (__mpn_sub_n): Do not use BP_SYM.
22303 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22305 (PARMS): Do not use macros from bp-asm.h.
22308 (__mpn_submul_1): Do not use BP_SYM.
22309 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22311 (PARMS): Do not use macros from bp-asm.h.
22315 (__mpn_add_n): Do not use BP_SYM.
22316 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22319 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22321 (PARMS): Do not use macros from bp-asm.h.
22324 (memcmp): Do not use BP_SYM.
22325 (bcmp): Do not use BP_SYM in weak_alias.
22326 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22328 (PARMS): Do not use macros from bp-asm.h.
22332 (memcpy): Likewise. Do not use BP_SYM.
22333 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22335 (PARMS): Do not use macros from bp-asm.h.
22339 (memmove): Likewise. Do not use BP_SYM.
22340 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22342 (PARMS): Do not use macros from bp-asm.h.
22346 (__mempcpy): Likewise. Do not use BP_SYM.
22347 (mempcpy): Do not use BP_SYM in weak_alias.
22348 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22350 (PARMS): Do not use macros from bp-asm.h.
22353 [!BZERO_P] (CHR): Likewise.
22354 (memset): Likewise. Do not use BP_SYM.
22355 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22357 (PARMS): Do not use macros from bp-asm.h.
22359 (strcmp): Do not use BP_SYM.
22360 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22362 (PARMS): Do not use macros from bp-asm.h.
22365 [USE_AS_STRTOK_R] (SAVE): Likewise.
22366 (FUNCTION): Likewise. Do not use BP_SYM.
22367 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22369 (strtok_r): Likewise.
22370 (__GI___strtok_r): Likewise.
22371 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22372 (PARMS): Do not use macros from bp-asm.h.
22375 (__mpn_lshift): Do not use BP_SYM.
22376 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22377 (PARMS): Do not use macros from bp-asm.h.
22380 (__memchr): Do not use BP_SYM.
22381 (memchr): Do not use BP_SYM in weak_alias.
22382 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22383 (PARMS): Do not use macros from bp-asm.h.
22386 (memcmp): Do not use BP_SYM.
22387 (bcmp): Do not use BP_SYM in weak_alias.
22388 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22389 (PARMS): Do not use macros from bp-asm.h.
22392 (__mpn_mul_1): Do not use BP_SYM.
22393 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22395 (PARMS): Do not use macros from bp-asm.h.
22398 (__rawmemchr): Do not use BP_SYM.
22399 (rawmemchr): Do not use BP_SYM in weak_alias.
22400 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22401 (PARMS): Do not use macros from bp-asm.h.
22404 (__mpn_rshift): Do not use BP_SYM.
22405 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22406 (PARMS): Do not use macros from bp-asm.h.
22407 (SIGMSK): Likewise.
22408 (__sigsetjmp): Likewise. Do not use BP_SYM.
22409 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22410 (_start): Do not use BP_SYM.
22411 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22412 (PARMS): Do not use macros from bp-asm.h.
22415 (__stpcpy): Likewise. Do not use BP_SYM.
22416 (stpcpy): Do not use BP_SYM in weak_alias.
22417 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22419 (PARMS): Do not use macros from bp-asm.h.
22423 (__stpncpy): Likewise. Do not use BP_SYM.
22424 (stpncpy): Do not use BP_SYM in weak_alias.
22425 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22426 (PARMS): Do not use macros from bp-asm.h.
22429 (strchr): Likewise. Do not use BP_SYM.
22430 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22432 (PARMS): Do not use macros from bp-asm.h.
22435 (__strchrnul): Likewise. Do not use BP_SYM.
22436 (strchrnul): Do not use BP_SYM in weak_alias.
22437 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22439 (PARMS): Do not use macros from bp-asm.h.
22441 (strcspn): Do not use BP_SYM.
22442 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22444 (PARMS): Do not use macros from bp-asm.h.
22447 (strpbrk): Likewise. Do not use BP_SYM.
22448 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22450 (PARMS): Do not use macros from bp-asm.h.
22453 (strrchr): Likewise. Do not use BP_SYM.
22454 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22455 (PARMS): Do not use macros from bp-asm.h.
22457 (strspn): Do not use BP_SYM.
22458 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22459 (PARMS): Do not use macros from bp-asm.h.
22463 (FUNCTION): Likewise. Do not use BP_SYM.
22464 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22466 (strtok_r): Likewise.
22467 (__GI___strtok_r): Likewise.
22468 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22469 (PARMS): Do not use macros from bp-asm.h.
22473 (__mpn_sub_n): Do not use BP_SYM.
22474 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22476 (PARMS): Do not use macros from bp-asm.h.
22479 (__mpn_submul_1): Do not use BP_SYM.
22480 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22482 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22484 (PARMS): Do not use macros from bp-asm.h.
22489 (__clone): Do not use BP_SYM.
22490 (clone): Do not use BP_SYM in weak_alias.
22491 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22493 (PARMS): Do not use macros from bp-asm.h.
22495 (__mmap64): Do not use BP_SYM.
22496 (mmap64): Do not use BP_SYM in weak_alias.
22497 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22498 <bp-sym.h> and <bp-asm.h>.
22499 (PARMS): Do not use macros from bp-asm.h.
22500 (__posix_fadvise64_l64): Do not use BP_SYM.
22501 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22502 (PARMS): Do not use macros from bp-asm.h.
22504 (semtimedop): Do not use BP_SYM.
22505 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22508 2013-02-21 Allan McRae <allan@archlinux.org>
22510 * manual/message.texi (Charset conversion in gettext):
22511 Move @end statement to beginning of line.
22513 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22520 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22521 (denorm): Likewise.
22522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22525 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22527 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22528 tail-call to the resolved function if pltexit isn't needed.
22530 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22533 or Y being zero as being unlikely.
22534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22537 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22539 * manual/nss.texi (System Databases and Name Service Switch):
22540 Remove frobnicate @pxref.
22542 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22544 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22545 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22547 2013-02-20 Petr Machata <pmachata@redhat.com>
22549 * elf/elf.h (R_ARM_TARGET1): New macro.
22550 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22551 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22552 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22553 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22554 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22555 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22556 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22557 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22558 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22559 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22560 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22561 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22562 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22563 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22564 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22565 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22566 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22567 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22568 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22569 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22570 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22571 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22572 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22573 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22574 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22575 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22576 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22577 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22578 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22579 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22580 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22581 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22582 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22583 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22584 (R_ARM_THM_GOT_BREL12): Likewise.
22585 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22586 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22587 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22588 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22589 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22590 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22591 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22592 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22593 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22595 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22597 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22598 __attribute_used__ to __attribute__ ((unused)).
22600 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22602 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22605 comment formatting.
22606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22608 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22611 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22613 (ENTER): Remove both macro definitions.
22615 (CHECK_BOUNDS_LOW): Likewise.
22616 (CHECK_BOUNDS_HIGH): Likewise.
22617 (CHECK_BOUNDS_BOTH): Likewise.
22618 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22619 (RETURN_BOUNDED_POINTER): Likewise.
22620 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22621 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22622 (POP_ERRNO_LOCATION_RETURN): Likewise.
22623 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22624 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22625 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22627 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22628 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22629 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22630 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22631 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22632 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22633 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22634 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22635 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22636 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22637 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22638 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22639 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22640 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22642 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22643 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22645 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22646 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22647 * sysdeps/i386/i586/memset.S (memset): Likewise.
22648 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22649 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22650 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22652 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22653 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22654 Change uses of L(2) to L(out).
22655 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22656 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22657 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22658 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22659 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22661 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22662 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22664 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22665 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22666 (RETURN): Do not use macro LEAVE.
22667 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22668 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22669 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22670 * sysdeps/i386/i686/memset.S (memset): Likewise.
22671 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22672 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22673 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22674 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22676 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22677 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22678 L(1_2) and L(1_3) into L(1).
22679 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22680 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22681 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22682 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22683 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22684 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22685 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22686 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22687 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22689 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22690 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22691 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22692 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22693 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22694 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22695 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22696 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22697 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22698 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22699 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22700 * sysdeps/i386/strspn.S (strspn): Likewise.
22701 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22703 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22704 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22705 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22706 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22707 L(1_3) into L(1_1).
22708 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22709 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22710 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22712 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22714 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22716 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22719 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22721 * math/atest-exp.c (exp_mpn): Remove ROUND.
22722 * math/atest-exp2.c (exp_mpn): Likewise.
22723 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22725 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22726 * stdlib/tst-tls-atexit-lib.c: Likewise.
22727 * stdlib/tst-tls-atexit.c: Likewise.
22729 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22731 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22732 and __attribute_alloc_size__.
22734 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22736 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22737 __attribute_alloc_size__.
22738 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22739 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22741 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22743 * include/programs/xmalloc.h: New file.
22744 * catgets/gencat.c: Include it.
22745 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22746 * elf/pldd.c: Likewise.
22747 * iconv/iconv_charmap.c: Likewise.
22748 * iconv/iconvconfig.c: Likewise.
22749 * iconv/strtab.c: Likewise.
22750 * locale/programs/locale.c: Likewise.
22751 * locale/programs/localedef.h: Likewise.
22752 * locale/programs/simple-hash.c: Likewise.
22753 * nscd/nscd.h: Likewise.
22754 * nss/makedb.c: Likewise.
22755 * sysdeps/generic/ldconfig.h: Likewise.
22757 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22759 * Versions.def: Add GLIBC_2.18.
22760 * include/link.h (struct link_map): New member l_tls_dtor_count.
22761 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22762 (__call_tls_dtors): Likewise.
22763 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22764 __cxa_thread_atexit_impl.
22765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22773 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22781 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22782 (tests): Add test case tst-tls-atexit.
22783 (modules-names): Add shared library for tst-tls-atexit.
22784 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22785 (GLIBC_PRIVATE): Add __call_tls_dtors.
22786 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22788 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22789 * stdlib/tst-tls-atexit.c: New test case.
22790 * stdlib/tst-tls-atexit-lib.c: New test case.
22792 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22794 * elf/Versions (ld): Add _dl_find_dso_for_object.
22795 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22796 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22797 (dl_open_worker): Use _dl_find_dso_for_object.
22798 * elf/dl-sym.c (do_sym): Likewise.
22799 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22801 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22803 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22804 Syntactic changes only.
22805 (_dl_runtime_profile): Do a tail-call to the resolved function.
22807 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22810 * sysdeps/x86_64/bp-asm.h: Remove file.
22811 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22812 <bp-sym.h> and <bp-asm.h>.
22813 (__clone): Do not use BP_SYM.
22814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22815 <bp-sym.h> and <bp-asm.h>.
22816 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22817 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22819 (_setjmp): Do not use BP_SYM.
22820 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22822 (setjmp): Do not use BP_SYM.
22823 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22825 (mempcpy): Do not use BP_SYM in weak_alias.
22826 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22828 (strchr): Do not use BP_SYM.
22829 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22831 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22832 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22833 (_start): Do not use BP_SYM.
22834 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22836 (strcat): Do not use BP_SYM.
22837 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22839 (STRCMP): Do not use BP_SYM.
22840 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22842 (STRCPY): Do not use BP_SYM.
22843 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22845 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22847 (FUNCTION): Do not use BP_SYM.
22848 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22850 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22852 2013-02-17 Andreas Jaeger <aj@suse.de>
22854 * time/Versions: Sort entries.
22855 * string/Versions: Likewise.
22856 * resolv/Versions: Likewise.
22857 * posix/Versions: Likewise.
22858 * iconv/Versions: Likewise.
22859 * elf/Versions: Likewise.
22860 * wcsmbs/Versions: Likewise.
22862 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22864 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22865 loop termination condition.
22867 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22868 variable to calculate EZ.
22871 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22872 the lower precision input.
22874 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22877 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22878 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22879 (run-via-rtld-prefix): Do not handle %-bp tests.
22880 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22881 (all-object-suffixes): Remove .ob.
22882 (bppfx): Remove variable.
22883 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22884 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22885 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22886 [$(build-bounded) = yes] (libtype.ob): Likewise.
22887 * Makerules (elide-routines.ob): Remove variable.
22888 (do-tests-clean): Do not handle *-bp.out.
22889 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22890 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22891 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22892 (tests): Do not include $(tests-bp.out).
22893 (xtests): Do not include $(xtests-bp.out).
22894 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22895 [$(build-bounded) = yes] ($(addprefix
22896 $(objpfx),$(binaries-bounded))): Remove rule.
22897 ($(objpfx)%-bp.out): Remove rule.
22898 * config.make.in (build-bounded): Remove variable.
22899 * crypt/Makefile [$(build-bounded) = yes]
22900 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22901 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22902 append to variable.
22903 [$(build-bounded) = yes] (install-lib): Likewise.
22904 [$(build-bounded) = yes] (generated): Likewise.
22905 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22907 * intl/Makefile [$(build-bounded) = yes]
22908 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22909 * math/Makefile [$(build-bounded) = yes]
22910 ($(tests:%=$(objpfx)%-bp): Likewise.
22911 * misc/Makefile [$(build-bounded) = yes]
22912 ($(objpfx)tst-tsearch-bp): Likewise.
22913 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22914 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22916 * string/Makefile (o-objects.ob): Remove variable.
22917 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22918 (CFLAGS-.ob): Remove variable.
22919 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22920 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22921 both definitions of variable.
22922 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22923 (ASFLAGS-.ob): Remove variable.
22925 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22928 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22929 Remove __BOUNDED_POINTERS__ from condition.
22930 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22931 * string/bits/string2.h [!__NO_STRING_INLINES &&
22932 !__BOUNDED_POINTERS__]: Likewise.
22933 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22935 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22936 Remove conditional code.
22937 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22938 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22939 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22943 * csu/libc-start.c: Do not include <bp-sym.h>.
22944 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22945 * elf/dl-open.c: Do not include <bp-sym.h>.
22946 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22947 * math/fegetenv.c: Do not include <bp-sym.h>.
22948 (fegetenv): Do not use BP_SYM in versioned symbols.
22949 * nptl/sysdeps/pthread/bits/libc-lockP.h
22950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22953 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22955 (__pthread_mutex_destroy): Likewise.
22956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22957 (__pthread_mutex_lock): Likewise.
22958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22959 (__pthread_mutex_trylock): Likewise.
22960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22961 (__pthread_mutex_unlock): Likewise.
22962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22963 (__pthread_mutexattr_init): Likewise.
22964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22965 (__pthread_mutexattr_destroy): Likewise.
22966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22967 (__pthread_mutexattr_settype): Likewise.
22968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22969 (__pthread_rwlock_init): Likewise.
22970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22971 (__pthread_rwlock_destroy): Likewise.
22972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22973 (__pthread_rwlock_rdlock): Likewise.
22974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22975 (__pthread_rwlock_tryrdlock): Likewise.
22976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22977 (__pthread_rwlock_wrlock): Likewise.
22978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22979 (__pthread_rwlock_trywrlock): Likewise.
22980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22981 (__pthread_rwlock_unlock): Likewise.
22982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22983 (__pthread_key_create): Likewise.
22984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22985 (__pthread_setspecific): Likewise.
22986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22987 (__pthread_getspecific): Likewise.
22988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22991 (_pthread_cleanup_push_defer): Likewise.
22992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22993 (_pthread_cleanup_pop_restore): Likewise.
22994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22995 (pthread_setcancelstate): Likewise.
22996 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22998 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22999 (memchr): Do not use BP_SYM in weak_alias.
23000 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23001 (fegetenv): Do not use BP_SYM in versioned symbols.
23002 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23003 (fesetenv): Do not use BP_SYM in versioned symbols.
23004 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23005 (feupdateenv): Do not use BP_SYM in versioned symbols.
23006 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23007 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23008 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23009 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23010 (open64): Do not use BP_SYM in weak_alias.
23011 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23012 (fegetenv): Do not use BP_SYM in versioned symbols.
23013 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23014 (fesetenv): Do not use BP_SYM in versioned symbols.
23015 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23016 (feupdateenv): Do not use BP_SYM in versioned symbols.
23017 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23018 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23019 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23020 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23021 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23022 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23023 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23025 (__libc_start_main): Do not use BP_SYM.
23027 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23030 redundant return line.
23032 (denorm): Likewise.
23033 (dbl_mp): Likewise.
23034 (sub_magnitudes): Likewise.
23040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23042 (denorm): Likewise.
23043 (dbl_mp): Likewise.
23044 (sub_magnitudes): Likewise.
23051 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23053 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23054 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23057 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23058 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23060 of __mul for squares.
23061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23065 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23066 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23068 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23071 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23073 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23074 prototype or function definition. Rename ubp_* variables and
23075 parameters. Remove argv definitions conditional on
23076 [__BOUNDED_POINTERS__].
23077 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23078 * elf/dl-runtime.c (_dl_fixup): Likewise.
23079 * include/set-hooks.h (RUN_HOOK): Likewise.
23080 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23082 * string/strcpy.c (strcpy): Do not use __unbounded.
23083 * sysdeps/generic/frame.h (struct layout): Likewise.
23084 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23085 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23086 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23087 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23088 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23089 (__backtrace): Likewise.
23090 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23092 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23093 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23094 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23096 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23097 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23098 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23099 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23100 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23101 Do not use __unbounded.
23102 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23103 Rename __unboundedrlimits parameter to rlimits in prototype.
23104 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23105 Do not use __unbounded.
23106 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23107 not use __ptrvalue.
23108 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23109 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23110 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23111 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23112 __ptrvalue or __unbounded.
23113 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23114 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23116 (__new_msgctl): Do not use __ptrvalue.
23117 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23119 (__libc_msgrcv): Do not use __ptrvalue.
23120 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23121 startup_info): Do not use __unbounded.
23122 (__libc_start_main): Likewise. Rename ubp_* variables and
23123 parameters. Remove argv definitions conditional on
23124 [__BOUNDED_POINTERS__].
23125 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23127 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23129 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23131 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23133 (__new_shmctl): Do not use __ptrvalue.
23134 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23135 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23137 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23138 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23139 (__libc_sigaction): Likewise.
23140 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23141 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23143 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23145 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23147 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23149 * string/mempcpy.c: Implement by calling memcpy.
23151 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23155 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23158 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23159 values in the mantissa.
23161 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23162 minimize writes to Z.
23163 (sub_magnitudes): Simplify code a bit.
23165 2013-02-12 Roland McGrath <roland@hack.frob.com>
23167 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23168 from the message. The linker prefixes all warnings with that already.
23170 2013-02-12 Andreas Schwab <schwab@suse.de>
23173 * posix/regexec.c (extend_buffers): Add parameter min_len.
23174 (check_matching): Pass minimum needed length.
23175 (clean_state_log_if_needed): Likewise.
23176 (get_subexp): Likewise.
23177 * posix/Makefile (tests): Add bug-regex34.
23178 (bug-regex34-ENV): Define.
23179 * posix/bug-regex34.c: New file.
23182 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23183 elements compare against the byte sequence of it, not its name.
23184 * posix/Makefile (tests): Add bug-regex35.
23185 (bug-regex35-ENV): Define.
23186 * posix/bug-regex35.c: New file.
23188 2013-02-11 Tom de Vries <tom@codesourcery.com>
23190 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23192 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23193 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23194 (CHECK_EOL): Add undef.
23196 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23198 * bits/stdlib-bsearch.h: New file.
23199 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23200 * stdlib/stdlib.h: Likewise.
23202 2013-02-11 Roland McGrath <roland@hack.frob.com>
23204 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23205 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23207 * manual/search.texi (Array Search Function): Add missing const in
23209 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23210 declaration to use rlim_t.
23211 (Basic Scheduling Functions): Remove erroneous const from
23212 sched_getparam prototype. Remove erroneous * from
23213 sched_get_priority_max and sched_get_priority_min prototypes.
23214 (Resource Usage): Fix summary @comment on vtimes to refer to
23215 sys/vtimes.h rather than vtimes.h.
23216 Add missing *s in vtimes prototype.
23217 (Limits on Resources): Fix ulimit prototype to return long int.
23218 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23219 prototypes to use long int rather than double.
23220 (BSD Random): Fix initstate and setstate to use char *, not void *.
23221 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23222 prototype to make second argument 'struct aiocb64 *const[]'.
23223 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23224 (Status of AIO Operations): Remove erroneous const in aio_return and
23225 aio_return64 prototypes.
23226 (Synchronizing I/O): Fix sync prototype to return void.
23227 * manual/startup.texi (Suboptions): Remove an erroneous const in
23228 getsubopt prototype.
23229 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23230 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23231 use size_t rather than int.
23232 (Scanning All Users): Likewise for getpwent_r.
23233 (Setting Groups): Add missing const to setgroups prototype.
23234 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23235 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23236 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23237 'const void *' rather than 'const char *'.
23238 (Host Address Functions): Likewise for inet_ntop.
23239 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23240 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23241 ssize_t for return value.
23242 (Sending Data): Likewise for send, sendto, sendmsg.
23243 (Socket Option Functions): Add a missing const in setsockopt prototype.
23244 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23245 use wchar_t for the argument.
23246 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23247 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23249 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23250 double/float/long double for second argument.
23251 Fix return types of significand, significandf, significandl.
23252 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23253 argument in fchmod prototype.
23254 (File Owner): Use uid_t and gid_t in fchown prototype.
23255 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23256 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23257 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23258 use 'const struct dirent **' as argument types to CMP function pointer
23260 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23261 (File Times): Fix summary magic @comment for struct utimbuf and utime
23262 to refer to utime.h, not time.h.
23263 * manual/string.texi (Argz Functions): Add missing const in
23264 argz_extract and argz_next prototypes.
23265 (Finding Tokens in a String): Likewise for basename.
23266 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23267 (Copying and Concatenation): Fix typo in wmemmove prototype.
23268 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23269 (Signal Stack): Remove erroneous const in sigstack prototype.
23270 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23272 (Simple Calendar Time): Likewise for stime.
23273 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23275 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23276 say sys/sysctl.h instead.
23277 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23278 and vsyslog prototypes.
23280 2013-02-11 Tom de Vries <tom@codesourcery.com>
23282 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23285 2013-02-11 Roland McGrath <roland@hack.frob.com>
23287 * misc/sys/mman.h: Fix typo in mremap comment.
23289 2013-02-08 Roland McGrath <roland@hack.frob.com>
23291 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23292 the '\0' terminator.
23294 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23297 * debug/segfault.c: Don't include <bp-checks.h>.
23298 * sysdeps/generic/bp-checks.h: Remove file.
23299 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23300 (__GETDENTS): Don't use CHECK_N.
23301 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23302 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23303 (__getgroups): Don't use CHECK_N.
23304 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23305 (setgroups): Don't use CHECK_N.
23306 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23307 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23308 (__libc_msgrcv): Don't use CHECK_N.
23309 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23310 (__libc_msgsnd): Don't use CHECK_N.
23311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23313 (__libc_pread): Don't use CHECK_N.
23314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23315 include <bp-checks.h>.
23316 (__libc_pread64): Don't use CHECK_N.
23317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23318 include <bp-checks.h>.
23319 (__libc_pwrite): Don't use CHECK_N.
23320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23321 include <bp-checks.h>.
23322 (__libc_pwrite64): Don't use CHECK_N.
23323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23325 (__libc_pread): Don't use CHECK_N.
23326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23327 include <bp-checks.h>.
23328 (__libc_pread64): Don't use CHECK_N.
23329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23330 include <bp-checks.h>.
23331 (__libc_pwrite): Don't use CHECK_N.
23332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23333 include <bp-checks.h>.
23334 (__libc_pwrite64): Don't use CHECK_N.
23335 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23336 (do_pread): Don't use CHECK_N.
23337 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23338 (do_pread64): Don't use CHECK_N.
23339 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23340 (do_pwrite): Don't use CHECK_N.
23341 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23342 (do_pwrite64): Don't use CHECK_N.
23343 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23344 (__libc_readv): Don't use CHECK_N.
23345 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23346 (semop): Don't use CHECK_N.
23347 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23349 (semtimedop): Don't use CHECK_N.
23350 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23351 (__libc_pread): Don't use CHECK_N.
23352 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23354 (__libc_pread64): Don't use CHECK_N.
23355 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23357 (__libc_pwrite): Don't use CHECK_N.
23358 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23360 (__libc_pwrite64): Don't use CHECK_N.
23361 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23363 (__libc_msgrcv): Don't use CHECK_N.
23364 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23365 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23366 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23367 (__libc_writev): Don't use CHECK_N.
23369 2013-02-08 Roland McGrath <roland@hack.frob.com>
23371 * string/strcpy.c: Removed unused variable.
23373 * Makeconfig (+sysdep-includes): Define with := rather than =.
23374 Use an existing include/ subdir of each sysdeps dir before it.
23376 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23378 * nscd/connection.c (register_traced_file): Comment function.
23379 [HAVE_INOTIFY] (union __inev): Define.
23380 [HAVE_INOTIFY] (inotify_check_files): New function.
23381 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23382 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23384 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23386 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23388 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23389 loaded if not already and that a failure is permanent.
23391 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23394 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23395 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23397 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23400 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23401 (CHECK_1_NULL_OK): Likewise.
23402 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23403 (__fxstat): Do not use CHECK_1.
23404 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23406 (___fxstat64): Do not use CHECK_1.
23407 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23409 (__fxstatat): Do not use CHECK_1.
23410 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23412 (__fxstatat64): Do not use CHECK_1.
23413 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23415 (__fxstat): Do not use CHECK_1.
23416 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23418 (__fxstatat): Do not use CHECK_1.
23419 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23421 (__getresgid): Do not use CHECK_1.
23422 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23424 (__getresuid): Do not use CHECK_1.
23425 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23427 (__lxstat): Do not use CHECK_1.
23428 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23430 (__old_msgctl): Do not use CHECK_1.
23431 (__new_msgctl): Likewise.
23432 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23434 (__new_setrlimit): Do not use CHECK_1.
23435 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23437 (__old_shmctl): Do not use CHECK_1.
23438 (__new_shmctl): Likewise.
23439 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23441 (__xstat): Do not use CHECK_1.
23442 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23443 (__lxstat): Do not use CHECK_1.
23444 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23446 (___lxstat64): Do not use CHECK_1.
23447 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23448 (__old_msgctl): Do not use CHECK_1.
23449 (__new_msgctl): Likewise.
23450 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23452 (__gettimeofday): Do not use CHECK_1.
23453 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23454 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23455 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23457 (__gettimeofday): Do not use CHECK_1.
23458 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23459 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23460 (__new_shmctl): Do not use CHECK_1.
23461 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23463 (do_sigtimedwait): Do not use CHECK_1.
23464 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23466 (do_sigwaitinfo): Do not use CHECK_1.
23467 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23469 (msgctl): Do not use CHECK_1.
23470 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23472 (shmctl): Do not use CHECK_1.
23473 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23474 (ustat): Do not use CHECK_1.
23475 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23477 (__fxstat): Do not use CHECK_1.
23478 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23480 (__fxstatat): Do not use CHECK_1.
23481 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23483 (__lxstat): Do not use CHECK_1.
23484 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23486 (__xstat): Do not use CHECK_1.
23487 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23488 (__xstat): Do not use CHECK_1.
23489 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23490 (___xstat64): Do not use CHECK_1.
23493 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23495 (CHECK_BOUNDS_HIGH): Likewise.
23496 * string/strcpy.c: Do not include <bp-checks.h>.
23497 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23499 2013-02-07 Roland McGrath <roland@hack.frob.com>
23501 * nscd/nscd-client.h (__nscd_drop_map_ref):
23502 Add __attribute__ ((unused)).
23503 * nis/nss-nisplus.h (niserr2nss): Likewise.
23505 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23506 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23508 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23509 Remove inline keyword.
23510 * include/rounding-mode.h (round_away): Likewise.
23511 * libio/wfileops.c (adjust_wide_data): Likewise.
23512 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23513 (__m128i_strloadu_tolower): Likewise.
23514 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23515 (__m128i_strloadu_tolower): Likewise.
23516 * time/mktime.c (ydhms_diff): Likewise.
23517 * locale/elem-hash.h (elem_hash): Likewise.
23518 * locale/setlocale.c (setdata): Likewise.
23519 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23520 (re_string_wchar_at): Likewise.
23521 (bitset_not, bitset_merge, bitset_mask): Likewise.
23522 [!(__GNUC__ > 3)] (inline): Remove macro.
23523 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23524 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23525 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23526 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23527 * string/memcmp.c (memcmp_bytes): Likewise.
23528 * locale/programs/locarchive.c (compute_hashval): Likewise.
23529 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23530 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23531 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23532 * nss/getent.c (print_rpc, print_protocols): Likewise.
23533 (print_passwd, print_group, print_aliases): Likewise.
23534 * nis/nss-nisplus.h (niserr2nss): Likewise.
23535 * nscd/connections.c (restart_p): Likewise.
23536 Change return type to bool.
23538 2013-02-05 Roland McGrath <roland@hack.frob.com>
23540 * Makeconfig (all-Depend-files): Add existing
23541 $(sorted-subdirs:=/Depend) files.
23542 (all-subdirs): Remove nss.
23543 * sysdeps/unix/inet/Subdirs: Add it here instead.
23544 * hesiod/Depend: New file.
23546 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23547 instead of calling alloca.
23549 * io/lseek.c (__lseek): Rename to __libc_lseek.
23550 Define __lseek as an alias.
23552 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23554 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23556 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23557 else clause and remove check for non-standard endianness.
23559 2013-02-04 David S. Miller <davem@davemloft.net>
23561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23563 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23566 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23567 (__ubp_memchr): Remove prototype.
23568 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23569 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23570 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23571 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23572 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23574 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23575 (__ubp_memchr): Likewise.
23576 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23577 (__ubp_memchr): Likewise.
23578 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23579 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23580 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23581 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23583 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23584 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23585 (__getcwd): Do not use CHECK_STRING.
23586 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23588 (__real_chown): Do not use CHECK_STRING.
23589 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23591 (fchownat): Do not use CHECK_STRING.
23592 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23594 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23596 (__lchown): Do not use CHECK_STRING.
23597 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23598 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23599 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23600 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23602 include <bp-checks.h>.
23603 (truncate64): Do not use CHECK_STRING.
23604 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23606 (__real_chown): Do not use CHECK_STRING.
23607 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23609 (__lchown): Do not use CHECK_STRING.
23610 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23612 (__chown): Do not use CHECK_STRING.
23613 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23615 (truncate64): Do not use CHECK_STRING.
23616 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23618 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23619 (__xmknod): Do not use CHECK_STRING.
23620 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23622 (__xmknodat): Do not use CHECK_STRING.
23623 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23624 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23626 2013-02-04 Andreas Schwab <schwab@suse.de>
23629 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23630 * include/netdb.h: Likewise for h_errno.
23631 * elf/tst-stackguard1.c: Include <tls.h>.
23633 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23635 * elf/link.h (struct link_map): Extend the l_addr comment.
23636 * include/link.h (struct link_map): Likewise.
23638 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23641 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23642 (BOUNDED_1): Remove macro.
23643 * debug/backtrace.c: Don't include <bp-checks.h>.
23644 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23645 (__backtrace): Likewise.
23646 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23648 (__backtrace): Don't use BOUNDED_1.
23649 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23651 (__backtrace): Don't use BOUNDED_1.
23652 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23653 (__backtrace): Don't use BOUNDED_1.
23654 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23655 (shmat): Don't use BOUNDED_N.
23657 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23660 * sysdeps/generic/bp-start.h: Remove file.
23661 * csu/libc-start.c: Don't include <bp-start.h>.
23662 (LIBC_START_MAIN): Set up __environ directly instead of using
23663 INIT_ARGV_and_ENVIRON.
23664 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23668 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23670 (CHECK_FCNTL): Likewise.
23671 (CHECK_N_PAGES): Likewise.
23674 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23676 (CHECK_SIGSET_NULL_OK): Likewise.
23677 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23679 (sigpending): Don't use CHECK_SIGSET.
23680 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23682 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23683 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23685 (do_sigsuspend): Don't use CHECK_SIGSET.
23686 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23688 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23689 (do_sigwait): Don't use CHECK_SIGSET.
23690 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23692 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23693 include <bp-checks.h>.
23694 (sigpending): Don't use CHECK_SIGSET.
23695 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23696 include <bp-checks.h>.
23697 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23698 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23700 (sigpending): Don't use CHECK_SIGSET.
23701 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23703 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23706 * sysdeps/generic/bp-semctl.h: Remove file.
23707 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23708 <bp-checks.h> and <bp-semctl.h>.
23709 (__old_semctl): Don't use CHECK_SEMCTL.
23710 (__new_semctl): Likewise.
23711 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23713 (__old_semctl): Don't use CHECK_SEMCTL.
23714 (__new_semctl): Likewise.
23715 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23716 <bp-checks.h> and <bp-semctl.h>.
23717 (__old_semctl): Don't use CHECK_SEMCTL.
23718 (__new_semctl): Likewise.
23719 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23720 <bp-checks.h> and <bp-semctl.h>.
23721 (semctl): Don't use CHECK_SEMCTL.
23724 * Makerules (elide-bp-thunks): Remove variable.
23725 (elide-routines.oS): Don't use $(elide-bp-thunks).
23726 (elide-routines.os): Likewise.
23727 (elide-routines.o): Likewise.
23728 (elide-routines.op): Likewise.
23729 (elide-routines.og): Likewise.
23730 (objects): Don't use $(bp-thunks).
23731 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23733 (common-generated): Do not add s-proto-bp.d.
23734 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23737 Do not generate makefile rules for bounded-pointer thunks.
23738 * sysdeps/generic/bp-thunks.h: Remove file.
23739 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23740 * sysdeps/unix/s-proto-bp.S: Likewise.
23743 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23744 parts of result separately when argument is not close to line from
23745 -i to i and one part of argument is small.
23746 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23747 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23748 * math/libm-test.inc (cacos_test): Add more tests.
23749 (casin_test): Likewise.
23750 (casinh_test): Likewise.
23751 * sysdeps/i386/fpu/libm-test-ulps: Update.
23752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23754 2013-01-31 David S. Miller <davem@davemloft.net>
23756 * po/de.po: Update from translation team.
23758 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23760 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23762 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23764 * configure.in (_AC_PROG_CC_C89): New definition.
23765 * configure: Regenerate.
23767 * configure.in (AC_PROG_CPP): New definition.
23768 * configure: Regenerate.
23770 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23772 * debug/tst-backtrace.h: New file.
23773 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23774 (ret): Remove variable.
23776 (FAIL): Remove macro.
23777 (NO_INLINE): Likewise.
23778 (fn1): Use match function instead of strstr.
23779 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23780 (ret): Remove variable.
23782 (FAIL): Remove macro.
23783 (NO_INLINE): Likewise.
23784 (fn): Use match function instead of strstr.
23785 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23786 (ret): Remove variable.
23788 (FAIL): Remove macro.
23789 (NO_INLINE): Likewise.
23790 (handle_signal): Use match function instead of strstr.
23791 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23792 (ret): Remove variable.
23794 (FAIL): Remove macro.
23795 (NO_INLINE): Likewise.
23796 (handle_signal): Use match function instead of strstr.
23798 2013-01-23 Roland McGrath <roland@hack.frob.com>
23800 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23802 2013-01-23 David S. Miller <davem@davemloft.net>
23804 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23805 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23806 argument of CAS if possible.
23807 * sysdeps/sparc/sparc64/bits/atomic.h
23808 (__arch_compare_and_exchange_val_32_acq): Likewise.
23809 (__arch_compare_and_exchange_val_64_acq): Likewise.
23811 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23813 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23814 * sysdeps/posix/ulimit.c: ... this.
23815 Include <limits.h>.
23816 * sysdeps/unix/bsd/ulimit.c: Remove file.
23818 2013-01-23 Adam Conrad <adconrad@0c3.net>
23820 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23821 (LDFLAGS-tst-array5): Likewise.
23823 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23826 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23827 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23828 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23829 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23831 2013-01-21 David S. Miller <davem@davemloft.net>
23833 * sysdeps/sparc/backtrace.c: New file.
23834 * sysdeps/sparc/sparc32/backtrace.h: New file.
23835 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23836 * sysdeps/sparc/sparc64/backtrace.h: New file.
23837 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23838 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23841 2013-01-21 Andreas Schwab <schwab@suse.de>
23844 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23847 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23853 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23854 Mark Mitchell <mark@codesourcery.com>
23855 Tom de Vries <tom@codesourcery.com>
23856 Paul Pluzhnikov <ppluzhnikov@google.com>
23858 * debug/tst-backtrace2.c: New file.
23859 * debug/tst-backtrace3.c: Likewise.
23860 * debug/tst-backtrace4.c: Likewise.
23861 * debug/tst-backtrace5.c: Likewise.
23862 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23863 (CFLAGS-tst-backtrace3.c): Likewise.
23864 (CFLAGS-tst-backtrace4.c): Likewise.
23865 (CFLAGS-tst-backtrace5.c): Likewise.
23866 (LDFLAGS-tst-backtrace2): Likewise.
23867 (LDFLAGS-tst-backtrace3): Likewise.
23868 (LDFLAGS-tst-backtrace4): Likewise.
23869 (LDFLAGS-tst-backtrace5): Likewise.
23870 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23871 tst-backtrace4 and tst-backtrace5.
23873 2013-01-18 Anton Blanchard <anton@samba.org>
23874 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23876 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23877 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23878 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23879 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23881 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23882 "+r" and remove output regs list as redundant. Add explicit inline
23883 asm to specify register of return val to work around compiler codegen
23884 bug. Remove (int) cast on return value. Add return type parameter to
23885 use in macro so that this macro does not truncate return value for
23887 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23888 pass to INTERNAL_VSYSCALL_NCS.
23889 (INLINE_VSYSCALL): Add 'long int' as return type to
23890 INTERNAL_VSYSCALL_NCS macro invocation.
23891 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23892 INTERNAL_VSYSCALL_NCS macro invocation.
23893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23895 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23898 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23899 Fix application of SIMD FP exception mask.
23901 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23902 mp_no from a power of two.
23903 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23904 __mpexp_twomm1. Use __pow_mp.
23906 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23909 2013-01-17 David S. Miller <davem@davemloft.net>
23911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23913 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23916 * include/complex.h: Condition contents on [!_COMPLEX_H].
23917 (__kernel_casinhf): New prototype.
23918 (__kernel_casinh): Likewise.
23919 (__kernel_casinhl): Likewise.
23920 * math/Makefile (libm_calls): Add k_casinh.
23921 * math/k_casinh.c: New file.
23922 * math/k_casinhf.c: Likewise.
23923 * math/k_casinhl.c: Likewise.
23924 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23925 finite nonzero arguments.
23926 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23927 finite nonzero arguments.
23928 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23929 finite nonzero arguments.
23930 * math/s_casinh.c: Do not include <float.h>.
23931 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23932 * math/s_casinhf.c: Do not include <float.h>.
23933 (__casinhf): Move code for finite nonzero arguments to
23935 * math/s_casinhl.c: Do not include <float.h>.
23936 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23938 (__casinhl): Move code for finite nonzero arguments to
23940 * math/libm-test.inc (cacos_test): Add more tests.
23941 * sysdeps/i386/fpu/libm-test-ulps: Update.
23942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23944 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23946 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23947 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23948 [!HAVE_MREMAP]: Remove [defined linux] case.
23949 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23951 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23953 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23955 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23957 * elf/elf.h (R_386_SIZE32): New relocation.
23958 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23960 (elf_machine_rela): Likewise.
23961 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23962 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23964 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23966 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23967 (FP_FAST_FMA): Do not define.
23968 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23969 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23970 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23971 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23972 !_SOFT_FLOAT]: Likewise.
23973 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23974 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23976 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23977 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23978 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23979 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23980 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23981 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23984 2013-01-16 Andreas Schwab <schwab@suse.de>
23987 * include/stdlib.h (__mktemp): Add declaration.
23988 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23989 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23991 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23993 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23995 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23996 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23997 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23999 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24000 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24002 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24004 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24005 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24006 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24008 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24009 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24011 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24013 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24015 2013-01-15 David S. Miller <davem@davemloft.net>
24017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24018 trunc{,f} to libm-sysdep_routes.
24019 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24029 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24030 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24031 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24032 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24033 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24034 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24037 nearbyint{,f} to libm-sysdep_routes.
24038 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24049 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24051 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24052 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24054 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24055 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24056 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24058 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24059 libc_feholdexcept and libc_fesetenv.
24061 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24063 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24065 2013-01-14 David S. Miller <davem@davemloft.net>
24067 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24068 (SPARC_ASM_VIS2_IFUNC): Likewise.
24069 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24071 use of 'siam' instruction.
24072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24105 routines to libm-sysdep_routines.
24106 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24109 fdim/fdimf to libm-sysdep_routines.
24110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24118 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24119 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24120 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24121 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24123 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24125 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24126 to optimize copies.
24128 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24133 local variable MPTWO.
24134 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24137 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24139 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24142 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24144 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24146 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24148 * manual/pattern.texi (glob_t): Document gl_flags.
24149 (glob64_t): Likewise.
24151 2013-01-11 David S. Miller <davem@davemloft.net>
24153 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24154 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24155 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24156 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24157 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24158 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24159 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24160 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24161 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24162 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24163 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24164 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24165 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24167 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24168 sparc V9 rather than using V8 code.
24169 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24170 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24172 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24174 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24177 2013-01-11 Roland McGrath <roland@hack.frob.com>
24179 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24180 not in the main loop.
24181 * configure: Regenerated.
24183 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24185 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24186 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24188 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24189 [!__GLIBC_HAVE_LONG_LONG] case.
24190 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24191 condition to just #else.
24192 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24193 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24194 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24195 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24197 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24198 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24199 #elif condition to just #else.
24200 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24201 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24202 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24203 #elif condition to just #else.
24205 2013-01-11 Steve Ellcey <sellcey@mips.com>
24207 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24208 (EF_MIPS_ARCH_64): Fix value.
24209 (EF_MIPS_ARCH_32R2): New.
24210 (EF_MIPS_ARCH_64R2): New.
24212 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24214 * Makeconfig (+link-pie-before-libc): New.
24215 (+link-pie-after-libc): Likewise.
24216 (+link-pie-tests): Likewise.
24217 (+link-pie): Rewritten.
24218 (link-before-libc): Remove $(config-LDFLAGS).
24219 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24220 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24221 (config-LDFLAGS): Renamed to ...
24222 (rtld-LDFLAGS): This.
24223 (rtld-tests-LDFLAGS): New macro.
24224 (link-libc-rpath-link): Likewise.
24225 (link-libc-tests-rpath-link): Likewise.
24226 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24227 (link-libc): Prepand $(link-libc-rpath-link).
24228 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24229 (test-program-prefix): New macro.
24230 (test-via-rtld-prefix): Likewise.
24231 (test-program-cmd): Likewise.
24232 (host-test-program-cmd): Likewise.
24233 * Makefile ($(common-objpfx)testrun.sh): Replace
24234 $(run-program-prefix) with $(test-program-prefix).
24235 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24237 ($(common-objpfx)shlib.lds): Likewise.
24238 (build-module-helper): Likewise.
24239 ($(common-objpfx)format.lds): Likewise.
24240 * Rules (binaries-pie-tests): New.
24241 (binaries-pie-notests): Likewise.
24242 (binaries-pie): Rewritten.
24243 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24244 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24245 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24246 (make-test-out): Replace $(host-built-program-cmd) with
24247 $(host-test-program-cmd).
24248 * config.make.in (build-hardcoded-path-in-tests): New variable.
24249 * configure.in (--enable-hardcoded-path-in-tests): New configure
24251 (hardcoded_path_in_tests): New AC_SUBST.
24252 * configure: Regenerated.
24253 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24254 $(built-program-cmd) with $(test-program-cmd).
24255 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24256 (test_program_cmd): This.
24257 * elf/Makefile ($(objpfx)order.out): Run test with
24258 $(test-program-prefix).
24259 ($(objpfx)order2.out): Likewise.
24260 ($(objpfx)tst-initorder.out): Likewise.
24261 ($(objpfx)tst-initorder2.out): Likewise.
24262 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24263 $(test-program-cmd).
24264 ($(objpfx)tst-array1-static.out): Likewise.
24265 ($(objpfx)tst-array2.out): Likewise.
24266 ($(objpfx)tst-array3.out): Likewise.
24267 ($(objpfx)tst-array4.out): Likewise.
24268 ($(objpfx)tst-array5.out): Likewise.
24269 ($(objpfx)tst-array5-static.out): Likewise.
24270 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24271 $(test-program-cmd).
24272 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24273 $(run-program-prefix) with $(test-program-prefix).
24274 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24275 (test_program_prefix): This.
24276 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24277 $(run-program-prefix) with $(test-program-prefix).
24278 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24279 (test_program_prefix): This.
24280 * iconvdata/tst-tables.sh: Likewise.
24281 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24282 $(run-program-prefix) with $(test-program-prefix).
24283 ($(objpfx)tst-translit.out): Likewise.
24284 ($(objpfx)tst-gettext2.out): Likewise.
24285 ($(objpfx)tst-gettext4.out): Likewise.
24286 ($(objpfx)tst-gettext6.out): Likewise.
24287 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24288 (test_program_prefix): This.
24289 * intl/tst-gettext2.sh: Likewise.
24290 * intl/tst-gettext4.sh Likewise.
24291 * intl/tst-gettext6.sh: Likewise.
24292 * intl/tst-translit.sh: Likewise.
24293 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24294 with $(test-program-cmd).
24295 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24296 $(run-program-prefix) with $(test-program-prefix).
24297 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24298 (test_program_prefix): This.
24299 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24300 $(run-program-prefix) with $(test-program-prefix).
24301 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24302 (test_program_prefix): This.
24303 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24304 * posix/Makefile ($(objpfx)globtest.out): Replace
24305 $(run-via-rtld-prefix) and $(test-wrapper) with
24306 $(test-program-prefix) and $(test-via-rtld-prefix).
24307 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24308 $(test-program-prefix).
24309 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24310 $(host-test-program-cmd).
24311 (tst-spawn-ARGS): Likewise.
24312 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24313 $(test-program-prefix).
24314 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24315 (test_via_rtld_prefix): This.
24316 (test_wrapper): Renamed to ...
24317 (test_program_prefix): This.
24318 (run_program_prefix): Replaced by test_program_prefix.
24319 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24320 (test_program_prefix): This.
24321 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24322 with $(host-test-program-cmd).
24323 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24324 $(run-program-prefix) with $(test-program-prefix).
24325 ($(objpfx)tst-printf.out): Likewise.
24326 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24327 $(test-program-cmd).
24328 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24329 (test_program_prefix): This.
24330 * stdio-common/tst-unbputc.sh: Likewise.
24331 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24332 $(run-program-prefix) with $(test-program-prefix).
24333 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24334 (test_program_prefix): This.
24335 * string/Makefile ($(objpfx)tst-svc.out): Replace
24336 $(built-program-cmd) with $(test-program-cmd).
24338 2013-01-11 Andreas Jaeger <aj@suse.de>
24341 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24342 value. Sync with Linux 3.7.
24344 2013-01-10 David S. Miller <davem@davemloft.net>
24346 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24347 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24348 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24350 2013-01-10 Roland McGrath <roland@hack.frob.com>
24352 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24354 * configure: Regenerated.
24356 2013-01-10 David S. Miller <davem@davemloft.net>
24358 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24359 sparc V9 rather than using V8 code.
24360 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24361 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24363 2013-01-10 Roland McGrath <roland@hack.frob.com>
24365 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24366 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24367 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24368 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24369 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24370 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24371 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24372 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24373 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24374 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24375 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24376 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24377 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24378 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24379 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24380 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24381 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24382 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24383 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24384 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24385 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24386 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24387 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24388 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24389 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24390 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24391 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24393 2013-01-10 David S. Miller <davem@davemloft.net>
24395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24397 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24399 * posix/Makefile (tests-static): New variable.
24400 (tests): Add $(tests-static).
24401 (tst-exec-static-ARGS): New variable.
24402 (tst-spawn-static-ARGS): Likewise.
24403 * posix/tst-exec-static.c: New file.
24404 * posix/tst-spawn-static.c: Likewise.
24405 * posix/tst-exec.c: Support run directly.
24406 * posix/tst-spawn.c: Likewise.
24408 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24410 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24412 * math/bits/mathcalls.h (llrint): Likewise.
24413 (llround): Likewise.
24414 * stdlib/stdlib.h (struct drand48_data): Likewise.
24415 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24416 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24417 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24419 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24421 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24422 (elf_greg_t): Likewise.
24423 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24424 (__jmp_buf): Likewise.
24425 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24427 (llrint): Likewise, for all definitions.
24428 (llrintl): Likewise.
24430 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24431 Remove [__GNUC__] condition.
24432 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24433 condition to just [__USE_ISOC99].
24434 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24436 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24439 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24440 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24442 (_POSIX_V6_ILP32_OFF32): Likewise.
24443 (_XBS5_ILP32_OFF32): Likewise.
24444 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24445 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24447 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24449 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24451 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24452 doubles __mpexp_twomm1. Adjust usage.
24453 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24456 2013-01-10 Andreas Schwab <schwab@suse.de>
24459 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24460 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24462 2013-01-09 David S. Miller <davem@davemloft.net>
24465 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24466 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24467 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24468 (TCP_FASTOPEN): Define.
24469 (tcp_repair_opt): New structure.
24470 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24472 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24473 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24474 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24475 (tcp_cookie_transactions): New structure.
24477 2013-01-09 Anton Blanchard <anton@samba.org>
24479 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24480 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24481 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24482 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24484 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24486 * include/features.h (__USE_ANSI): Remove.
24488 2013-01-09 Roland McGrath <roland@hack.frob.com>
24490 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24492 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24494 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24496 * sysdeps/s390/fpu/libm-test-ulps: Update.
24498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24500 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24504 (denorm): Likewise.
24505 (__mp_dbl): Likewise.
24506 (__dbl_mp): Likewise.
24507 (add_magnitudes): Likewise.
24508 (sub_magnitudes): Likewise.
24514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24518 (denorm): Likewise.
24519 (__mp_dbl): Likewise.
24520 (__dbl_mp): Likewise.
24521 (add_magnitudes): Likewise.
24522 (sub_magnitudes): Likewise.
24528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24532 (denorm): Likewise.
24533 (__mp_dbl): Likewise.
24534 (__dbl_mp): Likewise.
24535 (add_magnitudes): Likewise.
24536 (sub_magnitudes): Likewise.
24543 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24545 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24546 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24547 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24548 2 && __USE_EXTERN_INLINES]: Likewise.
24550 2013-01-08 Andreas Jaeger <aj@suse.de>
24553 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24555 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24556 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24558 2013-01-07 Anton Blanchard <anton@samba.org>
24560 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24561 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24562 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24563 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24564 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24565 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24566 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24567 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24569 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24570 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24571 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24572 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24573 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24574 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24575 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24576 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24577 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24578 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24579 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24580 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24581 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24582 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24583 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24584 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24585 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24586 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24587 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24588 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24589 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24590 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24592 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24593 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24594 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24595 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24596 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24597 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24598 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24599 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24600 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24601 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24602 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24604 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24606 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24607 (__MALLOC_PMT): Likewise.
24608 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24609 [__GNUC__], only on [_LIBC].
24610 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24611 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24612 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24613 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24614 forward declaration.
24615 (realloc_hook_ini): Likewise.
24616 (memalign_hook_ini): Likewise.
24617 (__libc_memalign): Do not use __MALLOC_PMT in variable
24619 (__libc_valloc): Likewise.
24620 (__libc_pvalloc): Likewise.
24621 (__libc_calloc): Likewise.
24622 (__posix_memalign): Likewise.
24625 * math/s_casinh.c: Include <float.h>.
24626 (__casinh): Do not do computation with squaring and square root
24627 for large arguments.
24628 * math/s_casinhf.c: Include <float.h>.
24629 (__casinhf): Do not do computation with squaring and square root
24630 for large arguments.
24631 * math/s_casinhl.c: Include <float.h>.
24632 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24633 (__casinhl): Do not do computation with squaring and square root
24634 for large arguments.
24635 * math/libm-test.inc (casin_test): Add more tests.
24636 (casinh_test): Likewise.
24637 * sysdeps/i386/fpu/libm-test-ulps: Update.
24638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24640 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24642 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24643 (__x86_64_raw_data_cache_size): Likewise.
24644 (__x86_64_data_cache_size_half): Likewise.
24645 (__x86_64_raw_data_cache_size_half): Likewise.
24646 (__x86_64_shared_cache_size): Likewise.
24647 (__x86_64_raw_shared_cache_size): Likewise.
24648 (__x86_64_shared_cache_size_half): Likewise.
24649 (__x86_64_raw_shared_cache_size_half): Likewise.
24650 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24652 (__x86_data_cache_size): This.
24653 (__x86_64_raw_data_cache_size): Renamed to ...
24654 (__x86_raw_data_cache_size): This.
24655 (__x86_64_data_cache_size_half): Renamed to ...
24656 (__x86_data_cache_size_half): This.
24657 (__x86_64_raw_data_cache_size_half): Renamed to ...
24658 (__x86_raw_data_cache_size_half): This.
24659 (__x86_64_shared_cache_size): Renamed to ...
24660 (__x86_shared_cache_size): This.
24661 (__x86_64_raw_shared_cache_size): Renamed to ...
24662 (__x86_raw_shared_cache_size): This.
24663 (__x86_64_shared_cache_size_half): Renamed to ...
24664 (__x86_shared_cache_size_half): This.
24665 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24666 (__x86_raw_shared_cache_size_half): This.
24667 * sysdeps/x86_64/memcpy.S: Updated.
24668 * sysdeps/x86_64/memset.S: Likewise.
24669 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24670 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24671 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24673 2013-01-04 David S. Miller <davem@davemloft.net>
24675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24677 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24679 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24680 1 to avoid redefinition warning.
24681 (__USE_GNU): Don't define.
24682 (init_signaling_nan): Protoize.
24684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24686 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24688 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24690 (__cpymn): Likewise.
24691 (norm): Remove commented code.
24692 (denorm): Likewise.
24693 (__mp_dbl): Likewise.
24695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24696 (__cpymn): Likewise.
24697 (norm): Remove commented code.
24698 (denorm): Likewise.
24699 (__mp_dbl): Likewise.
24702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24703 mp_no value for 1.0 and 2.0.
24704 (norm): Use RADIXI instead of radixi.d.
24705 (denorm): Likewise.
24706 (__mul): Use 0.0 instead of zero.d.
24707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24708 mp_no value for 1.0 and 2.0.
24709 (norm): Use RADIXI instead of radixi.d.
24710 (denorm): Likewise.
24711 (__mul): Use 0.0 instead of zero.d.
24713 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24716 * math/s_casinh.c (__casinh): Reduce finite argument to first
24717 quadrant then set signs of results at the end.
24718 * math/s_casinhf.c (__casinhf): Likewise.
24719 * math/s_casinhl.c (__casinhl): Likewise.
24720 * math/libm-test.inc (casin_test): Add more tests.
24721 (casinh_test): Likewise.
24722 * sysdeps/i386/fpu/libm-test-ulps: Update.
24723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24725 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24727 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24729 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24731 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24733 (denorm): Likewise.
24734 (__mp_dbl): Likewise.
24737 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24738 and adjust the header comment.
24740 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24741 variable name from declaration.
24743 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24746 Initialize COMMON_CPUID_INDEX_7 element.
24747 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24748 (CPUID_RTM): Likewise.
24749 (HAS_RTM): Likewise.
24750 (COMMON_CPUID_INDEX_7): New enum.
24752 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24755 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24756 size is zero, record memory as freed.
24758 2013-01-03 Andreas Jaeger <aj@suse.de>
24760 * po/ia.po: Add new Interlingua translation.
24762 2012-01-03 Allan McRae <allan@archlinux.org>
24764 * locale/programs/localedef.c: Fix description of '--posix' flag.
24766 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24768 * NEWS: Update dates in second copyright notice.
24769 * README: Update copyright dates in example.
24770 * manual/libc.texinfo: Update copyright dates.
24771 * scripts/test-installation.pl: Update copyright date in --version
24774 * hurd/ctty-input.c: Fix copyright notice formatting.
24775 * hurd/ctty-output.c: Likewise.
24776 * hurd/dtable.c: Likewise.
24777 * hurd/hurd-raise.c: Likewise.
24778 * hurd/hurdprio.c: Likewise.
24779 * hurd/msgportdemux.c: Likewise.
24780 * misc/sys/file.h: Likewise.
24781 * misc/sys/ioctl.h: Likewise.
24782 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24783 * sysdeps/mach/hurd/chdir.c: Likewise.
24784 * sysdeps/mach/hurd/fchdir.c: Likewise.
24785 * sysdeps/mach/hurd/rename.c: Likewise.
24786 * sysdeps/mach/hurd/rmdir.c: Likewise.
24787 * sysdeps/mach/hurd/seekdir.c: Likewise.
24788 * sysdeps/mach/hurd/setsid.c: Likewise.
24789 * sysdeps/posix/wait3.c: Likewise.
24791 * All files with FSF copyright notices: Update copyright dates
24792 using scripts/update-copyrights.
24793 * intl/plural.c: Regenerated.
24794 * locale/programs/charmap-kw.h: Likewise.
24795 * locale/programs/locfile-kw.h: Likewise.
24797 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24799 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24802 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24803 calculation loop and add branch prediction.
24805 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24806 check access beyond bounds of m1np.
24808 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24810 (__inv): Remove local variable MPTWO to use the global
24812 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24813 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24815 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24816 MP3HALFS static const.
24818 2013-01-01 David S. Miller <davem@davemloft.net>
24820 * po/ca.po: Update from translation team.
24822 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24824 * scripts/update-copyrights: New file.
24825 * Makeconfig: Reformat copyright notice.
24826 * ctype/ctype.h: Likewise.
24827 * debug/swprintf_chk.c: Likewise.
24828 * elf/dl-cache.c: Likewise.
24829 * elf/dl-debug.c: Likewise.
24830 * elf/dl-object.c: Likewise.
24831 * grp/initgroups.c: Likewise.
24832 * hurd/Makefile: Likewise.
24833 * hurd/hurd/signal.h: Likewise.
24834 * hurd/hurdfault.c: Likewise.
24835 * hurd/hurdioctl.c: Likewise.
24836 * hurd/hurdlookup.c: Likewise.
24837 * hurd/intr-msg.c: Likewise.
24838 * iconv/gconv_open.c: Likewise.
24839 * libio/swprintf.c: Likewise.
24840 * locale/lc-ctype.c: Likewise.
24841 * locale/nl_langinfo.c: Likewise.
24842 * mach/Machrules: Likewise.
24843 * mach/Makefile: Likewise.
24844 * malloc/obstack.h: Likewise.
24845 * manual/Makefile: Likewise.
24846 * manual/tsort.awk: Likewise.
24847 * misc/bits/stab.def: Likewise.
24848 * nis/nis_print_group_entry.c: Likewise.
24849 * nis/nis_table.c: Likewise.
24850 * nis/nss_compat/compat-pwd.c: Likewise.
24851 * nis/nss_compat/compat-spwd.c: Likewise.
24852 * po/Makefile: Likewise.
24853 * posix/fnmatch.c: Likewise.
24854 * posix/regex.h: Likewise.
24855 * resolv/Makefile: Likewise.
24856 * resolv/nss_dns/dns-network.c: Likewise.
24857 * resolv/res_hconf.c: Likewise.
24858 * scripts/gen-sorted.awk: Likewise.
24859 * soft-fp/soft-fp.h: Likewise.
24860 * stdio-common/printf.h: Likewise.
24861 * stdlib/monetary.h: Likewise.
24862 * stdlib/random.c: Likewise.
24863 * stdlib/random_r.c: Likewise.
24864 * sysdeps/generic/Makefile: Likewise.
24865 * sysdeps/gnu/Makefile: Likewise.
24866 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24867 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24868 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24870 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24873 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24874 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24875 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24876 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24877 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24878 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24879 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24880 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24881 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24882 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24884 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24885 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24886 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24887 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24888 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24889 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24890 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24891 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24892 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24893 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24894 * sysdeps/mach/hurd/errnos.awk: Likewise.
24895 * sysdeps/mach/hurd/fork.c: Likewise.
24896 * sysdeps/mach/hurd/getcwd.c: Likewise.
24897 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24898 * sysdeps/mach/hurd/mmap.c: Likewise.
24899 * sysdeps/mach/hurd/utimes.c: Likewise.
24900 * sysdeps/mach/hurd/xmknod.c: Likewise.
24901 * sysdeps/posix/profil.c: Likewise.
24902 * sysdeps/posix/readdir_r.c: Likewise.
24903 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24904 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24905 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24906 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24908 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24909 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24910 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24912 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24913 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24914 * sysdeps/pthread/lio_listio.c: Likewise.
24915 * sysdeps/sparc/dl-procinfo.h: Likewise.
24916 * sysdeps/unix/i386/sysdep.S: Likewise.
24917 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24918 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24919 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24920 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24922 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24923 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24924 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24925 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24926 * sysdeps/wordsize-32/divdi3.c: Likewise.
24927 * time/sys/time.h: Likewise.
24928 * wcsmbs/Makefile: Likewise.
24930 2013-01-01 David S. Miller <davem@davemloft.net>
24932 * po/fr.po: Update from translation team.
24934 * catgets/gencat.c: Update copyright year.
24935 * csu/version.c: Likewise.
24936 * debug/catchsegv.sh: Likewise.
24937 * debug/pcprofiledump.c: Likewise.
24938 * debug/xtrace.sh: Likewise.
24939 * elf/ldconfig.c: Likewise.
24940 * elf/ldd.bash.in: Likewise.
24941 * elf/pldd.c: Likewise.
24942 * elf/sotruss.ksh: Likewise.
24943 * elf/sprof.c: Likewise.
24944 * iconv/iconv_prog.c: Likewise.
24945 * iconv/iconvconfig.c: Likewise.
24946 * locale/programs/locale.c: Likewise.
24947 * locale/programs/localedef.c: Likewise.
24948 * login/programs/pt_chown.c: Likewise.
24949 * malloc/memusage.sh: Likewise.
24950 * malloc/memusagestat.c: Likewise.
24951 * malloc/mtrace.pl: Likewise.
24952 * nscd/nscd.c: Likewise.
24953 * nss/getent.c: Likewise.
24954 * nss/makedb.c: Likewise.
24955 * posix/getconf.c: Likewise.
24957 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24959 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24962 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24964 * math/bits/mathcalls.h (modf): Use __nonnull.
24966 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24968 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24969 (split): Use macro CN instead of the bare value.
24970 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24973 instead of the bare value.
24974 (power1): Likewise.
24976 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24978 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24980 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24982 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24984 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24985 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24986 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24987 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24989 2012-12-28 Andreas Jaeger <aj@suse.de>
24991 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24992 values are from Linux 3.7.
24994 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24995 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24997 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24999 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25002 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25004 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25005 variables with preprocessor constants.
25006 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25007 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25008 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25010 2012-12-27 Bruno Haible <bruno@clisp.org>
25013 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25016 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25018 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25019 and use variable directly.
25020 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25022 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25024 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25025 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25027 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25028 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25029 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25030 include directive. Remove local variable MPONE.
25031 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25032 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25033 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25035 2012-12-25 David S. Miller <davem@davemloft.net>
25037 * version.h (RELEASE): Set to "development".
25038 (VERSION): Set to "2.17.90".
25039 * NEWS: Add 2.18 section.
25041 2012-12-21 David S. Miller <davem@davemloft.net>
25043 * po/hr.po: Update from translation team.
25045 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25047 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25049 2012-12-19 Steve Ellcey <sellcey@mips.com>
25051 * NEWS: Mention new memcpy for MIPS.
25053 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25055 * manual/contrib.texi (Contributors): Spelling correction.
25057 2012-12-15 David S. Miller <davem@davemloft.net>
25059 * po/ru.po: Update from translation team.
25061 2012-12-13 David S. Miller <davem@davemloft.net>
25063 * NEWS: Mention IFUNC testsuite enhancements.
25065 * po/pl.po: Update from translation team.
25066 * po/bg.po: Likewise.
25068 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25069 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25071 2012-12-11 David S. Miller <davem@davemloft.net>
25073 * po/sv.po: Update from translation team.
25075 * po/vi.po: Update from translation team.
25077 * po/cs.po: Update from translation team.
25079 * po/de.po: Update from translation team.
25080 * po/eo.po: Likewise.
25081 * po/nl.po: Likewise.
25083 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25086 * manual/argp.texi (Argp Helper Functions): Move node to follow
25087 Argp Parsing State.
25090 * manual/conf.texi (Limits on File System Capacity): Mention if
25091 terminating null is included in the max size.
25093 2012-12-10 Andreas Jaeger <aj@suse.de>
25095 * po/cs.po: Update from translation team.
25097 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25099 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25100 void pointer and cast to uintptr_t.
25101 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25103 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25104 * sysdeps/s390/s390-64/memset.S: Likewise.
25106 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25109 * menual/message.texi (Message Translation): Fix typos.
25110 (Helper programs for gettext): Likewise.
25112 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25115 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25118 2012-12-07 David S. Miller <davem@davemloft.net>
25120 * po/libc.pot: Update.
25122 2012-12-07 Richard Henderson <rth@redhat.com>
25125 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25126 normal/normal case to before the switch.
25127 (_FP_DIV): Likewise.
25129 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25130 Mike Frysinger <vapier@gentoo.org>
25132 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25133 check for __NR_fadvise64_64.
25135 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25137 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25138 0, not just to plain "0" as a statement.
25139 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25142 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25144 * NEWS: Use sourceware.org in Bugzilla URL.
25146 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25149 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25151 * stdio-common/tst-put-error.c (do_test): Add newline to the
25152 padded test to ensure flush.
25154 2012-12-05 Jeff Law <law@redhat.com>
25156 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25158 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25160 * README: Don't refer to ports add-on as distributed separately.
25161 Mention AArch64 in list of systems supported in the ports add-on.
25163 * LICENSES: Add more non-FSF copyright and license notices.
25165 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25168 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25170 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25171 10000 as width of padded output.
25173 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25175 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25177 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25178 variable LX with __attribute__ ((unused)).
25179 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25181 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25182 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25183 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25184 with __attribute__ ((unused)).
25186 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25188 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25190 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25192 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25193 (CFLAGS-nldbl-acos.c): New variable.
25194 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25195 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25196 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25197 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25198 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25199 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25200 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25201 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25202 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25203 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25204 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25205 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25206 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25207 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25208 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25209 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25210 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25211 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25212 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25213 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25214 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25215 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25216 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25217 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25218 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25219 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25220 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25221 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25222 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25223 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25224 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25225 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25226 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25227 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25228 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25229 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25230 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25231 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25232 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25233 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25234 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25235 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25236 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25237 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25238 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25239 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25240 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25241 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25242 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25243 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25244 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25245 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25246 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25247 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25248 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25249 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25250 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25251 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25252 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25253 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25254 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25255 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25256 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25257 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25258 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25259 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25260 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25261 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25262 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25263 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25264 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25265 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25266 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25267 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25268 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25269 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25270 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25271 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25272 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25273 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25274 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25275 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25276 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25277 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25278 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25279 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25280 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25281 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25282 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25283 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25284 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25285 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25286 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25287 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25288 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25289 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25290 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25293 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25296 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25297 whole low double instead of just low 47 bits when splitting values
25300 2012-12-03 Allan McRae <allan@archlinux.org>
25302 * manual/stdio.texi (Predefined Printf Handlers): Remove
25303 @hsep and @vsep usage.
25305 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25307 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25308 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25310 2012-12-03 Jeff Law <law@redhat.com>
25312 * time/sys/time.h (settimeofday): Do not mark TV argument
25315 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25317 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25318 when currently writing and seek to current position when not.
25319 * libio/Makefile (tests): Remove bug-fclose1.
25320 * libio/bug-fclose1.c: Delete.
25322 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25324 * manual/arith.texi (feenableexcept): Fix typo.
25325 (fedisableexcept): Likewise.
25327 2012-11-30 Roland McGrath <roland@hack.frob.com>
25329 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25330 second, differently-typed declaration, rather than a cast.
25332 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25334 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25335 * include/rpc/svc.h: ... here.
25337 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25340 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25341 depending n and resplen2 to catch cases where answer
25344 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25346 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25347 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25349 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25351 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25353 2012-11-29 Roland McGrath <roland@hack.frob.com>
25355 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25357 2012-11-28 Jeff Law <law@redhat.com>
25360 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25361 dataset_temporary. Track alloca usage into alloca_used.
25362 If dataset is large allocate and release it via malloc/free.
25364 2012-06-04 Florian Weimer <fweimer@redhat.com>
25367 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25369 2012-11-28 David S. Miller <davem@davemloft.net>
25371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25373 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25376 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25377 of pi/2 rounded to nearest to 64 bits.
25378 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25379 nearest to 64 bits.
25380 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25383 2012-11-28 Jeff Law <law@redhat.com>
25384 Martin Osvald <mosvald@redhat.com>
25387 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25388 * sunrpc/svc.c: Include time.h.
25389 (__svc_accept_failed): New function.
25390 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25391 any reason other than EINTR, call __svc_accept_failed.
25392 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25393 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25395 2012-11-28 Andreas Schwab <schwab@suse.de>
25397 * scripts/abilist.awk: Also handle indirect functions in .opd
25400 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25403 * sysdeps/x86/fpu/powl_helper.c: New file.
25404 * sysdeps/x86/fpu/Makefile: Likewise.
25405 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25407 (__ieee754_powl): Use __powl_helper for finite arguments except
25408 integer exponents below 8.
25409 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25411 (__ieee754_powl): Use __powl_helper for finite arguments except
25412 integer exponents below 8.
25413 * math/libm-test.inc (pow_test): Add more tests and enable some
25414 previously disabled tests.
25415 * sysdeps/i386/fpu/libm-test-ulps: Update.
25416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25418 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25419 Carlos O'Donell <carlos_odonell@mentor.com>
25421 * nss/makedb.c (is_prime): Assert that input is odd and greater
25422 than 4. Note that fact in a comment too.
25423 (next_prime): Add 4 to input.
25425 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25428 * libio/Makefile (tests): Add test case tst-fwrite-error.
25429 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25430 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25431 * libio/tst-fwrite-error.c: New test case.
25433 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25435 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25436 before casting to void *.
25437 * include/libc-internal.h (__pointer_type): New macro.
25438 (__integer_if_pointer_type_sub): Likewise.
25439 (__integer_if_pointer_type): Likewise.
25440 (cast_to_integer): Likewise.
25441 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25442 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25443 before casting to atomic64_t.
25444 (atomic_exchange_acq): Likewise.
25445 (__arch_exchange_and_add_body): Likewise.
25446 (__arch_add_body): Likewise.
25447 (atomic_add_negative): Likewise.
25448 (atomic_add_zero): Likewise.
25450 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25452 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25453 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25454 (add_fdes): Likewise.
25455 (linear_search_fdes): Likewise.
25456 (binary_search_unencoded_fdes): Likewise.
25458 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25460 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25462 2012-11-24 Adam Conrad <adconrad@0c3.net>
25464 * configure.in: Autodetect C++ header directories.
25465 * configure: Regenerated.
25467 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25469 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25471 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25475 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25477 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25478 LDBL_MANT_DIG == 106]: Disable some tests.
25479 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25481 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25485 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25486 input for small inputs. Return +/- pi/2 for large inputs.
25487 * math/libm-test.inc (atan_test): Add more tests.
25489 * sysdeps/generic/unwind-dw2-fde-glibc.c
25490 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25491 __attribute__ ((unused)).
25494 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25495 x * y if x and y are nonzero and z is zero.
25498 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25499 nonzero exponents with absolute value below 0x1p-117 to +/-
25503 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25504 up arguments below 2**-450, not just those below 2**-500.
25505 * math/libm-test.inc (hypot_test): Add another test.
25508 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25509 Return a+b for ratio over 2**120, not 2**60.
25510 * math/libm-test.inc (hypot_test): Add another test.
25512 * math/libm-test.inc (clog_test): Use
25513 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25514 (clog10_test): Likewise.
25517 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25519 2012-11-22 Andreas Schwab <schwab@suse.de>
25521 * sysdeps/i386/fpu/libm-test-ulps: Update.
25523 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25525 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25526 printf output with newline.
25528 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25531 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25532 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25533 -z nodlopen, -z initfirst and -z execstack support.
25534 * configure: Regenerated.
25536 * elf/elf.h (DF_1_NODIRECT): New macro.
25537 (DF_1_IGNMULDEF): Likewise.
25538 (DF_1_NOKSYMS): Likewise.
25539 (DF_1_NOHDR): Likewise.
25540 (DF_1_EDITED): Likewise.
25541 (DF_1_NORELOC): Likewise.
25542 (DF_1_SYMINTPOSE): Likewise.
25543 (DF_1_GLOBAUDIT): Likewise.
25544 (DF_1_SINGLETON): Likewise.
25545 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25546 DT_1_SUPPORTED_MASK bits.
25547 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25549 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25551 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25553 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25555 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25558 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25559 (sendmmsg): Move declarations...
25560 * socket/sys/socket.h: ... here.
25561 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25562 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25564 * socket/recvmmsg.c: ... this new file.
25565 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25566 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25567 definition of __sendmmsg hidden.
25568 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25569 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25570 Move ENOSYS stub into and include it from...
25571 * socket/sendmmsg.c: ... this new file.
25572 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25573 (sysdep_routines): Move recvmmsg and sendmmsg...
25574 * socket/Makefile (routines): ... here.
25575 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25576 (GLIBC_PRIVATE): Add __sendmmsg.
25577 * include/sys/socket.h (__sendmmsg): Add declarations.
25578 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25581 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25583 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25584 variable I1 with __attribute__ ((unused)).
25585 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25587 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25589 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25590 DUMMY variables with __attribute__ ((unused)).
25592 * bits/byteswap.h: Include <bits/types.h>.
25593 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25595 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25597 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25598 string_t. Do not manually set errno.
25599 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25600 length with __strnlen. Make sure to both set errno and return it on
25603 2012-11-19 David S. Miller <davem@davemloft.net>
25605 With help from Joseph Myers.
25606 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25607 very large arguments properly.
25608 * math/libm-test.inc (atan_test): New tests.
25609 (atan2_test): New tests.
25610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25613 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25616 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25619 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25620 [POSIX] (EADDRNOTAVAIL): Likewise.
25621 [POSIX] (EAFNOSUPPORT): Likewise.
25622 [POSIX] (EALREADY): Likewise.
25623 [POSIX] (ECONNABORTED): Likewise.
25624 [POSIX] (ECONNREFUSED): Likewise.
25625 [POSIX] (ECONNRESET): Likewise.
25626 [POSIX] (EDESTADDRREQ): Likewise.
25627 [POSIX] (EDQUOT): Likewise.
25628 [POSIX] (EHOSTUNREACH): Likewise.
25629 [POSIX] (EIDRM): Likewise.
25630 [POSIX] (EISCONN): Likewise.
25631 [POSIX] (ELOOP): Likewise.
25632 [POSIX] (EMULTIHOP): Likewise.
25633 [POSIX] (ENETDOWN): Likewise.
25634 [POSIX] (ENETUNREACH): Likewise.
25635 [POSIX] (ENOBUFS): Likewise.
25636 [POSIX] (ENODATA): Likewise.
25637 [POSIX] (ENOLINK): Likewise.
25638 [POSIX] (ENOMSG): Likewise.
25639 [POSIX] (ENOPROTOOPT): Likewise.
25640 [POSIX] (ENOSR): Likewise.
25641 [POSIX] (ENOSTR): Likewise.
25642 [POSIX] (ENOTCONN): Likewise.
25643 [POSIX] (ENOTSOCK): Likewise.
25644 [POSIX] (EOPNOTSUPP): Likewise.
25645 [POSIX] (EOVERFLOW): Likewise.
25646 [POSIX] (EPROTO): Likewise.
25647 [POSIX] (EPROTONOSUPPORT): Likewise.
25648 [POSIX] (EPROTOTYPE): Likewise.
25649 [POSIX] (ESTALE): Likewise.
25650 [POSIX] (ETIME): Likewise.
25651 [POSIX] (ETXTBSY): Likewise.
25652 [POSIX] (EWOULDBLOCK): Likewise.
25653 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25654 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25655 [POSIX] (SEEK_CUR): Likewise.
25656 [POSIX] (SEEK_END): Likewise.
25657 [POSIX || UNIX98] (mode_t): Do not require.
25658 [POSIX] (off_t): Likewise.
25659 [POSIX] (pid_t): Likewise.
25660 [POSIX] (sys/stat.h): Do not allow header.
25661 [POSIX] (unistd.h): Likewise.
25662 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25663 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25664 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25665 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25667 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25668 sigevent): Specify elements.
25669 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25671 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25672 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25674 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25675 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25676 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25677 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25678 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25679 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25680 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25681 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25682 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25683 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25684 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25685 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25686 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25687 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25689 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25691 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25693 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25695 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25696 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25697 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25698 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25699 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25700 Specify lower bound on value.
25701 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25702 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25703 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25704 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25705 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25706 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25707 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25708 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25710 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25712 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25713 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25714 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25715 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25716 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25717 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25718 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25719 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25720 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25721 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25722 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25723 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25724 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25725 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25726 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25727 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25729 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25731 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25732 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25733 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25734 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25735 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25736 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25738 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25739 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25740 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25741 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25742 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25743 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25744 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25746 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25747 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25748 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25749 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25750 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25751 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25752 specify as optional.
25753 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25754 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25755 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25756 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25757 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25758 [XPG3] (NL_LANGMAX): Likewise.
25759 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25760 [POSIX || XPG3] (NL_NMAX): Likewise.
25761 [POSIX || XPG3] (NL_SETMAX): Likewise.
25762 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25763 [XPG3] (NZERO): Likewise.
25764 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25765 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25766 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25767 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25768 (REG_ERANGE): Expect.
25769 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25771 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25772 Use (void) in prototype.
25773 [POSIX] (*_t): Allow.
25774 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25775 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25776 (WRDE_BADVAL): Expect.
25778 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25780 [XPG3 || XPG4] (O_RSYNC): Likewise.
25781 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25783 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25784 [XPG3 || XPG4] (sigqueue): Likewise.
25785 [XPG3 || XPG4] (sigtimedwait): Likewise.
25786 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25787 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25788 [XPG3 || XPG4] (vsnprintf): Likewise.
25789 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25791 [XPG3 || XPG4] (blksize_t): Likewise.
25792 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25794 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25795 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25796 [XPG3 || XPG4] (struct itimerspec): Likewise.
25797 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25798 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25799 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25800 [XPG3 || XPG4] (clockid_t): Likewise.
25801 [XPG3 || XPG4] (timer_t): Likewise.
25802 [XPG3 || XPG4] (clock_getres): Likewise.
25803 [XPG3 || XPG4] (clock_gettime): Likewise.
25804 [XPG3 || XPG4] (clock_settime): Likewise.
25805 [XPG3 || XPG4] (nanosleep): Likewise.
25806 [XPG3 || XPG4] (timer_create): Likewise.
25807 [XPG3 || XPG4] (timer_delete): Likewise.
25808 [XPG3 || XPG4] (timer_gettime): Likewise.
25809 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25810 [XPG3 || XPG4] (timer_settime): Likewise.
25811 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25812 [XPG3 || XPG4] (getlogin_r): Likewise.
25813 [XPG3 || XPG4] (pread): Likewise.
25814 [XPG3 || XPG4] (pthread_atfork): Likewise.
25815 [XPG3 || XPG4] (pwrite): Likewise.
25818 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25821 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25823 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25824 finalizing MALLSTREAM.
25826 * sysdeps/mach/hurd/syncfs.c: New file.
25828 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25831 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25832 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25833 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25834 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25835 (_nss_dns_gethostbyname4_r): Likewise.
25836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25837 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25839 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25842 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25844 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25846 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25847 * elf/cache.c (print_entry): Print ",AArch64" for
25850 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25851 * elf/cache.c (print_entry): Print ",hard-float" for
25854 2012-11-18 David S. Miller <davem@davemloft.net>
25856 With help from Joseph Myers.
25857 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25859 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25861 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25862 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25864 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25865 * math/libm-test.inc (y0_test): New tests.
25866 (y1_test): New tests.
25867 * sysdeps/i386/fpu/libm-test-ulps: Update.
25868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25871 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25873 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25875 * configure: Regenerated.
25877 2012-11-17 David S. Miller <davem@davemloft.net>
25880 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25881 nonzero exponents with absolute value below 0x1p-128 to +/-
25884 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25886 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25888 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25890 * posix/getconf-speclist.c: New file.
25891 * posix/posix-envs.def: Likewise.
25892 * posix/confstr.c (START_ENV_GROUP): New macro.
25893 (END_ENV_GROUP): Likewise.
25894 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25895 (KNOWN_PRESENT_ENV_STRING): Likewise.
25896 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25897 (UNKNOWN_ENVIRONMENT): Likewise.
25898 (confstr): Include posix-envs.def instead of handling
25899 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25900 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25901 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25902 (END_ENV_GROUP): Likewise.
25903 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25904 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25905 (UNKNOWN_ENVIRONMENT): Likewise.
25906 (__sysconf): Include posix-envs.def instead of handling associated
25907 cases directly here.
25908 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25909 preprocessing getconf-speclist.c rather than running getconf or
25910 generating empty file.
25912 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25914 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25916 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25919 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25921 2012-11-16 David S. Miller <davem@davemloft.net>
25923 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25924 smaller than LDBL_EPSILON/2.0L, just return xm1.
25926 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25928 * elf/tst-array1.c (init): Set constructor priority to 1000.
25929 (fini): Set destructor priority to 1000.
25930 * elf/tst-array2dep.c: Likewise.
25932 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25935 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25936 (_IO_new_file_xsputn): Also return EOF if none of the input
25937 data was written when overflow failed.
25938 * libio/iopadn.c (_IO_padn): Likewise.
25939 * libio/iowpadn.c (_IO_wpadn): Likewise.
25940 * stdio-common/tst-put-error.c: Add copyright notice.
25941 (do_test): Add case for printing padded string.
25942 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25943 _IO_padn returned error.
25944 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25945 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25948 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25950 * libio/libioP.h: Add comment note that the references to C++
25951 bits are now obsolete.
25953 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25955 * math/libm-test.inc (check_complex): Use asprintf.
25957 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25959 * debug/pcprofiledump.c (print_version): Update copyright year.
25960 * malloc/memusagestat.c (print_version): Likewise.
25962 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25965 * elf/Makefile (tests): Add tst-audit8.
25966 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25967 ($(objpfx)tst-audit8.out): New target.
25968 (tst-audit8-ENV): New variable.
25969 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25970 audit if l_reloc_result is NULL.
25971 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25972 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25973 * elf/tst-audit8.c: New file.
25975 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25977 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25978 * misc/Makefile (CFLAGS-select.c): Define.
25979 * posix/Makefile (CFLAGS-pause.c): Define.
25981 2012-11-13 David S. Miller <davem@davemloft.net>
25983 * crypt/Makefile: Move test targets after toplevel Rules
25984 inclusion. Grab any necessary sysdep routines when linking.
25985 * crypt/md5.c (md5_process_block): Remove define, we will always
25986 name it __md5_process_block.
25987 (md5_finish_ctx): Update md5_process_block call.
25988 (md5_stream): Likewise.
25989 (md5_process_bytes): Likewise.
25990 (md5_process_block): Rename to __md5_process_block and move to ...
25991 * crypt/md5-block.c: ... here.
25992 * crypt/sha256.c (sha256_process_block): Move to ...
25993 * crypt/sha256-block.c: ... here.
25994 * crypt/sha512.c (sha512_process_block): Move to ...
25995 * crypt/sha512-block.c: ... here.
25996 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25998 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25999 * sysdeps/sparc/sparc64/multiarch/Makefile
26000 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26002 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26003 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26005 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26006 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26007 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26008 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26009 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26010 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26011 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26012 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26013 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26015 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26016 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26018 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26020 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26022 * timezone/tzselect.ksh: Update from tzcode git revision
26023 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26024 * timezone/zdump.c: Likewise.
26025 * timezone/zic.c: Likewise.
26026 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26027 in TZVERSION setting, not $(PKGVERSION).
26028 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26029 REPORT_BUGS_TO settings.
26032 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26035 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26037 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26038 detection to immediately after _FP_ROUND().
26039 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26042 2012-11-11 David S. Miller <davem@davemloft.net>
26044 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26046 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26047 __close rather than their public counterparts.
26049 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26051 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26053 [UNIX98] (sem_timedwait): Do not expect.
26054 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26055 [XPG4 || UNIX98] (sockatmark): Do not expect.
26056 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26057 (clock_getcpuclockid): Do not expect.
26058 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26059 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26061 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26062 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26063 [UNIX98] (vwscanf): Likewise.
26064 [UNIX98] (vswscanf): Likewise.
26066 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26068 * timezone/version.h: Remove file.
26069 * timezone/README: Do not refer to version.h.
26070 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26071 $(objpfx)version.h.
26072 ($(objpfx)zdump.o): Likewise.
26073 ($(objpfx)version.h): New target.
26075 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26077 * timezone/README: Don't mention modification to tzselect.ksh.
26078 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26079 work on unmodified tzselect.ksh. Substitute version numbers in
26082 * Makefile (format-me): Remove.
26083 (INSTALL): Adjust indentation. Use commands directly instead of
26084 using $(format-me).
26086 * aclocal.m4 (ACX_PKGVERSION): New macro.
26087 (ACX_BUGURL): Likewise.
26088 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26089 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26090 (REPORT_BUGS_TO): Likewise.
26091 * configure: Regenerated.
26092 * config.h.in (PKGVERSION): New macro.
26093 (REPORT_BUGS_TO): Likewise.
26094 * config.make.in (PKGVERSION): New variable.
26095 (PKGVERSION_TEXI): Likewise.
26096 (REPORT_BUGS_TO): Likewise.
26097 (REPORT_BUGS_TEXI): Likewise.
26098 * Makefile (format-me): Use -I$(common-objpfx)manual.
26099 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26100 ($(common-objpfx)manual/%): New target.
26101 (manual/%): Remove target.
26102 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26103 (print_version): Use PKGVERSION.
26104 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26105 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26106 and REPORT_BUGS_TO.
26107 ($(objpfx)xtrace): Likewise.
26108 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26109 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26110 (print_version): Use PKGVERSION.
26111 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26112 (do_version): Use PKGVERSION.
26113 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26115 (common-ldd-rewrite): Likewise.
26116 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26117 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26118 (print_version): Use PKGVERSION.
26119 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26120 * elf/pldd.c (argp_program_bug_address): Remove variable.
26121 (more_help): New function.
26122 (argp): Use more_help.
26123 (print_version): Use PKGVERSION.
26124 * elf/sln.c (main): Use PKGVERSION.
26125 (usage): Use REPORT_BUGS_TO.
26126 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26127 (top level): Use PKGVERSION.
26128 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26129 (print_version): Use PKGVERSION.
26130 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26131 (print_version): Use PKGVERSION.
26132 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26133 (print_version): Use PKGVERSION.
26134 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26135 (print_version): Use PKGVERSION.
26136 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26137 (print_version): Use PKGVERSION.
26138 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26139 (print_version): Use PKGVERSION.
26140 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26142 ($(objpfx)memusage): Likewise.
26143 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26144 (do_version): Use PKGVERSION.
26145 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26146 (print_version): Use PKGVERSION.
26147 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26148 ($PKGVERSION): New variable.
26149 ($REPORT_BUGS_TO): Likewise.
26150 (usage): Use $REPORT_BUGS_TO.
26151 (top level): Use $PKGVERSION.
26152 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26153 ($(objpfx)pkgvers.texi): New rule.
26154 ($(objpfx)stamp-pkgvers): Likewise.
26155 * manual/install.texi: Include pkgvers.texi.
26156 (--with-pkgversion): Document new configure option.
26157 (--with-bugurl): Likewise.
26158 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26159 than necessarily for this particular distribution. Use
26160 REPORT_BUGS_TO for where to report bugs.
26161 * INSTALL: Regenerated.
26162 * manual/libc.texinfo: Include pkgvers.texi.
26163 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26164 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26165 (print_version): Use PKGVERSION.
26166 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26167 (print_version): Use PKGVERSION.
26168 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26169 (print_version): Use PKGVERSION.
26170 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26171 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26173 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26174 (print_version): Use PKGVERSION.
26175 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26176 (print_version): Use PKGVERSION.
26177 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26180 * timezone/checktab.awk: Update from tzcode 2012i.
26181 * timezone/ialloc.c: Likewise.
26182 * timezone/private.h: Likewise.
26183 * timezone/scheck.c: Likewise.
26184 * timezone/tzfile.h: Likewise.
26185 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26186 (TZVERSION): Hardcode tzcode version number.
26187 * timezone/zdump.c: Update from tzcode 2012i.
26188 * timezone/zic.c: Likewise.
26189 * timezone/version.h: New file.
26190 * timezone/README: Describe version.h. Update upstream location.
26193 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26194 (mktemp): Enable declaration.
26195 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26196 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26197 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26198 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26200 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26202 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26208 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26212 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26213 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26214 for copies of such integer values.
26215 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26216 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26218 2012-11-09 Andreas Jaeger <aj@suse.de>
26220 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26221 definitions and declarations that are provided by
26222 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26224 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26226 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26227 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26228 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26231 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26233 * elf/elf.h: Update comment before AArch64 relocations.
26235 2012-11-07 David S. Miller <davem@davemloft.net>
26237 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26238 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26239 (__start_context): Declare.
26240 (__makecontext_ret): Delete.
26241 (__makecontext): Hook up __start_context instead of
26243 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26244 (sysdep_routines): Add __start_context when in stdlib.
26246 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26248 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26249 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26250 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26252 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26253 (READELF): New variable. Use it instead of hardcoded "readelf".
26255 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26257 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26258 * sysdeps/x86/Makefile: Here.
26259 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26260 * sysdeps/x86/tst-xmmymm.sh: This.
26262 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26264 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26266 [UNIX98] (pthread_barrier_t): Do not expect.
26267 [UNIX98] (pthread_barrierattr_t): Likewise.
26268 [UNIX98] (pthread_spinlock_t): Likewise.
26269 [UNIX98] (pthread_barrier_destroy): Likewise.
26270 [UNIX98] (pthread_barrier_init): Likewise.
26271 [UNIX98] (pthread_barrier_wait): Likewise.
26272 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26273 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26274 [UNIX98] (pthread_barrierattr_init): Likewise.
26275 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26276 [UNIX98] (pthread_getcpuclockid): Likewise.
26277 [UNIX98] (pthread_mutex_timedlock): Likewise.
26278 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26279 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26280 [UNIX98] (pthread_sigmask): Likewise.
26281 [UNIX98] (pthread_spin_destroy): Likewise.
26282 [UNIX98] (pthread_spin_init): Likewise.
26283 [UNIX98] (pthread_spin_lock): Likewise.
26284 [UNIX98] (pthread_spin_trylock): Likewise.
26285 [UNIX98] (pthread_spin_unlock): Likewise.
26286 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26288 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26289 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26290 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26291 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26292 [XPG3 || XPG4] (pthread_key_t): Likewise.
26293 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26294 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26295 [XPG3 || XPG4] (pthread_once_t): Likewise.
26296 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26297 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26298 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26299 [XPG3 || XPG4] (pthread_t): Likewise.
26301 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26303 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26305 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26306 Change function return type to int.
26308 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26309 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26310 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26311 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26312 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26313 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26314 [!POSIX] (posix_madvise): Likewise.
26315 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26317 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26318 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26319 (mode_t): Likewise.
26320 (posix_mem_offset): Likewise.
26321 (posix_typed_mem_get_info): Likewise.
26322 (posix_typed_mem_open): Likewise.
26324 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26325 Change condition to [XOPEN2K8].
26327 * conform/conformtest.pl: Preprocess allow-header data with -x c
26328 instead of from stdin.
26329 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26330 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26331 [C99-based standards] (cerfc): Likewise.
26332 [C99-based standards] (cexp2): Likewise.
26333 [C99-based standards] (cexpm1): Likewise.
26334 [C99-based standards] (clog10): Likewise.
26335 [C99-based standards] (clog1p): Likewise.
26336 [C99-based standards] (clog2): Likewise.
26337 [C99-based standards] (clgamma): Likewise.
26338 [C99-based standards] (ctgamma): Likewise.
26339 [C99-based standards] (cerff): Likewise.
26340 [C99-based standards] (cerfcf): Likewise.
26341 [C99-based standards] (cexp2f): Likewise.
26342 [C99-based standards] (cexpm1f): Likewise.
26343 [C99-based standards] (clog10f): Likewise.
26344 [C99-based standards] (clog1pf): Likewise.
26345 [C99-based standards] (clog2f): Likewise.
26346 [C99-based standards] (clgammaf): Likewise.
26347 [C99-based standards] (ctgammaf): Likewise.
26348 [C99-based standards] (cerfl): Likewise.
26349 [C99-based standards] (cerfcl): Likewise.
26350 [C99-based standards] (cexp2l): Likewise.
26351 [C99-based standards] (cexpm1l): Likewise.
26352 [C99-based standards] (clog10l): Likewise.
26353 [C99-based standards] (clog1pl): Likewise.
26354 [C99-based standards] (clog2l): Likewise.
26355 [C99-based standards] (clgammal): Likewise.
26356 [C99-based standards] (ctgammal): Likewise.
26357 * conform/data/inttypes.h-data [C99-based standards]: Include
26358 stdint.h-data. Remove all expectations for stdint.h contents.
26359 [C99-based standards] (PRI*): Do not allow.
26360 [C99-based standards] (SCN*): Likewise.
26361 [C99-based standards] (*_t): Likewise.
26362 [C99-based-standards] (PRId8): Expect macro.
26363 [C99-based-standards] (PRIi8): Likewise.
26364 [C99-based-standards] (PRIo8): Likewise.
26365 [C99-based-standards] (PRIu8): Likewise.
26366 [C99-based-standards] (PRIx8): Likewise.
26367 [C99-based-standards] (PRIX8): Likewise.
26368 [C99-based-standards] (SCNd8): Likewise.
26369 [C99-based-standards] (SCNi8): Likewise.
26370 [C99-based-standards] (SCNo8): Likewise.
26371 [C99-based-standards] (SCNu8): Likewise.
26372 [C99-based-standards] (SCNx8): Likewise.
26373 [C99-based-standards] (PRIdLEAST8): Likewise.
26374 [C99-based-standards] (PRIiLEAST8): Likewise.
26375 [C99-based-standards] (PRIoLEAST8): Likewise.
26376 [C99-based-standards] (PRIuLEAST8): Likewise.
26377 [C99-based-standards] (PRIxLEAST8): Likewise.
26378 [C99-based-standards] (PRIXLEAST8): Likewise.
26379 [C99-based-standards] (SCNdLEAST8): Likewise.
26380 [C99-based-standards] (SCNiLEAST8): Likewise.
26381 [C99-based-standards] (SCNoLEAST8): Likewise.
26382 [C99-based-standards] (SCNuLEAST8): Likewise.
26383 [C99-based-standards] (SCNxLEAST8): Likewise.
26384 [C99-based-standards] (PRIdFAST8): Likewise.
26385 [C99-based-standards] (PRIiFAST8): Likewise.
26386 [C99-based-standards] (PRIoFAST8): Likewise.
26387 [C99-based-standards] (PRIuFAST8): Likewise.
26388 [C99-based-standards] (PRIxFAST8): Likewise.
26389 [C99-based-standards] (PRIXFAST8): Likewise.
26390 [C99-based-standards] (SCNdFAST8): Likewise.
26391 [C99-based-standards] (SCNiFAST8): Likewise.
26392 [C99-based-standards] (SCNoFAST8): Likewise.
26393 [C99-based-standards] (SCNuFAST8): Likewise.
26394 [C99-based-standards] (SCNxFAST8): Likewise.
26395 [C99-based-standards] (PRId16): Likewise.
26396 [C99-based-standards] (PRIi16): Likewise.
26397 [C99-based-standards] (PRIo16): Likewise.
26398 [C99-based-standards] (PRIu16): Likewise.
26399 [C99-based-standards] (PRIx16): Likewise.
26400 [C99-based-standards] (PRIX16): Likewise.
26401 [C99-based-standards] (SCNd16): Likewise.
26402 [C99-based-standards] (SCNi16): Likewise.
26403 [C99-based-standards] (SCNo16): Likewise.
26404 [C99-based-standards] (SCNu16): Likewise.
26405 [C99-based-standards] (SCNx16): Likewise.
26406 [C99-based-standards] (PRIdLEAST16): Likewise.
26407 [C99-based-standards] (PRIiLEAST16): Likewise.
26408 [C99-based-standards] (PRIoLEAST16): Likewise.
26409 [C99-based-standards] (PRIuLEAST16): Likewise.
26410 [C99-based-standards] (PRIxLEAST16): Likewise.
26411 [C99-based-standards] (PRIXLEAST16): Likewise.
26412 [C99-based-standards] (SCNdLEAST16): Likewise.
26413 [C99-based-standards] (SCNiLEAST16): Likewise.
26414 [C99-based-standards] (SCNoLEAST16): Likewise.
26415 [C99-based-standards] (SCNuLEAST16): Likewise.
26416 [C99-based-standards] (SCNxLEAST16): Likewise.
26417 [C99-based-standards] (PRIdFAST16): Likewise.
26418 [C99-based-standards] (PRIiFAST16): Likewise.
26419 [C99-based-standards] (PRIoFAST16): Likewise.
26420 [C99-based-standards] (PRIuFAST16): Likewise.
26421 [C99-based-standards] (PRIxFAST16): Likewise.
26422 [C99-based-standards] (PRIXFAST16): Likewise.
26423 [C99-based-standards] (SCNdFAST16): Likewise.
26424 [C99-based-standards] (SCNiFAST16): Likewise.
26425 [C99-based-standards] (SCNoFAST16): Likewise.
26426 [C99-based-standards] (SCNuFAST16): Likewise.
26427 [C99-based-standards] (SCNxFAST16): Likewise.
26428 [C99-based-standards] (PRId32): Likewise.
26429 [C99-based-standards] (PRIi32): Likewise.
26430 [C99-based-standards] (PRIo32): Likewise.
26431 [C99-based-standards] (PRIu32): Likewise.
26432 [C99-based-standards] (PRIx32): Likewise.
26433 [C99-based-standards] (PRIX32): Likewise.
26434 [C99-based-standards] (SCNd32): Likewise.
26435 [C99-based-standards] (SCNi32): Likewise.
26436 [C99-based-standards] (SCNo32): Likewise.
26437 [C99-based-standards] (SCNu32): Likewise.
26438 [C99-based-standards] (SCNx32): Likewise.
26439 [C99-based-standards] (PRIdLEAST32): Likewise.
26440 [C99-based-standards] (PRIiLEAST32): Likewise.
26441 [C99-based-standards] (PRIoLEAST32): Likewise.
26442 [C99-based-standards] (PRIuLEAST32): Likewise.
26443 [C99-based-standards] (PRIxLEAST32): Likewise.
26444 [C99-based-standards] (PRIXLEAST32): Likewise.
26445 [C99-based-standards] (SCNdLEAST32): Likewise.
26446 [C99-based-standards] (SCNiLEAST32): Likewise.
26447 [C99-based-standards] (SCNoLEAST32): Likewise.
26448 [C99-based-standards] (SCNuLEAST32): Likewise.
26449 [C99-based-standards] (SCNxLEAST32): Likewise.
26450 [C99-based-standards] (PRIdFAST32): Likewise.
26451 [C99-based-standards] (PRIiFAST32): Likewise.
26452 [C99-based-standards] (PRIoFAST32): Likewise.
26453 [C99-based-standards] (PRIuFAST32): Likewise.
26454 [C99-based-standards] (PRIxFAST32): Likewise.
26455 [C99-based-standards] (PRIXFAST32): Likewise.
26456 [C99-based-standards] (SCNdFAST32): Likewise.
26457 [C99-based-standards] (SCNiFAST32): Likewise.
26458 [C99-based-standards] (SCNoFAST32): Likewise.
26459 [C99-based-standards] (SCNuFAST32): Likewise.
26460 [C99-based-standards] (SCNxFAST32): Likewise.
26461 [C99-based-standards] (PRId64): Likewise.
26462 [C99-based-standards] (PRIi64): Likewise.
26463 [C99-based-standards] (PRIo64): Likewise.
26464 [C99-based-standards] (PRIu64): Likewise.
26465 [C99-based-standards] (PRIx64): Likewise.
26466 [C99-based-standards] (PRIX64): Likewise.
26467 [C99-based-standards] (SCNd64): Likewise.
26468 [C99-based-standards] (SCNi64): Likewise.
26469 [C99-based-standards] (SCNo64): Likewise.
26470 [C99-based-standards] (SCNu64): Likewise.
26471 [C99-based-standards] (SCNx64): Likewise.
26472 [C99-based-standards] (PRIdLEAST64): Likewise.
26473 [C99-based-standards] (PRIiLEAST64): Likewise.
26474 [C99-based-standards] (PRIoLEAST64): Likewise.
26475 [C99-based-standards] (PRIuLEAST64): Likewise.
26476 [C99-based-standards] (PRIxLEAST64): Likewise.
26477 [C99-based-standards] (PRIXLEAST64): Likewise.
26478 [C99-based-standards] (SCNdLEAST64): Likewise.
26479 [C99-based-standards] (SCNiLEAST64): Likewise.
26480 [C99-based-standards] (SCNoLEAST64): Likewise.
26481 [C99-based-standards] (SCNuLEAST64): Likewise.
26482 [C99-based-standards] (SCNxLEAST64): Likewise.
26483 [C99-based-standards] (PRIdFAST64): Likewise.
26484 [C99-based-standards] (PRIiFAST64): Likewise.
26485 [C99-based-standards] (PRIoFAST64): Likewise.
26486 [C99-based-standards] (PRIuFAST64): Likewise.
26487 [C99-based-standards] (PRIxFAST64): Likewise.
26488 [C99-based-standards] (PRIXFAST64): Likewise.
26489 [C99-based-standards] (SCNdFAST64): Likewise.
26490 [C99-based-standards] (SCNiFAST64): Likewise.
26491 [C99-based-standards] (SCNoFAST64): Likewise.
26492 [C99-based-standards] (SCNuFAST64): Likewise.
26493 [C99-based-standards] (SCNxFAST64): Likewise.
26494 [C99-based-standards] (PRIdMAX): Likewise.
26495 [C99-based-standards] (PRIiMAX): Likewise.
26496 [C99-based-standards] (PRIoMAX): Likewise.
26497 [C99-based-standards] (PRIuMAX): Likewise.
26498 [C99-based-standards] (PRIxMAX): Likewise.
26499 [C99-based-standards] (PRIXMAX): Likewise.
26500 [C99-based-standards] (SCNdMAX): Likewise.
26501 [C99-based-standards] (SCNiMAX): Likewise.
26502 [C99-based-standards] (SCNoMAX): Likewise.
26503 [C99-based-standards] (SCNuMAX): Likewise.
26504 [C99-based-standards] (SCNxMAX): Likewise.
26505 [C99-based-standards] (PRIdPTR): Likewise.
26506 [C99-based-standards] (PRIiPTR): Likewise.
26507 [C99-based-standards] (PRIoPTR): Likewise.
26508 [C99-based-standards] (PRIuPTR): Likewise.
26509 [C99-based-standards] (PRIxPTR): Likewise.
26510 [C99-based-standards] (PRIXPTR): Likewise.
26511 [C99-based-standards] (SCNdPTR): Likewise.
26512 [C99-based-standards] (SCNiPTR): Likewise.
26513 [C99-based-standards] (SCNoPTR): Likewise.
26514 [C99-based-standards] (SCNuPTR): Likewise.
26515 [C99-based-standards] (SCNxPTR): Likewise.
26516 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26518 * conform/data/stdint.h-data: Update comments to clarify
26520 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26522 [C99-based standards] (INT8_MAX): Likewise.
26523 [C99-based standards] (INT16_MIN): Likewise.
26524 [C99-based standards] (INT16_MAX): Likewise.
26525 [C99-based standards] (INT32_MIN): Likewise.
26526 [C99-based standards] (INT32_MAX): Likewise.
26527 [C99-based standards] (INT64_MIN): Likewise.
26528 [C99-based standards] (INT64_MAX): Likewise.
26529 [C99-based standards] (UINT8_MAX): Likewise.
26530 [C99-based standards] (UINT16_MAX): Likewise.
26531 [C99-based standards] (UINT32_MAX): Likewise.
26532 [C99-based standards] (UINT64_MAX): Likewise.
26533 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26534 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26535 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26536 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26537 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26538 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26539 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26540 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26541 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26542 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26543 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26544 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26545 [C99-based standards] (INT_FAST8_MIN): Likewise.
26546 [C99-based standards] (INT_FAST8_MAX): Likewise.
26547 [C99-based standards] (INT_FAST16_MIN): Likewise.
26548 [C99-based standards] (INT_FAST16_MAX): Likewise.
26549 [C99-based standards] (INT_FAST32_MIN): Likewise.
26550 [C99-based standards] (INT_FAST32_MAX): Likewise.
26551 [C99-based standards] (INT_FAST64_MIN): Likewise.
26552 [C99-based standards] (INT_FAST64_MAX): Likewise.
26553 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26554 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26555 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26556 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26557 [C99-based standards] (INTPTR_MIN): Likewise.
26558 [C99-based standards] (INTPTR_MAX): Likewise.
26559 [C99-based standards] (UINTPTR_MAX): Likewise.
26560 [C99-based standards] (INTMAX_MIN): Likewise.
26561 [C99-based standards] (INTMAX_MAX): Likewise.
26562 [C99-based standards] (UINTMAX_MAX): Likewise.
26563 [C99-based standards] (PTRDIFF_MIN): Likewise.
26564 [C99-based standards] (PTRDIFF_MAX): Likewise.
26565 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26566 [C99-based standards] (SIZE_MAX): Likewise.
26567 [C99-based standards] (WCHAR_MAX): Likewise.
26568 [C99-based standards] (WINT_MAX): Likewise.
26569 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26570 constraint on value.
26571 [C99-based standards] (WCHAR_MIN): Likewise.
26572 [C99-based standards] (WINT_MIN): Likewise.
26573 [C99-based standards] (*_t): Allow.
26574 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26575 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26576 Include math.h-data and complex.h-data. Remove all expectations
26577 of math.h and complex.h contents.
26578 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26580 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26581 (struct tm): Expect tag.
26582 [C99-based-standards] (wcstof): Expect function.
26583 [C99-based-standards] (wcstold): Likewise.
26584 [C99-based-standards] (wcstoll): Likewise.
26585 [C99-based-standards] (wcstoull): Likewise.
26586 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26587 macro-int-constant. Specify type.
26588 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26589 constraint on value.
26590 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26592 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26594 [ISO C standards]: Do not allow headers.
26595 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26596 wcs[abcdefghijklmnopqrstuvwxyz]*.
26597 [ISO C standards] (*_t): Do not allow.
26598 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26600 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26601 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26603 [ISO C standards]: Do not allow headers.
26604 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26605 is[abcdefghijklmnopqrstuvwxyz]*.
26606 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26607 to[abcdefghijklmnopqrstuvwxyz]*.
26608 [ISO C standards] (*_t): Do not allow.
26609 * conform/data/stdalign.h-data: New file.
26610 * conform/data/stdbool.h-data: Likewise.
26611 * conform/data/stdnoreturn.h-data: Likewise.
26613 2012-11-07 Roland McGrath <roland@hack.frob.com>
26616 * manual/filesys.texi (Directory Entries): Typo fix.
26617 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26619 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26621 * elf/elf.h (EM_AARCH64): New macro.
26622 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26623 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26624 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26625 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26626 (R_AARCH64_TLSDESC): Likewise.
26627 (NT_ARM_TLS): Likewise.
26628 (NT_ARM_HW_BREAK): Likewise.
26629 (NT_ARM_HW_WATCH): Likewise.
26631 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26634 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26635 (__ieee754_powl): Saturate nonzero exponents with absolute value
26636 below 0x1p-79 to +/- 0x1p-79.
26637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26638 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26639 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26640 nonzero exponents with absolute value below 0x1p-32 to +/-
26642 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26643 (__ieee754_powl): Saturate nonzero exponents with absolute value
26644 below 0x1p-79 to +/- 0x1p-79.
26645 * math/libm-test.inc (pow_test): Add more tests.
26647 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26649 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26650 _dl_s390_cap_flags with kernel. Increase string length.
26651 (_dl_s390_platforms): Add z196 and zEC12.
26653 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26655 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26656 Change XOPEN21K to XOPEN2K.
26658 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26660 * string/memmove.c: Use memcpy when possible.
26662 2012-11-06 Andreas Jaeger <aj@suse.de>
26664 * po/eo.po: Update from translation team.
26666 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26670 exponent and small x and y exponents, scale x or y up. Increase
26671 by 2 the exponent used in scaling up.
26672 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26673 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26674 * math/libm-test.inc (fma_test): Add more tests.
26675 (fma_test_towardzero): Likewise.
26676 (fma_test_downward): Likewise.
26677 (fma_test_upward): Likewise.
26679 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26682 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26686 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26687 namespace for names of struct fields.
26688 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26690 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26691 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26693 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26696 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26698 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26700 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26704 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26707 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26711 definitely overflow as x * y not x * y + z.
26712 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26713 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26714 * math/libm-test.inc (fma_test): Add more tests.
26715 (fma_test_towardzero): Likewise.
26716 (fma_test_downward): Likewise.
26717 (fma_test_upward): Likewise.
26719 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26723 * include/stub-tag.h: Remove file.
26724 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26726 * manual/maint.texi (Porting): Don't reference it.
26727 * Makerules ($(objpfx)stubs): Likewise.
26728 * dirent/closedir.c: Don't include <stub-tag.h>.
26729 * dirent/dirfd.c: Likewise.
26730 * dirent/fdopendir.c: Likewise.
26731 * dirent/getdents.c: Likewise.
26732 * dirent/getdents64.c: Likewise.
26733 * dirent/opendir.c: Likewise.
26734 * dirent/readdir.c: Likewise.
26735 * dirent/readdir64.c: Likewise.
26736 * dirent/readdir64_r.c: Likewise.
26737 * dirent/readdir_r.c: Likewise.
26738 * dirent/rewinddir.c: Likewise.
26739 * dirent/seekdir.c: Likewise.
26740 * dirent/telldir.c: Likewise.
26741 * gmon/profil.c: Likewise.
26742 * grp/setgroups.c: Likewise.
26743 * inet/if_index.c: Likewise.
26744 * io/access.c: Likewise.
26745 * io/chdir.c: Likewise.
26746 * io/chmod.c: Likewise.
26747 * io/chown.c: Likewise.
26748 * io/close.c: Likewise.
26749 * io/dup.c: Likewise.
26750 * io/dup2.c: Likewise.
26751 * io/dup3.c: Likewise.
26752 * io/euidaccess.c: Likewise.
26753 * io/faccessat.c: Likewise.
26754 * io/fchdir.c: Likewise.
26755 * io/fchmod.c: Likewise.
26756 * io/fchmodat.c: Likewise.
26757 * io/fchown.c: Likewise.
26758 * io/fchownat.c: Likewise.
26759 * io/fcntl.c: Likewise.
26760 * io/flock.c: Likewise.
26761 * io/fstatfs.c: Likewise.
26762 * io/fstatfs64.c: Likewise.
26763 * io/fstatvfs.c: Likewise.
26764 * io/fstatvfs64.c: Likewise.
26765 * io/futimens.c: Likewise.
26766 * io/fxstat.c: Likewise.
26767 * io/fxstat64.c: Likewise.
26768 * io/fxstatat.c: Likewise.
26769 * io/fxstatat64.c: Likewise.
26770 * io/getcwd.c: Likewise.
26771 * io/isatty.c: Likewise.
26772 * io/lchmod.c: Likewise.
26773 * io/lchown.c: Likewise.
26774 * io/link.c: Likewise.
26775 * io/linkat.c: Likewise.
26776 * io/lseek.c: Likewise.
26777 * io/lseek64.c: Likewise.
26778 * io/lxstat64.c: Likewise.
26779 * io/mkdir.c: Likewise.
26780 * io/mkdirat.c: Likewise.
26781 * io/mkfifo.c: Likewise.
26782 * io/mkfifoat.c: Likewise.
26783 * io/open.c: Likewise.
26784 * io/open64.c: Likewise.
26785 * io/openat.c: Likewise.
26786 * io/openat64.c: Likewise.
26787 * io/pipe.c: Likewise.
26788 * io/pipe2.c: Likewise.
26789 * io/poll.c: Likewise.
26790 * io/posix_fadvise.c: Likewise.
26791 * io/posix_fadvise64.c: Likewise.
26792 * io/posix_fallocate.c: Likewise.
26793 * io/posix_fallocate64.c: Likewise.
26794 * io/read.c: Likewise.
26795 * io/readlink.c: Likewise.
26796 * io/readlinkat.c: Likewise.
26797 * io/rmdir.c: Likewise.
26798 * io/sendfile.c: Likewise.
26799 * io/sendfile64.c: Likewise.
26800 * io/statfs.c: Likewise.
26801 * io/statfs64.c: Likewise.
26802 * io/statvfs.c: Likewise.
26803 * io/statvfs64.c: Likewise.
26804 * io/symlink.c: Likewise.
26805 * io/symlinkat.c: Likewise.
26806 * io/ttyname.c: Likewise.
26807 * io/ttyname_r.c: Likewise.
26808 * io/umask.c: Likewise.
26809 * io/unlink.c: Likewise.
26810 * io/unlinkat.c: Likewise.
26811 * io/utime.c: Likewise.
26812 * io/utimensat.c: Likewise.
26813 * io/write.c: Likewise.
26814 * io/xmknod.c: Likewise.
26815 * io/xmknodat.c: Likewise.
26816 * io/xstat.c: Likewise.
26817 * io/xstat64.c: Likewise.
26818 * login/getpt.c: Likewise.
26819 * login/grantpt.c: Likewise.
26820 * login/unlockpt.c: Likewise.
26821 * math/e_acoshl.c: Likewise.
26822 * math/e_acosl.c: Likewise.
26823 * math/e_asinl.c: Likewise.
26824 * math/e_atan2l.c: Likewise.
26825 * math/e_atanhl.c: Likewise.
26826 * math/e_coshl.c: Likewise.
26827 * math/e_expl.c: Likewise.
26828 * math/e_fmodl.c: Likewise.
26829 * math/e_gammal_r.c: Likewise.
26830 * math/e_hypotl.c: Likewise.
26831 * math/e_j0l.c: Likewise.
26832 * math/e_j1l.c: Likewise.
26833 * math/e_jnl.c: Likewise.
26834 * math/e_lgammal_r.c: Likewise.
26835 * math/e_log10l.c: Likewise.
26836 * math/e_log2l.c: Likewise.
26837 * math/e_logl.c: Likewise.
26838 * math/e_powl.c: Likewise.
26839 * math/e_rem_pio2l.c: Likewise.
26840 * math/e_sinhl.c: Likewise.
26841 * math/e_sqrtl.c: Likewise.
26842 * math/fclrexcpt.c: Likewise.
26843 * math/fedisblxcpt.c: Likewise.
26844 * math/feenablxcpt.c: Likewise.
26845 * math/fegetenv.c: Likewise.
26846 * math/fegetexcept.c: Likewise.
26847 * math/fegetround.c: Likewise.
26848 * math/feholdexcpt.c: Likewise.
26849 * math/fesetenv.c: Likewise.
26850 * math/fesetround.c: Likewise.
26851 * math/feupdateenv.c: Likewise.
26852 * math/fgetexcptflg.c: Likewise.
26853 * math/fraiseexcpt.c: Likewise.
26854 * math/fsetexcptflg.c: Likewise.
26855 * math/ftestexcept.c: Likewise.
26856 * math/k_cosl.c: Likewise.
26857 * math/k_rem_pio2l.c: Likewise.
26858 * math/k_sinl.c: Likewise.
26859 * math/k_tanl.c: Likewise.
26860 * math/s_asinhl.c: Likewise.
26861 * math/s_atanl.c: Likewise.
26862 * math/s_cbrtl.c: Likewise.
26863 * math/s_erfl.c: Likewise.
26864 * math/s_expm1l.c: Likewise.
26865 * math/s_log1pl.c: Likewise.
26866 * math/s_tanhl.c: Likewise.
26867 * misc/acct.c: Likewise.
26868 * misc/brk.c: Likewise.
26869 * misc/chflags.c: Likewise.
26870 * misc/chroot.c: Likewise.
26871 * misc/fchflags.c: Likewise.
26872 * misc/fgetxattr.c: Likewise.
26873 * misc/flistxattr.c: Likewise.
26874 * misc/fremovexattr.c: Likewise.
26875 * misc/fsetxattr.c: Likewise.
26876 * misc/fsync.c: Likewise.
26877 * misc/ftruncate.c: Likewise.
26878 * misc/futimes.c: Likewise.
26879 * misc/futimesat.c: Likewise.
26880 * misc/getdomain.c: Likewise.
26881 * misc/getdtsz.c: Likewise.
26882 * misc/gethostid.c: Likewise.
26883 * misc/gethostname.c: Likewise.
26884 * misc/getloadavg.c: Likewise.
26885 * misc/getpagesize.c: Likewise.
26886 * misc/getsysstats.c: Likewise.
26887 * misc/getxattr.c: Likewise.
26888 * misc/gtty.c: Likewise.
26889 * misc/ioctl.c: Likewise.
26890 * misc/lgetxattr.c: Likewise.
26891 * misc/listxattr.c: Likewise.
26892 * misc/llistxattr.c: Likewise.
26893 * misc/lremovexattr.c: Likewise.
26894 * misc/lsetxattr.c: Likewise.
26895 * misc/lutimes.c: Likewise.
26896 * misc/madvise.c: Likewise.
26897 * misc/mincore.c: Likewise.
26898 * misc/mlock.c: Likewise.
26899 * misc/mlockall.c: Likewise.
26900 * misc/mmap.c: Likewise.
26901 * misc/mprotect.c: Likewise.
26902 * misc/msync.c: Likewise.
26903 * misc/munlock.c: Likewise.
26904 * misc/munlockall.c: Likewise.
26905 * misc/munmap.c: Likewise.
26906 * misc/preadv.c: Likewise.
26907 * misc/preadv64.c: Likewise.
26908 * misc/ptrace.c: Likewise.
26909 * misc/pwritev.c: Likewise.
26910 * misc/pwritev64.c: Likewise.
26911 * misc/readv.c: Likewise.
26912 * misc/reboot.c: Likewise.
26913 * misc/remap_file_pages.c: Likewise.
26914 * misc/removexattr.c: Likewise.
26915 * misc/revoke.c: Likewise.
26916 * misc/select.c: Likewise.
26917 * misc/setdomain.c: Likewise.
26918 * misc/setegid.c: Likewise.
26919 * misc/seteuid.c: Likewise.
26920 * misc/sethostid.c: Likewise.
26921 * misc/sethostname.c: Likewise.
26922 * misc/setregid.c: Likewise.
26923 * misc/setreuid.c: Likewise.
26924 * misc/setxattr.c: Likewise.
26925 * misc/sstk.c: Likewise.
26926 * misc/stty.c: Likewise.
26927 * misc/swapoff.c: Likewise.
26928 * misc/swapon.c: Likewise.
26929 * misc/sync.c: Likewise.
26930 * misc/syncfs.c: Likewise.
26931 * misc/syscall.c: Likewise.
26932 * misc/truncate.c: Likewise.
26933 * misc/ualarm.c: Likewise.
26934 * misc/usleep.c: Likewise.
26935 * misc/ustat.c: Likewise.
26936 * misc/utimes.c: Likewise.
26937 * misc/vhangup.c: Likewise.
26938 * misc/writev.c: Likewise.
26939 * posix/_exit.c: Likewise.
26940 * posix/alarm.c: Likewise.
26941 * posix/execve.c: Likewise.
26942 * posix/fexecve.c: Likewise.
26943 * posix/fork.c: Likewise.
26944 * posix/fpathconf.c: Likewise.
26945 * posix/getaddrinfo.c: Likewise.
26946 * posix/getegid.c: Likewise.
26947 * posix/geteuid.c: Likewise.
26948 * posix/getgid.c: Likewise.
26949 * posix/getgroups.c: Likewise.
26950 * posix/getlogin.c: Likewise.
26951 * posix/getlogin_r.c: Likewise.
26952 * posix/getpgid.c: Likewise.
26953 * posix/getpid.c: Likewise.
26954 * posix/getppid.c: Likewise.
26955 * posix/getresgid.c: Likewise.
26956 * posix/getresuid.c: Likewise.
26957 * posix/getsid.c: Likewise.
26958 * posix/getuid.c: Likewise.
26959 * posix/glob64.c: Likewise.
26960 * posix/nanosleep.c: Likewise.
26961 * posix/pathconf.c: Likewise.
26962 * posix/pause.c: Likewise.
26963 * posix/posix_madvise.c: Likewise.
26964 * posix/pread.c: Likewise.
26965 * posix/pread64.c: Likewise.
26966 * posix/pwrite.c: Likewise.
26967 * posix/pwrite64.c: Likewise.
26968 * posix/sched_getaffinity.c: Likewise.
26969 * posix/sched_getp.c: Likewise.
26970 * posix/sched_gets.c: Likewise.
26971 * posix/sched_primax.c: Likewise.
26972 * posix/sched_primin.c: Likewise.
26973 * posix/sched_rr_gi.c: Likewise.
26974 * posix/sched_setaffinity.c: Likewise.
26975 * posix/sched_setp.c: Likewise.
26976 * posix/sched_sets.c: Likewise.
26977 * posix/sched_yield.c: Likewise.
26978 * posix/setgid.c: Likewise.
26979 * posix/setlogin.c: Likewise.
26980 * posix/setpgid.c: Likewise.
26981 * posix/setresgid.c: Likewise.
26982 * posix/setresuid.c: Likewise.
26983 * posix/setsid.c: Likewise.
26984 * posix/setuid.c: Likewise.
26985 * posix/sleep.c: Likewise.
26986 * posix/spawni.c: Likewise.
26987 * posix/sysconf.c: Likewise.
26988 * posix/times.c: Likewise.
26989 * posix/wait.c: Likewise.
26990 * posix/wait3.c: Likewise.
26991 * posix/wait4.c: Likewise.
26992 * posix/waitpid.c: Likewise.
26993 * resolv/gai_sigqueue.c: Likewise.
26994 * resource/getpriority.c: Likewise.
26995 * resource/getrlimit.c: Likewise.
26996 * resource/getrusage.c: Likewise.
26997 * resource/nice.c: Likewise.
26998 * resource/setpriority.c: Likewise.
26999 * resource/setrlimit.c: Likewise.
27000 * resource/ulimit.c: Likewise.
27001 * rt/aio_cancel.c: Likewise.
27002 * rt/aio_fsync.c: Likewise.
27003 * rt/aio_read.c: Likewise.
27004 * rt/aio_sigqueue.c: Likewise.
27005 * rt/aio_suspend.c: Likewise.
27006 * rt/aio_write.c: Likewise.
27007 * rt/clock_getres.c: Likewise.
27008 * rt/clock_gettime.c: Likewise.
27009 * rt/clock_nanosleep.c: Likewise.
27010 * rt/clock_settime.c: Likewise.
27011 * rt/lio_listio.c: Likewise.
27012 * rt/mq_close.c: Likewise.
27013 * rt/mq_getattr.c: Likewise.
27014 * rt/mq_notify.c: Likewise.
27015 * rt/mq_open.c: Likewise.
27016 * rt/mq_receive.c: Likewise.
27017 * rt/mq_send.c: Likewise.
27018 * rt/mq_setattr.c: Likewise.
27019 * rt/mq_timedreceive.c: Likewise.
27020 * rt/mq_timedsend.c: Likewise.
27021 * rt/mq_unlink.c: Likewise.
27022 * rt/shm_open.c: Likewise.
27023 * rt/shm_unlink.c: Likewise.
27024 * rt/timer_create.c: Likewise.
27025 * rt/timer_delete.c: Likewise.
27026 * rt/timer_getoverr.c: Likewise.
27027 * rt/timer_gettime.c: Likewise.
27028 * rt/timer_settime.c: Likewise.
27029 * setjmp/__longjmp.c: Likewise.
27030 * setjmp/setjmp.c: Likewise.
27031 * signal/kill.c: Likewise.
27032 * signal/killpg.c: Likewise.
27033 * signal/raise.c: Likewise.
27034 * signal/sigaction.c: Likewise.
27035 * signal/sigaltstack.c: Likewise.
27036 * signal/sigblock.c: Likewise.
27037 * signal/sigignore.c: Likewise.
27038 * signal/sigintr.c: Likewise.
27039 * signal/signal.c: Likewise.
27040 * signal/sigpause.c: Likewise.
27041 * signal/sigpending.c: Likewise.
27042 * signal/sigqueue.c: Likewise.
27043 * signal/sigreturn.c: Likewise.
27044 * signal/sigset.c: Likewise.
27045 * signal/sigsetmask.c: Likewise.
27046 * signal/sigstack.c: Likewise.
27047 * signal/sigsuspend.c: Likewise.
27048 * signal/sigtimedwait.c: Likewise.
27049 * signal/sigvec.c: Likewise.
27050 * signal/sigwait.c: Likewise.
27051 * signal/sigwaitinfo.c: Likewise.
27052 * signal/sysv_signal.c: Likewise.
27053 * socket/accept.c: Likewise.
27054 * socket/accept4.c: Likewise.
27055 * socket/bind.c: Likewise.
27056 * socket/connect.c: Likewise.
27057 * socket/getpeername.c: Likewise.
27058 * socket/getsockname.c: Likewise.
27059 * socket/getsockopt.c: Likewise.
27060 * socket/isfdtype.c: Likewise.
27061 * socket/listen.c: Likewise.
27062 * socket/recv.c: Likewise.
27063 * socket/recvfrom.c: Likewise.
27064 * socket/recvmsg.c: Likewise.
27065 * socket/send.c: Likewise.
27066 * socket/sendmsg.c: Likewise.
27067 * socket/sendto.c: Likewise.
27068 * socket/setsockopt.c: Likewise.
27069 * socket/shutdown.c: Likewise.
27070 * socket/sockatmark.c: Likewise.
27071 * socket/socket.c: Likewise.
27072 * socket/socketpair.c: Likewise.
27073 * stdio-common/ctermid.c: Likewise.
27074 * stdio-common/cuserid.c: Likewise.
27075 * stdio-common/remove.c: Likewise.
27076 * stdio-common/rename.c: Likewise.
27077 * stdio-common/renameat.c: Likewise.
27078 * stdio-common/tempname.c: Likewise.
27079 * stdlib/getcontext.c: Likewise.
27080 * stdlib/makecontext.c: Likewise.
27081 * stdlib/setcontext.c: Likewise.
27082 * stdlib/swapcontext.c: Likewise.
27083 * stdlib/system.c: Likewise.
27084 * streams/fattach.c: Likewise.
27085 * streams/fdetach.c: Likewise.
27086 * streams/getmsg.c: Likewise.
27087 * streams/getpmsg.c: Likewise.
27088 * streams/putmsg.c: Likewise.
27089 * streams/putpmsg.c: Likewise.
27090 * sysdeps/unix/bsd/getpt.c: Likewise.
27091 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27092 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27093 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27096 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27097 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27098 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27099 * sysvipc/msgctl.c: Likewise.
27100 * sysvipc/msgget.c: Likewise.
27101 * sysvipc/msgrcv.c: Likewise.
27102 * sysvipc/msgsnd.c: Likewise.
27103 * sysvipc/semctl.c: Likewise.
27104 * sysvipc/semget.c: Likewise.
27105 * sysvipc/semop.c: Likewise.
27106 * sysvipc/semtimedop.c: Likewise.
27107 * sysvipc/shmat.c: Likewise.
27108 * sysvipc/shmctl.c: Likewise.
27109 * sysvipc/shmdt.c: Likewise.
27110 * sysvipc/shmget.c: Likewise.
27111 * termios/tcdrain.c: Likewise.
27112 * termios/tcflow.c: Likewise.
27113 * termios/tcflush.c: Likewise.
27114 * termios/tcgetattr.c: Likewise.
27115 * termios/tcgetpgrp.c: Likewise.
27116 * termios/tcsendbrk.c: Likewise.
27117 * termios/tcsetattr.c: Likewise.
27118 * termios/tcsetpgrp.c: Likewise.
27119 * time/adjtime.c: Likewise.
27120 * time/clock.c: Likewise.
27121 * time/getitimer.c: Likewise.
27122 * time/gettimeofday.c: Likewise.
27123 * time/setitimer.c: Likewise.
27124 * time/settimeofday.c: Likewise.
27125 * time/stime.c: Likewise.
27126 * time/time.c: Likewise.
27128 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27130 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27133 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27135 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27137 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27141 FE_TONEAREST before applying Dekker multiplication and Knuth
27142 addition. Clear inexact exceptions and check for exact zero
27143 results afterwards.
27144 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27145 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27146 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27147 * math/libm-test.inc (fma_test): Add more tests.
27148 (fma_test_towardzero): Likewise.
27149 (fma_test_downward): Likewise.
27150 (fma_test_upward): Likewise.
27151 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27153 (libc_fesetround): New macro.
27154 (libc_fesetroundf): Likewise.
27155 (libc_fesetroundl): Likewise.
27156 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27158 (libc_fesetround_387): Likewise.
27159 (libc_fesetroundf): New macro.
27160 (libc_fesetround): Likewise.
27161 (libc_fesetroundl): Likewise.
27162 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27164 (libc_fesetroundf): New macro.
27165 (libc_fesetround): Likewise.
27166 (libc_fesetroundl): Likewise.
27167 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27168 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27169 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27171 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27172 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27174 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27175 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27177 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27181 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27182 integer constant usable in #if and use that to give value to enum
27184 (FE_DIVBYZERO): Likewise.
27185 (FE_UNDERFLOW): Likewise.
27186 (FE_OVERFLOW): Likewise.
27187 (FE_INVALID): Likewise.
27188 (FE_INVALID_SNAN): Likewise.
27189 (FE_INVALID_ISI): Likewise.
27190 (FE_INVALID_IDI): Likewise.
27191 (FE_INVALID_ZDZ): Likewise.
27192 (FE_INVALID_IMZ): Likewise.
27193 (FE_INVALID_COMPARE): Likewise.
27194 (FE_INVALID_SOFTWARE): Likewise.
27195 (FE_INVALID_SQRT): Likewise.
27196 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27197 (FE_TONEAREST): Likewise.
27198 (FE_TOWARDZERO): Likewise.
27199 (FE_UPWARD): Likewise.
27200 (FE_DOWNWARD): Likewise.
27201 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27202 (FE_DIVBYZERO): Likewise.
27203 (FE_OVERFLOW): Likewise.
27204 (FE_UNDERFLOW): Likewise.
27205 (FE_INEXACT): Likewise.
27206 (FE_TONEAREST): Likewise.
27207 (FE_DOWNWARD): Likewise.
27208 (FE_UPWARD): Likewise.
27209 (FE_TOWARDZERO): Likewise.
27210 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27211 (FE_UNDERFLOW): Likewise.
27212 (FE_OVERFLOW): Likewise.
27213 (FE_DIVBYZERO): Likewise.
27214 (FE_INVALID): Likewise.
27215 (FE_TONEAREST): Likewise.
27216 (FE_TOWARDZERO): Likewise.
27217 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27218 (FE_OVERFLOW): Likewise.
27219 (FE_UNDERFLOW): Likewise.
27220 (FE_DIVBYZERO): Likewise.
27221 (FE_INEXACT): Likewise.
27222 (FE_TONEAREST): Likewise.
27223 (FE_TOWARDZERO): Likewise.
27224 (FE_UPWARD): Likewise.
27225 (FE_DOWNWARD): Likewise.
27226 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27227 (FE_DIVBYZERO): Likewise.
27228 (FE_OVERFLOW): Likewise.
27229 (FE_UNDERFLOW): Likewise.
27230 (FE_INEXACT): Likewise.
27231 (FE_TONEAREST): Likewise.
27232 (FE_DOWNWARD): Likewise.
27233 (FE_UPWARD): Likewise.
27234 (FE_TOWARDZERO): Likewise.
27236 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27238 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27240 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27242 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27243 commands. Quote $PWD.
27244 (blacklist_exports): Don't use remove_newlines. Replace "declare
27246 (remove_newlines): Remove.
27248 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27250 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27251 * stdlib/stdlib.h (atof): Moved to ...
27252 * include/bits/stdlib-float.h: Here. New file.
27253 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27254 * stdlib/bits/stdlib-float.h: New file.
27255 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27257 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27260 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27262 * conform/conformtest.pl (@headers): Add fenv.h.
27263 * conform/data/fenv.h-data: New file.
27264 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27265 include of <math/fenv.h>.
27267 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27268 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27269 && !UNIX98]. Enables tests for XOPEN2K8.
27270 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27271 POSIX2008]: Likewise.
27273 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27274 (struct rusage): Do not expect type or its members.
27277 * math/math.h (FP_NAN): Define macro to integer constant usable in
27278 #if and use that to give value to enum constant.
27279 (FP_INFINITE): Likewise.
27280 (FP_ZERO): Likewise.
27281 (FP_SUBNORMAL): Likewise.
27282 (FP_NORMAL): Likewise.
27284 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27286 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27287 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27290 2012-11-02 Roland McGrath <roland@hack.frob.com>
27292 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27293 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27294 autoconf-time if not.
27295 * configure.in: Remove AC_PREREQ.
27297 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27299 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27300 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27301 of the internal implementation.
27303 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27305 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27306 except include of <misc/sys/syslog.h>.
27308 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27311 function returns with a NULL context exit with zero.
27313 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27315 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27317 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27319 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27320 (run_program_cmd): This.
27321 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27322 (tst_langinfo): New variable. Use it.
27324 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27326 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27327 floating point opcodes.
27329 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27331 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27334 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27336 * sysdeps/mach/hurd/powerpc: Remove directory.
27337 * sysdeps/mach/powerpc: Likewise.
27339 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27341 * scripts/check-local-headers.sh: Ignore c++ headers.
27343 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27345 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27346 __libc_cleanup_region_start argument.
27348 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27353 x * y using scaling, not as x * y + z.
27354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27355 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27356 * math/libm-test.inc (fma_test): Add more tests.
27357 (fma_test_towardzero): Likewise.
27358 (fma_test_downward): Likewise.
27359 (fma_test_upward): Likewise.
27361 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27363 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27365 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27367 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27370 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27372 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27374 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27381 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27384 Fix the order of the list for glibc 2.17.
27385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27388 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27392 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27395 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27396 for low part of x being zero before using __atanl (y).
27397 * math/libm-test.inc (atan2_test): Add another test.
27399 * manual/install.texi (Configuring and compiling): Document
27400 general use of test-wrapper and test-wrapper-env.
27401 * INSTALL: Regenerated.
27403 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27404 (__fma): Do not extract and scale down low bits on after-rounding
27405 systems when result rounded to normal precision would have normal
27407 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27408 (__fmal): Do not extract and scale down low bits on after-rounding
27409 systems when result rounded to normal precision would have normal
27411 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27412 (__fmal): Do not extract and scale down low bits on after-rounding
27413 systems when result rounded to normal precision would have normal
27415 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27417 (fma_test): Add more tests.
27418 (fma_test_towardzero): Likewise.
27419 (fma_test_downward): Likewise.
27420 (fma_test_upward): Likewise.
27422 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27424 * sysdeps/i386/tininess.h: Renamed to ...
27425 * sysdeps/x86/tininess.h: This.
27426 * sysdeps/x86_64/tininess.h: Removed.
27428 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27430 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27431 input. Use $(build-program-cmd).
27432 ($(objpfx)tst-array1-static.out): Likewise.
27433 ($(objpfx)tst-array2.out): Likewise.
27434 ($(objpfx)tst-array3.out): Likewise.
27435 ($(objpfx)tst-array4.out): Likewise.
27436 ($(objpfx)tst-array5.out): Likewise.
27437 ($(objpfx)tst-array5-static.out): Likewise.
27439 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27441 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27444 * nss/nsswitch.h (nss_interface_function): Provide new
27445 macro for use with NSS functions.
27446 * grp/initgroups.c: Use new macro.
27447 * nss/getXXbyYY.c: Likewise.
27448 * nss/getXXbyYY_r.c: Likewise.
27449 * nss/getXXent.c: Likewise.
27450 * nss/getXXent_r.c: Likewise.
27451 * sysdeps/posix/getaddrinfo.c: Likewise.
27453 2012-10-30 Andreas Jaeger <aj@suse.de>
27455 * po/ru.po: Update Russion translation from translation project.
27457 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27462 result and shift together with sticky bit instead of replicating
27463 round-to-nearest rounding.
27464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27465 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27466 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27467 missing underflow exceptions.
27468 (fma_test_towardzero): Add more tests.
27469 (fma_test_downward): Likewise.
27470 (fma_test_upward): Likewise.
27473 * sysdeps/generic/tininess.h: New file.
27474 * sysdeps/i386/tininess.h: Likewise.
27475 * sysdeps/sh/tininess.h: Likewise.
27476 * sysdeps/x86_64/tininess.h: Likewise.
27477 * stdlib/tst-strtod-underflow.c: Likewise.
27478 * stdlib/tst-tininess.c: Likewise.
27479 * stdlib/strtod_l.c: Include <tininess.h>.
27480 (round_and_return): Do not set errno for exact underflow cases.
27481 Force an underflow exception when setting errno for underflow.
27482 Determine underflow based on rounding to normal precision if
27483 TININESS_AFTER_ROUNDING.
27484 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27485 ERANGE for exact underflow cases.
27486 * stdlib/Makefile (tests): Add tst-tininess and
27487 tst-strtod-underflow.
27488 ($(objpfx)tst-tininess): Use $(link-libm).
27489 ($(objpfx)tst-strtod-underflow): Likewise.
27491 2012-10-30 Andreas Jaeger <aj@suse.de>
27494 * elf/Makefile (tests): Remove conditional for have-initfini-array
27495 since this is now always required and the variable does not exist
27497 (tests-static): Likewise.
27498 (modules-names): Likewise.
27500 * po/eo.po: Add Esperanto translation from translation project.
27502 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27503 merged with constructor/destructor.
27504 (init_array): Likewise.
27505 * elf/tst-array2dep.c (fini_array): Likewise.
27506 (init_array): Likewise.
27508 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27510 * manual/message.texi: Delete @cartouche tags.
27512 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27514 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27516 * sysdeps/mach/hurd/fsync.c: Likewise.
27518 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27519 [_POSIX_REALTIME_SIGNALS]: Change condition to
27520 [_POSIX_REALTIME_SIGNALS > 0].
27522 2012-10-27 Andreas Jaeger <aj@suse.de>
27524 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27525 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27527 [__WORDSIZE != 64]: Likewise.
27529 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27531 * iconvdata/tst-table.sh: Remove ${SHELL}.
27532 * iconvdata/tst-tables.sh: Likewise.
27534 2012-10-25 David S. Miller <davem@davemloft.net>
27536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27537 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27542 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27543 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27544 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27547 2012-10-25 Roland McGrath <roland@hack.frob.com>
27549 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27550 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27553 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27554 Jim Blandy <jimb@codesourcery.com>
27556 * scripts/cross-test-ssh.sh: New file.
27557 * manual/install.texi (Configuring and compiling): Document use of
27559 * INSTALL: Regenerated.
27561 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27563 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27566 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27568 * Makeconfig (run-program-prefix): Fix comment.
27570 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27571 Jim Blandy <jimb@codesourcery.com>
27573 * Makeconfig (test-wrapper): New variable,
27574 (test-wrapper-env): Likewise.
27575 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27576 (run-built-tests): Define to yes.
27577 (run-program-prefix): Use $(test-wrapper).
27578 (built-program-cmd): Likewise.
27579 * Rules (make-test-out): Use $(test-wrapper-env) and
27580 $(host-built-program-cmd).
27581 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27582 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27584 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27585 $(test-wrapper-env) to tst-rtld-load-self.sh.
27586 ($(objpfx)order2.out): Use $(test-wrapper).
27587 ($(objpfx)tst-initorder.out): Likewise.
27588 ($(objpfx)tst-initorder2.out): Likewise.
27589 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27590 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27591 (test_wrapper_env): New variable. Use it to run ld.so.
27592 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27593 Use it to run ld.so.
27594 (test_wrapper_env): Likewise.
27595 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27596 $(test-wrapper) to run-iconv-test.sh.
27597 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27598 (ICONV): Use $test_wrapper.
27599 * posix/Makefile ($(objpfx)globtest.out): Pass
27600 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27601 globtest.sh, not $(run-program-prefix).
27602 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27603 (test_wrapper): Likewise.
27604 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27605 set together with run_via_rtld_prefix.
27606 (run_program_prefix): Define in terms of test_wrapper and
27607 run_via_rtld_prefix.
27609 2012-10-24 Roland McGrath <roland@hack.frob.com>
27611 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27612 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27616 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27617 Declare __clock_getres, __clock_gettime, __clock_settime,
27618 __clock_nanosleep, and __clock_getcpuclockid.
27619 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27620 Remove librt_hidden_def (clock_gettime).
27621 * sysdeps/unix/clock_gettime.c: Likewise.
27622 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27623 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27624 * rt/clock_getres.c: Define __clock_getres as an alias.
27625 * sysdeps/posix/clock_getres.c: Likewise.
27626 * rt/clock_settime.c: Define __clock_settime as an alias.
27627 * sysdeps/unix/clock_settime.c: Likewise.
27628 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27629 * sysdeps/unix/clock_nanosleep.c: Likewise.
27630 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27631 * rt/clock-compat.c: New file.
27632 * rt/Makefile (librt-routines): Add clock-compat and move
27633 $(clock-routines) to ...
27634 (routines): ... here, new variable.
27635 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27636 Don't add get_clockfreq here.
27637 * rt/Versions (libc: GLIBC_2.17): New version set.
27638 Add clock_* symbols here.
27639 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27640 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27641 (GLIBC_2.17): Add clock_* symbols.
27642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27644 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27653 * NEWS: Mention the move.
27655 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27656 Use __open, __read, __close rather than their public counterparts.
27657 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27658 (__get_clockfreq_via_cpuinfo): Likewise.
27659 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27660 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27662 * config.h.in (HAVE_IFUNC): New #undef.
27663 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27665 * configure: Regenerated.
27667 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27669 * configure.in: Move READELF check to start of file.
27670 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27671 libc_cv_asm_gnu_indirect_function in the process.
27672 * configure: Regenerated.
27674 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27676 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27677 send the output to /dev/null.
27678 (libc_cv_cc_with_libunwind): Likewise.
27679 (libc_cv_as_noexecstack): Likewise.
27680 * configure: Regenerate.
27682 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27684 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27686 * posix/globtest.sh (TMPDIR): Do not set.
27687 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27688 (testout): Likewise.
27690 2012-10-24 Andreas Jaeger <aj@suse.de>
27692 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27693 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27694 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27695 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27696 posix_fadvise64, posix_fallocate64.
27698 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27699 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27700 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27702 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27704 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27706 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27707 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27708 <bits/fcntl-linux.h>.
27709 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27712 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27713 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27714 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27715 [__WORDSIZE != 64]: Likewise.
27717 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27719 * Makeconfig (run-built-tests): New variable.
27720 * Rules [$(cross-compiling) = yes]: Change condition to
27721 [$(run-built-tests) = no].
27722 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27723 to [$(run-built-tests) = yes].
27724 * elf/Makefile [$(cross-compiling) = no]: Likewise
27725 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27726 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27727 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27728 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27729 * io/Makefile [$(cross-compiling) = no]: Likewise.
27730 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27731 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27732 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27733 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27734 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27735 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27736 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27737 * string/Makefile [$(cross-compiling) = no]: Likewise.
27739 * posix/Makefile ($(objpfx)globtest.out): Pass
27740 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27741 $(rtld-installed-name).
27742 * posix/globtest.sh (elf_objpfx): Remove variable.
27743 (rtld_installed_name): Likewise.
27744 (library_path): Likewise.
27745 (run_program_prefix): New variable. Use for running globtest
27748 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27749 Joseph Myers <joseph@codesourcery.com>
27751 * Makeconfig (host-built-program-cmd): New variable.
27752 * elf/Makefile (tst-stackguard1-ARGS): Use
27753 $(host-built-program-cmd).
27754 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27755 (tst-spawn-ARGS): Likewise.
27756 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27758 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27759 Jim Blandy <jimb@codesourcery.com>
27761 * Makeconfig (run-via-rtld-prefix): New variable.
27762 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27763 (built-program-cmd): Likewise.
27765 2012-10-22 Andreas Jaeger <aj@suse.de>
27767 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27768 __O_RSYNC if it exists, otherwise to O_SYNC.
27770 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27771 Joseph Myers <joseph@codesourcery.com>
27773 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27775 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27777 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27780 2012-10-22 Andreas Jaeger <aj@suse.de>
27782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27784 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27787 bits/fcntl-linux.h.
27789 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27790 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27797 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27798 Joseph Myers <joseph@codesourcery.com>
27800 * config.make.in (NM): New variable.
27802 2012-10-21 Andreas Jaeger <aj@suse.de>
27804 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27805 definitions and declarations that are provided by
27806 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27808 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27811 * elf/Makefile (tests-static): Add tst-leaks1-static.
27812 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27813 ($(objpfx)tst-leaks1-static): New rule.
27814 ($(objpfx)tst-leaks1-static-mem): Likewise.
27815 (tst-leaks1-static-ENV): New macro.
27816 * elf/dl-open.c (dl_open_worker): Check the main application
27817 only if SHARED is defined.
27818 * elf/tst-leaks1-static.c: New file.
27820 2012-10-20 Andreas Jaeger <aj@suse.de>
27822 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27823 generic values for Linux.
27824 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27825 and declarations that are provided by <bits/fcntl-linux.h> and
27826 include <bits/fcntl-linux.h>.
27827 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27830 2012-10-20 Roland McGrath <roland@hack.frob.com>
27832 * io/fcntl.h: Move include of <bits/types.h> to the top and
27833 include it unconditionally.
27835 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27837 * wcsmbs/Makefile (tests-ifunc): New variable.
27838 (tests): Add $(tests-ifunc).
27839 * wcsmbs/test-wcschr-ifunc.c: New file.
27840 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27841 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27842 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27843 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27844 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27846 * string/Makefile (tests-ifunc): New variable.
27847 (tests): Add $(tests-ifunc).
27848 * string/test-memccpy.c (TEST_NAME): New macro.
27849 * string/test-memchr.c (TEST_NAME): Likewise.
27850 * string/test-memcmp.c (TEST_NAME): Likewise.
27851 * string/test-memcpy.c (TEST_NAME): Likewise.
27852 * string/test-memmem.c (TEST_NAME): Likewise.
27853 * string/test-memmove.c (TEST_NAME): Likewise.
27854 * string/test-memset.c (TEST_NAME): Likewise.
27855 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27856 * string/test-stpcpy.c (TEST_NAME): Likewise.
27857 * string/test-stpncpy.c (TEST_NAME): Likewise.
27858 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27859 * string/test-strcasestr.c (TEST_NAME): Likewise.
27860 * string/test-strcat.c (TEST_NAME): Likewise.
27861 * string/test-strchr.c (TEST_NAME): Likewise.
27862 * string/test-strcmp.c(TEST_NAME): Likewise.
27863 * string/test-strcpy.c (TEST_NAME): Likewise.
27864 * string/test-strcspn.c (TEST_NAME): Likewise.
27865 * string/test-strlen.c (TEST_NAME): Likewise.
27866 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27867 * string/test-strncmp.c (TEST_NAME): Likewise.
27868 * string/test-strncpy.c (TEST_NAME): Likewise.
27869 * string/test-strnlen.c (TEST_NAME): Likewise.
27870 * string/test-strpbrk.c (TEST_NAME): Likewise.
27871 * string/test-strrchr.c (TEST_NAME): Likewise.
27872 * string/test-strspn.c (TEST_NAME): Likewise.
27873 * string/test-strstr.c (TEST_NAME): Likewise.
27874 * string/test-bcopy-ifunc.c: New file.
27875 * string/test-bzero-ifunc.c: Likewise.
27876 * string/test-memccpy-ifunc.c: Likewise.
27877 * string/test-memchr-ifunc.c: Likewise.
27878 * string/test-memcmp-ifunc.c: Likewise.
27879 * string/test-memcpy-ifunc.c: Likewise.
27880 * string/test-memmem-ifunc.c: Likewise.
27881 * string/test-memmove-ifunc.c: Likewise.
27882 * string/test-mempcpy-ifunc.c: Likewise.
27883 * string/test-memset-ifunc.c: Likewise.
27884 * string/test-rawmemchr-ifunc.c: Likewise.
27885 * string/test-stpcpy-ifunc.c: Likewise.
27886 * string/test-stpncpy-ifunc.c: Likewise.
27887 * string/test-strcasecmp-ifunc.c: Likewise.
27888 * string/test-strcasestr-ifunc.c: Likewise.
27889 * string/test-strcat-ifunc.c: Likewise.
27890 * string/test-strchr-ifunc.c: Likewise.
27891 * string/test-strchrnul-ifunc.c: Likewise.
27892 * string/test-strcmp-ifunc.c: Likewise.
27893 * string/test-strcpy-ifunc.c: Likewise.
27894 * string/test-strcspn-ifunc.c: Likewise.
27895 * string/test-strlen-ifunc.c: Likewise.
27896 * string/test-strncasecmp-ifunc.c: Likewise.
27897 * string/test-strncat-ifunc.c: Likewise.
27898 * string/test-strncmp-ifunc.c: Likewise.
27899 * string/test-strncpy-ifunc.c: Likewise.
27900 * string/test-strnlen-ifunc.c: Likewise.
27901 * string/test-strpbrk-ifunc.c: Likewise.
27902 * string/test-strrchr-ifunc.c: Likewise.
27903 * string/test-strspn-ifunc.c: Likewise.
27904 * string/test-strstr-ifunc.c: Likewise.
27906 * debug/Makefile (tests-ifunc): New variable.
27907 (tests): Add $(tests-ifunc).
27908 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27909 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27910 * debug/test-stpcpy_chk-ifunc.c: New file.
27911 * debug/test-strcpy_chk-ifunc.c: Likewise.
27913 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27916 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27917 header is not read in.
27919 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27921 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27922 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27923 directly. Pass built executable to script as
27924 $(built-program-cmd).
27925 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27926 $testprogram without using LD_LIBRARY_PATH and $ldso.
27928 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27929 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27930 $(rtld-installed-name).
27931 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27932 (rtld_installed_name): Likewise.
27933 (library_path): Likewise.
27934 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27935 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27936 $(run-program-prefix) to tst-tables.sh.
27937 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27938 it to run tst-table-from and tst-table-to.
27939 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27940 Pass it to tst-table.sh.
27941 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27942 $(run-program-prefix) to tst-gettext.sh.
27943 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27945 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27947 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27948 to run tst-gettext.
27949 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27950 to run tst-gettext2.
27951 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27952 to run tst-translit.
27953 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27954 $(run-program-prefix) to tst-mtrace.sh.
27955 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27957 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27958 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27959 $(rtld-installed-name).
27960 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27961 (rtld_installed_name): Likewise.
27962 (run_program_prefix): New variable. Use it to run wordexp-test.
27964 * Makeconfig (ARCH): Remove all definitions.
27965 (machine): Likewise.
27966 [ARCH]: Remove conditional code.
27967 [!objdir]: Give error.
27968 [!objdir] (objpfx): Remove.
27969 [!objdir] (common-objpfx): Likewise.
27970 [!objdir] (common-objdir): Likewise.
27971 * configure.in (config_makefile): Remove. Hardcode Makefile in
27972 AC_CONFIG_FILES call.
27973 * configure: Regenerated.
27976 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27978 (testout): Likewise.
27980 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27981 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27982 $(rtld-installed-name).
27983 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27984 (rtld_installed_name): Likwise.
27985 (runit): Remove function.
27986 (run_getconf): New variable, Use it for running getconf binary.
27988 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27991 * string/test-memmem.c (check_result): New function.
27992 (do_one_test): Use it.
27993 (check1): New function.
27994 (test_main): Use it.
27996 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27998 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28000 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28002 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28003 (_G_LSEEK64): Likewise.
28004 (_G_MMAP64): Likewise.
28005 (_G_FSTAT64): Likewise.
28006 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28007 (_G_LSEEK64): Likewise.
28008 (_G_MMAP64): Likewise.
28009 (_G_FSTAT64): Likewise.
28010 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28011 unconditional. Call __mmap64 directly.
28012 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28013 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28014 __lseek64 directly.
28015 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28016 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28018 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28019 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28020 __lseek64 directly.
28021 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28022 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28023 __lseek64 directly.
28024 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28025 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28026 __lseek64 directly.
28027 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28028 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28029 __fxstat64 directly.
28030 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28031 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28033 (freopen64) [!_G_OPEN64]: Remove conditional code.
28034 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28036 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28037 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28039 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28040 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28042 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28043 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28045 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28046 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28048 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28049 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28051 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28052 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28054 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28056 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28059 * manual/memory.texi (Malloc Tunable Parameters): Add note
28060 about free list pointers overwriting some perturb bytes.
28061 Wording suggested by Roland McGrath.
28063 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28065 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28066 (lgamma_test): Likewise.
28067 (tgamma_test): Likewise.
28069 2012-10-16 Florian Weimer <fweimer@redhat.com>
28072 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28073 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28075 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28077 * NEWS: Mention BZ #14716.
28078 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28079 when removing AVAILABLE1_USES_J macro.
28081 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28083 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28084 (__bswap_64): __uint64_t for unsigned 64-bit int.
28086 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28088 * include/string.h (memmem): Declare libc hidden alias.
28089 * string/memmem.c (memmem): Define libc hidden alias.
28090 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28091 __read, __close instead of open, read, close.
28093 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28096 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28098 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28099 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28100 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28102 (__rawmemchr_sse2): Likewise.
28103 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28104 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28105 (__strchr_sse2): Likewise.
28106 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28107 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28108 (__strcasecmp_sse2): Likewise.
28109 (__strncasecmp_sse2): Likewise.
28110 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28111 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28112 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28113 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28114 (__strrchr_sse2): Likewise.
28115 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28117 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28118 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28119 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28120 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28121 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28122 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28123 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28124 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28125 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28126 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28127 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28128 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28129 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28130 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28131 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28132 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28133 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28134 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28135 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28136 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28137 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28138 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28139 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28140 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28141 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28142 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28143 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28144 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28145 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28146 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28148 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28150 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28151 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28152 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28153 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28155 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28157 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28158 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28159 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28160 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28162 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28163 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28164 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28165 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28166 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28167 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28168 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28169 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28170 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28171 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28172 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28173 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28174 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28175 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28176 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28177 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28178 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28179 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28180 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28181 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28182 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28183 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28184 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28185 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28186 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28187 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28188 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28189 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28190 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28191 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28192 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28193 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28194 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28195 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28196 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28197 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28198 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28199 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28200 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28201 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28202 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28204 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28205 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28206 * include/ifunc-impl-list.h: New file.
28207 * misc/ifunc-impl-list.c: Likewise.
28208 * misc/Makefile (routines): Add ifunc-impl-list.
28209 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28210 * string/test-string.h: Include <ifunc-impl-list.h>.
28211 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28212 TEST_NAME]: New variables.
28213 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28215 (test_init): Call __libc_ifunc_impl_list to initialize
28216 func_list if TEST_IFUNC and TEST_NAME are defined.
28218 * string/Makefile (strop-tests): Add bcopy and bzero.
28219 * string/test-bcopy.c: New file.
28220 * string/test-bzero.c: Likewise.
28221 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28223 * string/test-memset.c: Support bzero test if TEST_BZERO is
28225 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28227 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28229 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28232 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28234 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28235 * configure: Regenerated.
28237 * Makeconfig (+link-static-before-libc): Don't include
28238 $(link-static-libc).
28240 * libio/libio.h (_IO_pos_t): Remove.
28242 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28244 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28247 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28249 * crypt/crypt-entry.c: Include fips-private.h.
28250 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28251 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28252 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28253 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28255 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28257 * crypt/crypt-private.h: Include stdbool.h.
28258 (_ufc_setup_salt_r): Return bool.
28259 * crypt/crypt-entry.c: Include errno.h.
28260 (__crypt_r): Return NULL with EINVAL for bad salt.
28261 * crypt/crypt_util.c (bad_for_salt): New.
28262 (_ufc_setup_salt_r): Check that salt is long enough and within
28263 the specified alphabet.
28264 * crypt/badsalttest.c: New file.
28265 * crypt/Makefile (tests): Add it.
28266 ($(objpfx)badsalttest): New.
28268 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28270 * NEWS: Add entry for BZ #14602.
28272 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28274 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28276 * math/libm-test.inc: Update comment listing what functions and
28278 (isgreater_test): New function.
28279 (isgreaterequal_test): Likewise.
28280 (isless_test): Likewise.
28281 (islessequal_test): Likewise.
28282 (islessgreater_test): Likewise.
28283 (isunordered_test): Likewise.
28284 (main): Call the new functions.
28286 2012-10-09 Roland McGrath <roland@hack.frob.com>
28288 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28289 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28290 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28291 * sysdeps/i386/configure: Regenerated.
28292 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28293 * sysdeps/mach/configure: Regenerated.
28294 * sysdeps/mach/hurd/configure: Regenerated.
28295 * sysdeps/powerpc/configure: Regenerated.
28296 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28297 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28298 * sysdeps/s390/s390-32/configure: Regenerated.
28299 * sysdeps/s390/s390-64/configure: Regenerated.
28300 * sysdeps/sh/configure: Regenerated.
28301 * sysdeps/sparc/configure: Regenerated.
28302 * sysdeps/unix/sysv/linux/configure: Regenerated.
28303 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28304 * sysdeps/x86_64/configure: Regenerated.
28306 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28307 defined. Don't check if MAP is NULL.
28309 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28311 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28312 (_G_stat64): Likewise.
28313 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28314 (_G_stat64): Likewise.
28315 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28316 instead of struct _G_stat64.
28317 * libio/fileops.c (mmap_remap_check): Likewise.
28318 (decide_maybe_mmap): Likewise.
28319 (_IO_new_file_seekoff): Likewise.
28320 (_IO_file_stat): Likewise.
28321 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28323 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28324 instead of struct _G_stat64.
28325 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28327 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28330 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28332 (CHECK_EOL): New macro.
28333 (two_way_short_needle): Check beginning of haystack for EOL. Use
28335 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28336 Replace with CHECK_EOL.
28337 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28338 Replace with CHECK_EOL.
28340 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28342 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28344 * math/libm-test.inc: Update comment listing what functions and
28346 (finite_test): New function.
28347 (isinf_test): Likewise.
28348 (isnan_test): Likewise.
28349 (fpclassify_test): Test subnormal input.
28350 (isfinite_test): Likewise.
28351 (isnormal_test): Likewise.
28352 (main): Call the new functions.
28354 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28357 * Makerules (%.dynsym): Force C locale when running
28358 $(OBJDUMP) --dynamic-syms.
28360 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28362 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28365 2012-10-06 David S. Miller <davem@davemloft.net>
28367 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28368 upper 32-bits of the length value in %o2 since we use branch-on-register
28369 tests which consider the entire 64-bit register.
28371 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28373 * string/test-strstr.c (check2): Add a test for page boundary.
28375 2012-10-05 David S. Miller <davem@davemloft.net>
28377 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28378 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28380 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28382 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28383 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28384 and bzero when HWCAP_SPARC_CRYPTO is present.
28386 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28389 * string/test-strstr.c (check2): New function.
28390 (test_main): Call check2.
28392 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28394 * string/bug-strcasestr1.c (do_test): Moved to ...
28395 * string/test-strcasestr.c (check1): Here. New function.
28396 (do_one_test): Break out result checking code into ...
28397 (check_result): This. New function.
28398 (do_one_test): Call check_result.
28399 (test_main): Call check1.
28400 * string/bug-strchr1.c (do_test): Moved to ...
28401 * string/test-strchr.c (check1): Here. New function.
28402 (do_one_test): Break out result checking code into ...
28403 (check_result): This. New function.
28404 (do_one_test): Call check_result.
28405 (test_main): Call check1.
28406 * string/bug-strstr1.c (main): Moved to ...
28407 * string/test-strstr.c (check1): Here. New function.
28408 (do_one_test): Break out result checking code into ...
28409 (check_result): This. New function.
28410 (do_one_test): Call check_result.
28411 (test_main): Call check1.
28412 * string/bug-strcasestr1.c: Removed.
28413 * string/bug-strchr1.c: Likewise.
28414 * string/bug-strstr1.c: Likewise.
28416 * elf/Makefile (dl-routines): Add hwcaps.
28417 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28418 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28419 (_dl_important_hwcaps): Moved to ...
28420 * elf/dl-hwcaps.c: Here. New file.
28421 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28424 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28425 if IS_IN_rtld isn't defined.
28427 * elf/dl-support.c (_dl_sysinfo_map): New.
28428 Include "get-dynamic-info.h" and "setup-vdso.h".
28429 (_dl_non_dynamic_init): Call setup_vdso.
28430 * elf/dynamic-link.h: Don't include <assert.h>.
28431 (elf_get_dynamic_info): Moved to ...
28432 * elf/get-dynamic-info.h: Here. New file.
28433 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28434 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28435 * elf/setup-vdso.h: Here. New file.
28436 * elf/rtld.c: Include "setup-vdso.h".
28437 (dl_main): Call setup_vdso.
28439 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28441 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28442 creal in comment listing functions tested. List finite, isinf,
28443 isnan, isless, islessequal, isgreater, isgreaterequal,
28444 islessgreater, isunordered, lgamma_r and pow10 as functions and
28445 macros not tested. Mention which functions not tested are aliases
28446 for other functions. Fix typo. Note that signs of NaNs are not
28449 * scripts/config.guess: Update from config.git.
28450 * scripts/config.sub: Likewise.
28452 2012-10-04 Roland McGrath <roland@hack.frob.com>
28454 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28455 * misc/madvise.c (madvise): Renamed to __madvise.
28456 Make madvise a weak alias.
28457 * include/sys/mman.h: Declare __madvise.
28458 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28459 * sysdeps/unix/syscalls.list
28460 (madvise): Make __madvise the strong name, and madvise a weak alias.
28461 * sysdeps/unix/sysv/linux/syscalls.list
28462 (madvise, mmap): Remove redundant entries.
28463 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28464 * malloc/malloc.c (mtrim): Likewise.
28465 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28467 2012-10-03 Roland McGrath <roland@hack.frob.com>
28469 * sysdeps/mach/hurd/dl-cache.c: File removed.
28470 * config.h.in (USE_LDCONFIG): New #undef.
28471 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28472 * configure: Regenerated.
28473 * elf/Makefile (dl-routines): Add dl-cache only under
28474 [$(use-ldconfig) = yes].
28475 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28476 cache on [USE_LDCONFIG].
28477 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28479 * elf/rtld.c (dl_main): Likewise.
28481 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28483 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28484 _SC_LEVEL4_CACHE_LINESIZE.
28486 2012-10-03 Roland McGrath <roland@hack.frob.com>
28488 * sysdeps/unix/bsd/confstr.h: File removed.
28490 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28492 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28495 2012-10-02 Roland McGrath <roland@hack.frob.com>
28497 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28498 Make 'mapoff' field ElfW(Off) rather than off_t.
28500 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28502 * nscd/Makefile: Remove nscd-cflags and all its users.
28503 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28504 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28507 * malloc.c (malloc_printerr): Clarify error message.
28509 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28513 Set bit_FMA_Usable if FMA is supported.
28514 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28516 (bit_FMA4_Usable): Updated.
28517 (index_FMA_Usable): New macro.
28518 (CPUID_FMA): Likewise
28519 (HAS_FMA): Defined with bit_FMA_Usable.
28521 2012-10-01 Roland McGrath <roland@hack.frob.com>
28523 * bits/types.h (__swblk_t): Type removed.
28524 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28525 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28527 (__SWBLK_T_TYPE): Likewise.
28528 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28529 (__SWBLK_T_TYPE): Likewise.
28530 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28531 (__SWBLK_T_TYPE): Likewise.
28532 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28533 (__SWBLK_T_TYPE): Likewise.
28535 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28536 Honza Horak <hhorak@redhat.com>
28538 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28539 (xdr_mapname): Use YPMAXMAP as maxsize.
28540 (xdr_peername): Use YPMAXPEER as maxsize.
28541 (xdr_keydat): Use YPAXRECORD as maxsize.
28542 (xdr_valdat): Use YPMAXRECORD as maxsize.
28544 2012-10-01 Roland McGrath <roland@hack.frob.com>
28546 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28548 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28549 * csu/init-first.c: ... here.
28550 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28551 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28552 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28553 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28554 * sysdeps/i386/init-first.c: File removed.
28555 * sysdeps/sh/init-first.c: File removed.
28557 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28561 if x * y might underflow to zero and z is zero.
28562 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28563 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28564 * math/libm-test.inc (min_subnorm_value): New variable.
28565 (fma_test): Add more tests.
28566 (fma_test_towardzero): Likewise.
28567 (fma_test_downward): Likewise
28568 (fma_test_upward): Likewise.
28569 (initialize): Set min_subnorm_value.
28571 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28576 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28577 mode for addition resulting in exact zero.
28578 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28579 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28581 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28582 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28583 * math/libm-test.inc (fma_test): Add more tests.
28584 (fma_test_towardzero): New function.
28585 (fma_test_downward): Likewise.
28586 (fma_test_upward): Likewise.
28587 (main): Call the new functions.
28589 2012-09-28 David S. Miller <davem@davemloft.net>
28591 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28593 2012-09-28 Roland McGrath <roland@hack.frob.com>
28595 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28596 instead of SIGALRM.
28598 * sysdeps/gnu/_G_config.h: Moved to ...
28599 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28600 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28601 * sysdeps/generic/_G_config.h: ... here.
28603 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28605 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28607 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28608 Conditionalize target on [libnss_test1.so-version].
28610 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28612 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28613 (elfobjdir): Move out of conditionals.
28615 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28616 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28617 (__nss_lookup_function): Conditionalize label remove_from_tree on
28618 [!DO_STATIC_NSS || SHARED], matching its only use.
28620 2012-09-28 David S. Miller <davem@davemloft.net>
28622 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28623 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28625 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28627 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28628 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28629 when HWCAP_SPARC_CRYPTO is present.
28631 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28633 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28635 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28638 * stdio-common/vfprintf.c (process_string_arg): Revert
28641 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28643 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28645 * stdio-common/tst-sprintf.c: Include <locale.h>
28646 (main): Test sprintf's handling of incomplete multibyte
28649 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28651 * elf/dl-runtime.c (VERSYMIDX): Removed.
28652 * elf/dl-version.c (VERSYMIDX): Likewise.
28653 * elf/do-rel.h (VERSYMIDX): Likewise.
28654 (VALIDX): Likewise.
28655 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28656 * elf/rtld.c (VALIDX): Likewise.
28657 (ADDRIDX): Likewise.
28658 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28659 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28660 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28661 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28662 (VALIDX): Likewise.
28663 (ADDRIDX): Likewise.
28665 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28667 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28669 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28672 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28674 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28675 addresses are in the same scope as 192.0.2/24.
28676 * posix/gai.conf: Document new scope table defaults.
28678 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28681 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28682 for ftell. Compute offsets from write pointers instead.
28683 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28685 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28688 * libio/Makefile (tests): New test case tst-fseek.
28689 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28690 combination works in wide mode.
28691 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28692 state when the external buffer state changes.
28694 2012-09-27 David S. Miller <davem@davemloft.net>
28697 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28698 pass reloc->r_addend in as the 'high' argument to
28699 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28703 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28705 * rt/tst-aio2.c: Include <pthread.h>.
28706 * rt/tst-aio3.c: Likewise.
28708 2012-09-27 Steve Ellcey <sellcey@mips.com>
28710 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28712 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28714 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28715 contents on [SHARED].
28717 2012-09-26 Marek Polacek <polacek@redhat.com>
28721 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28722 for C++ and GCC <4.3 as well as for non GCC compilers.
28724 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28728 2012-09-25 Roland McGrath <roland@hack.frob.com>
28730 * Makefile.in (all, install): Declare with .PHONY.
28731 Reported by Michael Hope <michael.hope@linaro.org>.
28733 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28735 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28736 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28738 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28740 (sydep_routines): Add the new and the internal functions.
28741 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28742 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28744 (GLIBC_2.17): Add the new function.
28745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28746 (GLIBC_2.17): Likewise.
28747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28748 (GLIBC_2.17): Likewise.
28749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28750 (GLIBC_2.17): Likewise.
28751 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28753 2012-09-25 Alan Modra <amodra@gmail.com>
28755 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28756 Add release barrier before setting once_control to say
28757 initialisation is done. Add hints on lwarx. Use macro in
28759 (clear_once_control): Add release barrier.
28761 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28764 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28766 * math/s_clog10.c (__clog10): Likewise.
28767 * math/s_clog10f.c (__clog10f): Likewise.
28768 * math/s_clog10l.c (__clog10l): Likewise.
28769 * math/s_clogf.c (__clogf): Likewise.
28770 * math/s_clogl.c (__clogl): Likewise.
28771 * math/Makefile (libm-calls): Add x2y2m1.
28772 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28773 (__x2y2m1): Likewise.
28774 (__x2y2m1l): Likewise.
28775 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28776 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28779 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28780 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28781 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28782 * sysdeps/i386/fpu/libm-test-ulps: Update.
28783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28786 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28787 int as type of variable DEPTH.
28788 (glob): Use size_t instead of int as type of variables NEWCOUNT
28791 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28793 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28794 Add s_sincosf-sse2.
28795 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28796 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28797 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28798 macros for using routine as __sincosf_ia32.
28799 Use macro for function declaration and weak_alias.
28800 * sysdeps/i386/fpu/libm-test-ulps: Update.
28802 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28805 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28806 subnormal argument.
28807 * math/s_cexpf.c (__cexpf): Likewise.
28808 * math/s_csinf.c (__csinf): Likewise.
28809 * math/s_csinhf.c (__csinhf): Likewise.
28810 * math/s_ctanf.c (__ctanf): Likewise.
28811 * math/s_ctanhf.c (__ctanhf): Likewise.
28812 * math/s_ccosh.c (__ccoshf): Likewise.
28813 * math/s_cexp.c (__cexpl): Likewise.
28814 * math/s_csin.c (__csin): Likewise.
28815 * math/s_csinh.c (__csinh): Likewise.
28816 * math/s_ctan.c (__ctan): Likewise.
28817 * math/s_ctanh.c (ctanh): Likewise.
28818 * math/s_ccoshl.c (__ccoshl): Likewise.
28819 * math/s_cexpl.c (__cexpl): Likewise.
28820 * math/s_csinl.c (__csinl): Likewise.
28821 * math/s_csinhl.c (__csinhl): Likewise.
28822 * math/s_ctanl.c (__ctanl): Likewise.
28823 * math/s_ctanhl.c (__ctanhl): Likewise.
28825 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28827 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28828 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28829 (_IO_off_t): Define to __off_t, not _G_off_t.
28830 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28831 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28832 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28833 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28834 type of __dummy and __dummy2 fields.
28835 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28836 (_G_ssize_t): Likewise.
28837 (_G_off_t): Likewise.
28838 (_G_pid_t): Likewise.
28839 (_G_uid_t): Likewise.
28840 (_G_wchar_t): Likewise.
28841 (_G_wint_t): Likewise.
28842 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28843 (_G_ssize_t): Likewise.
28844 (_G_off_t): Likewise.
28845 (_G_pid_t): Likewise.
28846 (_G_uid_t): Likewise.
28847 (_G_wchar_t): Likewise.
28848 (_G_wint_t): Likewise.
28849 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28850 (_G_ssize_t): Likewise.
28851 (_G_off_t): Likewise.
28852 (_G_pid_t): Likewise.
28853 (_G_uid_t): Likewise.
28854 (_G_wchar_t): Likewise.
28855 (_G_wint_t): Likewise.
28857 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28859 * malloc/arena.c: Include malloc-sysdep.h.
28860 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28861 is sufficient to shrink the heap or an unmap is needed.
28862 * sysdeps/generic/malloc-sysdep.h: New file. Define
28863 new function check_may_shrink_heap.
28864 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28865 new function check_may_shrink_heap.
28867 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28869 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28872 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28874 * catgets/test-gencat.sh: Add "set -e".
28875 * elf/tst-pathopt.sh: Likewise.
28876 * grp/tst_fgetgrent.sh: Likewise.
28877 * iconvdata/run-iconv-test.sh: Likewise.
28878 * intl/tst-gettext.sh: Likewise.
28879 * intl/tst-gettext2.sh: Likewise.
28880 * intl/tst-gettext4.sh: Likewise.
28881 * intl/tst-gettext6.sh: Likewise.
28882 * intl/tst-translit.sh: Likewise.
28883 * io/ftwtest-sh: Likewise.
28884 * libio/test-freopen.sh: Likewise.
28885 * malloc/tst-mtrace.sh: Likewise.
28886 * posix/globtest.sh: Likewise.
28887 * posix/tst-getconf.sh: Likewise.
28888 * posix/wordexp-tst.sh: Likewise.
28889 * stdio-common/tst-printf.sh: Likewise.
28890 * stdio-common/tst-unbputc.sh: Likewise.
28891 * stdlib/tst-fmtmsg.sh: Likewise.
28892 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28893 * catgets/Makefile: Do not specify -e option when running
28894 testsuite shell scripts.
28895 * elf/Makefile: Likewise.
28896 * grp/Makefile: Likewise.
28897 * iconvdata/Makefile: Likewise.
28898 * intl/Makefile: Likewise.
28899 * io/Makefile: Likewise.
28900 * libio/Makefile: Likewise.
28901 * malloc/Makefile: Likewise.
28902 * posix/Makefile: Likewise.
28903 * stdio-common/Makefile: Likewise.
28904 * stdlib/Makefile: Likewise.
28905 * sysdeps/x86_64/Makefile: Likewise.
28907 * io/ftwtest-sh: Add copyright header.
28908 * posix/globtest.sh: Likewise.
28909 * posix/tst-getconf.sh: Likewise.
28910 * posix/wordexp-tst.sh: Likewise.
28911 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28913 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28916 * Makeconfig (+link): Defined as $(+link-static) if
28917 $(build-shared) isn't yes.
28918 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28920 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28922 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28925 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28926 new chunk size with MALLOC_ALIGN_MASK.
28928 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28931 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28933 (__printf_fphex): Determine rounding using get_rounding_mode and
28935 * stdio-common/tst-printf-round.c (struct hex_test): New
28937 (hex_tests): New variable.
28938 (test_hex_in_one_mode): New function.
28939 (do_test): Also run tests for hex float output.
28941 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28943 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28944 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28945 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28946 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28947 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28948 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28949 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28950 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28952 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28954 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28955 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28956 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28957 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28959 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28962 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28964 * elf/tst-rtld-load-self.sh: New test.
28965 * elf/Makefile: Run it.
28967 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28969 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28970 (tst-writev-ENV): Remove.
28971 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28973 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28975 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28977 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28979 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28981 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28983 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28984 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28985 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28988 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28991 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28992 * config.make.in (have-cpp-asm-debuginfo): Removed.
28993 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28994 * configure: Regenerated.
28996 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28999 * stdio-common/printf_fp.c: Include <stdbool.h> and
29001 (___printf_fp): Determine rounding using get_rounding_mode and
29003 * stdio-common/tst-printf-round.c: New file.
29004 * stdio-common/Makefile (tests): Add tst-printf-round.
29005 (link-libm): New variable.
29006 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29008 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29011 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29012 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29014 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29017 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29019 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29020 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29021 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29022 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29024 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29027 * include/rounding-mode.h: New file.
29028 * sysdeps/generic/get-rounding-mode.h: Likewise.
29029 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29030 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29031 (MAX_VALUE): New macro.
29032 (MIN_VALUE): Likewise.
29033 (overflow_value): New function.
29034 (underflow_value): Likewise.
29035 (round_and_return): Use overflow_value and underflow_value to
29036 determine return values in overflow and underflow cases. Use
29037 round_away to determine rounding depending on rounding mode.
29038 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29039 determine return values in overflow and underflow cases.
29040 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29041 (struct test_results): New structure.
29042 (struct test): Use struct test_results to store expected results
29043 for all rounding modes.
29044 (TEST): Include expected results for all rounding modes.
29045 (test_in_one_mode): New function.
29046 (do_test): Use test_in_one_mode to compute and check results.
29047 Check results for all rounding modes.
29048 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29051 2012-12-09 Allan McRae <allan@archlinux.org>
29053 * sysdeps/i386/fpu/libm-test-ulps: Update
29055 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29057 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29058 (_G_int32_t): Likewise.
29059 (_G_uint16_t): Likewise.
29060 (_G_uint32_t): Likewise.
29061 (_G_HAVE_BOOL): Likewise.
29062 (_G_HAVE_ATEXIT): Likewise.
29063 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29064 (_G_HAVE_IO_FILE_OPEN): Likewise.
29065 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29066 (_G_int32_t): Likewise.
29067 (_G_uint16_t): Likewise.
29068 (_G_uint32_t): Likewise.
29069 (_G_HAVE_BOOL): Likewise.
29070 (_G_HAVE_ATEXIT): Likewise.
29071 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29072 (_G_HAVE_IO_FILE_OPEN): Likewise.
29073 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29074 (_G_int32_t): Likewise.
29075 (_G_uint16_t): Likewise.
29076 (_G_uint32_t): Likewise.
29077 (_G_HAVE_BOOL): Likewise.
29078 (_G_HAVE_ATEXIT): Likewise.
29079 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29080 (_G_HAVE_IO_FILE_OPEN): Likewise.
29082 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29084 * csu/libc-tls.c: Update copyright years.
29086 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29088 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29089 [!_G_USING_THUNKS]: Remove conditional code.
29090 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29091 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29093 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29094 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29095 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29096 (_G_VTABLE_LABEL_PREFIX): Likewise.
29097 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29098 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29099 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29100 (_G_VTABLE_LABEL_PREFIX): Likewise.
29101 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29102 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29103 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29104 (_G_VTABLE_LABEL_PREFIX): Likewise.
29105 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29107 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29109 * libio/Makefile: Include ../Makeconfig before tests.
29110 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29111 only if $(build-shared) is yes.
29113 * iconv/gconv_db.c: Update copyright years.
29115 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29117 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29118 unwind info if defined PIC. Fix special cases description.
29119 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29121 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29123 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29125 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29127 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29129 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29132 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29133 (LDLIBS-tst-chk4): This.
29134 (LDFLAGS-tst-chk5): Renamed to ...
29135 (LDLIBS-tst-chk5): This.
29136 (LDFLAGS-tst-chk6): Renamed to ...
29137 (LDLIBS-tst-chk6): This.
29138 (LDFLAGS-tst-lfschk4): Renamed to ...
29139 (LDLIBS-tst-lfschk4): This.
29140 (LDFLAGS-tst-lfschk5): Renamed to ...
29141 (LDLIBS-tst-lfschk5): This.
29142 (LDFLAGS-tst-lfschk6): Renamed to ...
29143 (LDLIBS-tst-lfschk6): This.
29145 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29146 on $(common-objpfx)soversions.mk.
29148 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29151 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29154 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29156 * malloc/arena.c (arena_get_retry): New function that gets
29157 another arena for the caller to try its request on.
29158 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29159 current arena cannot fulfill the request.
29160 (__libc_memalign): Likewise.
29161 (__libc_memalign): Likewise.
29162 (__libc_pvalloc): Likewise.
29163 (__libc_calloc): Likewise.
29165 2012-09-05 John Tobey <john.tobey@gmail.com>
29168 * manual/arith.texi (Operations on Complex): Fix description
29169 of carg branch cut.
29171 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29174 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29178 * manual/memory.texi (Memory): Make order of menu items match
29181 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29183 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29184 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29185 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29187 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29189 * csu/libc-tls.c (static_dtv): Renamed to ...
29190 (_dl_static_dtv): This. Make it global.
29191 (_dl_initial_dtv): Removed.
29192 (__libc_setup_tls): Updated.
29193 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29194 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29197 2012-09-06 Petr Machata <pmachata@redhat.com>
29199 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29200 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29201 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29202 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29204 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29207 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29208 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29211 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29214 * Makeconfig (link-static-before-libc): Replace $(+prector)
29216 (link-static-after-libc): Replace $(+postctor) with
29218 (link-bounded): Replace $(+prector)/$(+postctor) with
29219 $(+prectorT)/$(+postctorT).
29220 (+prectorT): New macro.
29221 (+postctorT): Likewise.
29223 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29225 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29226 (round_str): Handle values above the maximum for IBM long double
29228 * stdlib/tst-strtod-round.c (tests): Regenerated.
29230 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29232 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29234 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29235 zarch_nohighgprs around the zarch optimized routines.
29236 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29237 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29238 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29241 2012-09-05 David S. Miller <davem@davemloft.net>
29243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29245 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29246 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29247 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29248 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29251 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29253 * malloc/arena.c: Fold copyright years.
29254 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29256 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29258 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29260 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29262 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29264 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29266 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29267 change internal state upon failure.
29269 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29271 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29272 * malloc/memusage.c (mmap): Likewise.
29273 (mmap64, mremap): Likewise. Adjust name in comment.
29275 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29277 * libio/fileops.c: Fix typos in comments.
29278 * libio/oldfileops.c: Likewise.
29279 * libio/wfileops.c: Likewise.
29281 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29284 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29285 (tst-malloc-usable-ENV): Set environment for test case.
29286 * malloc/hooks.c (malloc_check_get_size): New function to get
29288 * malloc/malloc.c (musable): Use malloc_check_get_size.
29289 * malloc/tst-malloc-usable.c: New test case.
29291 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29293 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29295 2012-09-05 Allan McRae <allan@archlinux.org>
29298 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29299 determine header location.
29300 * configure: Regenerated.
29302 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29304 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29306 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29307 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29309 (test): Regenerate.
29311 2012-09-04 David S. Miller <davem@davemloft.net>
29313 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29314 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29315 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29317 2012-09-04 Florian Weimer <fweimer@redhat.com>
29319 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29322 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29324 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29327 * libio/iogetdelim.c: Include <limits.h>.
29328 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29329 + len + 1 would overflow.
29331 2012-09-03 Andreas Jaeger <aj@suse.de>
29333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29334 * sysdeps/i386/fpu/libm-test-ulps: Update.
29336 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29338 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29339 Add s_sinf-sse2, s_conf-sse2.
29341 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29342 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29343 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29344 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29346 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29347 for using routine as __sinf_ia32.
29348 Use macro for function declaration and weak_alias.
29349 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29350 for using routine as __cosf_ia32.
29351 Use macro for function declaration and weak_alias.
29353 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29354 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29356 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29357 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29360 * math/libm-test.inc (cos_test): Add more test cases.
29361 (sin_test): Likewise.
29362 (sincos_test): Likewise.
29364 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29366 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29367 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29369 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29371 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29374 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29375 first element of the GOT.
29376 (elf_machine_load_address): Return the difference between
29377 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29379 2012-09-01 Allan McRae <allan@archlinux.org>
29382 * configure.in (AWK): Require gawk version 3.0 or later.
29383 * configure: Regenerated.
29385 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29387 * sysdeps/unix/sysv/linux/kernel-features.h
29388 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29389 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29390 [__NR_clock_getres]: Make code unconditional.
29391 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29392 (clock_getcpuclockid): Remove code left unreachable by removal of
29394 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29395 code unconditional.
29396 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29397 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29398 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29399 Make code unconditional.
29400 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29401 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29402 * sysdeps/unix/sysv/linux/clock_settime.c
29403 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29405 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29406 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29408 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29411 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29412 scripts/test-installation.pl.
29414 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29415 and $ld_so_version if it is set.
29417 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29420 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29421 failure if reading from procfs failed.
29422 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29424 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29426 * sysdeps/unix/sysv/linux/kernel-features.h
29427 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29428 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29429 Remove conditional code.
29430 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29431 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29432 Remove conditional code.
29433 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29434 * sysdeps/unix/sysv/linux/i386/fxstat.c
29435 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29436 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29437 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29438 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29439 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29440 * sysdeps/unix/sysv/linux/i386/lxstat.c
29441 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29442 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29443 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29444 Remove conditional code.
29445 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29446 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29447 Remove conditional code.
29448 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29449 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29450 <kernel-features.h>.
29451 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29453 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29454 Remove conditional code.
29455 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29456 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29457 Remove conditional.
29459 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29462 * NEWS: Add fixed bug number.
29464 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29467 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29468 underflowing exponent in case of negative sign.
29469 * stdlib/tst-strtod-round-data: Add more tests.
29470 * stdlib/tst-strtod-round.c (tests): Regenerated.
29473 * stdlib/strtod_l.c (NDIG): Remove.
29474 (HEXNDIG): Likewise.
29475 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29476 smallest representable value.
29477 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29478 lie within an exact representation of 1/2 ulp of the result.
29479 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29481 (TENS_P9_IDX): Define unconditionally.
29482 (TENS_P9_SIZE): Likewise.
29483 (TENS_P10_IDX): Likewise.
29484 (TENS_P10_SIZE): Likewise.
29485 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29486 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29487 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29488 entries for 10^2^13 and 10^2^14.
29489 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29490 (TENS_P13_IDX): Define.
29491 (TENS_P13_SIZE): Likewise.
29492 (TENS_P14_IDX): Likewise.
29493 (TENS_P14_SIZE): Likewise.
29494 (_fpioconst_pow10): Change array size to
29495 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29497 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29498 1024]: Add entries for 10^2^13 and 10^2^14.
29499 [LAST_POW10 > _LAST_POW10]: Remove #error.
29500 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29501 (_fpioconst_pow10): Change array size to
29502 FPIOCONST_POW10_ARRAY_SIZE.
29503 * stdlib/gen-fpioconst.c: New file.
29504 * stdlib/gen-tst-strtod-round.c: Likewise.
29505 * stdlib/tst-strtod-round-data: Likewise.
29506 * stdlib/tst-strtod-round.c: Likewise.
29507 * stdlib/Makefile (tests): Add tst-strtod-round.
29510 * stdlib/strtod_l.c: Include <stdint.h>.
29511 (NDEBUG): Do not define.
29512 (round_and_return): Change EXPONENT parameter to type intmax_t.
29513 Rearrange calculations to avoid internal overflow possibilities.
29514 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29515 Rearrange calculations to avoid internal overflow possibilities.
29516 Assert that number fits inside MPNSIZE limbs.
29517 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29518 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29519 calculations and add assertions to avoid internal overflow
29520 possibilities. Add casts to avoid signed/unsigned operations.
29521 * stdlib/tst-strtod-overflow.c: New file.
29522 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29524 2012-08-25 Marek Polacek <polacek@redhat.com>
29526 * time/time.h: Fix some typos in comments.
29528 2012-08-23 Roland McGrath <roland@hack.frob.com>
29530 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29531 * posix/tst-rfc3484-2.c: Likewise.
29532 * posix/tst-rfc3484-3.c: Likewise.
29534 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29536 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29537 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29539 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29541 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29542 #include of fxstatat64.c.
29544 2012-08-22 Roland McGrath <roland@hack.frob.com>
29546 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29547 * shadow/getspent_r.c: Likewise.
29548 * shadow/getspnam.c: Likewise.
29549 * shadow/getspnam_r.c: Likewise.
29550 * gshadow/getsgent.c: Likewise.
29551 * gshadow/getsgent_r.c: Likewise.
29552 * gshadow/getsgnam.c: Likewise.
29553 * gshadow/getsgnam_r.c: Likewise.
29554 * inet/getnetbyad.c: Likewise.
29555 * inet/getnetbyad_r.c: Likewise.
29556 * inet/getnetbynm.c: Likewise.
29557 * inet/getnetbynm_r.c: Likewise.
29558 * inet/getnetent.c: Likewise.
29559 * inet/getnetent_r.c: Likewise.
29560 * inet/getproto.c: Likewise.
29561 * inet/getproto_r.c: Likewise.
29562 * inet/getprtent.c: Likewise.
29563 * inet/getprtent_r.c: Likewise.
29564 * inet/getprtname.c: Likewise.
29565 * inet/getprtname_r.c: Likewise.
29566 * inet/getrpcbyname.c: Likewise.
29567 * inet/getrpcbyname_r.c: Likewise.
29568 * inet/getrpcbynumber.c: Likewise.
29569 * inet/getrpcbynumber_r.c: Likewise.
29570 * inet/getrpcent.c: Likewise.
29571 * inet/getrpcent_r.c: Likewise.
29572 * inet/getaliasent.c: Likewise.
29573 * inet/getaliasent_r.c: Likewise.
29574 * inet/getaliasname.c: Likewise.
29575 * inet/getaliasname_r.c: Likewise.
29576 * nscd/getgrgid_r.c: Likewise.
29577 * nscd/getgrnam_r.c: Likewise.
29578 * nscd/gethstbyad_r.c: Likewise.
29579 * nscd/gethstbynm3_r.c: Likewise.
29580 * nscd/getpwnam_r.c: Likewise.
29581 * nscd/getpwuid_r.c: Likewise.
29582 * nscd/getsrvbynm_r.c: Likewise.
29583 * nscd/getsrvbypt_r.c: Likewise.
29584 * nscd/gai.c: Likewise.
29586 * configure.in (build_nscd): New substituted variable, set
29587 by --disable-build-nscd and defaults to $use_nscd.
29588 * configure: Regenerated.
29589 * config.make.in (build-nscd): New substituted variable.
29590 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29591 Change conditional to require [$(build-nscd) = yes] as well.
29592 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29595 * configure.in (use_nscd): New substituted variable, set by
29596 --disable-nscd. If enabled, define USE_NSCD.
29597 * configure: Regenerated.
29598 * config.h.in: Add USE_NSCD.
29599 * config.make.in (use-nscd): New substituted variable.
29600 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29601 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29602 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29603 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29604 (CFLAGS-getgrnam_r.c): Likewise.
29605 (CFLAGS-initgroups.c): Likewise.
29606 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29607 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29609 * inet/getnetgrent_r.c
29610 (nscd_setnetgrent): New function, broken out of ...
29611 (setnetgrent): ... here. Call it.
29612 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29613 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29614 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29615 * nscd/Makefile (routines, aux): Move definitions after include of
29616 Makeconfig. Conditionalize on [$(use-nscd) != no].
29617 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29618 Conditionalize on [USE_NSCD].
29619 (is_nscd, nscd_init_cb): Likewise.
29620 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29621 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29622 * nss/nss_db/db-init.c: Likewise.
29623 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29625 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29626 (make_request): Use it.
29627 (cache_valid_p): New function.
29628 (__check_pf): Use it.
29629 * NEWS: Add item for --disable-nscd.
29631 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29633 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29634 to support sed >= 4.2.1-20-ga9bf076.
29635 * configure: Regenerated.
29637 2012-08-22 Roland McGrath <roland@hack.frob.com>
29639 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29640 Conditionalize whole body on [IREL].
29642 2012-08-22 Jeff Law <law@redhat.com>
29645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29646 if the family is PF_UNSPEC.
29648 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29650 * Makerules (lib-version): Rename from V.
29651 (install-lib-nosubdir): Change V to lib-version.
29653 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29656 * powerpc32/power6/wcschr.c: New file.
29657 * powerpc32/power6/wcscpy.c: New file.
29658 * powerpc32/power6/wcsrchr.c: New file.
29659 * powerpc64/power6/wcschr.c: New file.
29660 * powerpc64/power6/wcscpy.c: New file.
29661 * powerpc64/power6/wcsrchr.c: New file.
29663 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29665 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29666 (two_way_short_needle): Use it.
29667 * string/strstr.c (AVAILABLE1_USES_J): Define.
29668 * string/strcasestr.c: Likewise.
29670 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29672 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29675 * NEWS: Add an entry.
29676 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29677 define their defaults.
29678 (two_way_short_needle): Detect end-of-string on-the-fly.
29679 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29680 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29681 * string/bug-strcasestr1.c: New test.
29682 * string/Makefile: Run it.
29684 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29687 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29688 the first character.
29690 2012-08-21 Roland McGrath <roland@hack.frob.com>
29692 * csu/elf-init.c (__libc_csu_irel): Function removed.
29693 * csu/libc-start.c (apply_irel): New function.
29694 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29696 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29698 * sysdeps/unix/sysv/linux/kernel-features.h
29699 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29700 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29701 <kernel-features.h>.
29702 [__NR_fadvise64_64]: Make code unconditional.
29703 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29704 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29705 !__NR_fadvise64_64)]: Likewise.
29706 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29707 !__NR_fadvise64_64))]: Likewise.
29708 [__NR_fadvise64]: Make code unconditional.
29709 [!__NR_fadvise64]: Remove conditional code.
29710 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29711 <kernel-features.h>.
29712 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29714 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29717 not include <kernel-features.h>.
29718 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29720 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29722 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29723 include <kernel-features.h>.
29724 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29726 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29729 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29731 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29732 slight instruction rearrangements per scrollpipe analysis.
29733 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29735 2012-08-20 Roland McGrath <roland@hack.frob.com>
29737 * manual/syslog.texi (syslog; vsyslog, closelog):
29738 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29739 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29741 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29742 DSOCAPS to match condition on defining it.
29744 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29746 * sysdeps/unix/sysv/linux/kernel-features.h
29747 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29749 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29750 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29752 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29753 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29755 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29756 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29758 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29759 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29761 * sysdeps/unix/sysv/linux/kernel-features.h
29762 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29763 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29765 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29766 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29767 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29768 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29769 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29770 Make code unconditional.
29771 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29772 (__mmap64) [!__NR_mmap2]: Likewise.
29773 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29774 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29775 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29776 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29777 [__NR_mmap2]: Make code unconditional.
29778 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29779 (__mmap64) [!__NR_mmap2]: Likewise.
29781 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29783 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29785 2012-08-18 Andreas Jaeger <aj@suse.de>
29787 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29789 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29791 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29792 * include/unistd.h (__have_sock_cloexec): Likewise.
29793 (__have_pipe2): Likewise.
29794 (__have_dup3): Likewise.
29796 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29799 * include/unistd.h (__have_pipe2): Change define into an extern int.
29800 (__have_dup3): Likewise.
29801 * socket/have_sock_cloexec.c: Include fcntl.h.
29802 (__have_pipe2): New variable.
29803 (__have_dup3): Likewise.
29805 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29807 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29809 2012-08-17 Marek Polacek <polacek@redhat.com>
29811 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29812 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29814 2012-08-17 Roland McGrath <roland@hack.frob.com>
29816 * configure.in: Add AC_SUBST for sysheaders.
29817 * configure: Regenerated.
29818 * config.make.in (sysheaders): New substituted variable.
29820 * sysdeps/unix/mkfifo.c: Moved ...
29821 * sysdeps/posix/mkfifo.c: ... here.
29822 * sysdeps/unix/mkfifoat.c: Moved ...
29823 * sysdeps/posix/mkfifoat.c: ... here.
29825 * sysdeps/unix/utime.c: Moved ...
29826 * sysdeps/posix/utime.c: ... here.
29828 * sysdeps/unix/time.c: Moved ...
29829 * sysdeps/posix/time.c: ... here.
29830 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29831 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29833 * sysdeps/unix/nice.c: Moved ...
29834 * sysdeps/posix/nice.c: ... here.
29836 * sysdeps/unix/alarm.c: Moved ...
29837 * sysdeps/posix/alarm.c: ... here.
29839 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29841 2012-08-17 Jeff Law <law@redhat.com>
29843 * intl/Makefile (codeset_mo): New variable.
29844 ($(codeset_mo)): New target.
29845 (tst-codeset.out): Depend on that. Remove explicit rule.
29846 (tst-gettext3.out, tst-gettext5.out): Likewise.
29847 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29848 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29849 * intl/tst-codeset.sh: Remove.
29850 * intl/tst-gettext3.sh: Likewise.
29851 * intl/tst-gettext5.sh: Likewise.
29853 2012-08-17 Roland McGrath <roland@hack.frob.com>
29855 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29856 * sysdeps/unix/syscalls.list: ... here.
29858 * sysdeps/posix/getaddrinfo.c
29859 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29860 (gaiconf_init, gaiconf_reload): Use them.
29861 [!_STATBUF_ST_NSEC]
29862 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29863 Define using time_t rather than struct timespec.
29865 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29866 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29868 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29870 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29871 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29874 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29875 __libc_cleanup_push argument.
29877 * bits/param.h: New file.
29878 * misc/sys/param.h: New file.
29879 * include/sys/param.h: New file.
29880 * misc/Makefile (headers): Add bits/param.h.
29881 * sysdeps/generic/sys/param.h: File removed.
29882 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29883 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29884 * sysdeps/mach/hurd/bits/param.h: New file.
29885 * sysdeps/mach/hurd/sys/param.h: File removed.
29887 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29890 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29892 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29893 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29896 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29897 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29898 rather than -D_IO_MTSAFE_IO conditionally.
29899 * stdio-common/Makefile (CPPFLAGS): Likewise.
29900 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29901 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29902 Use $(libio-mtsafe).
29903 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29904 of -D_IO_MTSAFE_IO.
29905 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29906 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29907 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29908 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29909 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29910 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29911 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29912 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29913 (CFLAGS-fread_u_chk.c): Likewise.
29914 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29915 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29916 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29917 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29918 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29919 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29920 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29921 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29922 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29924 * libio/Makefile: Test [$(libc-reentrant) = yes]
29925 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29928 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29929 * sysdeps/pthread/configure: File removed.
29930 * sysdeps/pthread/Makeconfig: New file.
29931 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29932 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29934 2012-08-16 Gary Benson <gbenson@redhat.com>
29936 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29937 unmapping the first object in a namespace.
29939 2012-08-16 Roland McGrath <roland@hack.frob.com>
29941 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29942 (__internal_setnetgrent): ... this. Add internal_function to
29943 definition. Add libc_hidden_def.
29944 (setnetgrent): Update caller.
29945 (internal_endnetgrent): Renamed to ...
29946 (__internal_endnetgrent): ... this. Add internal_function to
29947 definition. Add libc_hidden_def.
29948 (endnetgrent): Update caller.
29949 (internal_getnetgrent_r): Renamed to ...
29950 (__internal_getnetgrent_r): ... this. Add internal_function to
29951 definition. Add libc_hidden_def.
29952 (__getnetgrent_r): Update caller.
29953 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29955 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29957 * stdlib/longlong.h: Update from GCC.
29959 2012-08-16 Roland McGrath <roland@hack.frob.com>
29961 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29962 on _QL, which is set by umul_ppmm but never used.
29963 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29964 variables, which are set by GMP macros but never used.
29965 * stdio-common/_itowa.c (_itowa): Likewise.
29966 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29967 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29969 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29971 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29972 struct La_sh_regs is not constant.
29973 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29974 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29975 and struct La_sparc64_regs are not constant.
29977 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29979 * sysdeps/unix/sysv/linux/kernel-features.h
29980 (__ASSUME_POSIX_TIMERS): Remove.
29981 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29982 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29983 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29984 Make code unconditional.
29985 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29986 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29987 Make code unconditional.
29988 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29989 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29990 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29991 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29992 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29993 Make code unconditional.
29994 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29995 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29996 (__libc_missing_posix_timers): Remove.
29998 2012-08-15 Roland McGrath <roland@hack.frob.com>
30000 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30001 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30003 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30005 * elf/dl-sym.c: Include <stdlib.h>.
30007 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30008 constants, which avoids warnings in 32-bit builds.
30010 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30011 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30013 * misc/lseek.c: File moved to ...
30014 * io/lseek.c: ... here.
30016 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30018 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30019 shifting LEN more than 31 bits at once.
30021 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30024 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30025 segmentation fault for a case of two empty input strings.
30026 * string/test-strncasecmp.c (check1): Renamed to...
30027 (bz12205): ...this.
30028 (bz14195): Add new testcase for two empty input strings and N > 0.
30029 (test_main): Call new testcase, adapt for renamed function.
30031 2012-08-15 Andreas Jaeger <aj@suse.de>
30034 * crypt/md5test2.c: New test, based on test supplied by Serge
30035 Belyshev <belyshev@depni.sinp.msu.ru>.
30036 * crypt/Makefile (xtests): Add md5test-giant..
30037 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30039 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30042 * crypt/md5.c (md5_process_block): Don't assume the buffer
30043 length is less than 2**32.
30044 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30045 length is less than 2**64.
30047 2012-08-15 Roland McGrath <roland@hack.frob.com>
30049 * string/str-two-way.h: Include <sys/param.h>.
30050 (MAX): Macro removed.
30052 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30053 Move #define and #undef of memmove to just before and after
30054 including <string.h>.
30056 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30057 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30058 and after including <string.h>. Move declarations of
30059 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30060 to before #include "string/memmove.c".
30062 * include/dirent.h: Declare __getdirentries.
30064 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30065 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30067 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30069 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30070 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30071 * sysdeps/i386/configure: Regenerated.
30072 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30073 STABS_CURRENT_FILE, and STABS_FUN.
30074 (END): Remove call to STABS_FUN_END.
30075 (STABS_CURRENT_FILE1): Delete.
30076 (STABS_CURRENT_FILE): Likewise.
30077 (STABS_FUN): Likewise.
30078 (STABS_FUN_END): Likewise.
30079 (STABS_FUN2): Likewise.
30080 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30081 * sysdeps/x86_64/configure: Regenerated.
30083 2012-08-14 Roland McGrath <roland@hack.frob.com>
30085 * elf/dl-open.c: Include <atomic.h>.
30086 * elf/dl-lookup.c: Likewise.
30088 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30090 * sysdeps/unix/sysv/linux/kernel-features.h
30091 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30092 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30094 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30096 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30097 condition on __ASSUME_CLONE_THREAD_FLAGS.
30099 2012-08-14 Andreas Jaeger <aj@suse.de>
30101 * sysdeps/i386/fpu/libm-test-ulps: Update.
30103 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30105 * include/atomic.h (atomic_exchange_and_add): Split into ...
30106 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30109 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30113 2012-08-13 Jeff Law <law@redhat.com>
30115 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30116 null byte in the output string.
30118 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30120 * sysdeps/unix/sysv/linux/kernel-features.h
30121 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30122 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30123 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30124 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30125 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30126 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30127 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30129 2012-08-09 Jeff Law <law@redhat.com>
30132 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30133 When avoid_arena is set, don't retry in the that arena. Pick the
30134 next one, whatever it might be.
30135 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30136 (arena_lock): Pass in new parameter to arena_get2.
30137 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30139 (__libc_malloc): Unify retrying after main arena failure with
30140 __libc_memalign version.
30141 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30143 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30146 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30147 to __redirect_strstr.
30148 (__strstr_sse42): Use typeof __redirect_strstr.
30149 (__strstr_ia32): Likewise.
30150 (__libc_strstr): New prototype.
30151 (strstr): Renamed to ...
30152 (__libc_strstr): This.
30153 (strstr): New strong alias of __libc_strstr.
30154 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30155 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30158 (__libc_time): New prototype.
30159 (time_ifunc): Replace time with __libc_time.
30160 (time): New strong alias and hidden definition of __libc_time.
30161 (__GI_time): Remove strong alias.
30162 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30163 Include <stddef.h>.
30164 (memmove): Redefined to __redirect_memmove.
30165 (__memmove_sse2): Use typeof __redirect_memmove.
30166 (__memmove_ssse3): Likewise.
30167 (__memmove_ssse3_back): Likewise.
30168 (__libc_memmove): New prototype.
30169 (memmove): Renamed to ...
30170 (__libc_memmove): This.
30171 (memmove): New strong alias of __libc_memmove.
30173 2012-08-08 Mark Salter <msalter@redhat.com>
30176 (R_MN10300_TLS_GD): Define.
30177 (R_MN10300_TLS_LD): Likewise.
30178 (R_MN10300_TLS_LDO): Likewise.
30179 (R_MN10300_TLS_GOTIE): Likewise.
30180 (R_MN10300_TLS_IE): Likewise.
30181 (R_MN10300_TLS_LE): Likewise.
30182 (R_MN10300_TLS_DTPMOD): Likewise.
30183 (R_MN10300_TLS_DTPOFF): Likewise.
30184 (R_MN10300_TLS_TPOFF): Likewise.
30185 (R_MN10300_SYM_DIFF): Likewise.
30186 (R_MN10300_ALIGN): Likewise.
30187 (R_MN10300_NUM): Update.
30189 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30191 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30194 2012-08-08 Roland McGrath <roland@hack.frob.com>
30196 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30198 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30199 sysdeps/unix -> sysdeps/posix move.
30200 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30202 2012-08-07 Allan McRae <allan@archlinux.org>
30205 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30206 (SUNOS_CPP): Likewise.
30207 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30209 (open_input): Call CPP using execvp.
30211 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30213 * sysdeps/unix/sysv/linux/kernel-features.h
30214 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30215 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30216 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30217 (__ASSUME_WAITID_SYSCALL): Likewise.
30218 * sysdeps/unix/sysv/linux/dl-execstack.c
30219 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30220 code unconditional.
30221 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30223 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30224 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30225 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30227 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30229 [__ASSUME_WAITID_SYSCALL]: Likewise.
30230 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30232 2012-08-07 Roland McGrath <roland@hack.frob.com>
30234 * sysdeps/unix/closedir.c: Renamed to ...
30235 * sysdeps/posix/closedir.c: ... here.
30236 * sysdeps/unix/dirfd.c: Renamed to ...
30237 * sysdeps/posix/dirfd.c: ... here.
30238 * sysdeps/unix/dirstream.h: Renamed to ...
30239 * sysdeps/posix/dirstream.h: ... here.
30240 * sysdeps/unix/fdopendir.c: Renamed to ...
30241 * sysdeps/posix/fdopendir.c: ... here.
30242 * sysdeps/unix/opendir.c: Renamed to ...
30243 * sysdeps/posix/opendir.c: ... here.
30244 * sysdeps/unix/readdir.c: Renamed to ...
30245 * sysdeps/posix/readdir.c: ... here.
30246 * sysdeps/unix/readdir_r.c: Renamed to ...
30247 * sysdeps/posix/readdir_r.c: ... here.
30248 * sysdeps/unix/rewinddir.c: Renamed to ...
30249 * sysdeps/posix/rewinddir.c: ... here.
30250 * sysdeps/unix/seekdir.c: Renamed to ...
30251 * sysdeps/posix/seekdir.c: ... here.
30252 * sysdeps/unix/telldir.c: Renamed to ...
30253 * sysdeps/posix/telldir.c: ... here.
30254 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30255 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30256 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30257 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30259 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30260 * bits/fcntl.h: ... here.
30262 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30264 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30265 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30266 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30267 (struct flock): Move l_start, l_len to the beginning.
30268 Use __pid_t for l_pid.
30269 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30270 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30271 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30272 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30273 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30274 [__USE_LARGEFILE64] (struct flock64): New type.
30275 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30277 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30278 * bits/dirent.h: ... here.
30280 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30281 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30283 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30285 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30286 Change from 2.6.0 to 2.6.16.
30287 * sysdeps/unix/sysv/linux/configure: Regenerated.
30288 * sysdeps/unix/sysv/linux/kernel-features.h
30289 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30290 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30292 (__ASSUME_UTIMES): Likewise.
30293 (__ASSUME_CLONE_STOPPED): Remove.
30294 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30295 architectures, not kernel version.
30296 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30297 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30298 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30299 (__ASSUME_WAITID_SYSCALL): Likewise.
30300 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30301 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30302 * README: State 2.6.16 as minimum Linux kernel version. Do not
30303 refer to older versions.
30305 2012-08-06 Roland McGrath <roland@hack.frob.com>
30307 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30308 Define alphasort64 as an alias.
30309 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30310 Define versionsort64 as an alias.
30311 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30312 Define scandir64 as an alias.
30313 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30314 Define scandirat64 as an alias.
30315 * dirent/alphasort64.c (alphasort64):
30316 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30317 * dirent/versionsort64.c: Likewise.
30318 * dirent/scandir64.c: Likewise.
30319 * dirent/scandirat64.c: Likewise.
30320 * sysdeps/wordsize-64/alphasort.c: File removed.
30321 * sysdeps/wordsize-64/alphasort64.c: File removed.
30322 * sysdeps/wordsize-64/scandir.c: File removed.
30323 * sysdeps/wordsize-64/scandir64.c: File removed.
30324 * sysdeps/wordsize-64/scandirat.c: File removed.
30325 * sysdeps/wordsize-64/scandirat64.c: File removed.
30326 * sysdeps/wordsize-64/versionsort.c: File removed.
30327 * sysdeps/wordsize-64/versionsort64.c: File removed.
30328 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30329 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30330 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30331 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30332 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30333 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30334 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30335 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30337 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30338 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30339 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30340 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30341 [defined __arch64__ || defined __sparcv9]
30342 (__INO_T_MATCHES_INO64_T): New macro.
30343 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30344 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30345 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30346 * sysdeps/unix/sysv/linux/bits/dirent.h
30347 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30348 (_DIRENT_MATCHES_DIRENT64): New macro.
30350 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30351 Define lockf64 as an alias.
30352 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30353 Define fseeko64 as an alias.
30354 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30355 Define ftello64 as an alias.
30356 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30357 Define _IO_fgetpos64 and fgetpos64 as aliases.
30358 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30359 Define _IO_fsetpos64 and fsetpos64 as aliases.
30360 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30361 Conditionalize body on this.
30362 * libio/fseeko64.c: Likewise.
30363 * libio/ftello64.c: Likewise.
30364 * libio/iofgetpos64.c: Likewise.
30365 * libio/iofsetpos64.c: Likewise.
30366 * sysdeps/wordsize-64/lockf.c: File removed.
30367 * sysdeps/wordsize-64/lockf64.c: File removed.
30368 * sysdeps/wordsize-64/fseeko.c: File removed.
30369 * sysdeps/wordsize-64/fseeko64.c: File removed.
30370 * sysdeps/wordsize-64/ftello.c: File removed.
30371 * sysdeps/wordsize-64/ftello64.c: File removed.
30372 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30373 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30374 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30375 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30376 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30377 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30378 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30379 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30380 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30381 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30382 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30383 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30384 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30385 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30387 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30388 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30389 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30391 [defined __arch64__ || defined __sparcv9]
30392 (__OFF_T_MATCHES_OFF64_T): New macro.
30393 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30394 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30395 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30396 (__OFF_T_MATCHES_OFF64_T): New macro.
30398 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30400 * stdlib/secure-getenv.c (__secure_getenv): Replace
30401 GLIBC_2_16 with GLIBC_2_17.
30403 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30405 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30406 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30408 2012-08-03 David S. Miller <davem@davemloft.net>
30410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30412 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30414 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30416 (__ASSUME_CORRECT_SI_PID): Likewise.
30417 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30418 (__ASSUME_TMPFS_NAME): Likewise.
30419 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30420 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30421 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30422 (HAVE_AUX_SECURE): Make definition unconditional.
30423 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30424 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30426 2012-08-03 Roland McGrath <roland@hack.frob.com>
30428 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30429 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30430 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30431 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30432 __eloop_threshold instead of SYMLOOP_MAX.
30434 * sysdeps/generic/eloop-threshold.h: New file.
30435 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30437 * elf/chroot_canon.c (chroot_canon): Likewise.
30439 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30442 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30443 Change to 2.6.0 everywhere.
30444 * sysdeps/unix/sysv/linux/configure: Regenerated.
30445 * sysdeps/unix/sysv/linux/kernel-features.h
30446 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30447 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30449 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30450 (__ASSUME_FUTEX_REQUEUE): Remove.
30451 (__ASSUME_STATFS64): Define unconditionally.
30452 (__ASSUME_AT_SECURE): Likewise.
30453 (__ASSUME_CORRECT_SI_PID): Likewise.
30454 (__ASSUME_TGKILL): Define without depending on kernel version for
30456 (__ASSUME_UTIMES): Likewise.
30457 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30459 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30460 (__ASSUME_TMPFS_NAME): Likewise.
30461 * README: Update reference to Linux kernel versions.
30463 2012-08-02 Marek Polacek <polacek@redhat.com>
30466 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30467 libc_cv_asm_type_prefix with %.
30468 * configure: Regenerated.
30469 * include/libc-symbols.h: Remove comment about
30470 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30471 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30472 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30473 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30474 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30475 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30476 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30477 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30478 * elf/tst-unique2mod1.c: Likewise.
30479 * elf/tst-unique1mod2.c: Likewise.
30480 * elf/tst-unique1mod1.c: Likewise.
30481 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30482 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30483 Replace ASM_TYPE_DIRECTIVE with .type.
30484 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30485 * sysdeps/i386/sysdep.h: Likewise.
30486 * sysdeps/x86_64/sysdep.h: Likewise.
30487 * sysdeps/sh/sysdep.h: Likewise.
30488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30489 Do not define ASM_TYPE_DIRECTIVE.
30490 * sysdeps/powerpc/sysdep.h: Likewise.
30491 * sysdeps/powerpc/powerpc32/sysdep.h:
30492 Replace ASM_TYPE_DIRECTIVE with .type.
30493 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30494 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30495 * sysdeps/i386/fpu/e_powf.S: Likewise.
30496 * sysdeps/i386/fpu/e_expl.S: Likewise.
30497 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30498 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30499 * sysdeps/i386/fpu/e_pow.S: Likewise.
30500 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30501 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30502 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30503 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30504 * sysdeps/i386/fpu/e_log2.S: Likewise.
30505 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30506 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30507 * sysdeps/i386/fpu/e_powl.S: Likewise.
30508 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30509 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30510 * sysdeps/i386/fpu/e_logl.S: Likewise.
30511 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30512 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30513 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30514 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30515 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30516 * sysdeps/i386/fpu/e_log.S: Likewise.
30517 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30518 * sysdeps/i386/fpu/e_logf.S: Likewise.
30519 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30520 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30521 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30522 * sysdeps/i386/fpu/e_log10.S: Likewise.
30523 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30524 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30525 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30526 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30527 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30528 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30529 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30530 * sysdeps/i386/i686/strtok.S: Likewise.
30531 * sysdeps/i386/i386-mcount.S: Likewise.
30532 * sysdeps/i386/strtok.S: Likewise.
30533 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30534 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30535 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30536 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30537 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30538 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30539 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30540 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30541 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30542 * sysdeps/x86_64/_mcount.S: Likewise.
30543 * sysdeps/x86_64/strtok.S: Likewise.
30544 * sysdeps/sh/_mcount.S: Likewise.
30546 2012-08-01 Roland McGrath <roland@hack.frob.com>
30548 * libio/iofopen.c: Include <fcntl.h>.
30549 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30550 (_IO_fopen64, fopen64): Define as aliases.
30551 * libio/iofopen64.c: Include <fcntl.h>.
30552 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30553 Conditionalize body on this.
30554 * sysdeps/wordsize-64/iofopen.c: File removed.
30555 * sysdeps/wordsize-64/iofopen64.c: File removed.
30557 2012-08-01 Marek Polacek <polacek@redhat.com>
30559 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30560 Use dlfcn directly instead of a variable.
30561 (binfmt-subdir): Do not define.
30564 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30566 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30567 Remove all definitions.
30568 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30569 <kernel-features.h>.
30570 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30571 (miss_F_GETOWN_EX): Remove all definitions.
30572 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30574 [!__ASSUME_FCNTL64]: Remove conditional code.
30575 [__ASSUME_FCNTL64]: Make code unconditional.
30576 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30577 <kernel-features.h>.
30578 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30579 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30580 (lockf64) [__NR_fcntl64]: Make code unconditional.
30581 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30583 * sysdeps/unix/sysv/linux/kernel-features.h
30584 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30585 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30586 Make code unconditional.
30587 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30588 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30590 [__NR_vfork]: Make code unconditional.
30591 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30592 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30594 [__NR_vfork]: Make code unconditional.
30595 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30596 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30598 2012-08-01 Roland McGrath <roland@hack.frob.com>
30600 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30601 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30603 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30604 Define mkstemp64 as an alias.
30605 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30606 Define mkstemps64 as an alias.
30607 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30608 Define mkostemp64 as an alias.
30609 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30610 Define mkostemps64 as an alias.
30611 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30612 Conditionalize body on this.
30613 * misc/mkostemp64.c: Likewise.
30614 * misc/mkostemps64.c: Likewise.
30615 * misc/mkstemps64.c: Likewise.
30616 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30617 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30618 * sysdeps/wordsize-64/mkostemp.c: File removed.
30619 * sysdeps/wordsize-64/mkstemp.c: File removed.
30620 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30621 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30622 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30623 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30626 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30627 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30628 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30629 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30631 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30632 compat_symbol macros from <shlib-compat.h> rather than the underlying
30633 default_symbol_version and symbol_version macros, so that DEFAULT
30634 lines in shlib-versions are respected.
30635 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30637 2012-08-01 Florian Weimer <fweimer@redhat.com>
30639 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30640 Declare with warn_unused_result.
30641 (setgid, setregid, setegid, setresgid): Likewise.
30642 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30644 * WUR-REPORT: Remove set*id functions.
30646 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30648 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30650 2012-07-31 Roland McGrath <roland@hack.frob.com>
30653 * include/sys/socket.h (__libc_accept, __libc_accept4):
30654 Add attribute_hidden.
30655 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30657 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30659 * inet/getnetgrent_r.c (setup): Likewise.
30661 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30663 2012-07-31 David S. Miller <davem@davemloft.net>
30665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30667 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30670 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30671 value between 1.0 and 2.0 and smaller part has absolute value less
30673 * math/s_clog10.c (__clog10): Likewise.
30674 * math/s_clog10f.c (__clog10f): Likewise.
30675 * math/s_clog10l.c (__clog10l): Likewise.
30676 * math/s_clogf.c (__clogf): Likewise.
30677 * math/s_clogl.c (__clogl): Likewise.
30678 * math/libm-test.inc (clog_test): Add more tests.
30679 (clog10_test): Likewise.
30680 * sysdeps/i386/fpu/libm-test-ulps: Update.
30681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30683 2012-07-31 Florian Weimer <fweimer@redhat.com>
30685 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30686 Exit with zero in case no suitable GID is found, and write a
30687 message to standard error.
30689 2012-07-30 Roland McGrath <roland@hack.frob.com>
30691 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30693 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30694 (MAXPATHLEN): Removed.
30695 (NOGROUP, NODEV): New macros.
30696 (setbit, clrbit, isset, isclr): New macros.
30697 (howmany, roundup, powerof2): New macros.
30698 (DEV_BSIZE): New macro.
30700 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30701 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30703 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30704 definition on [!__NO_LONG_DOUBLE_MATH].
30706 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30707 PTR_MANGLE and PTR_DEMANGLE.
30709 * socket/accept4.c (accept4): Rename to __libc_accept4.
30710 Define accept4 as a weak alias.
30712 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30713 on [_DIRENT_HAVE_D_TYPE].
30714 * io/ftw.c (ftw_dir): Likewise.
30716 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30718 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30720 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30721 Use the BSD numbers rather than the arbitrary ones we had.
30722 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30723 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30724 (SIGXCPU, SIGXFSZ): New macros.
30727 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30728 initializer on [_LIBC_REENTRANT].
30730 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30731 definitions inside [_POSIX_MAPPED_FILES].
30733 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30735 * dirent/opendir.c: Include <fcntl.h>.
30737 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30738 (__libc_getspecific): Likewise.
30739 (__libc_key_create): Likewise.
30741 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30742 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30743 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30744 (tmpfile64): Define as alias.
30745 * sysdeps/wordsize-64/tmpfile.c: File removed.
30746 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30747 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30748 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30750 * stdio-common/vfscanf.c: Include <stdbool.h>.
30751 * nss/makedb.c: Likewise.
30752 * stdio-common/_i18n_number.h: Likewise.
30753 * argp/argp-help.c: Likewise.
30754 * posix/wordexp.c: Likewise.
30755 * sysdeps/posix/spawni.c: Likewise.
30756 * nss/nss_files/files-initgroups.c: Likewise.
30757 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30758 * nss/nss_files/files-initgroups.c: Likewise.
30759 * nss/nss_db/db-netgrp.c: Likewise.
30760 * nss/nss_db/db-initgroups.c: Likewise.
30761 * io/fchmodat.c: Include <sys/stat.h>.
30763 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30764 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30766 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30769 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30770 Add multiple inclusion protection.
30772 2012-07-27 David S. Miller <davem@davemloft.net>
30774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30776 2012-07-27 Gary Benson <gbenson@redhat.com>
30779 * elf/rtld.c: Include <stap-probe.h>.
30780 (dl_main): Added static probes "init_start" and "init_complete".
30781 * elf/dl-load.c: Include <stap-probe.h>.
30782 (lose): Take new parameter "nsid".
30783 Added static probe "map_failed".
30784 (_dl_map_object_from_fd): Pass namespace id to lose.
30785 Added static probe "map_start".
30786 (open_verify): Pass namespace id to lose.
30787 * elf/dl-open.c: Include <stap-probe.h>.
30788 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30789 and "reloc_complete".
30790 * elf/dl-close.c: Include <stap-probe.h>.
30791 (_dl_close_worker): Added static probes "unmap_start" and
30793 * elf/rtld-debugger-interface.txt: New file documenting the above.
30795 2012-07-26 Roland McGrath <roland@hack.frob.com>
30797 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30798 rather than a string variable.
30799 * sunrpc/rpc_main.c (h_output): Likewise.
30800 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30802 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30804 * inet/check_native.c: New file.
30806 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30809 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30810 if larger part has absolute value 1.0.
30811 * math/s_clog10.c (__clog10): Likewise.
30812 * math/s_clog10f.c (__clog10f): Likewise.
30813 * math/s_clog10l.c (__clog10l): Likewise.
30814 * math/s_clogf.c (__clogf): Likewise.
30815 * math/s_clogl.c (__clogl): Likewise.
30816 * math/libm-test.inc (clog_test): Add more tests.
30817 (clog10_test): Likewise.
30818 * sysdeps/i386/fpu/libm-test-ulps: Update.
30819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30821 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30822 (pltexit): Likewise.
30823 (La_regs): Likewise.
30824 (La_retval): Likewise.
30825 (int_retval): Likewise.
30826 Update #error for removed macros to refer only to definitions in
30828 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30830 (pltexit): Likewise.
30831 (La_regs): Likewise.
30832 (La_retval): Likewise.
30833 (int_retval): Likewise.
30834 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30836 (pltexit): Likewise.
30837 (La_regs): Likewise.
30838 (La_retval): Likewise.
30839 (int_retval): Likewise.
30840 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30842 (pltexit): Likewise.
30843 (La_regs): Likewise.
30844 (La_retval): Likewise.
30845 (int_retval): Likewise.
30846 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30848 (pltexit): Likewise.
30849 (La_regs): Likewise.
30850 (La_retval): Likewise.
30851 (int_retval): Likewise.
30852 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30854 (pltexit): Likewise.
30855 (La_regs): Likewise.
30856 (La_retval): Likewise.
30857 (int_retval): Likewise.
30858 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30860 (pltexit): Likewise.
30861 (La_regs): Likewise.
30862 (La_retval): Likewise.
30863 (int_retval): Likewise.
30864 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30865 macro definitions in tst-audit.h.
30866 * sysdeps/i386/tst-audit.h: New file.
30867 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30868 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30869 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30870 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30871 * sysdeps/sh/tst-audit.h: Likewise.
30872 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30873 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30874 * sysdeps/x86_64/tst-audit.h: Likewise.
30876 2012-07-26 Andreas Jaeger <aj@suse.de>
30878 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30881 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30882 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30883 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30885 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30886 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30887 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30889 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30892 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30894 (si_call_addr, si_syscall, si_arch): Define new macro.
30895 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30897 (si_call_addr, si_syscall, si_arch): Define new marcro.
30898 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30900 (si_call_addr, si_syscall, si_arch): Define new macro.
30901 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30903 (si_call_addr, si_syscall, si_arch): Define new macro.
30905 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30908 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30909 Change to 2.4.21 where previously 2.4.1.
30910 * sysdeps/unix/sysv/linux/configure: Regenerated.
30911 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30912 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30913 Linux kernel version.
30914 (__ASSUME_STD_AUXV): Remove.
30915 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30917 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30918 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30919 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30920 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30921 (__ASSUME_NETLINK_SUPPORT): Likewise.
30922 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30923 (__no_netlink_support): Remove conditional definition.
30924 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30926 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30927 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30928 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30929 (if_nameindex_ioctl): Remove.
30930 (if_nameindex_netlink): Do not handle __no_netlink_support.
30931 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30933 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30934 Remove conditional code.
30935 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30937 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30939 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30940 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30941 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30943 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30944 [!__ASSUME_STD_AUXV]: Remove conditional code.
30945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30946 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30947 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30949 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30950 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30952 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30954 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30955 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30957 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30959 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30962 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30965 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30966 code unconditional.
30967 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30969 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30971 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30974 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30976 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30979 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30980 code unconditional.
30981 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30983 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30985 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30988 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30989 code unconditional.
30990 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30992 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30994 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30997 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30999 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31000 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31001 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31002 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31003 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31004 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31005 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31006 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31007 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31008 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31009 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31010 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31011 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31012 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31013 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31014 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31015 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31016 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31017 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31019 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31020 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31021 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31023 2012-07-25 Florian Weimer <fweimer@redhat.com>
31025 * Versions.def: Add GLIBC_2.17.
31026 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31027 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31028 Introduce __libc_secure_getenv.
31029 * stdlib/Versions (2.17): Add secure_getenv
31030 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31031 * stdlib/secure-getenv.c: Rename __secure_getenv to
31032 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31033 symbol __secure_getenv for GLIBC_2.0.
31034 * stdlib/tst-secure-getenv.c: New.
31035 * stdlib/Makefile (tests): Add testcase.
31036 * manual/startup.texi (Environment Access): Document
31038 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31039 __libc_secure_getenv.
31040 * inet/ruserpass.c (ruserpass): Likewise.
31041 * malloc/mtrace.c (mtrace): Likewise.
31042 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31043 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31044 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31045 * sysdeps/posix/tempname.c: Likewise. Evaluate
31046 HAVE_SECURE_GETENV.
31047 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31048 __secure_getenv to __libc_secure_getenv.
31049 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31056 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31062 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31064 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31065 (struct La_i86_retval): Likewise.
31066 (struct La_x86_64_regs): Likewise.
31067 (struct La_x86_64_retval): Likewise.
31068 (struct La_x32_regs): Likewise.
31069 (struct La_x32_retval): Likewise.
31070 (struct La_ppc32_regs): Likewise.
31071 (struct La_ppc32_retval): Likewise.
31072 (struct La_ppc64_regs): Likewise.
31073 (struct La_ppc64_retval): Likewise.
31074 (struct La_sh_regs): Likewise.
31075 (struct La_sh_retval): Likewise.
31076 (struct La_s390_32_regs): Likewise.
31077 (struct La_s390_32_retval): Likewise.
31078 (struct La_s390_64_regs): Likewise.
31079 (struct La_s390_64_retval): Likewise.
31080 (struct La_sparc32_regs): Likewise.
31081 (struct La_sparc32_retval): Likewise.
31082 (struct La_sparc64_regs): Likewise.
31083 (struct La_sparc64_retval): Likewise.
31084 (struct audit_ifaces): Remove architecture-specific pltenter and
31086 * sysdeps/i386/ldsodefs.h: New file.
31087 * sysdeps/powerpc/ldsodefs.h: Likewise.
31088 * sysdeps/s390/ldsodefs.h: Likewise.
31089 * sysdeps/sh/ldsodefs.h: Likewise.
31090 * sysdeps/sparc/ldsodefs.h: Likewise.
31091 * sysdeps/x86_64/ldsodefs.h: Likewise.
31093 2012-07-25 Marek Polacek <polacek@redhat.com>
31096 * math/libm-test.inc (yn_test): Add another test.
31097 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31098 to ERANGE when the result is +-Inf.
31099 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31100 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31101 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31102 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31104 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31106 * conform/data/time.h-data (NULL): Use macro-constant. Require
31108 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31110 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31112 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31114 * configure.in <sysdeps resolving>: Correct printing
31116 * configure: Regenerate.
31118 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31120 * math/w_ilogb.c: Include <limits.h>.
31121 * math/w_ilogbl.c: Likewise.
31123 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31125 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31126 va_copy. Document allowing for unavailable va_copy only as
31127 pre-C99 compatibility.
31128 * manual/string.texi (Copying and Concatenation): Use va_copy
31129 instead of __va_copy in concat example.
31131 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31133 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31134 (__sendto): Use create_address_port. Initialize APORT and deallocate
31137 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31138 with O_NOLINK passed to __file_name_lookup.
31140 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31141 with O_NOLINK passed to __file_name_lookup.
31143 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31144 negative N or less than NGIDS.
31146 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31147 type to string_t. Set ERANGE as errno and return it if NAME is not big
31148 enough. Use memcpy instead of strncpy.
31150 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31152 * elf/Makefile (check-data): Remove.
31153 (localplt.data): New vpath directive.
31154 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31155 instead of $(check-data).
31156 * scripts/data/localplt-generic.data: Move to ...
31157 * sysdeps/generic/localplt.data: ... here.
31158 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31159 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31160 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31163 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31166 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31169 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31172 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31175 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31179 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31181 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31182 PPC32 and PPC64 files.
31183 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31184 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31186 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31188 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31189 __makecontext_ret to ...
31190 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31191 ... here and call exit if uc_link is NULL. New file.
31192 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31193 __makecontext_ret.S.
31194 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31195 __makecontext_ret to ...
31196 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31197 ... here and call exit if uc_link is NULL. New file.
31198 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31199 __makecontext_ret.S.
31201 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31203 * elf/elf.h (R_390_IRELATIVE): New definition.
31204 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31205 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31206 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31207 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31208 (elf_machine_lazy_rel): Likewise.
31209 * sysdeps/s390/dl-irel.h: New file.
31210 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31211 * sysdeps/s390/s390-64/memset.S: New asm code.
31212 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31213 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31214 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31215 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31216 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31217 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31218 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31219 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31220 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31221 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31222 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31223 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31224 * sysdeps/s390/s390-32/memset.S: New asm code.
31225 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31227 2012-07-17 Marek Polacek <polacek@redhat.com>
31230 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31231 * sysdeps/s390/s390-64/configure.in: Likewise.
31232 * sysdeps/sparc/configure.in: Likewise.
31233 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31234 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31235 * sysdeps/i386/configure.in: Likewise.
31236 * sysdeps/x86_64/configure.in: Likewise.
31237 * sysdeps/sh/configure.in: Likewise.
31238 * sysdeps/s390/s390-32/configure: Regenerated.
31239 * sysdeps/s390/s390-64/configure: Likewise.
31240 * sysdeps/x86_64/configure: Likewise.
31241 * sysdeps/sh/configure: Likewise.
31242 * sysdeps/powerpc/powerpc64/configure: Likewise.
31243 * sysdeps/powerpc/powerpc32/configure: Likewise.
31244 * sysdeps/sparc/configure: Likwise.
31245 * sysdeps/i386/configure: Likewise.
31247 * elf/dl-open.c: Comment fixes.
31249 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31251 * Makefile [CXX] (check-data): Remove.
31252 [CXX] (c++-types.data): New vpath directive.
31253 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31254 vpath. Do not allow for C++ type data being missing.
31255 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31256 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31257 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31258 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31259 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31260 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31261 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31264 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31267 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31270 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31273 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31276 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31279 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31282 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31285 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31286 definitions to architecture-specific files.
31287 (TLS_IE): Likewise.
31288 (TLS_LD): Likewise.
31289 (TLS_GD): Likewise.
31290 * sysdeps/i386/tls-macros.h: New file.
31291 * sysdeps/powerpc/tls-macros.h: Likewise.
31292 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31293 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31294 * sysdeps/sh/tls-macros.h: Likewise.
31295 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31296 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31297 * sysdeps/x86_64/tls-macros.h: Likewise.
31299 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31301 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31302 zero value for regular exit case.
31304 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31305 (__start_context): Preserve zero value for regular exit case.
31307 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31308 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31310 * manual/setjmp.texi (setcontext): Clarify normal process
31311 termination when uc_link is the null pointer.
31312 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31315 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31317 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31318 preprocessor. Test for each exception mask separately.
31320 2012-07-16 Andreas Jaeger <aj@suse.de>
31322 * po/ru.po: Update from translation team.
31324 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31326 * conform/data/string.h-data (NULL): Use macro-constant. Require
31328 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31329 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31330 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31331 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31334 2012-07-13 Andreas Jaeger <aj@suse.de>
31336 * po/fr.po: Update from translation team.
31338 2012-07-12 Marek Polacek <polacek@redhat.com>
31341 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31342 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31345 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31348 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31349 Change to 2.4.1 where previously 2.4.0.
31350 * sysdeps/unix/sysv/linux/configure: Regenerated.
31351 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31352 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31354 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31355 (__ASSUME_AT_CLKTCK): Remove.
31356 (__ASSUME_AT_PAGESIZE): Likewise.
31357 (__ASSUME_AT_XID): Likewise.
31358 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31359 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31360 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31362 (HAVE_AUX_PAGESIZE): Likewise.
31363 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31364 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31365 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31367 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31371 the temporary buffer used to invoke __gethostbyname2_r,
31372 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31373 host_data / struct gaih_addrtuple.
31374 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31375 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31376 header file nss/nsswitch.h.
31377 * nss/nsswitch.h (global scope): Add definition of implementation
31378 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31379 resolv/nss_dns/dns-host.c).
31381 2012-07-11 Andreas Jaeger <aj@suse.de>
31383 * po/fr.po: Update from translation team.
31385 * po/sv.po: Update from translation team
31386 * po/fr.po: Another update from translation team.
31388 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31390 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31391 for subnormals or multiply small sinh result by itself.
31392 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31395 2012-07-11 David S. Miller <davem@davemloft.net>
31397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31399 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31402 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31403 (INTERNAL_MARK): Shift it here.
31405 2012-07-10 Marek Polacek <polacek@redhat.com>
31408 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31409 libc_cv_asm_global_directive with .globl.
31410 * configure: Regenerated.
31411 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31413 * sysdeps/i386/configure: Regenerated.
31414 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31416 * sysdeps/x86_64/configure: Regenerated.
31417 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31418 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31419 * elf/tst-unique2mod2.c: Likewise.
31420 * elf/tst-unique2mod1.c: Likewise.
31421 * elf/tst-unique1mod2.c: Likewise.
31422 * elf/tst-unique1mod1.c: Likewise.
31423 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31424 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31425 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31426 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31427 * sysdeps/mach/sysdep.h: Likewise.
31428 * sysdeps/i386/sysdep.h: Likewise.
31429 * sysdeps/i386/i386-mcount.S: Likewise.
31430 * sysdeps/x86_64/_mcount.S: Likewise.
31431 * sysdeps/x86_64/sysdep.h: Likewise.
31432 * sysdeps/sh/_mcount.S: Likewise.
31433 * sysdeps/sh/sysdep.h: Likewise.
31434 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31435 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31436 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31437 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31438 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31439 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31440 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31441 * locale/localeinfo.h: Likewise.
31442 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31443 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31445 2012-07-09 Roland McGrath <roland@hack.frob.com>
31448 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31450 * manual/message.texi (The Uniforum approach): Likewise.
31451 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31452 (glibc iconv Implementation): Likewise.
31454 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31457 * math/s_clog.c (__clog): Avoid scaling a value down where that
31458 could result in underflow.
31459 * math/s_clog10.c (__clog10): Likewise.
31460 * math/s_clog10f.c (__clog10f): Likewise.
31461 * math/s_clog10l.c (__clog10l): Likewise.
31462 * math/s_clogf.c (__clogf): Likewise.
31463 * math/s_clogl.c (__clogl): Likewise.
31464 * math/libm-test.inc (clog_test): Add more tests.
31465 (clog10_test): Likewise.
31466 * sysdeps/i386/fpu/libm-test-ulps: Update.
31467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31469 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31472 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31473 by 7 not 8 to examine high bit of fractional part.
31476 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31477 for call to __mcount_internal.
31478 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31479 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31480 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31482 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31485 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31486 approximation for values within 0x1p-13f of an odd multiple of
31488 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31489 exception. Add more tests.
31490 * sysdeps/i386/fpu/libm-test-ulps: Update.
31493 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31494 inputs and return -1 for them. Do not check for +Inf in case not
31495 reachable for +Inf.
31496 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31497 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31498 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31499 and return -1 for them. Do not check for +Inf in case not
31500 reachable for +Inf.
31501 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31503 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31504 and return -1 for them. Do not check for +Inf in case not
31505 reachable for +Inf.
31506 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31507 spurious underflow.
31508 * sysdeps/i386/fpu/libm-test-ulps: Update.
31509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31511 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31513 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31515 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31519 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31520 could result in spurious underflow. Scale down values above
31521 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31522 * math/s_csqrtf.c (__csqrtf): Likewise.
31523 * math/s_csqrtl.c (__csqrtl): Likewise.
31524 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31525 spurious underflow.
31526 * sysdeps/i386/fpu/libm-test-ulps: Update.
31527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31529 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31531 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31533 * catgets/xopen-msg.awk: New file.
31534 * catgets/xopen-msg.sed: Removed.
31536 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31538 * intl/po2test.awk: New file.
31539 * intl/po2test.sed: Removed.
31541 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31544 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31545 or multiply small sinh result by itself.
31546 * math/s_ctanf.c (__ctanf): Likewise.
31547 * math/s_ctanh.c (__ctanh): Likewise.
31548 * math/s_ctanhf.c (__ctanhf): Likewise.
31549 * math/s_ctanhl.c (__ctanhl): Likewise.
31550 * math/s_ctanl.c (__ctanl): Likewise.
31551 * math/libm-test.inc (ctan_test_tonearest): New function.
31552 (ctan_test_towardzero): Likewise.
31553 (ctan_test_downward): Likewise.
31554 (ctan_test_upward): Likewise.
31555 (ctanh_test_tonearest): Likewise.
31556 (ctanh_test_towardzero): Likewise.
31557 (ctanh_test_downward): Likewise.
31558 (ctanh_test_upward): Likewise.
31559 (main): Call these new functions.
31560 * sysdeps/i386/fpu/libm-test-ulps: Update.
31561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31563 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31565 * .gitignore: Delete /ports entry.
31567 2012-07-03 Andreas Jaeger <aj@suse.de>
31569 * po/bg.po: Update from translation team.
31570 * po/cs.po: Likewise.
31571 * po/de.po: Likewise.
31572 * po/hr.po: Likewise.
31573 * po/nl.pl: Likewise.
31574 * po/pl.po: Likewise.
31575 * po/vi.po: Likewise.
31577 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31579 * Makeconfig [!+link] (+link-before-libc): New variable.
31580 [!+link] (+link-after-libc): Likewise.
31581 [!+link] (+link-tests): Likewise.
31582 [!+link] (+link): Define in terms of $(+link-before-libc) and
31583 $(+link-after-libc).
31584 [!+link-static] (+link-static-before-libc): New variable.
31585 [!+link-static] (+link-static-after-libc): Likewise.
31586 [!+link-static] (+link-static-tests): Likewise.
31587 [!+link-static] (+link-static): Define in terms of
31588 $(+link-static-before-libc) and $(+link-static-after-libc).
31589 [build-shared] (link-libc-before-gnulib): New variable.
31590 [build-shared] (link-libc-tests): Likewise.
31591 [build-shared] (link-libc): Define in terms of
31592 $(link-libc-before-gnulib).
31593 [!build-shared] (link-libc-tests): New variable.
31594 (link-libc-static-tests): New variable.
31595 [!gnulib] (gnulib-arch): New variable.
31596 [!gnulib] (gnulib-tests): Likewise.
31597 [!gnulib] (static-gnulib-arch): Likewise.
31598 [!gnulib] (static-gnulib-tests): Likewise.
31599 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31600 Define with "=" instead of ":=".
31601 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31602 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31603 * Rules (binaries-all-notests): New variable.
31604 (binaries-all-tests): Likewise.
31605 (binaries-static-notests): Likewise.
31606 (binaries-static-tests): Likewise.
31607 (binaries-all): Define using $(binaries-all-notests) and
31608 $(binaries-all-tests).
31609 (binaries-static): Define using $(binaries-static-notests) and
31610 $(binaries-static-tests).
31611 (binaries-shared-tests): New variable.
31612 (binaries-shared-notests): Likewise.
31613 (binaries-shared): Remove variable.
31614 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31615 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31616 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31617 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31618 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31619 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31620 * elf/Makefile (sln-modules): New variable.
31621 (extra-objs): Add $(sln-modules:=.o).
31622 (ldconfig-modules): Add static-stubs.
31623 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31624 * elf/static-stubs.c: New file.
31627 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31628 by 7 not 8 to examine high bit of fractional part. Use volatile
31629 variables when splitting into final array of floats if
31630 __FLT_EVAL_METHOD__ != 0.
31631 * math/libm-test.inc (cos_test): Add another test.
31632 (sin_test): Likewise.
31633 * sysdeps/i386/fpu/libm-test-ulps: Update.
31636 * math/libm-test.inc (cosh_test): Add more tests.
31638 * version.h (RELEASE): Set to "development".
31639 (VERSION): Set to "2.16.90".
31641 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31643 * NEWS: Update copyright. Remove last-updated date.
31644 Mention math library bug fixes and timezone data changes.
31645 * README: Mention GNU/Hurd, x32, and HPPA support status.
31647 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31649 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31651 2012-06-27 Andreas Jaeger <aj@suse.de>
31653 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31655 2012-06-25 Andreas Jaeger <aj@suse.de>
31657 * sysdeps/s390/fpu/libm-test-ulps: Update.
31659 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31660 Thomas Schwinge <thomas@codesourcery.com>
31662 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31663 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31664 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31667 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31669 * sysdeps/mach/start.c: Remove file.
31670 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31671 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31672 * sysdeps/sh/init-first.c: Likewise.
31674 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31675 registers for frame unwinding purposes, add CFI directives.
31676 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31677 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31678 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31681 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31682 __fortify_fail returning.
31683 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31685 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31686 sysdeps/sh/____longjmp_chk.S.
31687 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31688 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31689 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31690 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31692 * sysdeps/sh/abort-instr.h: New file.
31693 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31694 process in case exit returns.
31696 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31697 initialize the GOT register before use.
31699 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31700 calculation of ARGC > 4.
31702 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31703 meaningful names to some local labels.
31705 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31706 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31708 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31709 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31710 (__arch_compare_and_exchange_val_16_acq): Likewise.
31711 (__arch_compare_and_exchange_val_32_acq): Likewise.
31712 (atomic_exchange_and_add): Fix gUSA sequence.
31713 (atomic_add): Likewise.
31714 (atomic_add_negative): Likewise.
31715 (atomic_add_zero): Likewise.
31716 (atomic_bit_test_set): Likewise.
31718 2012-06-22 Andreas Schwab <schwab@redhat.com>
31721 * include/link.h (struct link_map): Add l_free_initfini.
31722 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31724 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31725 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31726 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31729 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31731 * configure.in: Use AC_LANG_SOURCE.
31732 * configure: Regenerate.
31734 2012-06-22 Roland McGrath <roland@hack.frob.com>
31736 * configure.in (libc_cv_localstatedir): New substituted variable.
31737 * configure: Regenerated.
31738 * config.make.in (localstatedir): New variable, substituted from
31739 libc_cv_localstatedir.
31740 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31741 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31742 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31743 * sysdeps/gnu/configure: Regenerated.
31745 2012-06-21 Jeff Law <law@redhat.com>
31748 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31749 free. Simplify list management for _LIBC case.
31751 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31754 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31755 Clear sign bit of 64-bit integer value before comparing against
31758 * sysdeps/mach/configure: Regenerated.
31760 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31763 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31765 2012-06-21 Jeff Law <law@redhat.com>
31768 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31769 uint16_t for elements in the "seen" array to avoid char overflows.
31770 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31771 * elf/dl-open.c (dl_open_worker): Likewise.
31773 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31775 * scripts/list-sources.sh: Scan PORTS for translations.
31776 * po/libc.pot: Regenerated.
31778 2012-06-21 Andreas Jaeger <aj@suse.de>
31781 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31783 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31784 * bits/byteswap-16.h (__bswap_16): Likewise.
31785 * bits/byteswap.h (__bswap_constant_16): Likewise.
31787 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31790 * sysdeps/i386/fpu_control.h: Removed.
31791 * sysdeps/x86_64/fpu_control.h: Moved to ...
31792 * sysdeps/x86/fpu_control.h: Here.
31794 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31795 (_FPU_SETCW): Likewise.
31797 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31800 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31801 * sysdeps/x86/fpu/bits/mathinline.h: This.
31802 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31806 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31807 functions if __x86_64__ is defined.
31809 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31811 * string/endian.h: Add !__ASSEMBLER__ condition for including
31812 conversion interfaces.
31814 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31817 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31818 of ABS(x) in calculating zero to negative powers other than odd
31820 * math/libm-test.inc (pow_test): Add more tests.
31822 2012-06-15 Andreas Jaeger <aj@suse.de>
31824 * manual/contrib.texi (Contributors): Update entry of Liubov
31825 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31828 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31830 * string/string.h: Add __wur to GNU version of strerror_r.
31832 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31835 * string/Makefile (tests): Add tst-strtok_r.
31836 * string/tst-strtok_r.c: New file.
31837 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31838 RAX_LP/RDX_LP on SAVE_PTR.
31840 2012-06-14 Roland McGrath <roland@hack.frob.com>
31842 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31844 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31846 * libm_test.inc (csqrt_test): Allow more spurious underflow
31848 (j0_test): Likewise.
31849 (j1_test): Likewise.
31850 (y0_test): Likewise.
31851 (y1_test): Likewise.
31853 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31855 * po/Makefile (libc.pot): Use UTF-8 charset.
31857 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31860 Suppress sign-conversion warning from FD_SET.
31861 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31862 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31863 not unsigned long int.
31864 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31866 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31870 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31871 __extern_always_inline instead of __extern_inline.
31872 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31873 (__signbit): Likewise.
31874 (__signbitl): Support C++ namespace.
31875 (lrintf): New inline function.
31877 (llrintf): Likewise.
31878 (llrint): Likewise.
31888 (floorf): Likewise.
31889 (nearbyint): Likewise.
31890 (nearbyintf): Likewise.
31892 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31894 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31895 non-default versions.
31897 2012-06-11 Roland McGrath <roland@hack.frob.com>
31900 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31902 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31904 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31905 (FE_UPWARD, FE_DOWNWARD): Don't define.
31906 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31907 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31909 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31911 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31912 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31914 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31916 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31917 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31918 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31919 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31921 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31924 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31925 * sysdeps/i386/fpu/Implies: New file.
31926 * sysdeps/x86_64/fpu/Implies: Likewise.
31927 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31928 * sysdeps/x86/fpu/bits/fenv.h: This.
31930 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31933 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31936 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31937 character 0xffff that matches the last element of the
31940 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31942 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31945 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31947 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31948 values higher than 25.6283.
31950 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31952 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31953 subnormal exponent extraction and add some __builtin_expect.
31954 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31955 Fix for subnormal mantissa calculation.
31957 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31959 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31960 cpu2 is -1 and errno is not ENOSYS.
31962 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31965 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31966 * sysdeps/x86/bits/string.h: This.
31967 * sysdeps/x86_64/bits/string.h: Removed.
31969 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31970 if not compiling for x86-64, but compiling for >= i486.
31972 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31973 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31975 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31976 New macro from Linux kernel 3.4.0.
31977 (FP_XSTATE_MAGIC2): Likewise.
31978 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31979 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31980 (struct _fpx_sw_bytes): New struct.
31981 (struct _xsave_hdr): Likewise.
31982 (struct _ymmh_state): Likewise.
31983 (struct _xstate): Likewise.
31985 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31986 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31987 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31988 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31989 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31990 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31992 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31993 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31994 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31995 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31996 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31997 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31999 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32002 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32003 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32004 (sysdep_headers): Include sys/platform/ppc.h.
32005 * sysdeps/powerpc/test-gettimebase.c: Test for
32006 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32007 * manual/Makefile (appendices): Include platform.texi.
32008 * manual/contrib.texi (Contributors): Update @node pointers.
32009 * manual/maint.texi (Maintenance): Likewise.
32010 (Platform): New node.
32011 * manual/platform.texi: New file. Document the new features.
32013 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32014 Jakub Jelinek <jakub@redhat.com>
32017 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32018 where __builtin_expect is unavailable.
32020 2012-06-03 David S. Miller <davem@davemloft.net>
32022 * stdlib/longlong.h: Updated from GCC.
32024 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32027 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32028 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32031 (GLIBC_2.16): Likewise.
32033 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32035 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32037 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32040 (default-abi): New variable.
32041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32042 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32044 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32046 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32048 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32051 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32052 definition. Document in comment.
32054 2012-06-01 David S. Miller <davem@davemloft.net>
32056 * stdlib/longlong.h: Updated from GCC.
32058 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32061 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32062 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32063 sys/debugreg.h sys/io.h here.
32064 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32065 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32067 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32068 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32069 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32070 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32071 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32072 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32074 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32075 Define only if __x86_64__ is defined.
32077 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32080 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32081 Use int64_t for variable i.
32082 * math/libm-test.inc (fmod_test): Add more tests.
32084 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32085 z computation is not scheduled after fetestexcept.
32086 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32087 Use math_force_eval instead of asm to ensure calculation scheduled
32088 before exception test.
32089 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32090 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32092 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32095 computation is not scheduled after fetestexcept.
32097 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32100 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32101 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32103 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32105 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32106 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32108 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32111 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32113 (__WCHAR_MIN): Support __WORDSIZE == 64.
32114 (__WCHAR_MAX): Likewise.
32116 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32117 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32120 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32121 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32124 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32125 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32127 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32128 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32130 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32131 Defined to 1 if __x86_64__ isn't defined.
32132 (_STAT_VER_LINUX_OLD): New.
32133 (st_atime): Remove duplicate.
32134 (st_mtime): Likewise.
32135 (st_ctime): Likewise.
32137 2012-05-31 David S. Miller <davem@davemloft.net>
32139 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32142 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32144 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32148 * elf/dl-reloc.c: Include <_itoa.h>.
32149 (_dl_reloc_bad_type): Remove use of INTUSE.
32150 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32151 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32152 * stdio-common/psiginfo.c (psiginfo): Likewise.
32153 * stdio-common/psignal.c (psignal): Likewise.
32154 * string/strsignal.c (strsignal): Likewise.
32155 * include/signal.h (_sys_siglist): Declare hidden proto.
32156 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32157 INTVARDEF with libc_hidden_data_def.
32158 * stdio-common/itoa-udigits.c: Likewise.
32159 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32160 (_itoa_lower_digits_internal): Remove declaration.
32161 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32162 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32163 (_sys_sigabbrev_internal): Remove aliases.
32164 (_sys_siglist): Define hidden alias.
32166 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32171 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32174 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32175 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32177 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32178 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32179 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32180 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32181 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32182 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32184 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32185 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32186 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32188 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32196 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32197 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32198 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32200 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32201 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32202 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32203 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32204 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32205 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32207 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32208 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32210 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32211 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32213 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32214 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32215 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32217 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32218 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32220 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32222 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32223 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32224 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32226 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32228 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32230 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32232 * math/math.h (M_El): Use two more decimal places.
32233 (M_LOG2El): Likewise.
32234 (M_LOG10El): Likewise.
32235 (M_LN2l): Likewise.
32236 (M_LN10l): Likewise.
32238 (M_PI_2l): Likewise.
32239 (M_PI_4l): Likewise.
32240 (M_1_PIl): Likewise.
32241 (M_2_PIl): Likewise.
32242 (M_2_SQRTPIl): Likewise.
32243 (M_SQRT2l): Likewise.
32244 (M_SQRT1_2l): Likewise.
32246 2012-05-31 David S. Miller <davem@davemloft.net>
32248 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32249 values between float registers.
32250 * sysdeps/sparc/sparc64/memset.S: Likewise.
32251 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32253 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32255 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32256 -D_FORTIFY_SOURCE=1.
32257 (CPPFLAGS-tst-longjmp_chk.c): Define.
32258 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32259 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32260 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32261 CFLAGS-tst-wchar-h.c.
32263 2012-05-31 Marek Polacek <polacek@redhat.com>
32266 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32267 __endmntent_internal): Remove declaration.
32268 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32269 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32270 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32272 2012-05-30 David S. Miller <davem@davemloft.net>
32274 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32275 (___Q_simulate_exceptions): Use real FP ops rather than writing
32277 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32280 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32283 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32284 * sysdeps/x86/bits/xtitypes.h: This.
32286 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32287 * sysdeps/x86/bits/wordsize.h: This.
32289 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32290 * sysdeps/x86/bits/huge_vall.h: This.
32292 * sysdeps/i386/bits/select.h: Removed.
32293 * sysdeps/x86_64/bits/select.h: Renamed to ...
32294 * sysdeps/x86/bits/select.h: This.
32296 * sysdeps/i386/bits/setjmp.h: Removed.
32297 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32298 * sysdeps/x86/bits/setjmp.h: This.
32300 * sysdeps/i386/bits/mathdef.h: Removed.
32301 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32302 * sysdeps/x86/bits/mathdef.h: This.
32304 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32307 * include/sys/socket.h (__connect_internal)
32308 (__libc_sa_len_internal): Remove declaration.
32309 (__connect, __libc_sa_len): Declare hidden_proto.
32310 (SA_LEN): Remove use of INTUSE.
32311 * socket/connect.c: Add libc_hidden_def.
32312 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32313 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32314 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32316 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32317 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32318 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32319 of adding _internal alias.
32321 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32324 * sysdeps/i386/bits/link.h: Removed.
32325 * sysdeps/i386/bits/linkmap.h: Likewise.
32326 * sysdeps/x86_64/bits/link.h: Renamed to ...
32327 * sysdeps/x86/bits/link.h: This.
32328 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32329 * sysdeps/x86/bits/linkmap.h: This.
32331 * sysdeps/i386/bits/endian.h: Removed.
32332 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32333 * sysdeps/x86/bits/endian.h: This.
32335 * sysdeps/i386/bits/byteswap.h: Removed.
32336 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32337 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32338 * sysdeps/x86/bits/byteswap.h: This.
32339 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32340 * sysdeps/x86/bits/byteswap-16.h: This.
32341 * sysdeps/i386/Implies: Add x86.
32342 * sysdeps/x86_64/Implies: Likewise.
32344 2012-05-30 David S. Miller <davem@davemloft.net>
32346 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32347 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32348 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32349 (FP_TRAPPING_EXCEPTIONS): Define.
32350 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32351 (FP_TRAPPING_EXCEPTIONS): Define.
32352 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32353 subnormals only when inexact has been signalled or underflow
32354 exceptions are enabled.
32355 (_FP_PACK_CANONICAL): Likewise.
32357 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32360 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32361 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32363 2012-05-30 Richard Henderson <rth@twiddle.net>
32365 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32366 with #ifndef NOT_IN_libc.
32368 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32369 marked to avoid plt entry.
32371 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32374 * Makeconfig (default-abi): New macro.
32375 (abi-includes): Likewise.
32376 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32377 $(abi-$(default-abi)-lib-soname) for soname if defined.
32378 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32380 * Makefile (installed-stubs): Likewise.
32381 * include/stubs-biarch.h: Removed.
32382 * scripts/lib-names.awk: Only handle one library at a time.
32383 * scripts/soversions.awk: Remove WORDSIZE support.
32384 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32386 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32388 (syscall-list-default-condition): Likewise.
32389 (syscall-list-default-condition): Likewise.
32390 (syscall-list-includes): Likewise.
32391 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32392 syscall-list-* with abi-*. Handle undefined abi-variants.
32393 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32394 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32395 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32396 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32397 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32398 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32400 (syscall-list-32-options): Likewise.
32401 (syscall-list-32-condition): Likewise.
32402 (syscall-list-64-options): Likewise.
32403 (syscall-list-64-condition): Likewise.
32404 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32406 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32409 (abi-64-ld-soname): New macro.
32410 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32411 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32414 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32415 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32417 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32419 * sysdeps/unix/sysv/linux/kernel-features.h
32420 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32421 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32422 include <kernel-features.h>.
32423 [!__NR_ftruncate64]: Remove conditional code.
32424 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32425 [__NR_ftruncate64]: Make code unconditional.
32426 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32427 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32428 include <kernel-features.h>.
32429 [!__NR_ftruncate64]: Remove conditional code.
32430 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32431 [__NR_ftruncate64]: Make code unconditional.
32432 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32434 include <kernel-features.h>.
32435 [!__NR_ftruncate64]: Remove conditional code.
32436 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32437 [__NR_ftruncate64]: Make code unconditional.
32438 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32440 include <kernel-features.h>.
32441 [!__NR_ftruncate64]: Remove conditional code.
32442 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32443 [__NR_ftruncate64]: Make code unconditional.
32444 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32446 * configure.in (libc_cv_fpie): Weaken to a compile test using
32447 LIBC_TRY_CC_OPTION.
32448 * configure: Regenerated.
32450 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32465 2012-05-27 David S. Miller <davem@davemloft.net>
32467 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32469 (__Q_simulate_exceptions): Return void. Change to simulate
32470 exceptions by writing into the %fsr.
32471 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32472 (__Qp_handle_exceptions): Likewise.
32474 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32475 __Qp_handle_exceptions.
32476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32477 __Qp_handle_exceptions.
32478 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32479 as unused and give dummy FP_RND_NEAREST initializer.
32480 (FP_INHIBIT_RESULTS): Define.
32481 (___Q_simulate_exceptions): Update declaration.
32482 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32484 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32485 as unused and give dummy FP_RND_NEAREST initializer.
32486 (__Qp_handle_exceptions): Update declaration.
32487 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32490 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32492 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32493 the temporary FPU control word.
32494 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32495 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32496 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32497 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32498 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32499 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32500 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32501 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32502 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32503 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32504 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32506 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32508 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32511 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32513 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32514 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32515 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32516 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32518 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32519 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32522 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32524 * po/h.po: Update from translation team.
32526 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32528 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32530 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32531 handling of denormals.
32532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32533 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32534 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32535 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32536 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32537 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32538 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32541 2012-05-26 Marek Polacek <polacek@redhat.com>
32544 * math/libm-test.inc (fma_test): Don't always expect underflow
32547 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32550 * elf/tst-execstack.c: Include stackinfo.h.
32551 (do_test): Adjust test case to ensure that pthread_getattr_np
32552 behaviour remains the same after marking stack executable.
32554 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32556 * sysdeps/unix/sysv/linux/kernel-features.h
32557 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32558 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32560 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32561 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32562 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32564 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32565 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32567 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32569 * configure.in: Define the default includes to being none.
32570 * configure: Regenerated.
32572 2012-05-25 Roland McGrath <roland@hack.frob.com>
32574 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32575 * sysdeps/x86_64/setjmp.S: Likewise.
32576 * sysdeps/i386/bsd-setjmp.S: Likewise.
32577 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32578 * sysdeps/i386/setjmp.S: Likewise.
32579 * sysdeps/i386/__longjmp.S: Likewise.
32580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32581 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32583 * include/stap-probe.h: New file.
32584 * configure.in: Handle --enable-systemtap.
32585 * configure: Regenerated.
32586 * config.h.in (USE_STAP_PROBE): New #undef.
32587 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32588 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32589 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32591 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32594 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32595 to 2.4.0 where earlier.
32596 * sysdeps/unix/sysv/linux/configure: Regenerated.
32597 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32598 <kernel-features.h>.
32599 [__ASSUME_32BITUIDS]: Make code unconditional.
32600 [!__ASSUME_32BITUIDS]: Remove conditional code.
32601 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32602 <kernel-features.h>.
32603 [__ASSUME_32BITUIDS]: Make code unconditional.
32604 [!__ASSUME_32BITUIDS]: Remove conditional code.
32605 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32606 [__ASSUME_32BITUIDS]: Make code unconditional.
32607 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32608 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32609 <kernel-features.h>.
32610 [__ASSUME_32BITUIDS]: Make code unconditional.
32611 [!__ASSUME_32BITUIDS]: Remove conditional code.
32612 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32613 <kernel-features.h>.
32614 [__ASSUME_32BITUIDS]: Make code unconditional.
32615 [!__ASSUME_32BITUIDS]: Remove conditional code.
32616 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32617 <kernel-features.h>.
32618 [__ASSUME_32BITUIDS]: Make code unconditional.
32619 [!__ASSUME_32BITUIDS]: Remove conditional code.
32620 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32621 <kernel-features.h>.
32622 [__ASSUME_32BITUIDS]: Make code unconditional.
32623 [!__ASSUME_32BITUIDS]: Remove conditional code.
32624 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32625 <kernel-features.h>.
32626 [__ASSUME_32BITUIDS]: Make code unconditional.
32627 [!__ASSUME_32BITUIDS]: Remove conditional code.
32628 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32629 <kernel-features.h>.
32630 [__ASSUME_32BITUIDS]: Make code unconditional.
32631 [!__ASSUME_32BITUIDS]: Remove conditional code.
32632 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32633 <kernel-features.h>.
32634 [__ASSUME_32BITUIDS]: Make code unconditional.
32635 [!__ASSUME_32BITUIDS]: Remove conditional code.
32636 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32637 <kernel-features.h>.
32638 [__ASSUME_32BITUIDS]: Make code unconditional.
32639 [!__ASSUME_32BITUIDS]: Remove conditional code.
32640 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32641 <kernel-features.h>.
32642 [__ASSUME_32BITUIDS]: Make code unconditional.
32643 [!__ASSUME_32BITUIDS]: Remove conditional code.
32644 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32645 <kernel-features.h>.
32646 [__ASSUME_32BITUIDS]: Make code unconditional.
32647 [!__ASSUME_32BITUIDS]: Remove conditional code.
32648 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32649 <kernel-features.h>.
32650 [__NR_setresgid] (__setresgid): Do not declare.
32651 [__ASSUME_32BITUIDS]: Make code unconditional.
32652 [!__ASSUME_32BITUIDS]: Remove conditional code.
32653 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32654 <kernel-features.h>.
32655 [__NR_setresuid] (__setresuid): Do not declare.
32656 [__ASSUME_32BITUIDS]: Make code unconditional.
32657 [!__ASSUME_32BITUIDS]: Remove conditional code.
32658 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32659 <kernel-features.h>.
32660 [__ASSUME_32BITUIDS]: Make code unconditional.
32661 [!__ASSUME_32BITUIDS]: Remove conditional code.
32662 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32663 <kernel-features.h>.
32664 [__ASSUME_32BITUIDS]: Make code unconditional.
32665 [!__ASSUME_32BITUIDS]: Remove conditional code.
32666 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32667 <kernel-features.h>.
32668 [__ASSUME_32BITUIDS]: Make code unconditional.
32669 [!__ASSUME_32BITUIDS]: Remove conditional code.
32670 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32671 <kernel-features.h>.
32672 [__ASSUME_32BITUIDS]: Make code unconditional.
32673 [!__ASSUME_32BITUIDS]: Remove conditional code.
32674 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32675 <kernel-features.h>.
32676 [__ASSUME_32BITUIDS]: Make code unconditional.
32677 [!__ASSUME_32BITUIDS]: Remove conditional code.
32678 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32679 <kernel-features.h>.
32680 [__ASSUME_32BITUIDS]: Make code unconditional.
32681 [!__ASSUME_32BITUIDS]: Remove conditional code.
32682 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32683 <kernel-features.h>.
32684 [__ASSUME_32BITUIDS]: Make code unconditional.
32685 [!__ASSUME_32BITUIDS]: Remove conditional code.
32686 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32687 <kernel-features.h>.
32688 [__ASSUME_32BITUIDS]: Make code unconditional.
32689 [!__ASSUME_32BITUIDS]: Remove conditional code.
32690 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32691 <kernel-features.h>.
32692 [__ASSUME_32BITUIDS]: Make code unconditional.
32693 [!__ASSUME_32BITUIDS]: Remove conditional code.
32694 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32695 <kernel-features.h>.
32696 [__ASSUME_32BITUIDS]: Make code unconditional.
32697 [!__ASSUME_32BITUIDS]: Remove conditional code.
32698 * sysdeps/unix/sysv/linux/kernel-features.h
32699 (__ASSUME_SETRESUID_SYSCALL): Remove.
32700 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32701 (__ASSUME_32BITUIDS): Likewise.
32702 (__ASSUME_LDT_WORKS): Likewise.
32703 (__ASSUME_O_DIRECTORY): Likewise.
32704 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32705 architecture but not kernel version.
32706 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32707 (__ASSUME_MMAP2_SYSCALL): Likewise.
32708 (__ASSUME_STAT64_SYSCALL): Likewise.
32709 (__ASSUME_IPC64): Likewise.
32710 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32711 <kernel-features.h>.
32712 [__ASSUME_32BITUIDS]: Make code unconditional.
32713 [!__ASSUME_32BITUIDS]: Remove conditional code.
32714 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32715 <kernel-features.h>.
32716 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32717 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32718 132096]: Remove conditional code.
32719 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32720 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32721 <kernel-features.h>.
32722 [__ASSUME_32BITUIDS]: Make code unconditional.
32723 [!__ASSUME_32BITUIDS]: Remove conditional code.
32724 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32725 <kernel-features.h>.
32726 [__ASSUME_32BITUIDS]: Make code unconditional.
32727 [!__ASSUME_32BITUIDS]: Remove conditional code.
32728 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32729 <kernel-features.h>.
32730 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32732 (__setresgid): Do not declare.
32733 [__ASSUME_32BITUIDS]: Make code unconditional.
32734 [!__ASSUME_32BITUIDS]: Remove conditional code.
32735 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32736 <kernel-features.h>.
32737 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32739 (__setresuid): Do not declare.
32740 [__ASSUME_32BITUIDS]: Make code unconditional.
32741 [!__ASSUME_32BITUIDS]: Remove conditional code.
32742 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32743 <kernel-features.h>.
32744 [__ASSUME_32BITUIDS]: Make code unconditional.
32745 [!__ASSUME_32BITUIDS]: Remove conditional code.
32746 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32747 <kernel-features.h>.
32748 [__ASSUME_32BITUIDS]: Make code unconditional.
32749 [!__ASSUME_32BITUIDS]: Remove conditional code.
32751 2012-05-25 Richard Henderson <rth@twiddle.net>
32753 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32754 dl_hwcap to ifunc resolver.
32755 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32757 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32758 dl_hwcap to ifunc resolver.
32759 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32761 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32764 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32765 for |x| <= 2**-26, not 2**-57.
32766 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32769 2012-05-24 Jeff Law <law@redhat.com>
32771 * stdio-common/Makefile (tests): Add bug25.
32772 * stdio-common/bug25.c: New test.
32774 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32777 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32778 multiple of MALLOC_ALIGNMENT in size.
32779 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32781 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32783 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32785 (FILENAME_MAX): Use macro-int-constant.
32786 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32787 (_IOFBF): Use macro-int-constant.
32788 (_IOLBF): Likewise.
32789 (_IONBF): Likewise.
32790 (SEEK_CUR): Likewise.
32791 (SEEK_END): Likewise.
32792 (SEEK_SET): Likewise.
32793 (TMP_MAX): Likewise.
32794 (EOF): Use macro-int-constant. Require < 0.
32795 (NULL): Use macro-constant. Require == 0.
32796 (stdin): Require type to be FILE *.
32797 (stdout): Likewise.
32798 (stderr): Likewise.
32799 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32800 macro-int-constant.
32801 (EXIT_SUCCESS): Likewise.
32802 (NULL): Use macro-constant. Require == 0.
32803 (RAND_MAX): Use macro-int-constant.
32804 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32805 [C99-based standards] (strtof): Require function.
32806 [C99-based standards] (strtold): Likewise.
32807 [C99-based standards] (strtoll): Likewise.
32808 [C99-based standards] (strtoull): Likewise.
32809 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32810 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32811 [ISO || ISO99 || ISO11] (math.h): Likewise.
32812 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32813 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32814 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32816 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32819 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32820 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32821 * intl/dgettext.c (DCGETTEXT): Likewise.
32822 * intl/gettext.c (DCGETTEXT): Likewise.
32823 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32824 * posix/regex_internal.h (gettext): Likewise.
32825 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32826 Remove declaration.
32827 * include/argz.h (__argz_count_internal)
32828 (__argz_stringify_internal): Remove declaration.
32829 (__argz_count, __argz_stringify): Declare hidden proto.
32830 * intl/dcgettext.c: Remove use of INTDEF.
32831 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32832 * string/argz-stringify.c: Likewise.
32833 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32834 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32835 Declare hidden proto.
32836 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32837 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32838 Declare hidden proto.
32839 * include/stdio.h (__asprintf_internal): Don't declare.
32840 (__asprintf): Don't define as macro. Declare hidden proto.
32841 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32842 (__fsetlocking): Declare hidden proto.
32843 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32844 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32846 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32847 (_IO_setlinebuf): Remove use of INTUSE.
32848 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32849 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32850 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32851 Remove declaration.
32852 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32853 (_IO_do_flush): Remove use of INTUSE.
32854 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32855 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32856 (_IO_adjust_column, _IO_least_wmarker)
32857 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32858 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32859 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32860 (_IO_default_doallocate, _IO_wdefault_doallocate)
32861 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32862 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32863 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32864 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32865 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32866 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32867 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32868 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32869 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32870 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32871 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32872 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32873 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32875 (_IO_flush_all_internal, _IO_adjust_column_internal)
32876 (_IO_default_uflow_internal, _IO_default_finish_internal)
32877 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32878 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32879 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32880 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32881 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32882 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32883 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32884 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32885 (_IO_file_close_internal, _IO_file_close_it_internal)
32886 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32887 (_IO_file_init_internal, _IO_file_attach_internal)
32888 (_IO_file_fopen_internal, _IO_file_read_internal)
32889 (_IO_file_sync_internal, _IO_file_seek_internal)
32890 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32891 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32892 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32893 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32894 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32895 (_IO_list_all_internal, _IO_link_in_internal)
32896 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32897 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32898 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32899 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32900 (_IO_do_write_internal, _IO_padn_internal)
32901 (_IO_getline_info_internal, _IO_getline_internal)
32902 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32903 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32904 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32905 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32906 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32907 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32908 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32909 with libc_hidden_ver, remove use of INTUSE.
32910 * libio/genops.c: Likewise.
32911 * libio/freopen.c: Likewise.
32912 * libio/freopen64.c: Likewise.
32913 * libio/iofclose.c: Likewise.
32914 * libio/iofdopen.c: Likewise.
32915 * libio/iofflush.c: Likewise.
32916 * libio/iofflush_u.c: Likewise.
32917 * libio/iofgets.c: Likewise.
32918 * libio/iofgets_u.c: Likewise.
32919 * libio/iofopen.c: Likewise.
32920 * libio/iofopncook.c: Likewise.
32921 * libio/iofread.c: Likewise.
32922 * libio/iofread_u.c: Likewise.
32923 * libio/ioftell.c: Likewise.
32924 * libio/iofwrite.c: Likewise.
32925 * libio/iogetline.c: Likewise.
32926 * libio/iogets.c: Likewise.
32927 * libio/iogetwline.c: Likewise.
32928 * libio/iopadn.c: Likewise.
32929 * libio/iopopen.c: Likewise.
32930 * libio/ioseekoff.c: Likewise.
32931 * libio/ioseekpos.c: Likewise.
32932 * libio/iosetbuffer.c: Likewise.
32933 * libio/iosetvbuf.c: Likewise.
32934 * libio/ioungetc.c: Likewise.
32935 * libio/ioungetwc.c: Likewise.
32936 * libio/iovdprintf.c: Likewise.
32937 * libio/iovsprintf.c: Likewise.
32938 * libio/iovsscanf.c: Likewise.
32939 * libio/memstream.c: Likewise.
32940 * libio/obprintf.c: Likewise.
32941 * libio/oldfileops.c: Likewise.
32942 * libio/oldiofclose.c: Likewise.
32943 * libio/oldiofdopen.c: Likewise.
32944 * libio/oldiofopen.c: Likewise.
32945 * libio/oldiopopen.c: Likewise.
32946 * libio/oldstdfiles.c: Likewise.
32947 * libio/putc.c: Likewise.
32948 * libio/setbuf.c: Likewise.
32949 * libio/setlinebuf.c: Likewise.
32950 * libio/stdfiles.c: Likewise.
32951 * libio/strops.c: Likewise.
32952 * libio/vasprintf.c: Likewise.
32953 * libio/vscanf.c: Likewise.
32954 * libio/vsnprintf.c: Likewise.
32955 * libio/vswprintf.c: Likewise.
32956 * libio/wfiledoalloc.c: Likewise.
32957 * libio/wfileops.c: Likewise.
32958 * libio/wgenops.c: Likewise.
32959 * libio/wmemstream.c: Likewise.
32960 * libio/wstrops.c: Likewise.
32961 * libio/__fpurge.c: Likewise.
32962 * libio/__fsetlocking.c: Likewise.
32963 * assert/assert.c: Likewise.
32964 * debug/fgets_chk.c: Likewise.
32965 * debug/fgets_u_chk.c: Likewise.
32966 * debug/fread_chk.c: Likewise.
32967 * debug/fread_u_chk.c: Likewise.
32968 * debug/gets_chk.c: Likewise.
32969 * debug/obprintf_chk.c: Likewise.
32970 * debug/vasprintf_chk.c: Likewise.
32971 * debug/vdprintf_chk.c: Likewise.
32972 * debug/vsnprintf_chk.c: Likewise.
32973 * debug/vsprintf_chk.c: Likewise.
32974 * malloc/mtrace.c: Likewise.
32975 * misc/error.c: Likewise.
32976 * misc/syslog.c: Likewise.
32977 * stdio-common/asprintf.c: Likewise.
32978 * stdio-common/fxprintf.c: Likewise.
32979 * stdio-common/getw.c: Likewise.
32980 * stdio-common/isoc99_fscanf.c: Likewise.
32981 * stdio-common/isoc99_scanf.c: Likewise.
32982 * stdio-common/isoc99_vfscanf.c: Likewise.
32983 * stdio-common/isoc99_vscanf.c: Likewise.
32984 * stdio-common/isoc99_vsscanf.c: Likewise.
32985 * stdio-common/printf-prs.c: Likewise.
32986 * stdio-common/printf_fp.c: Likewise.
32987 * stdio-common/printf_fphex.c: Likewise.
32988 * stdio-common/printf_size.c: Likewise.
32989 * stdio-common/putw.c: Likewise.
32990 * stdio-common/scanf.c: Likewise.
32991 * stdio-common/sprintf.c: Likewise.
32992 * stdio-common/tmpfile.c: Likewise.
32993 * stdio-common/vfprintf.c: Likewise.
32994 * stdio-common/vfscanf.c: Likewise.
32995 * stdlib/strfmon_l.c: Likewise.
32996 * sunrpc/openchild.c: Likewise.
32997 * sunrpc/xdr_stdio.c: Likewise.
32998 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32999 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33001 2012-05-24 Roland McGrath <roland@hack.frob.com>
33003 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33005 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33006 in the third column, to generate for the shared library an IFUNC
33007 that uses _dl_vdso_vsym.
33008 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33009 * Makeconfig (object-suffixes-noshared): New variable.
33011 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33012 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33013 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33014 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33017 * include/sys/time.h (__gettimeofday): Remove macro.
33018 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33019 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33021 (__gettimeofday): Add libc_hidden_def.
33022 (gettimeofday): Add libc_hidden_weak.
33023 * sysdeps/mach/gettimeofday.c: Likewise.
33024 * sysdeps/posix/gettimeofday.c: Likewise.
33025 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33026 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33027 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33028 (__gettimeofday_internal): Remove strong_alias.
33029 (__gettimeofday): Add libc_hidden_def.
33030 (gettimeofday): Add libc_hidden_weak.
33031 * sysdeps/unix/syscalls.list (gettimeofday):
33032 Remove __gettimeofday_internal alias.
33034 2012-05-24 Daniel Jacobowitz <drow@false.org>
33035 H.J. Lu <hongjiu.lu@intel.com>
33038 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33039 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33040 (largebin_index_32_big): New.
33041 (largebin_index): Use it for 16-byte alignment.
33042 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33043 correction with front_misalign.
33045 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33073 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33074 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33076 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33080 * math/libm-test.inc (exp_test): Add test from bug 14036.
33081 (pow_test): Add test from bug 10846.
33083 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33085 (special_function): Do not include flags in test name.
33086 (parse_args): Likewise.
33087 * sysdeps/i386/fpu/libm-test-ulps: Update.
33088 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33089 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33090 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33093 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33095 * math/libm-test.inc ("Philosophy"): Update comment about
33097 (UNDERFLOW_EXCEPTION): New macro.
33098 (UNDERFLOW_EXCEPTION_OK): Likewise.
33099 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33100 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33101 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33102 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33103 (INVALID_EXCEPTION_OK): Update value.
33104 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33105 (OVERFLOW_EXCEPTION_OK): Likewise.
33106 (IGNORE_ZERO_INF_SIGN): Likewise.
33107 (test_exceptions): Handle underflow exceptions.
33108 (acos_test): Update for underflow exception expectations.
33109 (cexp_test): Likewise.
33110 (clog_test): Likewise.
33111 (clog10_test): Likewise.
33112 (csqrt_test): Likewise.
33113 (ctan_test): Likewise.
33114 (ctanh_test): Likewise.
33115 (exp_test): Likewise.
33116 (exp10_test): Likewise.
33117 (exp2_test): Likewise.
33118 (expm1_test): Likewise.
33119 (fma_test): Likewise.
33120 (j0_test): Likewise.
33121 (jn_test): Likewise.
33122 (nexttoward_test): Likewise.
33123 (pow_test): Likewise.
33124 (scalbn_test): Likewise.
33125 (scalbln_test): Likewise.
33126 (tan_test): Likewise.
33127 (y1_test): Likewise.
33128 * sysdeps/i386/fpu/libm-test-ulps: Update.
33129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33131 2012-05-23 David S. Miller <davem@davemloft.net>
33133 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33134 (__libc_sigaction): Remove unused local variables.
33136 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33138 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33140 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33142 mktime: avoid signed integer overflow
33143 * time/mktime.c (__mktime_internal): Do not mishandle the case
33144 where diff == INT_MIN.
33146 mktime: simplify computation of average
33147 * time/mktime.c (ranged_convert): Use new time_t_avg function
33148 instead of rolling our own (probably-slower) code.
33150 mktime: do not assume signed right shift propagates sign bit
33151 * time/mktime.c (isdst_differ): New static function.
33152 (__mktime_internal): No need to normalize tm_isdst now.
33153 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33156 mktime: merge another wrapv change from gnulib
33157 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33158 from some compilers.
33160 mktime: remove incorrect attempt at unusual arithmetics
33161 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33162 The code didn't really work on such machines anyway.
33163 (TYPE_MINIMUM): Assume two's complement.
33164 (twos_complement_arithmetic): Verify that long_int and time_t
33165 are two's complement (or unsigned, in the latter case).
33167 mktime: check signed shifts on long_int and time_t, too
33168 * time/mktime.c (SHR): Check that shifts work as desired
33169 on the types long_int and time_t too, as SHR is used on
33172 mktime: do not assume 'long' is wide enough
33173 * time/mktime.c (verify): Move decl up.
33174 (long_int): New type.
33175 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33176 to remove assumption in the code that 'long' is wide enough to
33177 store year values. This assumption is not true on x32 and on
33178 some non-glibc platforms.
33180 mktime: merge wrapv change from gnulib
33181 * time/mktime.c (WRAPV): New macro.
33182 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33183 (guess_time_tm, __mktime_internal): Do not assume that signed
33184 integer overflow wraps around; modern compilers generate code
33185 where this assumption is no longer valid.
33187 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33189 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33190 Replace "jmp L(pseudo_end)" with "ret".
33191 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33194 2012-05-23 Andreas Jaeger <aj@suse.de>
33196 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33197 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33199 2012-05-23 Andreas Jaeger <aj@suse.de>
33200 Maximilian Attems <max@stro.at>
33202 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33205 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33207 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33208 code so that pseudo_end is just ret and the stack pointer is
33209 correct also for static library in error case.
33211 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33213 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33214 move to syscalls.list.
33215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33220 * manual/install.texi (Running make install): Do not mention Linux
33221 kernel version for which pt_chown is not needed.
33222 (Linux): Do not mention problems with nscd with 2.0 kernels.
33223 * INSTALL: Regenerated.
33225 2012-05-23 Andreas Jaeger <aj@suse.de>
33227 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33228 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33230 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33231 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33232 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33233 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33234 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33235 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33236 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33237 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33238 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33239 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33240 * sysdeps/unix/sysv/linux/bits/in.h
33241 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33243 2012-05-22 Roland McGrath <roland@hack.frob.com>
33245 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33246 (PREPARE_VERSION): Just use assert instead, it will be elided
33247 under [NDEBUG] anyway.
33249 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33251 * sysdeps/unix/sysv/linux/Makefile: Include
33252 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33253 (sysdep_routines): Remove sysctl.
33254 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33255 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33256 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33257 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33258 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33260 2012-05-22 Andreas Jaeger <aj@suse.de>
33262 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33263 that pseudo_end is just ret and the stack pointer is correct also
33264 for static library in error case.
33266 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33269 * nss/nsswitch.c (defconfig_entries): New variable.
33270 (__nss_database_lookup): Don't leak defconfig entries.
33271 (nss_parse_service_list): Don't leak on error paths.
33272 (free_database_entries): New function.
33273 (free_defconfig): New function.
33274 (free_mem): Move common code to free_database_entries.
33276 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33278 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33280 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33282 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33283 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33284 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33286 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33287 (INTERNAL_SYSCALL_TYPES): Likewise.
33288 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33289 (LOAD_REGS_TYPES_[1-6]): Likewise.
33290 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33291 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33293 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33295 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33296 copysignl for GLIBC_2_0.
33297 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33298 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33299 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33300 logbl for GLIBC_2_0.
33301 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33302 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33304 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33307 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33309 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33312 * time/mktime.c: Update copyright years.
33314 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33316 mktime: merge comment-quoting-style change from gnulib
33317 * time/mktime.c: Quote 'like this' in comments.
33318 The GNU coding standards suggest that we no longer quote `like this',
33319 as "`" and "'" are typically rendered asymmetrically nowadays.
33320 The typical gnulib style is to quote 'like this' when quoting
33321 code, and "like this" when quoting English.
33323 * time/mktime.c (compile-command): Add "-I.".
33325 mktime: merge mktime-internal.h change from gnulib
33326 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33328 mktime: merge time_r change from gnulib
33329 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33331 mktime: merge DEBUG change from gnulib
33332 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33333 case system <time.h> has a #define.
33335 mktime: merge <sys/types.h> change from gnulib
33336 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33337 since <time.t> is now guaranteed to define time_t.
33339 mktime: merge HAVE_CONFIG_H change from gnulib
33340 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33342 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33347 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33349 (struct rusage): Use anonymous union to pad each field to
33352 2012-05-21 David S. Miller <davem@davemloft.net>
33354 * Makefules (o-iterator): Remove .s cases.
33355 (compile-command.s): Delete.
33356 (COMPILE.s): Delete.
33357 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33359 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33361 * configure.in (libc_cv_predef_stack_protector): Only consider
33362 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33363 * configure: Regenerated.
33365 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33368 New macro. Use R*LP on int and pointer.
33369 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33370 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33371 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33372 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33374 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33375 [__WORDSIZE_TIME64_COMPAT32] instead of
33376 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33377 (struct utmp): Likewise.
33378 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33379 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33381 (__WORDSIZE_TIME64_COMPAT32): This.
33382 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33383 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33384 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33385 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33386 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33387 (__WORDSIZE_TIME64_COMPAT32): New macro.
33389 2012-05-21 Andreas Jaeger <aj@suse.de>
33391 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33392 only if [SHARED]. Add prototype for __wcschr_ia32.
33394 2012-05-21 Roland McGrath <roland@hack.frob.com>
33396 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33397 of %rbp unmolested in the jmp_buf while mangling the low bits.
33398 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33399 unmolested high bits of %rbp while demangling the low bits.
33400 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33402 2012-05-21 Andreas Jaeger <aj@suse.de>
33404 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33405 * sunrpc/svc_simple.c: Use it for registerrpc.
33406 * sunrpc/xcrypt.c: Use it for passwd2des.
33408 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33410 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33412 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33413 Don't define if [__SYSCALL_WORDSIZE != 32].
33414 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33417 2012-05-21 Bruno Haible <bruno@clisp.org>
33418 Andreas Jaeger <aj@suse.de>
33420 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33421 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33422 inptr and inend for must_buffer_ch.
33423 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33424 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33425 * stdio-common/Makefile (tests): Remove bug15.
33426 (bug15-ENV): Remove macro.
33427 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33430 2012-05-19 Andreas Jaeger <aj@suse.de>
33431 Roland McGrath <roland@hack.frob.com>
33433 * manual/contrib.texi: Completely rewritten. It contains now an
33434 alphabetical list of contributors and their contributions.
33436 2012-05-21 Richard Henderson <rth@twiddle.net>
33438 * misc/getauxval.c (__getauxval): Use unsigned long int.
33439 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33440 (getauxval): Use unsigned long int.
33442 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33444 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33446 2012-05-21 Roland McGrath <roland@hack.frob.com>
33448 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33449 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33450 __alignof__ (long double).
33452 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33456 2012-05-20 Richard Henderson <rth@twiddle.net>
33458 * misc/getauxval.c: New file.
33459 * misc/sys/auxv.h: New file.
33460 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33461 (routines): Add getauxval.
33462 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33463 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33464 * elf/dl-sysdep.c (_dl_auxv): Remove.
33465 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33466 * elf/dl-support.c (_dl_auxv): New variable.
33467 (_dl_aux_init): Initialize it.
33468 * manual/startup.texi (Auxiliary Vector): New node.
33469 * sysdeps/generic/bits/hwcap.h: New file.
33470 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33471 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33472 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33473 * sysdeps/sparc/sysdep.h: ... here. Include it.
33474 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33475 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33481 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33487 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33491 2012-05-19 David S. Miller <davem@davemloft.net>
33493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33495 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33498 * math/s_ccosh.c: Include <float.h>
33499 (__ccosh): Avoid internal overflow calculating sinh and cosh
33500 values before multiplying by sin and cos values.
33501 * math/s_ccoshf.c: Likewise.
33502 * math/s_ccoshl.c: Likewise.
33503 * math/s_csin.c: Likewise.
33504 * math/s_csinf.c: Likewise.
33505 * math/s_csinl.c: Likewise.
33506 * math/s_csinh.c: Likewise.
33507 * math/s_csinhf.c: Likewise.
33508 * math/s_csinhl.c: Likewise.
33509 * math/libm-test.inc (ccos_test): Add more tests.
33510 (ccosh_test): Likewise.
33511 (csin_test): Likewise.
33512 (csinh_test): Likewise.
33513 * sysdeps/i386/fpu/libm-test-ulps: Update.
33514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33516 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33518 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33519 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33521 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33523 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33525 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33526 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33527 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33528 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33529 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33530 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33531 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33532 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33533 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33534 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33535 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33536 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33537 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33538 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33539 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33540 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33541 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33542 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33543 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33544 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33545 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33546 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33547 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33548 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33549 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33550 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33551 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33552 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33553 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33554 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33555 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33557 2012-05-18 Andreas Jaeger <aj@suse.de>
33559 * csu/.gitignore: Delete.
33561 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33563 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33564 (timex): Use __syscall_slong_t.
33566 2012-05-18 Andreas Jaeger <aj@suse.de>
33567 Carlos O'Donell <carlos_odonell@mentor.com>
33569 * manual/install.texi (Configuring and compiling): Update
33570 description about files modified in the source directory.
33571 * INSTALL: Regenerated.
33573 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33575 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33576 value. Use "or" to set return value to -1.
33577 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33578 negate return value.
33580 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33582 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33583 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33584 failure if the compiler has Graphite support disabled.
33585 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33587 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33588 (CFLAGS-memmove.c): Likewise.
33589 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33592 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33594 * sysdeps/x86_64/x32/_itoa.h: New file.
33596 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33597 getdents system call only if kernel and user dirents have the
33598 same d_ino and d_off.
33600 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33601 LLONG_MAX != LONG_MAX.
33602 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33603 (_fitoa_word): Likewise.
33605 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33607 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33608 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33609 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33611 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33612 include <bits/wordsize.h>. Check __x86_64__ instead of
33614 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33615 if __x86_64__ is defined. Use anonymous union on fpstate.
33617 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33620 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33622 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33623 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33624 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33625 Refer to _rtld_local_ro instead of _rtld_global_ro.
33626 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33628 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33630 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33632 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33633 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33634 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33636 * sysdeps/powerpc/powerpc32/dl-machine.c
33637 (__elf_machine_runtime_setup) [PROF]: Don't reference
33640 2012-05-18 Andreas Jaeger <aj@suse.de>
33642 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33643 function only available for GCCs before 3.4 since GCC 3.4
33644 introduced a builtin.
33646 (llrintf): Likewise.
33647 (llrint): Likewise.
33654 (nearbyint): Likewise.
33655 (nearbyintf): Likewise.
33659 (floorf): Likewise.
33661 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33663 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33664 on both fields and cast pointer to __syscall_ulong_t.
33666 * bits/types.h (__fsword_t): New type.
33667 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33668 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33669 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33670 (__FSWORD_T_TYPE): Likewise.
33671 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33672 (__FSWORD_T_TYPE): Likewise.
33673 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33674 (__FSWORD_T_TYPE): Likewise.
33675 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33676 (__FSWORD_T_TYPE): Likewise.
33677 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33678 __SWORD_TYPE with __fsword_t.
33679 (statfs64): Likewise.
33681 2012-05-17 David S. Miller <davem@davemloft.net>
33683 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33685 2012-05-17 Andreas Jaeger <aj@suse.de>
33687 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33690 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33692 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33694 2012-05-17 Andreas Jaeger <aj@suse.de>
33696 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33699 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33701 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33703 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33705 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33706 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33708 2012-05-17 Andreas Jaeger <aj@suse.de>
33709 Carlos O'Donell <carlos_odonell@mentor.com>
33712 * sysdeps/x86_64/multiarch/init-arch.h
33713 (bit_YMM_Usable): Rename to...
33714 (bit_AVX_Usable): ... this.
33715 (bit_FMA4_Usable): New macro.
33716 (bit_XMM_state): New macro.
33717 (bit_YMM_state): New macro.
33718 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33719 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33720 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33721 (CPUID_OSXSAVE): New macro.
33722 (CPUID_AVX): New macro.
33723 (CPUID_FMA4): New macro.
33724 (index_YMM_Usable): Rename to...
33725 (index_AVX_Usable): ... this.
33726 (HAS_AVX): Use HAS_ARCH_FEATURE.
33727 (HAS_FMA4): Likewise.
33728 (HAS_YMM_USABLE): Remove.
33729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33730 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33732 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33733 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33734 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33735 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33736 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33738 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33740 * math/libm-test.c: Support platforms without multiple rounding modes.
33741 * math/bug-nextafter.c: Support platforms without FP exceptions.
33742 * math/bug-nexttoward.c: Likewise.
33743 * math/test-fenv.c: Likewise.
33744 * math/test-misc.c: Likewise.
33745 * stdlib/bug-getcontext.c: Likewise.
33747 2012-05-17 Andreas Jaeger <aj@suse.de>
33749 * manual/examples/search.c (critter_cmp): Change signature to
33751 * manual/string.texi (Collation Functions): Likewise.
33753 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33755 * bits/types.h: Fold copyright years.
33756 * bits/typesizes.h: Likewise.
33757 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33759 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33761 * time/time.h: Likewise.
33763 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33766 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33767 in instead of returning them. Return void.
33768 (__libc_mallinfo): Accumulate over all arenas.
33769 (__malloc_stats): Adjust for change in int_mallinfo interface.
33771 2012-05-16 Roland McGrath <roland@hack.frob.com>
33774 * configure.in (NM): Add AC_CHECK_TOOL for it.
33775 (libc_extra_cflags): New substituted variable.
33776 Check for -fstack-protector being used implicitly.
33777 * configure: Regenerated.
33778 * config.make.in (config-extra-cflags): New variable,
33779 gets @libc_extra_cflags@.
33780 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33783 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33784 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33785 * configure: Regenerated.
33786 * config.make.in (CPPUNDEFS): New substituted variable.
33787 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33788 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33789 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33791 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33793 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33794 (mq_attr): Use __syscall_slong_t.
33796 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33798 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33799 Check __x86_64__ instead of __WORDSIZE.
33800 (_STAT_VER_LINUX): Likewise.
33801 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33802 __syscall_ulong_t and __syscall_slong_t.
33803 (stat64): Likewise.
33805 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33807 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33809 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33811 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33813 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33815 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33818 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33819 include <bits/wordsize.h>. Check __x86_64__ instead of
33821 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33823 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33825 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33826 include <bits/wordsize.h>. Check __x86_64__ instead of
33828 (user_regs_struct): Use "__extension__ unsigned long long"
33829 instead of "unsigned long" if __x86_64__ is defined.
33830 (user): Likewise. Pad after pointer field if __ILP32__ is
33833 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33835 * configure.in (makeinfo): Require version 4.5 or later. Allow
33837 * configure: Regenerated.
33838 * manual/install.texi (texinfo): Increase version requirement to
33840 * INSTALL: Regenerated.
33842 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33844 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33846 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33848 * sysdeps/x86_64/x32/ffs.c: New file.
33850 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33852 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33853 defined. Use __syscall_ulong_t.
33854 (shminfo): Use __syscall_ulong_t.
33855 (shm_info): Likewise.
33857 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33860 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33862 (msgqnum_t): Use __syscall_ulong_t.
33863 (msglen_t): Likewise.
33864 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33867 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33868 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33870 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33872 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33873 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33875 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33878 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33879 include <bits/wordsize.h>. Check __x86_64__ instead of
33882 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33883 "unsigned long long int" if __x86_64__ is defined.
33884 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33886 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33887 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33888 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33890 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33892 (GET_PC): Cast to uintptr_t first.
33893 (GET_FRAME): Likewise.
33894 (GET_STACK): Likewise.
33896 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33897 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33898 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33899 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33900 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33901 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33902 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33903 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33904 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33905 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33906 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33907 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33908 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33909 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33910 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33911 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33912 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33913 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33914 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33915 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33916 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33917 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33918 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33919 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33920 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33921 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33922 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33923 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33924 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33926 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33928 * Makerules (+depfiles): Also collect depfiles from .oS in
33930 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33931 .oS, $(libnldbl-routines)).
33933 * Makerules (native-compile-mkdep-flags): Define.
33934 * sunrpc/Makefile (extra-objs): Add $(addprefix
33935 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33936 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33937 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33938 calling $(make-target-directory).
33940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33942 * bits/types.h (__snseconds_t): Removed.
33943 * time/time.h (struct timespec): Replace __snseconds_t with
33945 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33946 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33948 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33949 (__SNSECONDS_T_TYPE): Likewise.
33950 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33951 (__SNSECONDS_T_TYPE): Likewise.
33952 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33953 (__SNSECONDS_T_TYPE): Likewise.
33955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33957 * sysdeps/mach/hurd/bits/typesizes.h
33958 (__SYSCALL_SLONG_TYPE): New macro.
33959 (__SYSCALL_ULONG_TYPE): Likewise.
33961 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33963 * bits/types.h (__syscall_slong_t): New type.
33964 (__syscall_ulong_t): Likewise.
33966 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33967 (__SYSCALL_ULONG_TYPE): Likewise.
33968 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33969 (__SYSCALL_SLONG_TYPE): Likewise.
33970 (__SYSCALL_ULONG_TYPE): Likewise.
33971 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33972 (__SYSCALL_SLONG_TYPE): Likewise.
33973 (__SYSCALL_ULONG_TYPE): Likewise.
33974 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33975 (__SYSCALL_SLONG_TYPE): Likewise.
33976 (__SYSCALL_ULONG_TYPE): Likewise.
33978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33980 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33981 Add sigaltstack-offsets.sym.
33982 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33983 <sigaltstack-offsets.h>.
33984 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33985 longjmp_msg pointer.
33986 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33987 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33989 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33991 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33993 * elf/stackguard-macros.h: Remove file.
33994 * sysdeps/generic/stackguard-macros.h: New file.
33995 * sysdeps/i386/stackguard-macros.h: Likewise.
33996 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33997 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33998 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33999 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34000 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34001 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34002 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34003 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34004 <elf/stackguard-macros.h>.
34007 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34008 __aligned__ in attribute.
34009 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34010 (gregset_t): Likewise.
34012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34014 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34015 * sysdeps/x86_64/64/Implies-after: Here. New file.
34016 * sysdeps/x86_64/x32/Implies-after: New file.
34018 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34020 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34021 and access return value for _dl_profile_fixup. Use R10_LP to
34024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34026 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34030 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34031 * sysdeps/x86_64/x32/sysdep.h: New file.
34033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34035 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34036 * sysdeps/x86_64/setjmp.S: Likewise.
34038 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34040 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34041 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34042 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34043 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34044 remove unused global constant.
34046 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34048 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34049 include of <not-cancel.h>.
34051 2012-05-15 Roland McGrath <roland@hack.frob.com>
34053 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34055 2012-05-15 Jeff Law <law@redhat.com>
34056 Andreas Jaeger <aj@suse.de>
34059 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34061 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34062 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34063 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34064 code changing __hst_map_handle.map.
34066 2012-05-15 Roland McGrath <roland@hack.frob.com>
34068 * configure.in (sysnames): Look for Implies-before and Implies-after
34070 * configure: Regenerated.
34072 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34074 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34075 8-byte data alignment with LP_SIZE alignment.
34077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34079 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34084 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34088 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34089 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34090 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34092 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34096 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34097 (stackinfo_sub_sp): Likewise.
34099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34101 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34106 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34111 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34114 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34116 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34120 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34121 into R11_LP and load __x86_64_shared_cache_size_half into
34124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34126 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34129 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34131 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34133 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34137 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34138 powerpc32/power7/fpu/s_logb.c via #include.
34139 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34140 powerpc32/power7/fpu/s_logbf.c via #include.
34141 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34142 powerpc32/power7/fpu/s_logbl.c via #include.
34144 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34146 * README.libm: Remove file.
34148 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34150 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34151 count for x32. Use R*_LP and omit operand-size suffix.
34153 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34155 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34156 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34157 * sysdeps/x86_64/x32/shlib-versions: New file.
34159 2012-05-14 Roland McGrath <roland@hack.frob.com>
34161 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34162 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34163 Use _dl_fatal_printf instead.
34165 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34167 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34168 set if not set by the user. Do not allow for being unset.
34169 * sysdeps/unix/sysv/linux/configure: Regenerated.
34171 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34173 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34174 the `q' suffix from lea and replace .quad with ASM_ADDR.
34176 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34179 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34181 (PTR_DEMANGLE): Likewise.
34183 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34185 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34187 (ASM_ADDR): Likewise.
34188 (RAX_LP): Likewise.
34189 (RBP_LP): Likewise.
34190 (RBX_LP): Likewise.
34191 (RCX_LP): Likewise.
34192 (RDI_LP): Likewise.
34193 (RSI_LP): Likewise.
34194 (RSP_LP): Likewise.
34197 (R10_LP): Likewise.
34198 (R10_LP): Likewise.
34199 (R11_LP): Likewise.
34200 (R12_LP): Likewise.
34201 (R13_LP): Likewise.
34202 (R14_LP): Likewise.
34203 (R15_LP): Likewise.
34205 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34207 * sysdeps/x86_64/x32/dl-machine.h: New file.
34209 2012-05-14 Andreas Jaeger <aj@suse.de>
34211 * manual/Makefile (subdir): Remove export of subdir.
34212 (all): Remove target.
34213 (.PHONY): Remove all from list.
34214 (mkinstalldirs): Remove.
34215 (.PHONY): Remove installdirs from list.
34216 ($(inst_infodir)/libc.info): Use make-target-directory.
34217 (installdirs): Remove.
34218 (subdir_%): Remove.
34219 (glibc-targets): Remove.
34222 ($(objpfx)stubs ../po/manual.pot): Remove.
34223 ($(objpfx)stamp%): Remove.
34224 (make-target-directory): Remove.
34225 (subdir_install): Remove.
34226 (routines): Remove.
34233 * manual/.gitignore: Remove, it's not needed anymore.
34234 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34236 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34238 (texis): Renamed to $(objpfx)texis.
34239 (texis-path): New, contains path to generated files.
34240 (chapters.%): Use texis-path for complete path, add extra argument
34242 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34243 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34244 (summary,texi, stamp-summary): Use complete path of
34245 files. Generate files in build dir.
34246 (dir-add.texi): Build in build dir.
34247 (libm-err.texi,stamp-libm-err): Likewise.
34248 (version.texi, stamp-version): Likewise.
34249 (.%c.texi): Likewise.
34250 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34251 (mostlyclean): Remove target.
34252 (realclean): Remove target.
34253 (generated): Add new variable with contents from mostlyclean and
34254 realclean, remove entries duplicated in common-mostlyclean, add
34255 stamp-libm-err and stamp-version.
34256 (generated-dirs): Add libc directory.
34257 ($(inst_infodir)/libc.info): Install files from build dir.
34259 * manual/install.texi (Configuring and compiling): Adjust since
34260 the info files are not part of the tar ball anymore.
34262 2012-05-14 Andreas Jaeger <aj@suse.de>
34264 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34267 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34271 to 2.2.0 where earlier.
34272 * sysdeps/unix/sysv/linux/configure: Regenerated.
34273 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34274 Remove conditional code.
34275 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34276 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34277 Remove conditional code.
34278 [!__NR_lchown]: Likewise.
34279 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34280 [__NR_lchown]: Likewise.
34281 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34282 comment referencing __ASSUME_LCHOWN_SYSCALL.
34283 * sysdeps/unix/sysv/linux/i386/sigaction.c
34284 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34285 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34286 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34287 Remove conditional code.
34288 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34289 (__protocol_available): Remove #if 0 code.
34290 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34292 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34293 * sysdeps/unix/sysv/linux/kernel-features.h
34294 (__ASSUME_GETCWD_SYSCALL): Don't define.
34295 (__ASSUME_REALTIME_SIGNALS): Likewise.
34296 (__ASSUME_PREAD_SYSCALL): Likewise.
34297 (__ASSUME_PWRITE_SYSCALL): Likewise.
34298 (__ASSUME_POLL_SYSCALL): Likewise.
34299 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34300 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34302 (__ASSUME_SIOCGIFNAME): Don't define.
34303 (__ASSUME_MSG_NOSIGNAL): Likewise.
34304 (__ASSUME_SENDFILE): Define unconditionally.
34305 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34306 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34308 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34309 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34310 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34311 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34312 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34313 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34314 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34316 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34319 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34322 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34325 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34328 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34331 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34334 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34335 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34337 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34339 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34340 Remove conditional code.
34341 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34342 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34343 Remove conditional code.
34344 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34345 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34346 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34347 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34348 Remove conditional code.
34349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34350 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34351 Remove conditional code.
34352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34353 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34354 Remove conditional code.
34355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34356 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34357 Remove conditional code.
34358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34359 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34360 Remove conditional code.
34361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34362 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34363 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34365 * sysdeps/unix/sysv/linux/sigaction.c
34366 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34367 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34368 * sysdeps/unix/sysv/linux/sigpending.c
34369 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34370 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34371 * sysdeps/unix/sysv/linux/sigprocmask.c
34372 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34373 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34374 * sysdeps/unix/sysv/linux/sigsuspend.c
34375 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34376 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34377 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34378 (__libc_missing_rt_sigs): Remove.
34379 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34380 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34381 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34382 Remove conditional code.
34383 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34384 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34386 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34387 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34388 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34389 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34391 2012-05-14 Andreas Jaeger <aj@suse.de>
34393 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34394 it's not used in glibc.
34395 (__coshm1): Likewise.
34396 (__acosh1p): Likewise.
34399 * manual/string.texi (Copying and Concatenation): Add missing
34400 variable in concat example.
34401 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34403 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34406 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34407 __builtin_clzl with __builtin_clzll.
34409 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34412 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34415 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34417 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34418 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34419 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34420 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34422 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34424 * NEWS: Update ia64 info.
34426 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34428 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34431 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34433 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34434 * sysdeps/unix/syscalls.list (dup3): Likewise.
34435 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34436 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34438 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34440 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34441 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34443 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34445 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34447 (TLS_IE): Use mov/add instead of movq/addq to load thread
34449 (TLS_GD_PREFIX): New.
34452 2012-05-11 David S. Miller <davem@davemloft.net>
34454 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34455 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34456 (_FPU_SETCW): Likewise.
34458 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34460 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34461 is 32-byte aligned.
34463 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34466 * iconvdata/gb18030.c: Update tables.
34467 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34468 characters specially.
34469 (BODY for TO_LOOP): Add encoding of missing ranges.
34471 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34474 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34475 * sysdeps/mach/hurd/dup3.c: Likewise.
34476 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34477 * sysdeps/powerpc/memmove.c:: Likewise.
34479 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34481 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34482 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34484 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34486 * elf/elf.h (R_X86_64_RELATIVE64): New.
34487 (R_X86_64_NUM): Updated.
34488 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34489 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34490 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34491 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34492 tst-quad1pie tst-quad2pie
34493 (modules-names): Add tst-quadmod1 tst-quadmod2.
34494 ($(objpfx)tst-quad1): New dependency.
34495 ($(objpfx)tst-quad2): Likewise.
34496 ($(objpfx)tst-quad1pie): Likewise.
34497 ($(objpfx)tst-quad2pie): Likewise.
34498 * sysdeps/x86_64/tst-quad1.c: New file.
34499 * sysdeps/x86_64/tst-quad1pie.c: New file.
34500 * sysdeps/x86_64/tst-quad2.c: Likewise.
34501 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34502 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34503 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34504 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34505 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34507 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34509 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34510 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34511 * streams/stropts.h (t_scalar_t): Define type.
34513 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34514 (_PATH_PRESERVE): Set to "/var/lib".
34515 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34517 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34520 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34521 if __dir_mkfile succeeded.
34523 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34524 checking for _hurd_dtablesize. Unlock it right after having
34525 finished _hurd_dtable allocation.
34527 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34529 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34530 * sysdeps/mach/hurd/configure: Regenerated.
34531 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34532 special-casing to...
34533 * sysdeps/gnu/configure.in: ... this new file.
34534 * sysdeps/unix/sysv/linux/configure: Regenerated.
34535 * sysdeps/gnu/configure: New generated file.
34537 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34538 for Linux: use nsec instead of usec, as well as:
34539 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34540 members of type struct timespec.
34541 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34543 (struct stat64): Likewise.
34544 (_STATBUF_ST_NSEC): New macro.
34545 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34547 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34548 __strtoul_internal rather than strtoul.
34550 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34552 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34555 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34557 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34558 which preserves existing values.
34559 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34561 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34563 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34564 TIMEOUT values. Return EINVAL for NFDS values either negative or
34565 greater than FD_SETSIZE.
34567 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34569 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34570 allocated, call __vm_protect to finish enabling the existing space, and
34571 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34572 allocate the remainder.
34574 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34576 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34577 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34581 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34582 sysdeps/mach/hurd/readlink.c.
34584 * posix/tst-sysconf.c (posix_options): Only use
34585 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34586 _POSIX_SYNCHRONIZED_IO when they are defined
34587 * sysdeps/mach/hurd/bits/posix_opt.h:
34588 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34589 (_XOPEN_REALTIME): Undefine macro.
34590 (_XOPEN_REALTIME_THREADS): Undefine macro.
34591 (_XOPEN_SHM): Undefine macro.
34592 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34594 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34596 (_POSIX_ASYNC_IO): Undefine macro.
34597 (_POSIX_PRIORITIZED_IO): Undefine macro.
34598 (_POSIX_SPIN_LOCKS): Define macro to -1.
34600 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34601 SA_NODEFER, SA_RESETHAND.
34602 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34603 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34606 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34608 * elf/Makefile (pldd-modules): Define unconditionally.
34610 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34612 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34614 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34616 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34617 Return ENOENT when name is empty.
34618 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34620 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34622 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34624 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34626 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34628 Fix mlock in all cases except non-readable pages.
34629 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34630 instead of VM_PROT_ALL as parameter to __vm_wire function.
34632 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34633 (__mkdir): When path is `/', just fail with EEXIST.
34634 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34636 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34638 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34639 <sys/uio.h> (for writev).
34640 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34641 and <sys/param.h> (for MIN).
34643 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34645 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34646 REQUESTED_TIME. Properly set the remaining time and return EINTR
34649 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34651 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34652 Depend on against $(link-rpcuserlibs).
34654 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34656 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34657 (__libc_stack_end): Do not use attribute_relro.
34658 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34659 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34660 to libthread-provided value.
34661 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34664 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34667 * bits/libc-lock.h (__libc_once_get): New macro.
34668 * sysdeps/mach/bits/libc-lock.h: Likewise.
34669 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34670 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34671 instead of using implementation details.
34673 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34674 * libio/freopen.c: Likewise.
34675 * libio/freopen64.c: Likewise.
34676 * misc/syslog.c: Likewise.
34677 * nscd/connections.c: Likewise.
34678 * nscd/netgroupcache.c: Likewise.
34679 * sysdeps/posix/getcwd.c: Likewise.
34681 2012-05-10 Roland McGrath <roland@hack.frob.com>
34683 * math/w_ilogbf.c: Add #include <limits.h>.
34685 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34687 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34688 path instead of returning without unlocking.
34690 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34691 immediate-write ioctls.
34692 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34694 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34696 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34697 __builtin_frame_address instead of making assumptions about the
34698 location of the return address relative to DATA. Force early load of
34699 the return address.
34700 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34701 __builtin_frame_address.
34704 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34705 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34706 implement dup3 and do some further code clean-ups.
34707 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34708 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34710 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34712 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34714 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34715 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34716 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34717 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34718 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34721 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34722 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34723 when handler == SIG_ERR, not when handler != SIG_ERR.
34725 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34727 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34728 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34731 accept4 for GNU Hurd.
34732 * include/sys/socket.h (__libc_accept4): New prototype.
34733 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34734 to implement __libc_accept4.
34735 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34737 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34739 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34740 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34741 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34742 signal-defines.sym.
34744 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34746 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34748 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34750 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34751 assertion on O_CLOEXEC flag.
34752 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34753 * hurd/intern-fd.c: Likewise.
34754 * hurd/port2fd.c: Likewise.
34756 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34759 * bits/in.h (IPV6_PKTINFO): Define new macro.
34760 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34762 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34767 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34768 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34769 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34770 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34771 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34772 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34773 * math/libm-test.inc (logb_test) : Additional logb tests.
34775 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34776 Andreas Jaeger <aj@suse.de>
34778 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34779 * configure: Regenerated.
34780 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34781 * config.make.in (link-obsolete-rpc): New substituted variable.
34782 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34783 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34784 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34785 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34786 so that libc.a contains the symbols.
34787 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34788 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34789 * sunrpc/auth_none.c: Likewise.
34790 * sunrpc/auth_unix.c: Likewise.
34791 * sunrpc/authdes_prot.c: Likewise.
34792 * sunrpc/authuxprot.c: Likewise.
34793 * sunrpc/clnt_gen.c: Likewise.
34794 * sunrpc/clnt_perr.c: Likewise.
34795 * sunrpc/clnt_raw.c: Likewise.
34796 * sunrpc/clnt_simp.c: Likewise.
34797 * sunrpc/clnt_tcp.c: Likewise.
34798 * sunrpc/clnt_udp.c: Likewise.
34799 * sunrpc/clnt_unix.c: Likewise.
34800 * sunrpc/des_crypt.c: Likewise.
34801 * sunrpc/des_soft.c: Likewise.
34802 * sunrpc/get_myaddr.c: Likewise.
34803 * sunrpc/key_call.c: Likewise.
34804 * sunrpc/key_prot.c: Likewise.
34805 * sunrpc/netname.c: Likewise.
34806 * sunrpc/pm_getmaps.c: Likewise.
34807 * sunrpc/pm_getport.c: Likewise.
34808 * sunrpc/pmap_clnt.c: Likewise.
34809 * sunrpc/pmap_prot.c: Likewise.
34810 * sunrpc/pmap_prot2.c: Likewise.
34811 * sunrpc/pmap_rmt.c: Likewise.
34812 * sunrpc/publickey.c: Likewise.
34813 * sunrpc/rpc_cmsg.c: Likewise.
34814 * sunrpc/rpc_common.c: Likewise.
34815 * sunrpc/rpc_dtable.c: Likewise.
34816 * sunrpc/rpc_prot.c: Likewise.
34817 * sunrpc/rpc_thread.c: Likewise.
34818 * sunrpc/rtime.c: Likewise.
34819 * sunrpc/svc.c: Likewise.
34820 * sunrpc/svc_auth.c: Likewise.
34821 * sunrpc/svc_raw.c: Likewise.
34822 * sunrpc/svc_run.c: Likewise.
34823 * sunrpc/svc_tcp.c: Likewise.
34824 * sunrpc/svc_udp.c: Likewise.
34825 * sunrpc/svc_unix.c: Likewise.
34826 * sunrpc/svcauth_des.c: Likewise.
34827 * sunrpc/xcrypt.c: Likewise.
34828 * sunrpc/xdr.c: Likewise.
34829 * sunrpc/xdr_array.c: Likewise.
34830 * sunrpc/xdr_float.c: Likewise.
34831 * sunrpc/xdr_intXX_t.c: Likewise.
34832 * sunrpc/xdr_mem.c: Likewise.
34833 * sunrpc/xdr_rec.c: Likewise.
34834 * sunrpc/xdr_ref.c: Likewise.
34835 * sunrpc/xdr_sizeof.c: Likewise.
34836 * sunrpc/xdr_stdio.c: Likewise.
34838 2012-05-10 Roland McGrath <roland@hack.frob.com>
34840 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34841 change. Update copyright years.
34843 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34845 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34847 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34848 Joseph Myers <joseph@codesourcery.com>
34849 Paul Pluzhnikov <ppluzhnikov@google.com>
34852 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34854 [cross-compiling] (extra-libs): Likewise.
34855 [cross-compiling] (extra-libs-others): Likewise.
34856 [cross-compiling] (librpcsvc-routines): Likewise.
34857 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34858 [cross-compiling] (omit-deps): Likewise.
34859 (sunrpc-CPPFLAGS): New variable.
34860 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34861 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34862 (cross-rpcgen-objs): New variable.
34863 (extra-objs): Append $(cross-rpcgen-objs).
34864 ($(cross-rpcgen-objs)): New rule.
34865 ($(objpfx)cross-rpcgen): Likewise.
34866 (rpcgen-cmd): Define to use $(built-program-file). Expand
34868 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34869 ($(objpfx)x%.stmp): Likewise.
34870 * sunrpc/proto.h [IS_IN_build] (_): Define.
34871 [IS_IN_build] (_libc_intl_domainname): Likewise.
34873 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34875 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34876 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34877 and R_X86_64_TPOFF64.
34879 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34881 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34882 sysdeps/unix/sysv/syscalls.list.
34885 * sysdeps/unix/sysv/syscalls.list: Remove file.
34887 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34890 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34891 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34892 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34893 (__LC_IDENTIFICATION): Make these macros useful in #if
34894 expressions, as required by C99.
34896 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34898 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34899 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34902 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34904 * stdlib/longlong.h: Updated from GCC.
34906 2012-05-09 Andreas Jaeger <aj@suse.de>
34908 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34909 default is first entry.
34910 (run_mode): Set type.
34911 (main): Remove informal message about syslog.
34912 (options): Fix typo.
34915 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34918 (llrintf): Likewise.
34919 (llrint): Likewise.
34922 (nearbyint): Likewise.
34923 (nearbyintf): Likewise.
34925 2012-05-09 Andreas Jaeger <aj@suse.de>
34926 Pedro Alves <palves@redhat.com>
34928 * nscd/nscd.c (run_mode): Use enum.
34929 (main): Cleanup coding style issue.
34931 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34932 Andreas Jaeger <aj@suse.de>
34934 * nscd/nscd.c (go_background): Replaced with...
34935 (run_mode): ... this.
34936 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34937 (options): Add -F --foreground.
34938 (main): Implement it.
34939 (parse_opt): Parse it.
34941 2012-05-09 Andreas Jaeger <aj@suse.de>
34944 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34945 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34946 -Wconversion warning.
34947 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34950 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34952 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34954 (LC_ALL): Use macro-int-constant.
34955 (LC_COLLATE): Likewise.
34956 (LC_CTYPE): Likewise.
34957 (LC_MESSAGES): Likewise.
34958 (LC_MONETARY): Likewise.
34959 (LC_NUMERIC): Likewise.
34960 (LC_TIME): Likewise.
34961 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34962 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34963 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34964 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34966 [C99-based standards] (float_t): Expect type.
34967 [C99-based standards] (double_t): Expect type.
34968 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34970 [C99-based standards] (HUGE_VALL): Likewise.
34971 [C99-based standards] (INFINITY): Likewise.
34972 [C99-based standards] (NAN): Likewise.
34973 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34974 [C99-based standards] (FP_NAN): Likewise.
34975 [C99-based standards] (FP_NORMAL): Likewise.
34976 [C99-based standards] (FP_SUBNORMAL): Likewise.
34977 [C99-based standards] (FP_ZERO): Likewise.
34978 [C99-based standards] (FP_FAST_FMA): Use
34979 optional-macro-int-constant. Specify type. Require == 1.
34980 [C99-based standards] (FP_FAST_FMAF): Likewise.
34981 [C99-based standards] (FP_FAST_FMAL): Likewise.
34982 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34983 [C99-based standards] (FP_ILOGBNAN): Likewise.
34984 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34986 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34987 [C99-based standards] (math_errhandling): Specify type.
34988 [ISO99 || ISO11] (signgam): Do not allow.
34989 [non-C99-based standards] (copysignf): Do not allow.
34990 [non-C99-based standards] (exp2f): Likewise.
34991 [non-C99-based standards] (log2f): Likewise.
34992 [non-C99-based standards] (modff): Allow.
34993 [non-C99-based standards] (erff): Do not allow.
34994 [non-C99-based standards] (erfcf): Likewise.
34995 [non-C99-based standards] (gammaf): Likewise.
34996 [non-C99-based standards] (hypotf): Likewise.
34997 [non-C99-based standards] (j0f): Likewise.
34998 [non-C99-based standards] (j1f): Likewise.
34999 [non-C99-based standards] (jnf): Likewise.
35000 [non-C99-based standards] (lgammaf): Likewise.
35001 [non-C99-based standards] (tgammaf): Likewise.
35002 [non-C99-based standards] (y0f): Likewise.
35003 [non-C99-based standards] (y1f): Likewise.
35004 [non-C99-based standards] (ynf): Likewise.
35005 [non-C99-based standards] (isnanf): Likewise.
35006 [non-C99-based standards] (acoshf): Likewise.
35007 [non-C99-based standards] (asinhf): Likewise.
35008 [non-C99-based standards] (atanhf): Likewise.
35009 [non-C99-based standards] (cbrtf): Likewise.
35010 [non-C99-based standards] (expm1f): Likewise.
35011 [non-C99-based standards] (ilogbf): Likewise.
35012 [non-C99-based standards] (log1pf): Likewise.
35013 [non-C99-based standards] (logbf): Likewise.
35014 [non-C99-based standards] (nextafterf): Likewise.
35015 [non-C99-based standards] (remainderf): Likewise.
35016 [non-C99-based standards] (rintf): Likewise.
35017 [non-C99-based standards] (scalbf): Likewise.
35018 [non-C99-based standards] (copysignl): Likewise.
35019 [non-C99-based standards] (exp2l): Likewise.
35020 [non-C99-based standards] (log2l): Likewise.
35021 [non-C99-based standards] (modfl): Allow.
35022 [non-C99-based standards] (erfl): Do not allow.
35023 [non-C99-based standards] (erfcl): Likewise.
35024 [non-C99-based standards] (gammal): Likewise.
35025 [non-C99-based standards] (hypotl): Likewise.
35026 [non-C99-based standards] (j0l): Likewise.
35027 [non-C99-based standards] (j1l): Likewise.
35028 [non-C99-based standards] (jnl): Likewise.
35029 [non-C99-based standards] (lgammal): Likewise.
35030 [non-C99-based standards] (tgammal): Likewise.
35031 [non-C99-based standards] (y0l): Likewise.
35032 [non-C99-based standards] (y1l): Likewise.
35033 [non-C99-based standards] (ynl): Likewise.
35034 [non-C99-based standards] (isnanl): Likewise.
35035 [non-C99-based standards] (acoshl): Likewise.
35036 [non-C99-based standards] (asinhl): Likewise.
35037 [non-C99-based standards] (atanhl): Likewise.
35038 [non-C99-based standards] (cbrtl): Likewise.
35039 [non-C99-based standards] (expm1l): Likewise.
35040 [non-C99-based standards] (ilogbl): Likewise.
35041 [non-C99-based standards] (log1pl): Likewise.
35042 [non-C99-based standards] (logbl): Likewise.
35043 [non-C99-based standards] (nextafterl): Likewise.
35044 [non-C99-based standards] (remainderl): Likewise.
35045 [non-C99-based standards] (rintl): Likewise.
35046 [non-C99-based standards] (scalbl): Likewise.
35047 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35048 [non-C99-based standards] (FP_*): Do not allow.
35049 [C99-based standards] (FP_*): Change to
35050 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35051 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35053 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35054 (SIG_ERR): Likewise.
35055 [X/Open-based standards] (SIG_HOLD): Likewise.
35056 (SIG_IGN): Likewise.
35057 (SIGABRT): Use macro-int-constant. Specify type. Require
35059 (SIGFPE): Likewise.
35060 (SIGILL): Likewise.
35061 (SIGINT): Likewise.
35062 (SIGSEGV): Likewise.
35063 (SIGTER): Likewise.
35064 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35065 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35066 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35067 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35068 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35069 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35070 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35071 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35072 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35073 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35074 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35075 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35076 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35077 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35078 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35079 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35080 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35081 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35082 [X/Open-based standards] (SIGTRAP): Likewise.
35083 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35084 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35085 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35086 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35087 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35090 2012-05-08 Ian Wienand <ianw@vmware.com>
35093 * time/tzset.c (__tzset_parse_tz): Update default rules for
35094 daylight time changes in the Energy Policy Act of 2005.
35096 2012-05-09 Andreas Jaeger <aj@suse.de>
35099 * elf/ldconfig.c (parse_conf): Change string to make clear that
35100 ldconfig only issued a warning if ld.so.conf does not exist.
35102 2012-05-08 David S. Miller <davem@davemloft.net>
35104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35105 movxtod instead of popping the value on the stack.
35107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35109 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35111 * config.h.in: Add HAVE_ARM_PCS_VFP.
35113 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35116 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35117 checking but the checks are disabled for any reason.
35119 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35121 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35122 and ELF64_R_TYPE with ELFW(R_TYPE).
35124 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35126 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35127 (ulimit): Likewise.
35129 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35130 (settimeofday): Likewise.
35132 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35134 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35135 a struct th_u2 inside the union, and move tu_block/tu_code into
35136 a new th_u3 union of tu_block/tu_code inside of that. Move
35137 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35138 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35139 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35140 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35141 (th_stuff): Change to th_u1.tu_stuff.
35143 (th_msg): Change to th_u1.th_u2.tu_data.
35145 2012-05-07 David S. Miller <davem@davemloft.net>
35147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35150 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35151 (SETUP_PIC_REG): Use it.
35152 (SETUP_PIC_REG_LEAF): Use it.
35154 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35158 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35160 (EXPL_FINITE): Likewise.
35161 (FLDLOG): Likewise.
35162 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35163 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35165 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35167 (EXPL_FINITE): Likewise.
35168 (FLDLOG): Likewise.
35169 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35170 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35172 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35173 test of -max_value argument for long double.
35174 * sysdeps/i386/fpu/libm-test-ulps: Update.
35175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35177 2012-05-06 David S. Miller <davem@davemloft.net>
35179 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35180 quad soft-float symbols whose references which are compiler
35182 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35184 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35188 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35190 (EXPL_FINITE): Likewise.
35191 (FLDLOG): Likewise.
35194 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35195 Adjust comments for base varying.
35196 (__expl_finite): Change alias to EXPL_FINITE.
35197 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35199 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35200 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35202 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35203 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35205 (EXPL_FINITE): Likewise.
35206 (FLDLOG): Likewise.
35209 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35210 Adjust comments for base varying.
35211 (__expl_finite): Change alias to EXPL_FINITE.
35212 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35214 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35217 * math/libm-test.inc (check_float_internal): Correct ulp
35218 calculation for subnormal expected results.
35220 2012-05-06 Andreas Jaeger <aj@suse.de>
35222 * Makeconfig (+math-flags): New, set to -frounding-math.
35223 (+cflags): Add +math-flags so that all of glibc gets compiled with
35226 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35228 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35230 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35236 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35237 (__ieee754_expl): Allow for and saturate large arguments.
35238 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35239 (u_threshold): Likewise.
35240 (__exp): Call __ieee754_exp before checking for overflow and
35242 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35243 (u_threshold): Likewise.
35244 (__expf): Call __ieee754_expf before checking for overflow and
35246 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35247 (u_threshold): Likewise.
35248 (__expl): Call __ieee754_expl before checking for overflow and
35250 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35251 (__ieee754_expl): Allow for and saturate large arguments.
35252 * math/libm-test.inc (exp_test): Add another test. Do not allow
35253 missing overflow exception on overflow.
35254 (expm1_test): Do not allow missing overflow exception on overflow.
35256 * sysdeps/i386/fpu/e_expl.c: Move to ...
35257 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35258 rather than using inline asm.
35259 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35260 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35261 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35263 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35266 (signal): Likewise.
35270 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35272 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35273 sysdeps/unix/common/syscalls.list.
35274 (fchmod): Likewise.
35275 (fchown): Likewise.
35276 (ftruncate): Likewise.
35277 (getrusage): Likewise.
35278 (gettimeofday): Likewise.
35279 (setpgid): Likewise.
35280 (setregid): Likewise.
35281 (setreuid): Likewise.
35282 (sigaction): Likewise.
35283 (truncate): Likewise.
35284 (vhangup): Likewise.
35285 * sysdeps/unix/common/syscalls.list: Remove file.
35286 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35287 * sysdeps/unix/sysv/linux/Implies: Likewise.
35289 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35291 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35293 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35297 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35300 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35303 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35306 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35309 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35312 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35315 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35319 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35323 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35326 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35330 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35334 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35336 * sysdeps/unix/common/bits/dirent.h: Remove file.
35337 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35339 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35340 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35341 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35342 * sysdeps/unix/bsd/isatty.c: Likewise.
35343 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35344 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35345 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35347 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35350 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35351 long double comparison inaccuracies.
35352 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35355 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35357 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35358 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35360 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35363 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35364 nonzero digits before rounding a hex value.
35365 * stdlib/tst-strtod.c (tests): Add another test.
35367 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35369 * sysdeps/s390/fpu/libm-test-ulps: Update.
35371 2012-05-03 Andreas Jaeger <aj@suse.de>
35373 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35374 does not get optimized out.
35375 (malloc_opt_barrier): New.
35377 2012-05-03 Andreas Jaeger <aj@suse.de>
35378 Roland McGrath <roland@hack.frob.com>
35380 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35381 intermediate file deletion.
35382 (generated): Add .symlist files.
35384 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35387 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35388 Redirect under this condition.
35389 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35390 [__USE_GNU] (__dprintf_chk): Not under this condition.
35391 [__USE_GNU] (__vdprintf_chk): Likewise.
35392 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35393 under this condition.
35394 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35395 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35396 [__USE_XOPEN2K8] (vdprintf): Likewise.
35397 [__USE_GNU] (__dprintf_chk): Not under this condition.
35398 [__USE_GNU] (__vdprintf_chk): Likewise.
35399 [__USE_GNU] (dprintf): Likewise.
35400 [__USE_GNU] (vdprintf): Likewise.
35402 2012-05-03 Roland McGrath <roland@hack.frob.com>
35404 * elf/Makefile (common-generated): Set this instead of generated for
35405 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35406 $(all-built-dso)-derived lists.
35408 2012-05-03 Andreas Jaeger <aj@suse.de>
35410 * sysdeps/i386/fpu/libm-test-ulps: Update.
35413 * FAQ.in: Likewise.
35414 * scripts/gen-FAQ.pl: Likewise.
35415 * manual/install.texi (Installation): Point to online location of
35417 * Makefile (files-for-dist): Remove FAQ.
35420 2012-05-02 Allan McRae <allan@archlinux.org>
35422 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35423 (LDFLAGS-reldepmod5.so): Likewise.
35424 (LDFLAGS-reldep6mod1.so): Likewise.
35425 (LDFLAGS-reldep6mod4.so): Likewise.
35426 (LDFLAGS-reldep8mod3.so): Likewise.
35427 (LDFLAGS-unload4mod1.so): Likewise.
35428 (LDFLAGS-unload4mod2.so): Likewise.
35429 (LDFLAGS-tst-initorder): Likewise.
35430 (LDFLAGS-tst-initordera2.so): Likewise.
35431 (LDFLAGS-tst-initordera3.so): Likewise.
35432 (LDFLAGS-tst-initordera4.so): Likewise.
35433 (LDFLAGS-tst-initorderb2.so): Likewise.
35434 (LDFLAGS-noload): Likewise.
35435 (LDFLAGS-next): Likewise.
35436 (LDFLAGS-order2mod1.so): Likewise.
35437 (LDFLAGS-order2mod2.so): Likewise.
35438 (LDFLAGS-tst-initorder2): Likewise.
35439 (LDFLAGS-tst-initorder2a.so): Likewise.
35440 (LDFLAGS-tst-initorder2b.so): Likewise.
35441 (LDFLAGS-tst-initorder2c.so): Likewise.
35442 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35444 2012-05-02 David S. Miller <davem@davemloft.net>
35446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35448 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35451 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35453 2012-05-02 Andreas Jaeger <aj@suse.de>
35455 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35456 since we manipulate rounding mode.
35457 (CPPFLAGS-test-idouble.c): Likewise.
35458 (CPPFLAGS-test-ifloat.c): Likewise.
35459 (CFLAGS-test-ldouble.c): Likewise.
35460 (CFLAGS-test-double.c): Likewise.
35461 (CFLAGS-test-float.c): Likewise.
35462 (CFLAGS-test-misc.c): Likewise.
35463 (CFLAGS-test-test-fenv.c): Likewise.
35465 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35469 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35470 comparisons to determine direction to adjust input.
35472 2012-05-01 Roland McGrath <roland@hack.frob.com>
35474 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35475 output to the target.
35477 * scripts/localplt.awk: New file.
35478 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35479 (check-localplt-CFLAGS): Variable removed.
35480 ($(all-built-dso:=.jmprel)): New static pattern rule.
35481 (generated): Add those targets.
35482 (localplt-built-dso): New variable.
35483 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35485 * elf/check-localplt.c: File removed.
35487 * scripts/check-execstack.awk: New file.
35488 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35489 (check-execstack-CFLAGS): Variable removed.
35490 ($(objpfx)check-execstack.h): Target removed.
35491 ($(objpfx)execstack-default): New target.
35492 (generated): Add that instead of check-execstack.h.
35493 ($(all-built-dso:=.phdr)): New static pattern rule.
35494 (generated): Add those targets.
35495 * elf/check-execstack.c: File removed.
35497 * scripts/check-textrel.awk: New file.
35498 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35499 (check-textrel-CFLAGS): Variable removed.
35500 (all-built-dso): Use := to define.o
35501 ($(all-built-dso:=.dyn)): New static pattern rule.
35502 (generated): Add those targets.
35503 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35504 * config.make.in (READELF): New substituted variable.
35505 * elf/check-textrel.c: File removed.
35507 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35509 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35511 * conform/data/ctype.h-data [C99-based standards] (isblank):
35513 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35514 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35515 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35516 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35517 Specify type. Require positive value.
35518 (EILSEQ): Likewise.
35519 (ERANGE): Likewise.
35520 [ISO || POSIX] (EILSEQ): Do not expect.
35521 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35522 Specify type. Require positive value.
35523 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35524 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35525 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35526 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35527 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35528 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35529 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35530 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35531 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35532 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35533 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35534 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35535 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35536 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35537 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35538 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35539 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35540 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35541 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35542 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35543 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35544 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35545 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35546 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35547 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35548 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35549 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35550 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35551 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35552 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35553 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35554 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35555 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35556 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35557 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35558 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35559 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35560 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35561 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35562 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35563 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35564 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35565 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35566 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35567 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35568 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35569 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35570 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35571 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35572 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35573 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35574 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35575 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35576 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35577 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35578 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35579 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35580 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35581 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35582 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35583 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35584 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35585 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35586 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35587 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35588 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35589 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35590 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35591 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35592 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35593 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35594 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35595 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35596 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35597 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35598 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35599 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35601 (FLT_ROUNDS): Expect as macro, not constant.
35602 (FLT_MANT_DIG): Use macro-int-constant.
35603 (DBL_MANT_DIG): Likewise.
35604 (LDBL_MANT_DIG): Likewise.
35605 (FLT_DIG): Likewise.
35606 (DBL_DIG): Likewise.
35607 (LDBL_DIG): Likewise.
35608 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35609 (DBL_MIN_EXP): Likewise.
35610 (LDBL_MIN_EXP): Likewise.
35611 (FLT_MAX_EXP): Use macro-int-constant.
35612 (DBL_MAX_EXP): Likewise.
35613 (LDBL_MAX_EXP): Likewise.
35614 (FLT_MAX_10_EXP): Likewise.
35615 (DBL_MAX_10_EXP): Likewise.
35616 (LDBL_MAX_10_EXP): Likewise.
35617 (FLT_MAX): Use macro-constant.
35618 (DBL_MAX): Likewise.
35619 (LDBL_MAX): Likewise.
35620 (FLT_EPSILON): Use macro-constant. Give upper bound.
35621 (DBL_EPSILON): Likewise.
35622 (LDBL_EPSILON): Likewise.
35623 (FLT_MIN): Likewise.
35624 (DBL_MIN): Likewise.
35625 (LDBL_MIN): Likewise.
35626 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35627 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35628 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35629 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35630 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35631 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35632 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35633 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35634 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35635 [ISO11] (FLT_TRUE_MIN): Likewise.
35636 [ISO11] (LDBL_TRUE_MIN): Likewise.
35637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35638 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35639 (SCHAR_MIN): Use macro-int-constant. Specify type.
35640 (SCHAR_MAX): Likewise.
35641 (UCHAR_MAX): Likewise.
35642 (CHAR_MIN): Likewise.
35643 (CHAR_MAX): Likewise.
35644 (MB_LEN_MAX): Use macro-int-constant.
35645 (SHRT_MIN): Use macro-int-constant. Specify type.
35646 (SHRT_MAX): Likewise.
35647 (USHRT_MAX): Likewise.
35648 (INT_MAX): Likewise.
35649 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35651 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35653 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35655 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35656 bound negative. Suffix upper bound with "L".
35657 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35659 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35661 [C99-based standards] (LLONG_MAX): Likewise.
35662 [C99-based standards] (ULLONG_MAX): Likewise.
35663 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35665 [ISO11] (max_align_t): Require type.
35666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35668 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35669 from $CFLAGS, without defining away __attribute__ calls.
35670 (checknamespace): Use $CFLAGS_namespace.
35672 * conform/conformtest.pl (@keywords): Only include C99 keywords
35673 for standards based on C99 or C11.
35675 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35677 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35680 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35681 usability of symbols in #if.
35683 * conform/conformtest.pl: If macro or constant types start
35684 "promoted:", expect the symbol to be of the following type
35685 promoted by the integer promotions.
35687 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35688 in one place. Also handle "macro-constant".
35690 * conform/conformtest.pl: Only accept expected macro values with
35691 "==". Parse all "macro" lines in one place.
35692 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35694 * conform/conformtest.pl: Handle braced types on "constant" lines
35695 instead of handling "typed-constant".
35696 * conform/data/signal.h-data: Use "constant" instead of
35699 * conform/conformtest.pl: Handle "optional-" at start of lines in
35700 one place rather than duplicating several cases. Handle each
35701 format of "macro" line with initial "optional-".
35703 * conform/conformtest.pl: Only accept expected constant or
35704 optional-constant values with "==". Parse all "constant" lines in
35705 one place. Parse all "optional-constant" lines in one place.
35706 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35707 * conform/data/fmtmsg.h-data: Likewise.
35708 * conform/data/netinet/in.h-data: Likewise.
35709 * conform/data/tar.h-data: Likewise.
35710 * conform/data/limits.h-data: Use "==" form on "constant" and
35711 "optional-constant" lines.
35713 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35714 Use -std=c99 for XOPEN2K.
35715 (@knownproblems): Remove.
35716 (newtoken): Don't check %isknown.
35718 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35719 Do not expect macro.
35720 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35721 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35722 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35723 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35724 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35725 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35726 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35727 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35728 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35729 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35730 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35731 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35732 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35733 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35734 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35735 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35736 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35737 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35738 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35739 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35740 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35741 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35742 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35743 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35744 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35745 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35746 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35747 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35748 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35749 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35750 [XPG3] (acosh): Likewise.
35751 [XPG3] (asinh): Likewise.
35752 [XPG3] (atanh): Likewise.
35753 [XPG3] (cbrt): Likewise.
35754 [XPG3] (expm1): Likewise.
35755 [XPG3] (ilogb): Likewise.
35756 [XPG3] (log1p): Likewise.
35757 [XPG3] (logb): Likewise.
35758 [XPG3] (nextafter): Likewise.
35759 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35760 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35761 [XPG3] (remainder): Likewise.
35762 [XPG3] (rint): Likewise.
35763 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35764 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35765 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35766 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35767 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35768 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35769 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35770 [UNIX98 || XOPEN2K] (scalb): Expect.
35771 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35772 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35773 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35774 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35775 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35776 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35777 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35778 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35779 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35780 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35781 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35782 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35783 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35784 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35785 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35786 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35787 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35788 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35789 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35790 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35791 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35792 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35793 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35794 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35795 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35796 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35797 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35798 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35799 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35800 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35801 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35802 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35803 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35804 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35805 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35806 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35807 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35808 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35809 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35810 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35811 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35812 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35813 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35814 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35815 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35816 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35817 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35818 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35819 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35820 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35821 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35822 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35823 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35824 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35825 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35826 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35827 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35828 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35829 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35830 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35831 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35832 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35833 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35834 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35835 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35836 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35837 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35838 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35839 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35840 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35841 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35842 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35843 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35844 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35845 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35846 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35847 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35848 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35849 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35850 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35851 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35852 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35853 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35854 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35855 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35856 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35857 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35858 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35859 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35860 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35861 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35862 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35863 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35864 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35865 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35866 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35867 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35868 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35869 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35870 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35871 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35872 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35873 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35874 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35875 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35876 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35877 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35878 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35879 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35880 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35881 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35882 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35883 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35884 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35885 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35886 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35887 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35888 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35889 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35890 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35891 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35892 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35893 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35894 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35895 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35896 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35897 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35898 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35899 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35900 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35901 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35902 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35903 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35904 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35905 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35906 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35907 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35909 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35910 _XOPEN_SOURCE_EXTENDED for XPG4.
35912 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35914 * Makeconfig (localtime): Remove variable.
35915 (inst_localtime-file): Likewise.
35917 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35938 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35942 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35943 comparisons to determine direction to adjust input.
35944 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35945 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35946 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35948 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35950 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35952 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35953 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35955 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35957 * math/libm-test.inc (nexttoward_test): Add more tests.
35959 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35962 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35963 in version GLIBC_2.1, not GLIBC_2.0.
35964 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35967 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35970 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35972 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35973 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35974 * math/libm-test.inc (acos_test): Add more tests.
35975 (asin_test): Likewise.
35976 * sysdeps/i386/fpu/libm-test-ulps: Update.
35977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35980 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35982 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35983 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35984 * math/libm-test.inc (acos_test_tonearest): New function.
35985 (acos_test_towardzero): Likewise.
35986 (acos_test_downward): Likewise.
35987 (acos_test_upward): Likewise.
35988 (asin_test_tonearest): Likewise.
35989 (asin_test_towardzero): Likewise.
35990 (asin_test_downward): Likewise.
35991 (asin_test_upward): Likewise.
35992 (main): Call the new functions.
35993 * sysdeps/i386/fpu/libm-test-ulps: Update.
35994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35998 * math/e_exp10.c: Include <float.h>.
35999 (__ieee754_exp10): Handle underflow here rather than multiplying
36000 large negative argument by M_LN10.
36001 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36003 * math/e_exp10l.c: Include <float.h>.
36004 (__ieee754_exp10l): Handle underflow here rather than multiplying
36005 large negative argument by M_LN10l.
36006 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36007 spurious overflow exception on underflow.
36009 2012-04-29 Marek Polacek <polacek@redhat.com>
36011 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36012 (__fortify_function): New macro.
36013 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36014 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36015 __extern_always_inline.
36016 * libio/bits/stdio2.h: Likewise.
36017 * libio/bits/stdio.h: Likewise.
36018 * string/string.h: Likewise.
36019 * string/bits/string3.h: Likewise.
36020 * include/stdio.h: Likewise.
36021 * stdlib/bits/stdlib.h: Likewise.
36022 * stdlib/stdlib.h: Likewise.
36023 * rt/bits/mqueue2.h: Likewise.
36024 * rt/mqueue.h: Likewise.
36025 * posix/bits/unistd.h: Likewise.
36026 * posix/unistd.h: Likewise.
36027 * io/bits/poll2.h: Likewise.
36028 * io/bits/fcntl2.h: Likewise.
36029 * io/fcntl.h: Likewise.
36030 * io/sys/poll.h: Likewise.
36031 * misc/bits/syslog.h: Likewise.
36032 * misc/bits/syslog-ldbl.h: Likewise.
36033 * misc/sys/syslog.h: Likewise.
36034 * socket/bits/socket2.h: Likewise.
36035 * socket/sys/socket.h: Likewise.
36036 * debug/tst-chk1.c: Likewise.
36037 * wcsmbs/bits/wchar2.h: Likewise.
36038 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36039 * wcsmbs/wchar.h: Likewise.
36041 2012-04-29 Andreas Jaeger <aj@suse.de>
36043 * Makerules (tests): Remove enable-check-abi protection.
36044 (check-abi-warn): Remove.
36045 (check-abi-%): Remove check-abi-warn usage.
36047 * configure.in: Remove check-abi configure option.
36048 * configure: Regenerated.
36049 * config.make.in (enable-check-abi): Remove.
36051 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36054 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36055 double functions to double *_finite functions.
36058 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36059 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36061 * stdio-common/Makefile (tests): Add tst-sprintf3.
36062 * stdio-common/tst-sprintf3.c: New file.
36064 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36065 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36067 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36069 * conform/conformtest.pl: Remove duplicate typed-constant
36072 2012-04-28 David S. Miller <davem@davemloft.net>
36074 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36075 (check-abi-%): Remove AWK script prerequisite and explicit
36077 (check-abi): Rewrite to just diff the symlist with the abilist.
36078 (config-tls, config-abi-config): Delete, no longer used.
36079 (update-abi-%): Remove AWK script and explicit abilist directory.
36080 (update-abi): Rewrite to simply compare and conditionally copy the
36081 symlist and the sysdep abilist file. Remove update-abi-config
36083 * abilist/ld.abilist: Remove.
36084 * abilist/libBrokenLocale.abilist: Remove.
36085 * abilist/libanl.abilist: Remove.
36086 * abilist/libcrypt.abilist: Remove.
36087 * abilist/libdl.abilist: Remove.
36088 * abilist/librt.abilist: Remove.
36089 * abilist/libthread_db.abilist: Remove.
36090 * abilist/libutil.abilist: Remove.
36091 * scripts/extract-abilist.awk: Remove.
36092 * scripts/merge-abilist.awk: Remove.
36093 * sysdeps/generic/libcidn.abilist: New file.
36094 * sysdeps/generic/libnss_compat.abilist: New file.
36095 * sysdeps/generic/libnss_db.abilist: New file.
36096 * sysdeps/generic/libnss_dns.abilist: New file.
36097 * sysdeps/generic/libnss_files.abilist: New file.
36098 * sysdeps/generic/libnss_hesiod.abilist: New file.
36099 * sysdeps/generic/libnss_nis.abilist: New file.
36100 * sysdeps/generic/libnss_nisplus.abilist: New file.
36101 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36102 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36103 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36105 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36106 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36107 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36108 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36109 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36110 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36111 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36112 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36113 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36115 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36116 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36117 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36118 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36120 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36121 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36122 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36123 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36124 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36125 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36127 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36128 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36129 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36131 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36234 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36235 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36236 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36239 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36240 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36241 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36242 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36243 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36244 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36245 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36246 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36247 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36299 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36301 * conform/conformtest.pl: Fix typo in handling typed-constant from
36304 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36306 * README: Cut down references to pre-2.6 Linux kernels and
36307 Linuxthreads. Update lists of configurations in libc and ports
36308 and sort alphabetically. Say "or newer" with Linux kernel version
36311 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36313 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36316 * math/libm-test.inc (logb_test_downward): New test to expose
36317 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36320 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36323 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36325 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36326 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36328 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36330 * sysdeps/unix/i386/brk.S: Remove file.
36331 * sysdeps/unix/i386/dl-brk.S: Likewise.
36332 * sysdeps/unix/i386/pipe.S: Likewise.
36333 * sysdeps/unix/i386/sigreturn.S: Likewise.
36334 * sysdeps/unix/i386/syscall.S: Likewise.
36335 * sysdeps/unix/i386/vfork.S: Likewise.
36336 * sysdeps/unix/i386/wait.S: Likewise.
36338 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36339 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36341 * configure.in (arm*-none*): Do not allow without
36342 --enable-hacker-mode.
36343 (netbsd*): Remove case setting base_os.
36344 (386bsd*): Likewise.
36345 (freebsd*): Likewise.
36348 (sunos*): Likewise.
36349 (ultrix*): Likewise.
36350 (newsos*): Likewise.
36351 (dynix*): Likewise.
36357 (minix*): Likewise.
36358 (irix4*): Likewise.
36359 (irix6*): Likewise.
36360 (solaris[2-9]*): Likewise.
36362 * configure: Regenerated.
36364 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36367 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36368 overflow or cancellation in calculating denominator.
36369 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36370 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36371 down expression to avoid unexpected rounding in newer GCCs.
36372 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36374 2012-04-26 David S. Miller <davem@davemloft.net>
36376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36377 long-double compat symbols.
36378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36392 2012-04-25 David S. Miller <davem@davemloft.net>
36394 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36395 HWCAP_* values only after the memory barriers have been defined.
36396 (atomic_full_barrier): Define.
36397 (atomic_read_barrier): Define.
36398 (atomic_write_barrier): Define.
36400 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36402 * shlib-versions: Add libgcc_s version information.
36403 * sysdeps/generic/libgcc_s.h: Remove.
36404 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36406 * sysdeps/gnu/unwind-resume.c: Likewise.
36407 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36409 2012-04-25 David S. Miller <davem@davemloft.net>
36411 * sysdeps/unix/sparc/brk.S: Delete.
36412 * sysdeps/unix/sparc/dl-brk.S: Delete.
36413 * sysdeps/unix/sparc/pipe.S: Delete.
36414 * sysdeps/unix/sparc/sysdep.S: Delete.
36415 * sysdeps/unix/sparc/sysdep.h: Delete.
36416 * sysdeps/unix/sparc/vfork.S: Delete.
36417 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36418 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36419 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36420 (ret_ERRVAL, r0, r1, MOVE): Define.
36421 (JUMPTARGET): Remove.
36422 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36423 sysdeps/unix/sparc/sysdep.h
36424 (ENTRY, END): Remove.
36425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36427 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36429 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36430 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36433 * timezone/README: Update upstream location and email address for
36435 * timezone/zdump.c: Update from tzcode 2012b.
36436 * timezone/zic.c: Likewise.
36438 * configure.in (libc_cv_as_needed): Remove test.
36439 * configure: Regenerated.
36440 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36441 conditional definition.
36442 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36443 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36444 * config.make.in (have-as-needed): Remove variable.
36446 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36447 Paul Pluzhnikov <ppluzhnikov@google.com>
36449 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36452 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36454 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36455 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36456 * sysdeps/sh/strlen.S: Likewise.
36458 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36460 * sysdeps/unix/fork.S: Remove file.
36461 * sysdeps/unix/i386/fork.S: Likewise.
36462 * sysdeps/unix/sparc/fork.S: Likewise.
36464 * sysdeps/unix/system.c: Remove file.
36465 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36467 * sysdeps/unix/getegid.S: Remove file.
36468 * sysdeps/unix/geteuid.S: Likewise.
36470 2012-04-24 Roland McGrath <roland@hack.frob.com>
36472 * scripts/check-localplt.awk: New file.
36473 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36475 * scripts/data/localplt-generic.data: Add a comment.
36477 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36478 NODE when __dir_mkfile failed.
36479 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36480 Reported by Ludovic Courtès <ludo@gnu.org>.
36482 2012-04-24 Andreas Jaeger <aj@suse.de>
36484 * Makerules (common-clean): Also remove gen-as-const-headers
36487 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36489 * Makerules (native-compile): Do not change working directory for
36490 build. Use $(OUTPUT_OPTION) in command.
36491 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36493 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36496 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36497 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36498 * math/libm-test.inc (floor_test): Add more tests.
36499 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36501 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36503 * sysdeps/unix/getdents.c: Remove file.
36504 * sysdeps/unix/sysv/getdents.c: Likewise.
36505 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36507 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36508 sysdeps/unix/mman/syscalls.list.
36510 (mprotect): Likewise.
36512 (munmap): Likewise.
36513 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36514 * sysdeps/unix/mman/syscalls.list: Remove.
36515 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36517 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36518 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36519 * configure: Regenerated.
36520 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36521 $(libgcc_s_suffix).
36522 * config.make.in (libgcc_s_suffix): Remove variable.
36524 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36526 * sysdeps/unix/sysv/gethostname.c: Move to ...
36527 * sysdeps/posix/gethostname.c: ... here.
36529 * sysdeps/unix/execve.S: Remove file.
36531 * sysdeps/unix/_exit.S: Remove file.
36533 2012-04-23 Andreas Jaeger <aj@suse.de>
36536 * manual/Makefile: Remove make dist support, there's no
36537 need for a stand-alone documentation tar ball.
36538 (TEXI2DVI): Define always, it's not in Makeconfig.
36541 (edition): Removed.
36542 (glibc-doc-$(edition).tar): Removed
36546 (ETAGS): Remove, it's in Makeconfig.
36547 (move-if-change): Remove, it's in Makeconfig.
36549 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36552 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36553 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36554 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36555 (strtod_l, strtof_l, strtold_l): Remove __wur.
36556 It is not necessarily an error to ignore strtol's return value.
36557 One can reliably look at the stored endptr to decide whether
36558 the number had valid syntax.
36560 2012-04-21 Andreas Jaeger <aj@suse.de>
36563 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36565 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36567 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36568 * sysdeps/unix/sysv/Versions: Remove file.
36570 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36575 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36579 version from __vm86.
36581 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36583 * sysdeps/unix/common/lxstat.c: Remove file.
36584 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36586 * sysdeps/unix/sysv/Makefile: Remove file.
36588 * sysdeps/unix/sysv/direct.h: Remove file.
36590 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36591 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36592 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36593 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36594 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36595 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36596 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36598 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36600 * sysdeps/unix/xmknod.c: Remove file.
36601 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36603 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36605 * sysdeps/unix/sysv/i386/time.S: Remove file.
36607 * sysdeps/unix/fxstat.c: Remove file.
36608 * sysdeps/unix/xstat.c: Likewise.
36609 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36611 * sysdeps/unix/sysv/sigaction.c: Remove file.
36613 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36614 (sysdep_headers): Remove variable.
36615 [termio.h not in sysdep_headers] (generated): Likewise.
36616 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36617 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36618 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36619 * sysdeps/unix/sysv/tcflow.c: Likewise.
36620 * sysdeps/unix/sysv/tcflush.c: Likewise.
36621 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36622 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36623 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36624 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36625 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36627 * sysdeps/unix/siglist.c: Remove file.
36629 * sysdeps/unix/getppid.S: Remove file.
36631 * sysdeps/unix/mkdir.c: Remove file.
36632 * sysdeps/unix/rmdir.c: Likewise.
36634 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36636 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36638 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36639 errlist-compat value.
36641 2012-04-18 David S. Miller <davem@davemloft.net>
36643 * sysdeps/generic/memcopy.h (reg_char): Delete.
36644 * debug/strcat_chk.c: Use char, not reg_char.
36645 * debug/strcpy_chk.c: Likewise.
36646 * debug/strncat_chk.c: Likewise.
36647 * debug/strncpy_chk.c: Likewise.
36648 * string/memchr.c: Likewise.
36649 * string/memrchr.c: Likewise.
36650 * string/rawmemchr.c: Likewise.
36651 * string/strcat.c: Likewise.
36652 * string/strchr.c: Likewise.
36653 * string/strchrnul.c: Likewise.
36654 * string/strcmp.c: Likewise.
36655 * string/strcpy.c: Likewise.
36656 * string/strncat.c: Likewise.
36657 * string/strncmp.c: Likewise.
36658 * string/strncpy.c: Likewise.
36660 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36662 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36663 __builtin_memcopy is called when src and dest ranges are known to not
36666 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36668 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36669 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36670 fwd_align_merge macro call.
36671 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36672 bwd_align_merge macro call.
36673 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36675 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36677 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36678 bwd_align_merge macros.
36679 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36680 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36681 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36683 2012-04-18 David S. Miller <davem@davemloft.net>
36685 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36687 2012-04-18 Andreas Jaeger <aj@suse.de>
36690 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36691 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36692 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36694 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36695 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36696 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36698 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36699 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36700 Adjust for changed ldbl-128 files.
36702 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36703 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36704 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36706 2012-04-17 David S. Miller <davem@davemloft.net>
36708 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36710 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36712 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36713 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36714 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36715 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36716 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36717 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36719 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36722 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36723 * math/libm-test.inc: Add ilogb errno and exception tests.
36724 * math/w_ilogb.c: New file: ilogb wrapper.
36725 * math/w_ilogbf.c: New file: ilogbf wrapper.
36726 * math/w_ilogbl.c: New file: ilogbl wrapper.
36727 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36728 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36729 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36730 exception being thrown with 0.0 as argument.
36731 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36732 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36733 exception being thrown with 0.0 as argument.
36734 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36735 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36736 exception being thrown with 0.0 as argument.
36737 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36738 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36739 exception being thrown with 0.0 as argument.
36740 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36741 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36742 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36743 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36744 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36745 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36746 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36747 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36748 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36750 2012-04-17 Petr Baudis <pasky@ucw.cz>
36752 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36755 2012-04-16 Marek Polacek <polacek@redhat.com>
36757 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36759 2012-04-16 Marek Polacek <polacek@redhat.com>
36761 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36762 operands of fdivp instruction.
36764 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36766 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36767 * elf/tst-auditmod3b.c: Likewise.
36768 * elf/tst-auditmod4b.c: Likewise.
36769 * elf/tst-auditmod5b.c: Likewise.
36770 * elf/tst-auditmod6b.c: Likewise.
36771 * elf/tst-auditmod6c.c: Likewise.
36772 * elf/tst-auditmod7b.c: Likewise.
36773 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36774 * sysdeps/x86_64/preconfigure.in: Likewise.
36775 * sysdeps/x86_64/preconfigure: Regenerated.
36777 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36779 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36782 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36784 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36785 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36787 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36790 * locale/iso-639.def: Fix gl language name. Spotted by
36793 2012-04-12 Roland McGrath <roland@hack.frob.com>
36796 * libio/libio.h (__io_write_fn): Update comment.
36798 2012-04-12 Petr Baudis <pasky@ucw.cz>
36801 * stdio.texi (Hook Functions): The user provided writer function
36802 is not allowed to return -1.
36804 2012-04-11 David S. Miller <davem@davemloft.net>
36806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36808 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36810 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36811 Add a leading slash to rtkaio.
36813 2012-04-11 Jim Meyering <meyering@redhat.com>
36816 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36817 It is not necessarily an error to ignore fwrite's return
36818 value. One can reliably use ferror to test for errors after
36821 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36823 * bits/types.h (__snseconds_t): New type.
36824 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36826 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36827 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36828 (__SNSECONDS_T_TYPE): Likewise.
36829 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36830 (__SNSECONDS_T_TYPE): Likewise.
36831 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36832 (__SNSECONDS_T_TYPE): Likewise.
36834 2012-04-10 Andreas Jaeger <aj@suse.de>
36837 * manual/time.texi (Processor Time): Return type of times is
36838 elapsed real time since an arbitrary point in the past.
36839 (CPU Time): Move CLK_TCK from here...
36840 (Processor Time): ...to here. Correct description.
36841 * manual/conf.texi (Constants for Sysconf): Correct description of
36844 2012-04-10 David S. Miller <davem@davemloft.net>
36847 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36848 where the is a gap between DT_REL(A) and DT_JMPREL.
36850 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36852 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36853 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36854 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36856 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36858 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36859 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36860 (dl_main): Handle --inhibit-cache.
36861 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36863 * elf/dl-load.c (_dl_map_object): Use it.
36864 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36866 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36869 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36870 (__ieee754_powl): Saturate large exponents rather than testing for
36871 overflow of y*log2(x).
36872 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36873 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36877 * math/s_ctan.c: Include <float.h>.
36878 (__ctan): Avoid internal overflow or cancellation in calculating
36880 * math/s_ctanf.c: Likewise.
36881 * math/s_ctanl.c: Likewise.
36882 * math/s_ctanh.c: Likewise.
36883 * math/s_ctanhf.c: Likewise.
36884 * math/s_ctanhl.c: Likewise.
36885 * math/libm-test.inc (ctan_test): Add more tests.
36886 (ctanh_test): Likewise.
36887 * sysdeps/i386/fpu/libm-test-ulps: Update.
36888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36890 2012-04-09 Andreas Jaeger <aj@suse.de>
36893 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36894 is an optional BSD extension.
36897 * manual/stdio.texi (Opening Streams): Document additional fopen
36900 2012-04-09 Roland McGrath <roland@hack.frob.com>
36902 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36903 %eax without telling the compiler.
36905 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36908 * manual/install.texi: Use sourceware.org.
36910 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36913 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36914 (__ieee754_pow): Generate overflow and underflow using huge*huge
36915 and tiny*tiny rather than just returning constant infinity or zero
36916 for large exponents.
36917 * math/libm-test.inc (pow_test): Require overflow exceptions for
36918 applicable cases of large exponents.
36921 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36922 (__ieee754_pow): Use iterative multiplication algorithm only for
36923 integer exponents with absolute value below 1024. Check for odd
36924 integer exponents when using algorithm for real exponents.
36925 * math/libm-test.inc (pow_test): Add more tests.
36926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36928 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36931 * math/libm-test.inc (exp_test): Do not allow overflow exception
36934 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36937 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36938 instead of __kernel_standard_f.
36940 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36942 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36943 * sysdeps/x86_64/memset_chk.S: Likewise.
36945 2012-04-08 Andreas Jaeger <aj@suse.de>
36948 * manual/startup.texi (Environment Access): Describe return value
36949 for putenv and setenv.
36952 * manual/filesys.texi (Directory Entries): Add description for
36956 * manual/filesys.texi (Directory Entries): Clarify that it's file
36957 system not operating system in the description of DT_UNKNOWN.
36960 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36962 2012-04-08 Stephen Compall <s11@member.fsf.org>
36965 * manual/llio.texi (Opening and Closing Files): Add cross
36966 reference to explain mode argument.
36968 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36970 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36971 * sysdeps/x86_64/memset_chk.S: Likewise.
36973 2012-04-07 David S. Miller <davem@davemloft.net>
36975 * elf/elf.h (R_SPARC_WDISP10): Define.
36976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36978 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36979 R_SPARC_SIZE64 and R_SPARC_H34.
36981 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36983 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36984 conditions and remove no longer applicable assertion.
36986 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36988 * bits/byteswap.h: Include <features.h>.
36989 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36990 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36992 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36994 * bits/byteswap.h (__bswap_16): Removed.
36995 Include <bits/byteswap-16.h> to get __bswap_16.
36996 * sysdeps/i386/bits/byteswap.h: Likewise.
36997 * sysdeps/s390/bits/byteswap.h: Likewise.
36998 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36999 * bits/byteswap-16.h: New file.
37000 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37001 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37002 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37003 * string/Makefile (headers): Add bits/byteswap-16.h.
37005 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37008 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37010 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37011 * nss/tst-nss-static.c: New.
37013 2012-04-06 Robert Millan <rmh@gnu.org>
37016 * manual/llio.texi (File Position Primitive): lseek
37017 refers to WHENCE when it really means OFFSET.
37019 2012-04-06 Andreas Jaeger <aj@suse.de>
37021 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37022 strncmp declarations.
37024 * abilist/libc.abilist: Add __poll and __ppoll.
37026 2012-04-05 David S. Miller <davem@davemloft.net>
37028 * scripts/check-local-headers.sh: Accept a host triplet in the
37029 path matched by the exclude regexp.
37031 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37033 * sysdeps/powerpc/powerpc32/dl-machine.h
37034 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37035 * sysdeps/s390/s390-32/dl-machine.h
37036 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37037 * sysdeps/sparc/sparc32/dl-machine.h
37038 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37039 * sysdeps/sparc/sparc64/dl-machine.h
37040 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37042 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37044 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37045 undefined symbol errors.
37047 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37050 2012-04-05 Michael Matz <matz@suse.de>
37053 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37055 2012-04-05 Andreas Jaeger <aj@suse.de>
37058 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37061 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37063 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37064 which ROUND is no valid rounding mode.
37066 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37068 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37070 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37072 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37074 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37075 an exception using FPU order intentionally.
37077 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37079 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37080 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37081 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37082 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37084 2012-04-05 Simon Josefsson <simon@josefsson.org>
37087 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37088 EINVAL when BUFLEN is too smal.
37090 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37093 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37094 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37096 2012-04-03 Andreas Jaeger <aj@suse.de>
37099 * manual/setjmp.texi (System V contexts): Fix sentence.
37102 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37103 New macro for this case.
37104 [!__GNUC__] (__bswap_64): New inline function for this case.
37105 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37106 * bits/byteswap.h: Likewise.
37107 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37108 ull, guard with __GLIBC_HAVE_LONG_LONG.
37110 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37111 __GLIBC_HAVE_LONG_LONG.
37113 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37114 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37116 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37119 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37120 inptr and inend, rather than using last_ch.
37122 2012-04-02 David S. Miller <davem@davemloft.net>
37124 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37125 * stdio-common/printf-parse.h (read_int): Change return type to
37126 'int', return -1 on INT_MAX overflow.
37127 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37128 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37129 overflows INT_MAX. Check for overflow of in-format-string precision
37130 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37131 SIZE_MAX not INT_MAX for integer overflow test.
37132 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37133 skip the construct in the format string but do not record anything.
37134 * stdio-common/bug22.c: Adjust to test both width/prevision
37135 INT_MAX overflow as well as total length INT_MAX overflow. Check
37136 explicitly for proper errno values.
37138 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37140 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37142 * string/test-strcmp.c [! WIDE]: Likewise.
37143 * time/tst-mktime2.c: Likewise for INT_MAX.
37144 * string/test-string.h: #include <sys/param.h> for MIN.
37146 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37147 * sysdeps/i386/init-first.c (init): Likewise.
37148 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37149 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37150 * sysdeps/sh/init-first.c (init): Likewise.
37152 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37154 * po/ru.po: Update from translation team.
37155 * po/vi.po: Likewise.
37157 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37159 * resolv/nss_dns/dns-host.c: Merge copyright years.
37161 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37163 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37164 Optimize memcpy with prefetch if
37165 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37166 src, dst pointers have unequal 16 byte alignments.
37168 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37171 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37172 from a CNAME entry and return the minimum ttl for the query.
37173 (gaih_getanswer_slice): Likewise.
37175 2012-03-30 Jeff Law <law@redhat.com>
37177 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37179 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37180 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37182 * resolv/nss_dns/dns-host.c: Update copyright year.
37184 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37186 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37187 requests to save a system call. Fix check that all bytes are sent.
37189 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37190 comments for sendmmsg.
37192 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37195 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37196 with only 1 character between 0x0041 and 0x01b0.
37197 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37198 * wcsmbs/tst-mbsnrtowcs.c: New file.
37200 2012-03-29 David S. Miller <davem@davemloft.net>
37202 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37203 small copies by hand.
37205 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37208 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37209 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37212 2012-03-28 David S. Miller <davem@davemloft.net>
37214 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37215 that branches into memcpy.
37216 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37217 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37218 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37219 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37220 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37222 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37223 implementation too.
37224 * sysdeps/sparc/mempcpy.S: New file.
37226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37227 the IFUNC routine in the libc case.
37228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37230 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37231 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37232 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37233 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37234 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37235 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37236 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37237 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37239 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37240 loop to 256 bytes instead of 64 bytes and fix test signedness.
37242 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37243 * sysdeps/sparc/sparc32/Makefile: rather than here...
37244 * sysdeps/sparc/sparc64/Makefile: and here.
37246 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37248 * malloc/mallocbug.c: Avoid warnings about unused variables.
37250 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37253 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37254 in the right place. Discard and retry query if response is
37255 larger than input buffer size.
37257 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37262 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37263 x for large integer exponent.
37264 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37265 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37266 sign of result as needed afterwards.
37267 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37268 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37269 result for underflowing pow the same as for overflow.
37270 (__kernel_standard_l): Handle powl overflow and underflow here
37271 rather than calling __kernel_standard.
37272 * math/libm-test.inc (pow_test): Add more tests.
37287 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37288 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37289 (__kernel_standard_l): New function.
37290 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37292 * math/w_acosl.c (__acosl): Likewise.
37293 * math/w_asinl.c (__asinl): Likewise.
37294 * math/w_atan2l.c (__atan2l): Likewise.
37295 * math/w_atanhl.c (__atanhl): Likewise.
37296 * math/w_coshl.c (__coshl): Likewise.
37297 * math/w_exp10l.c (__exp10l): Likewise.
37298 * math/w_exp2l.c (__exp2l): Likewise.
37299 * math/w_fmodl.c (__fmodl): Likewise.
37300 * math/w_hypotl.c (__hypotl): Likewise.
37301 * math/w_j0l.c (__j0l, __y0l): Likewise.
37302 * math/w_j1l.c (__j1l, __y1l): Likewise.
37303 * math/w_jnl.c (__jnl, __ynl): Likewise.
37304 * math/w_lgammal.c (__lgammal): Likewise.
37305 * math/w_log10l.c (__log10l): Likewise.
37306 * math/w_log2l.c (__log2l): Likewise.
37307 * math/w_logl.c (__logl): Likewise.
37308 * math/w_powl.c (__powl): Likewise.
37309 * math/w_remainderl.c (__remainderl): Likewise.
37310 * math/w_scalbl.c (sysv_scalbl): Likewise.
37311 * math/w_sinhl.c (__sinhl): Likewise.
37312 * math/w_sqrtl.c (__sqrtl): Likewise.
37313 * math/w_tgammal.c (__tgammal): Likewise.
37314 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37315 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37316 * math/libm-test.inc (acos_test): Add more tests.
37317 (acosh_test): Likewise.
37318 (asin_test): Likewise.
37319 (atanh_test): Likewise.
37320 (exp_test): Likewise.
37321 (exp10_test): Likewise.
37322 (exp2_test): Likewise.
37323 (expm1_test): Likewise.
37324 (lgamma_test): Likewise.
37325 (log_test): Likewise.
37326 (log10_test): Likewise.
37327 (log1p_test): Likewise.
37328 (log2_test): Likewise.
37329 (pow_test): Do not allow some spurious overflow exceptions.
37330 (sqrt_test): Add more tests.
37331 (tgamma_test): Likewise.
37332 (y0_test): Likewise.
37333 (y1_test): Likewise.
37334 (yn_test): Likewise.
37336 2012-03-27 Anton Blanchard <anton@samba.org>
37338 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37340 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37341 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37342 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37344 2012-03-27 David S. Miller <davem@davemloft.net>
37346 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37348 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37349 have-as-vis3 check.
37351 2012-03-27 Andreas Jaeger <aj@suse.de>
37353 * sysdeps/x86_64/elf/configure.in: Moved to ...
37354 * sysdeps/x86_64/configure.in: ... here.
37355 * sysdeps/x86_64/elf/start.S: Moved to ...
37356 * sysdeps/x86_64/start.S: ... here.
37357 * sysdeps/x86_64/elf/configure: Delete.
37359 * sysdeps/x86_64/configure.in: Merge contents from
37360 sysdeps/i386/configure.in (without i686 check).
37362 * sysdeps/i386/elf/Versions: Merge into ...
37363 * sysdeps/i386/Versions: ... this.
37364 * sysdeps/i386/elf/Versions: Delete file.
37365 * sysdeps/i386/elf/start.S: Moved to ...
37366 * sysdeps/i386/start.S: ...here.
37367 * sysdeps/i386/elf/configure.in: Merge into...
37368 * sysdeps/i386/configure.in: ...here.
37369 * sysdeps/i386/elf/configure.in: Delete file.
37370 * sysdeps/i386/elf/configure: Delete file.
37372 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37373 * debug/backtracesyms.c: ... here.
37374 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37375 * debug/backtracesymsfd.c: ... here.
37376 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37377 * sysdeps/generic/ifunc-sel.h: ... here.
37379 * sysdeps/unix/i386/start.c: Delete file.
37380 * sysdeps/unix/sparc/start.c: Delete file.
37381 * sysdeps/unix/start.c: Delete file.
37383 * sysdeps/sh/elf/configure.in: Moved to ...
37384 * sysdeps/sh/configure.in: ... here.
37385 * sysdeps/sh/elf/start.S: Moved to ...
37386 * sysdeps/sh/start.S: ... here.
37387 * sysdeps/sh/elf/configure: Delete file.
37389 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37390 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37391 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37392 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37393 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37394 * sysdeps/powerpc/powerpc64/start.S: here.
37395 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37396 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37397 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37398 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37399 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37401 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37402 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37403 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37404 * sysdeps/powerpc/powerpc32/start.S: ... here.
37405 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37406 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37407 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37409 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37410 * sysdeps/powerpc/ifunc-sel.h: ... here.
37411 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37412 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37414 * sysdeps/sparc/elf/configure.in: Moved to ...
37415 * sysdeps/sparc/configure.in: ... here.
37416 * sysdeps/sparc/elf/configure: Delete file.
37417 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37418 * sysdeps/sparc/sparc32/start.S: ... here.
37419 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37420 * sysdeps/sparc/sparc64/start.S: ... here.
37421 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37422 * sysdeps/sparc/sparc32/Makefile: ... this.
37423 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37424 * sysdeps/sparc/sparc64/Makefile: ... this.
37426 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37427 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37428 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37429 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37430 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37431 * sysdeps/s390/s390-32/setjmp.S: ... here.
37432 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37433 * sysdeps/s390/s390-32/configure.in: ... here.
37434 * sysdeps/s390/s390-32/elf/configure: Delete file.
37435 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37436 * sysdeps/s390/s390-32/start.S: ... here.
37438 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37439 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37440 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37441 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37442 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37443 * sysdeps/s390/s390-64/setjmp.S: ... here.
37444 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37445 * sysdeps/s390/s390-64/configure.in: ... here
37446 * sysdeps/s390/s390-64/elf/configure: Delete file.
37447 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37448 * sysdeps/s390/s390-64/start.S: ... here.
37449 * sysdeps/s390/s390-64/elf/configure: Delete.
37451 * configure.in: Remove support for elf directories in sysdeps.
37453 * configure: Regenerated.
37454 * sysdeps/i386/configure: Regenerated.
37455 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37456 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37457 * sysdeps/s390/s390-32/configure: Regenerated.
37458 * sysdeps/s390/s390-64/configure: Regenerated.
37459 * sysdeps/sh/configure: Regenerated.
37460 * sysdeps/sparc/configure: Regenerated.
37461 * sysdeps/x86_64/configure: Regenerated.
37463 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37467 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37468 denormal result into account.
37470 2012-03-25 Roland McGrath <roland@hack.frob.com>
37472 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37473 Reported by Allan McRae <allan@archlinux.org>.
37475 2012-03-23 Jeff Law <law@redhat.com>
37477 * nss/getnssent.c (__nss_getent): Fix typo.
37479 2012-03-23 David S. Miller <davem@davemloft.net>
37481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37483 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37485 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37486 to pad to uint64_t for each field.
37487 (dl_tls_index): Replace unsigned long with uint64_t.
37489 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37490 Paul Pluzhnikov <ppluzhnikov@google.com>
37493 * grp/Makefile (otherlibs): Don't set it.
37494 * inet/Makefile (otherlibs): Likewise.
37495 * login/Makefile (otherlibs): Likewise.
37496 * nscd/Makefile (otherlibs): Likewise.
37497 * posix/Makefile (otherlibs): Likewise.
37498 * pwd/Makefile (otherlibs): Likewise.
37499 * rt/Makefile (otherlibs): Likewise.
37500 * sunrpc/Makefile (otherlibs): Likewise.
37501 * nss/Makefile (otherlibs): Likewise.
37502 Add libnss_files to routines and static-only-routines.
37503 ($(objpfx)getent): Remove rule.
37504 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37505 static-only-routines.
37507 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37510 * math/s_cexp.c: Include <float.h>.
37511 (__cexp): Handle exp result overflowing not necessarily
37512 overflowing both real and imaginary parts of result.
37513 * math/s_cexpf.c: Likewise.
37514 * math/s_cexpl.c: Likewise.
37515 * math/libm-test.inc (cexp_test): Add more tests.
37516 * sysdeps/i386/fpu/libm-test-ulps: Update.
37517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37519 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37521 * include/link.h (ELFW): New macro.
37522 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37523 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37525 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37527 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37530 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37532 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37534 (struct La_x32_retval): Likewise.
37536 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37538 * sysdeps/x86_64/preconfigure.in: New file.
37539 * sysdeps/x86_64/preconfigure: New generated file.
37541 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37544 * math/e_exp2l.c: Include <float.h>.
37545 (__ieee754_exp2l): Handle overflow and underflow cases
37546 separately. Only pass fractional part of argument to
37548 * math/libm-test.inc (exp2_test): Add more tests.
37550 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37551 negating x to take absolute value.
37552 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37554 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37555 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37557 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37558 computing low part if x was negated.
37559 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37561 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37563 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37564 la_x32_gnu_pltexit.
37565 (pltexit): Cast int_retval to ptrdiff_t.
37566 * elf/tst-auditmod3b.c: Likewise.
37567 * elf/tst-auditmod4b.c: Likewise.
37568 * elf/tst-auditmod5b.c: Likewise.
37569 * elf/tst-auditmod6b.c: Likewise.
37570 * elf/tst-auditmod6c.c: Likewise.
37571 * elf/tst-auditmod7b.c: Likewise.
37573 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37574 and x32_gnu_pltexit.
37576 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37577 __ELF_NATIVE_CLASS.
37578 (La_x32_regs): New macro.
37579 (La_x32_retval): Likewise.
37580 (la_x32_gnu_pltenter): New function prototype.
37581 (la_x32_gnu_pltexit): Likewise.
37583 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37585 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37590 * configure.in (libc_cv_cc_nofma): Check for option to disable
37591 generation of FMA instructions.
37592 * configure: Regenerate.
37593 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37594 * sysdeps/ieee754/dbl-64/Makefile: New file.
37595 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37596 Remove brandred-fma4.
37597 (CFLAGS-brandred-fma4.c): Remove.
37598 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37599 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37601 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37604 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37606 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37607 LLONG_MAX != LONG_MAX.
37608 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37609 (_fitoa_word): Likewise.
37610 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37611 LLONG_MAX != LONG_MAX.
37612 * stdio-common/_itowa.h: Include <_itoa.h>.
37613 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37614 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37615 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37616 only if not defined.
37617 (_ITOA_WORD_TYPE): Likewise.
37618 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37619 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37621 2012-03-21 David S. Miller <davem@davemloft.net>
37623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37625 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37627 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37628 of x86_64 when setting libc_cv_slibdir, libdir and
37630 * sysdeps/unix/sysv/linux/configure: Regenerated.
37632 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37634 * manual/lang.texi (Old Varargs): Remove section.
37635 (How Variadic): Update menu.
37636 (va_start): Do not mention varargs.h.
37638 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37639 Joseph Myers <joseph@codesourcery.com>
37641 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37643 * configure: Regenerated.
37645 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37647 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37648 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37651 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37654 * Makefile (files-for-dist): Remove NOTES.
37655 (NOTES): Remove rule.
37656 * README: Don't refer to NOTES.
37657 * manual/creature.texi: Don't include macros.texi.
37658 * manual/intro.texi (creature.texi): Remove comment referring to
37661 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37662 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37663 * configure: Regenerated.
37664 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37665 LIBC_TRY_CC_OPTION.
37666 (libc_cv_as_i686): Likewise.
37667 (libc_cv_cc_avx): Likewise.
37668 (libc_cv_cc_sse2avx): Likewise.
37669 (libc_cv_cc_fma4): Likewise.
37670 (libc_cv_cc_novzeroupper): Likewise.
37671 * sysdeps/i386/configure: Regenerated.
37674 * sysdeps/i386/fpu/s_cexp.S: Remove.
37675 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37676 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37677 * math/libm-test.inc (cexp_test): Add more tests.
37678 * sysdeps/i386/fpu/libm-test-ulps: Update.
37679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37681 2012-03-21 Allan McRae <allan@archlinux.org>
37683 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37685 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37688 * math/w_exp2.c: Do not include <float.h>.
37689 (o_threshold, u_threshold): Remove.
37690 (__exp2): Calculate result before checking finiteness and calling
37692 * math/w_exp2f.c: Likewise.
37693 * math/w_exp2l.c: Likewise.
37694 * math/libm-test.inc (exp2_test): Require overflow exception for
37698 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37699 range of signed 64-bit integers before using fistpll. Remove
37700 checks for whether integers fit in mantissa bits.
37701 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37702 the range of signed 32-bit integers before using fistpl. Remove
37703 checks for whether integers fit in mantissa bits.
37704 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37705 (__ieee754_powl): Test for y outside the range of signed 64-bit
37706 integers before using fistpll. Reduce 64-bit values to 63-bit
37708 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37709 divide-by-zero is raised for zero to large negative powers.
37710 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37711 (__ieee754_powl): Test for y outside the range of signed 64-bit
37712 integers before using fistpll. Reduce 64-bit values to 63-bit
37714 * math/libm-test.inc (pow_test): Add more tests.
37716 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37718 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37719 <stdio-common/_itoa.h>.
37720 * debug/segfault.c: Likewise.
37721 * elf/dl-cache.c: Likewise.
37722 * elf/dl-minimal.c: Likewise.
37723 * elf/dl-misc.c: Likewise.
37724 * elf/dl-sysdep.c: Likewise.
37725 * elf/dl-version.c: Likewise.
37726 * elf/rtld.c: Likewise.
37727 * hurd/hurdsock.c: Likewise.
37728 * hurd/lookup-retry.c: Likewise.
37729 * malloc/malloc.c: Likewise.
37730 * malloc/mtrace.c: Likewise.
37731 * nscd/nscd_getgr_r.c: Likewise.
37732 * nscd/nscd_getpw_r.c: Likewise.
37733 * nscd/nscd_getserv_r.c: Likewise.
37734 * posix/getopt_init.c: Likewise.
37735 * posix/wordexp.c: Likewise.
37736 * stdio-common/_itoa.c: Likewise.
37737 * stdio-common/printf_fphex.c: Likewise.
37738 * stdio-common/vfprintf.c: Likewise.
37739 * string/_strerror.c: Likewise.
37740 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37741 * sysdeps/i386/i686/hp-timing.h: Likewise.
37742 * sysdeps/mach/_strerror.c: Likewise.
37743 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37744 * sysdeps/mach/hurd/sethostid.c: Likewise.
37745 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37746 * sysdeps/mach/xpg-strerror.c: Likewise.
37747 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37748 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37749 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37750 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37751 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37752 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37753 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37754 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37755 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37756 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37757 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37758 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37759 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37760 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37761 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37762 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37763 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37764 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37765 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37766 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37767 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37769 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37771 * stdio-common/_itoa.h: Moved to ...
37772 * sysdeps/generic/_itoa.h: Here.
37774 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37776 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37777 instead of "_itoa.h" and "_itowa.h".
37778 * stdio-common/vfprintf.: Likewise.
37780 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37782 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37784 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37785 (__signbit): Likwise.
37786 (llrintf): Likwise.
37789 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37791 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37794 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37796 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37797 OVERFLOW_EXCEPTION_OK.
37798 * math/libm-test.inc ("Philosophy"): Update comment about
37800 (OVERFLOW_EXCEPTION): Define.
37801 (OVERFLOW_EXCEPTION_OK): Likewise.
37802 (INVALID_EXCEPTION_OK): Renumber.
37803 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37804 (IGNORE_ZERO_INF_SIGN): Likewise.
37805 (test_exceptions): Handle FE_OVERFLOW.
37806 (exp10_test): Expect overflow exceptions.
37807 (exp2_test): Likewise.
37808 (expm1_test): Likewise.
37809 (nextafter_test): Likewise.
37810 (pow_test): Likewise.
37811 (scalbn_test): Likewise.
37812 (scalbln_test): Likewise.
37814 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37816 * sysdeps/x86_64/bits/atomic.h
37817 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37819 (atomic_exchange_acq): Likewise.
37820 (__arch_exchange_and_add_body): Likewise.
37821 (__arch_add_body): Likewise.
37822 (atomic_add_negative): Likewise.
37823 (atomic_add_zero): Likewise.
37825 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37827 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37828 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37830 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37832 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37833 Check __x86_64__ instead of __WORDSIZE.
37835 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37837 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37839 2012-03-19 David S. Miller <davem@davemloft.net>
37841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37843 * sysdeps/sparc/fpu/fenv_private.h: New file.
37844 * sysdeps/sparc/fpu/math_private.h: Use it.
37845 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37847 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37848 (libc_feholdexcept_setroundl): Remove.
37849 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37851 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37852 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37854 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37856 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37857 int64_t instead of long int.
37858 (INSERT_WORDS64): Likwise.
37860 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37862 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37863 _Unwind_GetCFA return to _Unwind_Ptr first.
37865 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37868 * math/s_clog.c: Include <float.h>.
37869 (__clog): Scale large or subnormal inputs.
37870 * math/s_clogf.c: Likewise.
37871 * math/s_clogl.c: Likewise.
37872 * math/s_clog10.c: Include <float.h>.
37873 (M_LOG10_2): Define.
37874 (__clog10): Scale large or subnormal inputs.
37875 * math/s_clog10f.c: Likewise.
37876 * math/s_clog10l.c: Likewise.
37877 * math/libm-test.inc (clog_test): Add more tests.
37878 (clog10_test): Likewise.
37879 * sysdeps/i386/fpu/libm-test-ulps: Update.
37880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37883 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37885 * math/libm-test.inc (atan2_test): Add another test.
37887 * Makerules (common-objdir-compile): Remove.
37888 * sysdeps/unix/Makefile (config-generated): Do not add
37889 $(unix-generated) to variable.
37890 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37891 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37893 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37895 [generic bits/local_lim.h] (before-compile): Do not append to
37897 [generic bits/local_lim.h] (common-generated): Likewise.
37898 [generic sys/param.h] (before-compile): Do not append to variable.
37899 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37900 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37901 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37902 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37904 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37905 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37906 [generic sys/param.h] ($(addprefix
37907 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37908 [generic sys/param.h] (common-generated): Do not append to
37910 [generic sys/param.h] (sysdep_headers): Likewise.
37911 [generic bits/errno.h] (before-compile): Do not append to
37913 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37915 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37916 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37917 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37918 [generic bits/errno.h] (common-generated): Do not append to
37920 [generic bits/ioctls.h] (before-compile): Do not append to
37922 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37924 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37925 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37926 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37928 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37929 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37930 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37931 [generic bits/ioctls.h] (common-generated): Do not append to
37933 [generic sys/syscall.h] (syscall.h): Remove variable.
37934 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37936 [generic sys/syscall.h] (before-compile): Do not append to
37938 [generic sys/syscall.h] (common-generated): Likewise.
37939 * sysdeps/unix/errnos-tmpl.c: Remove file.
37940 * sysdeps/unix/errnos.awk: Likewise.
37941 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37942 * sysdeps/unix/ioctls.awk: Likewise.
37943 * sysdeps/unix/mk-local_lim.c: Likewise.
37944 * sysdeps/unix/snarf-ioctls: Likewise.
37946 2012-03-19 Richard Henderson <rth@twiddle.net>
37948 * sysdeps/i386/fpu/fenv_private.h: New file.
37949 * sysdeps/i386/fpu/math_private.h: Use it.
37950 (math_opt_barrier, math_force_eval): Remove.
37951 (libc_feholdexcept_setround_53bit): Remove.
37952 (libc_feupdateenv_53bit): Remove.
37953 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37954 (math_opt_barrier, math_force_eval): Remove.
37955 (libc_feholdexcept): Remove.
37956 (libc_feholdexcept_setround): Remove.
37957 (libc_fetestexcept, libc_fesetenv): Remove.
37958 (libc_feupdateenv_test): Remove.
37959 (libc_feupdateenv, libc_feholdsetround): Remove.
37960 (libc_feresetround): Remove.
37962 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37963 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37965 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37966 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37967 (libc_feupdateenv_testl): New.
37968 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37969 (libc_feupdateenv_testf): New.
37970 (libc_feupdateenv): Use libc_feupdateenv_test.
37971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37972 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37974 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37975 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37976 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37977 (libc_feresetround_noex): New.
37978 (libc_feresetround_noexf): New.
37979 (libc_feresetround_noexl): New.
37980 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37981 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37982 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37983 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37985 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37988 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37989 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37990 SET_RESTORE_ROUND_NOEX.
37991 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37992 SET_RESTORE_ROUND_NOEXF.
37993 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37994 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37995 (libc_feholdsetroundf): New.
37996 (libc_feresetround, libc_feresetroundf): New.
37998 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37999 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38000 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38002 * sysdeps/generic/math_private.h: Include <fenv.h>.
38003 (default_libc_feholdexcept): New.
38004 (default_libc_feholdexcept_setround): New.
38005 (default_libc_fesetenv, default_libc_feupdateenv): New.
38006 (libc_feholdexcept): Only define if undefined.
38007 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38008 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38009 (libc_feholdexcept_setroundl): Likewise.
38010 (libc_feholdexcept_setround_53bit): Likewise.
38011 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38012 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38013 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38014 (libc_feupdateenv_53bit): Likewise.
38015 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38016 (libc_feholdexcept): Convert from macro to inline function.
38017 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38018 (libc_fesetenv, libc_feupdateenv): Likewise.
38020 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38021 not previously defined.
38022 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38023 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38024 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38025 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38026 * sysdeps/ieee754/flt-32/math_private.h: New file.
38027 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38028 math_private.h below SET_FLOAT_WORD.
38029 (__isnan, __isinf_ns, __finite): Remove.
38030 (__isnanf, __isinf_nsf, __finitef): Remove.
38032 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38036 2012-03-17 David S. Miller <davem@davemloft.net>
38039 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38042 2012-03-16 David S. Miller <davem@davemloft.net>
38044 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38048 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38050 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38051 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38052 sysdep_routines when subdir is sysvipc.
38053 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38054 __getshmlba helper.
38056 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38058 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38060 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38063 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38065 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38066 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38067 (__lround): Renamed to ...
38068 (__llround): This. Replace long int with long long int.
38069 Define lround functions as aliases of llround functions.
38070 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38072 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38074 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38075 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38076 adresses to uintptr_t. Replace "long int" and "unsigned long
38077 int" with "greg_t" on va_arg.
38079 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38081 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38082 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38084 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38085 Move e_machine check before EI_CLASS check. Handle x32
38086 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38087 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38088 SKIP_EM_IA_64 and include
38089 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38091 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38092 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38093 (add_system_dir): New macro.
38095 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38096 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38098 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38109 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38111 * math/w_j0f.c (j0f): Likewise.
38113 * math/w_j0l.c (__j0l): Likewise.
38115 * math/w_j1.c (j1): Likewise.
38117 * math/w_j1f.c (j1f): Likewise.
38119 * math/w_j1l.c (__j1l): Likewise.
38121 * math/w_jn.c (jn): Likewise.
38123 * math/w_jnf.c (jnf): Likewise.
38125 * math/w_jnl.c (__jnl): Likewise.
38127 * math/libm-test.inc (j0_test): Add more tests.
38128 (j1_test): Likewise.
38129 (jn_test): Likewise. Add trailing semicolon to existing test.
38130 (y0_test): Likewise.
38131 (y1_test): Likewise.
38132 * sysdeps/i386/fpu/libm-test-ulps: Update.
38133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38137 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38138 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38139 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38140 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38141 (__tanl): Set errno for infinite argument.
38142 * sysdeps/i386/fpu/mptan.c: Remove.
38143 * sysdeps/i386/fpu/s_tan.S: Likewise.
38144 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38145 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38146 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38147 * math/libm-test.inc (tan_test): Add more tests and enable more
38148 tests for double and long double.
38149 * sysdeps/i386/fpu/libm-test-ulps: Update.
38150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38152 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38154 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38155 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38157 2012-03-16 Roland McGrath <roland@hack.frob.com>
38159 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38160 * configure.in: Use it for both main tree and add-ons.
38161 * configure: Regenerated.
38163 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38165 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38167 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38169 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38173 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38174 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38175 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38176 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38177 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38179 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38180 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38181 != 0 for prec == 2.
38182 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38183 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38184 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38185 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38186 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38187 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38188 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38189 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38190 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38191 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38192 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38193 * math/libm-test.inc (cos_test): Add more tests and enable more
38194 tests for long double.
38195 (sin_test): Likewise.
38196 (sincos_test): Likewise.
38197 * sysdeps/i386/fpu/libm-test-ulps: Update.
38198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38200 2012-03-16 David S. Miller <davem@davemloft.net>
38202 * sysdeps/sparc/fpu/math_private.h: New file.
38204 2012-03-15 David S. Miller <davem@davemloft.net>
38206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38220 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38221 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38223 * sysdeps/sparc/sparc-ifunc.h: New file.
38224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38248 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38250 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38251 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38265 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38266 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38267 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38269 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38271 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38275 2012-03-15 Andreas Jaeger <aj@suse.de>
38278 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38279 ieee754/flt-32 implementation for sin, cos and sincos.
38280 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38281 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38282 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38283 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38284 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38285 ieee754/flt-32 implementation for tan.
38287 * math/libm-test.inc (cos_test): Enable some large input tests for
38289 (sin_test): Likewise.
38290 (sincos_test): Likewise.
38291 (tan_test): Add tests for large input.
38293 * sysdeps/i386/fpu/libm-test-ulps: Update.
38295 2012-03-15 Andreas Jaeger <aj@suse.de>
38298 * math/libm-test.inc (cos_test): Add more test cases.
38299 (sin_test): Likewise.
38300 (sincos_test): Likewise.
38302 2012-03-15 Andreas Jaeger <aj@suse.de>
38305 * math/libm-test.inc (cos_test): Add a test case for large input
38307 (sin_test): Likewise.
38308 (sincos_test): Likewise.
38310 2012-03-15 Andreas Jaeger <aj@suse.de>
38311 Joseph Myers <joseph@codesourcery.com>
38314 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38315 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38316 * sysdeps/i386/fpu/branred.c: Likewise.
38317 * sysdeps/i386/fpu/dosincos.c: Likewise.
38318 * sysdeps/i386/fpu/mpa.c: Likewise.
38319 * sysdeps/i386/fpu/s_cos.S: Likewise.
38320 * sysdeps/i386/fpu/s_sin.S: Likewise.
38321 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38322 * sysdeps/i386/fpu/sincos32.c: Likewise.
38324 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38326 (libc_feupdateenv_53bit): Define.
38327 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38329 (libc_feupdateenv_53bit): Define.
38331 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38332 53 bit (without extend i386 double precision).
38334 * math/libm-test.inc (sincos_test): Add tests for large input.
38338 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38340 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38344 2012-03-15 David S. Miller <davem@davemloft.net>
38346 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38347 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38348 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38349 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38374 fmin/fmax sysdep routines.
38375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38377 2012-03-14 David S. Miller <davem@davemloft.net>
38379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38383 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38384 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38385 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38386 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38399 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38400 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38401 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38402 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38403 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38404 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38405 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38407 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38451 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38456 * sysdeps/sparc/configure.in: New file.
38457 * sysdeps/sparc/configure: Generate.
38458 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38459 * configure: Regenerate.
38460 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38461 * config.make.in (have-as-vis3): New.
38462 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38463 available use -Av9d instead of -Av9a.
38464 * sysdeps/sparc/sparc64/Makefile: Likewise.
38465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38474 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38475 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38476 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38478 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38480 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38481 fzeros/fnegs to load 0x80000000 into a float register instead of
38483 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38485 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38489 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38490 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38491 ($(inst_includedir)/bits/syscall.h): Remove rule.
38492 ($(objpfx)bits/syscall.d): Include instead of
38493 $(objpfx)syscall-list.d.
38494 (generated): Change syscall-list.h and syscall-list.d to
38495 bits/syscall.h and bits/syscall.d.
38497 2012-03-14 Roland McGrath <roland@hack.frob.com>
38500 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38502 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38505 * math/s_csqrt.c: Include <float.h>.
38506 (__csqrt): Scale large or subnormal inputs.
38507 * math/s_csqrtf.c: Likewise.
38508 * math/s_csqrtl.c: Likewise.
38509 * math/libm-test.inc (csqrt_test): Add more tests.
38510 * sysdeps/i386/fpu/libm-test-ulps: Update.
38511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38514 * math/libm-test.inc (hypot_test): Add more tests.
38516 2012-03-13 David S. Miller <davem@davemloft.net>
38519 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38520 double-precision for the calculation instead of scaling.
38522 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38524 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38525 manipulate bits before adding and subtracting TWO52[sx].
38526 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38527 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38529 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38531 2012-03-13 David S. Miller <davem@davemloft.net>
38533 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38534 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38535 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38536 rtld-global-offsets.h
38537 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38539 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38542 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38544 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38545 'err' in the ifdef scope in which it is actually used.
38547 * nss/nss_db/db-init.c: Include string.h
38549 2012-03-12 David S. Miller <davem@davemloft.net>
38551 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38552 masking out of the most significant byte of random value used.
38553 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38554 Fix coding style in previous change.
38556 * sysdeps/unix/sysv/linux/kernel-features.h
38557 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38558 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38560 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38563 2012-03-11 David S. Miller <davem@davemloft.net>
38565 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38566 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38567 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38568 for 'resultvar' otherwise things get truncated on 64-bit.
38570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38571 Fix masking out of the most significant byte of random value used.
38573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38575 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38579 2012-03-09 David S. Miller <davem@davemloft.net>
38581 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38582 variables with appropriate CPP guards.
38583 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38584 from the frame pointer, not the stack pointer. Correct layout
38585 comments. Fix test on resulting framesize and the management of
38586 the outregs buffer for pltexit. Preserve floating point return
38587 values across _dl_call_pltexit call.
38588 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38589 framesize and the management of the outregs buffer for pltexit.
38590 Preserve floating point return values across _dl_call_pltexit
38592 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38593 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38594 (la_sparc64_gnu_pltexit): New functions.
38595 (print_exit): Fix format string for return register value.
38597 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38599 * sunrpc/Makefile (others): Add rpcgen.
38600 ($(objpfx)rpcgen): Remove special build rule and dependency on
38602 * sunrpc/rpcgen.c: New file.
38604 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38607 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38608 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38609 * sysdeps/i386/crti.S: Likewise.
38610 * sysdeps/i386/crtn.S: Likewise.
38611 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38612 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38613 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38614 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38615 * sysdeps/sh/crti.S: Likewise.
38616 * sysdeps/sh/crtn.S: Likewise.
38617 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38620 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38622 * locale/programs/locfile-kw.gperf: Likewise.
38623 * locale/programs/charmap-kw.h: Regenerated.
38624 * locale/programs/locfile-kw.h: Likewise.
38627 * intl/plural.y: Replace FSF snail mail address with URL.
38628 * intl/plural.c: Regenerated.
38630 2012-03-09 Richard Henderson <rth@twiddle.net>
38632 * include/math_private.h: Remove file.
38633 * math/math_private.h: Move file ...
38634 * sysdeps/generic/math_private.h: ... here.
38636 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38637 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38638 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38640 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38641 and <math_private.h>.
38642 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38643 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38644 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38645 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38646 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38647 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38648 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38650 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38651 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38652 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38653 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38654 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38655 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38656 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38657 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38658 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38659 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38660 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38661 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38662 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38668 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38669 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38670 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38671 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38672 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38673 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38674 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38675 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38676 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38677 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38678 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38679 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38680 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38682 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38683 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38684 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38685 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38686 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38687 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38688 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38689 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38690 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38691 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38692 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38693 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38694 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38695 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38696 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38697 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38698 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38699 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38700 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38701 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38702 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38703 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38704 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38705 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38706 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38707 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38708 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38709 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38710 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38711 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38712 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38713 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38714 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38715 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38716 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38718 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38720 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38721 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38722 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38723 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38724 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38725 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38726 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38728 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38729 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38730 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38731 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38732 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38733 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38734 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38735 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38736 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38737 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38738 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38739 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38740 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38741 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38742 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38743 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38744 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38745 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38746 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38747 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38748 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38749 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38750 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38751 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38752 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38753 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38754 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38755 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38756 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38757 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38758 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38759 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38760 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38761 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38762 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38763 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38764 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38765 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38766 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38767 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38768 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38769 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38770 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38771 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38772 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38773 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38774 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38775 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38776 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38777 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38778 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38779 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38780 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38781 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38782 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38783 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38784 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38785 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38786 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38787 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38788 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38789 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38790 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38791 * sysdeps/ieee754/k_standard.c: Likewise.
38792 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38793 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38794 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38798 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38799 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38800 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38801 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38802 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38803 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38804 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38805 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38806 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38807 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38808 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38809 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38810 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38812 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38815 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38816 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38817 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38818 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38819 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38820 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38821 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38822 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38823 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38824 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38825 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38826 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38827 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38828 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38829 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38830 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38831 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38832 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38833 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38834 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38835 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38836 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38837 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38838 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38839 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38840 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38841 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38842 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38843 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38844 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38845 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38846 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38847 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38848 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38849 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38850 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38851 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38852 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38853 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38854 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38855 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38856 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38857 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38858 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38859 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38860 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38861 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38862 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38863 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38864 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38865 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38866 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38867 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38868 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38869 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38870 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38871 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38872 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38873 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38875 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38876 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38877 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38879 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38880 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38881 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38882 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38883 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38884 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38885 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38886 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38890 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38891 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38896 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38897 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38898 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38899 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38907 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38910 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38911 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38912 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38914 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38917 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38919 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38922 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38923 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38924 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38925 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38926 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38927 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38930 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38933 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38935 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38936 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38938 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38939 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38940 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38941 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38942 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38943 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38944 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38945 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38946 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38947 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38948 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38949 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38950 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38951 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38952 * sysdeps/ieee754/s_lib_version.c: Likewise.
38953 * sysdeps/ieee754/s_matherr.c: Likewise.
38954 * sysdeps/ieee754/s_signgam.c: Likewise.
38955 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38956 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38957 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38958 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38959 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38960 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38961 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38962 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38963 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38964 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38965 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38966 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38967 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38968 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38969 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38970 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38971 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38972 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38973 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38977 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38979 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38980 * sunrpc/rpc_main.c: Likewise.
38981 * sunrpc/rpc_svcout.c: Likewise.
38983 2012-03-09 David S. Miller <davem@davemloft.net>
38985 * include/math_private.h: New file.
38987 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38989 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38990 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38991 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38992 from <bits/socket_type.h>.
38993 (enum __socket_type): Don't define here.
38994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38996 bits/socket_type.h.
38999 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39000 checking __USE_GNU.
39002 * Makerules ($(inst_includedir)/%.h): New rule.
39003 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39004 (install-others): Remove variable setting.
39005 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39007 2012-03-08 Richard Henderson <rth@twiddle.net>
39009 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39010 from macro to inline function; merge with the
39011 !__LIBC_INTERNAL_MATH_INLINES version.
39012 (__ieee754_sqrtf): Likewise.
39014 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39015 to inline function.
39016 (__rintf, __floor, __floorf): Likewise.
39018 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39019 macro to inline function.
39020 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39022 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39023 not <math/math_private.h>.
39025 2012-03-08 David S. Miller <davem@davemloft.net>
39027 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39029 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39031 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39033 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39035 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39036 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39038 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39040 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39041 be defined individually, they must be defined as a block. Define
39042 S for printing a string instead of hidint the different by using a
39043 macro for adding the 'l'.
39044 * stdio-common/tst-fphex-wide.c: Adjust.
39046 2012-03-07 Marek Polacek <polacek@redhat.com>
39048 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39050 2012-03-08 Marek Polacek <polacek@redhat.com>
39053 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39054 * stdio-common/tst-fphex.c: Define a few macros to make the
39055 test reusable. Use them.
39056 * stdio-common/tst-fphex-wide.c: New file.
39058 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39061 * manual/macros.texi (gnusystems): New macro.
39062 (nongnusystems): Likewise.
39063 (gnulinuxhurdsystems): Likewise.
39064 (gnuhurdsystems): Likewise..
39065 (gnulinuxsystems): Likewise.
39066 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39067 variants of the GNU system, not "GNU system".
39068 * manual/conf.texi: Likewise.
39069 * manual/errno.texi: Likewise. Update example of errno macro
39071 * manual/filesys.texi: Likewise.
39072 (getumask): Document as specific to GNU/Hurd.
39073 * manual/install.texi: Likewise. Reword some references to
39075 * manual/intro.texi: Likewise.
39076 * manual/io.texi: Likewise.
39077 (File Name Portability): Detail which constraints are inapplicable
39078 to all GNU systems and which are only inapplicable to GNU/Hurd.
39079 * manual/job.texi: Likewise.
39080 * manual/llio.texi: Likewise.
39081 (O_NOCTTY): Document as present on GNU/Linux.
39082 * manual/maint.texi: Likewise.
39083 * manual/memory.texi: Likewise.
39084 * manual/pattern.texi: Likewise.
39085 * manual/pipe.texi: Likewise.
39086 * manual/process.texi: Likewise.
39087 * manual/resource.texi: Likewise.
39088 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39090 * manual/setjmp.texi: Likewise.
39091 * manual/signal.texi: Likewise.
39092 * manual/startup.texi: Likewise.
39093 * manual/stdio.texi: Likewise.
39094 * manual/terminal.texi: Likewise.
39095 (ONLCR): Document as POSIX.
39096 (OXTABS): Document availability on GNU/Linux as XTABS.
39097 (ONOEOT): Document availability separately from other bits.
39098 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39099 * manual/time.texi: Likewise.
39100 * manual/users.texi: Likewise.
39101 * INSTALL: Regenerated.
39102 * sysdeps/gnu/errlist.c: Regenerated.
39104 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39105 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39106 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39108 * configure: Regenerated.
39110 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39112 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39113 default includes instead of AC_HEADER_CHECK.
39114 * sysdeps/i386/configure: Regenerated.
39117 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39118 * math/s_cacoshf.c (__cacoshf): Likewise.
39119 * math/s_cacoshl.c (__cacoshl): Likewise.
39120 * math/s_casinh.c (__casinh): Set signs of result from argument.
39121 * math/s_casinhf.c (__casinhf): Likewise.
39122 * math/s_casinhl.c (__casinhl): Likewise.
39123 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39124 (casinh_test): Add more tests.
39125 * sysdeps/i386/fpu/libm-test-ulps: Update.
39126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39128 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39130 * po/zh_TW.po: Update from translation team.
39132 * login/Makefile (distribute): Remove variable.
39133 * catgets/Makefile: Likewise.
39134 * mach/Makefile: Likewise.
39135 * malloc/Makefile: Likewise.
39136 * misc/Makefile: Likewise.
39137 * iconv/Makefile: Likewise.
39138 * nscd/Makefile: Likewise.
39139 * hurd/Makefile: Likewise.
39140 * manual/Makefile: Likewise.
39141 * locale/Makefile: Likewise.
39142 * intl/Makefile: Likewise.
39143 * conform/Makefile: Likewise.
39144 * nss/Makefile: Likewise.
39145 * time/Makefile: Likewise.
39146 * soft-fp/Makefile: Likewise.
39147 * dirent/Makefile: Likewise.
39148 * gmon/Makefile: Likewise.
39149 * po/Makefile: Likewise.
39150 * rt/Makefile: Likewise.
39151 * socket/Makefile: Likewise.
39152 * math/Makefile: Likewise.
39153 * signal/Makefile: Likewise.
39154 * debug/Makefile: Likewise.
39155 * elf/Makefile: Likewise.
39156 * timezone/Makefile: Likewise.
39157 * stdlib/Makefile: Likewise.
39158 * iconvdata/Makefile: Likewise.
39159 * sunrpc/Makefile: Likewise.
39160 * io/Makefile: Likewise.
39161 * argp/Makefile: Likewise.
39162 * inet/Makefile: Likewise.
39163 * hesiod/Makefile: Likewise.
39164 * grp/Makefile: Likewise.
39165 * csu/Makefile: Likewise.
39166 * wctype/Makefile: Likewise.
39167 * crypt/Makefile: Likewise.
39168 * libio/Makefile: Likewise.
39169 * string/Makefile: Likewise.
39170 * nis/Makefile: Likewise.
39171 * resolv/Makefile: Likewise.
39172 * stdio-common/Makefile: Likewise.
39173 * wcsmbs/Makefile: Likewise.
39174 * dlfcn/Makefile: Likewise.
39175 * posix/Makefile: Likewise.
39178 * timezone/Makefile: Don't install timezone files, just the programs
39181 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39183 * nss/databases.def: Add missing gshadow entry.
39185 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39187 2012-03-06 Marek Polacek <polacek@redhat.com>
39190 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39191 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39192 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39193 * stdio-common/tst-long-dbl-fphex.c: New file.
39195 2012-03-06 David S. Miller <davem@davemloft.net>
39197 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39198 (set_obp_int): New function.
39199 (get_obp_int): New function.
39200 (__get_clockfreq_via_dev_openprom): Likewise.
39201 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39202 Avoid unused variable warnings on 'val' and use builtin_expect.
39203 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39205 (INLINE_CLONE_SYSCALL): Likewise.
39207 2012-03-05 David S. Miller <davem@davemloft.net>
39209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39211 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39215 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39216 only for |x| >= 40.
39217 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39219 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39221 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39222 Replace gettimeofday with __vdso_gettimeofday.
39224 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39225 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39226 __vdso_clock_gettime and __vdso_getcpu.
39228 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39229 time with __vdso_time.
39231 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39233 * manual/lang.texi (size_t): Note types to which size_t may be
39234 equivalent with the GNU C Library, but do not describe when
39235 differences between them are significant.
39237 2012-03-05 Andreas Jaeger <aj@suse.de>
39239 * sysdeps/i386/fpu/libm-test-ulps: Update.
39241 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39244 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39245 (__ieee754_pow): Save and restore rounding mode and use
39246 round-to-nearest for main computations.
39247 * math/libm-test.inc (pow_test_tonearest): New function.
39248 (pow_test_towardzero): Likewise.
39249 (pow_test_downward): Likewise.
39250 (pow_test_upward): Likewise.
39251 (main): Call the new functions.
39252 * sysdeps/i386/fpu/libm-test-ulps: Update.
39253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39256 * math/libm-test.inc (cosh_test_tonearest): New function.
39257 (cosh_test_towardzero): Likewise.
39258 (cosh_test_downward): Likewise.
39259 (cosh_test_upward): Likewise.
39260 (sinh_test_tonearest): Likewise.
39261 (sinh_test_towardzero): Likewise.
39262 (sinh_test_downward): Likewise.
39263 (sinh_test_upward): Likewise.
39264 (main): Call the new functions.
39265 * sysdeps/i386/fpu/libm-test-ulps: Update.
39266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39268 2012-03-05 Tom de Vries <tom@codesourcery.com>
39270 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39271 default stack guard is set in last bytes.
39272 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39274 2012-03-05 Kees Cook <keescook@chromium.org>
39276 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39279 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39280 possibly allocate from heap instead of stack.
39281 * stdio-common/bug-vfprintf-nargs.c: New file.
39282 * stdio-common/Makefile (tests): Add nargs overflow test.
39284 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39288 2012-03-03 Marek Polacek <polacek@redhat.com>
39290 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39291 * math/math_private.h: Likewise.
39292 * stdlib/tst-strtod.c: Likewise.
39293 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39294 * sysdeps/x86_64/bits/atomic.h: Likewise.
39296 2012-03-02 David S. Miller <davem@davemloft.net>
39298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39302 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39303 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39304 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39305 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39307 2012-03-02 Roland McGrath <roland@hack.frob.com>
39310 * manual/examples/README: New file, says the example source files
39311 can be used under GPL>=2.
39312 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39313 line containing just "*/".
39314 * manual/examples/add.c: Add copyright header (GPL>=2).
39315 * manual/examples/argp-ex1.c: Likewise.
39316 * manual/examples/argp-ex2.c: Likewise.
39317 * manual/examples/argp-ex3.c: Likewise.
39318 * manual/examples/argp-ex4.c: Likewise.
39319 * manual/examples/atexit.c: Likewise.
39320 * manual/examples/db.c: Likewise.
39321 * manual/examples/dir.c: Likewise.
39322 * manual/examples/dir2.c: Likewise.
39323 * manual/examples/execinfo.c: Likewise.
39324 * manual/examples/filecli.c: Likewise.
39325 * manual/examples/filesrv.c: Likewise.
39326 * manual/examples/fmtmsgexpl.c: Likewise.
39327 * manual/examples/genpass.c: Likewise.
39328 * manual/examples/inetcli.c: Likewise.
39329 * manual/examples/inetsrv.c: Likewise.
39330 * manual/examples/isockad.c: Likewise.
39331 * manual/examples/longopt.c: Likewise.
39332 * manual/examples/memopen.c: Likewise.
39333 * manual/examples/memstrm.c: Likewise.
39334 * manual/examples/mkfsock.c: Likewise.
39335 * manual/examples/mkisock.c: Likewise.
39336 * manual/examples/mygetpass.c: Likewise.
39337 * manual/examples/pipe.c: Likewise.
39338 * manual/examples/popen.c: Likewise.
39339 * manual/examples/rprintf.c: Likewise.
39340 * manual/examples/search.c: Likewise.
39341 * manual/examples/select.c: Likewise.
39342 * manual/examples/setjmp.c: Likewise.
39343 * manual/examples/sigh1.c: Likewise.
39344 * manual/examples/sigusr.c: Likewise.
39345 * manual/examples/stpcpy.c: Likewise.
39346 * manual/examples/strdupa.c: Likewise.
39347 * manual/examples/strftim.c: Likewise.
39348 * manual/examples/strncat.c: Likewise.
39349 * manual/examples/subopt.c: Likewise.
39350 * manual/examples/swapcontext.c: Likewise.
39351 * manual/examples/termios.c: Likewise.
39352 * manual/examples/testopt.c: Likewise.
39353 * manual/examples/testpass.c: Likewise.
39354 * manual/examples/timeval_subtract.c: Likewise.
39357 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39359 * manual/timeval_subtract.c.texi: ... here, new file.
39361 2012-03-02 David S. Miller <davem@davemloft.net>
39363 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39365 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39368 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39369 (__sin): Save and restore rounding mode and use round-to-nearest
39370 for all computations.
39371 (__cos): Save and restore rounding mode and use round-to-nearest
39372 for all computations.
39373 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39375 (tan): Save and restore rounding mode and use round-to-nearest for
39377 * math/libm-test.inc (cos_test_tonearest): New function.
39378 (cos_test_towardzero): Likewise.
39379 (cos_test_downward): Likewise.
39380 (cos_test_upward): Likewise.
39381 (sin_test_tonearest): Likewise.
39382 (sin_test_towardzero): Likewise.
39383 (sin_test_downward): Likewise.
39384 (sin_test_upward): Likewise.
39385 (tan_test_tonearest): Likewise.
39386 (tan_test_towardzero): Likewise.
39387 (tan_test_downward): Likewise.
39388 (tan_test_upward): Likewise.
39389 (main): Call the new functions.
39390 * sysdeps/i386/fpu/libm-test-ulps: Update.
39391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39394 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39395 small n, then large n, before computing and testing k+n.
39396 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39401 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39402 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39403 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39404 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39405 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39406 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39407 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39408 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39409 * math/libm-test.inc (scalbn_test): Add more tests.
39410 (scalbln_test): Likewise.
39412 * manual/filesys.texi (mode_t): Describe constraints on size and
39413 signedness, not exact equivalence to a particular type.
39415 (ino64_t): Likewise.
39417 (nlink_t): Likewise.
39418 (blkcnt_t): Likewise.
39419 (blkcnt64_t): Likewise.
39420 * manual/llio.texi (off_t): Likewise.
39423 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39424 (__ieee754_exp): Save and restore rounding mode and use
39425 round-to-nearest for all computations.
39426 * math/libm-test.inc (exp_test_tonearest): New function.
39427 (exp_test_towardzero): Likewise.
39428 (exp_test_downward): Likewise.
39429 (exp_test_upward): Likewise.
39430 (main): Call the new functions.
39431 * sysdeps/i386/fpu/libm-test-ulps: Update.
39432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39434 2012-03-01 Chris Demetriou <cgd@google.com>
39436 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39437 have predictable order.
39439 2012-03-01 David S. Miller <davem@davemloft.net>
39441 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39443 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39444 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39445 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39446 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39448 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39449 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39450 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39452 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39453 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39454 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39455 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39456 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39460 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39461 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39462 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39464 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39465 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39466 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39467 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39468 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39469 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39470 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39471 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39472 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39473 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39474 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39475 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39476 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39477 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39478 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39479 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39480 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39481 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39482 * sysdeps/sparc/elf/configure: Regenerated.
39484 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39486 * configure.in (AS, LD): Require binutils 2.20 or later.
39487 * configure: Regenerated.
39488 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39489 as required minimum version.
39490 * INSTALL: Regenerated.
39494 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39495 before squaring exponent.
39496 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39497 bottom long double and 27 bits of top long double before squaring
39499 * math/libm-test.inc (erfc_test): Add more tests.
39500 * sysdeps/i386/fpu/libm-test-ulps: Update.
39501 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39504 2012-03-01 Kai Tietz <ktietz@redhat.com>
39506 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39507 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39508 containing bit-fields.
39509 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39510 * soft-fp/single.h (_FP_UNION_S): Likewise.
39511 * soft-fp/double.h (_FP_UNION_D): Likewise.
39513 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39516 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39517 not include ../strcmp.S.
39518 [USE_AS_STRNCASECMP_L]: Likewise.
39519 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39520 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39521 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39522 (__strncasecmp_l_ia32): Define as alias to
39523 __strncasecmp_l_nonascii.
39526 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39527 * sysdeps/i386/fpu/libm-test-ulps: Update.
39528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39530 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39533 2012-02-29 Jeff Law <law@redhat.com>
39535 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39536 out of bounds read.
39538 2012-02-29 Marek Polacek <polacek@redhat.com>
39541 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39542 * elf/Makefile: Add rules to run tst-unused-dep.out.
39544 2012-02-28 David S. Miller <davem@davemloft.net>
39546 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39547 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39548 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39549 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39550 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39551 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39553 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39555 * math/libm-test.inc (llround_test): Move one test from
39556 lround_test. Use TEST_f_L in moved test.
39557 (lround_test): Move misplaced test to llround_test. Add testcase
39560 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39562 * sysdeps/x86_64/fpu/e_expf.S: New file.
39563 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39565 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39568 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39569 of remain_len that may cause incomplete multi-byte character and
39571 * posix/bug-regex33.c: New file.
39572 * posix/Makefile (tests): Add bug-regex33.
39574 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39576 * manual/macros.texi: New file.
39577 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39578 * manual/libc.texinfo: Include macros.texi.
39579 * manual/creatute.texi: Likewise.
39580 * manual/install.texi: Likewise.
39581 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39582 @glibcadj{} in references to the GNU C Library.
39583 * manual/charset.texi: Likewise.
39584 * manual/conf.texi: Likewise.
39585 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39586 when not using those macros.
39587 * manual/creature.texi: Likewise.
39588 * manual/crypt.texi: Likewise.
39589 * manual/errno.texi: Likewise.
39590 * manual/filesys.texi: Likewise.
39591 * manual/header.texi: Likewise.
39592 * manual/install.texi: Likewise.
39593 * manual/intro.texi: Likewise.
39594 * manual/io.texi: Likewise.
39595 * manual/job.texi: Likewise.
39596 * manual/lang.texi: Likewise.
39597 * manual/libc.texiinfo: Likewise.
39598 * manual/llio.texi: Likewise.
39599 * manual/locale.texi: Likewise.
39600 * manual/maint.texi: Likewise.
39601 * manual/math.texi: Likewise.
39602 * manual/memory.texi: Likewise.
39603 * manual/message.texi: Likewise.
39604 * manual/nss.texi: Likewise.
39605 * manual/pattern.texi: Likewise.
39606 * manual/process.texi: Likewise.
39607 * manual/resource.texi: Likewise.
39608 * manual/search.texi: Likewise.
39609 * manual/setjmp.texi: Likewise.
39610 * manual/signal.texi: Likewise.
39611 * manual/socket.texi: Likewise.
39612 * manual/startup.texi: Likewise.
39613 * manual/stdio.texi: Likewise.
39614 * manual/string.texi: Likewise.
39615 * manual/sysinfo.texi: Likewise.
39616 * manual/syslog.texi: Likewise.
39617 * manual/terminal.texi: Likewise.
39618 * manual/time.texi: Likewise.
39619 * manual/users.texi: Likewise.
39620 * INSTALL: Regenerated.
39621 * NOTES: Regenerated.
39622 * sysdeps/gnu/errlist.c: Regenerated.
39624 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39626 * include/dirent.h: Include <dirstream.h> before
39629 2012-02-28 David S. Miller <davem@davemloft.net>
39631 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39632 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39633 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39634 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39636 2012-02-27 David S. Miller <davem@davemloft.net>
39638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39640 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39641 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39644 frame pointer instead of stack pointer relative arg slot.
39645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39646 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39647 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39649 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39652 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39654 2012-02-27 David S. Miller <davem@davemloft.net>
39656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39660 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39661 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39662 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39663 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39665 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39667 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39668 later. Allow versions 5-9.
39669 * configure: Regenerated.
39670 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39671 required minimum version and 4.6 as recommended version. Do not
39672 mention bugs in GCC 2.7 and 2.8.
39673 * INSTALL: Regenerated.
39675 2012-02-27 David S. Miller <davem@davemloft.net>
39677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39681 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39682 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39683 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39684 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39686 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39687 manipulate bits before adding and subtracting TWO112[sx].
39688 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39690 2012-02-27 Roland McGrath <roland@hack.frob.com>
39693 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39694 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39695 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39696 being in POSIX, because they are in 1003.1-2008.
39698 * rt/tst-aio.c: Include <fcntl.h>.
39699 * rt/tst-aio7.c: Likewise.
39700 * rt/tst-aio64.c: Likewise.
39702 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39704 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39706 * manual/install.texi (--with-headers): Describe headers as
39707 interface headers, not private headers.
39708 (Specific advice for GNU/Linux systems): Describe use of headers
39709 from "make headers_install", not private headers from older
39711 * INSTALL: Regenerated.
39712 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39714 * sysdeps/unix/sysv/linux/configure: Regenerated.
39716 * manual/llio.texi (fclean): Remove documentation.
39718 * manual/Makefile (libc-texi-generated): New variable. Include
39720 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39721 $(libc-texi-generated), not duplicated list of files.
39722 (version.texi, stamp-version): New rules.
39723 (realclean): Remove $(libc-texi-generated), not individual files
39724 from that list. Do not remove dir-add.texinfo.
39725 * manual/libc.texinfo: Comment out uses of edition numbers and
39726 references to printed manual. Remove last-updated dates.
39727 (EDITION): Comment out.
39729 (VERSION, UPDATED): Remove.
39730 (version.texi): Include.
39732 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39734 * sysdeps/posix/spawni.c: Include <signal.h>.
39735 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39736 * sysdeps/pthread/aio_fsync.c: Likewise.
39738 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39740 * conform/Makefile (tests): Run only when not cross-compiling and
39741 when fast-check is not defined.
39743 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39744 * conform/data/limits.h-data: Fixes for POSIX2008.
39745 * conform/run-conformtest.sh: Run all tests.
39746 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39748 * include/bits/dlfcn.h: Likewise.
39749 * include/langinfo.h: Likewise.
39750 * include/monetary.h: Likewise.
39751 * include/sys/poll.h: Likewise.
39753 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39755 * posix/spawn.h: Define __need_sigset_t.
39756 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39757 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39758 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39759 to get sigevent_t only.
39760 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39761 only for __USE_GNU.
39762 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39763 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39764 process_vm_writev only for __USE_GNU.
39765 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39767 * conform/Makefile: For now ignore errors from run-conformtest.
39768 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39769 POSIX to avoid namespace pollution. Don't prepend headers.
39770 * conform/data/aio.h-data: Fixes for POSIX testing.
39771 * conform/data/fcntl.h-data: Likewise.
39772 * conform/data/glob.h-data: Likewise.
39773 * conform/data/grp.h-data: Likewise.
39774 * conform/data/pthread.h-data: Likewise.
39775 * conform/data/pwd.h-data: Likewise.
39776 * conform/data/signal.h-data: Likewise.
39777 * conform/data/spawn.h-data: Likewise.
39778 * conform/data/stdio.h-data: Likewise.
39779 * conform/data/stdlib.h-data: Likewise.
39780 * conform/data/stropts.h-data: Likewise.
39781 * conform/data/sys/mman.h-data: Likewise.
39782 * conform/data/sys/stat.h-data: Likewise.
39783 * conform/data/sys/types.h-data: Likewise.
39784 * conform/data/sys/wait.h-data: Likewise.
39785 * conform/data/time.h-data: Likewise.
39786 * conform/data/unistd.h-data: Likewise.
39787 * conform/data/utime.h-data: Likewise.
39789 * io/sys/stat.h: fchmod was always in POSIX.
39790 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39791 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39792 * rt/aio.h: Define __need_timespec before including <time.h>.
39793 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39794 struct. Add forward declaration of pthread_attr_t and use it in
39796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39797 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39798 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39799 always remove CLK_TCK definition.
39801 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39803 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39805 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39807 * conform/run-conformtest.sh: New file.
39808 * conform/Makefile: Run run-conformtest for tests.
39809 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39812 * conform/data/uchar.h-data: New file.
39813 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39814 * conform/data/arpa/inet.h-data: Likewise.
39815 * conform/data/assert.h-data: Likewise.
39816 * conform/data/complex.h-data: Likewise.
39817 * conform/data/cpio.h-data: Likewise.
39818 * conform/data/ctype.h-data: Likewise.
39819 * conform/data/dirent.h-data: Likewise.
39820 * conform/data/dlfcn.h-data: Likewise.
39821 * conform/data/errno.h-data: Likewise.
39822 * conform/data/fcntl.h-data: Likewise.
39823 * conform/data/float.h-data: Likewise.
39824 * conform/data/fmtmsg.h-data: Likewise.
39825 * conform/data/fnmatch.h-data: Likewise.
39826 * conform/data/ftw.h-data: Likewise.
39827 * conform/data/glob.h-data: Likewise.
39828 * conform/data/grp.h-data: Likewise.
39829 * conform/data/iconv.h-data: Likewise.
39830 * conform/data/inttypes.h-data: Likewise.
39831 * conform/data/langinfo.h-data: Likewise.
39832 * conform/data/libgen.h-data: Likewise.
39833 * conform/data/limits.h-data: Likewise.
39834 * conform/data/locale.h-data: Likewise.
39835 * conform/data/math.h-data: Likewise.
39836 * conform/data/monetary.h-data: Likewise.
39837 * conform/data/mqueue.h-data: Likewise.
39838 * conform/data/ndbm.h-data: Likewise.
39839 * conform/data/net/if.h-data: Likewise.
39840 * conform/data/netdb.h-data: Likewise.
39841 * conform/data/netinet/in.h-data: Likewise.
39842 * conform/data/nl_types.h-data: Likewise.
39843 * conform/data/poll.h-data: Likewise.
39844 * conform/data/pthread.h-data: Likewise.
39845 * conform/data/pwd.h-data: Likewise.
39846 * conform/data/regex.h-data: Likewise.
39847 * conform/data/sched.h-data: Likewise.
39848 * conform/data/search.h-data: Likewise.
39849 * conform/data/semaphore.h-data: Likewise.
39850 * conform/data/setjmp.h-data: Likewise.
39851 * conform/data/signal.h-data: Likewise.
39852 * conform/data/spawn.h-data: Likewise.
39853 * conform/data/stdarg.h-data: Likewise.
39854 * conform/data/stdio.h-data: Likewise.
39855 * conform/data/stdlib.h-data: Likewise.
39856 * conform/data/string.h-data: Likewise.
39857 * conform/data/strings.h-data: Likewise.
39858 * conform/data/stropts.h-data: Likewise.
39859 * conform/data/sys/ipc.h-data: Likewise.
39860 * conform/data/sys/mman.h-data: Likewise.
39861 * conform/data/sys/msg.h-data: Likewise.
39862 * conform/data/sys/resource.h-data: Likewise.
39863 * conform/data/sys/select.h-data: Likewise.
39864 * conform/data/sys/sem.h-data: Likewise.
39865 * conform/data/sys/shm.h-data: Likewise.
39866 * conform/data/sys/socket.h-data: Likewise.
39867 * conform/data/sys/stat.h-data: Likewise.
39868 * conform/data/sys/statvfs.h-data: Likewise.
39869 * conform/data/sys/time.h-data: Likewise.
39870 * conform/data/sys/timeb.h-data: Likewise.
39871 * conform/data/sys/times.h-data: Likewise.
39872 * conform/data/sys/types.h-data: Likewise.
39873 * conform/data/sys/uio.h-data: Likewise.
39874 * conform/data/sys/un.h-data: Likewise.
39875 * conform/data/sys/utsname.h-data: Likewise.
39876 * conform/data/sys/wait.h-data: Likewise.
39877 * conform/data/syslog.h-data: Likewise.
39878 * conform/data/tar.h-data: Likewise.
39879 * conform/data/termios.h-data: Likewise.
39880 * conform/data/utime.h-data: Likewise.
39881 * conform/data/utmpx.h-data: Likewise.
39882 * conform/data/varargs.h-data: Likewise.
39883 * conform/data/wchar.h-data: Likewise.
39884 * conform/data/wctype.h-data: Likewise.
39885 * conform/data/wordexp.h-data: Likewise.
39887 * include/stropts.h: New file.
39888 * include/uchar.h: New file.
39889 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39890 * include/assert.h: Likewise.
39891 * include/ctype.h: Likewise.
39892 * include/dirent.h: Likewise.
39893 * include/dlfcn.h: Likewise.
39894 * include/fcntl.h: Likewise.
39895 * include/fnmatch.h: Likewise.
39896 * include/glob.h: Likewise.
39897 * include/grp.h: Likewise.
39898 * include/libio.h: Likewise.
39899 * include/locale.h: Likewise.
39900 * include/math.h: Likewise.
39901 * include/net/if.h: Likewise.
39902 * include/netdb.h: Likewise.
39903 * include/netinet/in.h: Likewise.
39904 * include/pthread.h: Likewise.
39905 * include/pwd.h: Likewise.
39906 * include/regex.h: Likewise.
39907 * include/sched.h: Likewise.
39908 * include/search.h: Likewise.
39909 * include/setjmp.h: Likewise.
39910 * include/signal.h: Likewise.
39911 * include/stdio.h: Likewise.
39912 * include/stdlib.h: Likewise.
39913 * include/string.h: Likewise.
39914 * include/sys/cdefs.h: Likewise.
39915 * include/sys/mman.h: Likewise.
39916 * include/sys/msg.h: Likewise.
39917 * include/sys/resource.h: Likewise.
39918 * include/sys/select.h: Likewise.
39919 * include/sys/socket.h: Likewise.
39920 * include/sys/stat.h: Likewise.
39921 * include/sys/statvfs.h: Likewise.
39922 * include/sys/time.h: Likewise.
39923 * include/sys/times.h: Likewise.
39924 * include/sys/uio.h: Likewise.
39925 * include/sys/utsname.h: Likewise.
39926 * include/sys/wait.h: Likewise.
39927 * include/termios.h: Likewise.
39928 * include/time.h: Likewise.
39929 * include/ulimit.h: Likewise.
39930 * include/unistd.h: Likewise.
39931 * include/utime.h: Likewise.
39932 * include/wchar.h: Likewise.
39933 * include/wctype.h: Likewise.
39934 * include/wordexp.h: Likewise.
39936 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39938 * time/time.h: TIME_UTC must be a macro.
39939 Make timespec_get available for ISO C11 only as well.
39941 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39943 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39944 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39946 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39948 * configure.in: Use -o not -a in test for unsupported multi-arch.
39950 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39952 * manual/texinfo.tex: Update to version 2012-01-19.16.
39954 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39956 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39958 2012-02-24 Roland McGrath <roland@hack.frob.com>
39961 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39962 * manual/fdl-1.3.texi: New file.
39963 * manual/fdl-1.1.texi: File removed.
39966 * manual/libc.texinfo (FDL_VERSION): New @set.
39967 Use it for mention of FDL in cover text.
39968 (Documentation License): Use it in @include file name.
39970 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39971 Roland McGrath <roland@hack.frob.com>
39974 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39975 (not LONG_LONG_MAX and LONG_LONG_MIN.
39976 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39977 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39979 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39981 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39985 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39986 manipulate bits before adding and subtracting TWO23[sx].
39987 * math/libm-test.inc (nearbyint_test): Add more tests.
39989 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39992 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39993 bits before adding and subtracting TWO23[sx].
39994 * math/libm-test.inc (rint_test): Add more tests.
39995 (rint_test_tonearest): Likewise.
39996 (rint_test_towardzero): Likewise.
39997 (rint_test_downward): Likewise.
39998 (rint_test_upward: Likewise.
40000 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40003 * include/stdc-predef.h: New file. Extracted from features.h.
40004 * include/features.h: Include stdc-predef.h.
40005 * Makefile (headers): Add stdc-predef.h.
40006 * CONFORMANCE (Compiler limitations): Update.
40008 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40010 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40012 2012-02-21 David S. Miller <davem@davemloft.net>
40014 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40015 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40017 2012-02-20 David S. Miller <davem@davemloft.net>
40019 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40020 using a normal save/restore sequence, rather than allocating a
40021 dummy stack frame just to store a frame pointer and restore.
40022 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40024 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40026 * manual/install.texi: Fix stray word in line-wrapped comment.
40028 2012-02-20 David S. Miller <davem@davemloft.net>
40030 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40031 both binutils and gcc support GOTDATA.
40033 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40034 "rd %pc" in the PIC register setup sequences.
40036 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40037 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40038 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40039 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40040 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40042 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40043 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40044 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40045 (SYSCALL_ERROR_HANDLER): Likewise.
40046 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40047 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40049 (SYSCALL_ERROR_HANDLER): Likewise.
40051 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40052 (HAVE_GCC_GOTDATA): New.
40053 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40054 relocation support in both binutils and gcc.
40055 * sysdeps/sparc/elf/configure: Regenerate.
40057 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40058 * sysdeps/sparc/sparc32/elf/configure: Delete.
40059 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40060 * sysdeps/sparc/sparc64/elf/configure: Delete.
40061 * sysdeps/sparc/elf/configure.in: New file.
40062 * sysdeps/sparc/elf/configure: Generate.
40064 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40065 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40066 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40067 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40068 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40070 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40072 * manual/install.texi: Do not mention specific glibc version
40074 * manual/libc.texinfo (VERSION, UPDATED): Update.
40075 (@copying): Use @copyright{} and range of years.
40077 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40080 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40081 [crti.S not in sysdirs] (generated): Do not append.
40082 [crti.S not in sysdirs] (omit-deps): Likewise.
40083 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40084 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40085 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40086 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40087 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40089 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40090 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40091 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40092 * csu/defs.awk: Remove file.
40093 * sysdeps/generic/initfini.c: Likewise.
40094 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40096 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40099 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40101 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40102 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40103 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40104 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40105 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40106 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40108 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40109 (__EPOLL_PACKED): Define to empty if not defined by
40111 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40115 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40117 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40118 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40119 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40120 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40122 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40126 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40128 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40130 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40131 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40132 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40135 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40137 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40138 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40140 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40142 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40143 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40145 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40147 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40150 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40152 * math/w_acos.c: Use non-signaling floating-point comparisons.
40153 * math/w_acosf.c: Likewise.
40154 * math/w_acosh.c: Likewise.
40155 * math/w_acoshf.c: Likewise.
40156 * math/w_acoshl.c: Likewise.
40157 * math/w_acosl.c: Likewise.
40158 * math/w_asin.c: Likewise.
40159 * math/w_asinf.c: Likewise.
40160 * math/w_asinl.c: Likewise.
40161 * math/w_atanh.c: Likewise.
40162 * math/w_atanhf.c: Likewise.
40163 * math/w_atanhl.c: Likewise.
40164 * math/w_exp2.c: Likewise.
40165 * math/w_exp2f.c: Likewise.
40166 * math/w_exp2l.c: Likewise.
40167 * math/w_j0.c: Likewise.
40168 * math/w_j0f.c: Likewise.
40169 * math/w_j0l.c: Likewise.
40170 * math/w_j1.c: Likewise.
40171 * math/w_j1f.c: Likewise.
40172 * math/w_j1l.c: Likewise.
40173 * math/w_jn.c: Likewise.
40174 * math/w_jnf.c: Likewise.
40175 * math/w_log.c: Likewise.
40176 * math/w_log10.c: Likewise.
40177 * math/w_log10f.c: Likewise.
40178 * math/w_log10l.c: Likewise.
40179 * math/w_log2.c: Likewise.
40180 * math/w_log2f.c: Likewise.
40181 * math/w_log2l.c: Likewise.
40182 * math/w_logf.c: Likewise.
40183 * math/w_logl.c: Likewise.
40184 * math/w_sqrt.c: Likewise.
40185 * math/w_sqrtf.c: Likewise.
40186 * math/w_sqrtl.c: Likewise.
40187 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40188 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40189 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40190 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40191 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40193 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40196 * manual/string.texi (strnlen): Use correct parameter name in
40197 equivalent expression.
40199 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40202 * manual/users.texi (seteuid): Consistently use neweuid for
40205 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40208 * manual/nss.texi (Services in the NSS configuration): Correct
40209 list of services in example configuration file.
40211 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40214 * manual/arith.texi: Remove statements about negative zero
40215 behaving identically to zero.
40217 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40220 * manual/install.texi: Do not document upgrading from libc5.
40222 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40225 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40227 2012-02-18 David S. Miller <davem@davemloft.net>
40229 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40230 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40231 %o7 across the call.
40232 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40234 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40235 SETUP_PIC_REG_LEAF.
40236 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40237 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40238 * sysdeps/sparc/crtn.S: Likewise.
40240 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40242 * aout/Makefile: Remove.
40244 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40247 * manual/examples/argp-ex1.c (main): Format definition in GNU
40249 * manual/examples/argp-ex2.c (main): Likewise.
40250 * manual/examples/argp-ex3.c (main): Likewise.
40251 * manual/examples/argp-ex4.c (main): Likewise.
40252 * manual/examples/longopt.c (main): Use new-style prototype
40254 * manual/examples/strncat.c (main): Specify return type and use
40255 (void) for arguments.
40256 * manual/examples/subopt.c (main): Use char **argv argument.
40258 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40261 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40264 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40267 * manual/string.texi (strchr): Change when strchrnul is
40270 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40273 * manual/locale.texi (setlocale): Document LOCPATH.
40275 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40278 * manual/process.texi (execle): Move @dots{} before last argument.
40280 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40283 * manual/charset.texi (Generic Charset Conversion): Fix typo
40284 (LC_TYPE -> LC_CTYPE).
40286 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40289 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40290 (scalbnf): Likewise.
40291 (scalbnl): Likewise.
40292 (scalbln): Likewise.
40293 (scalblnf): Likewise.
40294 (scalblnl): Likewise.
40295 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40296 (vwarnx): Likewise.
40299 * manual/filesys.texi (telldir): Use braces around return type.
40300 * manual/llio.texi (mmap): Add space after comma.
40301 (mmap64): Likewise.
40302 * manual/math.texi (jn): Use @var{} on parameter names.
40308 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40310 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40312 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40313 (sched_get_priority_max): Likewise.
40314 * manual/signal.texi (sigvec): Add space after comma.
40315 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40317 (if_indextoname): Likewise.
40318 (if_freenameindex): Likewise.
40319 (sendto): Use ',' instead of '.' in prototype.
40320 * manual/startup.texi (syscall): Use @dots{} instead of literal
40322 * manual/stdio.texi (__fpending): Separate initial words of
40323 paragraph from @deftypefun line.
40324 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40326 (vsyslog): Use @var{} on parameter names.
40327 * manual/terminal.texi (stty): Use @var{} on parameter names.
40328 * manual/users.texi (getutmp): Use @var{} on parameter names.
40329 (getutmpx): Likewise.
40331 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40334 * manual/stdio.texi (fopen): Fix typos in description of
40337 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40340 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40341 get clock_id definition.
40343 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40346 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40347 (madvise): Cast every argument to void on its own.
40349 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40352 * manual/startup.texi (Exit Status): Fix typo.
40354 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40357 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40358 * manual/examples/argp-ex2.c: Likewise.
40359 * manual/examples/argp-ex3.c: Likewise.
40361 2012-02-16 Richard Henderson <rth@redhat.com>
40363 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40364 * sysdeps/s390/s390-32/initfini.c: Remove.
40365 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40366 * sysdeps/s390/s390-64/initfini.c: Remove.
40368 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40370 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40371 compiler output for sysdeps/generic/initfini.c.
40372 * sysdeps/sh/elf/initfini.c: Remove file.
40374 2012-02-16 David S. Miller <davem@davemloft.net>
40377 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40379 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40380 * sysdeps/sparc/crti.S: New file.
40381 * sysdeps/sparc/crtn.S: New file.
40382 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40383 * sysdeps/sparc/sparc64/Makefile: Likewise.
40385 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40388 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40390 2012-02-15 Roland McGrath <roland@hack.frob.com>
40393 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40395 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40396 (write, read, close): Likewise.
40397 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40399 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40401 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40402 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40403 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40404 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40406 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40410 2012-02-14 Marek Polacek <polacek@redhat.com>
40412 * sysdeps/x86_64/crti.S: New file.
40413 * sysdeps/x86_64/crtn.S: New file.
40414 * sysdeps/x86_64/elf/initfini.c: Remove file.
40416 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40418 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40419 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40420 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40421 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40423 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40427 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40429 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40430 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40431 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40432 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40434 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40438 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40440 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40441 __feraiseexcept instead of feraiseexcept.
40443 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40444 nanosleep invocations.
40445 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40446 strings, and add error checking for a nanosleep invocations.
40448 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40450 Replace FSF snail mail address with URLs, as per GNU coding standards.
40451 Most of the snail mail addresses were wrong anyway, and omitting
40452 them makes the source code easier to maintain. Almost all of the
40453 changes are to license notices and to locale LC_IDENTIFICATION
40454 addresses, except for this one:
40455 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40456 not its snail mail address.
40458 2012-02-09 Richard Henderson <rth@twiddle.net>
40460 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40461 of kernel-features.h.
40463 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40465 2012-02-08 Marek Polacek <polacek@redhat.com>
40467 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40468 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40469 * sysdeps/gnu/_G_config.h: Likewise.
40470 * sysdeps/generic/_G_config.h: Likewise.
40472 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40474 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40478 * sysdeps/powerpc/powerpc32/crti.S: New file.
40479 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40480 * sysdeps/powerpc/powerpc64/crti.S: New file.
40481 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40483 * Makeconfig (have-initfini): Don't set.
40484 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40485 * configure.in (nopic_initfini): Don't substitute.
40486 * config.h.in (HAVE_INITFINI): Don't #undef.
40487 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40488 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40490 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40492 Support crti.S and crtn.S provided directly by architectures.
40493 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40494 [crti.S in sysdirs] (omit-deps): Likewise.
40495 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40496 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40497 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40498 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40499 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40500 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40501 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40502 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40503 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40504 compiler output for sysdeps/generic/initfini.c.
40505 * sysdeps/i386/elf/Makefile: Remove file.
40506 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40508 2012-02-07 Marek Polacek <polacek@redhat.com>
40510 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40511 * sysdeps/gnu/_G_config.h: Likewise.
40512 * sysdeps/mach/hurd/_G_config.h: Likewise.
40514 2012-02-07 Marek Polacek <polacek@redhat.com>
40516 * math/Makefile (tests): Add tst-CMPLX2.
40517 * math/tst-CMPLX2.c: New file.
40519 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40521 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40523 * math/libm-test.inc (jn_test): Add missing L suffix.
40525 2012-02-06 Marek Polacek <polacek@redhat.com>
40527 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40528 * sysdeps/i386/fpu/e_powf.S: Likewise.
40529 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40530 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40531 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40532 * sysdeps/i386/fpu/e_pow.S: Likewise.
40533 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40534 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40535 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40536 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40537 * sysdeps/i386/fpu/e_log2.S: Likewise.
40538 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40539 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40540 * sysdeps/i386/fpu/e_powl.S: Likewise.
40541 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40542 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40543 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40544 * sysdeps/i386/fpu/e_logl.S: Likewise.
40545 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40546 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40547 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40548 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40549 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40550 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40551 * sysdeps/i386/fpu/e_log.S: Likewise.
40552 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40553 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40554 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40555 * sysdeps/i386/fpu/e_logf.S: Likewise.
40556 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40557 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40558 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40559 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40560 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40561 * sysdeps/i386/fpu/e_log10.S: Likewise.
40562 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40563 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40564 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40565 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40566 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40567 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40568 * sysdeps/i386/asm-syntax.h: Likewise.
40569 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40570 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40571 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40572 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40573 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40574 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40575 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40576 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40577 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40578 * sysdeps/powerpc/sysdep.h: Likewise.
40579 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40580 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40582 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40585 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40587 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40589 * sysdeps/i386/sysdep.h: Include <features.h>.
40590 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40593 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40595 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40597 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40600 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40602 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40603 (SETUP_PIC_REG): Use GET_PC_THUNK.
40604 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40607 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40609 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40610 for non-PIC compilation.
40611 (SETUP_PIC_REG): Add .p2align directive.
40612 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40613 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40614 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40615 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40616 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40617 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40618 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40619 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40620 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40621 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40622 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40623 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40624 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40625 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40626 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40627 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40628 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40629 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40630 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40631 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40632 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40633 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40634 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40635 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40636 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40637 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40638 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40639 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40640 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40641 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40642 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40643 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40644 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40645 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40646 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40647 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40648 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40649 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40650 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40651 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40652 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40654 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40656 * math/tst-CMPLX.c: Include <stdio.h>.
40658 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40660 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40662 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40663 * sysdeps/sparc/bits/mathdef.h: Likewise.
40665 2012-01-31 Marek Polacek <polacek@redhat.com>
40667 * libio/libio.h: Don't define _PARAMS.
40668 * locale/programs/config.h: Don't define PARAMS.
40669 * stdlib/strtol_l.c: Likewise.
40670 (__strtol_l): Remove PARAMS from the prototype.
40672 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40674 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40675 names. Just use the correct names. Remove unnecessary wrapper
40677 * malloc/arena.c: Likewise.
40678 * malloc/hooks.c: Likewise.
40680 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40681 ARENA_TEST says not to. Simplify test for creation of a new arena.
40682 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40684 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40686 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40688 (update_get_addr): New function.
40689 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40690 GET_ADDR_MODULE parameter.
40692 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40694 * crypt/cert.c: Remove __STDC__ conditionals.
40695 * crypt/crypt-entry.c: Likewise.
40696 * crypt/crypt_util.c: Likewise.
40697 * libio/filedoalloc.c: Likewise.
40698 * libio/fileops.c: Likewise.
40699 * libio/genops.c: Likewise.
40700 * libio/iofclose.c: Likewise.
40701 * libio/iofdopen.c: Likewise.
40702 * libio/iofopen.c: Likewise.
40703 * libio/iofopen64.c: Likewise.
40704 * libio/iogetdelim.c: Likewise.
40705 * libio/iopopen.c: Likewise.
40706 * libio/obprintf.c: Likewise.
40707 * libio/oldfileops.c: Likewise.
40708 * libio/oldiofclose.c: Likewise.
40709 * libio/oldiofdopen.c: Likewise.
40710 * libio/oldiofopen.c: Likewise.
40711 * libio/oldiopopen.c: Likewise.
40712 * libio/wfiledoalloc.c: Likewise.
40713 * libio/wgenops.c: Likewise.
40714 * locale/programs/xmalloc.c: Likewise.
40715 * misc/syslog.c: Likewise.
40716 * stdio-common/xbug.c: Likewise.
40717 * string/memchr.c: Likewise.
40718 * string/memcmp.c: Likewise.
40719 * string/memrchr.c: Likewise.
40720 * string/rawmemchr.c: Likewise.
40721 * sysdeps/posix/getcwd.c: Likewise.
40722 * time/strftime_l.c: Likewise.
40724 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40726 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40727 * config.make.in (config-cflags-sse2avx): Define.
40728 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40731 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40733 * scripts/config.guess: Update from upstream config git repository.
40734 * scripts/config.sub: Likewise.
40736 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40738 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40740 (R_TILEPRO_*, R_TILEGX_*): New macros.
40742 * scripts/firstversions.awk: Fix bug in version range handling.
40744 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40746 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40748 * include/sys/epoll.h: New file.
40749 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40752 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40754 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40755 Avoid unnecessary __WORDSIZE == 64 test.
40756 (fmaxf): Use VEX format if possible.
40761 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40762 * math/math_private.h: Remove libc_fegetround* and
40764 * sysdeps/i386/configure.in: Check for -msse2avx.
40765 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40766 also if SSE2AVX is defined.
40767 Remove libc_fegetround* and libc_fesetround*.
40768 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40769 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40770 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40772 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40773 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40774 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40775 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40776 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40778 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40780 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40782 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40784 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40786 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40789 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40791 * Makeconfig (libm): Define.
40792 * elf/Makefile: Add rules to build and run tst-relsort1.
40793 * elf/tst-relsort1.c: New file.
40794 * elf/tst-relsort1mod1.c: New file.
40795 * elf/tst-relsort1mod2.c: New file.
40797 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40799 * math/s_ldexp.c: Remove __STDC__ conditionals.
40800 * math/s_ldexpf.c: Likewise.
40801 * math/s_ldexpl.c: Likewise.
40802 * math/s_nextafter.c: Likewise.
40803 * math/s_nexttowardf.c: Likewise.
40804 * math/s_significand.c: Likewise.
40805 * math/s_significandf.c: Likewise.
40806 * math/s_significandl.c: Likewise.
40807 * math/w_jnl.c: Likewise.
40808 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40809 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40810 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40811 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40812 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40814 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40815 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40816 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40817 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40818 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40819 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40820 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40821 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40822 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40823 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40824 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40825 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40826 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40827 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40828 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40829 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40830 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40831 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40832 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40833 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40834 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40835 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40836 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40837 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40838 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40839 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40840 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40841 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40842 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40843 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40844 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40845 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40846 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40847 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40848 * sysdeps/ieee754/k_standard.c: Likewise.
40849 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40850 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40851 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40852 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40853 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40854 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40855 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40856 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40857 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40858 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40859 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40860 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40861 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40862 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40863 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40864 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40865 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40866 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40867 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40868 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40869 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40870 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40871 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40872 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40873 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40874 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40875 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40876 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40878 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40879 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40880 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40881 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40882 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40883 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40884 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40885 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40886 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40887 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40888 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40889 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40890 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40891 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40892 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40893 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40894 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40895 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40896 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40897 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40898 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40899 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40900 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40901 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40902 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40903 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40904 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40905 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40906 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40907 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40908 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40909 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40910 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40911 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40912 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40913 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40914 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40915 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40916 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40917 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40918 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40919 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40920 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40921 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40922 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40923 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40924 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40925 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40926 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40927 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40928 * sysdeps/ieee754/s_matherr.c: Likewise.
40929 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40930 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40934 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40936 * crypt/md5.h: Remove __STDC__ conditionals.
40937 * libio/libioP.h: Likewise.
40938 * locale/programs/config.h: Likewise.
40939 * sysdeps/generic/sysdep.h: Likewise.
40940 * sysdeps/i386/asm-syntax.h: Likewise.
40941 * sysdeps/s390/asm-syntax.h: Likewise.
40942 * sysdeps/unix/sysdep.h: Likewise.
40943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40946 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40948 * libio/libio.h: Remove __STDC__ conditionals.
40949 * malloc/obstack.h: Likewise.
40950 * math/complex.h: Likewise.
40951 * math/math.h: Likewise.
40952 * sysdeps/generic/_G_config.h: Likewise.
40953 * sysdeps/gnu/_G_config.h: Likewise.
40954 * sysdeps/mach/hurd/_G_config.h: Likewise.
40955 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40956 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40957 * sysdeps/sparc/bits/mathdef.h: Likewise.
40959 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40962 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40963 Clean up HAS_* macros.
40964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40965 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40967 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40969 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40970 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40971 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40973 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40975 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40977 * elf/tst-unique3.cc (gets): Remove declaration.
40978 * elf/tst-unique3lib.cc (gets): Likewise.
40979 * elf/tst-unique3lib2.cc (gets): Likewise.
40980 * elf/tst-unique4.cc (gets): Likewise.
40982 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40984 * include/stdio.h: Add C++ protection. Add gets declarations and
40986 * debug/tst-chk1.c: Don't declare gets here.
40987 * stdio-common/tst-gets.c: Likewise.
40989 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40991 * posix/glob: Remove directory.
40993 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40995 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40997 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40999 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41000 of the non-standard EPFNOSUPPORT.
41002 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41004 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41005 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41006 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41008 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41010 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41012 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41014 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41016 * nscd/grpcache.c (cache_addgr): Likewise.
41017 * nscd/hstcache.c (cache_addhst): Likewise.
41018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41019 * nscd/pwdcache.c (cache_addpw): Likewise.
41020 * nscd/servicescache.c (cache_addserv): Likewise.
41022 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41024 * malloc/malloc.c: Various cleanups.
41025 * malloc/hooks.c: Likewise.
41027 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41028 * stdlib/bug-fmtmsg1.c: New file.
41030 * stdlib/fmtmsg.c (init): Add missing unlock.
41031 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41033 2012-01-12 Marek Polacek <polacek@redhat.com>
41035 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41038 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41040 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41041 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41042 macro to ensure uniqueness of label name.
41043 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41044 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41046 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41048 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41050 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41051 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41052 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41055 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41057 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41059 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41060 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41061 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41063 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41065 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41066 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41067 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41070 * math/bits/math-finite.h: Add ldexp support.
41072 2012-01-10 Marek Polacek <polacek@redhat.com>
41074 * locale/programs/localedef.h (show_archive_content): Add noreturn
41077 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41079 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41081 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41083 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41085 * io/Makefile (headers): Add bits/poll2.h.
41087 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41090 typo #include statement.
41092 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41094 * include/sys/cdefs.h: Define __attribute_alloc_size.
41095 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41096 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41097 * elf/pldd.c: Likewise.
41098 * iconv/iconv_charmap.c: Likewise.
41099 * iconv/iconvconfig.c: Likewise.
41100 * iconv/strtab.c: Likewise.
41101 * locale/programs/locale.c: Likewise.
41102 * locale/programs/localedef.h: Likewise.
41103 * locale/programs/simple-hash.c: Likewise.
41104 * nscd/nscd.h: Likewise.
41105 * nss/makedb.c: Likewise.
41106 * sysdeps/generic/ldconfig.h: Likewise.
41107 * locale/programs/localedef.c: Remove xmalloc prototype.
41108 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41110 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41112 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41115 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41117 * math/Makefile (tests): Add tst-CMPLX.
41118 * math/tst-CMPLX.c: New file.
41120 * math/complex.h (CMPLXL): Fix typo.
41122 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41123 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41125 * debug/tst-chk1.c: Add poll and ppoll tests.
41126 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41127 * include/sys/poll.h: Add hidden proto for ppoll.
41128 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41129 * sysdeps/mach/hurd/ppoll.c: Likewise.
41130 * io/ppoll.c: Likewise.
41131 * debug/poll_chk.c: New file.
41132 * debug/ppoll_chk.c: New file.
41133 * include/bits/poll2.h: New file.
41134 * io/bits/poll2.h: New file.
41137 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41139 * configure.in: static is always set to yes. Remove.
41140 * config.make.in: Don't set build-static.
41141 * Makeconfig: Remove use of build-static.
41142 * dlfcn/Makefile: Likewise.
41143 * elf/Makefile: Likewise.
41144 * math/Makefile: Likewise.
41145 * misc/Makefile: Likewise.
41146 * nptl/Makefile: Likewise.
41147 * sysdeps/mach/hurd/Makefile: Likewise.
41149 * configure.in: PWD_P is not used anymore.
41150 * config.make.in: Remove PWD_P entry.
41152 * configure.in: Remove last remnants of RANLIB.
41153 No need to check for signed size_t anymore.
41154 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41156 Remove __builtin_expect test because we require at least gcc 3.4.
41157 * aclocal.m4: Likewise.
41159 * wcsmbs/mbrtoc16.c: Implement using towc function.
41160 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41161 * wcsmbs/wcsmbsload.c: Likewise.
41162 * iconv/gconv_simple.c: Likewise.
41163 * iconv/gconv_int.h: Likewise.
41164 * iconv/gconv_builtin.h: Likewise.
41165 * iconv/iconv_prog.c: Remove CHAR16 handling.
41167 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41169 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41171 * configure.in: Remove --with-elf and --enable-bounded options.
41172 Dont set base_machine for ia64. More non-ELF conditions removed.
41173 Remove testing and setting of leading underscore information.
41174 * config.make.in (build-bounded): Set to no.
41175 * config.h.in: Remove NO_UNDERSCORES entry.
41176 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41178 * csu/start.c: Remove !NO_UNDERSCORE code.
41179 * locale/localeinfo.h: Likewise.
41180 * sysdeps/generic/machine-gmon.h: Likewise.
41181 * sysdeps/generic/sysdep.h: Likewise.
41182 * sysdeps/i386/sysdep.h: Likewise.
41183 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41184 * sysdeps/mach/sysdep.h: Likewise.
41185 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41186 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41187 * sysdeps/sh/sysdep.h: Likewise.
41188 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41189 * sysdeps/unix/i386/sysdep.S: Likewise.
41190 * sysdeps/unix/sparc/start.c: Likewise.
41191 * sysdeps/unix/sparc/sysdep.S: Likewise.
41192 * sysdeps/unix/sparc/sysdep.h: Likewise.
41193 * sysdeps/unix/start.c: Likewise.
41194 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41195 * sysdeps/x86_64/sysdep.h: Likewise.
41197 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41200 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41202 * argp/argp-fmtstream.h: Use const instead __const.
41203 * argp/argp.h: Likewise.
41204 * assert/assert.h: Likewise.
41205 * bits/fenv.h: Likewise.
41206 * bits/sched.h: Likewise.
41207 * bits/sigset.h: Likewise.
41208 * bits/sigthread.h: Likewise.
41209 * catgets/nl_types.h: Likewise.
41210 * conform/data/pthread.h-data: Likewise.
41211 * crypt/crypt-private.h: Likewise.
41212 * crypt/crypt.h: Likewise.
41213 * crypt/crypt_util.c: Likewise.
41214 * ctype/ctype.h: Likewise.
41215 * debug/execinfo.h: Likewise.
41216 * debug/mbsnrtowcs_chk.c: Likewise.
41217 * debug/mbsrtowcs_chk.c: Likewise.
41218 * debug/wcsnrtombs_chk.c: Likewise.
41219 * debug/wcsrtombs_chk.c: Likewise.
41220 * debug/wcstombs_chk.c: Likewise.
41221 * dirent/dirent.h: Likewise.
41222 * dlfcn/dlfcn.h: Likewise.
41223 * elf/neededtest4.c: Likewise.
41224 * grp/grp.h: Likewise.
41225 * gshadow/gshadow.h: Likewise.
41226 * iconv/gconv.h: Likewise.
41227 * iconv/gconv_int.h: Likewise.
41228 * iconv/gconv_simple.c: Likewise.
41229 * iconv/iconv.h: Likewise.
41230 * iconv/loop.c: Likewise.
41231 * iconv/skeleton.c: Likewise.
41232 * include/aio.h: Likewise.
41233 * include/aliases.h: Likewise.
41234 * include/argz.h: Likewise.
41235 * include/arpa/inet.h: Likewise.
41236 * include/assert.h: Likewise.
41237 * include/dirent.h: Likewise.
41238 * include/dlfcn.h: Likewise.
41239 * include/execinfo.h: Likewise.
41240 * include/fcntl.h: Likewise.
41241 * include/fenv.h: Likewise.
41242 * include/glob.h: Likewise.
41243 * include/grp.h: Likewise.
41244 * include/libintl.h: Likewise.
41245 * include/mntent.h: Likewise.
41246 * include/netdb.h: Likewise.
41247 * include/pwd.h: Likewise.
41248 * include/rpc/netdb.h: Likewise.
41249 * include/sched.h: Likewise.
41250 * include/search.h: Likewise.
41251 * include/shadow.h: Likewise.
41252 * include/signal.h: Likewise.
41253 * include/stdio.h: Likewise.
41254 * include/stdlib.h: Likewise.
41255 * include/string.h: Likewise.
41256 * include/sys/socket.h: Likewise.
41257 * include/sys/stat.h: Likewise.
41258 * include/sys/statfs.h: Likewise.
41259 * include/sys/statvfs.h: Likewise.
41260 * include/sys/syslog.h: Likewise.
41261 * include/sys/time.h: Likewise.
41262 * include/sys/uio.h: Likewise.
41263 * include/time.h: Likewise.
41264 * include/unistd.h: Likewise.
41265 * include/utmp.h: Likewise.
41266 * include/wchar.h: Likewise.
41267 * include/wctype.h: Likewise.
41268 * inet/aliases.h: Likewise.
41269 * inet/arpa/inet.h: Likewise.
41270 * inet/netinet/ether.h: Likewise.
41271 * inet/netinet/in.h: Likewise.
41272 * intl/libintl.h: Likewise.
41273 * io/bits/fcntl2.h: Likewise.
41274 * io/fcntl.h: Likewise.
41275 * io/ftw.h: Likewise.
41276 * io/sys/poll.h: Likewise.
41277 * io/sys/stat.h: Likewise.
41278 * io/sys/statfs.h: Likewise.
41279 * io/sys/statvfs.h: Likewise.
41280 * io/utime.h: Likewise.
41281 * libio/bits/stdio.h: Likewise.
41282 * libio/bits/stdio2.h: Likewise.
41283 * libio/libio.h: Likewise.
41284 * libio/libioP.h: Likewise.
41285 * libio/stdio.h: Likewise.
41286 * locale/lc-ctype.c: Likewise.
41287 * locale/locale.h: Likewise.
41288 * login/utmp.h: Likewise.
41289 * malloc/arena.c: Likewise.
41290 * malloc/malloc.c: Likewise.
41291 * malloc/malloc.h: Likewise.
41292 * malloc/mcheck.c: Likewise.
41293 * malloc/mtrace.c: Likewise.
41294 * math/bits/mathcalls.h: Likewise.
41295 * math/fenv.h: Likewise.
41296 * math/math_private.h: Likewise.
41297 * misc/bits/error.h: Likewise.
41298 * misc/bits/syslog.h: Likewise.
41299 * misc/err.h: Likewise.
41300 * misc/error.h: Likewise.
41301 * misc/fstab.h: Likewise.
41302 * misc/mntent.h: Likewise.
41303 * misc/regexp.h: Likewise.
41304 * misc/search.h: Likewise.
41305 * misc/sgtty.h: Likewise.
41306 * misc/sys/mman.h: Likewise.
41307 * misc/sys/syslog.h: Likewise.
41308 * misc/sys/uio.h: Likewise.
41309 * misc/sys/xattr.h: Likewise.
41310 * misc/ttyent.h: Likewise.
41311 * nis/rpcsvc/ypclnt.h: Likewise.
41312 * nss/nss.h: Likewise.
41313 * posix/bits/unistd.h: Likewise.
41314 * posix/fnmatch.h: Likewise.
41315 * posix/glob.h: Likewise.
41316 * posix/sched.h: Likewise.
41317 * posix/spawn.h: Likewise.
41318 * posix/sys/wait.h: Likewise.
41319 * posix/unistd.h: Likewise.
41320 * posix/wordexp.h: Likewise.
41321 * pwd/pwd.h: Likewise.
41322 * resolv/netdb.h: Likewise.
41323 * resource/sys/resource.h: Likewise.
41324 * rt/aio.h: Likewise.
41325 * rt/bits/mqueue2.h: Likewise.
41326 * rt/mqueue.h: Likewise.
41327 * shadow/shadow.h: Likewise.
41328 * signal/signal.h: Likewise.
41329 * socket/send.c: Likewise.
41330 * socket/sendto.c: Likewise.
41331 * socket/sys/socket.h: Likewise.
41332 * stdio-common/printf.h: Likewise.
41333 * stdlib/bits/stdlib.h: Likewise.
41334 * stdlib/fmtmsg.h: Likewise.
41335 * stdlib/monetary.h: Likewise.
41336 * stdlib/stdlib.h: Likewise.
41337 * stdlib/ucontext.h: Likewise.
41338 * streams/stropts.h: Likewise.
41339 * string/argz.h: Likewise.
41340 * string/bits/string2.h: Likewise.
41341 * string/string.h: Likewise.
41342 * string/strings.h: Likewise.
41343 * sunrpc/rpc/auth.h: Likewise.
41344 * sunrpc/rpc/auth_des.h: Likewise.
41345 * sunrpc/rpc/clnt.h: Likewise.
41346 * sunrpc/rpc/netdb.h: Likewise.
41347 * sunrpc/rpc/pmap_clnt.h: Likewise.
41348 * sunrpc/rpc/xdr.h: Likewise.
41349 * sysdeps/generic/inttypes.h: Likewise.
41350 * sysdeps/generic/net/if.h: Likewise.
41351 * sysdeps/generic/sys/swap.h: Likewise.
41352 * sysdeps/gnu/net/if.h: Likewise.
41353 * sysdeps/gnu/utmpx.h: Likewise.
41354 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41355 * sysdeps/i386/i486/bits/string.h: Likewise.
41356 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41357 * sysdeps/s390/bits/string.h: Likewise.
41358 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41359 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41360 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41361 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41362 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41363 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41364 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41365 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41366 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41367 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41368 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41369 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41370 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41371 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41372 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41373 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41374 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41376 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41377 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41378 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41379 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41380 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41381 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41382 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41383 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41384 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41385 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41386 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41387 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41388 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41389 * sysvipc/sys/ipc.h: Likewise.
41390 * sysvipc/sys/msg.h: Likewise.
41391 * sysvipc/sys/sem.h: Likewise.
41392 * sysvipc/sys/shm.h: Likewise.
41393 * termios/termios.h: Likewise.
41394 * time/sys/time.h: Likewise.
41395 * time/time.h: Likewise.
41396 * wcsmbs/bits/wchar2.h: Likewise.
41397 * wcsmbs/uchar.h: Likewise.
41398 * wcsmbs/wchar.h: Likewise.
41399 * wctype/wctype.h: Likewise.
41402 * Makeconfig: Remove all but ELF support including AIX support.
41403 * Makerules: Likewise.
41404 * config.h.in: Likewise.
41405 * config.make.in: Likewise.
41406 * configure: Likewise.
41407 * configure.in: Likewise.
41408 * csu/Makefile: Likewise.
41409 * csu/version.c: Likewise.
41410 * debug/Makefile: Likewise.
41411 * dlfcn/Makefile: Likewise.
41412 * elf/Makefile: Likewise.
41413 * extra-lib.mk: Likewise.
41414 * iconv/Makefile: Likewise.
41415 * include/libc-symbols.h: Likewise.
41416 * include/shlib-compat.h: Likewise.
41417 * resolv/Makefile: Likewise.
41418 * resolv/res_libc.c: Likewise.
41419 * rt/Makefile: Likewise.
41420 * sysdeps/i386/asm-syntax.h: Likewise.
41421 * sysdeps/i386/sysdep.h: Likewise.
41422 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41423 * sysdeps/mach/sysdep.h: Likewise.
41424 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41425 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41426 * sysdeps/s390/asm-syntax.h: Likewise.
41427 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41428 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41429 * sysdeps/sh/sysdep.h: Likewise.
41430 * sysdeps/unix/sparc/sysdep.h: Likewise.
41431 * sysdeps/wordsize-32/divdi3.c: Likewise.
41432 * sysdeps/x86_64/sysdep.h: Likewise.
41434 * argp/Versions: Remove _argp_unlock_xxx.
41437 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41438 * abilist/libBrokenLocale.abilist: Likewise.
41439 * abilist/libanl.abilist: Likewise.
41440 * abilist/libc.abilist: Likewise.
41441 * abilist/libcrypt.abilist: Likewise.
41442 * abilist/libdl.abilist: Likewise.
41443 * abilist/libm.abilist: Likewise.
41444 * abilist/libnsl.abilist: Likewise.
41445 * abilist/libpthread.abilist: Likewise.
41446 * abilist/libresolv.abilist: Likewise.
41447 * abilist/librt.abilist: Likewise.
41448 * abilist/libthread_db.abilist: Likewise.
41449 * abilist/libutil.abilist: Likewise.
41450 * abilist/libnss_db.abilist: New file.
41452 * scripts/abilist.awk: Add support for indirect functions.
41454 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41456 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41458 * shlib-versions: Remove entries for ports architectures.
41460 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41462 * elf/stackguard-macros.h: Remove support for IA-64.
41463 * elf/tst-auditmod1.c: Likewise.
41464 * sysdeps/generic/ldsodefs.h: Likewise.
41466 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41467 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41471 * configure.in: Remove --enable-omitfp support.
41473 * config.make.in: Likewise.
41474 * Makeconfig: Likewise.
41475 * manual/install.texi: Likewise.
41477 In case anyone cares, the IA-64 architecture could move to ports.
41478 * sysdeps/ia64/*: Removed.
41479 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41480 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41483 * configure.in: Remove entries for unsupported architectures.
41486 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41487 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41489 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41490 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41491 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41492 fall back to using wcrtomb.
41493 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41494 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41496 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41497 * wcsmbs/tst-c16c32-1.c: New file.
41499 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41502 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41504 * elf/tst-unique3.cc: Add explicit declaration of gets.
41505 * elf/tst-unique3lib.cc: Likewise.
41506 * elf/tst-unique3lib2.cc: Likewise.
41507 * elf/tst-unique4.cc: Likewise.
41509 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41511 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41514 * assert/assert.h (static_assert): Don't define for C++.
41515 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41516 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41518 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41520 * iconv/loop.c (single loop): Fix assertion in storing of
41523 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41525 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41527 * posix/getconf.c: Update copyright year.
41528 * nss/getent.c: Likewise.
41529 * nss/makedb.c: Likewise.
41530 * iconv/iconvconfig.c: Likewise.
41531 * iconv/iconv_prog.c: Likewise.
41532 * elf/ldconfig.c: Likewise.
41533 * elf/pldd.c: Likewise.
41534 * elf/sotruss.ksh: Likewise.
41535 * catgets/gencat.c: Likewise.
41536 * csu/version.c: Likewise.
41537 * elf/ldd.bash.in: Likewise.
41538 * elf/sprof.c (print_version): Likewise.
41539 * locale/programs/locale.c: Likewise.
41540 * locale/programs/localedef.c: Likewise.
41541 * login/programs/pt_chown.c: Likewise.
41542 * nscd/nscd.c (print_version): Likewise.
41543 * debug/xtrace.sh: Likewise.
41544 * malloc/memusage.sh: Likewise.
41545 * malloc/mtrace.pl: Likewise.
41546 * debug/catchsegv.sh: Likewise.
41548 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41550 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41553 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41556 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41557 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41559 * iconv/gconv_int.h: Likewise.
41560 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41561 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41562 from libc for GLIBC_2.16.
41563 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41564 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41565 * wcsmbs/uchar.h: Really define mbstate_t.
41566 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41567 * wcsmbs/c16rtomb.c: New file.
41568 * wcsmbs/mbrtoc16.c: New file.
41569 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41570 for C/POSIX locale.
41571 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41572 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41574 * wcsmbs/wchar.h: Add missing __restrict.
41576 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41579 * time/Makefile (routines): Add timespec_get.
41580 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41581 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41582 timespec for ISO C11.
41583 * time/timespec_get.c: New file.
41584 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41585 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41588 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41589 * stdlib/stdlib.h: Declare aligned_alloc.
41590 * Versions.def: Add GLIBC_2.16 for libc.
41591 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41594 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41597 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41601 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41604 * assert/assert.h (static_assert): Define.
41606 * version.h: Update for 2.16 development version.
41609 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41612 * version.h (RELEASE): Bump for 2.15 release.
41613 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41615 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41616 Patch by Marek Polacek <mpolacek@redhat.com>.
41618 * bits/byteswap.h: Protect long long constants with __extension__.
41619 * sysdeps/i386/bits/byteswap.h: Likewise.
41620 * sysdeps/ia64/bits/byteswap.h: Likewise.
41621 * sysdeps/s390/bits/byteswap.h: Likewise.
41622 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41624 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41627 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41628 destination buffer.
41629 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41631 2011-12-23 Marek Polacek <polacek@redhat.com>
41633 * elf/dl-addr.c (determine_info): Add inline keyword.
41634 * elf/tst-auditmod4b.c (check_avx): Likewise.
41635 * elf/tst-auditmod6b.c (check_avx): Likewise.
41636 * elf/tst-auditmod6c.c (check_avx): Likewise.
41637 * elf/tst-auditmod7b.c (check_avx): Likewise.
41639 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41641 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41644 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41647 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41648 processing for last bytes.
41650 2011-08-06 Bruno Haible <bruno@clisp.org>
41653 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41654 U+0385, not to U+1FEE.
41657 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41658 entry for U+00A5 U+0301.
41660 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41663 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41664 buffer for the output is too small.
41666 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41670 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41671 SSE flags if possible.
41673 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41676 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41677 processing for last bytes.
41679 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41681 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41682 (syscall-list-default-options, syscall-list-default-condition)
41683 (syscall-list-includes): Define.
41684 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41685 list of ABIs and options and #if conditions for each ABI. Do not
41686 handle common syscalls between ABIs specially.
41687 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41689 (syscall-list-variants, syscall-list-32bit-options)
41690 (syscall-list-32bit-condition, syscall-list-64bit-options)
41691 (syscall-list-64bit-condition): Define.
41692 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41693 (syscall-list-variants, syscall-list-32bit-options)
41694 (syscall-list-32bit-condition, syscall-list-64bit-options)
41695 (syscall-list-64bit-condition): Define.
41696 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41698 (syscall-list-variants, syscall-list-32bit-options)
41699 (syscall-list-32bit-condition, syscall-list-64bit-options)
41700 (syscall-list-64bit-condition): Define.
41701 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41703 (syscall-list-variants, syscall-list-32bit-options)
41704 (syscall-list-32bit-condition, syscall-list-64bit-options)
41705 (syscall-list-64bit-condition): Define.
41707 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41709 * locale/iso-639.def: Add brx entry.
41712 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41713 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41715 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41716 __feraiseexcept_renamed.
41718 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41721 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41722 EPOLLET with unsigned values.
41723 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41724 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41726 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41727 to large cancellation.
41728 * math/s_cacoshf.c: Likewise.
41729 * math/s_cacoshl.c: Likewise.
41731 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41735 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41736 * math/s_cacoshf.c: Likewise.
41737 * math/s_cacoshl.c: Likewise.
41739 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41742 * iconv/gconv.h: Define __GCONV_SWAP.
41743 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41744 * iconvdata/utf-16.c: Likewise.
41745 * iconvdata/utf-32.c: Likewise.
41747 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41750 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41751 numerator after shifting it by one limb.
41753 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41755 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41756 under [__USE_EXTERN_INLINES].
41758 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41761 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41763 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41765 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41766 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41768 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41769 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41770 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41771 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41772 for strncasecmp/strncasecmp_l compilation.
41773 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41774 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41776 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41779 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41782 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41785 * time/tzfile.c (__tzfile_read): Check values from file header.
41787 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41789 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41790 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41791 * powerpc/powerpc32/dl-start.S: Likewise.
41792 * powerpc/powerpc32/elf/start.S: Likewise.
41793 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41794 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41795 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41796 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41797 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41798 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41799 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41800 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41801 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41802 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41803 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41804 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41805 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41806 * powerpc/powerpc32/memset.S: Likewise.
41807 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41808 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41809 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41810 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41811 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41812 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41813 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41814 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41815 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41816 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41817 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41818 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41819 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41821 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41823 * math/libm-test.inc: Added more nearbyint tests.
41824 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41825 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41826 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41827 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41829 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41831 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41834 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41836 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41837 Add wcscpy-ssse3 wcscpy-c.
41838 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41839 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41840 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41841 * sysdeps/x86_64/wcschr.S: New file.
41842 * sysdeps/x86_64/wcsrchr.S: New file.
41843 * string/test-strcmp.c: Remove checking of wcscmp function for
41845 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41846 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41847 wcsrchr-sse2 wcsrchr-c.
41848 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41849 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41850 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41851 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41852 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41853 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41854 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41855 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41856 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41857 * wcsmbc/wcschr.c (WCSCHR): New macro.
41859 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41861 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41862 * wcsmbs/test-wcsrchr.c: New file.
41863 * string/test-strrchr.c: Add wcsrchr support.
41865 * wcsmbs/test-wcscpy.c: New file.
41866 * string/test-strcpy.c: Add wcscpy support.
41869 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41871 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41874 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41877 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41879 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41881 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41882 Minor optimizations.
41884 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41885 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41886 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41888 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41890 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41891 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41892 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41893 for gcc to avoid warnings.
41894 * inet/Makefile (tests): Add tst-checks.
41895 * inet/tst-checks.c: New file.
41897 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41900 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41903 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41904 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41906 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41908 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41910 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41913 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41915 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41917 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41918 conditional on GCC version.
41919 (__arch_compare_and_exchange_val_8_acq)
41920 (__arch_compare_and_exchange_val_16_acq)
41921 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41922 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41923 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41925 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41927 * sysdeps/sh/backtrace.c: New file.
41929 2011-12-02 Andreas Schwab <schwab@redhat.com>
41931 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41934 2011-12-01 Andreas Schwab <schwab@redhat.com>
41936 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41937 falling back to utime.
41939 2011-11-30 Andreas Schwab <schwab@redhat.com>
41941 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41942 expectations for float.
41944 2011-11-29 Andreas Schwab <schwab@redhat.com>
41946 * locale/weight.h (findidx): Add parameter len.
41947 * locale/weightwc.h (findidx): Likewise.
41948 * posix/fnmatch_loop.c (FCT): Adjust caller.
41949 * posix/regcomp.c (build_equiv_class): Likewise.
41950 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41951 * posix/regexec.c (check_node_accept_bytes): Likewise.
41952 * string/strcoll_l.c (STRCOLL): Likewise.
41953 * string/strxfrm_l.c (STRXFRM): Likewise.
41955 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41957 * Makefile.in: Remove CVSOPT handling.
41958 * configure.in: Remove use of AC_REVISION.
41959 * iconvdata/Makefile (distribute): No need to filter out CVS.
41960 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41963 2011-11-16 Andreas Schwab <schwab@redhat.com>
41965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41966 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41967 [USE_AS_STRNCASECMP_L]: Likewise.
41968 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41969 NO_TLS_DIRECT_SEG_REFS.
41970 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41971 Fix argument offsets for non-PIC.
41972 [USE_AS_STRNCASECMP_L]: Likewise.
41973 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41974 NO_TLS_DIRECT_SEG_REFS.
41976 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41978 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41980 * locale/loadlocale.c (_nl_load_locale): Likewise.
41982 2011-11-15 Andreas Schwab <schwab@redhat.com>
41984 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41985 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41986 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41987 (SYSCALL_GETTIME): Set errno on error.
41989 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41990 count references to noai6ai_cached.
41992 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41994 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41996 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41997 FD_CLOEXEC for /proc/self/maps.
41999 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42000 FD_CLOEXEC for /proc/meminfo.
42002 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42005 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42006 FD_CLOEXEC for given file.
42008 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42010 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42011 FD_CLOEXEC for /etc/hosts.
42012 (_gethtent): Likewise.
42014 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42016 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42017 cancellation and set FD_CLOEXEC for /etc/netgroup.
42019 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42020 reading /etc/publickey.
42022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42023 allow cancellation when reading /etc/group.
42025 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42027 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42029 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42030 when using data file.
42032 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42034 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42035 (write_nis_obj): Use "c" and "e" in fopen.
42037 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42039 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42041 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42043 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42045 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42048 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42050 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42052 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42054 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42055 file parsing and set FD_CLOEXEC.
42057 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42059 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42061 2011-11-14 Andreas Schwab <schwab@redhat.com>
42063 * malloc/arena.c (arena_get2): Don't call reused_arena when
42064 _int_new_arena failed.
42066 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42068 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42069 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42070 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42071 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42072 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42073 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42074 to compile strcasecmp and strncasecmp.
42075 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42076 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42078 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42080 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42082 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42083 locale-defines.sym to gen-as-const-headers.
42084 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42085 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42087 to compile strcasecmp and strncasecmp.
42088 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42089 strcasecmp_l and strncasecmp_l.
42090 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42091 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42092 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42093 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42094 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42095 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42096 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42097 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42098 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42099 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42100 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42102 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42104 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42105 result of SYSDEP_GETTIME_CPU to retval.
42106 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42107 parameter list to macro. Remove trailing semicolon. Adjust users.
42109 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42112 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42114 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42116 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42117 from unused variable.
42119 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42121 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42124 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42127 * sunrpc/rpc_prot.c (rejected): Fix case value.
42129 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42130 unsigned long long int to avoid warnings in shift.
42132 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42134 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42137 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42138 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42139 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42141 * nis/nis_table.c (nis_list): Use variable of correct type for
42142 result of __follow_path call.
42144 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42146 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42147 of math functions ceil, trunc, floor, round, and sqrt, when
42148 avaliable on the platform.
42149 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42151 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42152 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42153 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42155 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42157 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42158 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42160 2011-11-11 Roland McGrath <roland@hack.frob.com>
42162 * include/unistd.h: Fix __readlink return type.
42163 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42165 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42167 * stdlib/ucontext.h: Undo last change for makecontext.
42169 2011-11-11 Andreas Schwab <schwab@redhat.com>
42171 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42173 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42174 * setjmp/setjmp.h: Mark functions as non-leaf.
42175 * setjmp/bits/setjmp2.h: Likewise.
42176 * stdlib/ucontext.h: Likewise.
42178 2011-11-10 Andreas Schwab <schwab@redhat.com>
42180 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42181 (reused_arena): Don't check arena limit.
42182 (arena_get2): Atomically check arena limit.
42184 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42186 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42187 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42192 2011-11-07 Andreas Schwab <schwab@redhat.com>
42194 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42195 handler when locking.
42197 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42198 Fix size of allocated buffer.
42200 2011-11-04 Andreas Schwab <schwab@redhat.com>
42203 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42204 declarations for long double functions.
42205 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42207 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42209 2011-11-03 Andreas Schwab <schwab@redhat.com>
42211 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42214 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42217 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42219 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42221 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42223 * include/alloca.h (stackinfo_alloca_round): Define.
42224 (extend_alloca): Use it.
42225 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42226 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42229 * scripts/check-local-headers.sh: Ignore libaudit.h.
42231 * nscd/Makefile (extra-objs): Make recursively expanded.
42233 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42235 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42236 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42238 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42239 * posix/tst-rfc3484-2.c: Likewise.
42240 * posix/tst-rfc3484-3.c: Likewise.
42242 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42244 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42246 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42247 process_vm_writev from libc using GLIBC_2.15 version.
42249 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42251 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42253 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42256 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42259 * nss/getent.c (initgroups_keys): Show error message in case no group
42262 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42263 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42264 __bump_nl_timestamp.
42265 * nscd/connections (nscd_init): When host database is served open
42266 netlink socket and request notification about configuration changes.
42267 (main_loop_poll): Track netlink file descriptor and bump timestamp
42268 in case data becomes available.
42269 (main_loop_epoll): Likewise.
42270 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42271 (database_pers_head): Add extra_data fileds.
42272 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42273 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42274 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42276 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42277 in6ai data, call __free_in6ai.
42278 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42279 Add -DHAVE_NETLINK.
42280 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42281 interface information. Reuse previous data if netlink timestamp
42283 (__bump_nl_timestamp): New function.
42284 (__free_in6ai): New function.
42286 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42288 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42289 close_not_cancel_no_status here.
42290 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42292 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42295 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42298 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42299 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42300 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42302 2011-07-03 Andreas Jaeger <aj@suse.de>
42305 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42306 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42307 * math/libm-test.inc (sin_test): Add test case.
42309 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42312 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42313 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42315 * elf/chroot_canon.c (chroot_canon): Cleanups.
42317 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42320 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42321 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42323 * string/test-strchr.c: Make usable for strchrnul testing.
42324 * string/test-strchrnul.c: New file.
42325 * string/Makefile (strop-tests): Add strchrnul.
42327 * po/it.po: Update from translation team.
42328 * po/es.po: Likewise.
42330 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42332 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42333 the three constants needed as parameters. Drop the others.
42334 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42335 __m128i_strloadu_tolower.
42336 Create and initialize variable zero and use it in all the places
42337 where _mm_setzero_si128 was used.
42339 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42340 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42341 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42342 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42344 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42345 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42346 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42347 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42348 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42349 __mpranred, __mptan.
42350 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42351 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42352 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42353 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42354 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42355 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42356 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42357 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42358 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42360 2011-10-28 Andreas Schwab <schwab@redhat.com>
42362 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42363 redefine if SHARED.
42364 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42366 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42367 wide char related routines to wcsmbs subdir.
42369 2011-10-27 Andreas Schwab <schwab@redhat.com>
42372 * misc/sys/cdefs.h (__THROWNL): Define.
42373 * posix/unistd.h: Use __THREADNL instead of __THREAD
42374 for memory synchronization functions.
42376 2011-10-26 Roland McGrath <roland@hack.frob.com>
42379 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42381 * manual/stdio.texi (Obstack Streams): Node removed.
42383 2011-10-26 Andreas Schwab <schwab@redhat.com>
42385 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42386 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42387 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42389 * math/math_private.h (math_force_eval): Allow non-addressable
42391 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42393 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42395 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42396 file is not needed.
42398 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42399 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42400 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42401 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42402 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42403 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42404 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42405 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42407 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42408 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42409 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42410 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42411 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42412 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42413 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42414 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42415 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42416 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42417 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42418 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42419 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42420 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42421 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42422 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42423 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42424 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42425 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42427 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42428 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42430 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42431 place. Use VEX encoding when compiling for AVX.
42433 2011-10-25 Andreas Schwab <schwab@redhat.com>
42435 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42436 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42438 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42440 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42442 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42443 useless if() expression.
42444 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42445 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42446 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42447 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42448 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42449 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42450 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42451 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42452 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42453 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42454 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42455 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42456 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42457 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42458 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42459 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42460 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42461 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42462 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42464 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42466 2011-10-25 Andreas Schwab <schwab@redhat.com>
42468 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42470 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42472 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42474 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42475 .text section. Avoid duplicate constants.
42476 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42478 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42480 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42484 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42485 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42486 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42487 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42488 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42489 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42490 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42491 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42492 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42493 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42494 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42495 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42496 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42497 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42498 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42499 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42500 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42501 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42502 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42503 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42504 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42505 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42506 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42507 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42508 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42509 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42510 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42511 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42512 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42513 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42514 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42515 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42516 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42517 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42518 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42519 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42520 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42522 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42524 * sysdeps/x86_64/dla.h: Move to ...
42525 * sysdeps/x86_64/fpu/dla.h: ...here.
42526 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42527 situations. Use __builtin_fma only for gcc 4.6 and up.
42529 * config.make.in: Add have-mfma4 entry.
42530 * configure.in: Substitute libc_cv_cc_fma4.
42531 * math/Makefile (dbl-only-routines): Add sincostab.
42532 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42533 Use __sincostab not sincos.
42534 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42536 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42537 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42538 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42541 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42542 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42543 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42544 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42546 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42547 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42549 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42550 define aliases when function name is a macro.
42551 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42552 sysdeps/ieee754/dbl-64/sincos.tbl.
42553 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42554 fma4-enabled routines.
42555 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42556 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42557 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42558 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42559 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42560 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42561 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42562 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42563 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42564 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42565 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42566 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42567 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42568 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42569 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42570 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42571 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42572 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42573 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42574 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42575 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42576 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42577 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42578 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42579 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42580 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42581 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42582 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42583 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42584 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42586 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42588 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42589 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42590 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42591 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42592 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42594 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42595 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42597 2011-10-24 Andreas Schwab <schwab@redhat.com>
42599 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42601 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42603 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42605 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42607 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42609 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42610 Remove unused variable magic_bits.
42611 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42613 * string/strnlen.c: Define and use STRNLEN macro.
42614 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42615 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42616 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42617 * wcsmbs/wcslen.c: Define and use WCSLEN.
42618 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42619 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42620 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42621 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42622 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42623 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42624 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42626 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42629 strnlen-sse2-no-bsf.
42630 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42632 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42633 Add strnlen support.
42634 (USE_AS_STRNLEN): New macro.
42635 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42636 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42637 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42638 * sysdeps/x86_64/wcslen.S: New file.
42640 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42642 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42643 XMM-moves are used for copying on small sizes.
42645 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42647 * wcsmbs/Makefile (strop-tests): Add wcschr.
42648 * wcsmbs/test-wcschr.c: New file.
42649 * string/test-strchr.c: Update.
42650 Add wcschr support.
42653 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42655 * wcsmbs/Makefile (strop-tests): Add wcslen.
42656 * wcsmbs/test-wcslen.c: New file.
42657 * string/test-strlen.c: Update.
42658 Add wcslen support.
42661 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42663 * po/it.po: Update from translation team.
42665 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42667 * sysdeps/x86_64/wcscmp.S: Update.
42668 Fix wrong comparison semantics.
42669 wcscmp shall use signed comparison not unsigned.
42670 Don't use substraction to avoid overflow bug.
42671 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42672 * wcsmbc/wcscmp.c: Likewise.
42673 * string/test-strcmp.c: Likewise.
42674 Add new tests to check cases with negative values.
42676 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42678 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42679 * sysdeps/x86_64/dla.h: ...here. New file.
42680 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42685 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42686 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42687 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42688 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42690 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42693 __ynl_finite aliases.
42695 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42699 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42701 [DLA_FMA] (EMULV): Use DLA_FMA.
42702 [DLA_FMA] (MUL12): Use EMULV.
42703 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42704 that are not needed.
42705 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42706 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42710 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42713 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42715 * math/s_nan.c: Undef __nan.
42716 * math/s_nanf.c: Undef __nanf.
42717 * math/s_nanl.c: Undef __nanl.
42718 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42721 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42723 * math/s_catan.c: Add branch predictions.
42724 * math/s_catanf.c: Likewise.
42725 * math/s_catanh.c: Likewise.
42726 * math/s_catanhf.c: Likewise.
42727 * math/s_catanhl.c: Likewise.
42728 * math/s_catanl.c: Likewise.
42729 * math/s_cexp.c: Likewise.
42730 * math/s_cexpf.c: Likewise.
42731 * math/s_cexpl.c: Likewise.
42732 * math/s_clog.c: Likewise.
42733 * math/s_clog10.c: Likewise.
42734 * math/s_clog10f.c: Likewise.
42735 * math/s_clog10l.c: Likewise.
42736 * math/s_clogf.c: Likewise.
42737 * math/s_clogl.c: Likewise.
42738 * math/s_csqrt.c: Likewise.
42739 * math/s_csqrtf.c: Likewise.
42740 * math/s_csqrtl.c: Likewise.
42741 * math/s_ctanf.c: Likewise.
42742 * math/s_ctanh.c: Likewise.
42743 * math/s_ctanhf.c: Likewise.
42744 * math/s_ctanhl.c: Likewise.
42745 * math/s_ctanl.c: Likewise.
42747 * math/math_private.h: Define __nan, __nanf, __nanl.
42748 * math/s_cacosh.c: Include <math_private.h>.
42749 * math/s_cacoshl.c: Likewise.
42750 * math/s_casinh.c: Likewise.
42751 * math/s_casinhf.c: Likewise.
42752 * math/s_casinhl.c: Likewise.
42753 * math/s_ccos.c: Rely entire on ccosh.
42754 * math/s_ccosf.c: Rely entire on ccoshf.
42755 * math/s_ccosl.c: Rely entirely on ccoshl.
42756 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42757 Remove tests for FE_INVALID.
42758 * math/s_ccoshf.c: Likewise.
42759 * math/s_ccoshl.c: Likewise.
42760 * math/s_csin.c: Likewise.
42761 * math/s_csinf.c: Likewise.
42762 * math/s_csinh.c Likewise.
42763 * math/s_csinhf.c: Likewise.
42764 * math/s_csinhl.c: Likewise.
42765 * math/s_csinl.c: Likewise.
42766 * math/s_ctan.c: Likewise.
42767 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42768 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42769 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42771 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42774 compilation problems.
42776 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42779 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42781 * sysdeps/i386/configure.in: Test for -mfma4 option.
42782 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42783 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42784 COMMON_CPUID_INDEX_80000001.
42785 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42786 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42787 use it if FMA3 is not supported.
42788 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42790 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42791 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42793 2011-10-20 Andreas Schwab <schwab@redhat.com>
42796 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42797 it would create a cycle with a link time dependency.
42799 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42801 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42803 * string/Makefile (strop-tests): Add rawmemchr.
42804 * string/test-rawmemchr.c: New file.
42806 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42807 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42808 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42809 when compiling str{,n}casecmp and when AVX is available. Hook up
42810 new optimized code in initializers.
42812 2011-10-19 Andreas Schwab <schwab@redhat.com>
42814 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42815 __feraiseexcept instead of feraiseexcept.
42817 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42819 * math/math_private.h: Define defaults for libc_fetestexcept and
42821 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42822 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42823 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42824 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42825 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42826 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42827 libc_fetestexcept and libc_feupdateenv.
42829 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42830 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42831 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42832 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42833 libc_feholdexcept_setround.
42835 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42836 Add s_nearbyint-c and s_nearbyintf-c.
42837 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42838 nearbyintf inlines.
42839 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42840 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42841 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42842 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42844 * math/math_private.h: Define defaults for libc_fegetround,
42845 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42846 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42847 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42848 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42849 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42850 standard functions.
42851 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42852 Remove comments and hacks for old compiler versions.
42853 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42854 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42855 libc_feholdexceptl.
42857 2011-10-18 Andreas Schwab <schwab@redhat.com>
42859 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42860 (__feraiseexcept_renamed): Add __NTH.
42861 (feraiseexcept): Add __NTH. Rename local variables to fix
42862 namespace violations.
42864 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42866 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42868 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42870 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42871 recently added interfaces.
42872 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42874 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42875 about macro parameter expansion.
42877 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42878 __NO_MATH_INLINES is defined. Cleanups.
42880 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42881 and __floorf is target has SSE4.1.
42882 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42883 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42884 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42885 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42887 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42889 (floorf): Likewise.
42891 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42893 2011-10-17 Andreas Schwab <schwab@redhat.com>
42895 * misc/sys/cdefs.h: Fix last change.
42897 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42900 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42902 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42904 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42905 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42906 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42907 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42909 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42910 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42911 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42912 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42913 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42914 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42915 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42916 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42917 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42918 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42919 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42920 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42921 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42922 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42923 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42924 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42925 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42927 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42928 ceil, ceilf, floor, floorf.
42930 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42931 Perform IRELATIVE relocations last.
42933 * elf/do-rel.h: Add another parameter nrelative, replacing the
42934 local variable with the same name. Change name of the function
42935 to end in Rel or Rela (uppercase).
42936 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42937 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42938 elf_dynamic_do_##reloc function.
42940 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42942 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42943 is sufficient, at least on modern CPUs.
42945 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42947 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42948 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42950 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42952 * math/bits/math-finite.h: Add entries for exp.
42953 * math/e_expl.c: Add __*_finite alias.
42954 * sysdeps/i386/fpu/e_exp.S: Likewise.
42955 * sysdeps/i386/fpu/e_expf.S: Likewise.
42956 * sysdeps/i386/fpu/e_expl.c: Likewise.
42957 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42958 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42959 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42960 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42961 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42962 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42963 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42965 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42966 is sufficient, at least on modern CPUs.
42968 * ctype/ctype-info.c (__ctype_init): Define.
42969 * include/ctype.h (__ctype_init): Declare.
42970 (__ctype_b_loc): The variable is always initialized.
42971 (__ctype_toupper_loc): Likewise.
42972 (__ctype_tolower_loc): Likewise.
42973 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42974 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42976 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42978 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42980 * configure.in: Also look in $cxxmachine/include for C++ system
42983 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42985 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42986 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42987 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42988 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42989 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42990 (USE_AS_WMEMCMP): New macro.
42992 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42993 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42994 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42995 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42997 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42998 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42999 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43000 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43001 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43002 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43003 (USE_AS_WMEMCMP): New macro.
43004 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43005 * sysdeps/string/test-memcmp.c: Update.
43006 Fix simple_wmemcmp.
43008 * wcsmbs/wmemcmp.c: Update.
43009 (WMEMCMP): New macro.
43012 2011-10-12 Andreas Jaeger <aj@suse.de>
43015 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43017 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43019 * libio/iofwide.c (do_length): Avoid warning.
43021 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43023 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43025 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43027 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43028 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43029 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43030 * sysdeps/i386/i686/fpu/e_log.S: New file.
43031 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43032 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43034 * ctype/ctype.h: Add support for inlined isXXX functions when
43035 compiling C++ code.
43037 2011-10-14 Andreas Schwab <schwab@redhat.com>
43039 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43041 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43043 2011-10-13 Roland McGrath <roland@hack.frob.com>
43046 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43048 2011-10-13 Andreas Schwab <schwab@redhat.com>
43050 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43051 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43054 * sysdeps/x86_64/memrchr.S: Check for zero size.
43056 * string/stratcliff.c: Add memrchr tests.
43058 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43061 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43062 rawmemchr-sse2 rawmemchr-sse2-bsf.
43063 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43064 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43065 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43066 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43067 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43068 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43069 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43070 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43071 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43072 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43073 * string/memrchr.c (MEMRCHR): New macro.
43075 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43077 Add integration with gcc's -ffinite-math-only and optimize wrapper
43079 * Versions.def: Define GLIBC_2.15 version for libm.
43080 * math/Makefile (headers): Add bits/math-finite.h.
43081 * math/bits/math-finite.h: New file.
43082 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43083 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43084 * math/e_acoshl.c: Add __*_finite alias.
43085 * math/e_acosl.c: Likewise.
43086 * math/e_asinl.c: Likewise.
43087 * math/e_atan2l.c: Likewise.
43088 * math/e_atanhl.c: Likewise.
43089 * math/e_coshl.c: Likewise.
43090 * math/e_exp10.c: Likewise.
43091 * math/e_exp10f.c: Likewise.
43092 * math/e_exp10l.c: Likewise.
43093 * math/e_exp2l.c: Likewise.
43094 * math/e_fmodl.c: Likewise.
43095 * math/e_gammal_r.c: Likewise.
43096 * math/e_hypotl.c: Likewise.
43097 * math/e_j0l.c: Likewise.
43098 * math/e_j1l.c: Likewise.
43099 * math/e_jnl.c: Likewise.
43100 * math/e_lgammal_r.c: Likewise.
43101 * math/e_log10l.c: Likewise.
43102 * math/e_log2l.c: Likewise.
43103 * math/e_logl.c: Likewise.
43104 * math/e_powl.c: Likewise.
43105 * math/e_sinhl.c: Likewise.
43106 * math/e_sqrtl.c: Likewise.
43107 * math/e_scalb.c: Completely rewritten and optimized.
43108 * math/e_scalbf.c: Likewise.
43109 * math/e_scalbl.c: Likewise.
43110 * math/w_acos.c: Likewise.
43111 * math/w_acosf.c: Likewise.
43112 * math/w_acosl.c: Likewise.
43113 * math/w_acosh.c: Likewise.
43114 * math/w_acoshf.c: Likewise.
43115 * math/w_acoshl.c: Likewise.
43116 * math/w_asin.c: Likewise.
43117 * math/w_asinf.c: Likewise.
43118 * math/w_asinl.c: Likewise.
43119 * math/w_atan2.c: Likewise.
43120 * math/w_atan2f.c: Likewise.
43121 * math/w_atan2l.c: Likewise.
43122 * math/w_atanh.c: Likewise.
43123 * math/w_atanhf.c: Likewise.
43124 * math/w_atanhl.c: Likewise.
43125 * math/w_exp10.c: Likewise.
43126 * math/w_exp10f.c: Likewise.
43127 * math/w_exp10l.c: Likewise.
43128 * math/w_fmod.c: Likewise.
43129 * math/w_fmodf.c: Likewise.
43130 * math/w_fmodl.c: Likewise.
43131 * math/w_j0.c: Likewise.
43132 * math/w_j0f.c: Likewise.
43133 * math/w_j0l.c: Likewise.
43134 * math/w_j1.c: Likewise.
43135 * math/w_j1f.c: Likewise.
43136 * math/w_j1l.c: Likewise.
43137 * math/w_jn.c: Likewise.
43138 * math/w_jnf.c: Likewise.
43139 * math/w_log.c: Likewise.
43140 * math/w_logf.c: Likewise.
43141 * math/w_logl.c: Likewise.
43142 * math/w_log10.c: Likewise.
43143 * math/w_log10f.c: Likewise.
43144 * math/w_log10l.c: Likewise.
43145 * math/w_log2.c: Likewise.
43146 * math/w_log2f.c: Likewise.
43147 * math/w_log2l.c: Likewise.
43148 * math/w_pow.c: Likewise.
43149 * math/w_powf.c: Likewise.
43150 * math/w_powl.c: Likewise.
43151 * math/w_remainder.c: Likewise.
43152 * math/w_remainderf.c: Likewise.
43153 * math/w_remainderl.c: Likewise.
43154 * math/w_scalb.c: Likewise.
43155 * math/w_scalbf.c: Likewise.
43156 * math/w_scalbl.c: Likewise.
43157 * math/w_sqrt.c: Likewise.
43158 * math/w_sqrtf.c: Likewise.
43159 * math/w_sqrtl.c: Likewise.
43160 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43161 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43163 * math/math_private.h: Declare __kernel_standard_f.
43164 * math/w_cosh.c: Remove cruft and optimize a bit.
43165 * math/w_coshf.c: Likewise.
43166 * math/w_coshl.c: Likewise.
43167 * math/w_exp2.c: Likewise.
43168 * math/w_exp2f.c: Likewise.
43169 * math/w_exp2l.c: Likewise.
43170 * math/w_hypot.c: Likewise.
43171 * math/w_hypotf.c: Likewise.
43172 * math/w_hypotl.c: Likewise.
43173 * math/w_lgamma.c: Likewise.
43174 * math/w_lgamma_r.c: Likewise.
43175 * math/w_lgammaf.c: Likewise.
43176 * math/w_lgammaf_r.c: Likewise.
43177 * math/w_lgammal.c: Likewise.
43178 * math/w_lgammal_r.c: Likewise.
43179 * math/w_sinh.c: Likewise.
43180 * math/w_sinhf.c: Likewise.
43181 * math/w_sinhl.c: Likewise.
43182 * math/w_tgamma.c: Likewise.
43183 * math/w_tgammaf.c: Likewise.
43184 * math/w_tgammal.c: Likewise.
43185 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43186 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43187 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43188 Minor optimizations. Pretty printing. Remove cruft.
43189 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43190 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43191 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43192 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43193 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43194 * sysdeps/i386/fpu/e_asin.S: Likewise.
43195 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43196 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43197 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43198 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43199 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43200 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43201 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43202 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43203 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43204 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43205 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43206 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43207 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43208 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43209 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43210 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43211 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43212 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43213 * sysdeps/i386/fpu/e_log.S: Likewise.
43214 * sysdeps/i386/fpu/e_log10.S: Likewise.
43215 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43216 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43217 * sysdeps/i386/fpu/e_log2.S: Likewise.
43218 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43219 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43220 * sysdeps/i386/fpu/e_logf.S: Likewise.
43221 * sysdeps/i386/fpu/e_logl.S: Likewise.
43222 * sysdeps/i386/fpu/e_pow.S: Likewise.
43223 * sysdeps/i386/fpu/e_powf.S: Likewise.
43224 * sysdeps/i386/fpu/e_powl.S: Likewise.
43225 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43226 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43227 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43228 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43229 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43230 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43231 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43232 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43233 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43234 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43235 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43236 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43237 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43238 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43239 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43240 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43241 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43242 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43243 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43244 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43245 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43247 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43248 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43249 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43250 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43251 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43252 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43253 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43254 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43255 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43256 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43257 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43258 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43259 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43260 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43261 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43262 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43263 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43264 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43265 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43266 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43267 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43268 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43269 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43270 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43271 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43272 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43273 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43274 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43275 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43276 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43277 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43278 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43279 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43280 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43281 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43282 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43283 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43284 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43285 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43286 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43287 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43288 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43289 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43290 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43291 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43292 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43293 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43294 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43295 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43296 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43297 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43298 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43299 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43300 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43301 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43302 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43303 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43304 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43305 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43306 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43307 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43308 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43309 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43310 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43311 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43312 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43313 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43314 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43315 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43316 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43317 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43318 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43319 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43320 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43321 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43322 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43323 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43324 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43325 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43326 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43327 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43328 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43329 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43330 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43331 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43332 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43333 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43334 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43335 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43336 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43337 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43338 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43339 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43340 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43341 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43342 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43343 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43344 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43345 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43346 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43347 (__isnanf): Likewise.
43348 (__isinf_ns): Likewise.
43349 (__isinf_nsf): Likewise.
43350 (__finite): Likewise.
43351 (__finitef): Likewise.
43352 (__ieee754_sqrt): Define as macro.
43353 (__ieee754_sqrtf): Define as macro.
43354 (__ieee754_sqrtl): Define as macro.
43355 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43357 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43358 __FINITE_MATH_ONLY__ consistent.
43359 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43361 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43363 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43366 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43368 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43370 * po/ja.po: Update from translation team.
43372 2011-10-08 Roland McGrath <roland@hack.frob.com>
43374 * locale/programs/locarchive.c (prepare_address_space): New function.
43375 (create_archive, enlarge_archive, open_archive): Use it.
43377 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43378 inside [SHARED], where it is used.
43380 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43382 * nss/getent.c (netgroup_keys): Remove unused variable.
43383 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43385 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43387 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43388 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43389 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43390 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43391 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43392 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43393 * math/Makefile (libm-calls): Add s_isinf_ns.
43394 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43395 * math/multc3.c: Likewise.
43396 * math/s_casin.c: Likewise.
43397 * math/s_casinf.c: Likewise.
43398 * math/s_casinl.c: Likewise.
43399 * math/s_ccos.c: Likewise.
43400 * math/s_ccosf.c: Likewise.
43401 * math/s_ccosl.c: Likewise.
43402 * math/s_ctan.c: Likewise.
43403 * math/s_ctanf.c: Likewise.
43404 * math/s_ctanh.c: Likewise.
43405 * math/s_ctanhf.c: Likewise.
43406 * math/s_ctanhl.c: Likewise.
43407 * math/s_ctanl.c: Likewise.
43408 * math/w_fmod.c: Likewise.
43409 * math/w_fmodf.c: Likewise.
43410 * math/w_fmodl.c: Likewise.
43411 * math/w_remainder.c: Likewise.
43412 * math/w_remainderf.c: Likewise.
43413 * math/w_remainderl.c: Likewise.
43414 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43415 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43416 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43417 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43418 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43419 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43420 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43421 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43423 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43425 * stdio-common/printf_fphex.c: Likewise.
43426 * stdio-common/printf_size.c: Likewise.
43428 * math/e_exp10.c: Include math_private.h using <...> not "...".
43429 * math/e_exp10f.c: Likewise.
43430 * math/e_exp10l.c: Likewise.
43431 * math/e_exp2l.c: Likewise.
43432 * math/e_j0l.c: Likewise.
43433 * math/e_j1l.c: Likewise.
43434 * math/e_jnl.c: Likewise.
43435 * math/e_lgammal_r.c: Likewise.
43436 * math/e_rem_pio2l.c: Likewise.
43437 * math/e_scalb.c: Likewise.
43438 * math/e_scalbf.c: Likewise.
43439 * math/e_scalbl.c: Likewise.
43440 * math/k_cosl.c: Likewise.
43441 * math/k_sinl.c: Likewise.
43442 * math/k_tanl.c: Likewise.
43443 * math/s_cacoshf.c: Likewise.
43444 * math/s_catan.c: Likewise.
43445 * math/s_catanf.c: Likewise.
43446 * math/s_catanh.c: Likewise.
43447 * math/s_catanhf.c: Likewise.
43448 * math/s_catanhl.c: Likewise.
43449 * math/s_catanl.c: Likewise.
43450 * math/s_ccosh.c: Likewise.
43451 * math/s_ccoshf.c: Likewise.
43452 * math/s_ccoshl.c: Likewise.
43453 * math/s_cexp.c: Likewise.
43454 * math/s_cexpf.c: Likewise.
43455 * math/s_cexpl.c: Likewise.
43456 * math/s_clog.c: Likewise.
43457 * math/s_clog10.c: Likewise.
43458 * math/s_clog10f.c: Likewise.
43459 * math/s_clog10l.c: Likewise.
43460 * math/s_clogf.c: Likewise.
43461 * math/s_clogl.c: Likewise.
43462 * math/s_csin.c: Likewise.
43463 * math/s_csinf.c: Likewise.
43464 * math/s_csinh.c: Likewise.
43465 * math/s_csinhf.c: Likewise.
43466 * math/s_csinhl.c: Likewise.
43467 * math/s_csinl.c: Likewise.
43468 * math/s_csqrt.c: Likewise.
43469 * math/s_csqrtf.c: Likewise.
43470 * math/s_csqrtl.c: Likewise.
43471 * math/s_ctan.c: Likewise.
43472 * math/s_ctanf.c: Likewise.
43473 * math/s_ctanh.c: Likewise.
43474 * math/s_ctanhf.c: Likewise.
43475 * math/s_ctanhl.c: Likewise.
43476 * math/s_ctanl.c: Likewise.
43477 * math/s_ldexp.c: Likewise.
43478 * math/s_ldexpf.c: Likewise.
43479 * math/s_ldexpl.c: Likewise.
43480 * math/s_significand.c: Likewise.
43481 * math/s_significandf.c: Likewise.
43482 * math/s_significandl.c: Likewise.
43483 * math/w_acos.c: Likewise.
43484 * math/w_acosf.c: Likewise.
43485 * math/w_acosh.c: Likewise.
43486 * math/w_acoshf.c: Likewise.
43487 * math/w_acoshl.c: Likewise.
43488 * math/w_acosl.c: Likewise.
43489 * math/w_asin.c: Likewise.
43490 * math/w_asinf.c: Likewise.
43491 * math/w_asinl.c: Likewise.
43492 * math/w_atan2.c: Likewise.
43493 * math/w_atan2f.c: Likewise.
43494 * math/w_atan2l.c: Likewise.
43495 * math/w_atanh.c: Likewise.
43496 * math/w_atanhf.c: Likewise.
43497 * math/w_atanhl.c: Likewise.
43498 * math/w_cosh.c: Likewise.
43499 * math/w_coshf.c: Likewise.
43500 * math/w_coshl.c: Likewise.
43501 * math/w_dremf.c: Likewise.
43502 * math/w_exp10.c: Likewise.
43503 * math/w_exp10f.c: Likewise.
43504 * math/w_exp10l.c: Likewise.
43505 * math/w_exp2.c: Likewise.
43506 * math/w_exp2f.c: Likewise.
43507 * math/w_fmod.c: Likewise.
43508 * math/w_fmodf.c: Likewise.
43509 * math/w_fmodl.c: Likewise.
43510 * math/w_hypot.c: Likewise.
43511 * math/w_hypotf.c: Likewise.
43512 * math/w_hypotl.c: Likewise.
43513 * math/w_j0.c: Likewise.
43514 * math/w_j0f.c: Likewise.
43515 * math/w_j0l.c: Likewise.
43516 * math/w_j1.c: Likewise.
43517 * math/w_j1f.c: Likewise.
43518 * math/w_j1l.c: Likewise.
43519 * math/w_jn.c: Likewise.
43520 * math/w_jnf.c: Likewise.
43521 * math/w_jnl.c: Likewise.
43522 * math/w_lgamma.c: Likewise.
43523 * math/w_lgamma_r.c: Likewise.
43524 * math/w_lgammaf.c: Likewise.
43525 * math/w_lgammaf_r.c: Likewise.
43526 * math/w_lgammal.c: Likewise.
43527 * math/w_lgammal_r.c: Likewise.
43528 * math/w_log.c: Likewise.
43529 * math/w_log10.c: Likewise.
43530 * math/w_log10f.c: Likewise.
43531 * math/w_log10l.c: Likewise.
43532 * math/w_log2.c: Likewise.
43533 * math/w_log2f.c: Likewise.
43534 * math/w_log2l.c: Likewise.
43535 * math/w_logf.c: Likewise.
43536 * math/w_logl.c: Likewise.
43537 * math/w_pow.c: Likewise.
43538 * math/w_powf.c: Likewise.
43539 * math/w_powl.c: Likewise.
43540 * math/w_remainder.c: Likewise.
43541 * math/w_remainderf.c: Likewise.
43542 * math/w_remainderl.c: Likewise.
43543 * math/w_scalb.c: Likewise.
43544 * math/w_scalbf.c: Likewise.
43545 * math/w_scalbl.c: Likewise.
43546 * math/w_sinh.c: Likewise.
43547 * math/w_sinhf.c: Likewise.
43548 * math/w_sinhl.c: Likewise.
43549 * math/w_sqrt.c: Likewise.
43550 * math/w_sqrtf.c: Likewise.
43551 * math/w_sqrtl.c: Likewise.
43552 * math/w_tgamma.c: Likewise.
43553 * math/w_tgammaf.c: Likewise.
43554 * math/w_tgammal.c: Likewise.
43556 * po/ja.po: Update from translation team.
43558 2011-09-29 Andreas Jaeger <aj@suse.de>
43561 * sunrpc/netname.c (netname2host): Fix logic.
43565 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43567 * math/w_remainder.c (__remainder): Likewise.
43568 * math/w_remainderf.c (__remainderf): Likewise.
43569 * math/libm-test.inc (remainder_test): Add test cases.
43571 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43573 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43576 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43578 * string/test-memcmp.c: Avoid unncessary #defines.
43579 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43581 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43583 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43584 Use new sse2 version for core i3 - i7 as it's faster
43585 than sse42 version.
43586 (bit_Prefer_PMINUB_for_stringop): New.
43587 * sysdeps/x86_64/rawmemchr.S: Update.
43588 Replace with faster SSE2 version.
43589 * sysdeps/x86_64/memrchr.S: New file.
43590 * sysdeps/x86_64/memchr.S: Update.
43591 Replace with faster SSE2 version.
43593 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43595 * elf/dl-load.c (lose): Add cast to avoid warning.
43597 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43599 * po/ca.po: Update from translation team.
43601 * inet/getnetgrent_r.c: Hook up nscd.
43602 * nscd/Makefile (routines): Add nscd_netgroup.
43603 (nscd-modules): Add netgroupcache.
43604 (CFLAGS-netgroupcache.c): Define.
43605 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43606 (cache_search): Add const to second parameter.
43607 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43609 (dbs): Add netgrdb entry.
43610 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43611 (verify_persistent_db): Handle netgrdb.
43612 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43613 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43615 (netgroup_response_header): Define.
43616 (innetgroup_response_header): Define.
43617 (datahead): Add netgroup_response_header and innetgroup_response_header
43619 * nscd/nscd.conf: Add entries for netgroup cache.
43620 * nscd/nscd.h (dbtype): Add netgrdb.
43621 (_PATH_NSCD_NETGROUP_DB): Define.
43622 (netgroup_iov_disabled): Declare.
43623 (xmalloc, xcalloc, xrealloc): Move declarations here.
43624 (cache_search): Adjust prototype.
43625 Add netgroup-related prototypes.
43626 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43627 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43628 (__nscd_innetgr): Declare.
43629 * nscd/selinux.c (perms): Use access_vector_t as element type and
43630 add netgroup-related initializers.
43631 * nscd/netgroupcache.c: New file.
43632 * nscd/nscd_netgroup.c: New file.
43633 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43634 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43635 For four parameters use innetgr.
43636 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43637 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43638 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43639 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43641 * nscd/connections.c (register_traced_file): Don't register file
43642 for disabled databases.
43644 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43646 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43648 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43649 from tree and freeing node.
43651 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43653 * nss/nsswitch.c (__nss_database_lookup): Handle
43654 nss_parse_service_list out of memory case.
43656 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43658 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43659 out of memory case.
43661 2011-10-04 Andreas Schwab <schwab@redhat.com>
43663 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43664 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43666 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43667 elf_machine_rela, elf_machine_lazy_rel.
43668 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43669 (ELF_DYNAMIC_DO_REL): Likewise.
43670 (ELF_DYNAMIC_DO_RELA): Likewise.
43671 (ELF_DYNAMIC_RELOCATE): Likewise.
43672 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43673 to ELF_DYNAMIC_DO_REL.
43674 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43675 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43676 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43678 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43679 skip_ifunc, don't call ifunc function if non-zero.
43680 (elf_machine_rela): Likewise.
43681 (elf_machine_lazy_rel): Likewise.
43682 (elf_machine_lazy_rela): Likewise.
43683 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43684 (elf_machine_lazy_rel): Likewise.
43685 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43687 (elf_machine_lazy_rel): Likewise.
43688 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43690 (elf_machine_lazy_rel): Likewise.
43691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43692 (elf_machine_lazy_rel): Likewise.
43693 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43694 (elf_machine_lazy_rel): Likewise.
43695 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43696 (elf_machine_lazy_rel): Likewise.
43697 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43698 (elf_machine_lazy_rel): Likewise.
43699 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43700 (elf_machine_lazy_rel): Likewise.
43701 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43702 (elf_machine_lazy_rel): Likewise.
43704 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43706 * nss/nss_files/files-init.c (_nss_files_init): Use static
43707 initialization for all the *_traced_file variables.
43709 2011-09-28 Andreas Schwab <schwab@redhat.com>
43711 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43713 2011-09-27 Roland McGrath <roland@hack.frob.com>
43716 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43718 2011-09-27 Andreas Schwab <schwab@redhat.com>
43720 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43721 Reread the line before reparsing it.
43723 2011-09-26 Andreas Schwab <schwab@redhat.com>
43725 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43727 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43728 Maxim Kuvyrkov <maxim@codesourcery.com>
43729 Joseph Myers <joseph@codesourcery.com>
43731 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43732 if needed for __stack_chk_guard.
43734 2011-09-19 Roland McGrath <roland@hack.frob.com>
43736 * sysdeps/posix/spawni.c (script_execute): Always define it.
43737 It will be optimized away if unused.
43738 (maybe_script_execute): New function.
43739 (__spawni): Call it.
43741 * Makerules: Don't include tls.make.
43742 (config-tls): Always set to thread.
43743 * tls.make.c: File removed.
43745 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43747 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43748 * config.make.in (CPPFLAGS-config): New substituted variable.
43750 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43752 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43755 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43756 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43758 2011-09-15 Roland McGrath <roland@hack.frob.com>
43760 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43761 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43763 (CALL_FAIL): Likewise.
43764 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43765 (CALL_FAIL): Macro removed.
43766 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43768 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43770 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43771 for __FINITE_MATH_ONLY__ == 1.
43773 2011-09-15 Andreas Schwab <schwab@redhat.com>
43775 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43776 __ieee754_sqrt instead of sqrt.
43777 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43778 __ieee754_sqrtf instead of sqrtf.
43779 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43780 __floorf instead of floorf.
43781 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43782 __floorf, __truncf instead of floorf, truncf.
43784 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43786 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43788 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43789 __extern_always_inline.
43790 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43793 2011-09-14 Andreas Schwab <schwab@redhat.com>
43795 * elf/rtld.c (dl_main): Also relocate in dependency order when
43796 doing symbol dependency testing.
43798 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43800 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43801 Always define `refsym'.
43803 2011-09-13 Andreas Schwab <schwab@redhat.com>
43805 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43806 (__FD_ELT): Renamed from __FDELT.
43807 * misc/bits/select2.h (__FD_ELT): Likewise.
43808 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43809 __FD_MASK instead of __FDELT, __FDMASK.
43810 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43812 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43815 * elf/Makefile (gen-ldd): Fix pattern.
43817 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43818 (init_tls): Likewise.
43820 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43822 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43824 2011-09-12 Andreas Schwab <schwab@redhat.com>
43826 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43827 `struct cmsghdr *' instead of `void *'.
43828 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43831 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43833 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43835 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43836 ldd_rewrite_script.
43838 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43840 * configure.in: Remove --with-tls option.
43841 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43842 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43843 out in case it is missing.
43844 * sysdeps/ia64/elf/configure.in: Likewise.
43845 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43846 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43847 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43848 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43849 * sysdeps/sh/elf/configure.in: Likewise.
43850 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43851 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43852 * sysdeps/x86_64/elf/configure.in: Likewise.
43853 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43854 * sysdeps/mach/hurd/tls.h: Likewise.
43857 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43860 * configure.in: Fix use of AC_INIT.
43862 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43864 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43866 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43868 * malloc/hooks.c: Likewise.
43871 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43872 variables statically.
43873 (narenas): Initialize.
43874 (list_lock): Initialize.
43875 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43876 initializtion of main_arena and list_lock. Small cleanups.
43877 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43878 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43879 Add initializers to main_arena and mp_.
43880 (malloc_state): Remove pagesize member. Change all users to use
43883 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43884 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43885 is always initialized.
43887 * malloc/malloc.c: Removed unused configurations and dead code.
43888 * malloc/arena.c: Likewise.
43889 * malloc/hooks.c: Likewise.
43890 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43892 * include/tls.h: Removed. USE___THREAD must always be defined.
43893 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43894 * elf/dl-libc.c: Likewise.
43895 * elf/dl-tsd.c: Likewise.
43896 * include/errno.h: Likewise.
43897 * include/netdb.h: Likewise.
43898 * include/resolv.h: Likewise.
43899 * inet/herrno-loc.c: Likewise.
43900 * inet/herrno.c: Likewise.
43901 * malloc/arena.c: Likewise.
43902 * malloc/hooks.c: Likewise.
43903 * malloc/malloc.c: Likewise.
43904 * resolv/res-state.c: Likewise.
43905 * resolv/res_libc.c: Likewise.
43906 * sysdeps/i386/dl-machine.h: Likewise.
43907 * sysdeps/ia64/dl-machine.h: Likewise.
43908 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43909 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43910 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43911 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43912 * sysdeps/sh/dl-machine.h: Likewise.
43913 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43914 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43915 * sysdeps/unix/i386/sysdep.S: Likewise.
43916 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43917 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43918 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43920 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43921 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43922 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43924 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43926 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43927 * sysdeps/x86_64/dl-machine.h: Likewise.
43928 * tls.make.c: Likewise.
43930 * configure.in: Remove --with-__thread option. Make tests for
43931 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43932 tls_model attribute fail if no support is available. Remove
43934 * Makeconfig: Adjust for dropped configure option. All features are
43936 * Makerules: Likewise.
43937 * Versions.def: Likewise.
43938 * argp/argp-fmtstream.c: Likewise.
43939 * argp/argp-fmtstream.h: Likewise.
43940 * argp/argp-help.c: Likewise.
43941 * assert/assert.c: Likewise.
43942 * config.h.in: Likewise.
43943 * config.make.in: Likewise.
43944 * configure: Likewise.
43945 * configure.in: Likewise.
43946 * csu/Versions: Likewise.
43947 * csu/init.c: Likewise.
43948 * elf/tst-audit2.c: Likewise.
43949 * elf/tst-tls10.c: Likewise.
43950 * elf/tst-tls10.h: Likewise.
43951 * elf/tst-tls11.c: Likewise.
43952 * elf/tst-tls12.c: Likewise.
43953 * elf/tst-tls14.c: Likewise.
43954 * elf/tst-tlsmod11.c: Likewise.
43955 * elf/tst-tlsmod12.c: Likewise.
43956 * elf/tst-tlsmod13.c: Likewise.
43957 * elf/tst-tlsmod13a.c: Likewise.
43958 * elf/tst-tlsmod14a.c: Likewise.
43959 * elf/tst-tlsmod15b.c: Likewise.
43960 * elf/tst-tlsmod16a.c: Likewise.
43961 * elf/tst-tlsmod16b.c: Likewise.
43962 * elf/tst-tlsmod7.c: Likewise.
43963 * elf/tst-tlsmod8.c: Likewise.
43964 * elf/tst-tlsmod9.c: Likewise.
43965 * gmon/gmon.c: Likewise.
43966 * grp/fgetgrent_r.c: Likewise.
43967 * grp/putgrent.c: Likewise.
43968 * hurd/fopenport.c: Likewise.
43969 * include/libc-symbols.h: Likewise.
43970 * include/tls.h: Likewise.
43971 * intl/gettextP.h: Likewise.
43972 * intl/loadinfo.h: Likewise.
43973 * locale/global-locale.c: Likewise.
43974 * locale/localeinfo.h: Likewise.
43975 * mach/devstream.c: Likewise.
43976 * malloc/arena.c: Likewise.
43977 * malloc/set-freeres.c: Likewise.
43978 * misc/err.c: Likewise.
43979 * misc/getttyent.c: Likewise.
43980 * misc/mntent_r.c: Likewise.
43981 * posix/getopt.c: Likewise.
43982 * posix/wordexp.c: Likewise.
43983 * pwd/fgetpwent_r.c: Likewise.
43984 * resolv/Versions: Likewise.
43985 * resolv/res_hconf.c: Likewise.
43986 * shadow/fgetspent_r.c: Likewise.
43987 * shadow/putspent.c: Likewise.
43988 * stdio-common/printf_fphex.c: Likewise.
43989 * stdio-common/tmpfile.c: Likewise.
43990 * stdlib/abort.c: Likewise.
43991 * stdlib/fmtmsg.c: Likewise.
43992 * sunrpc/auth_unix.c: Likewise.
43993 * sunrpc/clnt_perr.c: Likewise.
43994 * sunrpc/clnt_tcp.c: Likewise.
43995 * sunrpc/clnt_udp.c: Likewise.
43996 * sunrpc/clnt_unix.c: Likewise.
43997 * sunrpc/openchild.c: Likewise.
43998 * sunrpc/svc_simple.c: Likewise.
43999 * sunrpc/svc_tcp.c: Likewise.
44000 * sunrpc/svc_udp.c: Likewise.
44001 * sunrpc/svc_unix.c: Likewise.
44002 * sunrpc/xdr.c: Likewise.
44003 * sunrpc/xdr_array.c: Likewise.
44004 * sunrpc/xdr_rec.c: Likewise.
44005 * sunrpc/xdr_ref.c: Likewise.
44006 * sunrpc/xdr_stdio.c: Likewise.
44008 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44010 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44012 2011-07-03 Andreas Jaeger <aj@suse.de>
44014 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44015 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44016 regenerate with gen-libm-tests.pl.
44018 2010-05-12 Petr Baudis <pasky@suse.cz>
44021 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44022 around j0() zero points by switching to j1().
44023 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44024 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44025 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44026 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44028 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44030 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44032 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44034 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44035 Patch in part by Pavel Roskin <proski@gnu.org>.
44038 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44040 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44041 Free memory block if necessary.
44044 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44045 be NULL. Don't lock in this case.
44047 2011-09-09 Roland McGrath <roland@hack.frob.com>
44049 * elf/elf.h (ELFOSABI_GNU): New macro.
44050 (ELFOSABI_LINUX): Define to that.
44052 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44054 * string/strncat.c (strncat): Undef the symbol in case it has been
44055 defined in bits/string.h.
44057 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44059 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44061 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44064 2011-08-17 Andreas Jaeger <aj@suse.de>
44066 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44068 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44069 Ian Lance Taylor <iant@google.com>
44071 * math/libm-test.inc (lround_test): New testcase.
44072 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44074 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44076 * Makefile: Remove support for automatic cvs check-ins.
44077 * Makerules: Likewise.
44078 * config.make.in: Likewise.
44079 * configure.in: Likewise.
44080 * intl/Makefile: Likewise.
44081 * locale/Makefile: Likewise.
44082 * po/Makefile: Likewise.
44083 * posix/Makefile: Likewise.
44084 * sysdeps/gnu/Makefile: Likewise.
44085 * sysdeps/mach/hurd/Makefile: Likewise.
44086 * sysdeps/sparc/sparc32/Makefile: Likewise.
44089 * posix/Makefile (bug-regex32-ENV): Define.
44090 Patch by John Stanley <jpsinthemix@verizon.net>.
44092 * misc/Makefile (headers): Add bits/select2.h.
44093 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44094 * misc/bits/select2.h: New file.
44095 * include/bits/select2.h: New file.
44096 * debug/Makefile (routines): Add fdelt_chk.
44097 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44098 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44100 * debug/fdelt_chk.c: New file.
44102 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44103 * wcsmbs/test-wmemcmp.c: Likewise.
44104 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44105 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44107 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44109 * string/Makefile (strop-tests): Add memcmp.
44110 * string/test-wmemcmp.c: New file.
44111 * string/test-memcmp.c: Add wmemcmp support.
44113 2011-09-08 Roland McGrath <roland@hack.frob.com>
44116 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44119 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44120 garbage value in a __mach_port_mod_refs call in the cases of the
44121 task-self and thread-self ports.
44123 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44125 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44127 2011-09-08 Andreas Schwab <schwab@redhat.com>
44129 * elf/dl-load.c (lose): Check for non-null L.
44131 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44133 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44135 * elf/dl-libc.c (dlerror_run): Pass back error code from
44139 * elf/dl-load.c (lose): Free l_origin if it is valid.
44141 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44143 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44144 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44145 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44146 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44147 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44148 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44150 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44152 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44153 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44154 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44155 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44156 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44157 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44158 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44159 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44160 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44161 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44163 2011-08-15 Alan Modra <amodra@gmail.com>
44166 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44167 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44168 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44169 ppc_mcount to static-only-routines.
44170 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44172 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44173 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44175 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44177 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44178 for finite and infinity parameters.
44180 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44182 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44183 and add nop instructions for throughput optimization.
44184 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44186 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44188 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44189 aligned copy for power7 with vector-scalar instructions.
44190 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44192 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44197 2011-09-07 Andreas Schwab <schwab@redhat.com>
44200 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44203 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44205 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44206 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44207 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44208 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44211 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44213 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44214 Forgot to demangle the pointer.
44216 * sysdeps/i386/sysdep.h: Define atom_text_section.
44217 * sysdeps/x86_64/sysdep.h: Likewise.
44218 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44219 section with atom_text_section.
44220 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44221 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44222 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44223 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44224 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44226 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44227 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44228 already be defined. Change to take two parameters and don't assign
44229 result to variable. Adjust all users.
44230 Define INTERNAL_GETTIME if not already defined.
44231 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44234 HAVE_CLOCK_GETTIME_VSYSCALL.
44235 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44237 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44238 gettimeofday vsyscall, just use time.
44240 2011-09-06 Andreas Schwab <schwab@redhat.com>
44242 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44245 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44247 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44249 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44251 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44252 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44253 syscall if possible.
44255 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44257 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44258 e_ident. Don't pass to find_mapsXX.
44259 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44261 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44264 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44265 * sysdeps/x86_64/multiarch/strchr.S: Update.
44266 Check bit_slow_BSF bit.
44267 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44268 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44269 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44271 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44274 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44276 (tryshell): Define.
44277 (__spawni): Change last parameter to be flag. Test
44278 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44279 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44280 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44281 * posix/spawni.c: Likewise.
44282 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44283 * posix/spawnp.c: Likewise. Change normal version to use
44284 SPAWN_XFLAGS_USE_PATH.
44285 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44286 SPAWN_XFLAGS_TRY_SHELL.
44289 * posix/glob.h: Remove gcc 1.x support.
44292 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44294 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44297 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44299 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44300 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44301 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44302 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44303 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44304 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44306 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44308 * sysdeps/x86_64/wcscmp.S: New file.
44310 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44311 wcscmp-c wcscmp-sse2
44312 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44313 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44314 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44315 * wcsmbs/wcscmp.c: Allow renaming.
44317 2011-09-05 David S. Miller <davem@davemloft.net>
44319 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44320 stack slot, rather than the struct return pointer slot.
44321 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44322 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44324 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44326 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44328 * po/ja.po: Update from translation team.
44331 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44332 kernel in 64-bit binaries.
44334 2011-09-01 David S. Miller <davem@davemloft.net>
44336 * elf/elf.h (HWCAP_SPARC_*): Move to..
44337 * sysdeps/sparc/sysdep.h: this new file and add new values.
44338 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44339 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44340 _DL_HWCAP_COUNT to 24.
44341 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44343 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44344 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44345 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44347 instead of magic constants.
44348 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44350 2011-08-31 David S. Miller <davem@davemloft.net>
44352 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44353 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44354 Reimplement to do errno handling inline.
44355 (SYSCALL_ERROR_HANDLER): New macro.
44356 (__SYSCALL_STRING): Do not do errno handling in asm.
44357 (__CLONE_SYSCALL_STRING): Delete.
44358 (__INTERNAL_SYSCALL_STRING): Delete.
44359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44360 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44361 (PSEUDO): Reimplement to do errno handling inline.
44362 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44363 (SYSCALL_ERROR_HANDLER): New macro.
44364 (__SYSCALL_STRING): Do not do errno handling in asm.
44365 (__CLONE_SYSCALL_STRING): Delete.
44366 (__INTERNAL_SYSCALL_STRING): Delete.
44367 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44368 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44370 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44371 (inline_syscall*): Add 'err' argument.
44372 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44373 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44374 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44375 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44377 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44378 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44380 2011-08-30 Andreas Schwab <schwab@redhat.com>
44382 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44384 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44386 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44389 2011-08-24 David S. Miller <davem@davemloft.net>
44391 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44393 2011-08-24 Andreas Schwab <schwab@redhat.com>
44395 * elf/Makefile: Add rules to build and run unload8 test.
44396 * elf/unload8.c: New file.
44397 * elf/unload8mod1.c: New file.
44398 * elf/unload8mod1x.c: New file.
44399 * elf/unload8mod2.c: New file.
44400 * elf/unload8mod3.c: New file.
44402 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44405 2011-08-23 David S. Miller <davem@davemloft.net>
44407 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44408 subtract stack bias.
44409 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44410 %sp not %fp in calculations.
44411 (_JMPBUF_UNWINDS_ADJ): Likewise.
44413 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44414 (aio_suspend): Call it to force an exception region around the
44415 AIO_MISC_WAIT() invocation.
44417 2011-08-23 Andreas Schwab <schwab@redhat.com>
44419 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44422 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44424 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44426 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44427 and <dl-machine.h>.
44428 (Elf64_FuncDesc): Remove.
44430 2011-08-22 David S. Miller <davem@davemloft.net>
44432 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44433 sigaltstack check, add missing cfi directives.
44434 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44435 missing cfi directives, and sigaltstack handling.
44437 2011-08-16 Andreas Schwab <schwab@redhat.com>
44440 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44441 object is seen twice.
44442 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44444 * elf/Makefile (distribute): Add tst-initorder2.c.
44445 (tests): Add tst-initorder2.
44446 (modules-names): Add tst-initorder2a tst-initorder2b
44447 tst-initorder2c tst-initorder2d. Add rules to build them.
44448 ($(objpfx)tst-initorder2.out): New rule.
44449 * elf/tst-initorder2.c: New file.
44450 * elf/tst-initorder2.exp: New file.
44452 2011-08-22 Andreas Schwab <schwab@redhat.com>
44454 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44456 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44457 dependencies back to end of function.
44459 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44460 $(elfobjdir)/ld.so.
44462 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44465 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44467 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44468 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44469 of __vdso_gettimeofday.
44470 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44471 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44473 (_libc_vdso_platform_setup): Remove initialization of
44474 __vdso_gettimeofday and __vdso_time.
44476 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44478 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44479 and fgetc_unlocked.
44480 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44483 * elf/dl-open.c (add_to_global): Report additions to the global scope
44484 for LD_DEBUG=scopes.
44485 (dl_open_worker): Also print scope of newly loaded dependencies.
44486 (_dl_show_scope): Indicate if there is no scope.
44489 * stdio-common/Makefile (tests): Add bug24.
44490 * stdio-common/bug24.c: New file.
44492 2011-08-19 Andreas Jaeger <aj@suse.de>
44495 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44496 non-existant file when using close-on-exec mode.
44498 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44500 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44501 the very first instruction.
44503 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44504 the CFI state in the end.
44505 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44506 inclusion of dl-trampoline.h.
44507 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44509 2011-08-19 Andreas Schwab <schwab@redhat.com>
44511 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44512 expectations for long double.
44514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44515 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44517 2011-08-14 David S. Miller <davem@davemloft.net>
44519 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44520 artificual limit depends upon the system page size.
44522 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44524 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44525 * resolv/Makefile: Define CFLAGS-libresolv.
44527 2011-08-17 Andreas Schwab <schwab@redhat.com>
44529 * nss/makedb.c (compute_tables): Make variables used in nested
44532 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44534 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44535 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44536 if buffer was too small.
44538 * elf/pldd.c (main): Attach to all threads in the process.
44539 Rewrite /proc handling to use *at functions.
44541 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44543 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44544 specifies first scope to show.
44545 (dl_open_worker): Update callers. Move printing scope of new
44546 object to before the relocation.
44547 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44548 * sysdeps/generic/ldsodefs.h: Update declaration.
44550 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44551 string for the scope number.
44553 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44555 * nscd/servicescache.c (cache_addserv): Make sure written is always
44558 2011-08-14 Roland McGrath <roland@hack.frob.com>
44560 * sysdeps/i386/i486/bits/atomic.h
44561 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44562 statement expression, so as to suppress "set but not used" warning.
44563 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44565 * string/strncat.c (STRNCAT): Use prototype definition.
44567 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44568 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44570 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44571 (localedef-modules): Add localedef.
44572 (locale-modules): Add locale.
44574 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44575 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44576 to avoid a warning.
44578 2011-08-14 David S. Miller <davem@davemloft.net>
44580 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44581 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44583 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44585 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44586 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44587 * elf/rtld.c (dl_main): Set l_name of vDSO.
44588 Call _dl_show_scope when DL_DEBUG_SCOPES.
44589 (process_dl_debug): Recognize scopes flag and also set it for all.
44590 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44591 Declare _dl_show_scope.
44593 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44594 (do_dlopen): Pass caller_dlopen to dl_open.
44595 (__libc_dlopen_mode): Initialize caller_dlopen.
44597 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44598 of libc. Make tolower call locale-independent. Optimize a bit by
44599 using isdigit instead of isalnum.
44600 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44602 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44604 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44605 was a dependency or dynamically loaded.
44607 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44609 * intl/l10nflist.c: Allow architecture-specific pop function.
44610 * sysdeps/x86_64/l10nflist.c: New file.
44612 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44615 2011-08-10 Andreas Schwab <schwab@redhat.com>
44617 * include/dirent.h: Add libc_hidden_proto for scandirat and
44618 scandirat64. Don't declare __scandirat64.
44619 * dirent/scandirat.c: Add libc_hidden_def.
44620 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44621 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44623 2011-08-10 David S. Miller <davem@davemloft.net>
44625 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44627 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44628 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44629 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44631 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44633 * Versions.def [libc]: Add GLIBC_2.15.
44634 * dirent/Makefile (routines): Add scandirat and scandirat64.
44635 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44637 * dirent/dirent.h: Declare scandirat and scandirat64.
44638 * dirent/scandirat.c: New file.
44639 * dirent/scandirat64.c: New file.
44640 * sysdeps/wordsize-64/scandirat.c: New file.
44641 * sysdeps/wordsize-64/scandirat64.c: New file.
44642 * dirent/opendir.c: Define opendirat.
44643 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44645 * dirent/scandir64.c: Adjust for scandir.c change.
44646 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44647 __scandirat64, and __scandir_cancel_handler.
44648 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44649 additional parameter and use openat instead of open (outside of ld.so).
44650 Add new __opendir as wrapper around __opendirat.
44651 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44652 here without requiring old scandirat implementation.
44654 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44656 * dirent/scandir.c (cancel_handler): Renamed to
44657 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44658 defined. Adjust users.
44659 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44660 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44662 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44664 * string/test-string.h (IMPL): Use __STRING to expand name and then
44667 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44670 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44672 * string/Makefile: Update.
44673 (strop-tests): Append strncat.
44674 * string/test-wcscmp.c: New file.
44675 New comprehensive test for wcscmp.
44676 * string/test-strcmp.c: Update.
44677 (WIDE): New define.
44679 2011-07-22 Andreas Schwab <schwab@redhat.com>
44681 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44684 2011-07-26 Andreas Schwab <schwab@redhat.com>
44686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44687 encoding to ACE if AI_IDN.
44689 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44691 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44692 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44694 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44696 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44697 Fix overflow bug in strncat.
44698 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44700 * string/test-strncat.c: Update.
44701 Add new tests for checking overflow bugs.
44703 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44706 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44707 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44708 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44709 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44710 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44711 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44712 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44713 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44715 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44716 (USE_AS_STRCAT): Define.
44717 Add strcat and strncat support.
44718 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44720 2011-07-25 Andreas Schwab <schwab@redhat.com>
44722 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44723 __n bigger than INT_MAX+1.
44724 (__strncmp_g): Likewise.
44726 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44728 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44729 * libio/stido.h: Likewise.
44731 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44736 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44737 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44738 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44739 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44740 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44743 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44746 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44748 (_dl_x86_64_save_sse): Likewise.
44750 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44754 (_dl_x86_64_save_sse): Likewise.
44756 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44758 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44760 2011-07-21 Andreas Schwab <schwab@redhat.com>
44762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44764 (_dl_x86_64_save_sse): Use correct AVX check.
44766 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44768 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44769 bug in strncpy/strncat.
44770 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44772 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44774 * string/tester.c (test_strcat): Add tests for different alignments
44775 of source and destination.
44776 (test_strncat): Likewise.
44778 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44781 * posix/glob.c (glob): Check passed in values before using them in
44782 expressions to avoid some overflows.
44783 (glob_in_dir): Likewise.
44786 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44787 check for AVX enablement so that we don't crash with old kernels and
44789 * elf/tst-audit4.c: Add same checks here.
44790 * elf/tst-audit6.c: Likewise.
44792 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44794 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44796 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44798 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44800 * po/cs.po: Update from translation team.
44801 * po/bg.po: Likewise.
44803 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44805 * misc/sys/cdefs.h: Add support for const attribute.
44806 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44807 to gnu_dev_{major,minor,makedev} functions.
44809 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44811 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44813 2011-07-20 Andreas Schwab <schwab@redhat.com>
44815 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44818 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44820 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44821 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44822 register in order to avoid conflicts with the soft frame pointer
44823 being held in r11 when necessary.
44824 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44825 (INTERNAL_VSYSCALL_NCS): Likewise.
44827 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44829 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44830 * elf/dl-fini.c (_dl_fini): Adjust caller.
44831 * elf/dl-close.c (_dl_close_worker): Likewise.
44832 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44834 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44836 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44837 "aux_cache->nlibs < 0".
44839 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44840 in the reload-count case.
44842 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44845 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44846 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44847 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44848 * sysdeps/x86_64/multiarch/strcat.S: New file.
44849 * sysdeps/x86_64/multiarch/strncat.S: New file.
44850 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44851 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44852 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44853 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44854 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44855 (USE_AS_STRCAT): Define.
44856 Add strcat and strncat support.
44857 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44858 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44859 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44860 * string/strncat.c: Update.
44861 (USE_AS_STRNCAT): Define.
44862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44863 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44865 * sysdeps/x86_64/multiarch/init-arch.h
44866 (bit_Prefer_PMINUB_for_stringop): New.
44867 (index_Prefer_PMINUB_for_stringop): Likewise.
44868 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44869 bit_Prefer_PMINUB_for_stringop.
44871 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44873 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44875 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44876 of casting of buffer.
44877 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44878 buffer32 and buffer64.
44879 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44880 writes instead of casting of buffer.
44881 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44883 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44886 2011-07-19 Andreas Schwab <schwab@redhat.com>
44888 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44890 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44892 * nscd/nscd.c (termination_handler): Don't do anything for a database
44893 if it has not yet been initialized.
44895 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44897 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44899 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44901 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44903 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44905 * po/nl.po: Update from translation team.
44906 * po/sv.po: Likewise.
44908 2011-07-16 Roland McGrath <roland@hack.frob.com>
44910 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44911 now disallowed by GCC.
44913 * configure.in (use-default-link): Default to yes if a test -shared
44914 link meets our qualifications.
44915 * configure: Regenerated.
44917 * config.make.in (output-format): New variable.
44918 * configure.in: Check for ld --print-output-format support.
44919 * configure: Regenerated.
44920 * Makerules ($(common-objpfx)format.lds)
44921 [$(output-format) != unknown]: Just use $(output-format),
44922 instead of the linker-script munging.
44924 2011-07-14 Roland McGrath <roland@hack.frob.com>
44926 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44927 of $(common-objpfx)shlib.lds.
44928 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44930 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44931 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44933 * configure.in (-z relro check): Adjust test code to add a large
44934 writable data section after it.
44935 * configure: Regenerated.
44937 2011-07-11 Roland McGrath <roland@hack.frob.com>
44939 * configure.in (-z relro check): Fix test code to make the variable
44941 * configure: Regenerated.
44943 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44945 * nscd/nscd.h (struct traced_file): Define.
44946 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44947 elements. Add traced_files.
44948 (inotify_fd): Declare.
44949 (register_traced_file): Declare.
44950 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44951 (inotify_fd): Export.
44952 (resolv_conf_descr): Remove.
44953 (nscd_init): Move inotify descriptor creation to main.
44954 Don't register files for notification here.
44955 (register_traced_file): New function.
44956 (invalidate_cache): Don't use reset_res to determine whether to call
44957 res_init, go through the list of registered files.
44958 (main_loop_poll): The inotify descriptors are now stored in the
44959 structures for the traced files.
44960 (main_loop_epoll): Likewise
44961 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44962 to __nss_disable_nscd.
44963 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44964 for a database anymore. Check the records for all the registered
44966 * nss/Makefile (libnss_files-routines): Add files-init.
44967 (libnss_db-routines): Add db-init.
44968 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44969 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44970 * nss/nss_db/db-init.c: New file.
44971 * nss/nss_files/files-init.c: New file.
44972 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44973 __nss_lookup_function.
44974 (__nss_lookup_function): Call nss_load_library.
44975 (nss_load_all_libraries): New function.
44976 (__nss_disable_nscd): Take parameter with callback function for files
44977 to register. Set is_nscd. Load all the DSOs for the NSS modules
44978 used for the cached services.
44979 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44980 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44981 options for features to all the files in nscd.
44983 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44985 2011-07-10 Roland McGrath <roland@hack.frob.com>
44987 * csu/elf-init.c (__libc_csu_init): Comment typo.
44989 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44991 * po/pl.po: Update from translation team.
44992 * po/ja.po: Likewise.
44993 * po/ru.po: Likewise.
44994 * po/ko.po: Likewise.
44995 * po/fr.po: Likewise.
44997 2011-07-09 Roland McGrath <roland@hack.frob.com>
44999 * configure.in (.ctors/.dtors header and trailer check):
45000 Use an empirical test on a built program.
45001 * configure: Regenerated.
45003 * configure.in (-z relro check): Use an empirical test on a built DSO.
45004 Detect, but do not require, on ia64.
45005 * configure: Regenerated.
45007 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45008 Update tests that use readelf to use $READELF instead.
45009 * configure: Regenerated.
45011 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45013 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45014 if the result is not used.
45016 2011-07-05 Andreas Jaeger <aj@suse.de>
45019 * stdlib/tst-strtod.c: Add testcase.
45021 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45023 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45024 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45025 The latter has a higher limit. Take additional parameter to pass to
45027 (__pathconf): Pass file to __statfs_link_max.
45028 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45030 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45034 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45035 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45037 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45038 (__statfs_filesize_max): Likewise.
45039 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45041 2011-07-05 Andreas Jaeger <aj@suse.de>
45043 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45045 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45047 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45049 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45052 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45054 * Makefile (strop-tests): Add strncat.
45055 * string/test-strncat.c: New file.
45057 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45059 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45061 2011-06-21 Andreas Jaeger <aj@suse.de>
45063 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45064 Copy rule from iconvdata/Makefile.
45066 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45069 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45070 but no long options are defined, just return 'W'.
45072 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45075 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45077 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45079 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45081 (innetgr): Likewise.
45083 2011-07-05 Roland McGrath <roland@hack.frob.com>
45085 * config.make.in (install_root): Default to $(DESTDIR).
45087 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45089 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45091 2011-07-02 Roland McGrath <roland@hack.frob.com>
45093 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45095 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45096 containing directory rather than embedding absolute directory names.
45098 * scripts/check-local-headers.sh: Rewritten using awk.
45099 Match by word, not by line. Print error messages for matches.
45100 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45102 * Makerules [shlib-lds-flags empty]:
45103 ($(common-objpfx)libc_pic.opts): New target.
45104 ($(common-objpfx)libc_pic.os.clean): New target.
45105 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45107 * config.make.in (OBJCOPY): New variable.
45108 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45109 * configure: Regenerated.
45111 * config.make.in (use-default-link): New variable.
45112 * configure.in (use_default_link): Grok --with-default-link to set it.
45113 * configure: Regenerated.
45114 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45115 (shlib-lds, shlib-lds-flags): Define to empty.
45117 * Makerules (shlib-lds): New variable.
45118 (shlib-lds-flags): New variable.
45119 (build-shlib, build-moduile, build-module-asneeded): Use it.
45120 ($(common-objpfx)libc.so): Use $(shlib-lds).
45121 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45122 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45124 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45125 DT_FLAGS/DT_FLAGS_1 with zero flags.
45127 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45128 linker script munging.
45130 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45132 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45134 * crypt/sha512.c (sha512_process_block): Perform total addition using
45135 128-bit if possible.
45136 (__sha512_finish_ctx): Likewise.
45137 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45139 * crypt/sha256.c (SWAP64): Define.
45140 (sha256_process_block): Perform total addition using 64-bit if
45142 (__sha256_finish_ctx): Likewise.
45144 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45146 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45147 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45148 * nscd/hstcache.c (cache_addhst): Likewise.
45149 * nscd/grpcache.c (cache_addgr): Likewise.
45150 * nscd/aicache.c (addhstaiX): Likewise
45151 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45153 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45155 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45157 * nscd/hstcache.c (cache_addhst): Likewise.
45158 * nscd/grpcache.c (cache_addgr): Likewise.
45159 * nscd/aicache.c (addhstaiX): Likewise
45161 2011-07-01 Andreas Schwab <schwab@redhat.com>
45163 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45164 domain only when needed.
45166 2011-06-30 Andreas Schwab <schwab@redhat.com>
45168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45169 is always restored.
45171 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45173 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45174 are re-adding the entry.
45175 * nscd/servicescache.c (cache_addserv): Likewise.
45177 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45179 * sysdeps/generic/dl-irel.h: fix protection against multiple
45181 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45183 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45186 * malloc/memusage.sh: Fix quoting in message.
45187 * debug/xtrace.sh: Likewise.
45189 * configure.in: Remove support for --experimental-malloc option, make
45191 * config.make.in: Likewise.
45192 * malloc/Makefile: Likewise.
45194 2011-06-27 Andreas Schwab <schwab@redhat.com>
45196 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45197 two-byte characters.
45199 2011-06-27 Roland McGrath <roland@hack.frob.com>
45201 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45202 AC_CACHE_CHECK invocation.
45203 * configure: Regenerated.
45205 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45207 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45210 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45211 bit from old_res_options.
45213 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45215 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45216 value type for setfct.
45218 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45221 __gettimeofday instead of gettimeofday.
45223 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45225 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45227 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45229 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45231 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45234 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45237 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45238 strcpy-sse2-unaligned strncpy-sse2-unaligned
45239 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45240 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45241 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45242 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45243 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45244 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45245 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45246 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45247 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45248 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45249 (STRCPY): Support SSE2 and SSSE3 versions.
45251 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45254 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45255 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45256 kernels which artificially limit size of requests.
45258 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45261 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45262 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45263 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45264 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45265 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45266 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45267 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45268 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45269 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45270 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45271 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45272 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45273 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45274 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45276 Enable unaligned load optimization for Intel Core i3, i5 and i7
45278 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45280 (index_Fast_Unaligned_Load): Define.
45281 (HAS_FAST_UNALIGNED_LOAD): Define.
45283 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45285 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45287 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45290 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45291 until it is clear that the information is realy needed.
45292 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45294 2011-06-22 Andreas Schwab <schwab@redhat.com>
45296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45298 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45300 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45301 /sys/devices/system/cpu/online if it is usable.
45303 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45304 reading the information from the /proc filesystem to once a second.
45306 2011-06-21 Andreas Jaeger <aj@suse.de>
45308 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45309 NULL after inclusion of kernel headers.
45311 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45313 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45314 calls to internal_setent.
45317 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45318 addresses using gethostbyname4_r ignore IPv4 addresses.
45320 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45321 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45323 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45325 2011-06-20 David S. Miller <davem@davemloft.net>
45327 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45329 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45331 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45332 (elf_irel): Use it.
45333 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45334 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45335 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45336 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45337 * sysdeps/x86_64/dl-irel.h: Likewise.
45339 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45340 * elf/dl-sym.c: Likewise.
45342 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45344 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45345 need to dereference resplen2.
45347 2011-06-14 Andreas Schwab <schwab@redhat.com>
45349 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45351 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45353 * Makeconfig: Define vardbdir and inst_vardbdir.
45354 * nss/Makefile: Add rules to install db-Makefile.
45356 * nss/nss_db/db-XXX.c: Cleanup.
45358 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45359 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45361 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45362 * nss/makedb.c: Implement -g option to specify that value strings
45363 are generated and should not be added to table iterated over for
45365 * nss/nss_db/db-initgroups.c: New file.
45367 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45370 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45371 (internal_getgrouplist): Adjust to name change.
45372 Update use_initgroups_entry if this is not the first call.
45373 * nss/databases.def: Add initgroups entry.
45375 * nss/makedb.c (compute_tables): Check result of multiple hash table
45376 sizes to minimize maximum chain length.
45378 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45380 * Versions.def: Add entry for libnss_db.
45381 * shlib-versions: Likewise.
45382 * nss/Makefile: Add rules to build libnss_db.
45383 * nss/Versions: Add libnss_db information. Organize libnss_files
45385 * nss/db-Makefile: Add gshadow support. Change rules for the new
45386 makedb progra. Some minor improvements to generate smaller files.
45387 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45389 * nss/makedb.c: ...here.
45390 Improve database format to be smaller and require less memory at
45392 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45394 * nss/nss_db/db-netgrp.c: Likewise.
45395 * nss/nss_db/db-open.c: Likewise.
45396 * nss/nss_files/flies-XXX.x: Adjust comments.
45397 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45398 * nss/nss_files/files-grp.c: Likewise.
45399 * nss/nss_files/files-hosts.c: Likewise.
45400 * nss/nss_files/files-network.c: Likewise.
45401 * nss/nss_files/files-proto.c: Likewise.
45402 * nss/nss_files/files-pwd.c: Likewise.
45403 * nss/nss_files/files-rpc.c: Likewise.
45404 * nss/nss_files/files-service.c: Likewise.
45405 * nss/nss_files/files-sgrp.c: Likewise.
45406 * nss/nss_files/files-spwd.c: Likewise.
45407 * nss/nss_db/db-alias.c: Removed.
45408 * nss/nss_db/dummy-db.h: Removed.
45410 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45412 * nss/makedb.c: Rewritten to not use database library.
45413 * nss/Makefile: Update to build new makedb program.
45415 2011-06-14 Andreas Jaeger <aj@suse.de>
45417 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45418 memset declaration.
45420 2011-06-10 Andreas Schwab <schwab@redhat.com>
45422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45425 2011-06-10 Roland McGrath <roland@hack.frob.com>
45427 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45428 * elf/Makefile ($(objpfx)ld.so): Likewise.
45430 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45431 Don't list ld.so twice in dependencies.
45433 * posix/bug-regex31.c: Include <stdlib.h>.
45435 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45437 * nis/nss_compat/compat-spwd.c
45438 (getspent_next_nss_netgr): Remove unused variable.
45439 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45441 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45442 nonmembers" output to use the right array.
45444 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45446 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45448 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45449 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45450 * catgets/gencat.c (read_input_file): Likewise.
45451 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45453 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45454 variable definition inside #if's controlling its use.
45456 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45458 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45460 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45462 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45465 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45467 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45468 * configure: Regenerated.
45470 * Makerules: Revert last change.
45471 * elf/Makefile: Likewise.
45473 2011-06-09 Roland McGrath <roland@hack.frob.com>
45475 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45476 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45477 (reloc-link): Likewise.
45479 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45481 * elf/Makefile: Add rules to build pldd.
45482 * elf/pldd.c: New file.
45483 * elf/pldd-xx.c: New file.
45485 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45487 * version.h: Update for 2.15 development version.
45489 2011-06-07 David S. Miller <davem@davemloft.net>
45491 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45494 elf_machine_lazy_rel): Likewise.
45495 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45496 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45497 elf_machine_lazy_rel): Likewise.
45498 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45499 dl_hwcap via passed in argument.
45500 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45503 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45505 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45507 2011-06-06 Roland McGrath <roland@hack.frob.com>
45510 * manual/fdl-1.1.texi: New file, verbatim from:
45511 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45512 * manual/lgpl-2.1.texi: New file, verbatim from:
45513 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45514 * manual/Makefile (licenses): New variable, list those new file names.
45516 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45518 * manual/fdl.texi: File removed.
45519 * manual/lesser.texi: File removed.
45520 * manual/libc.texinfo (Copying, Documentation License):
45521 Use new @include file names, put @appendix directive before @include.
45523 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45526 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45527 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45528 (mq_open): Add __NTH.
45530 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45533 Assume Intel Core i3/i5/i7 processor if AVX is available.
45535 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45537 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45540 2011-05-31 Andreas Schwab <schwab@redhat.com>
45542 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45543 memory. Use alloca_account. Fix memory leak when retrying.
45545 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45547 * version.h (RELEASE): Bump for 2.14 release.
45548 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45550 * config.make.in (RANLIB): Remove entry.
45552 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45554 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45555 (libc.pot): Work around missing support for .ksh extension in xgettext.
45558 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45559 if both request failed.
45560 (send_dg): In case of server errors clear resplen or *resplen2.
45563 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45564 when there are multiple maps.
45565 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45566 (_dl_fini): Remove test here.
45568 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45570 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45573 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45574 bit from old_res_options.
45575 (gaih_inet): Likewise.
45578 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45581 * resolv/res_init.c (res_setoptions): Make the code more compact.
45584 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45588 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45590 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45593 * malloc/malloc.h: Declare malloc hook variables as volatile.
45595 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45599 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45600 raise in the comment.
45601 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45602 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45603 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45605 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45608 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45609 grow the buffers more if it already has to be sufficient.
45610 (build_wcs_upper_buffer): Likewise.
45611 * posix/regexec.c (check_matching): Likewise.
45612 (clean_state_log_if_needed): Likewise.
45613 (extend_buffers): Don't enlarge buffers beyond size of the input
45615 Patches mostly by Emil Wojak <emil@wojak.eu>.
45616 * posix/bug-regex32.c: New file.
45617 * posix/Makefile (tests): Add bug-regex32.
45619 * locale/findlocale.c (_nl_find_locale): Return right away if
45620 _nl_explode_name failed.
45621 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45623 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45625 * debug/xtrace.sh: Unify messages.
45626 * malloc/memusage.sh: Likewise.
45629 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45630 time symbol from vDSO. Substitute with vsyscall if not available.
45631 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45634 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45635 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45636 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45637 Add sendmmsg and internal_sendmmsg.
45638 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45639 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45640 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45642 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45643 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45644 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45646 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45649 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45650 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45652 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45656 * iconvdata/Makefile (tests): Add bug-iconv9.
45657 * iconvdata/bug-iconv9.c: New file.
45659 2011-05-27 Andreas Schwab <schwab@redhat.com>
45662 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45664 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45666 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45667 (struct user_regs_struct): Change intcs field back to cs.
45669 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45671 * po/ja.po: Update from translation team.
45673 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45676 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45677 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45679 2011-05-20 Andreas Schwab <schwab@redhat.com>
45681 * stdlib/longlong.h: Update from GCC.
45683 2011-05-23 Andreas Schwab <schwab@redhat.com>
45685 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45687 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45688 Add parameter name.
45689 (__sysconf): Pass it down.
45691 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45694 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45696 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45697 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45698 add in in __libc_use_alloca calls. Adjust callers.
45699 (glob): Use malloc in some situations.
45701 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45702 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45705 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45707 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45708 and CLOCK_BOOTTIME_ALARM.
45711 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45714 * string/_strerror.c (__strerror_r): Print negative errors as signed
45718 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45719 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45720 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45722 * configure.in: Fix typo in redirection and correct removal of test
45723 files in two cases.
45726 * locale/setlocale.c (new_composite_name): Fix test to check for
45727 identical name of all categories.
45730 * libio/filedoalloc.c (local_isatty): New function.
45731 (_IO_file_doallocate): Use local_isatty.
45732 * stdio-common/perror.c (perror): In case a new stream is used
45733 forward the stream error.
45734 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45737 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45742 * include/alloca.h (extend_alloca_account): Define.
45745 * posix/regex.h: Fix comments with documentation of user-accessible
45746 fields after compilation and describe correct free'ing of pattern
45747 after re_compile_pattern.
45748 Patch by Reuben Thomas <rrt@sc3d.org>.
45750 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45752 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45753 and -mno-altivec to prevent the compiler from using Altivec and/or
45754 VSX instructions when the corresponding registers are not available.
45756 2011-05-19 Andreas Schwab <schwab@redhat.com>
45758 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45760 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45762 * libio/freopen.c (freopen): Use __dup2, not dup2.
45763 * libio/freopen64.c (freopen64): Likewise.
45765 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45768 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45769 * math/Makefile (tests): Add test-powl.
45770 (CFLAGS-test-powl.c): Define.
45771 * math/test-powl.c: New file.
45773 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45775 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45777 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45780 * iconvdata/gb18030.c: Update to GB18020-2005.
45782 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45784 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45785 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45786 Patch by Aharon Robbins <arnold@skeeve.com>.
45789 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45793 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45794 through underflows.
45797 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45798 point to strings before performing equality test for error_one_per_line
45802 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45805 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45806 (struct user_fpregs_struct): Avoid __uint*_t types.
45809 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45810 symbol info. Use it instead of calling _dl_addr locally.
45811 (lock_and_info): New function.
45812 (tr_freehook): Call lock_and_info and pass symbol info as additional
45813 parameter to tr_where.
45814 (tr_mallochook): Likewise.
45815 (tr_reallochook): Likewise.
45816 (tr_memalignhook): Likewise.
45818 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45819 used and couldn't be at all thread-safe.
45821 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45823 * libio/freopen.c (freopen): Don't close old file descriptor
45824 before the new one is opened. Instead dup the new file descriptor
45825 to the old one after the new stream is created.
45826 * libio/freopen64.c (freopen64): Likewise.
45827 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45828 * libio/fileops.c (_IO_new_file_close_it): Handle new
45829 _IO_FLAGS2_NOCLOSE flag.
45830 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45831 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45832 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45833 _IO_FLAGS2_NOCLOSE flag.
45834 * include/unistd.h: Add hidden_proto for dup3.
45835 Define __have_dup3.
45836 * io/dup3.c: Define hidden symbol.
45837 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45840 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45841 when an incomplete long option is used.
45842 * posix/tst-getopt_long1.c: New file.
45843 * posix/Makefile (tests): Add tst-getopt_long1.
45846 * scripts/config.guess: Update from autoconf-2.68.
45847 * scripts/config.sub: Likewise.
45850 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45852 (has_cpuclock): ...this. New function.
45853 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45854 macro here based on has_cpuclock code.
45857 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45858 First byte (not low byte) is now always NUL.
45859 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45862 Use non-cancelable interfaces.
45865 * locale/iso-639.def: Add entry for Sorani.
45868 * include/stdlib.h: Move include protection to the right place.
45869 Define abort_msg_s. Declare __abort_msg with it.
45870 * stdlib/abort.c (__abort_msg): Adjust type.
45871 * assert/assert.c (__assert_fail_base): New function. Majority
45872 of code from __assert_fail. Allocate memory for __abort_msg with
45874 (__assert_fail): Now call __assert_fail_base.
45875 * assert/assert-perr.c: Remove bulk of implementation. Use
45876 __assert_fail_base.
45877 * include/assert.hL Declare __assert_fail_base.
45878 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45880 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45882 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45886 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45887 until all modules are registered in the DTV.
45888 * elf/Makefile: Add rules to build and run tst-tls19.
45889 * elf/tst-tls19.c: New file.
45890 * elf/tst-tls19mod1.c: New file.
45891 * elf/tst-tls19mod2.c: New file.
45892 * elf/tst-tls19mod3.c: New file.
45893 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45896 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45900 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45901 two-byte sequence errors.
45902 * iconvdata/Makefile (tests): Add bug-iconv8.
45903 * iconvdata/bug-iconv8.c: New file.
45906 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45909 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45912 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45913 (dummy_getcfa): New function.
45914 (init): Get _Unwind_GetCFA address, use dummy if not found.
45915 (backtrace_helper): In recursion check, also check whether CFA changes.
45916 (__backtrace): Completely initialize arg.
45918 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45919 storing incomplete byte sequence in state object. Avoid testing for
45920 guaranteed too small input if we know there is enough data available.
45922 2011-05-11 Andreas Schwab <schwab@redhat.com>
45924 * Makeconfig (+link-pie): Indent.
45925 * Rules (binaries-pie): Define if $(have-fpie) and
45927 (binaries-shared): Also filter out $(binaries-pie).
45928 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45929 * nscd/Makefile (others-pie): Add nscd.
45930 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45931 ($(objpfx)nscd): Remove command override.
45932 * login/Makefile (others-pie): Add pt_chown.
45933 ($(objpfx)pt_chown): Remove command override.
45934 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45935 remove command overrides.
45937 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45939 * libio/tst_putwc.c: Fix error messages.
45942 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45943 currently writing and seek to current position when not.
45944 * libio/Makefile (tests): Add bug-fclose1.
45945 * libio/bug-fclose1.c: New file.
45947 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45950 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45951 don't set DF_1_NODELETE here.
45952 (do_lookup_x): When entering new entry test for copy relocation
45953 and if necessary set DF_1_NODELETE flag.
45954 * elf/tst-unique4.cc: New file.
45955 * elf/tst-unique4.h: New file.
45956 * elf/tst-unique4lib.cc: New file.
45957 * elf/Makefile: Add rules to build and run tst-unique4.
45958 Patch by Piotr Bury <pbury@goahead.com>.
45960 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45963 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45966 * misc/mntent_r.c (addmntent): Flush the stream after the output
45969 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45970 (is_trusted_path_normalize): Skip initial colon. Append slash
45971 to empty buffer. Duplicate is_trusted_path code but allow
45972 constructed patch to be prefix.
45973 (is_dst): Allow $ORIGIN followed by /.
45974 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45975 Correct testing of result of is_trusted_path_normalize
45976 (decompose_rpath): Fix warning.
45978 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45981 * grp/initgroups.c (internal_getgrouplist): When we found the service
45982 list through the initgroups entry in nsswitch.conf do not always
45983 continue on a successful lookup. Don't always use the
45984 __nss_group_database value if it is set.
45985 * nss/nsswitch.conf (initgroups): Change action for successful db
45986 lookup to continue for compatibility.
45988 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45991 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45993 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45995 * iconvdata/tst-tables.sh: Likewise.
45996 * iconvdata/cp770.c: New file.
45997 * iconvdata/cp771.c: New file.
45998 * iconvdata/cp772.c: New file.
45999 * iconvdata/cp773.c: New file.
46000 * iconvdata/cp774.c: New file.
46001 * iconvdata/testdata/CP770: New file.
46002 * iconvdata/testdata/CP770..UTF8: New file.
46003 * iconvdata/testdata/CP771: New file.
46004 * iconvdata/testdata/CP771..UTF8: New file.
46005 * iconvdata/testdata/CP772: New file.
46006 * iconvdata/testdata/CP772..UTF8: New file.
46007 * iconvdata/testdata/CP773: New file.
46008 * iconvdata/testdata/CP773..UTF8: New file.
46009 * iconvdata/testdata/CP774: New file.
46010 * iconvdata/testdata/CP774..UTF8: New file.
46012 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46014 * iconvdata/gen-8bit-gap.sh: Likewise.
46015 * iconvdata/gen-8bit.sh: Likewise.
46017 * locale/iso-639.def: Add ary entry.
46020 * locale/C-translit.h.in: Add U20A1 transliteration.
46023 * locale/iso-639.def: Add wae entry.
46024 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46027 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46031 * locale/C-translit.h.in: Add entry for U20B9.
46032 Patch by pravin.d.s@gmail.com.
46034 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46037 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46038 ENAMETOOLONG use generic getcwd.
46039 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46040 in rtld. Use *stat64.
46041 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46042 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46043 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46044 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46045 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46046 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46047 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46048 __fstatat64 macros.
46049 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46050 * dirent/rewinddir.c: Add libc_hidden_def.
46051 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46052 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46054 * include/dirent.h (__alloc_dir): Add flags parameter.
46055 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46056 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46058 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46059 from fdopendir if O_CLOEXEC is already set.
46061 2011-03-15 Alan Modra <amodra@gmail.com>
46063 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46064 l_tls_firstbyte_offset non-zero. Save padding offset in
46065 l_tls_firstbyte_offset for later use.
46066 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46067 freeing static tls block.
46069 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46071 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46072 where #ifdef was intended. The intent is to prevent ARG_MAX from
46073 being defined by the kernel headers.
46075 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46078 * resolv/resolv.h: Define RES_NOTLDQUERY.
46079 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46080 no-tld-query and set RES_NOTLDQUERY.
46081 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46082 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46083 modern BIND to search name as TLD unless forbidden.
46085 2011-05-07 Petr Baudis <pasky@suse.cz>
46086 Ulrich Drepper <drepper@gmail.com>
46089 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46090 (is_trusted_path): ...to here.
46091 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46092 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46093 using is_trusted_path_normalize() in setuid scripts.
46095 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46097 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46098 __BEGIN/__END_DECLS.
46100 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46102 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46103 NSS_STATUS_NOTFOUND if no record was found.
46105 2011-05-05 Andreas Schwab <schwab@redhat.com>
46107 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46108 (headers-not-in-tirpc): Remove rpc/netdb.h
46109 * resolv/netdb.h: Revert last change.
46111 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46113 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46114 circular dependency between libgcc.a and libc.a.
46116 2011-05-05 Andreas Schwab <schwab@redhat.com>
46118 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46119 * nis/Makefile: Don't install rpcsvc/*.
46120 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46121 instead of <rpc/types.h>.
46122 (MAXHOSTNAMELEN): Define.
46124 2011-05-03 Andreas Schwab <schwab@redhat.com>
46126 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46128 2011-04-28 Maciej Babinski <mbabinski@google.com>
46131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46132 gethostbyname4_r when IPv6 results are possible.
46134 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46137 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46138 _PC_PIPE_BUF handling.
46140 2011-04-30 Bruno Haible <bruno@clisp.org>
46143 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46144 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46146 * inet/getnameinfo.c (getnameinfo): Likewise.
46148 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46150 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46151 to groups setting in database lookup.
46152 * nss/nsswitch.conf: Add initgroups entry.
46154 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46157 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46159 Patch by Eric Blake <eblake@redhat.com>.
46161 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46163 * sunrpc/Makefile (need-export-routines): Add svc_run.
46164 (routines): Remove svc_run.
46165 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46166 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46167 * sunrpc/svc_run.c (svc_run): Likewise.
46168 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46170 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46172 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46173 problem in reallocation in last patch.
46175 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46177 * sunrpc/Makefile: Move inclusion of Rules.
46179 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46181 * nss/nss_files/files-initgroups.c: New file.
46182 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46183 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46184 _nss_files_initgroups_dyn.
46186 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46188 * elf/elf.h (R_ARM_IRELATIVE): Define.
46190 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46192 * po/ru.po: Update from translation team.
46194 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46196 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46199 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46202 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46203 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46204 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46205 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46206 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46208 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46210 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46212 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46214 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46216 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46219 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46221 * stdlib/bug-getcontext.c: New file.
46222 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46224 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46226 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46227 instructions into .machine "z9-109".
46228 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46229 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46231 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46233 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46234 between environment variables and auxiliary vector.
46236 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46238 * Makefile: Add rules to build linkobj/libc.so.
46239 * include/libc-symbols.h: Define libc_hidden_nolink.
46240 * include/rpc/auth.h: Mark functions which are to be hidden.
46241 * include/rpc/auth_des.h: Likewise.
46242 * include/rpc/auth_unix.h: Likewise.
46243 * include/rpc/clnt.h: Likewise.
46244 * include/rpc/des_crypt.h: Likewise.
46245 * include/rpc/key_prot.h: Likewise.
46246 * include/rpc/pmap_clnt.h: Likewise.
46247 * include/rpc/pmap_prot.h: Likewise.
46248 * include/rpc/pmap_rmt.h: Likewise.
46249 * include/rpc/rpc_msg.h: Likewise.
46250 * include/rpc/svc.h: Likewise.
46251 * include/rpc/svc_auth.h: Likewise.
46252 * include/rpc/xdr.h: Likewise.
46253 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46254 * nss/Makefile: Likewise.
46255 * sunrpc/Makefile: Don't install headers. Build library with normal
46256 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46257 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46258 for the compat linking library. Remove use of INTDEF/INTUSE.
46259 * sunrpc/auth_none.c: Likewise.
46260 * sunrpc/auth_unix.c: Likewise.
46261 * sunrpc/authdes_prot.c: Likewise.
46262 * sunrpc/authuxprot.c: Likewise.
46263 * sunrpc/clnt_gen.c: Likewise.
46264 * sunrpc/clnt_perr.c: Likewise.
46265 * sunrpc/clnt_raw.c: Likewise.
46266 * sunrpc/clnt_simp.c: Likewise.
46267 * sunrpc/clnt_tcp.c: Likewise.
46268 * sunrpc/clnt_udp.c: Likewise.
46269 * sunrpc/clnt_unix.c: Likewise.
46270 * sunrpc/des_crypt.c: Likewise.
46271 * sunrpc/des_soft.c: Likewise.
46272 * sunrpc/get_myaddr.c: Likewise.
46273 * sunrpc/key_call.c: Likewise.
46274 * sunrpc/key_prot.c: Likewise.
46275 * sunrpc/netname.c: Likewise.
46276 * sunrpc/pm_getmaps.c: Likewise.
46277 * sunrpc/pm_getport.c: Likewise.
46278 * sunrpc/pmap_clnt.c: Likewise.
46279 * sunrpc/pmap_prot.c: Likewise.
46280 * sunrpc/pmap_prot2.c: Likewise.
46281 * sunrpc/pmap_rmt.c: Likewise.
46282 * sunrpc/publickey.c: Likewise.
46283 * sunrpc/rpc_cmsg.c: Likewise.
46284 * sunrpc/rpc_common.c: Likewise.
46285 * sunrpc/rpc_dtable.c: Likewise.
46286 * sunrpc/rpc_prot.c: Likewise.
46287 * sunrpc/rpc_thread.c: Likewise.
46288 * sunrpc/rtime.c: Likewise.
46289 * sunrpc/svc.c: Likewise.
46290 * sunrpc/svc_auth.c: Likewise.
46291 * sunrpc/svc_authux.c: Likewise.
46292 * sunrpc/svc_raw.c: Likewise.
46293 * sunrpc/svc_run.c: Likewise.
46294 * sunrpc/svc_simple.c: Likewise.
46295 * sunrpc/svc_tcp.c: Likewise.
46296 * sunrpc/svc_udp.c: Likewise.
46297 * sunrpc/svc_unix.c: Likewise.
46298 * sunrpc/svcauth_des.c: Likewise.
46299 * sunrpc/xcrypt.c: Likewise.
46300 * sunrpc/xdr.c: Likewise.
46301 * sunrpc/xdr_array.c: Likewise.
46302 * sunrpc/xdr_float.c: Likewise.
46303 * sunrpc/xdr_intXX_t.c: Likewise.
46304 * sunrpc/xdr_mem.c: Likewise.
46305 * sunrpc/xdr_rec.c: Likewise.
46306 * sunrpc/xdr_ref.c: Likewise.
46307 * sunrpc/xdr_sizeof.c: Likewise.
46308 * sunrpc/xdr_stdio.c: Likewise.
46310 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46313 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46314 * sysdeps/ia64/dl-tls.h: Likewise.
46315 * sysdeps/powerpc/dl-tls.h: Likewise.
46316 * sysdeps/s390/dl-tls.h: Likewise.
46317 * sysdeps/sh/dl-tls.h: Likewise.
46318 * sysdeps/sparc/dl-tls.h: Likewise.
46319 * sysdeps/x86_64/dl-tls.h: Likewise.
46320 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46322 2011-03-14 Andreas Schwab <schwab@redhat.com>
46324 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46325 rpath element also skip the following colon.
46326 (expand_dynamic_string_token): Add is_path parameter and pass
46327 down to DL_DST_REQUIRED and _dl_dst_substitute.
46328 (decompose_rpath): Call expand_dynamic_string_token with
46329 non-zero is_path. Ignore empty rpaths.
46330 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46333 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46338 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46341 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46342 Patch by Filipe David Manana <fdmanana@apache.org>.
46344 2011-04-07 Andreas Schwab <schwab@redhat.com>
46346 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46347 Maintain aligned stack.
46348 (CHECK_RSP): Remove unused macro.
46350 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46352 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46353 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46355 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46357 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46359 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46361 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46364 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46365 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46366 * sysdeps/x86_64/memmove.c: New file.
46367 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46368 (memcpy): Renamed to ...
46369 (__new_memcpy): This.
46370 (memcpy): Provide GLIBC_2_14 memcpy.
46371 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46372 (memcpy): Provide GLIBC_2_2_5 memcpy.
46374 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46377 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46379 2011-03-30 Andreas Schwab <schwab@redhat.com>
46381 * misc/syncfs.c: New file.
46382 * misc/Makefile (routines): Add syncfs.
46383 * posix/unistd.h: Declare syncfs.
46384 * sysdeps/unix/syscalls.list: Add syncfs.
46386 2011-04-01 Andreas Schwab <schwab@redhat.com>
46388 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46391 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46393 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46394 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46395 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46396 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46398 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46401 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46402 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46403 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46404 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46405 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46406 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46408 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46409 sync_file_range.c with -fexceptions.
46410 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46411 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46412 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46413 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46414 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46415 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46416 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46417 sync_file_range as cancellation point
46418 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46419 now a wrapper around __call_sync_file_range with cancellation handling.
46420 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46421 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46422 function name to __call_sync_file_range.
46423 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46424 Add call_sync_file_range.
46426 2011-04-01 Andreas Schwab <schwab@redhat.com>
46428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46431 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46433 * iconv/iconv.h: Fix typo in comment.
46434 * io/fcntl.h: Likewise.
46435 * libio/stdio.h: Likewise.
46436 * posix/spawn.h: Likewise.
46437 * posix/unistd.h: Likewise.
46438 * stdlib/stdlib.h: Likewise.
46439 * time/time.h: Likewise.
46440 * wcsmbs/wchar.h: Likewise.
46442 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46443 open_by_handle): Add.
46444 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46445 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46446 Augment a few comments.
46447 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46448 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46449 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46450 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46451 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46452 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46455 * io/fcntl.h (AT_EMPTY_PATH): Define.
46457 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46459 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46460 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46461 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46463 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46464 * Versions.def: Add GLIBC_2.14.
46465 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46468 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46470 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46472 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46474 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46477 * string/test-strncmp.c (do_page_test): New function.
46478 (check2): Likewise.
46479 (test_main): Call check2.
46480 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46482 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46485 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46486 Handle cache information in CPU leaf 4.
46487 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46489 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46492 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46493 character representation.
46494 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46496 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46498 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46499 END(__isnan) to END(__isnanf) to match function entry point/label
46500 EALIGN(__isnanf,...).
46502 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46504 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46506 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46509 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46510 copy from the symbol referenced in the relocation to initialize the
46512 Patch by Piotr Bury <pbury@goahead.com>.
46513 * elf/Makefile: Add rules to build and tst-unique3.
46514 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46515 * elf/tst-unique3.cc: New file.
46516 * elf/tst-unique3.h: New file.
46517 * elf/tst-unique3lib.cc: New file.
46518 * elf/tst-unique3lib2.cc: New file.
46520 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46522 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46524 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46525 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46528 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46530 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46531 to-be-loaded object along a path to loader is ld.so.
46533 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46534 Ulrich Drepper <drepper@gmail.com>
46536 * sysdeps/x86_64/memset.S: After aligning destination, code
46537 branches to different locations depending on the value of
46538 misalignment, when multiarch is enabled. Fix this.
46540 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46542 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46543 Set _x86_64_preferred_memory_instruction for AMD processsors.
46544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46545 Set bit_Prefer_SSE_for_memop for AMD processors.
46547 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46549 * libio/fmemopen.c (fmemopen): Optimize a bit.
46551 2011-03-03 Andreas Schwab <schwab@redhat.com>
46553 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46555 2011-03-03 Roland McGrath <roland@redhat.com>
46557 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46559 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46561 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46562 __bzero_ultra1 instead of __memset_ultra1.
46564 2011-02-23 Andreas Schwab <schwab@redhat.com>
46565 Ulrich Drepper <drepper@gmail.com>
46568 * include/link.h (struct link_map): Add l_orig_initfini.
46569 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46570 returning unsuccessfully.
46571 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46572 close of a file loaded at startup, restore the original l_initfini
46574 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46575 list, store the pointer.
46576 * elf/Makefile ($(objpfx)noload-mem): New rule.
46577 (noload-ENV): Define.
46578 (tests): Add $(objpfx)noload-mem.
46579 * elf/noload.c: Include <memcheck.h>.
46580 (main): Call mtrace. Close all opened handles.
46582 2011-02-17 Andreas Schwab <schwab@redhat.com>
46585 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46586 dependencies are missing.
46588 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46590 Fix __if_freereq crash: Unlike the generic version which uses free,
46592 * sysdeps/mach/hurd/ifreq.h: New file.
46594 2011-01-27 Petr Baudis <pasky@suse.cz>
46595 Ulrich Drepper <drepper@gmail.com>
46598 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46599 to extend_alloca().
46600 * stdio-common/bug23.c: New file.
46601 * stdio-common/Makefile (tests): Add bug23.
46603 2010-09-28 Andreas Schwab <schwab@redhat.com>
46604 Ulrich Drepper <drepper@gmail.com>
46607 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46608 before performing relro protection. At old place add assertion
46609 to make sure nothing changed.
46611 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46612 Glauber de Oliveira Costa <glommer@gmail.com>
46614 * elf/elf.h: Add new ARM TLS relocs.
46616 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46619 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46621 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46623 * sysdeps/wordsize-64/tst-writev.c: New file.
46625 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46627 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46628 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46629 insns in _dl_start to prevent a TOC reference before relocs are
46632 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46635 * Makeconfig: Remove RANLIB definition.
46636 * Makerules: Don't use RANLIB.
46637 * aclocal.m4: Remove ranlib test.
46638 * configure.in: No need to check for ranlib.
46639 * elf/rtld-Rules: Don't use RANLIB.
46641 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46643 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46645 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46646 inclusion protection macro.
46648 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46649 SIGRTMIN and SIGRTMAX and print information in that case only when
46650 SIGRTMIN is defined.
46652 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46654 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46655 arginfo fn returning -1.
46657 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46658 and thousands string is zero terminated.
46660 2011-02-03 Andreas Schwab <schwab@redhat.com>
46662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46663 sysdeps/unix/sysv/linux/bits/socket.h.
46665 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46667 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46668 (__CPU_COUNT): Remove old macros.
46669 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46670 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46671 (__CPU_ALLOC, __CPU_FREE): Add macros.
46672 (__sched_cpualloc, __sched_cpufree): Add declarations.
46674 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46676 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46677 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46678 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46679 (readdhstai): Return value of addhstaiX call.
46680 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46681 (addgrbyX): Return value returned by cache_addgr.
46682 (readdgrbyname): Return value returned by addgrbyX.
46683 (readdgrbygid): Likewise.
46684 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46685 (addpwbyX): Return value returned by cache_addpw.
46686 (readdpwbyname): Return value returned by addhstbyX.
46687 (readdpwbyuid): Likewise.
46688 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46689 (addservbyX): Return value returned by cache_addserv.
46690 (readdservbyname): Return value returned by addservbyX:
46691 (readdservbyport): Likewise.
46692 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46693 (addhstbyX): Return value returned by cache_addhst.
46694 (readdhstbyname): Return value returned by addhstbyX.
46695 (readdhstbyaddr): Likewise.
46696 (readdhstbynamev6): Likewise.
46697 (readdhstbyaddrv6): Likewise.
46698 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46699 (readdinitgroups): Return value returned by addinitgroupsX.
46700 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46701 (prune_cache): Keep track of timeout value of re-added entries.
46702 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46703 * nscd/nscd.h: Adjust prototypes of readd* functions.
46705 2011-02-04 Roland McGrath <roland@redhat.com>
46707 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46708 (nis_stats): Likewise.
46709 * nis/nis_modify.c (nis_modify): Likewise.
46710 * nis/nis_remove.c (nis_remove): Likewise.
46711 * nis/nis_add.c (nis_add): Likewise.
46713 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46715 * posix/fnmatch_loop.c: Add some consts.
46717 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46719 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46722 * config.make.in (config-cflags-novzeroupper): Define.
46723 * configure.in: Substitute libc_cv_cc_novzeroupper.
46724 * elf/Makefile (AVX-CFLAGS): Define.
46725 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46726 (CFLAGS-tst-auditmod4a.c): Likewise.
46727 (CFLAGS-tst-auditmod4b.c): Likewise.
46728 (CFLAGS-tst-auditmod6b.c): Likewise.
46729 (CFLAGS-tst-auditmod6c.c): Likewise.
46730 (CFLAGS-tst-auditmod7b.c): Likewise.
46731 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46733 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46735 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46736 function to the callback.
46737 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46739 2011-02-02 Andreas Schwab <schwab@redhat.com>
46741 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46744 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46747 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46749 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46751 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46754 * elf/Makefile: Add rules to build and run new test.
46755 * elf/tst-initorder.c: New file.
46756 * elf/tst-initorder.exp: New file.
46757 * elf/tst-initordera1.c: New file.
46758 * elf/tst-initordera2.c: New file.
46759 * elf/tst-initordera3.c: New file.
46760 * elf/tst-initordera4.c: New file.
46761 * elf/tst-initorderb1.c: New file.
46762 * elf/tst-initorderb2.c: New file.
46763 * elf/tst-order-a1.c: New file.
46764 * elf/tst-order-a2.c: New file.
46765 * elf/tst-order-a3.c: New file.
46766 * elf/tst-order-a4.c: New file.
46767 * elf/tst-order-b1.c: New file.
46768 * elf/tst-order-b2.c: New file.
46769 * elf/tst-order-main.c: New file.
46770 New test case by George Gensure <werkt0@gmail.com>.
46772 2010-10-01 Andreas Schwab <schwab@redhat.com>
46774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46775 decoding ACE if AI_CANONIDN.
46777 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46779 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46781 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46783 * version.h (RELEASE): Bump for 2.13 release.
46784 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46786 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46788 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46790 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46791 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46792 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46793 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46794 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46795 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46797 * posix/getconf.c: Update copyright year.
46798 * catgets/gencat.c: Likewise.
46799 * csu/version.c: Likewise.
46800 * debug/catchsegv.sh: Likewise.
46801 * debug/xtrace.sh: Likewise.
46802 * elf/ldconfig.c: Likewise.
46803 * elf/ldd.bash.in: Likewise.
46804 * elf/sprof.c (print_version): Likewise.
46805 * iconv/iconv_prog.c: Likewise.
46806 * iconv/iconvconfig.c: Likewise.
46807 * locale/programs/locale.c: Likewise.
46808 * locale/programs/localedef.c: Likewise.
46809 * malloc/memusage.sh: Likewise.
46810 * malloc/mtrace.pl: Likewise.
46811 * nscd/nscd.c (print_version): Likewise.
46812 * nss/getent.c: Likewise.
46814 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46815 PF_CAIF, and PF_ALG.
46816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46818 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46820 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46821 (modules-names): Use them.
46822 (ifunc-test-modules, ifunc-pie-tests): Define.
46823 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46824 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46825 (test-extras): Likewise.
46826 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46827 $(compile-command.c).
46828 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46829 (all-built-dso): Define.
46830 (check-textrel.out, check-execstack.out): Depend on it.
46832 * configure.in: Don't override --enable-multi-arch.
46834 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46837 * nscd/hstcache.c (tryagain): Define.
46838 (cache_addhst): Return tryagain not notfound for temporary errors.
46839 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46842 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46845 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46846 to make the syscall.
46847 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46850 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46851 and fall back to matching as normal character if the string ends before
46852 the matching ']' is found. This is what POSIX requires.
46853 * posix/testfnm.c: Adjust test result.
46854 * posix/globtest.sh: Adjust test result. Add new test.
46855 * posix/tst-fnmatch.input: Likewise.
46856 * posix/tst-fnmatch2.c: Add new test.
46858 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46860 * elf/Makefile (check-execstack): Revert last change. Depend on
46862 (check-execstack.h): New target.
46863 (generated): Add check-execstack.h.
46864 * elf/check-execstack.c: Include "check-execstack.h".
46865 (main): Revert last change.
46866 (handle_file): Return zero if GNU_STACK is absent and
46867 DEFAULT_STACK_PERMS doesn't include PF_X.
46869 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46871 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46872 in child fails because the descriptor is already closed.
46873 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46874 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46875 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46878 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46882 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46883 temporary buffer used to handle multi lookups locally.
46884 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46886 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46888 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46891 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46893 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46894 alignment for SSE2.
46896 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46899 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46900 characters. When rounding increased number of integer digits recompute
46902 * stdio-common/tst-grouping.c: New file.
46903 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46905 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46907 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46908 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46910 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46912 * bits/select.h: Likewise.
46914 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46916 * po/ja.po: Update from translation team.
46918 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46921 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46922 implementation just like for lxstat, fxstatat, et al.
46924 2010-12-27 Jim Meyering <meyering@redhat.com>
46927 * posix/regexec.c (build_trtable): Return failure indication upon
46928 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46930 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46933 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46934 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46935 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46936 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46939 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46942 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46943 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46945 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46947 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46948 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46949 script has SORT_BY_INIT_PRIORITY.
46950 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46951 NO_CTORS_DTORS_SECTIONS is defined.
46952 * elf/soinit.c: Likewise.
46953 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46954 NO_CTORS_DTORS_SECTIONS is defined.
46955 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46956 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46957 * sysdeps/sh/init-first.c: Likewise.
46958 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46960 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46962 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46963 always use the slow path.
46965 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46967 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46968 similar rule which adds the sysdep directories to the header search in
46969 order to pick up the correct platform stackinfo.h.
46970 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46971 perform test if it is, otherwise return successfully without testing.
46972 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46973 DEFAULT_STACK_PERMS define in stackinfo.h.
46974 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46975 defined in stackinfo.h.
46976 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46977 DEFAULT_STACK_PERMS defined in stackinfo.h.
46978 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46979 * sysdeps/ia64/stackinfo.h: Likewise.
46980 * sysdeps/s390/stackinfo.h: Likewise.
46981 * sysdeps/sh/stackinfo.h: Likewise.
46982 * sysdeps/sparc/stackinfo.h: Likewise.
46983 * sysdeps/x86_64/stackinfo.h: Likewise.
46984 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46985 PF_X for powerpc64. Retain PF_X for powerpc32.
46987 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46989 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46991 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46992 GETDENTS_64BIT_ALIGNED.
46994 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46996 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46998 2010-12-10 Andreas Schwab <schwab@redhat.com>
47000 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47003 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47004 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47006 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47007 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47009 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47012 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47015 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47017 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47019 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47021 * po/it.po: Update from translation team.
47023 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47028 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47030 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47032 2010-11-24 Andreas Schwab <schwab@redhat.com>
47034 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47036 (gaih_getanswer_slice): Likewise.
47038 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47042 2010-05-31 Petr Baudis <pasky@suse.cz>
47045 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47046 silently even in the chroot mode.
47048 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47050 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47051 last patch a bit. Pretty printing
47053 2010-05-31 Petr Baudis <pasky@suse.cz>
47056 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47057 initialization of skip_initgroups_dyn.
47059 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47061 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47062 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47064 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47066 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47068 2010-11-11 Andreas Schwab <schwab@redhat.com>
47070 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47071 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47072 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47073 ($(objpfx)tst-fnmatch-mem): New rule.
47074 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47075 * posix/tst-fnmatch.c (main): Call mtrace.
47077 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47080 Support Intel processor model 6 and model 0x2c.
47082 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47084 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47087 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47090 * string/test-strncasecmp.c (check_result): New function.
47091 (do_one_test): Use it.
47092 (check1): New function.
47093 (test_main): Use it.
47094 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47095 Support strcasecmp and strncasecmp.
47097 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47100 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47101 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47103 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47105 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47109 * sysdeps/x86_64/multiarch/bzero.S: New file.
47110 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47111 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47112 * sysdeps/x86_64/multiarch/memset.S: New file.
47113 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47115 Set bit_Prefer_SSE_for_memop for Intel processors.
47116 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47118 (index_Prefer_SSE_for_memop): Define.
47119 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47121 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47123 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47124 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47126 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47129 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47130 (__x86_64_raw_data_cache_size_half): Likewise.
47131 (__x86_64_raw_shared_cache_size): Likewise.
47132 (__x86_64_raw_shared_cache_size_half): Likewise.
47134 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47135 (__x86_64_raw_data_cache_size_half): Likewise.
47136 (__x86_64_raw_shared_cache_size): Likewise.
47137 (__x86_64_raw_shared_cache_size_half): Likewise.
47138 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47139 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47140 and __x86_64_raw_shared_cache_size_half. Round
47141 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47142 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47143 to multiple of 256 bytes.
47145 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47148 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47149 of inacessible symlinks. Verify result of symlink before returning it.
47150 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47151 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47153 2010-10-28 Erich Ritz <erichritz@gmail.com>
47155 * math/math.h (isinf): Fix typo in comment.
47157 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47159 * po/da.po: Update from translation team.
47161 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47163 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47164 is added to the list.
47166 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47167 Ulrich Drepper <drepper@gmail.com>
47169 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47170 the global list here. Move code to...
47171 (_dl_add_to_namespace_list): ...here. New function.
47172 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47173 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47174 * elf/dl-load.c (lose): Don't remove the element from the list.
47175 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47176 (_dl_map_object): Likewise.
47178 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47181 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47182 into all bytes of SSE register.
47183 Patch by Richard Li <richardpku@gmail.com>.
47185 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47188 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47191 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47193 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47194 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47195 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47196 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47201 2010-10-22 Andreas Schwab <schwab@redhat.com>
47203 * include/dlfcn.h (__RTLD_SECURE): Define.
47204 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47205 mode & __RTLD_SECURE instead.
47206 (open_path): Rename preloaded parameter to secure.
47207 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47208 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47209 * elf/dl-deps.c (openaux): Likewise.
47210 * elf/rtld.c (struct map_args): Remove is_preloaded.
47211 (map_doit): Don't use it.
47212 (dl_main): Likewise.
47213 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47214 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47216 2010-09-09 Andreas Schwab <schwab@redhat.com>
47218 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47219 (sysd-rules-targets): Remove duplicates.
47220 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47221 rtld-%.$o dependency.
47223 2010-10-18 Andreas Schwab <schwab@redhat.com>
47225 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47226 _dl_map_object do it.
47228 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47230 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47231 fast fma builtins, define the macros in the C99 standard.
47232 (FP_FAST_FMAF): Likewise.
47233 (FP_FAST_FMAL): Likewise.
47234 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47236 * bits/mathdef.h: Update copyright year.
47237 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47239 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47241 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47242 builtins, define the macros in the C99 standard.
47243 (FP_FAST_FMAF): Likewise.
47244 (FP_FAST_FMAL): Likewise.
47245 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47247 (FP_FAST_FMAF): Likewise.
47249 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47252 * math/libm-test.inc (fma_test): Some new testcases.
47253 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47254 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47255 y and infinite z. Do multiplication by C already in long double.
47256 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47258 y and infinite z. Do bitwise or of inexact bit into u.d.
47259 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47260 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47261 * sysdeps/i386/fpu/s_fma.S: Removed.
47262 * sysdeps/i386/fpu/s_fmal.S: Removed.
47264 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47267 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47268 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47269 computation is not scheduled after fetestexcept. Fix value
47270 of minimum denormal long double.
47272 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47275 * math/libm-test.inc (fma_test): Add some more tests.
47276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47279 2010-10-15 Andreas Schwab <schwab@redhat.com>
47281 * scripts/data/localplt-s390-linux-gnu.data: New file.
47282 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47284 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47287 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47288 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47290 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47292 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47294 if one of x and y is very large and the other is subnormal.
47295 * sysdeps/s390/fpu/s_fmaf.c: New file.
47296 * sysdeps/s390/fpu/s_fma.c: New file.
47297 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47298 * sysdeps/powerpc/fpu/s_fma.S: New file.
47299 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47300 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47301 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47303 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47306 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47308 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47309 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47310 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47311 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47312 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47313 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47314 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47316 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47319 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47320 * posix/bug-regex31.input: Add test case.
47322 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47324 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47325 * posix/bug-regex31.input: New file.
47328 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47329 (parse_sub_exp): Fix last change, use postorder.
47331 * posix/bug-regex31.c: New file.
47332 * posix/Makefile: Add rules to build and run bug-regex31.
47334 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47337 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47340 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47341 to have entries in sys_siglist.
47344 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47347 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47350 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47351 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47352 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47353 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47354 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47355 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47356 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47357 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47358 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47359 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47360 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47361 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47362 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47363 * math/ftestexcept.c (fetestexcept): Likewise.
47364 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47365 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47366 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47367 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47368 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47369 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47370 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47372 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47375 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47378 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47380 * string/bug-strstr1.c: New file.
47381 * string/Makefile: Add rules to build and run bug-strstr1.
47383 2010-10-05 Eric Blake <eblake@redhat.com>
47386 * string/str-two-way.h (two_way_long_needle): Always clear memory
47387 when skipping input due to the shift table.
47389 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47392 * malloc/mcheck.c: Handle large requests.
47395 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47396 for strncmp and strncasecmp.
47397 * string/stratcliff.c: Add tests for strcmp and strncmp.
47398 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47400 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47402 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47405 2010-09-30 Andreas Jaeger <aj@suse.de>
47407 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47408 (CGROUP_SUPER_MAGIC): Define.
47409 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47410 Handle btrfs and cgroup file systems.
47411 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47414 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47416 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47417 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47419 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47422 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47423 trying to locate the ELF header.
47425 2010-09-27 Andreas Schwab <schwab@redhat.com>
47428 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47429 Mask out sign-bit copies when constructing f_fsid.
47431 2010-09-24 Petr Baudis <pasky@suse.cz>
47433 * debug/stack_chk_fail_local.c: Add missing licence exception.
47434 * debug/warning-nop.c: Likewise.
47436 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47438 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47439 implementing getdents64 using getdents syscall, set d_type if
47440 __ASSUME_GETDENTS32_D_TYPE.
47442 2010-09-16 Andreas Schwab <schwab@redhat.com>
47444 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47445 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47447 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47450 * posix/unistd.h: Undo change of feature selection for ftruncate from
47453 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47455 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47458 2010-09-20 Andreas Schwab <schwab@redhat.com>
47460 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47462 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47464 2010-09-14 Andreas Schwab <schwab@redhat.com>
47466 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47467 variables after CHECK_SP call.
47468 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47470 2010-09-13 Andreas Schwab <schwab@redhat.com>
47471 Ulrich Drepper <drepper@redhat.com>
47473 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47474 re-relocationg ld.so.
47475 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47476 _dl_init_paths call.
47477 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47480 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47482 * resolv/res_init.c (__res_vinit): Count the default server we added.
47484 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47485 Ulrich Drepper <drepper@redhat.com>
47488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47489 (____longjmp_chk): Use %ebx for saving value across system call.
47492 2010-09-06 Andreas Schwab <schwab@redhat.com>
47494 * manual/Makefile: Don't mix pattern rules with normal rules.
47496 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47498 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47500 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47501 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47502 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47503 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47504 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47507 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47510 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47511 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47513 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47515 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47516 * sysdeps/x86_64/addmul_1.S: Likewise.
47517 * sysdeps/x86_64/lshift.S: Likewise.
47518 * sysdeps/x86_64/mul_1.S: Likewise.
47519 * sysdeps/x86_64/rshift.S: Likewise.
47520 * sysdeps/x86_64/sub_n.S: Likewise.
47521 * sysdeps/x86_64/submul_1.S: Likewise.
47523 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47525 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47526 Define __sched_param instead of SCHED_* and sched_param when
47527 <bits/sched.h> is included with __need_schedparam defined.
47528 * bits/sched.h [__need_schedparam]
47529 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47530 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47531 (__defined_schedparam): Define to 1.
47532 (__sched_param): New structure, identical to sched_param.
47533 (__need_schedparam): Undefine.
47535 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47537 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47538 (epoll_create1): Declare.
47540 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47542 2010-08-31 Andreas Schwab <schwab@redhat.com>
47545 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47546 shifting retval into place.
47548 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47550 * nis/rpcsvc/nis.h: Update copyright notice.
47551 * nis/rpcsvc/nis.x: Likewise.
47552 * nis/rpcsvc/nis_callback.h: Likewise.
47553 * nis/rpcsvc/nis_callback.x: Likewise.
47554 * nis/rpcsvc/nis_object.x: Likewise.
47555 * nis/rpcsvc/nis_tags.h: Likewise.
47556 * nis/rpcsvc/yp.h: Likewise.
47557 * nis/rpcsvc/yp.x: Likewise.
47558 * nis/rpcsvc/ypupd.h: Likewise.
47559 * nis/yp_xdr.c: Likewise.
47560 * nis/ypupdate_xdr.c: Likewise.
47562 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47563 mainly the body of pmap_getport. Add parameters to specify timeouts.
47564 (pmap_getport): Use __libc_rpc_getport.
47565 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47566 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47567 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47569 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47574 2010-08-27 Roland McGrath <roland@redhat.com>
47576 * sysdeps/i386/i686/multiarch/Makefile
47577 (CFLAGS-varshift.c): New variable.
47579 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47581 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47582 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47586 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47588 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47590 * sysdeps/x86_64/strlen.S: Unroll the loop.
47591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47592 strlen-sse2 strlen-sse2-bsf.
47593 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47594 __strlen_no_bsf if bit_Slow_BSF is set.
47595 (__strlen_sse42): Removed.
47596 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47597 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47599 2010-08-25 Roland McGrath <roland@redhat.com>
47601 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47602 * sysdeps/x86_64/multiarch/varshift.c: New file.
47603 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47604 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47605 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47606 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47608 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47611 strlen-sse2 strlen-sse2-bsf.
47612 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47613 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47614 (__strlen_sse2): Removed.
47615 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47616 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47618 bit_Slow_BSF for Atom.
47619 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47620 (index_Slow_BSF): Define.
47621 (HAS_SLOW_BSF): Define.
47623 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47626 * resolv/res_init.c (__res_vinit): When no server address at all
47627 is given default to loopback.
47629 2010-08-24 Roland McGrath <roland@redhat.com>
47631 * configure.in: Remove config-name.h generation.
47632 * configure: Regenerated.
47633 * config-name.in: File removed.
47634 * scripts/config-uname.sh: New file.
47635 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47636 ($(objdir)config-name.h): New target.
47638 * sunrpc/rpc_parse.h: Avoid nested comment.
47640 2010-08-24 Richard Henderson <rth@redhat.com>
47641 Ulrich Drepper <drepper@redhat.com>
47642 H.J. Lu <hongjiu.lu@intel.com>
47644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47646 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47647 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47648 _mm_alignr_epi8 with _mm_loadu_si128.
47649 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47650 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47651 (__m128i_shift_right): Removed.
47652 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47653 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47654 * sysdeps/x86_64/multiarch/varshift.h: New file.
47655 * sysdeps/x86_64/multiarch/varshift.S: New file.
47657 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47659 * configure.in: Move assembler checks to before sysdep dir checking.
47661 2010-08-20 Petr Baudis <pasky@suse.cz>
47663 * LICENSES: Sync the sunrpc license.
47665 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47667 * sunrpc/auth_des.c: Update copyright notice once again.
47668 * sunrpc/auth_none.c: Likewise.
47669 * sunrpc/auth_unix.c: Likewise.
47670 * sunrpc/authdes_prot.c: Likewise.
47671 * sunrpc/authuxprot.c: Likewise.
47672 * sunrpc/bindrsvprt.c: Likewise.
47673 * sunrpc/clnt_gen.c: Likewise.
47674 * sunrpc/clnt_perr.c: Likewise.
47675 * sunrpc/clnt_raw.c: Likewise.
47676 * sunrpc/clnt_simp.c: Likewise.
47677 * sunrpc/clnt_tcp.c: Likewise.
47678 * sunrpc/clnt_udp.c: Likewise.
47679 * sunrpc/clnt_unix.c: Likewise.
47680 * sunrpc/des_crypt.c: Likewise.
47681 * sunrpc/des_soft.c: Likewise.
47682 * sunrpc/get_myaddr.c: Likewise.
47683 * sunrpc/getrpcport.c: Likewise.
47684 * sunrpc/key_call.c: Likewise.
47685 * sunrpc/key_prot.c: Likewise.
47686 * sunrpc/openchild.c: Likewise.
47687 * sunrpc/pm_getmaps.c: Likewise.
47688 * sunrpc/pm_getport.c: Likewise.
47689 * sunrpc/pmap_clnt.c: Likewise.
47690 * sunrpc/pmap_prot.c: Likewise.
47691 * sunrpc/pmap_prot2.c: Likewise.
47692 * sunrpc/pmap_rmt.c: Likewise.
47693 * sunrpc/rpc/auth.h: Likewise.
47694 * sunrpc/rpc/auth_unix.h: Likewise.
47695 * sunrpc/rpc/clnt.h: Likewise.
47696 * sunrpc/rpc/des_crypt.h: Likewise.
47697 * sunrpc/rpc/key_prot.h: Likewise.
47698 * sunrpc/rpc/netdb.h: Likewise.
47699 * sunrpc/rpc/pmap_clnt.h: Likewise.
47700 * sunrpc/rpc/pmap_prot.h: Likewise.
47701 * sunrpc/rpc/pmap_rmt.h: Likewise.
47702 * sunrpc/rpc/rpc.h: Likewise.
47703 * sunrpc/rpc/rpc_des.h: Likewise.
47704 * sunrpc/rpc/rpc_msg.h: Likewise.
47705 * sunrpc/rpc/svc.h: Likewise.
47706 * sunrpc/rpc/svc_auth.h: Likewise.
47707 * sunrpc/rpc/types.h: Likewise.
47708 * sunrpc/rpc/xdr.h: Likewise.
47709 * sunrpc/rpc_clntout.c: Likewise.
47710 * sunrpc/rpc_cmsg.c: Likewise.
47711 * sunrpc/rpc_common.c: Likewise.
47712 * sunrpc/rpc_cout.c: Likewise.
47713 * sunrpc/rpc_dtable.c: Likewise.
47714 * sunrpc/rpc_hout.c: Likewise.
47715 * sunrpc/rpc_main.c: Likewise.
47716 * sunrpc/rpc_parse.c: Likewise.
47717 * sunrpc/rpc_parse.h: Likewise.
47718 * sunrpc/rpc_prot.c: Likewise.
47719 * sunrpc/rpc_sample.c: Likewise.
47720 * sunrpc/rpc_scan.c: Likewise.
47721 * sunrpc/rpc_scan.h: Likewise.
47722 * sunrpc/rpc_svcout.c: Likewise.
47723 * sunrpc/rpc_tblout.c: Likewise.
47724 * sunrpc/rpc_util.c: Likewise.
47725 * sunrpc/rpc_util.h: Likewise.
47726 * sunrpc/rpcinfo.c: Likewise.
47727 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47728 * sunrpc/rpcsvc/key_prot.x: Likewise.
47729 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47730 * sunrpc/rpcsvc/mount.x: Likewise.
47731 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47732 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47733 * sunrpc/rpcsvc/rex.x: Likewise.
47734 * sunrpc/rpcsvc/rstat.x: Likewise.
47735 * sunrpc/rpcsvc/rusers.x: Likewise.
47736 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47737 * sunrpc/rpcsvc/spray.x: Likewise.
47738 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47739 * sunrpc/rtime.c: Likewise.
47740 * sunrpc/svc.c: Likewise.
47741 * sunrpc/svc_auth.c: Likewise.
47742 * sunrpc/svc_authux.c: Likewise.
47743 * sunrpc/svc_raw.c: Likewise.
47744 * sunrpc/svc_run.c: Likewise.
47745 * sunrpc/svc_simple.c: Likewise.
47746 * sunrpc/svc_tcp.c: Likewise.
47747 * sunrpc/svc_udp.c: Likewise.
47748 * sunrpc/svc_unix.c: Likewise.
47749 * sunrpc/svcauth_des.c: Likewise.
47750 * sunrpc/xcrypt.c: Likewise.
47751 * sunrpc/xdr.c: Likewise.
47752 * sunrpc/xdr_array.c: Likewise.
47753 * sunrpc/xdr_float.c: Likewise.
47754 * sunrpc/xdr_mem.c: Likewise.
47755 * sunrpc/xdr_rec.c: Likewise.
47756 * sunrpc/xdr_ref.c: Likewise.
47757 * sunrpc/xdr_sizeof.c: Likewise.
47758 * sunrpc/xdr_stdio.c: Likewise.
47760 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47763 2010-08-19 Andreas Schwab <schwab@redhat.com>
47765 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47767 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47769 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47770 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47771 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47772 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47773 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47774 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47775 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47776 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47777 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47778 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47779 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47780 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47781 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47782 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47784 2010-07-26 Anton Blanchard <anton@samba.org>
47786 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47787 * malloc/arena.c (heap_trim): Likewise.
47789 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47791 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47793 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47794 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47796 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47798 * sysdeps/i386/elf/Makefile: New file.
47800 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47802 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47803 from fanotify_init.
47804 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47805 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47807 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47809 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47811 * sysdeps/multiarch/strcmp.S: Likewise.
47813 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47815 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47816 strncase_l-nonascii.
47817 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47818 Add strncase_l-ssse3.
47819 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47820 * sysdeps/x86_64/strcmp.S: Likewise.
47821 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47822 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47823 * sysdeps/x86_64/strncase.S: New file.
47824 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47825 * sysdeps/x86_64/strncase_l.S: New file.
47826 * string/Makefile (strop-tests): Add strncasecmp.
47827 * string/test-strncasecmp.c: New file.
47829 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47832 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47833 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47835 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47837 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47839 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47841 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47842 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47843 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47845 2010-05-01 Alan Modra <amodra@gmail.com>
47847 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47848 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47849 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47850 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47851 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47852 tidying. Don't tail-call __sigjmp_save for static lib.
47853 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47855 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47856 (CALL_MCOUNT): Add eh info, and nop after bl.
47857 (TAIL_CALL_SYSCALL_ERROR): New macro.
47858 (PSEUDO_RET): Use it.
47859 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47860 Correct save location of integer regs and cr.
47861 (_dl_profile_resolve): Correct cr save location. Delete nops
47862 after bl when SHARED. Reduce cfi size a little by better
47863 placement of cfi directives.
47864 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47865 make a stack frame. Instead use parm save area as a temp.
47866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47867 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47869 Don't make a stack frame for parent, use parm save area.
47870 Increase child stack frame to 112 bytes. Don't save unused reg,
47871 and adjust reg usage. Set up cfi on error recovery and
47872 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47874 (__makecontext): Add dummy nop after jump to exit.
47875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47876 Use correct parm save area and cr save, reduce stack frame.
47877 Correct cfi for possible PSEUDO_RET frame setup.
47878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47879 Branch to local label emitted by PSEUDO_RET rather than
47882 2010-08-12 Andreas Schwab <schwab@redhat.com>
47885 * locale/programs/locale.c (print_assignment): New function.
47886 (show_locale_vars): Use it.
47888 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47890 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47892 (struct statfs64): Likewise.
47893 (_STATFS_F_FLAGS): Define.
47894 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47895 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47896 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47897 (ST_VALID): Define locally.
47898 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47899 __statvfs_getflags, use the provided value.
47900 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47901 __ASSUME_STATFS_F_FLAGS.
47903 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47905 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47906 Add sys/fanotify.h.
47907 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47908 fanotify_mask for GLIBC_2.13.
47909 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47910 fanotify_init and fanotify_mark.
47911 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47912 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47914 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47916 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47917 prlimit64 for GLIBC_2.13.
47918 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47920 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47923 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47924 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47925 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47926 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47928 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47931 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47932 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47934 * nss/Makefile: Add rules to build and run tst-nss-test1.
47935 * shlib-versions: Add entry for libnss_test1.
47936 * nss/nss_test1.c: New file.
47937 * nss/tst-nss-test1.c: New file.
47939 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47940 (__nss_configure_lookup): Set appropriate entry in
47941 __nss_configure_lookup to true.
47942 * nss/nsswitch.h: Define enum with indeces of databases in
47943 databases and __nss_database_custom arrays. Declare
47944 __nss_database_custom.
47945 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47946 to avoid using nscd when custom rules are installed.
47947 * nss/getXXbyYY_r.c: Likewise.
47948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47950 * nss/nss_files/files-parse.c: Whitespace fixes.
47952 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47955 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47956 * posix/fnmatch_loop.c: Likewise.
47958 2010-07-17 Andi Kleen <ak@linux.intel.com>
47960 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47961 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47962 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47963 * Versions.def [GLIBC_2.13]: Add.
47965 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47967 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47968 Also fail if tpwd after pwuid call is NULL.
47970 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47972 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47973 when converting to ms.
47975 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47977 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47978 EOPNOTSUPP errors with ENOTTY.
47979 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47980 EOPNOTSUPP errors with ENOTTY.
47982 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47984 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47985 Add strcasecmp_l-ssse3.
47986 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47988 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47989 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47990 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47992 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47994 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47996 * string/Makefile (strop-tests): Add strcasecmp.
47997 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47998 strcasecmp_l-nonascii.
47999 (gen-as-const-headers): Add locale-defines.sym.
48000 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48001 * sysdeps/x86_64/strcasecmp.S: New file.
48002 * sysdeps/x86_64/strcasecmp_l.S: New file.
48003 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48004 * sysdeps/x86_64/locale-defines.sym: New file.
48005 * string/test-strcasecmp.c: New file.
48007 * string/test-strcasestr.c: Test both ends of the range of characters.
48008 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48010 2010-07-29 Roland McGrath <roland@redhat.com>
48013 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48015 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48017 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48020 2010-07-27 Andreas Schwab <schwab@redhat.com>
48022 * manual/memory.texi (Malloc Tunable Parameters): Document
48025 2010-07-26 Roland McGrath <roland@redhat.com>
48028 * configure.in (-fgnu89-inline check): Set and substitute
48029 gnu89_inline, not libc_cv_gnu89_inline.
48030 * configure: Regenerated.
48031 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48033 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48035 * string/test-strnlen.c: New file.
48036 * string/Makefile (strop-tests): Add strnlen.
48037 * string/tester.c (test_strnlen): Add a few more test cases.
48038 * string/tst-strlen.c: Better error reporting.
48040 * sysdeps/x86_64/strnlen.S: New file.
48042 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48044 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48045 lower-latency instructions.
48047 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48049 * string/test-strcasestr.c: New file.
48050 * string/test-strstr.c: New file.
48051 * string/Makefile (strop-tests): Add strstr and strcasestr.
48052 * string/str-two-way.h: Don't undefine MAX.
48053 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48055 2010-07-21 Andreas Schwab <schwab@redhat.com>
48057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48058 strcasestr-nonascii.
48059 (CFLAGS-strcasestr-nonascii.c): Define.
48060 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48061 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48062 Remove unused attribute.
48064 2010-07-20 Roland McGrath <roland@redhat.com>
48066 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48067 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48068 ld.so.cache was broken. With it, there is no way to disable dsocaps
48069 like LD_HWCAP_MASK can disable hwcaps.
48071 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48073 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48075 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48077 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48078 call in strcasestr.
48079 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48080 __strcasestr_sse42_nonascii.
48081 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48082 strcasestr-nonascii.c.
48083 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48085 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48087 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48088 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48089 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48090 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48092 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48094 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48097 2010-07-06 Andreas Schwab <schwab@redhat.com>
48100 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48103 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48105 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48106 _PC_PIPE_BUF using F_GETPIPE_SZ.
48108 2010-07-05 Roland McGrath <roland@redhat.com>
48110 * manual/arith.texi (Rounding Functions): Fix rint description
48111 implicit in round description.
48113 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48115 * elf/Makefile: Fix linking for a few tests to make recent linker
48118 2010-06-30 Andreas Schwab <schwab@redhat.com>
48120 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48121 $(common-objpfx)libc_nonshared.a.
48123 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48125 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48126 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48127 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48128 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48129 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48130 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48131 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48132 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48147 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48148 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48149 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48150 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48151 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48152 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48153 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48154 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48155 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48156 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48157 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48158 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48174 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48176 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48177 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48178 * string/memmove.c (memmove): Renamed to ...
48179 (MEMMOVE): ...this. Default to memmove.
48180 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48181 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48184 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48185 mempcpy-ssse3-back memmove-ssse3-back.
48186 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48187 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48188 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48189 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48190 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48191 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48192 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48193 * sysdeps/x86_64/multiarch/memmove.c: New file.
48194 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48195 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48196 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48197 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48198 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48199 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48201 (index_Fast_Copy_Backward): Define.
48202 (HAS_ARCH_FEATURE): Define.
48203 (HAS_FAST_REP_STRING): Define.
48204 (HAS_FAST_COPY_BACKWARD): Define.
48206 2010-06-21 Andreas Schwab <schwab@redhat.com>
48208 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48209 Restore proper fallback handling.
48211 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48214 * posix/group_member.c (__group_member): Correct checking loop.
48216 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48217 OOM in getpwuid_r correctly. Return error number when the caller
48218 should return, otherwise -1.
48219 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48220 call returning > 0 value.
48221 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48223 2010-06-07 Andreas Schwab <schwab@redhat.com>
48225 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48226 libc_nonshared.a from targets in modules-names.
48228 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48230 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48233 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48235 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48236 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48237 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48238 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48240 2010-06-02 Andreas Schwab <schwab@redhat.com>
48242 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48244 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48246 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48248 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48249 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48250 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48252 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48253 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48255 2010-06-14 Roland McGrath <roland@redhat.com>
48257 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48259 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48261 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48262 __REDIRECT followed by __THROW.
48263 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48264 * posix/getopt.h (getopt): Likewise.
48266 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48268 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48269 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48270 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48272 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48273 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48275 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48277 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48279 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48283 Properly check family and model.
48285 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48287 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48289 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48291 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48293 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48295 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48298 2010-05-19 Andreas Schwab <schwab@redhat.com>
48300 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48303 2010-05-21 Andreas Schwab <schwab@redhat.com>
48305 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48306 and internal_recvmmsg.
48307 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48308 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48309 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48310 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48312 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48313 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48314 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48316 2010-05-20 Andreas Schwab <schwab@redhat.com>
48318 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48320 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48322 POWER7 optimizations.
48323 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48324 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48326 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48328 * version.h: Update for 2.13 development version.
48330 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48332 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48333 exceptions. Return 0.
48335 2010-05-07 Roland McGrath <roland@redhat.com>
48337 * elf/ldconfig.c (main): Add a const.
48339 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48341 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48342 (args_options): Add no-idn option.
48343 (ahosts_keys_int): Add idn_flags to ai_flags.
48344 (parse_option): Handle 'i' option to clear idn_flags.
48346 * malloc/malloc.c (_int_free): Possible race in the most recently
48347 added check. Only act on the data if no current modification
48350 See ChangeLog.17 for earlier changes.