1 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8 * sysdeps/arm/libm-test-ulps: Regenerated.
10 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11 Roland McGrath <roland@hack.frob.com>
13 * test-skeleton.c (signal_handler): Kill the whole process group
14 before killing the child individually.
15 (main): Report any failure on `setpgid'.
17 2014-06-30 Roland McGrath <roland@hack.frob.com>
19 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
20 from _TLS_H to _ARM_NPTL_TLS_H.
21 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24 2014-06-30 Joseph Myers <joseph@codesourcery.com>
27 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28 (__expm1l): Return argument unchanged when small but not
31 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
33 (_FP_UNPACK_RAW_1_P): Likewise.
34 (_FP_PACK_RAW_1): Likewise.
35 (_FP_PACK_RAW_1_P): Likewise.
36 (_FP_MUL_MEAT_1_wide): Likewise.
37 (_FP_MUL_MEAT_DW_1_hard): Likewise.
38 (_FP_MUL_MEAT_1_hard): Likewise.
39 (_FP_DIV_MEAT_1_imm): Likewise.
40 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
41 (_FP_DIV_MEAT_1_udiv): Likewise.
42 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
43 (_FP_UNPACK_RAW_2): Likewise.
44 (_FP_UNPACK_RAW_2_P): Likewise.
45 (_FP_PACK_RAW_2): Likewise.
46 (_FP_PACK_RAW_2_P): Likewise.
47 (_FP_MUL_MEAT_DW_2_wide): Likewise.
48 (_FP_MUL_MEAT_2_wide): Likewise.
49 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
50 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
51 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
52 (_FP_MUL_MEAT_2_gmp): Likewise.
53 (_FP_DIV_MEAT_2_udiv): Likewise.
54 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
55 (_FP_FRAC_SRL_4): Likewise.
56 (_FP_FRAC_SRST_4): Likewise.
57 (_FP_FRAC_SRS_4): Likewise.
58 (_FP_UNPACK_RAW_4): Likewise.
59 (_FP_UNPACK_RAW_4_P): Likewise.
60 (_FP_PACK_RAW_4): Likewise.
61 (_FP_PACK_RAW_4_P): Likewise.
62 (_FP_MUL_MEAT_DW_4_wide): Likewise.
63 (_FP_MUL_MEAT_4_wide): Likewise.
64 (_FP_MUL_MEAT_4_gmp): Likewise.
65 (umul_ppppmnnn): Likewise.
66 (_FP_DIV_MEAT_4_udiv): Likewise.
67 (__FP_FRAC_ADD_4): Likewise.
68 (__FP_FRAC_SUB_3): Likewise.
69 (__FP_FRAC_SUB_4): Likewise.
70 (__FP_FRAC_DEC_3): Likewise.
71 (__FP_FRAC_DEC_4): Likewise.
72 (__FP_FRAC_ADDI_4): Likewise.
73 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
74 (_FP_FRAC_SRL_8): Likewise.
75 (_FP_FRAC_SRS_8): Likewise.
77 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
79 (FP_UNPACK_RAW_EP): Likewise.
80 (FP_PACK_RAW_E): Likewise.
81 (FP_PACK_RAW_EP): Likewise.
82 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
83 (_FP_ISSIGNAN): Likewise.
84 (_FP_ADD_INTERNAL): Likewise.
88 (_FP_TO_INT): Likewise.
89 (_FP_FROM_INT): Likewise.
90 (FP_EXTEND): Likewise.
91 (_FP_DIV_MEAT_N_loop): Likewise.
93 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
95 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
98 2014-06-29 Joseph Myers <joseph@codesourcery.com>
101 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
102 result with correct sign in case of exponents that produce
103 overflow except for X very close to 1.
105 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
107 mktime: merge #if/#ifdef usage from glibc
108 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
109 as that works with both Glibc's and Gnulib's style.
110 See thread starting at Siddhesh Poyarekar's bug report at:
111 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
113 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
115 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
116 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
117 * sysdeps/tile/tilegx/memmove.c: Remove file.
119 2014-06-27 Joseph Myers <joseph@codesourcery.com>
121 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
123 * scripts/soversions.awk: Do not handle or generate ABI lines.
124 * shlib-versions: Remove ABI entries.
125 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
126 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
128 2014-06-27 Roland McGrath <roland@hack.frob.com>
130 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
131 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
132 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
133 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
134 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
135 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
136 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
138 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
140 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
141 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
142 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
144 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
145 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
146 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
148 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
149 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
150 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
151 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
154 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
155 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
156 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
157 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
158 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
159 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
161 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
162 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
164 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
165 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
166 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
167 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
169 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
170 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
171 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
172 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
173 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
174 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
175 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
176 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
178 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
179 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
180 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
181 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
183 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
184 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
186 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
187 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
189 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
191 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
193 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
194 Identical file removed.
195 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
197 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
198 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
199 Identical file removed.
200 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
201 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
202 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
204 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
205 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
206 Identical file removed.
207 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
208 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
209 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
210 Identical file removed.
211 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
212 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
213 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
214 Identical file removed.
215 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
216 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
217 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
218 Identical file removed.
219 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
221 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
222 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
223 Identical file removed.
224 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
226 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
227 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
228 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
229 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
230 Identical file removed.
231 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
233 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
235 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
236 Identical file removed.
237 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
239 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
240 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
241 Identical file removed.
242 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
244 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
245 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
246 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
247 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
248 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
249 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
251 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
252 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
253 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
255 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
256 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
257 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
258 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
259 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
261 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
264 * nscd/nscd.c (monitor_child): Return exit status of child
265 instead of return value from wait syscall.
267 2014-06-27 Joseph Myers <joseph@codesourcery.com>
269 * configure.ac (libc_commonpagesize): Remove variable.
270 (libc_relro_required): Likewise.
271 (libc_cv_z_relro): Remove configure test.
272 * configure: Regenerated.
273 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
275 (libc_relro_required): Likewise.
276 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
277 (libc_relro_required): Likewise.
278 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
279 (libc_relro_required): Likewise.
280 * sysdeps/arm/preconfigure: Regenerated.
281 * sysdeps/ia64/preconfigure: Remove file.
282 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
284 (libc_relro_required): Likewise.
288 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
289 (__ieee754_yn): Set FE_TONEAREST mode internally and then
290 recompute overflowing results in original rounding mode.
291 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
292 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
293 recompute overflowing results in original rounding mode.
294 * sysdeps/ieee754/ldbl-128/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-128ibm/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/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
301 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
302 recompute overflowing results in original rounding mode.
303 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
304 (libc_feholdsetround_ctx): New macro.
305 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
306 * sysdeps/i386/fpu/libm-test-ulps: Update.
307 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
309 2014-06-26 Joseph Myers <joseph@codesourcery.com>
311 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
312 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
313 corresponding .cpsetup call.
315 2014-06-26 Roland McGrath <roland@hack.frob.com>
317 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
318 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
319 * sysdeps/arm/Makefile [$(subdir) = csu]
320 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
321 (static-only-routines): Add aeabi_read_tp here.
322 (shared-only-routines): Add libc-aeabi_read_tp here.
323 (CFLAGS-libc-start.c): Add -fexceptions here.
324 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
325 (sysdep_routines, static-only-routines, shared-only-routines):
326 Don't add to these here.
327 (CFLAGS-libc-start.c): Likewise.
329 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
330 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
331 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
332 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
333 * sysdeps/arm/Makefile [$(subdir) = rt]
334 (librt-sysdep_routines, librt-shared-only-routines):
335 Append rt-aeabi_unwind_cpp_pr1 here.
336 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
337 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
338 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
339 (libpthread-sysdep_routines, libpthread-shared-only-routines):
340 Append nptl-aeabi_unwind_cpp_pr1 here.
341 (tests): Filter out tst-cleanupx4 here.
342 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
343 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
346 2014-06-26 Joseph Myers <joseph@codesourcery.com>
348 * scripts/list-sources.sh: Do not handle ports specially.
350 2014-06-26 Roland McGrath <roland@hack.frob.com>
352 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
353 * sysdeps/arm/feupdateenv.c: Likewise.
355 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
357 2014-06-26 Joseph Myers <joseph@codesourcery.com>
359 * manual/texinfo.tex: Update to version 2014-05-05.10 with
360 trailing whitespace removed.
361 * scripts/config.guess: Update to version 2014-03-23.
362 * scripts/config.sub: Update to version 2014-05-01
363 * scripts/install-sh: Update to version 2013-12-25.23.
364 * scripts/move-if-change: Update from gnulib.
366 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
368 * debug/memmove_chk.c: Remove pagecopy.h include.
370 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
372 * time/mktime.c (leapyear): Remove inline keyword. The code is now
373 identical to gnulib mktime.
375 2014-06-26 Joseph Myers <joseph@codesourcery.com>
377 * configure.ac: Do not test for machine being rs6000. Do not test
379 * configure: Regenerated.
381 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
383 * configure: Regenerated.
384 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
385 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
386 Remove configure test.
387 * sysdeps/arm/configure: Regenerated.
388 * sysdeps/nptl/configure.ac: Do not check
389 libc_cv_asm_cfi_directives.
390 * sysdeps/nptl/configure: Regenerated.
391 * sysdeps/x86_64/nptl/configure.ac: Remove file.
392 * sysdeps/x86_64/nptl/configure: Remove generated file.
393 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
395 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
397 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
399 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
400 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
401 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
404 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
405 instead of whether it is defined.
406 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
407 * sysdeps/hppa/dl-machine.h: Likewise.
408 * sysdeps/ia64/dl-machine.h: Likewise.
409 * sysdeps/m68k/dl-machine.h: Likewise.
410 * sysdeps/microblaze/dl-machine.h: Likewise.
411 * sysdeps/mips/dl-machine.: Likewise.
412 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
413 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
414 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
415 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
416 * sysdeps/sh/dl-machine.h: Likewise.
417 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
418 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
419 * sysdeps/tile/dl-machine.h: Likewise.
420 * sysdeps/x86_64/dl-machine.h: Likewise.
422 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
424 (verify_persistent_db): Likewise.
426 2014-06-26 Roland McGrath <roland@hack.frob.com>
428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
429 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
431 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
434 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
437 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
439 Identical file removed.
440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
441 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
443 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
445 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
447 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
449 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
452 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
454 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
456 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
459 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
461 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
463 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
465 Identical file removed.
466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
467 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
469 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
472 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
475 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
477 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
479 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
481 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
483 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
486 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
489 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
491 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
494 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
496 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
498 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
500 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
501 * sysdeps/unix/sysv/linux/s390/Versions
502 (libpthread: GLIBC_2.19): New version set.
503 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
504 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
505 (librt: GLIBC_2.3.3): New version set.
506 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
507 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
508 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
509 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
510 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
511 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
512 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
513 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
514 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
515 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
516 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
517 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
518 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
519 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
520 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
521 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
522 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
523 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
524 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
525 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
526 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
527 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
528 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
529 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
530 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
531 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
532 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
533 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
534 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
535 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
536 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
537 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
538 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
539 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
540 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
541 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
542 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
543 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
544 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
546 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
547 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
548 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
549 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
550 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
552 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
553 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
554 (__libc_vfork): Define the function under this name.
555 [!NOT_IN_libc] (__vfork): Make this an alias.
556 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
557 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
558 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
559 (__libc_vfork): Define the function under this name.
560 [!NOT_IN_libc] (__vfork): Make this an alias.
561 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
562 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
563 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
564 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
565 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
566 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
568 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
569 code that was previously under [RESET_PID].
570 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
571 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
572 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
574 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
575 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
576 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
577 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
578 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
579 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
580 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
581 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
582 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
583 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
584 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
586 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
587 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
588 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
589 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
590 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
591 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
592 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
593 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
594 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
595 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
596 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
597 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
598 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
599 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
600 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
601 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
602 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
603 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
604 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
605 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
606 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
607 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
608 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
609 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
610 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
611 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
612 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
613 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
614 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
616 2014-06-25 Roland McGrath <roland@hack.frob.com>
618 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
619 that was previously under [RESET_PID].
620 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
622 2014-06-25 Joseph Myers <joseph@codesourcery.com>
624 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
625 not undefine and redefine.
626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
627 [O_CLOEXEC]: Make code unconditional.
628 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
629 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
631 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
632 conditional variable definition.
633 (shm_open) [O_CLOEXEC]: Make code unconditional.
634 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
637 * configure.ac (USE_REGPARMS): Don't define here.
638 * configure: Regenerated.
639 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
640 * sysdeps/i386/configure: Regenerated.
642 * nptl/createthread.c: Don't include kernel-features.h.
643 * nptl/pthread_cancel.c: Likewise.
644 * nptl/pthread_condattr_setclock.c: Likewise.
645 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
646 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
647 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
648 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
649 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
650 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
651 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
652 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
653 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
654 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
655 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
656 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
657 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
658 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
659 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
660 * nscd/gai.c: Likewise.
661 * nss/nss_db/db-open.c: Likewise.
662 * sysdeps/generic/ldsodefs.h: Likewise.
663 * sysdeps/sh/nptl/tls.h: Likewise.
664 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
665 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
666 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
667 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
668 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
669 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
670 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
671 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
672 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
673 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
674 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
675 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
676 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
677 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
678 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
679 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
680 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
681 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
682 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
683 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
684 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
685 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
686 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
687 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
688 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
689 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
690 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
691 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
692 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
693 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
694 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
695 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
696 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
697 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
698 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
699 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
700 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
701 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
702 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
703 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
704 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
705 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
706 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
707 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
708 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
709 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
710 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
711 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
712 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
713 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
714 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
715 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
716 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
717 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
718 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
719 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
720 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
721 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
744 * sysdeps/unix/sysv/linux/pread.c: Likewise.
745 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
746 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
747 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
748 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
749 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
750 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
751 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
752 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
753 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
754 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
755 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
756 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
757 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
758 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
759 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
760 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
761 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
762 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
763 * sysdeps/unix/sysv/linux/system.c: Likewise.
764 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
765 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
766 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
767 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
768 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
769 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
770 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
772 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
773 * configure: Regenerated.
774 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
776 * configure.ac (base_machine): Do not set specially for particular
778 * configure: Regenerated.
779 * sysdeps/powerpc/preconfigure: Move machine and base_machine
780 settings from configure.ac.
781 * sysdeps/i386/preconfigure: New file.
782 * sysdeps/s390/preconfigure: Likewise.
783 * sysdeps/sh/preconfigure: Likewise.
784 * sysdeps/sparc/preconfigure: Likewise.
786 2014-06-25 Roland McGrath <roland@hack.frob.com>
788 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
789 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
790 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
791 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
792 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
793 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
794 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
795 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
796 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
797 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
798 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
799 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
800 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
801 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
802 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
803 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
804 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
805 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
806 * sysdeps/sparc/sparc64/Makefile: ... appended here.
808 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
809 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
810 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
811 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
812 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
813 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
814 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
815 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
816 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
817 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
818 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
819 * sysdeps/sparc/sparc32/sem_post.c: ... here.
820 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
821 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
822 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
823 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
824 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
825 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
826 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
827 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
828 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
829 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
830 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
831 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
832 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
833 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
834 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
835 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
836 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
837 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
838 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
839 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
840 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
841 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
842 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
843 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
844 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
845 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
848 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
850 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
853 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
856 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
858 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
861 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
863 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
865 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
867 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
870 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
873 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
875 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
878 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
880 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
882 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
884 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
886 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
889 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
892 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
894 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
897 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
899 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
901 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
903 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
906 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
909 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
911 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
914 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
916 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
918 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
920 2014-06-25 Joseph Myers <joseph@codesourcery.com>
922 * timezone/checktab.awk: Update from tzcode 2014e.
923 * timezone/private.h: Likewise.
924 * timezone/tzfile.h: Likewise.
925 * timezone/zdump.c: Likewise.
926 * timezone/zic.c: Likewise.
928 * sysdeps/unix/sysv/linux/kernel-features.h
929 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
930 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
931 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
932 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
933 Remove conditional code.
935 2014-06-25 Will Newton <will.newton@linaro.org>
937 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
938 (_dl_arm_cap_flags): Add HWCAP2 values.
939 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
940 (_DL_HWCAP_COUNT): Increase to 37.
941 (_DL_HWCAP_LAST): New define.
942 (_DL_HWCAP2_LAST): New define.
943 (_dl_procinfo): Add support for printing
945 (_dl_string_hwcap): Use _dl_hwcap_string.
947 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
951 2014-06-25 Joseph Myers <joseph@codesourcery.com>
953 * README: Do not mention ports directory.
955 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
957 * sysdeps/unix/sysv/linux/futimes.c: Do not include
959 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
960 conditional variable definition.
961 (__futimes): Update comment.
962 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
963 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
966 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
967 arguments close to 0.
968 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
970 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
972 * math/auto-libm-test-in: Add more tests of exp10.
973 * math/auto-libm-test-out: Regenerated.
974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
976 * sysdeps/unix/sysv/linux/kernel-features.h
977 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
978 * sysdeps/unix/sysv/linux/readv.c: Do not include
980 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
981 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
982 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
984 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
986 * sysdeps/unix/sysv/linux/writev.c: Do not include
988 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
989 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
990 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
992 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
995 2014-06-25 Will Newton <will.newton@linaro.org>
997 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
998 comment changes throughout the file. Remove checks
999 for HAVE_*_H definitions that are not required.
1000 (__gen_tempname): Call abort if an unknown kind value is
1003 2014-06-25 Andreas Schwab <schwab@suse.de>
1006 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1007 scalbln, scalblnf, scalblnl in libc.
1009 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1012 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1013 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1014 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1016 2014-06-24 Roland McGrath <roland@hack.frob.com>
1018 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1019 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1020 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1021 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1023 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1024 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1026 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1027 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1028 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1029 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1030 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1031 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1032 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1033 * sysdeps/x86/bits/semaphore.h: ... here.
1034 * sysdeps/x86/nptl/elide.h: Moved ...
1035 * sysdeps/x86/elide.h: ... here.
1036 * sysdeps/x86_64/nptl/Implies: File removed.
1037 * sysdeps/i386/nptl/Implies: File removed.
1039 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1042 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1043 return the argument for normal arguments with exponent below -64.
1044 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1046 * math/auto-libm-test-in: Add another test of expm1.
1047 * math/auto-libm-test-out: Regenerated.
1050 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1051 calling __erfcl for arguments at least 16.
1052 * math/auto-libm-test-in: Add more tests of erf.
1053 * math/auto-libm-test-out: Regenerated.
1055 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1056 individual architectures.
1057 * sysdeps/unix/sysv/linux/configure: Regenerated.
1058 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1059 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1060 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1061 (ldd_rewrite_script): Define variable.
1062 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1067 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1068 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1069 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1070 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1071 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1072 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1073 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1074 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1076 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1079 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1080 Rename member __data.d to __data.__elision_data.
1082 2014-06-24 Wilco <wdijkstr@arm.com>
1084 * NEWS: Add 16918 to fixed bug list.
1086 2014-06-24 Wilco <wdijkstr@arm.com>
1088 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1090 2014-06-24 Wilco <wdijkstr@arm.com>
1092 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1093 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1094 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1095 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1096 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1097 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1098 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1101 2014-06-24 Wilco <wdijkstr@arm.com>
1103 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1105 2014-06-24 Wilco <wdijkstr@arm.com>
1107 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1108 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1109 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1110 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1112 2014-06-24 Wilco <wdijkstr@arm.com>
1115 * sysdeps/arm/feupdateenv.c (feupdateenv):
1116 Rewrite to reduce FPSCR accesses and fix return value.
1118 2014-06-24 Wilco <wdijkstr@arm.com>
1120 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1121 Optimize to avoid unnecessary FPSCR writes.
1122 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1123 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1124 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1125 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1127 2014-06-24 Wilco <wdijkstr@arm.com>
1129 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1130 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1131 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1132 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1133 Call libc_fetestexcept_vfp.
1134 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1135 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1136 __SOFTFP__ ifdef so that they can be built for softfp.
1138 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1140 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1141 argument type signed char.
1143 * Makerules (check-abi): Dump diff of symlist if the test
1146 2014-06-23 Roland McGrath <roland@hack.frob.com>
1148 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1151 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1152 Remove unused variable ST.
1154 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1158 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1159 small arguments before calling __expm1.
1160 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1161 small arguments before calling __expm1f.
1162 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1163 small arguments before calling __expm1l.
1164 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1166 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1167 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1168 spurious underflow for some cosh tests.
1169 * math/auto-libm-test-out: Regenerated.
1170 * sysdeps/i386/fpu/libm-test-ulps: Update.
1173 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1174 (__ieee754_y1): Set errno if return value overflows.
1175 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1176 (__ieee754_y1f): Set errno if return value overflows.
1177 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1178 (__ieee754_y1l): Set errno if return value overflows.
1179 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1180 (__ieee754_y1l): Set errno if return value overflows.
1181 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1182 * math/auto-libm-test-out: Regenerated.
1184 * math/gen-auto-libm-tests.c: Document use of
1185 ignore-zero-inf-sign.
1186 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1187 (input_flags): Add ignore-zero-inf-sign.
1188 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1189 * math/gen-libm-test.pl (generate_testfile): Handle
1190 ignore-zero-inf-sign.
1191 * math/auto-libm-test-in: Mark some cpow tests with
1192 ignore-zero-inf-sign and some with xfail-rounding.
1193 * math/auto-libm-test-out: Regenerated.
1194 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1195 * sysdeps/i386/fpu/libm-test-ulps: Update.
1196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1199 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1200 overflowing or underflowing operations take place with sign of
1202 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1203 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1204 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1205 (__ieee754_pow): Recompute overflowing and underflowing results in
1206 original rounding mode.
1207 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1208 (__powl_helper): Allow negative argument X and scale negated value
1209 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1210 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1211 overflowing or underflowing operations take place with sign of
1213 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1215 * math/auto-libm-test-in: Add more tests of pow.
1216 * math/auto-libm-test-out: Regenerated.
1217 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1218 (pow_tonearest_test_data): Remove.
1219 (pow_test_tonearest): Likewise.
1220 (pow_towardzero_test_data): Likewise.
1221 (pow_test_towardzero): Likewise.
1222 (pow_downward_test_data): Likewise.
1223 (pow_test_downward): Likewise.
1224 (pow_upward_test_data): Likewise.
1225 (pow_test_upward): Likewise.
1226 (main): Don't call removed functions.
1227 * sysdeps/i386/fpu/libm-test-ulps: Update.
1228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1230 2014-06-23 Roland McGrath <roland@hack.frob.com>
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1406 2014-06-23 Will Newton <will.newton@linaro.org>
1407 Wilco <wdijkstr@arm.com>
1409 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1410 implementation. Include get-rounding-mode.h.
1411 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1412 [!libc_feholdsetround_noex_ctx]: Define
1413 libc_feholdsetround_noex_ctx.
1414 [!libc_feholdsetround_noexf_ctx]: Define
1415 libc_feholdsetround_noexf_ctx.
1416 [!libc_feholdsetround_noexl_ctx]: Define
1417 libc_feholdsetround_noexl_ctx.
1418 (libc_feholdsetround_ctx): New function.
1419 (libc_feresetround_ctx): New function.
1420 (libc_feholdsetround_noex_ctx): New function.
1421 (libc_feresetround_noex_ctx): New function.
1423 2014-06-23 Roland McGrath <roland@hack.frob.com>
1425 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1426 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1427 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1428 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1429 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1430 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1432 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1433 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1434 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1435 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1436 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1437 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1438 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1439 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1440 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1441 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1444 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1446 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1447 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1448 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1449 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1452 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1453 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1454 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1456 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1457 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1458 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1459 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1461 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1464 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1465 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1466 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1467 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1469 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1471 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1472 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1473 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1474 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1475 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1476 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1477 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1480 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1482 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1483 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1484 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1485 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1486 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1487 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1488 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1489 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1491 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1492 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1493 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1494 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1496 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1498 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1499 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1500 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1503 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1504 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1505 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1506 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1507 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1509 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1510 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1511 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1512 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1513 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1514 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1515 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1516 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1518 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1519 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1520 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1521 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1522 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1523 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1524 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1525 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1526 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1527 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1528 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1529 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1530 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1532 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1533 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1534 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1535 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1536 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1538 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1540 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1541 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1542 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1543 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1544 (IPV6_PMTUDISC_INTERFACE): Likewise.
1545 (IPV6_PMTUDISC_OMIT): Likewise.
1547 2014-06-23 Andreas Schwab <schwab@suse.de>
1549 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1550 Remove unused errout label.
1552 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1554 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1555 macro: hardware supports Vector Crypto instructions.
1557 2014-06-23 Will Newton <will.newton@linaro.org>
1559 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1560 rather than __builtin_expect.
1562 * elf/dl-lookup.c (undefined_msg): Remove variable.
1563 (_dl_lookup_symbol_x): Replace undefined_msg with string
1566 * elf/dl-lookup.c (do_lookup_unique): New function.
1567 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1568 to a separate function.
1570 2014-06-23 Andreas Schwab <schwab@suse.de>
1573 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1574 before reading the next line.
1576 2014-06-23 Will Newton <will.newton@linaro.org>
1578 * test-skeleton.c (signal_handler): Use printf and %m
1579 rather than perror. Use printf rather than fprintf to
1580 stderr. Use puts rather than fputs to stderr.
1583 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1585 * nscd/nscd.c (thread_info_t): Remove typedef.
1586 (thread_info): Remove variable.
1588 2014-06-21 Allan McRae <allan@archlinux.org>
1590 * NEWS: Mention CVE-2014-4043.
1592 2014-06-20 Roland McGrath <roland@hack.frob.com>
1594 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1595 * nptl/smp.h: ... here.
1597 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1599 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1600 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1601 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1602 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1604 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1605 * nptl/stack-aliasing.h: New file.
1606 * sysdeps/i386/i686/stack-aliasing.h: New file.
1607 * sysdeps/i386/i686/nptl/Makefile: File removed.
1608 * sysdeps/x86_64/stack-aliasing.h: New file.
1609 * sysdeps/x86_64/nptl/Makefile
1610 (CFLAGS-pthread_create.c): Variable removed.
1612 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1613 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1615 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1616 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1619 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1621 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1622 (__ASSUME_SIGFRAME_V2): Remove macro.
1623 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1624 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1625 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1626 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1627 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1628 Declare as function. Remove conditional macro definitions.
1629 (__default_rt_sa_restorer): Likewise.
1630 (__default_sa_restorer_v1): Remove declaration.
1631 (__default_sa_restorer_v2): Likewise.
1632 (__default_rt_sa_restorer_v1): Likewise.
1633 (__default_rt_sa_restorer_v2): Likewise.
1634 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1635 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1636 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1638 2014-06-20 Roland McGrath <roland@hack.frob.com>
1640 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1641 (libpthread-routines): Add sysdep.
1642 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1643 * sysdeps/unix/sysv/linux/sparc/Versions
1644 (libpthread: GLIBC_2.3.3): New version set.
1645 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1646 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1647 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1648 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1649 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1650 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1652 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1653 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1654 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1655 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1656 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1657 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1658 * sysdeps/sparc/nptl/sem_init.c: ... here.
1659 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1660 * sysdeps/sparc/nptl/sem_post.c: ... here.
1661 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1662 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1663 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1664 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1665 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1666 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1667 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1668 (libpthread-routines): Add cpu_relax.
1669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1671 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1672 (librt: GLIBC_2.3.3): New version set.
1673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1674 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1675 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1676 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1677 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1678 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1679 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1682 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1684 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1686 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1688 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1690 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1693 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1697 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1701 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1703 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1705 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1709 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1711 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1713 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1716 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1722 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1724 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1727 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1729 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1731 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1733 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1735 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1736 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1737 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1738 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1739 * nscd/nscd.c: Likewise.
1740 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1741 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1742 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1743 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1745 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1746 <kernel-features.h>.
1747 (init_mq_netlink): Remove conditional have_sock_cloexec
1748 definitions. Remove code conditional on have_sock_cloexec < 0.
1749 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1750 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1751 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1752 <kernel-features.h>.
1753 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1754 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1756 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1759 Add tests for memset_chk and memset.
1761 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1764 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1767 * elf/tst-dl-iter-static.c: New file.
1768 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1770 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1773 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1775 * sysdeps/unix/sysv/linux/kernel-features.h
1776 (__ASSUME_F_GETOWN_EX): Remove macro.
1777 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1778 <kernel-features.h>.
1779 (miss_F_GETOWN_EX): Remove variable or macro.
1780 (do_fcntl): Do not check miss_F_GETOWN_EX.
1781 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1783 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1785 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1786 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1787 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1789 * sysdeps/unix/sysv/linux/kernel-features.h
1790 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1791 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1792 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1793 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1795 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1798 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1799 Fix calculation of the symbol's value.
1800 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1801 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1802 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1803 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1804 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1805 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1806 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1807 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1808 (modules-names): Add `tst-armtlsdescmod',
1809 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1810 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1811 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1812 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1813 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1814 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1815 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1816 ($(objpfx)tst-armtlsdescloc): New dependency.
1817 ($(objpfx)tst-armtlsdescextnow): Likewise.
1818 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1819 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1821 * sysdeps/arm/configure: Regenerate.
1823 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1825 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1826 (__atfct_seterrno_2): Likewise.
1827 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1828 <kernel-features.h>.
1829 (__ASSUME_ATFCTS): Do not undefine and redefine.
1830 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1831 (__have_atfcts): Remove conditional definition.
1832 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1833 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1834 unreachable if [__ASSUME_ATFCTS].
1835 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1836 not undefine and redefine.
1837 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1838 <kernel-features.h>.
1839 (faccessat) [__NR_faccessat]: Make code unconditional.
1840 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1841 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1842 <kernel-features.h>.
1843 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1844 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1845 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1846 <kernel-features.h>.
1847 (fchownat) [__NR_fchownat]: Make code unconditional.
1848 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1849 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1850 <kernel-features.h>.
1851 (futimesat) [__NR_futimesat]: Make code unconditional.
1852 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1853 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1854 <kernel-features.h>.
1855 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1856 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1857 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1858 <kernel-features.h>.
1859 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1860 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1861 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1862 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1863 <kernel-features.h>.
1864 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1865 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1866 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1867 <kernel-features.h>.
1868 (linkat) [__NR_linkat]: Make code unconditional.
1869 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1870 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1871 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1872 <kernel-features.h>.
1873 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1874 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1875 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1876 <kernel-features.h>.
1877 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1878 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1879 * sysdeps/unix/sysv/linux/openat.c: Do not include
1880 <kernel-features.h>.
1881 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1882 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1883 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1884 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1885 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1886 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1887 <kernel-features.h>.
1888 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1889 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1890 result of INLINE_SYSCALL directly, not via int variable.
1891 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1892 <kernel-features.h>.
1893 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1894 (renameat) [__NR_renameat]: Make code unconditional.
1895 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1896 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1897 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1898 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1899 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1900 (__ASSUME_ATFCTS): Do not undefine and redefine.
1901 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1902 <kernel-features.h>.
1903 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1904 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1905 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1906 <kernel-features.h>.
1907 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1908 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1909 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1910 (__ASSUME_ATFCTS): Do not undefine and redefine.
1911 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1912 <kernel-features.h>.
1913 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1914 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1915 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1916 <kernel-features.h>.
1917 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1918 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1920 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1922 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1924 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1927 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1928 constructed tree before returning error.
1929 * posix/bug-regexp36.c: Expand test case.
1931 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1934 * math/libm-test.inc (scalbln_test_date):
1935 Add errno expectations.
1936 * math/w_scalblnf.c: New File.
1937 Add wrapper which checks for setting errno to ERANGE.
1938 Add weak_alias for corresponding scalbln function.
1939 * math/w_scalbln.c: Likewise.
1940 * math/w_scalblnl.c: Likewise.
1941 * math/Makefile (libm-calls): Add w_scalbln.
1942 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1943 Remove weak_alias for corresponding scalbln function.
1944 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1945 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1946 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1947 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1948 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1949 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1950 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1951 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1952 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1953 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1954 Remove long_double_symbol for scalblnl function in libm, libc.
1955 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1956 Add wrapper which checks for setting errno to ERANGE.
1957 Add long_double_symbol for scalblnl function in libm, libc.
1958 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1959 Remove long_double_symbol for scalblnl in libm.
1960 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1961 Add wrapper which checks for setting errno to ERANGE.
1962 Add long_double_symbol for scalblnl function in libm.
1963 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1964 Do not use wrapper because of own implementation.
1966 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1968 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1969 3 bytes for __pad1 for x32.
1970 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1972 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1973 H.J. Lu <hongjiu.lu@intel.com>
1975 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1976 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1977 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1978 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1979 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1981 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1984 * posix/regcomp.c (parse_expression): Deallocate partially
1985 constructed tree before returning error.
1986 * posix/Makefile.c (tests): Add bug-regex36.
1987 (generated): Add bug-regex36.mtrace.
1988 (tests-special): Add $(objpfx)bug-regex36-mem.out
1989 (bug-regex36-ENV): New variable.
1990 ($(objpfx)bug-regex36-mem.out): New rule.
1991 * posix/bug-regex36.c: New file.
1993 2014-06-19 Will Newton <will.newton@linaro.org>
1995 * malloc/malloc.c (systrim): If extra is zero then return
1998 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2000 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2002 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2004 * sysdeps/aarch64/strchr.S: New file.
2006 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2009 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2010 from arguments -2 or below.
2011 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2012 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2014 2014-06-18 Andreas Schwab <schwab@suse.de>
2017 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2018 of a bracket expr not to run off the end of the string.
2019 * posix/Makefile (tests): Add tst-fnmatch3.
2020 * posix/tst-fnmatch3.c: New file.
2022 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2024 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2025 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2026 [$(cross-compiling) = no]: Likewise.
2027 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2028 [$(cross-compiling) = no]: Likewise.
2030 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2033 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2034 double, adjusted for any remainder from the high double.
2035 * math/libm-test.inc (nearbyint): Add tests.
2038 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2040 * nptl/sysdeps/powerpc/Makefile: Moved ...
2041 * sysdeps/powerpc/nptl/Makefile: ... here.
2042 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2043 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2044 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2045 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2046 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2047 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2048 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2049 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2050 * nptl/sysdeps/powerpc/tls.h: Moved ...
2051 * sysdeps/powerpc/nptl/tls.h: ... here.
2053 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2056 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2057 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2058 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2059 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2060 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2061 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2062 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2063 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2064 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2066 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2068 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2070 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2072 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2075 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2078 2014-06-16 Florian Weimer <fweimer@redhat.com>
2081 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2082 non-executed part of the test.
2084 2014-06-16 Andreas Schwab <schwab@suse.de>
2086 * string/bits/string2.h (strdup, strndup): Update feature guard.
2088 2014-06-14 David S. Miller <davem@davemloft.net>
2090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2092 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2094 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2095 that was previously under [RESET_PID].
2096 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2098 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2099 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2100 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2101 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2102 (__libc_vfork): New strong alias.
2103 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2105 2014-06-14 Andi Kleen <ak@linux.intel.com>
2107 * sysdeps/generic/elide.h: New file.
2109 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2111 * Makefile (installed-headers): Adjust path of pthread.h header.
2113 2014-06-13 Roland McGrath <roland@hack.frob.com>
2115 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2116 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2117 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2118 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2120 * nptl/sysdeps/s390/Makefile: Moved ...
2121 * sysdeps/s390/nptl/Makefile: ... here.
2122 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2123 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2124 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2125 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2126 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2127 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2128 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2129 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2130 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2131 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2132 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2133 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2134 * nptl/sysdeps/s390/tls.h: Moved ...
2135 * sysdeps/s390/nptl/tls.h: ... here.
2137 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2138 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2140 2014-06-13 David S. Miller <davem@davemloft.net>
2142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2145 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2149 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2150 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2151 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2152 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2153 Remove RESET_PID cpp guards.
2154 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2155 Remove RESET_PID cpp guards.
2156 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2158 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2160 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2163 2014-06-13 Andi Kleen <ak@linux.intel.com>
2165 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2166 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2167 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2168 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2169 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2170 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2171 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2172 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2173 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2174 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2175 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2176 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2177 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2178 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2179 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2180 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2181 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2182 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2183 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2184 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2186 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2187 (pthread_rwlock_rdlock): Add elision.
2188 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2189 (pthread_rwlock_wrlock): Add elision.
2190 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2191 (pthread_rwlock_trywrlock): Add elision.
2192 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2193 (pthread_rwlock_tryrdlock): Add elision.
2194 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2195 (pthread_rwlock_tryrdlock): Add elision unlock.
2196 * nptl/sysdeps/pthread/pthread.h:
2197 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2198 (PTHREAD_RWLOCK_INITIALIZER,
2199 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2200 Handle new elision field.
2201 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2202 * sysdeps/arm/nptl/bits/pthreadtypes.h
2203 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2204 * sysdeps/sh/nptl/bits/pthreadtypes.h
2205 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2206 * sysdeps/tile/nptl/bits/pthreadtypes.h
2207 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2208 * sysdeps/a/nptl/bits/pthreadtypes.h
2209 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2210 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2211 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2212 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2213 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2214 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2215 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2216 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2217 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2218 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2219 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2220 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2221 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2222 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2223 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2224 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2225 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2226 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2227 (elision_init): Set try_xbegin to zero when no RTM.
2228 * sysdeps/x86/nptl/bits/pthreadtypes.h
2229 (pthread_rwlock_t): Change __pad1 to __rwelision.
2230 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2232 2014-06-13 Andi Kleen <ak@linux.intel.com>
2234 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2235 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2236 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2237 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2239 2014-06-13 Meador Inge <meadori@codesourcery.com>
2242 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2243 that the cached result has been set before returning it.
2245 2014-06-12 Roland McGrath <roland@hack.frob.com>
2247 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2248 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2249 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2250 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2251 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2252 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2254 * nptl/sysdeps/sparc/Makefile: Moved ...
2255 * sysdeps/sparc/nptl/Makefile: ... here.
2256 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2257 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2258 * nptl/sysdeps/sparc/tls.h: Moved ...
2259 * sysdeps/sparc/nptl/tls.h: ... here.
2260 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2261 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2262 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2263 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2264 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2265 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2266 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2267 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2268 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2269 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2270 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2271 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2272 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2273 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2274 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2275 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2276 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2277 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2279 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2280 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2282 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2283 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2285 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2286 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2289 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2291 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2292 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2294 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2295 (struct list_links): Type removed.
2296 (struct thread_node, struct timer_node): Replace struct list_links
2297 with struct list_head.
2298 (list_unlink_ip): Likewise.
2299 * sysdeps/pthread/timer_routines.c
2300 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2301 (list_append, list_insbefore): Likewise.
2302 (list_init): Function removed.
2303 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2304 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2305 * sysdeps/pthread/Makefile: ... here, new file.
2307 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2308 * sysdeps/nptl/Implies: ... here.
2309 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2310 * nptl/sysdeps/pthread/list.h: Moved ...
2311 * include/list.h: ... here.
2312 * nptl/sysdeps/pthread/createthread.c: Moved ...
2313 * nptl/createthread.c: ... here.
2314 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2315 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2316 * nptl/pt-longjmp.c: ... here.
2317 * nptl/sysdeps/pthread/Makefile: Moved ...
2318 * sysdeps/nptl/Makefile: ... here.
2319 * nptl/sysdeps/pthread/Subdirs: Moved ...
2320 * sysdeps/nptl/Subdirs: ... here.
2321 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2322 * sysdeps/nptl/aio_misc.h: ... here.
2323 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2324 * sysdeps/nptl/bits/libc-lock.h: ... here.
2325 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2326 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2327 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2328 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2329 * nptl/sysdeps/pthread/configure: Moved ...
2330 * sysdeps/nptl/configure: ... here.
2331 * nptl/sysdeps/pthread/configure.ac: Moved ...
2332 * sysdeps/nptl/configure.ac: ... here.
2333 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2334 * sysdeps/nptl/gai_misc.h: ... here.
2335 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2336 * sysdeps/nptl/librt-cancellation.c: ... here.
2337 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2338 * sysdeps/nptl/malloc-machine.h: ... here.
2339 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2340 * sysdeps/nptl/pthread-functions.h: ... here.
2341 * nptl/sysdeps/pthread/pthread.h: Moved ...
2342 * sysdeps/nptl/pthread.h: ... here.
2343 * nptl/sysdeps/pthread/setxid.h: Moved ...
2344 * sysdeps/nptl/setxid.h: ... here.
2345 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2346 * sysdeps/nptl/sigfillset.c: ... here.
2347 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2348 * sysdeps/nptl/tcb-offsets.h: ... here.
2349 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2350 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2351 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2352 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2353 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2354 * sysdeps/pthread/allocalim.h: ... here.
2355 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2356 * sysdeps/pthread/bits/sigthread.h: ... here.
2357 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2358 * sysdeps/pthread/flockfile.c: ... here.
2359 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2360 * sysdeps/pthread/ftrylockfile.c: ... here.
2361 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2362 * sysdeps/pthread/funlockfile.c: ... here.
2363 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2364 * sysdeps/pthread/posix-timer.h: ... here.
2365 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2366 * sysdeps/pthread/timer_create.c: ... here.
2367 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2368 * sysdeps/pthread/timer_delete.c: ... here.
2369 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2370 * sysdeps/pthread/timer_getoverr.c: ... here.
2371 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2372 * sysdeps/pthread/timer_gettime.c: ... here.
2373 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2374 * sysdeps/pthread/timer_routines.c: ... here.
2375 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2376 * sysdeps/pthread/timer_settime.c: ... here.
2377 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2378 * sysdeps/pthread/tst-timer.c: ... here.
2379 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2380 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2382 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2383 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2385 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2386 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2387 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2388 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2389 Update #include target.
2390 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2391 * sysdeps/i386/i686/nptl/Makefile: ... here.
2392 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2393 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2394 Update #include target.
2395 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2396 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2397 * nptl/sysdeps/i386/Makefile: Moved ...
2398 * sysdeps/i386/nptl/Makefile: ... here.
2399 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2400 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2401 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2402 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2403 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2404 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2405 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2406 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2407 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2408 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2409 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2410 * nptl/sysdeps/i386/tls.h: Moved ...
2411 * sysdeps/i386/nptl/tls.h: ... here.
2413 * sysdeps/sh/Makefile [$(subdir) = csu]
2414 (gen-as-const-headers): Add tcb-offsets.sym.
2415 * nptl/sysdeps/sh/Makefile: File removed.
2416 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2417 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2418 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2419 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2420 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2421 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2422 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2423 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2424 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2425 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2426 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2427 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2428 * nptl/sysdeps/sh/tls.h: Moved ...
2429 * sysdeps/sh/nptl/tls.h: ... here.
2430 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2431 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2432 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2433 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2435 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2437 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2439 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2441 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2443 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2444 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2445 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2446 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2447 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2448 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2449 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2450 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2451 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2452 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2453 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2454 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2456 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2457 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2459 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2460 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2461 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2462 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2463 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2464 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2465 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2466 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2467 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2469 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2470 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2471 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2472 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2473 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2475 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2476 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2477 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2479 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2481 * posix/spawn_faction_addopen.c: Include string.h.
2483 2014-06-11 Roland McGrath <roland@hack.frob.com>
2485 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2486 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2487 * nptl/sysdeps/x86_64/Makefile: Moved ...
2488 * sysdeps/x86_64/nptl/Makefile: ... here.
2489 * nptl/sysdeps/x86_64/configure: Moved ...
2490 * sysdeps/x86_64/nptl/configure: ... here.
2491 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2492 * sysdeps/x86_64/nptl/configure.ac: ... here.
2493 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2494 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2495 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2496 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2497 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2498 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2499 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2500 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2501 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2502 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2503 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2504 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2505 * nptl/sysdeps/x86_64/tls.h: Moved ...
2506 * sysdeps/x86_64/nptl/tls.h: ... here.
2507 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2508 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2509 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2510 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2512 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2514 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2518 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2520 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2522 [POSIX] (off_t): Likewise.
2523 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2524 [POSIX] (S_ISBLK): Require macro.
2525 [POSIX] (S_ISCHR): Likewise.
2526 [POSIX] (S_ISDIR): Likewise.
2527 [POSIX] (S_ISFIFO): Likewise.
2528 [POSIX] (S_ISREG): Likewise.
2529 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2531 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2533 [POSIX] (time_t): Likewise.
2534 [POSIX] (timer_t): Likewise.
2536 2014-06-11 Florian Weimer <fweimer@redhat.com>
2539 * posix/spawn_int.h (struct __spawn_action): Make the path string
2540 non-const to support deallocation.
2541 * posix/spawn_faction_addopen.c
2542 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2543 * posix/spawn_faction_destroy.c
2544 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2545 path in all spawn_do_open actions.
2546 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2547 posix_spawn_file_actions_addopen.
2549 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2551 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2552 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2553 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2554 conditional code always true.
2555 (__libc_vfork): New alias.
2557 2014-06-11 Roland McGrath <roland@hack.frob.com>
2559 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2560 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2562 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2564 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2565 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2567 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2568 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2570 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2571 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2573 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2575 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2576 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2577 multiarch strcmp for PPC64.
2578 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2579 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2581 multiarch optimizations.
2582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2583 (__libc_ifunc_impl_list): Likewise.
2585 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2587 * benchtests/scripts/validate_benchout.py: New script.
2588 * benchtests/Makefile (bench-func): Call it.
2589 * benchtests/scripts/benchout.schema.json: New file.
2591 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2593 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2594 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2595 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2596 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2597 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2598 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2599 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2600 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2601 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2602 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2603 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2604 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2605 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2606 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2607 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2608 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2712 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2713 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2714 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2715 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2716 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2718 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2720 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2721 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2722 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2723 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2724 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2725 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2726 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2727 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2728 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2729 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2730 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2731 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2732 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2734 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2735 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2737 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2738 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2739 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2740 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2742 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2743 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2744 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2745 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2746 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2747 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2748 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2750 2014-06-10 Wilco <wdijkstr@arm.com>
2752 * math/test-fenv-return.c: New file.
2753 * math/Makefile: Add new test test-fenv-return.
2755 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2758 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2760 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2761 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2762 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2763 0.0L for an argument of 1.0L.
2764 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2766 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2767 value when x - 1 is zero.
2768 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2769 * sysdeps/i386/fpu/libm-test-ulps: Update.
2770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2772 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2775 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2777 2014-06-09 Roland McGrath <roland@hack.frob.com>
2779 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2780 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2782 2014-06-09 Roland McGrath <roland@hack.frob.com>
2784 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2785 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2787 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2788 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2790 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2791 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2793 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2794 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2796 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2797 if not already defined.
2798 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2799 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2800 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2801 (TLS_INIT_TP): Use it.
2802 (TLS_DEFINE_INIT_TP): New macro.
2803 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2805 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2807 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2809 [POSIX] (IXANY): Likewise.
2810 [POSIX] (OLCUC): Likewise.
2811 [POSIX || POSIX2008] (CBAUD): Do not allow.
2812 [POSIX || POSIX2008] (DEFECHO): Likewise.
2813 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2814 [POSIX || POSIX2008] (ECHOKE): Likewise.
2815 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2816 [POSIX || POSIX2008] (EXTA): Likewise.
2817 [POSIX || POSIX2008] (EXTB): Likewise.
2818 [POSIX || POSIX2008] (FLUSHO): Likewise.
2819 [POSIX || POSIX2008] (LOBLK): Likewise.
2820 [POSIX || POSIX2008] (PENDIN): Likewise.
2821 [POSIX || POSIX2008] (SWTCH): Likewise.
2822 [POSIX || POSIX2008] (VDISCARD): Likewise.
2823 [POSIX || POSIX2008] (VDSUSP): Likewise.
2824 [POSIX || POSIX2008] (VLNEXT): Likewise.
2825 [POSIX || POSIX2008] (VREPRINT): Likewise.
2826 [POSIX || POSIX2008] (VSTATUS): Likewise.
2827 [POSIX || POSIX2008] (VWERASE): Likewise.
2828 (B*): Change to B[0123456789]*.
2829 * conform/data/time.h-data [POSIX || UNIX98]
2830 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2831 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2832 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2833 [POSIX] (tm_*): Do not allow.
2835 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2837 * Makefile (install): Don't set LANGUAGE.
2838 * Makefile.in (install): Likewise.
2839 * assert/Makefile (test-assert-ENV): Remove variable.
2840 (test-assert-perr-ENV): Likewise.
2841 * elf/Makefile (neededtest4-ENV): Likewise.
2842 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2843 [$(cross-compiling) = no]: Don't set LANGUAGE.
2844 * io/ftwtest-sh (LANG): Remove variable.
2845 * libio/Makefile (tst-widetext-ENV): Likewise.
2846 * manual/install.texi (Running make install): Don't refer to
2847 environment settings for make install.
2848 * INSTALL: Regenerated.
2849 * nptl/tst-tls6.sh: Don't set LANG.
2850 * posix/globtest.sh (LANG): Remove variable.
2851 * string/Makefile (tester-ENV): Likewise.
2852 (inl-tester-ENV): Likewise.
2853 (noinl-tester-ENV): Likewise.
2854 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2855 [$(cross-compiling) = no]: Don't set LANGUAGE.
2856 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2857 without explicit environment settings.
2859 2014-06-06 Roland McGrath <roland@hack.frob.com>
2861 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2862 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2863 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2864 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2866 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2868 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2869 other files in the crypt directory.
2870 * crypt/crypt.c: Remove duplicate includes.
2871 * crypt/crypt-entry.c: Likewise.
2872 * crypt/crypt_util.c: Likewise.
2874 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2876 * Makeconfig (run-program-env): New variable.
2877 (run-program-prefix-before-env): Likewise.
2878 (run-program-prefix-after-env): Likewise.
2879 (run-program-prefix): Define in terms of new variables.
2880 (built-program-cmd-before-env): New variable.
2881 (built-program-cmd-after-env): Likewise.
2882 (built-program-cmd): Define in terms of new variables.
2883 (test-program-prefix-before-env): New variable.
2884 (test-program-prefix-after-env): Likewise.
2885 (test-program-prefix): Define in terms of new variables.
2886 (test-program-cmd-before-env): New variable.
2887 (test-program-cmd-after-env): Likewise.
2888 (test-program-cmd): Define in terms of new variables.
2889 * Rules (make-test-out): Use $(run-program-env).
2890 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2891 (help): Do not mention environment variables. Mention
2892 --timeoutfactor option.
2893 (timeoutfactor): New variable.
2894 (blacklist_exports): Remove function.
2895 (exports): Remove variable.
2896 (command): Do not include ${exports}.
2897 * manual/install.texi (Configuring and compiling): Do not mention
2898 test wrappers preserving environment variables. Mention that last
2899 assignment to a variable must take precedence.
2900 * INSTALL: Regenerated.
2901 * benchtests/Makefile (run-bench): Use $(run-program-env).
2902 * catgets/Makefile ($(objpfx)test1.cat): Use
2903 $(built-program-cmd-before-env), $(run-program-env) and
2904 $(built-program-cmd-after-env).
2905 ($(objpfx)test2.cat): Do not specify environment variables
2907 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2908 $(run-program-env) and $(built-program-cmd-after-env).
2909 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2910 $(run-program-env) and $(test-program-cmd-after-env).
2911 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2913 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2914 run_program_env and test_program_cmd_after_env arguments.
2915 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2916 * elf/tst-pathopt.sh: Use run_program_env argument.
2917 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2918 $(test-wrapper-env) and $(run-program-env).
2919 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2920 run_program_env arguments.
2921 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2922 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2923 $(test-program-prefix-before-env), $(run-program-env) and
2924 $(test-program-prefix-after-env).
2925 ($(objpfx)tst-gettext2.out): Likewise.
2926 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2927 run_program_env and test_program_prefix_after_env arguments.
2928 * intl/tst-gettext2.sh: Likewise.
2929 * intl/tst-gettext4.sh: Do not set environment variables
2931 * intl/tst-gettext6.sh: Likewise.
2932 * intl/tst-translit.sh: Likewise.
2933 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2934 $(test-program-prefix-before-env), $(run-program-env) and
2935 $(test-program-prefix-after-env).
2936 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2937 run_program_env and test_program_prefix_after_env arguments.
2938 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2939 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2940 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2941 explicitly with each use of ${test_wrapper_env}.
2942 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2943 $(test-program-prefix-before-env), $(run-program-env) and
2944 $(test-program-prefix-after-env).
2945 * posix/tst-getconf.sh: Do not set environment variables
2947 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2948 run_program_env and test_program_prefix_after_env arguments.
2949 * stdio-common/tst-printf.sh: Do not set environment variables
2951 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2952 $(test-program-prefix-before-env), $(run-program-env) and
2953 $(test-program-prefix-after-env).
2954 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2955 run_program_env and test_program_prefix_after_env arguments.
2956 Split $test calls into $test_pre and $test.
2957 * timezone/Makefile (build-testdata): Use
2958 $(built-program-cmd-before-env), $(run-program-env) and
2959 $(built-program-cmd-after-env).
2961 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2963 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2964 strlen for non SHARED builds.
2966 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2968 * nptl/allocatestack.c (check_list): Inlined function...
2969 (__reclaim_stacks): ... here.
2971 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2974 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2977 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2979 * Rules (make-test-out): Include
2980 LOCPATH=$(common-objpfx)localedata in default environment.
2981 * debug/Makefile (tst-chk1-ENV): Remove variable.
2982 (tst-chk2-ENV): Likewise.
2983 (tst-chk3-ENV): Likewise.
2984 (tst-chk4-ENV): Likewise.
2985 (tst-chk5-ENV): Likewise.
2986 (tst-chk6-ENV): Likewise.
2987 (tst-lfschk1-ENV): Likewise.
2988 (tst-lfschk2-ENV): Likewise.
2989 (tst-lfschk3-ENV): Likewise.
2990 (tst-lfschk4-ENV): Likewise.
2991 (tst-lfschk5-ENV): Likewise.
2992 (tst-lfschk6-ENV): Likewise.
2993 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2994 (tst-iconv7-ENV): Likewise.
2995 * intl/Makefile (LOCPATH-ENV): Likewise.
2996 (tst-codeset-ENV): Likewise.
2997 (tst-gettext3-ENV): Likewise.
2998 (tst-gettext5-ENV): Likewise.
2999 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3000 (tst-fopenloc-ENV): Likewise.
3001 (tst-fgetws-ENV): Remove variable.
3002 (tst-ungetwc1-ENV): Likewise.
3003 (tst-ungetwc2-ENV): Likewise.
3004 (bug-ungetwc2-ENV): Likewise.
3005 (tst-swscanf-ENV): Likewise.
3006 (bug-ftell-ENV): Likewise.
3007 (tst-fgetwc-ENV): Likewise.
3008 (tst-fseek-ENV): Likewise.
3009 (tst-ftell-partial-wide-ENV): Likewise.
3010 (tst-ftell-active-handler-ENV): Likewise.
3011 (tst-ftell-append-ENV): Likewise.
3012 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3013 (tst-regexloc-ENV): Likewise.
3014 (bug-regex1-ENV): Likewise.
3015 (tst-regex-ENV): Likewise.
3016 (tst-regex2-ENV): Likewise.
3017 (bug-regex5-ENV): Likewise.
3018 (bug-regex6-ENV): Likewise.
3019 (bug-regex17-ENV): Likewise.
3020 (bug-regex18-ENV): Likewise.
3021 (bug-regex19-ENV): Likewise.
3022 (bug-regex20-ENV): Likewise.
3023 (bug-regex22-ENV): Likewise.
3024 (bug-regex23-ENV): Likewise.
3025 (bug-regex25-ENV): Likewise.
3026 (bug-regex26-ENV): Likewise.
3027 (bug-regex30-ENV): Likewise.
3028 (bug-regex32-ENV): Likewise.
3029 (bug-regex33-ENV): Likewise.
3030 (bug-regex34-ENV): Likewise.
3031 (bug-regex35-ENV): Likewise.
3032 (tst-rxspencer-ENV): Likewise.
3033 (tst-rxspencer-no-utf8-ENV): Likewise.
3034 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3035 (tst-sscanf-ENV): Likewise.
3036 (tst-swprintf-ENV): Likewise.
3037 (tst-swscanf-ENV): Likewise.
3038 (test-vfprintf-ENV): Likewise.
3039 (scanf13-ENV): Likewise.
3040 (bug14-ENV): Likewise.
3041 (tst-grouping-ENV): Likewise.
3042 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3043 (tst-strtod3-ENV): Likewise.
3044 (tst-strtod4-ENV): Likewise.
3045 (tst-strtod5-ENV): Likewise.
3046 (testmb2-ENV): Likewise./
3047 * string/Makefile (tst-strxfrm-ENV): Likewise.
3048 (tst-strxfrm2-ENV): Likewise.
3049 (bug-strcoll1-ENV): Likewise.
3050 (test-strcasecmp-ENV): Likewise.
3051 (test-strncasecmp-ENV): Likewise.
3052 * time/Makefile (tst-strptime-ENV): Likewise.
3053 (tst-ftime_l-ENV): Likewise.
3054 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3055 (tst-mbrtowc-ENV): Likewise.
3056 (tst-wcrtomb-ENV): Likewise.
3057 (tst-mbrtowc2-ENV): Likewise.
3058 (tst-c16c32-1-ENV): Likewise.
3059 (tst-mbsnrtowcs-ENV): Likewise.
3061 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3063 * manual/resource.texi (How to get information about the memory
3064 subsystem?): Fix typo.
3065 Reported by Peon de la Parra Ivan <peon@keba.com>
3067 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3070 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3071 (pthread_spin_lock): Branch out of spin loop to proper location.
3072 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3073 (pthread_spin_lock): Likewise.
3075 * nptl/tst-spin4.c: New test.
3076 * nptl/Makefile (tests): Add tst-spin4.
3078 2014-06-03 Andreas Schwab <schwab@suse.de>
3081 * resolv/res_send.c (send_dg): Reload file descriptor after
3084 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3086 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3088 2014-06-03 Richard Henderson <rth@redhat.com>
3090 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3091 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3092 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3093 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3094 in the SAVE_PID block.
3095 (__libc_vfork): New alias.
3096 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3098 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3099 child in registers, not on the stack. Remove RESET_PID conditionals.
3100 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3102 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3104 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3106 2014-06-03 Wilco <wdijkstr@arm.com>
3108 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3109 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3110 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3111 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3112 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3115 2014-06-03 Wilco <wdijkstr@arm.com>
3117 * sysdeps/aarch64/fpu/math_private.h
3118 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3119 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3120 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3121 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3124 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3126 * crypt/crypt-private.h: Include ufc-crypt.h.
3127 (__b64_from_24bit): Declare extern.
3128 * crypt/crypt_util.c(__b64_from_24bit): New function.
3129 (b64t): New static const variable.
3130 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3131 (b64t): Remove variable.
3132 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3133 * crypt/sha256-crypt.c: Include crypt-private.h.
3134 (b64t): Remove variable.
3135 (__sha256_crypt_r): Remove b64_from_24bit and replace
3136 with __b64_from_24bit.
3137 * crypt/sha512-crypt.c: Likewise.
3139 2014-06-02 Roland McGrath <roland@hack.frob.com>
3141 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3142 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3143 Label the code __libc_vfork rather than __vfork.
3144 [!NOT_IN_libc] (vfork): Define as weak alias.
3145 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3146 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3147 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3149 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3151 * malloc/malloc.c (malloc_info): Fix format specifier for
3154 2014-06-02 Wilco <wdijkstr@arm.com>
3156 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3159 2014-06-02 Wilco <wdijkstr@arm.com>
3162 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3163 Rewrite to reduce FPCR/FPSR accesses.
3165 2014-06-01 David S. Miller <davem@davemloft.net>
3167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3169 2014-05-31 David S. Miller <davem@davemloft.net>
3171 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3172 to occur in round to nearest mode when |x| >= 2.0
3174 2014-05-30 Richard Henderson <rth@twiddle.net>
3176 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3177 (PSEUDO_RET_NOERRNO): Remove.
3178 (ret): Don't redefine.
3179 (ret_NOERRNO): Define in terms of ret.
3180 (ret_ERRVAL): Likewise.
3182 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3183 use of PSEUDO_RET; perform the error check directly.
3185 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3187 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3190 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3192 * malloc/malloc (malloc_info): Fix formatting.
3194 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3195 Roland McGrath <roland@hack.frob.com>
3197 * malloc/malloc (malloc_info): Also print mmapped statistics.
3199 2014-05-30 Roland McGrath <roland@hack.frob.com>
3201 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3202 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3204 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3206 * malloc/malloc.c (malloc_info): Inline mi_arena.
3208 2014-05-29 Richard Henderson <rth@twiddle.net>
3210 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3211 Remove comma before expanding ASM_ARGS_##nr.
3212 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3213 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3215 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3216 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3217 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3218 (ASM_ARGS_1): Add leading comma.
3220 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3221 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3222 to __errno_location.
3223 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3224 Remove the expected plt for __errno_location.
3226 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3227 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3230 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3231 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3232 it and break it down.
3233 (DOCARGS_0, DOCARGS_1): Do nothing.
3234 (DOCARGS_2): Update to store into the new stack frame.
3235 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3236 (UNDOCARGS_1): Update to restore from the new stack frame.
3237 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3238 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3240 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3241 (SINGLE_THREAD_P): New parameter for result regno.
3242 (PSEUDO): Update to match; use cbz instead of beq.
3244 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3245 Use ENTRY to define the _nocancel entry point. Share the syscall
3246 and syscall error check paths with the cancel path.
3249 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3250 whitespace; tabs before and after asm mnemonics.
3252 2014-05-29 Eric Wong <normalperson@yhbt.net>
3255 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3256 Call fstat64 or stat64 internally, depending on arguments passed.
3257 Replace stat buffer argument with file descriptor argument.
3258 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3259 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3260 Pass fd to __internal_statvfs instead of calling fstat64.
3261 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3262 Pass fd to __internal_statvfs64 instead of calling fstat64.
3263 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3264 Pass -1 to __internal_statvfs instead of calling stat64.
3265 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3266 Pass -1 to __internal_statvfs64 instead of calling stat64.
3268 2014-05-28 Roland McGrath <roland@hack.frob.com>
3270 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3271 that was previously under [RESET_PID].
3272 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3274 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3275 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3277 2014-05-27 Roland McGrath <roland@hack.frob.com>
3279 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3281 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3282 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3284 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3286 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3288 2014-05-27 Andreas Schwab <schwab@suse.de>
3290 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3292 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3293 * elf/rtld.c (init_tls, dl_main): Likewise.
3294 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3295 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3296 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3297 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3298 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3299 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3300 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3301 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3302 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3303 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3304 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3305 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3306 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3307 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3308 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3309 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3310 * sysdeps/generic/tls.h: Update description.
3312 2014-05-27 Will Newton <will.newton@linaro.org>
3315 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3316 and restore r2 rather than just restoring.
3318 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3321 * libio/tst-ftell-append.c: New test case.
3322 * libio/Makefile (tests): Add test case.
3323 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3325 * libio/wfileops.c (do_ftell_wide): Likewise.
3327 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3331 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3335 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3336 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3337 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3338 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3339 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3340 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3341 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3344 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3347 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3348 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3349 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3350 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3351 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3353 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3354 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3356 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3358 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3360 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3361 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3362 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3364 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3365 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3366 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3367 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3369 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3372 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3375 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3378 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3385 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3390 conditional [RESET_PID].
3391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3392 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3394 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3399 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3400 (__libc_vfork): New strong alias.
3401 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3403 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3408 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3409 (__libc_vfork): New strong alias.
3410 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3412 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3415 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3417 * malloc/malloc.c (mi_arena): New function.
3418 (malloc_info): Remove nested function mi_arena. Call non-nosted
3421 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3423 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3425 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3426 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3427 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3428 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3429 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3430 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3431 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3433 2014-05-26 Andreas Schwab <schwab@suse.de>
3436 * locale/programs/repertoire.c (repertoire_read): Add slash
3437 between I18NPATH element and file name.
3438 * locale/programs/locfile.c (locfile_read): Likewise.
3440 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3442 * nptl/pthread_mutexattr_settype.c
3443 (__pthread_mutexattr_settype):
3444 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3446 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3448 * nptl/tst-mutex5 (do_test):
3449 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3451 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3453 * benchtests/README: Document 'init' directive.
3454 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3456 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3457 (parse_file): Recognize 'init' directive.
3459 2014-05-26 Kyle McMartin <kyle@redhat.com>
3462 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3463 alignment of struct pthread.
3465 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3468 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3469 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3470 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3471 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3473 2014-05-25 Richard Henderson <rth@twiddle.net>
3475 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3476 (SINGLE_THREAD_P_PIC): Remove.
3477 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3478 (SINGLE_THREAD_P_PIC): Remove.
3480 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3481 branch to syscall error ...
3483 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3484 from __local_syscall_error to .Lsyscall_error.
3485 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3486 (SYSCALL_ERROR): Update label name.
3488 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3489 Do not use DOARGS/UNDOARGS.
3490 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3491 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3492 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3493 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3494 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3496 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3499 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3500 define if !NOT_IN_libc.
3501 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3502 define with non-default symbol versions.
3504 2014-05-23 Richard Henderson <rth@twiddle.net>
3506 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3507 (vfork, __vfork): Define via compat_symbol.
3509 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3510 [!HAVE_IFUNC] (vfork_compat): Remove.
3511 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3513 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3516 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3517 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3520 2014-05-23 Richard Henderson <rth@twiddle.net>
3522 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3523 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3524 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3525 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3527 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3528 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3529 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3530 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3531 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3532 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3533 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3534 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3535 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3536 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3537 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3538 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3539 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3540 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3541 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3542 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3543 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3544 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3545 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3546 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3547 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3548 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3549 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3550 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3551 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3552 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3553 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3554 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3555 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3556 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3557 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3558 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3559 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3560 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3561 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3562 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3563 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3564 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3565 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3566 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3567 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3568 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3569 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3570 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3571 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3572 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3573 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3574 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3575 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3576 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3577 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3578 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3579 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3580 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3581 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3582 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3584 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3585 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3586 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3587 before exiting on error.
3588 (__libc_vfork): New strong alias.
3589 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3590 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3592 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3593 that was previously under [RESET_PID].
3594 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3596 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3598 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3601 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3602 value when x - 1 is zero.
3603 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3604 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3605 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3606 0.0L for an argument of 1.0L.
3607 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3609 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3610 value when x - 1 is zero.
3611 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3612 * sysdeps/i386/fpu/libm-test-ulps: Update.
3613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3615 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3617 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3618 alphasort and versionsort.
3620 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3622 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3624 [copysignf]: Likewise.
3626 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3628 * crypt/md5-crypt.c: Fix formatting.
3630 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3632 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3633 (b64_from_24bit): New function.
3635 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3637 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3638 libc_hidden_builtin_def to ifunc.
3639 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3640 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3642 2014-05-21 Roland McGrath <roland@hack.frob.com>
3644 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3645 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3647 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3649 * nscd/Depend (linuxthreads): Remove.
3651 * resolv/Depend (linuxthreads): Remove.
3652 * rt/Depend (linuxthreads): Remove.
3654 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3655 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3656 $(common-objpfx)elf/.
3657 (link-libc-before-gnulib): Likewise.
3658 (elfobjdir): Remove variable.
3659 * Makefile (install): Use $(elf-objpfx) instead of
3660 $(common-objpfx)elf/.
3661 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3663 (link-libc-deps): Likewise.
3664 ($(common-objpfx)libc.so): Likewise.
3665 ($(common-objpfx)linkobj/libc.so): Likewise.
3666 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3667 instead of $(common-objpfx)elf/.
3668 (symbolic-link-list): Likewise.
3669 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3670 [$(cross-compiling) = no]: Likewise.
3671 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3673 (static-gnulib-arch): Likewise.
3674 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3675 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3676 $(common-objpfx)elf/.
3678 2014-05-21 Richard Henderson <rth@redhat.com>
3680 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3681 (SINGLE_THREAD_P): Use the correct width load. Fold
3682 into the ldr offset.
3684 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3685 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3687 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3689 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3690 (libgcc_s_resume): Use __attribute_used__.
3691 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3694 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3696 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3697 optimization when used with float constants.
3699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3701 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3704 * locale/nl_langinfo_l.c: Make direct reference to every
3705 _nl_current_CATEGORY symbol.
3706 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3707 (tests-static): Add tst-langinfo-static.
3708 (tests-special): Add tst-langinfo-static.out.
3709 ($(objpfx)tst-langinfo.out): Redirect output.
3710 ($(objpfx)tst-langinfo-static.out): New.
3711 * localedata/tst-langinfo.sh: Send output to stdout.
3712 * localedata/tst-langinfo-static.c: New file.
3715 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3716 when the shift amount is modulo the limb size.
3718 2014-05-20 Richard Henderson <rth@redhat.com>
3721 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3722 Change type of sa_flags from unsigned int to int.
3725 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3727 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3729 2014-05-20 Will Newton <will.newton@linaro.org>
3731 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3732 Test the return value of the system call in the nocancel case.
3734 2014-05-20 Will Newton <will.newton@linaro.org>
3735 Yvan Roux <yvan.roux@linaro.org>
3737 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3738 #include of asm/ptrace.h.
3739 (PTRACE_GET_THREAD_AREA): Remove #undef.
3740 (PTRACE_GETHBPREGS): Likewise.
3741 (PTRACE_SETHBPREGS): Likewise.
3742 (struct user_regs_struct): New structure.
3743 (struct user_fpsimd_struct): New structure.
3744 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3745 #include of asm/ptrace.h and second #include of sys/user.h.
3746 (PTRACE_GET_THREAD_AREA): Remove #undef.
3747 (PTRACE_GETHBPREGS): Likewise.
3748 (PTRACE_SETHBPREGS): Likewise.
3749 (ELF_NGREG): Use new struct user_regs_struct.
3750 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3752 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3754 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3755 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3757 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3760 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3761 membar to avoid block loads/stores to overlap previous stores.
3763 2014-05-17 Richard Henderson <rth@redhat.com>
3765 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3766 Create the __##syscall_name##_nocancel entry point.
3767 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3768 Remove; let the sysdep-cancel.h code create it.
3770 2014-05-17 David S. Miller <davem@davemloft.net>
3772 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3773 Protect with __USE_GNU.
3774 (TIOCSET_TEMPT): Likewise.
3775 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3776 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3777 these are already provided in bits/ioctl-types.h
3779 2014-05-16 Roland McGrath <roland@hack.frob.com>
3781 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3782 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3784 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3785 Use wait4 regardless of [__NR_waitpid].
3787 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3790 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3791 (_FP_NANSIGN_Q): Set the quiet bit.
3793 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3795 * benchtests/Makefile
3796 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3797 not $(common-objpfx)math/libm.so.
3798 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3799 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3800 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3801 $(common-objpfx)dlfcn/libdl.so.
3802 ($(objpfx)tst-audit8): Depend on $(libm), not
3803 $(common-objpfx)math/libm.so.
3804 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3805 not $(common-objpfx)dlfcn/libdl.so.
3807 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3808 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3809 [$(build-shared) = yes].
3810 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3811 $(common-objpfx)nptl/libpthread.so.
3812 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3813 $(common-objpfx)math/libm.so$(libm.so-version) or
3814 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3815 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3816 $(common-objpfx)dlfcn/libdl.so.
3817 * setjmp/Makefile (link-libm): Remove variable.
3818 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3819 * stdio-common/Makefile (link-libm): Remove variable.
3820 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3821 * stdlib/Makefile (link-libm): Remove variable.
3822 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3823 ($(objpfx)tst-strtod-round): Likewise.
3824 ($(objpfx)tst-tininess): Likewise.
3825 ($(objpfx)tst-strtod-underflow): Likewise.
3826 ($(objpfx)tst-strtod6): Likewise.
3827 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3828 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3829 $(common-objpfx)dlfcn/libdl.so.
3831 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3833 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3834 BSD terminal modes definitions.
3836 2014-05-16 Roland McGrath <roland@hack.frob.com>
3838 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3839 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3841 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3842 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3843 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3844 Don't do #include_next.
3845 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3846 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3847 Don't do #include_next.
3848 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3849 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3850 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3851 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3853 2014-05-16 Allan McRae <allan@archlinux.org>
3855 * po/sv.po: Update Swedish translation from translation project.
3857 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3860 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3863 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3864 errno if the TIOCGPTN ioctl fails with an error different than
3866 * login/tst-ptsname.c: New file.
3867 * login/Makefile (tests): Add tst-ptsname.
3870 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3873 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3877 herrno to return EAI_AGAIN.
3879 2014-05-14 Roland McGrath <roland@hack.frob.com>
3881 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3882 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3883 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3884 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3885 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3886 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3887 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3888 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3889 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3890 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3891 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3892 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3893 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3894 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3895 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3896 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3897 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3898 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3899 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3900 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3901 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3902 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3903 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3904 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3905 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3906 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3907 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3908 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3909 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3910 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3912 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3914 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3917 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3919 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3921 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3923 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3925 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3927 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3929 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3931 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3933 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3935 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3937 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3939 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3941 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3943 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3946 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3948 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3950 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3952 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3954 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3956 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3958 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3960 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3962 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3964 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3967 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3969 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3971 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3972 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3973 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3974 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3975 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3976 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3977 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3978 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3979 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3980 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3981 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3982 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3983 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3984 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3985 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3986 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3987 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3988 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3989 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3990 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3991 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3992 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3993 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3994 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3995 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3996 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3997 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3998 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3999 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4000 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4001 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4003 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4004 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4006 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4007 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4008 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4009 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4010 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4011 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4013 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4014 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4016 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4017 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4019 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4020 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4022 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4023 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4024 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4025 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4027 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4028 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4029 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4030 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4031 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4032 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4033 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4034 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4036 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4037 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4039 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4041 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4042 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4043 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4044 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4045 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4047 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4049 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4051 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4052 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4053 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4054 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4055 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4056 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4058 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4059 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4061 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4062 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4064 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4065 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4067 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4068 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4069 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4070 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4072 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4073 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4074 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4075 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4076 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4077 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4078 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4079 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4081 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4082 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4084 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4086 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4087 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4088 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4089 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4090 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4092 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4094 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4096 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4097 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4098 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4099 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4100 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4101 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4102 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4103 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4104 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4105 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4107 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4108 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4110 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4111 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4113 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4114 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4116 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4117 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4118 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4119 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4120 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4121 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4123 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4124 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4125 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4126 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4127 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4128 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4129 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4130 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4132 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4133 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4135 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4137 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4138 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4139 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4140 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4141 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4143 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4145 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4147 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4148 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4149 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4150 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4151 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4152 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4153 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4154 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4155 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4156 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4157 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4159 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4160 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4162 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4163 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4165 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4166 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4167 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4168 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4169 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4170 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4171 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4172 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4173 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4174 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4175 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4176 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4177 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4178 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4179 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4180 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4181 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4182 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4184 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4185 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4186 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4187 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4189 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4190 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4191 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4192 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4193 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4194 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4195 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4196 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4198 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4199 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4201 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4202 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4203 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4204 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4205 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4206 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4207 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4208 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4209 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4210 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4211 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4212 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4213 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4214 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4215 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4216 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4217 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4219 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4220 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4221 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4222 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4223 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4225 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4226 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4227 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4228 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4229 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4230 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4231 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4232 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4233 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4234 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4236 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4237 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4239 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4240 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4241 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4242 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4243 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4244 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4245 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4246 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4247 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4248 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4249 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4250 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4251 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4252 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4255 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4257 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4263 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4273 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4274 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4275 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4276 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4277 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4278 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4279 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4280 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4281 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4282 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4283 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4284 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4285 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4286 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4287 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4289 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4290 that was previously under [RESET_PID].
4291 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4292 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4293 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4295 * sysdeps/i386/nptl/Implies: New file.
4296 * sysdeps/x86_64/nptl/Implies: New file.
4297 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4298 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4299 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4300 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4302 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4303 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4304 (__libc_vfork): New strong alias.
4305 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4306 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4308 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4309 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4310 (__libc_vfork): New strong alias.
4311 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4312 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4314 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4315 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4316 (__libc_vfork): New strong alias.
4317 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4318 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4319 * nptl/pt-vfork.c: New file.
4320 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4321 (libpthread: GLIBC_2.20): New version set (empty).
4323 2014-05-14 Will Newton <will.newton@linaro.org>
4325 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4328 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4331 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4332 arguments with exponent 65 or above.
4333 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4334 arguments 0x1p113L or above.
4335 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4336 to arguments 0x1p107L or above.
4337 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4338 positive arguments with exponent 65 or above.
4339 * math/auto-libm-test-in: Add more tests of log1p.
4340 * math/auto-libm-test-out: Regenerated.
4343 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4344 non-finite arguments is +0.
4345 * math/s_cacosf.c (__cacosf): Likewise.
4346 * math/s_cacosl.c (__cacosl): Likewise.
4347 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4348 * sysdeps/i386/fpu/libm-test-ulps: Update.
4349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4352 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4354 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4355 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4356 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4357 for explicit high bit of mantissa when testing for argument equal
4359 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4360 * sysdeps/i386/fpu/libm-test-ulps: Update.
4361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4364 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4365 (__erf): Scale by 16 instead of 8 in potentially underflowing
4366 case. Ensure exception if result actually underflows.
4367 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4368 (__erff): Scale by 16 instead of 8 in potentially underflowing
4369 case. Ensure exception if result actually underflows.
4370 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4371 (efx8): Remove variable.
4372 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4373 case. Ensure exception if result actually underflows.
4374 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4375 (efx8): Remove variable.
4376 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4377 case. Ensure exception if result actually underflows.
4378 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4379 (efx8): Remove variable.
4380 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4381 case. Ensure exception if result actually underflows.
4382 * math/auto-libm-test-in: Add more tests of erf.
4383 * math/auto-libm-test-out: Regenerated.
4385 2014-05-14 Andreas Schwab <schwab@suse.de>
4387 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4388 Remove code conditionalized on USE___THREAD.
4390 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4391 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4394 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4396 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4397 Define unconditionally.
4398 (__ASSUME_O_CLOEXEC): Likewise.
4399 (__ASSUME_SOCK_CLOEXEC): Likewise.
4400 (__ASSUME_IN_NONBLOCK): Likewise.
4401 (__ASSUME_PIPE2): Likewise.
4402 (__ASSUME_EVENTFD2): Likewise.
4403 (__ASSUME_SIGNALFD4): Likewise.
4404 (__ASSUME_DUP3): Likewise.
4405 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4406 (__ASSUME_DUP3): Do not define.
4407 (__ASSUME_EVENTFD2): Likewise.
4408 (__ASSUME_IN_NONBLOCK): Likewise.
4409 (__ASSUME_O_CLOEXEC): Likewise.
4410 (__ASSUME_PIPE2): Likewise.
4411 (__ASSUME_SIGNALFD4): Likewise.
4412 (__ASSUME_SOCK_CLOEXEC): Likewise.
4413 (__ASSUME_UTIMES): Undefine.
4414 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4415 (__ASSUME_UTIMES): Do not define.
4416 (__ASSUME_O_CLOEXEC): Likewise.
4417 (__ASSUME_SOCK_CLOEXEC): Likewise.
4418 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4419 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4421 (__ASSUME_PIPE2): Likewise.
4422 (__ASSUME_EVENTFD2): Likewise.
4423 (__ASSUME_SIGNALFD4): Likewise.
4424 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4425 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4427 (__ASSUME_EVENTFD2): Likewise.
4428 (__ASSUME_SIGNALFD4): Likewise.
4429 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4430 (__ASSUME_32BITUIDS): Likewise.
4431 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4432 (__ASSUME_IPC64): Likewise.
4433 (__ASSUME_ST_INO_64_BIT): Likewise.
4434 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4435 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4436 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4437 (__ASSUME_UTIMES): Do not define.
4438 (__ASSUME_PSELECT): Likewise.
4439 (__ASSUME_PPOLL): Likewise.
4440 (__ASSUME_O_CLOEXEC): Likewise.
4441 (__ASSUME_SOCK_CLOEXEC): Likewise.
4442 (__ASSUME_IN_NONBLOCK): Likewise.
4443 (__ASSUME_PIPE2): Likewise.
4444 (__ASSUME_EVENTFD2): Likewise.
4445 (__ASSUME_SIGNALFD4): Likewise.
4446 (__ASSUME_DUP3): Likewise.
4447 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4448 (__ASSUME_UTIMES): Likewise.
4449 (__ASSUME_O_CLOEXEC): Likewise.
4450 (__ASSUME_SOCK_CLOEXEC): Likewise.
4451 (__ASSUME_IN_NONBLOCK): Likewise.
4452 (__ASSUME_PIPE2): Likewise.
4453 (__ASSUME_EVENTFD2): Likewise.
4454 (__ASSUME_SIGNALFD4): Likewise.
4455 (__ASSUME_DUP3): Likewise.
4456 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4457 (__ASSUME_UTIMES): Likewise.
4458 (__ASSUME_O_CLOEXEC): Likewise.
4459 (__ASSUME_SOCK_CLOEXEC): Likewise.
4460 (__ASSUME_IN_NONBLOCK): Likewise.
4461 (__ASSUME_PIPE2): Likewise.
4462 (__ASSUME_EVENTFD2): Likewise.
4463 (__ASSUME_SIGNALFD4): Likewise.
4464 (__ASSUME_DUP3): Likewise.
4465 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4467 (__ASSUME_UTIMES): Likewise.
4468 (__ASSUME_EVENTFD2): Likewise.
4469 (__ASSUME_SIGNALFD4): Likewise.
4470 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4471 (__ASSUME_O_CLOEXEC): Likewise.
4472 (__ASSUME_SOCK_CLOEXEC): Likewise.
4473 (__ASSUME_IN_NONBLOCK): Likewise.
4474 (__ASSUME_PIPE2): Likewise.
4475 (__ASSUME_EVENTFD2): Likewise.
4476 (__ASSUME_SIGNALFD4): Likewise.
4477 (__ASSUME_DUP3): Likewise.
4478 (__ASSUME_UTIMES): Undefine.
4480 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4481 feclearexcept. Remove symbol versioning code.
4482 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4483 symbol versioning code.
4484 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4485 symbol versioning code.
4486 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4487 feupdateenv. Remove symbol versioning code.
4488 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4489 fegetexceptflag. Remove symbol versioning code.
4490 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4491 fesetexceptflag. Remove symbol versioning code.
4492 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4493 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4494 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4495 (__posix_fadvise64_l32): Remove prototype.
4496 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4499 2014-05-13 Roland McGrath <roland@hack.frob.com>
4501 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4502 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4503 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4504 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4506 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4508 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4509 current working directory
4511 2014-05-13 Roland McGrath <roland@hack.frob.com>
4513 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4514 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4515 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4516 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4517 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4518 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4519 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4520 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4522 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4523 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4524 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4525 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4526 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4527 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4528 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4530 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4531 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4532 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4533 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4534 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4535 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4536 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4537 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4538 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4539 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4540 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4541 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4542 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4543 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4544 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4545 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4546 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4547 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4548 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4549 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4550 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4551 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4552 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4553 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4554 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4556 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4557 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4559 * sysdeps/unix/sysv/linux/arm/Makefile
4560 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4561 Add rt-aeabi_unwind_cpp_pr1.
4562 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4563 Add nptl-aeabi_unwind_cpp_pr1.
4564 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4565 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4566 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4567 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4568 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4569 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4571 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4572 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4573 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4574 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4576 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4577 Deconditionalize the code that was previously under [RESET_PID].
4578 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4580 * sysdeps/generic/exit-thread.h: New file.
4581 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4582 * include/unistd.h (__exit_thread): Remove declaration.
4583 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4584 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4585 * csu/libc-start.c: Include <exit-thread.h>.
4586 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4587 * nptl/pthread_create.c: Include <exit-thread.h>.
4588 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4589 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4590 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4591 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4592 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4593 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4594 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4595 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4596 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4597 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4598 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4599 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4600 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4601 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4602 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4603 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4604 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4606 2014-05-13 Andreas Schwab <schwab@suse.de>
4608 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4610 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4612 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4613 (__ASSUME_UTIMES): Do not condition on kernel version.
4614 (__ASSUME_PSELECT): Define unconditionally.
4615 (__ASSUME_PPOLL): Likewise.
4616 (__ASSUME_ATFCTS): Likewise.
4617 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4618 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4619 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4620 (__ASSUME_UTIMENSAT): Define unconditionally.
4621 (__ASSUME_PRIVATE_FUTEX): Likewise.
4622 (__ASSUME_FALLOCATE): Likewise.
4623 (__ASSUME_O_CLOEXEC): Likewise.
4624 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4625 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4626 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4627 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4628 (__ASSUME_IN_NONBLOCK): Likewise.
4629 (__ASSUME_PIPE2): Likewise.
4630 (__ASSUME_EVENTFD2): Likewise.
4631 (__ASSUME_SIGNALFD4): Likewise.
4632 (__ASSUME_DUP3): Likewise.
4633 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4634 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4635 (__ASSUME_AT_RANDOM): Likewise.
4636 (__ASSUME_PREADV): Likewise.
4637 (__ASSUME_PWRITEV): Likewise.
4638 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4639 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4640 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4641 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4642 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4643 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4644 (__ASSUME_O_CLOEXEC): Define unconditionally.
4645 (__ASSUME_PSELECT): Do not undefine conditionally.
4646 (__ASSUME_PPOLL): Likewise.
4647 (__ASSUME_ATFCTS): Likewise.
4648 (__ASSUME_SET_ROBUST_LIST): Likewise.
4649 (__ASSUME_UTIMENSAT): Likewise.
4650 (__ASSUME_FDATASYNC): Define unconditionally.
4651 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4652 (__ASSUME_SIGFRAME_V2): Likewise.
4653 )__ASSUME_EVENTFD2): Likewise.
4654 (__ASSUME_SIGNALFD4): Likewise.
4655 (__ASSUME_PSELECT): Do not undefine conditionally.
4656 (__ASSUME_PPOLL): Likewise.
4657 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4658 (__ASSUME_PSELECT): Define unconditionally.
4659 (__ASSUME_PPOLL): Likewise.
4660 (__ASSUME_O_CLOEXEC): Likewise.
4661 (__ASSUME_SOCK_CLOEXEC): Likewise.
4662 (__ASSUME_IN_NONBLOCK): Likewise.
4663 (__ASSUME_PIPE2): Likewise.
4664 (__ASSUME_EVENTFD2): Likewise.
4665 (__ASSUME_SIGNALFD4): Likewise.
4666 (__ASSUME_DUP3): Likewise.
4667 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4668 (__ASSUME_O_CLOEXEC): Likewise.
4669 (__ASSUME_SOCK_CLOEXEC): Likewise.
4670 (__ASSUME_IN_NONBLOCK): Likewise.
4671 (__ASSUME_PIPE2): Likewise.
4672 (__ASSUME_EVENTFD2): Likewise.
4673 (__ASSUME_SIGNALFD4): Likewise.
4674 (__ASSUME_DUP3): Likewise.
4675 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4676 (__ASSUME_EVENTFD2): Likewise.
4677 (__ASSUME_SIGNALFD4): Likewise.
4678 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4680 2014-05-12 Andreas Schwab <schwab@suse.de>
4683 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4684 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4685 than maximum RPC packet size.
4686 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4687 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4688 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4689 (_nss_nis_getservbyport_r): Likewise.
4691 2014-05-12 Will Newton <will.newton@linaro.org>
4693 * malloc/Makefile (tests): Add tst-mallopt.
4694 * malloc/tst-mallopt.c: New file.
4696 2014-05-09 Roland McGrath <roland@hack.frob.com>
4698 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4699 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4701 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4703 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4704 (tst-tlsmod6.so): Likewise.
4706 2014-05-09 Roland McGrath <roland@hack.frob.com>
4708 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4710 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4713 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4714 and <dl-procinfo.h>.
4715 (__fegetenv): Save SSE state in envp->__eip if supported.
4716 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4717 envp->__eip if supported.
4718 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4719 and <dl-procinfo.h>.
4720 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4721 __data_offset and __data_selector in environment to 0. Set SSE
4723 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4725 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4727 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4729 2014-05-09 Will Newton <will.newton@linaro.org>
4731 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4732 and libc_relro_required for ARM.
4733 * sysdeps/arm/preconfigure: Regenerate.
4735 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4736 Stefan Liebler <stli@linux.vnet.ibm.com>
4738 * config.make.in (enable-lock-elision): New Makefile variable.
4739 * configure.ac: Likewise.
4740 * configure: Regenerate.
4741 * sysdeps/s390/configure.ac:
4742 Add check for gcc transactions support.
4743 * sysdeps/s390/configure: Regenerate.
4744 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4745 Build elision files if enabled.
4746 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4747 Add lock elision support for s390.
4748 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4749 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4750 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4751 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4752 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4753 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4754 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4756 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4758 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4760 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4762 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4763 (__lll_timedlock_elision, __lll_lock_elision)
4764 (__lll_unlock_elision, __lll_trylock_elision)
4765 (lll_timedlock_elision, lll_lock_elision)
4766 (lll_unlock_elision, lll_trylock_elision): Add.
4767 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4768 (pthread_mutex_t): Add lock elision support for s390.
4770 2014-05-14 Wilco <wdijkstr@arm.com>
4772 * sysdeps/arm/fclrexcpt.c: Cleanup.
4773 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4774 * sysdeps/arm/feenablxcpt.c: Cleanup.
4775 * sysdeps/arm/fegetenv.c: Cleanup.
4776 * sysdeps/arm/fegetexcept.c: Cleanup.
4777 * sysdeps/arm/fegetround.c: Cleanup.
4778 * sysdeps/arm/feholdexcpt.c: Cleanup.
4779 * sysdeps/arm/fesetenv.c: Cleanup.
4780 * sysdeps/arm/fesetround.c: Cleanup.
4781 * sysdeps/arm/feupdateenv.c: Cleanup.
4782 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4783 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4784 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4785 * sysdeps/arm/ftestexcept.c: Cleanup.
4786 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4787 * sysdeps/arm/setfpucw.c: Cleanup.
4789 2014-05-09 Will Newton <will.newton@linaro.org>
4791 * sysdeps/arm/armv7/strcmp.S: New file.
4792 * NEWS: Mention addition of ARMv7 optimized strcmp.
4794 2014-05-08 Roland McGrath <roland@hack.frob.com>
4796 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4797 look for %.ac rather than %.in.
4799 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4800 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4801 * sysdeps/mach/hurd/configure: Regenerated.
4802 * sysdeps/unix/sysv/linux/configure: Regenerated.
4804 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4806 2014-05-07 Steve Ellcey <sellcey@mips.com>
4809 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4813 2014-05-07 Andreas Schwab <schwab@suse.de>
4815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4816 when skipping over non-matching result from nscd.
4818 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4821 * nptl/sockperf.c (client): Check socket return value.
4824 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4825 nscd security class.
4827 2014-05-06 Roland McGrath <roland@hack.frob.com>
4829 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4830 * sysdeps/arm/unwind.h: ... here.
4832 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4835 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4838 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4840 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4841 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4842 multiarch strncpy for PPC64.
4843 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4844 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4846 multiarch optimizations.
4847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4848 (__libc_ifunc_impl_list): Likewise.
4849 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4850 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4851 multiarch stpncpy for PPC64.
4852 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4853 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4855 2014-05-06 Andreas Schwab <schwab@suse.de>
4858 * gmon/mcount.c (_MCOUNT_DECL): Use
4859 atomic_compare_and_exchange_bool_acq instead of
4860 catomic_compare_and_exchange_bool_acq.
4862 2014-05-05 Roland McGrath <roland@hack.frob.com>
4864 * elf/Makefile (others, install-bin): Remove pldd.
4865 (pldd-modules): Variable removed.
4866 ($(objpfx)pldd): Target removed.
4867 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4868 (others, install-bin): Append pldd here.
4869 ($(objpfx)pldd): New target.
4871 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4872 to 0, so the first #if test emitted later doesn't see it undefined.
4873 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4874 * sysdeps/gnu/errlist.c: Regenerated.
4876 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4878 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4879 [libc_hidden_builtin_def]: Define to empty value.
4880 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4881 [libc_hidden_builtin_def]: Likewise.
4882 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4883 [libc_hidden_builtin_def]: Likewise.
4884 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4885 [libc_hidden_builtin_def]: Likewise.
4886 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4887 __redirect_memcpy and define ifunc as default hidden symbol.
4888 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4889 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4891 2014-05-04 Adam Conrad <adconrad@0c3.net>
4893 * locale/iso-4217.def: Reintroduce XDR currency.
4895 2014-05-04 Allan McRae <allan@archlinux.org>
4897 * po/eo.po: Update Esperanto translation from translation project.
4899 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4901 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4902 and FEATURE_INDEX_MAX to 1.
4903 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4905 2014-05-01 Steve Ellcey <sellcey@mips.com>
4907 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4908 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4909 * iconvdata/big5.c (ONE_DIRECTION): Define.
4910 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4911 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4912 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4913 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4914 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4915 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4916 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4917 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4918 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4919 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4920 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4921 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4922 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4923 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4924 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4925 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4926 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4927 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4928 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4929 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4930 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4931 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4932 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4933 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4934 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4935 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4936 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4937 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4938 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4939 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4940 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4941 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4942 * iconvdata/johab.c (ONE_DIRECTION): Define.
4943 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4944 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4945 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4946 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4947 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4948 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4949 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4950 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4951 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4952 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4954 2014-05-01 Roland McGrath <roland@hack.frob.com>
4956 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4957 (_IO_JUMPS_OFFSET): Define to 0.
4959 * nptl/sysdeps/pthread/bits/libc-lock.h
4960 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4961 (__libc_lock_define_initialized_recursive): Always define using
4962 initializer. Modern compilers treat uninitialized (implicit zero) and
4963 explicit zero initializers the same (i.e. put the datum in bss).
4965 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4967 * nscd/nscd-client.h: Include <string.h>.
4969 2014-05-01 David S. Miller <davem@davemloft.net>
4972 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4973 multiple zero bytes exist at the end of a string.
4974 Reported by Aurelien Jarno <aurelien@aurel32.net>
4976 * string/test-strcmp.c (check): Add explicit test for situations where
4977 there are multiple zero bytes after the first.
4979 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4982 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4983 when compiling wprintf.
4984 * stdio-common/tstdiomisc.c (t3): New function.
4987 2014-05-01 Steve Ellcey <sellcey@mips.com>
4989 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4990 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4991 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4992 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4994 2014-05-01 Steve Ellcey <sellcey@mips.com>
4996 * stdlib/longlong.h: Updated from GCC.
4998 2014-05-01 Will Newton <will.newton@linaro.org>
4999 Bernard Ogden <bernie.ogden@linaro.org>
5001 * NEWS: Update fixed bug list.
5004 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5006 2014-04-30 David S. Miller <davem@davemloft.net>
5008 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5009 (libc_feholdexcept_setround_sparc_ctx): New function.
5010 (libc_fesetenv_sparc_ctx): Likewise.
5011 (libc_feupdateenv_sparc_ctx): Likewise.
5012 (libc_feholdsetround_sparc_ctx): Likewise.
5013 (libc_feholdexcept_setround_ctx): Define.
5014 (libc_feholdexcept_setroundf_ctx): Likewise.
5015 (libc_feholdexcept_setroundl_ctx): Likewise.
5016 (libc_fesetenv_ctx): Likewise.
5017 (libc_fesetenvf_ctx): Likewise.
5018 (libc_fesetenvl_ctx): Likewise.
5019 (libc_feupdateenv_ctx): Likewise.
5020 (libc_feupdateenvf_ctx): Likewise.
5021 (libc_feupdateenvl_ctx): Likewise.
5022 (libc_feresetround_ctx): Likewise.
5023 (libc_feresetroundf_ctx): Likewise.
5024 (libc_feresetroundl_ctx): Likewise.
5025 (libc_feholdsetround_ctx): Likewise.
5026 (libc_feholdsetroundf_ctx): Likewise.
5027 (libc_feholdsetroundl_ctx): Likewise.
5029 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5030 with __USE_GNU instead of XOPEN cpp guards.
5032 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5035 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5036 with XOPEN cpp guards.
5038 2014-04-30 Julian Brown <julian@codesourcery.com>
5041 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5044 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5047 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5049 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5050 * sysdeps/unix/sysv/linux/configure: Regenerated.
5051 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5052 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5053 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5054 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5055 * README: Update reference to required Linux kernel version.
5056 * manual/install.texi (Linux): Update reference to required Linux
5057 kernel headers version.
5058 * INSTALL: Regenerated.
5060 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5062 [POSIX] (limits.h): Likewise.
5063 [POSIX] (math.h): Likewise.
5064 [POSIX] (sys/wait.h): Likewise.
5065 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5067 [POSIX] (stddef.h): Do not allow header inclusion.
5069 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5071 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5073 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5075 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5076 Return immediately after lll_futex_wake.
5078 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5081 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5083 (datahead_init_pos): Call datahead_init_common early.
5084 (datahead_init_neg): Likewise.
5086 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5087 datahead_init_neg): New functions.
5088 * nscd/aicache.c (addhstaiX): Use them.
5089 * nscd/grpcache.c (cache_addgr): Likewise.
5090 * nscd/hstcache.c (cache_addhst): Likewise.
5091 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5092 * nscd/netgroupcache.c (do_notfound): Likewise.
5093 (addgetnetgrentX): Likewise.
5094 (addinnetgrX): Likewise.
5095 * nscd/pwdcache.c (cache_addpw): Likewise.
5096 * nscd/servicescache.c (cache_addserv): Likewise.
5098 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5099 Atsushi Onoe <atsushi@onoe.org>
5104 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5105 one response is valid.
5106 * resolv/res_send.c (send_dg): Check for validity of other
5107 response if the current response is a referral.
5109 2014-04-29 Steve Ellcey <sellcey@mips.com>
5111 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5113 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5116 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5117 Always divide by positive zero when computing -Inf result.
5118 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5119 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5121 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5123 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5124 FPSCR if value do not change.
5125 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5126 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5127 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5128 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5129 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5130 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5133 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5135 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5136 * sysdeps/unix/sysv/linux/hppa: Move directory from
5137 ports/systeps/unix/sysv/linux/hppa.
5138 * README: Update listing for hppa-*-linux-gnu.
5140 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5143 * manual/stdio.texi (Hook functions): Fix types of stream hook
5146 * socket/sys/socket.h: Fix typo in comment.
5148 2014-04-28 Wilco <wdijkstr@arm.com>
5150 * sysdeps/arm/fenv_private.h: New file.
5151 * sysdeps/arm/math_private.h: New file.
5152 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5154 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5156 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5158 (La_x86_64_retval): Likewise.
5160 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5162 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5163 fpsr if value didn't change.
5164 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5165 to fpcr if value didn't change.
5166 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5167 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5168 fpsr or fpcr if value didn't change.
5169 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5170 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5171 fpcr if value didn't change.
5172 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5173 to fpsr if value didn't change.
5175 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5177 * nptl/tst-sem3.c: Use test-skeleton.c
5178 (main): Rename to do_test. Use return instead of
5180 * nptl/tst-sem4.c: Use test-skeleton.c
5181 (main): Rename to do_test.
5183 2014-04-22 David S. Miller <davem@davemloft.net>
5185 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5186 (struct sigaction): New struct member __glibc_reserved0, change
5187 type of sa_flags to int.
5189 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5191 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5192 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5194 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5196 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5197 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5199 2014-04-22 Will Newton <will.newton@linaro.org>
5200 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5202 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5203 (__longjmp): Add longjmp and longjmp_target SystemTap
5205 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5206 (__sigsetjmp): Add setjmp SystemTap probe.
5208 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5210 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5213 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5215 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5217 * sysdeps/powerpc/fpu/fenv_private.h
5218 (libc_feholdexcept_setroundl_ctx): Define to
5219 libc_feholdexcept_setround_ppc_ctx.
5220 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5221 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5222 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5223 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5225 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5227 * sysdeps/aarch64/math-tests.h: New file.
5229 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5231 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5234 Check and set bit_AVX2_Usable.
5235 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5237 (bit_AVX2): Likewise.
5238 (index_AVX2_Usable): Likewise.
5239 (CPUID_AVX2): Likewise.
5240 (HAS_AVX2): Likewise.
5242 2014-04-17 Will Newton <will.newton@linaro.org>
5244 * manual/setjmp.texi (System V contexts): Add note that
5245 calling setcontext on a context created by a call to a
5246 signal handler is undefined. Update text to note that
5247 setcontext from a signal handler is possible but not
5251 * stdlib/tst-setcontext.c: Include signal.h.
5252 (main): Check that the signal stack before and
5253 after swapcontext is the same.
5255 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5256 Re-implement to restore registers in user code and avoid
5257 rt_sigreturn system call.
5259 2014-04-17 Wilco <wdijkstr@arm.com>
5261 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5262 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5263 * math/test-fenv.c: Skip exception trap tests on targets which only
5264 support non-stop mode.
5266 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5267 Wilco Dijkstra <wilco.dijkstra@arm.com>
5269 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5270 (libc_feholdsetround_aarch64_ctx)
5271 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5272 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5273 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5274 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5275 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5276 (libc_feresetround_noexl_ctx): Define.
5278 2014-04-16 Richard Henderson <rth@redhat.com>
5280 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5282 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5285 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5286 const from the non-libc, non-ldso copy.
5288 * sysdeps/alpha/libm-test-ulps: Regenerate.
5290 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5291 Wilco Dijkstra <wilco.dijkstra@arm.com>
5293 * sysdeps/aarch64/fpu/math_private.h: New file.
5295 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5297 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5299 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5301 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5302 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5303 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5304 Intel MPX bound registers before _dl_profile_fixup.
5305 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5306 registers after _dl_profile_fixup. Save and restore bound
5307 registers bnd0/bnd1 when calling _dl_call_pltexit.
5308 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5309 (LR_BND_OFFSET): Likewise.
5310 (LRV_BND0_OFFSET): Likewise.
5311 (LRV_BND1_OFFSET): Likewise.
5313 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5315 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5317 * sysdeps/mach/hurd/i386/tls.h: ... here.
5318 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5319 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5322 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5324 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5326 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5328 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5330 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5333 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5334 * sysdeps/s390/configure: Regenerate.
5337 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5338 Set round-to-nearest internally to reduce error accumulation.
5340 2014-04-16 Alan Modra <amodra@gmail.com>
5344 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5345 * math/libm-test.inc (frexp_test_data): Add tests.
5346 * NEWS: Update fixed bug list.
5348 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5350 * benchtests/Makefile: Depend on libraries in build directory.
5351 (bench-math): Separate out math tests.
5352 (bench-pthread): Separate out pthread tests.
5353 (bench): Include math and pthread tests.
5355 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5358 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5359 _dl_debug_initialize.
5361 * configure.ac: Remove SELinux header check.
5362 * configure: Regenerate.
5363 * nscd/selinux.c (perms): Array of const char* to permission names.
5364 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5365 default policy. Call string_to_security_class and string_to_av_perm to
5366 translate strings. Enforce default policy and call avs_has_perm with
5367 results of translated strings.
5369 2014-04-13 David S. Miller <davem@davemloft.net>
5371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5373 2014-04-12 Allan McRae <allan@archlinux.org>
5376 * manual/string.texi (Collation Functions): Fix qsort argument
5378 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5380 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5382 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5383 Make the test a no-op if there are no exceptions defined.
5385 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5387 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5388 enable-hardcoded-path-in-tests
5390 2014-04-11 Will Newton <will.newton@linaro.org>
5392 * benchtests/Makefile (extra-objs): Add json-lib.o.
5393 (bench-func): Tidy up JSON output.
5394 * benchtests/bench-skeleton.c: Include json-lib.h.
5395 (main): Use JSON library functions to do output of
5397 * benchtests/bench-timing-type.c (main): Output the
5398 timing type simply, leaving formatting to the user.
5399 * benchtests/json-lib.c: New file.
5400 * benchtests/json-lib.h: Likewise.
5402 2014-04-11 Torvald Riegel <triegel@redhat.com>
5405 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5406 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5407 memory barriers. Add comments.
5408 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5409 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5410 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5411 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5412 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5413 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5415 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5417 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5418 * sysdeps/s390/s390-64/configure.ac: ... this ...
5419 * sysdeps/s390/configure.ac: ... to here.
5420 * sysdeps/s390/s390-32/configure: Delete file.
5421 * sysdeps/s390/s390-64/configure: Delete file.
5422 * sysdeps/s390/configure: Regenerate.
5424 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5426 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5428 2014-04-11 Will Newton <will.newton@linaro.org>
5430 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5431 to zero if it is not defined elsewhere. (mtrim): Test
5432 the value of MALLOC_DEBUG with #if rather than #ifdef.
5434 2014-04-10 Torvald Riegel <triegel@redhat.com>
5436 * benchtests/pthread_once-inputs: New file.
5437 * benchtests/pthread_once-source.c: New file.
5438 * benchtests/README: Update documentation.
5440 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5441 H.J. Lu <hongjiu.lu@intel.com>
5443 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5444 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5445 * sysdeps/x86_64/configure: Regenerated.
5446 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5448 (REGISTER_SAVE_RAX): Likewise.
5449 (REGISTER_SAVE_RCX): Likewise.
5450 (REGISTER_SAVE_RDX): Likewise.
5451 (REGISTER_SAVE_RSI): Likewise.
5452 (REGISTER_SAVE_RDI): Likewise.
5453 (REGISTER_SAVE_R8): Likewise.
5454 (REGISTER_SAVE_R9): Likewise.
5455 (REGISTER_SAVE_BND0): Likewise.
5456 (REGISTER_SAVE_BND1): Likewise.
5457 (REGISTER_SAVE_BND2): Likewise.
5458 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5459 bound registers when calling _dl_fixup.
5461 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5463 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5464 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5466 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5467 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5468 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5469 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5470 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5471 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5472 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5474 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5477 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5478 pathconf(_PC_NAME_MAX).
5480 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5482 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5484 (__PTHREAD_SPINS): Move definition to ...
5485 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5486 (__PTHREAD_SPINS): ... here.
5487 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5488 (__PTHREAD_SPIN): Likewise.
5489 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5490 (__PTHREAD_SPIN): Likewise.
5491 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5492 (__PTHREAD_SPIN): Likewise.
5493 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5494 (__PTHREAD_SPIN): Likewise.
5495 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5496 (__PTHREAD_SPIN): Likewise.
5497 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5498 (__PTHREAD_SPIN): Likewise.
5499 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5500 (__PTHREAD_SPIN): Likewise.
5501 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5502 (__PTHREAD_SPIN): Likewise.
5503 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5504 (__PTHREAD_SPIN): Likewise.
5505 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5506 (__PTHREAD_SPIN): Likewise.
5507 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5508 (__PTHREAD_SPIN): Likewise.
5509 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5510 (__PTHREAD_SPIN): Likewise.
5512 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5513 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5514 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5515 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5517 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5518 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5519 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5520 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5522 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5523 strlen symbol for non multi-arch builds.
5524 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5525 missing hidden_def and weak_alias.
5527 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5529 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5531 2014-04-07 Will Newton <will.newton@linaro.org>
5533 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5534 and contents. [!_LIBC] Remove #ifndef and contents.
5535 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5536 * string/memccpy.c (__memccpy): Use ANSI prototype.
5537 * string/memfrob.c (memfrob): Likewise.
5538 * string/strcoll.c (STRCOLL): Likewise.
5539 * string/strlen.c (strlen): Likewise.
5540 * string/strtok.c (STRTOK): Likewise.
5541 * string/strcat.c: Remove unused #include of memcopy.h.
5542 (strcat): Use ANSI prototype.
5543 * string/strchr.c: Remove unused #include of memcopy.h.
5544 (strchr): Use ANSI prototype.
5545 * string/strcmp.c: Remove unused #include of memcopy.h.
5546 (strcmp): Use ANSI prototype.
5547 * string/strcpy.c: Remove unused #include of memcopy.h.
5548 (strcpy): Use ANSI prototype.
5550 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5552 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5553 * config.make.in (config-extra-cppflags): Set it from
5554 libc_extra_cppflags.
5555 * configure.ac (libc_extra_cflags): Make it accumulate over
5556 configure fragments.
5557 (libc_extra_cppflags): New flag.
5558 * configure. Regenerate.
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5560 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5561 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5565 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5566 result for FE_DOWNWARD rounding mode.
5567 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5571 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5573 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5574 in function argument name.
5576 2014-04-03 David Svoboda <svoboda@cert.org>
5579 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5582 2014-04-03 Roland McGrath <roland@hack.frob.com>
5584 * elf/dl-unmap-segments.h: New file.
5585 * sysdeps/generic/ldsodefs.h
5586 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5587 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5588 * elf/dl-fptr.c: Likewise.
5589 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5590 * sysdeps/aarch64/tlsdesc.c: Likewise.
5591 * sysdeps/arm/tlsdesc.c: Likewise.
5592 * sysdeps/i386/tlsdesc.c: Likewise.
5593 * sysdeps/tile/dl-runtime.c: Likewise.
5594 * sysdeps/x86_64/tlsdesc.c: Likewise.
5595 * elf/dl-load.h: New file.
5596 * elf/dl-load.c: Include it.
5597 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5598 Macros moved to dl-load.h.
5599 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5600 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5601 Use _dl_unmap_segments in place of __munmap.
5602 Break out segment-mapping loop into ...
5603 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5605 2014-04-03 Will Newton <will.newton@linaro.org>
5607 * elf/dl-lookup.c (do_lookup_x): Remove comment
5608 referring to nested function and move variable
5609 declarations down to before first use.
5611 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5615 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5617 * math/s_catanf.c (__catanf): Likewise.
5618 * math/s_catanh.c (__catanh): Likewise.
5619 * math/s_catanhf.c (__catanhf): Likewise.
5620 * math/s_catanhl.c (__catanhl): Likewise.
5621 * math/s_catanl.c (__catanl): Likewise.
5622 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5623 by positive zero when computing -Inf result.
5624 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5625 (catanh_test): Likewise.
5626 * sysdeps/i386/fpu/libm-test-ulps: Update.
5627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5630 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5631 instead of using underflowing value in computing result.
5632 * math/s_clog10.c (__clog10): Likewise.
5633 * math/s_clog10f.c (__clog10f): Likewise.
5634 * math/s_clog10l.c (__clog10l): Likewise.
5635 * math/s_clogf.c (__clogf): Likewise.
5636 * math/s_clogl.c (__clogl): Likewise.
5637 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5638 (clog10_test): Likewise.
5639 * sysdeps/i386/fpu/libm-test-ulps: Update.
5640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5642 2014-04-02 Alan Modra <amodra@gmail.com>
5645 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5646 output when value is near a power of two. Use int64_t for lx and
5647 remove casts. Use decimal rather than hex exponent constants.
5648 Don't use long double multiplication when double will suffice.
5649 * math/libm-test.inc (nextafter_test_data): Add tests.
5650 * NEWS: Add 16739 and 16786 to bug list.
5652 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5654 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5656 2014-04-01 Will Newton <will.newton@linaro.org>
5658 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5659 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5661 2014-04-01 Florian Weimer <fweimer@redhat.com>
5664 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5665 * nptl/tst-setuid2.c: New file.
5666 * nptl/Makefile (xtests): Add tst-setuid2.
5668 2014-04-01 Alan Modra <amodra@gmail.com>
5671 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5673 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5677 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5678 set errno as appropriate.
5679 * math/w_scalbf.c (__scalbf): Likewise.
5680 * math/w_scalbl.c (__scalbl): Likewise.
5681 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5682 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5683 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5687 * math/w_atan2.c: Include <errno.h>.
5688 (__atan2): Set errno for result underflowing to zero.
5689 * math/w_atan2f.c: Include <errno.h>.
5690 (__atan2f): Set errno for result underflowing to zero.
5691 * math/w_atan2l.c: Include <errno.h>.
5692 (__atan2l): Set errno for result underflowing to zero.
5693 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5695 * math/auto-libm-test-out: Regenerated.
5697 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5699 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5700 Encode instruction correctly in little endian.
5701 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5703 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5705 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5707 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5710 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5713 * sysdeps/unix/sysv/linux/kernel-features.h
5714 [__sparc__ && !__arch64__ && !__sparc_v9__]
5715 (__ASSUME_SET_ROBUST_LIST): Do not define.
5716 [__sparc__ && !__arch64__ && !__sparc_v9__]
5717 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5718 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5720 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5721 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5722 (__ASSUME_REQUEUE_PI): Likewise.
5723 (__ASSUME_SET_ROBUST_LIST): Likewise.
5724 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5725 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5727 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5728 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5730 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5732 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5734 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5735 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5737 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5738 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5743 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5744 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5746 2014-03-31 Will Newton <will.newton@linaro.org>
5748 * benchtests/Makefile (bench): Add ffs and ffsll to list
5750 * benchtests/ffs-inputs: New file.
5751 * benchtests/ffsll-inputs: Likewise.
5753 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5756 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5757 too large before casting to int.
5758 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5759 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5760 * math/libm-test.inc (scalb_test_data): Add more tests.
5762 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5764 * benchtests/Makefile (DETAILED_OPT): New make option.
5765 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5767 * benchtests/bench-skeleton.c: Include stdbool.h.
5768 (main): Store and print timings per input.
5769 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5770 member to each argument value.
5771 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5772 (_print_arg_data): Initialize per-input timing to 0.
5774 * benchtests/Makefile (timing-type): New binary.
5775 (bench-clean): Also remove bench-timing-type.
5776 (bench): New target for timing-type.
5777 (bench-func): Print output in JSON format.
5778 * benchtests/bench-skeleton.c (main): Print output in JSON
5780 * benchtests/bench-timing-type.c: New file.
5781 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5782 (TIMING_PRINT_STATS): Remove.
5783 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5786 * benchtests/bench-modf.c: Remove.
5787 * benchtests/modf-inputs: New inputs file.
5789 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5792 * math/s_clog10.c (M_PI_LOG10E): New macro.
5793 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5794 imaginary parts are 0.
5795 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5796 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5797 imaginary parts are 0.
5798 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5799 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5800 imaginary parts are 0.
5801 * math/libm-test.inc (clog10_test_data): Update expected results
5802 for when real and imaginary parts are 0.
5804 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5806 * elf/dl-load.c: Finish conversion of __builtin_expect into
5809 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5812 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5813 1+x for argument with exponent below -67.
5814 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5816 * math/auto-libm-test-in: Add more tests of exp.
5817 * math/auto-libm-test-out: Regenerated.
5819 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5822 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5823 (nscd_getnetgrent): Use it.
5826 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5829 2014-03-27 Andi Kleen <ak@linux.intel.com>
5831 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5832 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5833 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5834 (lll_robust_unlock): Remove out of line section. Use cfi
5836 (LLL_STUB_UNWIND_INFO*): Remove.
5837 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5838 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5839 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5840 (lll_robust_unlock): Remove out of line section. Use cfi
5842 (LLL_STUB_UNWIND_INFO*): Remove.
5844 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5847 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5850 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5852 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5854 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5857 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5859 * math/test-fenv-preserve.c: New file.
5860 * math/Makefile (tests): Add test-fenv-preserve.
5862 2014-03-26 Will Newton <will.newton@linaro.org>
5864 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5866 2014-03-25 Roland McGrath <roland@hack.frob.com>
5868 * scripts/versionlist.awk: Partition the version sets and emit all
5869 GLIBC_* (sorted) before all others (sorted).
5871 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5873 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5874 GLIBC_2.2.5 version.
5876 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5878 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5881 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5886 2014-03-25 Andreas Schwab <schwab@suse.de>
5888 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5889 label to be used after in6ailist is initialized.
5891 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5893 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5894 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5896 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5900 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5902 (fp_formats): Update initializers.
5903 (init_fp_formats): Initialize new field.
5904 (output_for_one_input_case): Allow underflow for results up to
5906 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5907 * math/auto-libm-test-in: Don't mark some underflows from asin and
5909 * math/auto-libm-test-out: Regenerated.
5910 * sysdeps/i386/fpu/libm-test-ulps: Update.
5911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5913 2014-03-25 Andreas Schwab <schwab@suse.de>
5915 * libio/Makefile (tst-ftell-partial-wide-ENV)
5916 (tst-ftell-active-handler-ENV): Define.
5918 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5920 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5922 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5924 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5926 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5928 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5929 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5930 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5932 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5935 * elf/dl-load.c (open_verify): Add mode parameter.
5936 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5937 (open_path): Change from boolean 'secure' to complete flag 'mode'
5938 (_dl_map_object): Adjust.
5939 * elf/Makefile (tests): Add tst-dlopen-aout.
5940 * elf/tst-dlopen-aout.c: New test.
5942 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5945 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5946 (struct stat): Rename member pad0 to __glibc_reserved0.
5949 * sysdeps/s390/s390-32/bits/wordsize.h
5950 (__WORDSIZE32_SIZE_ULONG): New define.
5951 * sysdeps/s390/s390-64/bits/wordsize.h
5952 (__WORDSIZE32_SIZE_ULONG): Likewise.
5953 * sysdeps/generic/stdint.h (SIZE_MAX):
5954 Define as UL if __WORDSIZE32_SIZE_ULONG.
5957 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5958 (__glibc_reserved0): New variable.
5959 (sa_flags): Change type to int.
5961 * posix/Makefile (before-compile): Use += before-compile instead
5964 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5965 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5967 2014-03-20 Andreas Schwab <schwab@suse.de>
5970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5971 non-matching result from nscd.
5973 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5975 * scripts/bench.py: Moved to ...
5976 * benchtests/scripts/bench.py: ... here.
5977 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5979 2014-03-24 Andreas Schwab <schwab@suse.de>
5982 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5983 alloca_account and account alloca use for struct in6ailist.
5985 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5988 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5989 rounding mode to recompute results that overflow to infinity or
5991 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5993 * math/auto-libm-test-out: Regenerated.
5994 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5995 (ccosh_test): Likewise.
5996 (csin_test_data): Use plus_oflow.
5997 (csin_test): Use ALL_RM_TEST.
5998 (csinh_test_data): Use plus_oflow.
5999 (csinh_test): Use ALL_RM_TEST.
6000 * sysdeps/i386/fpu/libm-test-ulps: Update.
6001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6003 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6005 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6006 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6007 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6010 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6012 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6013 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6014 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6015 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6017 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6018 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6020 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6021 * sysdeps/i386/fpu/libm-test-ulps: Update.
6022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6024 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6026 * scripts/bench.pl: Remove file.
6027 * scripts/bench.py: New benchmark script.
6028 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6029 * benchtests/README: Mention python dependency.
6030 * scripts/pylintrc: New file.
6031 * scripts/pylint: New file.
6033 * bits/mathdef.h: Use #ifdef instead of #if.
6034 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6035 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6036 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6037 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6038 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6039 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6041 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6042 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6044 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6046 and strpbrk-ppc64 objects.
6047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6048 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6049 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6050 multiarch strpbrk for POWER7.
6051 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6052 multiarch strpbrk for PPC64.
6053 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6055 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6058 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6060 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6061 (atan_test): Likewise.
6062 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6063 (atanh_test): Use ALL_RM_TEST.
6064 (atan2_test_data): Likewise.
6065 (cabs_test): Likewise.
6066 (cacosh_test): Likewise.
6067 (carg_test): Likewise.
6068 (casin_test): Likewise.
6069 (casinh_test): Likewise.
6070 (cbrt_test): Likewise.
6071 (csqrt_test): Likewise.
6072 (erf_test): Likewise.
6073 (erfc_test): Likewise.
6074 (pow10_test): Likewise.
6075 (exp2_test): Likewise.
6076 (hypot_test): Likewise.
6077 (j0_test): Likewise.
6078 (j1_test): Likewise.
6079 (lgamma_test): Likewise.
6080 (gamma_test): Likewise.
6081 (sincos_test): Likewise.
6082 (tanh_test): Likewise.
6083 (y0_test): Likewise.
6084 (y1_test): Likewise.
6085 * sysdeps/i386/fpu/libm-test-ulps: Update.
6086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6088 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6090 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6092 and strcspn-ppc64 objects.
6093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6094 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6095 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6096 multiarch strcspn for POWER7.
6097 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6098 multiarch strcspn for PPC64.
6099 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6101 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6104 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6106 * math/gen-libm-test.pl (generate_testfile): Expect only function
6107 name as argument to AUTO_TESTS_* and pass results for all rounding
6108 modes to parse_args.
6109 (parse_auto_input): Separate inputs of automatic tests from
6110 outputs before storing in %auto_tests.
6111 * math/libm-test.inc (acos_test_data): Update call to
6113 (acos_test): Use ALL_RM_TEST.
6114 (acos_tonearest_test_data): Remove.
6115 (acos_test_tonearest): Likewise.
6116 (acos_towardzero_test_data): Likewise.
6117 (acos_test_towardzero): Likewise.
6118 (acos_downward_test_data): Likewise.
6119 (acos_test_downward): Likewise.
6120 (acos_upward_test_data): Likewise.
6121 (acos_test_upward): Likewise.
6122 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6123 (asin_test_data): Likewise.
6124 (asin_test): Use ALL_RM_TEST.
6125 (asin_tonearest_test_data): Remove.
6126 (asin_test_tonearest): Likewise.
6127 (asin_towardzero_test_data): Likewise.
6128 (asin_test_towardzero): Likewise.
6129 (asin_downward_test_data): Likewise.
6130 (asin_test_downward): Likewise.
6131 (asin_upward_test_data): Likewise.
6132 (asin_test_upward): Likewise.
6133 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6134 (atan_test_data): Likewise.
6135 (atanh_test_data): Likewise.
6136 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6137 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6138 (carg_test_data): Likewise.
6139 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6140 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6141 (ccosh_test_data): Likewise.
6142 (cexp_test_data): Likewise.
6143 (clog_test_data): Likewise.
6144 (clog10_test_data): Likewise.
6145 (cos_test_data): Update call to AUTO_TESTS_f_f.
6146 (cos_test): Use ALL_RM_TEST.
6147 (cos_tonearest_test_data): Remove.
6148 (cos_test_tonearest): Likewise.
6149 (cos_towardzero_test_data): Likewise.
6150 (cos_test_towardzero): Likewise.
6151 (cos_downward_test_data): Likewise.
6152 (cos_test_downward): Likewise.
6153 (cos_upward_test_data): Likewise.
6154 (cos_test_upward): Likewise.
6155 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6156 (cosh_test): Use ALL_RM_TEST.
6157 (cosh_tonearest_test_data): Remove.
6158 (cosh_test_tonearest): Likewise.
6159 (cosh_towardzero_test_data): Likewise.
6160 (cosh_test_towardzero): Likewise.
6161 (cosh_downward_test_data): Likewise.
6162 (cosh_test_downward): Likewise.
6163 (cosh_upward_test_data): Likewise.
6164 (cosh_test_upward): Likewise.
6165 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6166 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6167 (ctan_test_data): Likewise.
6168 (ctan_test): Use ALL_RM_TEST.
6169 (ctan_tonearest_test_data): Remove.
6170 (ctan_test_tonearest): Likewise.
6171 (ctan_towardzero_test_data): Likewise.
6172 (ctan_test_towardzero): Likewise.
6173 (ctan_downward_test_data): Likewise.
6174 (ctan_test_downward): Likewise.
6175 (ctan_upward_test_data): Likewise.
6176 (ctan_test_upward): Likewise.
6177 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6178 (ctanh_test): Use ALL_RM_TEST.
6179 (ctanh_tonearest_test_data): Remove.
6180 (ctanh_test_tonearest): Likewise.
6181 (ctanh_towardzero_test_data): Likewise.
6182 (ctanh_test_towardzero): Likewise.
6183 (ctanh_downward_test_data): Likewise.
6184 (ctanh_test_downward): Likewise.
6185 (ctanh_upward_test_data): Likewise.
6186 (ctanh_test_upward): Likewise.
6187 (erf_test_data): Update call to AUTO_TESTS_f_f.
6188 (erfc_test_data): Likewise.
6189 (exp_test_data): Likewise.
6190 (exp_test): Use ALL_RM_TEST.
6191 (exp_tonearest_test_data): Remove.
6192 (exp_test_tonearest): Likewise.
6193 (exp_towardzero_test_data): Likewise.
6194 (exp_test_towardzero): Likewise.
6195 (exp_downward_test_data): Likewise.
6196 (exp_test_downward): Likewise.
6197 (exp_upward_test_data): Likewise.
6198 (exp_test_upward): Likewise.
6199 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6200 (exp10_test): Use ALL_RM_TEST.
6201 (exp10_tonearest_test_data): Remove.
6202 (exp10_test_tonearest): Likewise.
6203 (exp10_towardzero_test_data): Likewise.
6204 (exp10_test_towardzero): Likewise.
6205 (exp10_downward_test_data): Likewise.
6206 (exp10_test_downward): Likewise.
6207 (exp10_upward_test_data): Likewise.
6208 (exp10_test_upward): Likewise.
6209 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6210 (expm1_test_data): Likewise.
6211 (expm1_test): Use ALL_RM_TEST.
6212 (expm1_tonearest_test_data): Remove.
6213 (expm1_test_tonearest): Likewise.
6214 (expm1_towardzero_test_data): Likewise.
6215 (expm1_test_towardzero): Likewise.
6216 (expm1_downward_test_data): Likewise.
6217 (expm1_test_downward): Likewise.
6218 (expm1_upward_test_data): Likewise.
6219 (expm1_test_upward): Likewise.
6220 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6221 (fma_test): Use ALL_RM_TEST.
6222 (fma_towardzero_test_data): Remove.
6223 (fma_test_towardzero): Likewise.
6224 (fma_downward_test_data): Likewise.
6225 (fma_test_downward): Likewise.
6226 (fma_upward_test_data): Likewise.
6227 (fma_test_upward): Likewise.
6228 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6229 (j0_test_data): Update call to AUTO_TESTS_f_f.
6230 (j1_test_data): Likewise.
6231 (jn_test_data): Update call to AUTO_TESTS_if_f.
6232 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6233 (log_test_data): Update call to AUTO_TESTS_f_f.
6234 (log10_test_data): Likewise.
6235 (log1p_test_data): Likewise.
6236 (log2_test_data): Likewise.
6237 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6238 (pow_tonearest_test_data): Likewise.
6239 (sin_test_data): Update call to AUTO_TESTS_f_f.
6240 (sin_test): Use ALL_RM_TEST.
6241 (sin_tonearest_test_data): Remove.
6242 (sin_test_tonearest): Likewise.
6243 (sin_towardzero_test_data): Likewise.
6244 (sin_test_towardzero): Likewise.
6245 (sin_downward_test_data): Likewise.
6246 (sin_test_downward): Likewise.
6247 (sin_upward_test_data): Likewise.
6248 (sin_test_upward): Likewise.
6249 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6250 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6251 (sinh_test): Use ALL_RM_TEST.
6252 (sinh_tonearest_test_data): Remove.
6253 (sinh_test_tonearest): Likewise.
6254 (sinh_towardzero_test_data): Likewise.
6255 (sinh_test_towardzero): Likewise.
6256 (sinh_downward_test_data): Likewise.
6257 (sinh_test_downward): Likewise.
6258 (sinh_upward_test_data): Likewise.
6259 (sinh_test_upward): Likewise.
6260 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6261 (sqrt_test): Use ALL_RM_TEST.
6262 (sqrt_tonearest_test_data): Remove.
6263 (sqrt_test_tonearest): Likewise.
6264 (sqrt_towardzero_test_data): Likewise.
6265 (sqrt_test_towardzero): Likewise.
6266 (sqrt_downward_test_data): Likewise.
6267 (sqrt_test_downward): Likewise.
6268 (sqrt_upward_test_data): Likewise.
6269 (sqrt_test_upward): Likewise.
6270 (tan_test_data): Update call to AUTO_TESTS_f_f.
6271 (tan_test): Use ALL_RM_TEST.
6272 (tan_tonearest_test_data): Remove.
6273 (tan_test_tonearest): Likewise.
6274 (tan_towardzero_test_data): Likewise.
6275 (tan_test_towardzero): Likewise.
6276 (tan_downward_test_data): Likewise.
6277 (tan_test_downward): Likewise.
6278 (tan_upward_test_data): Likewise.
6279 (tan_test_upward): Likewise.
6280 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6281 (tgamma_test_data): Likewise.
6282 (y0_test_data): Likewise.
6283 (y1_test_data): Likewise.
6284 (yn_test_data): Update call to AUTO_TESTS_if_f.
6285 (main): Do not call removed functions.
6287 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6289 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6290 (ldexp_test_data): Remove.
6291 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6293 (scalb_test): Use ALL_RM_TEST.
6295 2014-03-19 Andreas Schwab <schwab@suse.de>
6297 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6299 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6302 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6303 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6304 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6305 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6306 (__ASSUME_PREADV): Undefine.
6307 (__ASSUME_PWRITEV): Likewise.
6309 2014-03-18 Roland McGrath <roland@hack.frob.com>
6311 * bits/mman-linux.h: Add comment about non-Linux use.
6312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6313 bits/mman-linux.h resting place.
6315 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6316 * bits/mman-linux.h: ... here.
6318 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6320 * conform/conformtest.pl: Add standard definition when calling C
6321 preprocessor on data files.
6322 (checknamespace): Remove unused variable.
6324 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6326 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6327 minus_oflow, plus_uflow and minus_uflow in expected results.
6328 * math/libm-test.inc (scalbn_test_data): Add more tests of
6329 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6331 (scalbn_test): Use ALL_RM_TEST.
6332 (scalbln_test_data): Add more tests of negative arguments. Use
6333 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6334 (scalbln_test): Use ALL_RM_TEST.
6336 2014-03-18 Roland McGrath <roland@hack.frob.com>
6338 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6340 2014-03-18 Will Newton <will.newton@linaro.org>
6342 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6345 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6347 * Makerules [!subdir] (check-abi): Exit with error status if a
6350 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6352 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6353 for rint. Include results for all rounding modes.
6354 (nearbyint_test): Use ALL_RM_TEST.
6355 (rint_test_data): Include all tests used for nearbyint.
6357 2014-03-17 Will Newton <will.newton@linaro.org>
6359 * nptl/sysdeps/pthread/pthread.h: Revert previous
6362 * sysdeps/generic/ldsodefs.h: Revert previous
6365 * libio/genops.c: Revert previous change.
6366 * libio/libioP.h: Likewise.
6367 * stdio-common/vfprintf.c: Likewise.
6369 * sysdeps/generic/math_private.h: Revert previous
6372 * sysdeps/generic/math_private.h: Check whether
6373 HAVE_RM_CTX is defined with #ifdef rather
6376 * argp/argp-fmtstream.h: Check whether
6377 __STRICT_ANSI__ is defined with #ifdef rather
6379 * argp/argp.h: Likewise.
6381 * libio/genops.c: Check whether
6382 _IO_JUMPS_OFFSET is defined with #ifdef rather
6384 * libio/libioP.h: Likewise.
6385 * stdio-common/vfprintf.c: Likewise.
6387 * sysdeps/generic/ldsodefs.h: Check whether
6388 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6391 * nptl/sysdeps/pthread/pthread.h: Check
6392 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6395 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6397 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6399 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6403 * libio/fileops.c (_IO_file_open): Seek to end of file but
6404 don't cache the offset.
6405 (get_file_offset): Remove function.
6406 (do_ftell): Use cached offset when available.
6407 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6408 don't cache the offset.
6409 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6411 (do_one_test): Call it.
6412 (do_ftell_test): Fix up expected old offset for a+ mode.
6413 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6416 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6417 up test status with function return status.
6418 (do_write_test): Likewise.
6419 (do_append_test): Likewise.
6421 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6422 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6425 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6427 * math/gen-libm-test.pl (parse_args): Handle results specified for
6428 each rounding mode separately.
6429 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6430 tests and results from lrint_tonearest_test_data,
6431 lrint_towardzero_test_data, lrint_downward_test_data and
6432 lrint_upward_test_data.
6433 (lrint_test): Use ALL_RM_TEST.
6434 (lrint_tonearest_test_data): Remove.
6435 (lrint_test_tonearest): Likewise.
6436 (lrint_towardzero_test_data): Likewise.
6437 (lrint_test_towardzero): Likewise.
6438 (lrint_downward_test_data): Likewise.
6439 (lrint_test_downward): Likewise.
6440 (lrint_upward_test_data): Likewise.
6441 (lrint_test_upward): Likewise.
6442 (llrint_test_data): Merge in per-rounding-mode tests and results
6443 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6444 llrint_downward_test_data and llrint_upward_test_data.
6445 (llrint_test): Use ALL_RM_TEST.
6446 (llrint_tonearest_test_data): Remove.
6447 (llrint_test_tonearest): Likewise.
6448 (llrint_towardzero_test_data): Likewise.
6449 (llrint_test_towardzero): Likewise.
6450 (llrint_downward_test_data): Likewise.
6451 (llrint_test_downward): Likewise.
6452 (llrint_upward_test_data): Likewise.
6453 (llrint_test_upward): Likewise.
6454 (rint_test_data): Merge in per-rounding-mode tests and results
6455 from rint_tonearest_test_data, rint_towardzero_test_data,
6456 rint_downward_test_data and rint_upward_test_data. Add
6457 per-rounding-mode results for tests not in those arrays.
6458 (rint_test): Use ALL_RM_TEST.
6459 (rint_tonearest_test_data): Remove.
6460 (rint_test_tonearest): Likewise.
6461 (rint_towardzero_test_data): Likewise.
6462 (rint_test_towardzero): Likewise.
6463 (rint_downward_test_data): Likewise.
6464 (rint_test_downward): Likewise.
6465 (rint_upward_test_data): Likewise.
6466 (rint_test_upward): Likewise.
6467 (main): Don't call removed functions.
6469 2014-03-14 Roland McGrath <roland@hack.frob.com>
6471 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6472 "Compiled on ..." crapola. It is anti-useful.
6474 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6476 * scripts/evaluate-test.sh: Handle fourth argument to determine
6477 whether test run should stop on failure.
6478 * Makeconfig (stop-on-test-failure): New variable.
6479 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6480 $(stop-on-test-failure).
6481 * Makefile (tests): Give a summary of results from testing and
6482 exit with failure status if they include an ERROR or FAIL.
6484 * manual/install.texi (Configuring and compiling): Mention
6485 stop-on-test-failure=y.
6486 * INSTALL: Regenerated.
6488 2014-03-14 Roland McGrath <roland@hack.frob.com>
6490 * scripts/versionlist.awk: New file.
6491 * Makerules [$(build-shared) = yes]
6492 (postclean-generated): Add Versions.def, not Versions.def.v and
6494 ($(common-objpfx)Versions.def.v.i): Target removed.
6495 ($(common-objpfx)Versions.def): New target.
6496 ($(common-objpfx)Versions.all): Depend on that rather that
6497 $(common-objpfx)Versions.def.v.
6498 * Versions.def: File removed.
6500 * Makeconfig (+gccwarn): Add -Wundef.
6501 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6502 a dl-sysdep.h breaking its contract.
6503 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6504 * include/stackinfo.h: New file.
6505 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6506 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6507 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6508 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6509 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6510 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6511 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6512 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6513 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6514 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6515 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6516 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6517 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6518 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6519 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6521 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6524 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6526 * math/libm-test.inc (round_test_data): Add more tests.
6529 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6531 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6534 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6536 * math/libm-test.inc (ceil_test_data): Add more tests.
6538 * math/libm-test.inc (trunc_test_data): Add more tests related to
6541 2014-03-14 Roland McGrath <roland@hack.frob.com>
6543 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6544 with #if rather than #ifdef.
6545 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6547 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6549 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6550 first. Disable AVX-512 GCC support if assembler doesn't support
6552 * sysdeps/x86_64/configure: Regenerated.
6554 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6556 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6557 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6558 (__old_pthread_attr_setstack): Likewise.
6559 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6560 [!_STACK_GROWS_DOWN]: Likewise.
6562 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6564 * config.make.in (have-bash2): Delete.
6565 * configure.ac (libc_cv_have_bash2): Delete.
6566 * configure: Regenerate.
6567 * elf/Makefile (common-ldd-rewrite): Rename to ...
6568 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6569 (sh-ldd-rewrite): Delete.
6570 (bash-ldd-rewrite): Delete.
6571 (have-bash2): Delete checks.
6572 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6575 * config.make.in (have-ksh): Delete.
6577 * configure.ac (libc_cv_have_ksh): Delete.
6578 * configure: Regenerate.
6580 * elf/Makefile: Delete $(have-ksh) check.
6581 ($(objpfx)sotruss): Change KSH to BASH.
6582 * elf/sotruss.ksh: Rename to ...
6583 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6584 function style to match POSIX. Drop ksh vim mode setting.
6586 * manual/time.texi (Specifying the Time Zone with TZ): Change
6587 Tuesday to Thursday.
6589 * debug/tst-longjmp_chk2.c: Update header comment.
6590 (stackoverflow_handler): Add comment. Call assert on pass value.
6592 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6594 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6595 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6596 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6597 (La_x86_64_vector): Add zmm.
6598 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6599 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6600 ($(objpfx)tst-audit10): New target.
6601 ($(objpfx)tst-audit10.out): Likewise.
6602 (tst-audit10-ENV): New.
6603 (AVX512-CFLAGS): Likewise.
6604 (CFLAGS-tst-audit10.c): Likewise.
6605 (CFLAGS-tst-auditmod10a.c): Likewise.
6606 (CFLAGS-tst-auditmod10b.c): Likewise.
6607 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6608 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6609 * sysdeps/x86_64/configure: Regenerated.
6610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6611 AVX-512 zmm register support.
6612 (_dl_x86_64_save_sse): Likewise.
6613 (_dl_x86_64_restore_sse): Likewise.
6614 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6615 size vector registers.
6616 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6617 (ZMM_SIZE): Likewise.
6618 * sysdeps/x86_64/tst-audit10.c: New file.
6619 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6620 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6622 2014-03-13 Roland McGrath <roland@hack.frob.com>
6624 * configure.ac (HAVE_EHDR_START): New check.
6625 * configure: Regenerated.
6626 * config.h.in (HAVE_EHDR_START): New #undef.
6627 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6628 assuming the lowest-addressed segment maps the start of the file.
6630 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6632 * INSTALL: Regenerated.
6634 2014-03-13 Will Newton <will.newton@linaro.org>
6636 * manual/setjmp.texi (System V contexts): Improve
6637 clarity and grammar of documentation.
6639 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6642 * elf/Makefile (tests): Add tst-pie2.
6643 (tests-pie): Add tst-pie2.
6644 * elf/tst-pie2.c: New file.
6645 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6647 * elf/rtld.c (map_doit): Load executable as lt_executable.
6648 (dl_main): Likewise.
6650 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6654 (__ASSUME_PSELECT): Undefine.
6656 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6659 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6660 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6662 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6663 selector for static builds.
6665 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6668 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6671 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6673 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6674 IFUNC selector for static builds.
6676 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6678 * sysdeps/mips/math_private.h [__mips_hard_float]
6679 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6680 libc_feresetround_mips_ctx.
6681 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6682 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6683 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6686 * math/s_nextafter.c (__nextafter): Do not return value from
6687 overflowing computation.
6688 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6689 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6690 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6692 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6694 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6695 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6697 2014-03-11 Roland McGrath <roland@hack.frob.com>
6699 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6700 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6701 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6702 the new mov targetting sp.
6704 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6707 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6708 Define it for static builds as well.
6709 (NO_BZERO_IMPL): Likewise.
6711 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6713 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6714 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6715 multiarch strspn for PPC64.
6716 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6717 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6719 (__libc_ifunc_impl_list): Likewise.
6720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6721 multiarch optimizations
6722 * string/strspn.c (strspn): Using macro to redefine symbol name.
6724 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6725 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6727 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6728 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6729 multiarch strncat for PPC64.
6730 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6731 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6733 (__libc_ifunc_impl_list): Likewise.
6734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6735 multiarch optimizations
6737 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6740 * nscd/nscd.service: Make service type forking.
6742 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6744 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6745 sign in non default rounding modes.
6746 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6748 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6750 * math/libm-test.inc (ALL_RM_TEST): New macro.
6751 (ceil_test): Use ALL_RM_TEST.
6752 (cimag_test): Likewise.
6753 (conj_test): Likewise.
6754 (copysign_test): Likewise.
6755 (cproj_test): Likewise.
6756 (creal_test): Likewise.
6757 (fabs_test): Likewise.
6758 (floor_test): Likewise.
6759 (fmax_test): Likewise.
6760 (fmin_test): Likewise.
6761 (fmod_test): Likewise.
6762 (fpclassify_test): Likewise.
6763 (frexp_test): Likewise.
6764 (ilogb_test): Likewise.
6765 (isfinite_test): Likewise.
6766 (finite_test): Likewise.
6767 (isgreater_test): Likewise.
6768 (isgreaterequal_test): Likewise.
6769 (isinf_test): Likewise.
6770 (isless_test): Likewise.
6771 (islessequal_test): Likewise.
6772 (islessgreater_test): Likewise.
6773 (isnan_test): Likewise.
6774 (isnormal_test): Likewise.
6775 (issignaling_test): Likewise.
6776 (isunordered_test): Likewise.
6777 (logb_test): Likewise.
6778 (logb_downward_test_data): Remove.
6779 (logb_test_downward): Likewise.
6780 (lround_test): Use ALL_RM_TEST.
6781 (llround_test): Likewise.
6782 (modf_test): Likewise.
6783 (nexttoward_test): Likewise.
6784 (remainder_test): Likewise.
6785 (drem_test): Likewise.
6786 (remainder_tonearest_test_data): Likewise.
6787 (remainder_test_tonearest): Likewise.
6788 (drem_test_tonearest): Likewise.
6789 (remainder_towardzero_test_data): Likewise.
6790 (remainder_test_towardzero): Likewise.
6791 (drem_test_towardzero): Likewise.
6792 (remainder_downward_test_data): Likewise.
6793 (remainder_test_downward): Likewise.
6794 (drem_test_downward): Likewise.
6795 (remainder_upward_test_data): Likewise.
6796 (remainder_test_upward): Likewise.
6797 (drem_test_upward): Likewise.
6798 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6799 (round_test): Use ALL_RM_TEST.
6800 (signbit_test): Likewise.
6801 (trunc_test): Likewise.
6802 (significand_test): Likewise.
6803 (main): Don't call removed functions.
6805 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6808 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6810 (ILL_ILLOPN): Likewise.
6811 (ILL_ILLADR): Likewise.
6812 (ILL_ILLTRP): Likewise.
6813 (ILL_PRVOPC): Likewise.
6814 (ILL_PRVREG): Likewise.
6815 (ILL_COPROC): Likewise.
6816 (ILL_BADSTK): Likewise.
6817 (FPE_INTDIV): Likewise.
6818 (FPE_INTOVF): Likewise.
6819 (FPE_FLTDIV): Likewise.
6820 (FPE_FLTOVF): Likewise.
6821 (FPE_FLTUND): Likewise.
6822 (FPE_FLTRES): Likewise.
6823 (FPE_FLTINV): Likewise.
6824 (FPE_FLTSUB): Likewise.
6825 (SEGV_MAPERR): Likewise.
6826 (SEGV_ACCERR): Likewise.
6827 (BUS_ADRALN): Likewise.
6828 (BUS_ADRERR): Likewise.
6829 (BUS_OBJERR): Likewise.
6830 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6831 (TRAP_TRACE): Likewise.
6832 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6834 (CLD_KILLED): Likewise.
6835 (CLD_DUMPED): Likewise.
6836 (CLD_TRAPPED): Likewise.
6837 (CLD_STOPPED): Likewise.
6838 (CLD_CONTINUED): Likewise.
6839 (POLL_IN): Likewise.
6840 (POLL_OUT): Likewise.
6841 (POLL_MSG): Likewise.
6842 (POLL_ERR): Likewise.
6843 (POLL_PRI): Likewise.
6844 (POLL_HUP): Likewise.
6845 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6847 (ILL_ILLOPN): Likewise.
6848 (ILL_ILLADR): Likewise.
6849 (ILL_ILLTRP): Likewise.
6850 (ILL_PRVOPC): Likewise.
6851 (ILL_PRVREG): Likewise.
6852 (ILL_COPROC): Likewise.
6853 (ILL_BADSTK): Likewise.
6854 (FPE_INTDIV): Likewise.
6855 (FPE_INTOVF): Likewise.
6856 (FPE_FLTDIV): Likewise.
6857 (FPE_FLTOVF): Likewise.
6858 (FPE_FLTUND): Likewise.
6859 (FPE_FLTRES): Likewise.
6860 (FPE_FLTINV): Likewise.
6861 (FPE_FLTSUB): Likewise.
6862 (SEGV_MAPERR): Likewise.
6863 (SEGV_ACCERR): Likewise.
6864 (BUS_ADRALN): Likewise.
6865 (BUS_ADRERR): Likewise.
6866 (BUS_OBJERR): Likewise.
6867 (BUS_MCEERR_AR): Likewise.
6868 (BUS_MCEERR_AO): Likewise.
6869 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6870 (TRAP_TRACE): Likewise.
6871 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6873 (CLD_KILLED): Likewise.
6874 (CLD_DUMPED): Likewise.
6875 (CLD_TRAPPED): Likewise.
6876 (CLD_STOPPED): Likewise.
6877 (CLD_CONTINUED): Likewise.
6878 (POLL_IN): Likewise.
6879 (POLL_OUT): Likewise.
6880 (POLL_MSG): Likewise.
6881 (POLL_ERR): Likewise.
6882 (POLL_PRI): Likewise.
6883 (POLL_HUP): Likewise.
6884 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6885 (ILL_ILLOPN): Likewise.
6886 (ILL_ILLADR): Likewise.
6887 (ILL_ILLTRP): Likewise.
6888 (ILL_PRVOPC): Likewise.
6889 (ILL_PRVREG): Likewise.
6890 (ILL_COPROC): Likewise.
6891 (ILL_BADSTK): Likewise.
6892 (FPE_INTDIV): Likewise.
6893 (FPE_INTOVF): Likewise.
6894 (FPE_FLTDIV): Likewise.
6895 (FPE_FLTOVF): Likewise.
6896 (FPE_FLTUND): Likewise.
6897 (FPE_FLTRES): Likewise.
6898 (FPE_FLTINV): Likewise.
6899 (FPE_FLTSUB): Likewise.
6900 (SEGV_MAPERR): Likewise.
6901 (SEGV_ACCERR): Likewise.
6902 (BUS_ADRALN): Likewise.
6903 (BUS_ADRERR): Likewise.
6904 (BUS_OBJERR): Likewise.
6905 (BUS_MCEERR_AR): Likewise.
6906 (BUS_MCEERR_AO): Likewise.
6907 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6908 (TRAP_TRACE): Likewise.
6909 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6911 (CLD_KILLED): Likewise.
6912 (CLD_DUMPED): Likewise.
6913 (CLD_TRAPPED): Likewise.
6914 (CLD_STOPPED): Likewise.
6915 (CLD_CONTINUED): Likewise.
6916 (POLL_IN): Likewise.
6917 (POLL_OUT): Likewise.
6918 (POLL_MSG): Likewise.
6919 (POLL_ERR): Likewise.
6920 (POLL_PRI): Likewise.
6921 (POLL_HUP): Likewise.
6922 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6924 (ILL_ILLOPN): Likewise.
6925 (ILL_ILLADR): Likewise.
6926 (ILL_ILLTRP): Likewise.
6927 (ILL_PRVOPC): Likewise.
6928 (ILL_PRVREG): Likewise.
6929 (ILL_COPROC): Likewise.
6930 (ILL_BADSTK): Likewise.
6931 (ILL_BADIADDR): Likewise.
6932 (ILL_BREAK): Likewise.
6933 (FPE_INTDIV): Likewise.
6934 (FPE_INTOVF): Likewise.
6935 (FPE_FLTDIV): Likewise.
6936 (FPE_FLTOVF): Likewise.
6937 (FPE_FLTUND): Likewise.
6938 (FPE_FLTRES): Likewise.
6939 (FPE_FLTINV): Likewise.
6940 (FPE_FLTSUB): Likewise.
6941 (FPE_DECOVF): Likewise.
6942 (FPE_DECDIV): Likewise.
6943 (FPE_DECERR): Likewise.
6944 (FPE_INVASC): Likewise.
6945 (FPE_INVDEC): Likewise.
6946 (SEGV_MAPERR): Likewise.
6947 (SEGV_ACCERR): Likewise.
6948 (SEGV_PSTKOVF): Likewise.
6949 (BUS_ADRALN): Likewise.
6950 (BUS_ADRERR): Likewise.
6951 (BUS_OBJERR): Likewise.
6952 (BUS_MCEERR_AR): Likewise.
6953 (BUS_MCEERR_AO): Likewise.
6954 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6955 (TRAP_TRACE): Likewise.
6956 (TRAP_BRANCH): Likewise.
6957 (TRAP_HWBKPT): Likewise.
6958 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6960 (CLD_KILLED): Likewise.
6961 (CLD_DUMPED): Likewise.
6962 (CLD_TRAPPED): Likewise.
6963 (CLD_STOPPED): Likewise.
6964 (CLD_CONTINUED): Likewise.
6965 (POLL_IN): Likewise.
6966 (POLL_OUT): Likewise.
6967 (POLL_MSG): Likewise.
6968 (POLL_ERR): Likewise.
6969 (POLL_PRI): Likewise.
6970 (POLL_HUP): Likewise.
6971 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6972 (ILL_ILLOPN): Likewise.
6973 (ILL_ILLADR): Likewise.
6974 (ILL_ILLTRP): Likewise.
6975 (ILL_PRVOPC): Likewise.
6976 (ILL_PRVREG): Likewise.
6977 (ILL_COPROC): Likewise.
6978 (ILL_BADSTK): Likewise.
6979 (FPE_INTDIV): Likewise.
6980 (FPE_INTOVF): Likewise.
6981 (FPE_FLTDIV): Likewise.
6982 (FPE_FLTOVF): Likewise.
6983 (FPE_FLTUND): Likewise.
6984 (FPE_FLTRES): Likewise.
6985 (FPE_FLTINV): Likewise.
6986 (FPE_FLTSUB): Likewise.
6987 (SEGV_MAPERR): Likewise.
6988 (SEGV_ACCERR): Likewise.
6989 (BUS_ADRALN): Likewise.
6990 (BUS_ADRERR): Likewise.
6991 (BUS_OBJERR): Likewise.
6992 (BUS_MCEERR_AR): Likewise.
6993 (BUS_MCEERR_AO): Likewise.
6994 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6995 (TRAP_TRACE): Likewise.
6996 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6998 (CLD_KILLED): Likewise.
6999 (CLD_DUMPED): Likewise.
7000 (CLD_TRAPPED): Likewise.
7001 (CLD_STOPPED): Likewise.
7002 (CLD_CONTINUED): Likewise.
7003 (POLL_IN): Likewise.
7004 (POLL_OUT): Likewise.
7005 (POLL_MSG): Likewise.
7006 (POLL_ERR): Likewise.
7007 (POLL_PRI): Likewise.
7008 (POLL_HUP): Likewise.
7009 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7010 (ILL_ILLOPN): Likewise.
7011 (ILL_ILLADR): Likewise.
7012 (ILL_ILLTRP): Likewise.
7013 (ILL_PRVOPC): Likewise.
7014 (ILL_PRVREG): Likewise.
7015 (ILL_COPROC): Likewise.
7016 (ILL_BADSTK): Likewise.
7017 (FPE_INTDIV): Likewise.
7018 (FPE_INTOVF): Likewise.
7019 (FPE_FLTDIV): Likewise.
7020 (FPE_FLTOVF): Likewise.
7021 (FPE_FLTUND): Likewise.
7022 (FPE_FLTRES): Likewise.
7023 (FPE_FLTINV): Likewise.
7024 (FPE_FLTSUB): Likewise.
7025 (SEGV_MAPERR): Likewise.
7026 (SEGV_ACCERR): Likewise.
7027 (BUS_ADRALN): Likewise.
7028 (BUS_ADRERR): Likewise.
7029 (BUS_OBJERR): Likewise.
7030 (BUS_MCEERR_AR): Likewise.
7031 (BUS_MCEERR_AO): Likewise.
7032 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7033 (TRAP_TRACE): Likewise.
7034 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7036 (CLD_KILLED): Likewise.
7037 (CLD_DUMPED): Likewise.
7038 (CLD_TRAPPED): Likewise.
7039 (CLD_STOPPED): Likewise.
7040 (CLD_CONTINUED): Likewise.
7041 (POLL_IN): Likewise.
7042 (POLL_OUT): Likewise.
7043 (POLL_MSG): Likewise.
7044 (POLL_ERR): Likewise.
7045 (POLL_PRI): Likewise.
7046 (POLL_HUP): Likewise.
7047 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7048 (ILL_ILLOPN): Likewise.
7049 (ILL_ILLADR): Likewise.
7050 (ILL_ILLTRP): Likewise.
7051 (ILL_PRVOPC): Likewise.
7052 (ILL_PRVREG): Likewise.
7053 (ILL_COPROC): Likewise.
7054 (ILL_BADSTK): Likewise.
7055 (FPE_INTDIV): Likewise.
7056 (FPE_INTOVF): Likewise.
7057 (FPE_FLTDIV): Likewise.
7058 (FPE_FLTOVF): Likewise.
7059 (FPE_FLTUND): Likewise.
7060 (FPE_FLTRES): Likewise.
7061 (FPE_FLTINV): Likewise.
7062 (FPE_FLTSUB): Likewise.
7063 (SEGV_MAPERR): Likewise.
7064 (SEGV_ACCERR): Likewise.
7065 (BUS_ADRALN): Likewise.
7066 (BUS_ADRERR): Likewise.
7067 (BUS_OBJERR): Likewise.
7068 (BUS_MCEERR_AR): Likewise.
7069 (BUS_MCEERR_AO): Likewise.
7070 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7071 (TRAP_TRACE): Likewise.
7072 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7074 (CLD_KILLED): Likewise.
7075 (CLD_DUMPED): Likewise.
7076 (CLD_TRAPPED): Likewise.
7077 (CLD_STOPPED): Likewise.
7078 (CLD_CONTINUED): Likewise.
7079 (POLL_IN): Likewise.
7080 (POLL_OUT): Likewise.
7081 (POLL_MSG): Likewise.
7082 (POLL_ERR): Likewise.
7083 (POLL_PRI): Likewise.
7084 (POLL_HUP): Likewise.
7085 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7086 (ILL_ILLOPN): Likewise.
7087 (ILL_ILLADR): Likewise.
7088 (ILL_ILLTRP): Likewise.
7089 (ILL_PRVOPC): Likewise.
7090 (ILL_PRVREG): Likewise.
7091 (ILL_COPROC): Likewise.
7092 (ILL_BADSTK): Likewise.
7093 (ILL_DBLFLT): Likewise.
7094 (ILL_HARDWALL): Likewise.
7095 (FPE_INTDIV): Likewise.
7096 (FPE_INTOVF): Likewise.
7097 (FPE_FLTDIV): Likewise.
7098 (FPE_FLTOVF): Likewise.
7099 (FPE_FLTUND): Likewise.
7100 (FPE_FLTRES): Likewise.
7101 (FPE_FLTINV): Likewise.
7102 (FPE_FLTSUB): Likewise.
7103 (SEGV_MAPERR): Likewise.
7104 (SEGV_ACCERR): Likewise.
7105 (BUS_ADRALN): Likewise.
7106 (BUS_ADRERR): Likewise.
7107 (BUS_OBJERR): Likewise.
7108 (BUS_MCEERR_AR): Likewise.
7109 (BUS_MCEERR_AO): Likewise.
7110 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7111 (TRAP_TRACE): Likewise.
7112 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7114 (CLD_KILLED): Likewise.
7115 (CLD_DUMPED): Likewise.
7116 (CLD_TRAPPED): Likewise.
7117 (CLD_STOPPED): Likewise.
7118 (CLD_CONTINUED): Likewise.
7119 (POLL_IN): Likewise.
7120 (POLL_OUT): Likewise.
7121 (POLL_MSG): Likewise.
7122 (POLL_ERR): Likewise.
7123 (POLL_PRI): Likewise.
7124 (POLL_HUP): Likewise.
7125 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7126 (ILL_ILLOPN): Likewise.
7127 (ILL_ILLADR): Likewise.
7128 (ILL_ILLTRP): Likewise.
7129 (ILL_PRVOPC): Likewise.
7130 (ILL_PRVREG): Likewise.
7131 (ILL_COPROC): Likewise.
7132 (ILL_BADSTK): Likewise.
7133 (FPE_INTDIV): Likewise.
7134 (FPE_INTOVF): Likewise.
7135 (FPE_FLTDIV): Likewise.
7136 (FPE_FLTOVF): Likewise.
7137 (FPE_FLTUND): Likewise.
7138 (FPE_FLTRES): Likewise.
7139 (FPE_FLTINV): Likewise.
7140 (FPE_FLTSUB): Likewise.
7141 (SEGV_MAPERR): Likewise.
7142 (SEGV_ACCERR): Likewise.
7143 (BUS_ADRALN): Likewise.
7144 (BUS_ADRERR): Likewise.
7145 (BUS_OBJERR): Likewise.
7146 (BUS_MCEERR_AR): Likewise.
7147 (BUS_MCEERR_AO): Likewise.
7148 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7149 (TRAP_TRACE): Likewise.
7150 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7152 (CLD_KILLED): Likewise.
7153 (CLD_DUMPED): Likewise.
7154 (CLD_TRAPPED): Likewise.
7155 (CLD_STOPPED): Likewise.
7156 (CLD_CONTINUED): Likewise.
7157 (POLL_IN): Likewise.
7158 (POLL_OUT): Likewise.
7159 (POLL_MSG): Likewise.
7160 (POLL_ERR): Likewise.
7161 (POLL_PRI): Likewise.
7162 (POLL_HUP): Likewise.
7163 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7164 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7167 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7168 before #include of <time.h>.
7169 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7170 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7171 (test-xfail-UNIX98/sched.h/conform): Likewise.
7173 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7175 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7176 error absence of trapping exception support.
7177 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7179 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7181 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7182 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7183 * timezone/Makefile (testdata): Move definition above include of
7185 (test-zones): New variable.
7186 (tests-special): Add zone files.
7187 (build-testdata): Use $(evaluate-test).
7189 * elf/Makefile (tests-special): Rename tests to end with .out.
7190 ($(objpfx)noload-mem): Likewise.
7191 ($(objpfx)tst-leaks1-mem): Likewise.
7192 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7193 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7194 $(objpfx)test-iconvconfig.out.
7195 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7196 set -e inside subshell and redirect output to file.
7197 * iconvdata/Makefile (generated): Rename tests to end with .out.
7199 (tests-special): Rename tests to end with .out.
7200 ($(objpfx)mtrace-tst-loading): Likewise.
7201 * intl/Makefile (generated): Likewise.
7202 (tests-special): Likewise.
7203 ($(objpfx)mtrace-tst-gettext): Likewise.
7204 * misc/Makefile (generated): Likewise.
7205 (tests-special): Likewise.
7206 ($(objpfx)tst-error1-mem): Likewise.
7207 * nptl/Makefile (tests-special): Likewise.
7208 ($(objpfx)tst-stack3-mem): Likewise.
7209 (generated): Likewise.
7210 * posix/Makefile (generated): Likewise.
7211 (tests-special): Likewise.
7212 (xtests-special): Likewise.
7213 ($(objpfx)tst-fnmatch-mem): Likewise.
7214 ($(objpfx)bug-regex2-mem): Likewise.
7215 ($(objpfx)bug-regex14-mem): Likewise.
7216 ($(objpfx)bug-regex21-mem): Likewise.
7217 ($(objpfx)bug-regex31-mem): Likewise.
7218 ($(objpfx)tst-vfork3-mem): Likewise.
7219 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7220 ($(objpfx)tst-pcre-mem): Likewise.
7221 ($(objpfx)tst-boost-mem): Likewise.
7222 ($(objpfx)bug-ga2-mem): Likewise.
7223 ($(objpfx)bug-glob2-mem): Likewise.
7224 * resolv/Makefile (generate): Likewise.
7225 (tests-special): Likewise.
7226 (xtests-special): Likewise.
7227 (generated): Likewise.
7228 ($(objpfx)mtrace-tst-leaks): Likewise.
7229 ($(objpfx)mtrace-tst-leaks2): Likewise.
7231 * scripts/merge-test-results.sh: New file.
7232 * Makefile (tests-special-notdir): New variable.
7233 (tests): Run merge-test-results.sh.
7235 * Rules (tests-special-notdir): New variable.
7236 (xtests-special-notdir): Likewise.
7237 (tests): Run merge-test-results.sh
7240 * Makeconfig (test-xfail-name): New variable.
7241 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7242 compute variable name for expected failures.
7243 * conform/Makefile (conformtest-headers-data): New variable.
7244 (conformtest-standards): Likewise.
7245 (conformtest-headers-ISO): Likewise.
7246 (conformtest-headers-ISO99): Likewise.
7247 (conformtest-headers-ISO11): Likewise.
7248 (conformtest-headers-POSIX): Likewise.
7249 (conformtest-headers-XPG3): Likewise.
7250 (conformtest-headers-XPG4): Likewise.
7251 (conformtest-headers-UNIX98): Likewise.
7252 (conformtest-headers-XOPEN2K): Likewise.
7253 (conformtest-headers-POSIX2008): Likewise.
7254 (conformtest-headers-XOPEN2K8): Likewise.
7255 (conformtest-header-list-base): Likewise.
7256 (conformtest-header-list-tests): Likewise.
7257 (conformtest-header-base): Likewise.
7258 (conformtest-header-tests): Likewise.
7259 (tests-special): Add $(conformtest-header-list-tests). If
7260 [$(fast-check) && !$(cross-compiling)], add
7261 $(conformtest-header-tests) instead of
7262 $(objpfx)run-conformtest.out.
7263 (generated): Add $(conformtest-header-list-base). If
7264 [$(fast-check) && !$(cross-compiling)], add
7265 $(conformtest-header-base). Remove previous setting.
7266 ($(conformtest-header-list-tests)): New target.
7267 (test-xfail-run-conformtest): Remove variable.
7268 ($(objpfx)run-conformtest.out): Remove target.
7269 (test-xfail-ISO11/complex.h/conform): New variable.
7270 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7271 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7272 (test-xfail-XPG3/varargs.h/conform): Likewise.
7273 (test-xfail-XPG4/varargs.h/conform): Likewise.
7274 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7275 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7276 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7277 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7278 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7279 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7280 (test-xfail-XPG3/ftw.h/conform): Likewise.
7281 (test-xfail-XPG3/grp.h/conform): Likewise.
7282 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7283 (test-xfail-XPG3/limits.h/conform): Likewise.
7284 (test-xfail-XPG3/pwd.h/conform): Likewise.
7285 (test-xfail-XPG3/search.h/conform): Likewise.
7286 (test-xfail-XPG3/signal.h/conform): Likewise.
7287 (test-xfail-XPG3/stdio.h/conform): Likewise.
7288 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7289 (test-xfail-XPG3/string.h/conform): Likewise.
7290 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7291 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7292 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7293 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7294 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7295 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7296 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7297 (test-xfail-XPG3/termios.h/conform): Likewise.
7298 (test-xfail-XPG3/time.h/conform): Likewise.
7299 (test-xfail-XPG3/unistd.h/conform): Likewise.
7300 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7301 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7302 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7303 (test-xfail-XPG4/netdb.h/conform): Likewise.
7304 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7305 (test-xfail-XPG4/signal.h/conform): Likewise.
7306 (test-xfail-XPG4/stdio.h/conform): Likewise.
7307 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7308 (test-xfail-XPG4/stropts.h/conform): Likewise.
7309 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7310 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7311 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7312 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7313 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7314 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7315 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7316 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7317 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7318 (test-xfail-XPG4/termios.h/conform): Likewise.
7319 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7320 (test-xfail-XPG4/unistd.h/conform): Likewise.
7321 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7322 (test-xfail-POSIX/sched.h/conform): Likewise.
7323 (test-xfail-POSIX/signal.h/conform): Likewise.
7324 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7325 (test-xfail-POSIX/tar.h/conform): Likewise.
7326 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7327 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7328 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7329 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7330 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7331 (test-xfail-UNIX98/sched.h/conform): Likewise.
7332 (test-xfail-UNIX98/signal.h/conform): Likewise.
7333 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7334 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7335 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7336 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7337 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7338 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7339 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7340 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7341 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7342 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7343 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7344 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7345 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7346 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7347 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7348 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7349 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7350 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7351 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7352 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7353 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7354 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7355 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7356 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7357 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7358 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7359 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7360 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7361 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7362 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7363 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7364 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7365 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7366 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7367 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7368 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7369 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7370 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7371 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7372 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7373 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7374 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7375 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7376 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7377 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7378 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7379 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7380 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7381 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7382 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7383 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7384 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7385 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7386 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7387 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7388 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7389 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7390 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7391 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7392 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7393 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7394 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7395 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7396 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7397 (conformtest-cc-flags): Likewise.
7398 ($(conformtest-header-tests): New target.
7399 * conform/check-header-lists.sh: New file.
7400 * conform/run-conformtest.sh: Remove.
7402 * conform/conformtest.pl: Allow ' and \ in values given for
7404 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7406 [POSIX] (sys/types.h): Likewise.
7407 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7409 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7411 * conform/data/signal.h-data (SIGIO): Remove expectation.
7412 [XPG3] (SIGBUS): Do not expect.
7413 [POSIX || XPG3] (SIGPOLL): Likewise.
7414 [POSIX || XPG3] (SIGPROF): Likewise.
7415 [POSIX || XPG3] (SIGSYS): Likewise.
7416 [XPG3] (SIGTRAP): Likewise.
7417 [POSIX || XPG3] (SIGURG): Likewise.
7418 [POSIX || XPG3] (SIGVTALRM): Likewise.
7419 [POSIX || XPG3] (SIGXCPU): Likewise.
7420 [POSIX || XPG3] (SIGXFSZ): Likewise.
7421 [POSIX] (SA_SIGINFO): Expect.
7422 [XPG3] (siginfo_t): Do not expect type or contents.
7423 [POSIX] (si_pid): Do not expect element.
7424 [POSIX] (si_uid): Likewise.
7425 [POSIX] (si_addr): Likewise.
7426 [POSIX] (si_status): Likewise.
7427 [POSIX] (si_band): Likewise.
7428 [XPG4] (si_value): Likewise.
7429 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7430 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7431 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7432 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7433 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7434 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7435 [POSIX || XPG3] (ILL_COPROC): Likewise.
7436 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7437 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7438 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7439 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7440 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7441 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7442 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7443 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7444 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7445 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7446 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7447 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7448 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7449 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7450 [POSIX || XPG3] (CLD_EXITED): Likewise.
7451 [POSIX || XPG3] (CLD_KILLED): Likewise.
7452 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7453 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7454 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7455 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7456 [POSIX || XPG3] (POLL_IN): Likewise.
7457 [POSIX || XPG3] (POLL_OUT): Likewise.
7458 [POSIX || XPG3] (POLL_MSG): Likewise.
7459 [POSIX || XPG3] (POLL_ERR): Likewise.
7460 [POSIX || XPG3] (POLL_PRI): Likewise.
7461 [POSIX || XPG3] (POLL_HUP): Likewise.
7462 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7463 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7464 (SIG*): Do not allow.
7465 [XPG3] (si_*): Likewise.
7466 [XPG3] (SI_*): Likewise.
7467 [XPG3 || XPG4] (sigev_*): Likewise.
7468 [XPG3 || XPG4] (SIGEV_*): Likewise.
7469 [XPG3 || XPG4] (sival_*): Likewise.
7470 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7471 [POSIX || XPG3] (BUS_*): Likewise.
7472 [POSIX || XPG3] (CLD_*): Likewise.
7473 [POSIX || XPG3] (FPE_*): Likewise.
7474 [POSIX || XPG3] (ILL_*): Likewise.
7475 [POSIX || XPG3] (POLL_*): Likewise.
7476 [POSIX || XPG3] (SEGV_*): Likewise.
7477 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7478 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7479 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7480 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7481 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7482 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7483 Specify type and value.
7484 (TVERSLEN): Likewise.
7485 (REGTYPE): Likewise.
7486 (AREGTYPE): Likewise.
7487 (LNKTYPE): Likewise.
7488 (SYMTYPE): Likewise.
7489 (CHRTYPE): Likewise.
7490 (BLKTYPE): Likewise.
7491 (DIRTYPE): Likewise.
7492 (FIFOTYPE): Likewise.
7493 (CONTTYPE): Likewise.
7498 (TUWRITE): Likewise.
7501 (TGWRITE): Likewise.
7504 (TOWRITE): Likewise.
7506 [POSIX] (TSVTX): Expect constant.
7508 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7510 * Makefile (tests): Change dependencies to ....
7511 (tests-special): ... additions to this variable.
7512 (tests): Depend on $(tests-special).
7513 * Makerules (check-abi-list): New variable.
7514 (check-abi): Depend on $(check-abi-list).
7515 [$(subdir) = elf] (tests-special): Add
7516 $(objpfx)check-abi-libc.out.
7517 [$(build-shared) = yes && subdir] (tests-special): Add
7519 [$(build-shared) = yes && subdir] (tests): Do not depend on
7521 * Rules (tests): Depend on $(tests-special).
7522 (xtests): Depend on $(xtests-special).
7523 * catgets/Makefile (tests): Change dependencies to ....
7524 (tests-special): ... additions to this variable.
7525 * conform/Makefile (tests): Change dependencies to ....
7526 (tests-special): ... additions to this variable.
7527 * elf/Makefile (tests): Change dependencies to ....
7528 (tests-special): ... additions to this variable.
7529 * grp/Makefile (tests): Change dependencies to ....
7530 (tests-special): ... additions to this variable.
7531 * iconv/Makefile (xtests): Change dependencies to ....
7532 (xtests-special): ... additions to this variable.
7533 * iconvdata/Makefile (tests): Change dependencies to ....
7534 (tests-special): ... additions to this variable.
7535 * intl/Makefile (tests): Change dependencies to ....
7536 (tests-special): ... additions to this variable. Also add
7537 $(objpfx)tst-gettext.out.
7538 * io/Makefile (tests): Change dependencies to ....
7539 (tests-special): ... additions to this variable.
7540 * libio/Makefile (tests): Change dependencies to ....
7541 (tests-special): ... additions to this variable.
7542 * malloc/Makefile (tests): Change dependencies to ....
7543 (tests-special): ... additions to this variable.
7544 * misc/Makefile (tests): Change dependencies to ....
7545 (tests-special): ... additions to this variable.
7546 * nptl/Makefile (tests): Change dependencies to ....
7547 (tests-special): ... additions to this variable.
7548 * nptl_db/Makefile (tests): Change dependencies to ....
7549 (tests-special): ... additions to this variable.
7550 * posix/Makefile (tests): Change dependencies to ....
7551 (tests-special): ... additions to this variable.
7552 (xtests): Change dependencies to ....
7553 (xtests-special): ... additions to this variable.
7554 * resolv/Makefile (tests): Change dependencies to ....
7555 (tests-special): ... additions to this variable.
7556 (xtests): Change dependencies to ....
7557 (xtests-special): ... additions to this variable.
7558 * stdio-common/Makefile (tests): Change dependencies to ....
7559 (tests-special): ... additions to this variable.
7560 (do-tst-unbputc): Remove target.
7561 (do-tst-printf): Likewise.
7562 * stdlib/Makefile (tests): Change dependencies to ....
7563 (tests-special): ... additions to this variable.
7564 * string/Makefile (tests): Change dependencies to ....
7565 (tests-special): ... additions to this variable.
7566 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7567 (tests-special): ... additions to this variable.
7569 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7571 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7573 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7574 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7576 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7577 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7578 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7579 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7580 * conform/data/libgen.h-data [XPG3]: Likewise.
7581 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7582 * conform/data/ndbm.h-data [XPG3]: Likewise.
7583 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7584 * conform/data/netdb.h-data [XPG3]: Likewise.
7585 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7586 * conform/data/poll.h-data [XPG3]: Likewise.
7587 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7588 * conform/data/strings.h-data [XPG3]: Likewise.
7589 * conform/data/stropts.h-data [XPG3]: Likewise.
7590 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7591 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7592 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7594 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7595 * conform/data/sys/time.h-data [XPG3]: Likewise.
7596 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7597 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7598 * conform/data/sys/un.h-data [XPG3]: Likewise.
7599 * conform/data/syslog.h-data [XPG3]: Likewise.
7600 * conform/data/ucontext.h-data [XPG3]: Likewise.
7601 * conform/data/utmpx.h-data [XPG3]: Likewise.
7602 * conform/data/varargs.h-data [UNIX98]: Enable file.
7604 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7606 * math/libm-test.inc (struct test_f_f_data): Move expected results
7607 into structure for each rounding mode.
7608 (struct test_ff_f_data): Likewise.
7609 (struct test_ff_f_data_nexttoward): Likewise.
7610 (struct test_fi_f_data): Likewise.
7611 (struct test_fl_f_data): Likewise.
7612 (struct test_if_f_data): Likewise.
7613 (struct test_fff_f_data): Likewise.
7614 (struct test_c_f_data): Likewise.
7615 (struct test_f_f1_data): Likewise.
7616 (struct test_fF_f1_data): Likewise.
7617 (struct test_ffI_f1_data): Likewise.
7618 (struct test_c_c_data): Likewise.
7619 (struct test_cc_c_data): Likewise.
7620 (struct test_f_i_data): Likewise.
7621 (struct test_ff_i_data): Likewise.
7622 (struct test_f_l_data): Likewise.
7623 (struct test_f_L_data): Likewise.
7624 (struct test_fFF_11_data): Likewise.
7626 (RM_FE_DOWNWARD): Likewise.
7627 (RM_FE_TONEAREST): Likewise.
7628 (RM_FE_TOWARDZERO): Likewise.
7629 (RM_FE_UPWARD): Likewise.
7630 (RUN_TEST_LOOP_f_f): Update references to expected results.
7631 (RUN_TEST_LOOP_2_f): Likewise.
7632 (RUN_TEST_LOOP_fff_f): Likewise.
7633 (RUN_TEST_LOOP_c_f): Likewise.
7634 (RUN_TEST_LOOP_f_f1): Likewise.
7635 (RUN_TEST_LOOP_fF_f1): Likewise.
7636 (RUN_TEST_LOOP_fI_f1): Likewise.
7637 (RUN_TEST_LOOP_ffI_f1): Likewise.
7638 (RUN_TEST_LOOP_c_c): Likewise.
7639 (RUN_TEST_LOOP_cc_c): Likewise.
7640 (RUN_TEST_LOOP_f_i): Likewise.
7641 (RUN_TEST_LOOP_f_i_tg): Likewise.
7642 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7643 (RUN_TEST_LOOP_f_b): Likewise.
7644 (RUN_TEST_LOOP_f_b_tg): Likewise.
7645 (RUN_TEST_LOOP_f_l): Likewise.
7646 (RUN_TEST_LOOP_f_L): Likewise.
7647 (RUN_TEST_LOOP_fFF_11): Likewise.
7648 * math/gen-libm-test.pl (parse_args): Output four copies of
7649 expected results for each test.
7651 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7652 (__ASSUME_UTIMES): Remove.
7653 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7654 (__ASSUME_UTIMES): Likewise.
7656 * math/gen-auto-libm-tests.c: Update comment on output format.
7657 (output_for_one_input_case): Generate before-rounding and
7658 after-rounding information as conditions on output flags not
7659 floating-point format.
7660 * math/auto-libm-test-out: Regenerated.
7661 * math/gen-libm-test.pl (cond_value): New function.
7662 (or_cond_value): Use cond_value.
7663 (generate_testfile): Handle conditional exceptions.
7665 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7667 * math/libm-test.inc (max_valid_error): New variable.
7668 (init_max_error): Take new argument specifying whether function
7669 results are exactly determined. Set max_valid_error and bound
7670 other variables for errors based on this argument.
7671 (set_max_error): Do not record results above max_valid_error.
7672 (check_float_internal): Only accept errors of up to 0.5ulps if
7673 also at most max_valid_error.
7674 (START): Take new argument EXACT and pass it to init_max_error.
7675 (acos_test): Update call to START.
7676 (acos_test_tonearest): Likewise.
7677 (acos_test_towardzero): Likewise.
7678 (acos_test_downward): Likewise.
7679 (acos_test_upward): Likewise.
7680 (acosh_test): Likewise.
7681 (asin_test): Likewise.
7682 (asin_test_tonearest): Likewise.
7683 (asin_test_towardzero): Likewise.
7684 (asin_test_downward): Likewise.
7685 (asin_test_upward): Likewise.
7686 (asinh_test): Likewise.
7687 (atan_test): Likewise.
7688 (atanh_test): Likewise.
7689 (atan2_test): Likewise.
7690 (cabs_test): Likewise.
7691 (cacos_test): Likewise.
7692 (cacosh_test): Likewise.
7693 (carg_test): Likewise.
7694 (casin_test): Likewise.
7695 (casinh_test): Likewise.
7696 (catan_test): Likewise.
7697 (catanh_test): Likewise.
7698 (cbrt_test): Likewise.
7699 (ccos_test): Likewise.
7700 (ccosh_test): Likewise.
7701 (ceil_test): Likewise.
7702 (cexp_test): Likewise.
7703 (cimag_test): Likewise.
7704 (clog_test): Likewise.
7705 (clog10_test): Likewise.
7706 (conj_test): Likewise.
7707 (copysign_test): Likewise.
7708 (cos_test): Likewise.
7709 (cos_test_tonearest): Likewise.
7710 (cos_test_towardzero): Likewise.
7711 (cos_test_downward): Likewise.
7712 (cos_test_upward): Likewise.
7713 (cosh_test): Likewise.
7714 (cosh_test_tonearest): Likewise.
7715 (cosh_test_towardzero): Likewise.
7716 (cosh_test_downward): Likewise.
7717 (cosh_test_upward): Likewise.
7718 (cpow_test): Likewise.
7719 (cproj_test): Likewise.
7720 (creal_test): Likewise.
7721 (csin_test): Likewise.
7722 (csinh_test): Likewise.
7723 (csqrt_test): Likewise.
7724 (ctan_test): Likewise.
7725 (ctan_test_tonearest): Likewise.
7726 (ctan_test_towardzero): Likewise.
7727 (ctan_test_downward): Likewise.
7728 (ctan_test_upward): Likewise.
7729 (ctanh_test): Likewise.
7730 (ctanh_test_tonearest): Likewise.
7731 (ctanh_test_towardzero): Likewise.
7732 (ctanh_test_downward): Likewise.
7733 (ctanh_test_upward): Likewise.
7734 (erf_test): Likewise.
7735 (erfc_test): Likewise.
7736 (exp_test): Likewise.
7737 (exp_test_tonearest): Likewise.
7738 (exp_test_towardzero): Likewise.
7739 (exp_test_downward): Likewise.
7740 (exp_test_upward): Likewise.
7741 (exp10_test): Likewise.
7742 (exp10_test_tonearest): Likewise.
7743 (exp10_test_towardzero): Likewise.
7744 (exp10_test_downward): Likewise.
7745 (exp10_test_upward): Likewise.
7746 (pow10_test): Likewise.
7747 (exp2_test): Likewise.
7748 (expm1_test): Likewise.
7749 (expm1_test_tonearest): Likewise.
7750 (expm1_test_towardzero): Likewise.
7751 (expm1_test_downward): Likewise.
7752 (expm1_test_upward): Likewise.
7753 (fabs_test): Likewise.
7754 (fdim_test): Likewise.
7755 (floor_test): Likewise.
7756 (fma_test): Likewise.
7757 (fma_test_towardzero): Likewise.
7758 (fma_test_downward): Likewise.
7759 (fma_test_upward): Likewise.
7760 (fmax_test): Likewise.
7761 (fmin_test): Likewise.
7762 (fmod_test): Likewise.
7763 (fpclassify_test): Likewise.
7764 (frexp_test): Likewise.
7765 (hypot_test): Likewise.
7766 (ilogb_test): Likewise.
7767 (isfinite_test): Likewise.
7768 (finite_test): Likewise.
7769 (isgreater_test): Likewise.
7770 (isgreaterequal_test): Likewise.
7771 (isinf_test): Likewise.
7772 (isless_test): Likewise.
7773 (islessequal_test): Likewise.
7774 (islessgreater_test): Likewise.
7775 (isnan_test): Likewise.
7776 (isnormal_test): Likewise.
7777 (issignaling_test): Likewise.
7778 (isunordered_test): Likewise.
7779 (j0_test): Likewise.
7780 (j1_test): Likewise.
7781 (jn_test): Likewise.
7782 (ldexp_test): Likewise.
7783 (lgamma_test): Likewise.
7784 (gamma_test): Likewise.
7785 (lrint_test): Likewise.
7786 (lrint_test_tonearest): Likewise.
7787 (lrint_test_towardzero): Likewise.
7788 (lrint_test_downward): Likewise.
7789 (lrint_test_upward): Likewise.
7790 (llrint_test): Likewise.
7791 (llrint_test_tonearest): Likewise.
7792 (llrint_test_towardzero): Likewise.
7793 (llrint_test_downward): Likewise.
7794 (llrint_test_upward): Likewise.
7795 (log_test): Likewise.
7796 (log10_test): Likewise.
7797 (log1p_test): Likewise.
7798 (log2_test): Likewise.
7799 (logb_test): Likewise.
7800 (logb_test_downward): Likewise.
7801 (lround_test): Likewise.
7802 (llround_test): Likewise.
7803 (modf_test): Likewise.
7804 (nearbyint_test): Likewise.
7805 (nextafter_test): Likewise.
7806 (nexttoward_test): Likewise.
7807 (pow_test): Likewise.
7808 (pow_test_tonearest): Likewise.
7809 (pow_test_towardzero): Likewise.
7810 (pow_test_downward): Likewise.
7811 (pow_test_upward): Likewise.
7812 (remainder_test): Likewise.
7813 (drem_test): Likewise.
7814 (remainder_test_tonearest): Likewise.
7815 (drem_test_tonearest): Likewise.
7816 (remainder_test_towardzero): Likewise.
7817 (drem_test_towardzero): Likewise.
7818 (remainder_test_downward): Likewise.
7819 (drem_test_downward): Likewise.
7820 (remainder_test_upward): Likewise.
7821 (drem_test_upward): Likewise.
7822 (remquo_test): Likewise.
7823 (rint_test): Likewise.
7824 (rint_test_tonearest): Likewise.
7825 (rint_test_towardzero): Likewise.
7826 (rint_test_downward): Likewise.
7827 (rint_test_upward): Likewise.
7828 (round_test): Likewise.
7829 (scalb_test): Likewise.
7830 (scalbn_test): Likewise.
7831 (scalbln_test): Likewise.
7832 (signbit_test): Likewise.
7833 (sin_test): Likewise.
7834 (sin_test_tonearest): Likewise.
7835 (sin_test_towardzero): Likewise.
7836 (sin_test_downward): Likewise.
7837 (sin_test_upward): Likewise.
7838 (sincos_test): Likewise.
7839 (sinh_test): Likewise.
7840 (sinh_test_tonearest): Likewise.
7841 (sinh_test_towardzero): Likewise.
7842 (sinh_test_downward): Likewise.
7843 (sinh_test_upward): Likewise.
7844 (sqrt_test): Likewise.
7845 (sqrt_test_tonearest): Likewise.
7846 (sqrt_test_towardzero): Likewise.
7847 (sqrt_test_downward): Likewise.
7848 (sqrt_test_upward): Likewise.
7849 (tan_test): Likewise.
7850 (tan_test_tonearest): Likewise.
7851 (tan_test_towardzero): Likewise.
7852 (tan_test_downward): Likewise.
7853 (tan_test_upward): Likewise.
7854 (tanh_test): Likewise.
7855 (tgamma_test): Likewise.
7856 (trunc_test): Likewise.
7857 (y0_test): Likewise.
7858 (y1_test): Likewise.
7859 (yn_test): Likewise.
7860 (significand_test): Likewise.
7862 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7863 individual tests in comment.
7864 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7865 (prev_max_error): New variable.
7866 (prev_real_max_error): Likewise.
7867 (prev_imag_max_error): Likewise.
7868 (compare_ulp_data): Don't refer to test names in comment.
7869 (find_test_ulps): Remove function.
7870 (find_function_ulps): Likewise.
7871 (find_complex_function_ulps): Likewise.
7872 (init_max_error): Take function name as argument. Look up ulps
7874 (print_ulps): Remove function.
7875 (print_max_error): Use prev_max_error instead of calling
7877 (print_complex_max_error): Use prev_real_max_error and
7878 prev_imag_max_error instead of calling find_complex_function_ulps.
7879 (check_float_internal): Take max_ulp parameter instead of calling
7880 find_test_ulps. Don't call print_ulps.
7881 (check_float): Update call to check_float_internal.
7882 (check_complex): Update calls to check_float_internal.
7883 (START): Pass argument to init_max_error.
7884 * math/gen-libm-test.pl (%results): Don't include "kind"
7886 (parse_ulps): Don't handle ulps of individual tests.
7887 (print_ulps_file): Likewise.
7888 (output_ulps): Likewise.
7889 * math/README.libm-test: Update.
7890 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7892 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7893 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7894 * sysdeps/arm/libm-test-ulps: Likewise.
7895 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7896 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7897 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7898 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7899 * sysdeps/microblaze/libm-test-ulps: Likewise.
7900 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7901 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7902 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7903 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7904 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7905 * sysdeps/sh/libm-test-ulps: Likewise.
7906 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7907 * sysdeps/tile/libm-test-ulps: Likewise.
7908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7910 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7912 * math/libm-test.inc (print_complex_max_error): Check separately
7913 whether real and imaginary errors are within allowed range and
7914 pass 0 to print_complex_function_ulps instead of value within
7917 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7919 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7921 (get_handles_fopen): Likewise.
7922 (do_write_test): Likewise.
7924 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7926 * libio/fileops.c (do_ftell): Use cached offset when
7928 * libio/iofwide.c (do_ftell_wide): Likewise.
7929 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7931 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7934 * libio/libioP.h (get_file_offset): New function.
7935 * libio/fileops.c (get_file_offset): Likewise.
7936 (do_ftell): Likewise.
7937 (_IO_new_file_seekoff): Split out ftell logic.
7938 * libio/wfileops.c (do_ftell_wide): Likewise.
7939 (_IO_wfile_seekoff): Split out ftell logic.
7940 * libio/tst-ftell-active-handler.c: New test case.
7941 * libio/Makefile (tests): Add it.
7943 2014-03-03 Roland McGrath <roland@hack.frob.com>
7945 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7946 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7948 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7951 * nscd/connections.c (nscd_init): Call do_exit.
7952 (start_threads): Call do_exit and notify_parent.
7953 (begin_drop_privileges): Call do_exit.
7954 (finish_drop_privileges): Likewise.
7955 * nscd/selinux.c (preserve_capabilities): Likewise.
7956 (install_real_capabilities): Likewise.
7957 (nscd_selinux_enabled): Likewise.
7958 (avc_create_thread): Likewise.
7959 (avc_alloc_lock): Likewise.
7960 (nscd_avc_init): Likewise.
7961 * nscd/nscd.c (parent_fd): New static variable.
7962 (main): Create a pipe between parent and child processes.
7963 Skip closing parent_fd.
7964 (monitor_child): New function.
7965 (do_exit): Likewise.
7966 (notify_parent): Likewise.
7967 * nscd/nscd.h (notify_parent): Likewise.
7968 (do_exit): Likewise.
7970 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7972 * malloc/malloc.c (__libc_calloc): Revert last change.
7974 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7978 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7980 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7984 (__libc_ifunc_impl_list): Likewise.
7985 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7986 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7987 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7988 * string/strrchr.c: Define STRRCHR.
7990 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7992 * benchtest/bench-strtok.c (simple_strtok): Delete.
7993 (strtok_string): Use as benchmark.
7994 * string/strtok (STRTOK): New macro.
7996 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7998 * manual/threads.texi: Add header and standard comments to all
8001 * elf/dl-lookup.c (check_match): New function.
8002 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8003 (do_lookup_x): Remove nested function check_match. Use non-nested
8004 function check_match.
8006 2014-02-28 Roland McGrath <roland@hack.frob.com>
8008 * csu/Makefile (generated, before-compile): Use += rather than =.
8009 * catgets/Makefile (generated, generated-dirs): Likewise.
8010 * debug/Makefile (generated): Likewise.
8011 * dlfcn/Makefile (generated): Likewise.
8012 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8013 * iconvdata/Makefile (before-compile, generated): Likewise.
8014 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8015 * libio/Makefile (generated): Likewise.
8016 * malloc/Makefile (generated): Likewise.
8017 * manual/Makefile (generated, generated-dirs): Likewise.
8018 * misc/Makefile (generated): Likewise.
8019 * posix/Makefile (generated): Likewise.
8020 * resolv/Makefile (generated): Likewise.
8021 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8022 * timezone/Makefile (generated, generated-dirs): Likewise.
8024 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8026 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8029 power8 implementation.
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8031 file: POWER8 llround ifunc implementation.
8032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8033 (__lllround): Add POWER8 implementation.
8034 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8035 POWER8 llround implementation.
8037 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8038 power8 implementation.
8039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8040 file: POWER8 llrint ifunc implementation.
8041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8042 Add POWER8 implementation.
8043 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8044 POWER8 llrint implementation.
8046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8047 power8 implementation.
8048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8049 file: POWER8 finite ifunc implementation.
8050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8051 Add POWER8 implementation.
8052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8054 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8055 POWER8 finite implementation.
8056 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8059 power8 implementation.
8060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8061 file: POWER8 isinf ifunc implementation.
8062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8063 POWER8 implementation.
8064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8066 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8067 isinf implementation.
8068 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8070 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8071 (INIT_ARCH): Add hwcap2 initialization.
8072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8073 power8 implementation.
8074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8075 file: POWER8 isnan ifunc implementation.
8076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8077 POWER8 implementation.
8078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8080 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8081 isnan implementation.
8082 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8084 2014-02-27 Joey Ye <joey.ye@arm.com>
8086 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8087 (_FP_NANFRAC_Q): Set to zero.
8089 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8092 * math/auto-libm-test-in: New test inputs.
8093 * math/auto-libm-test-out: Regenerate.
8094 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8097 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8099 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8101 * scripts/evaluate-test.sh: Take new argument indicating whether
8102 failure is expected.
8103 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8104 indicating whether failure is expected.
8105 * conform/Makefile (test-xfail-run-conformtest): New variable.
8106 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8108 * posix/Makefile (test-xfail-annexc): New variable.
8109 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8111 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8113 * argp/Makefile: Include Makeconfig immediately after defining
8115 * assert/Makefile: Likewise.
8116 * benchtests/Makefile: Likewise.
8117 * catgets/Makefile: Likewise.
8118 * conform/Makefile: Likewise.
8119 * crypt/Makefile: Likewise.
8120 * csu/Makefile: Likewise.
8121 (all): Remove target.
8122 * ctype/Makefile: Include Makeconfig immediately after defining
8124 * debug/Makefile: Likewise.
8125 * dirent/Makefile: Likewise.
8126 * dlfcn/Makefile: Likewise.
8127 * gmon/Makefile: Likewise.
8128 * gnulib/Makefile: Likewise.
8129 * grp/Makefile: Likewise.
8130 * gshadow/Makefile: Likewise.
8131 * hesiod/Makefile: Likewise.
8132 * hurd/Makefile: Likewise.
8133 (all): Remove target.
8134 * iconvdata/Makefile: Include Makeconfig immediately after
8136 * inet/Makefile: Likewise.
8137 * intl/Makefile: Likewise.
8138 * io/Makefile: Likewise.
8139 * libio/Makefile: Likewise.
8140 (all): Remove target.
8141 * locale/Makefile: Include Makeconfig immediately after defining
8143 * login/Makefile: Likewise.
8144 * mach/Makefile: Likewise.
8145 (all): Remove target.
8146 * malloc/Makefile: Include Makeconfig immediately after defining
8148 (all): Remove target.
8149 * manual/Makefile: Include Makeconfig immediately after defining
8151 * math/Makefile: Likewise.
8152 * misc/Makefile: Likewise.
8153 * nis/Makefile: Likewise.
8154 * nss/Makefile: Likewise.
8155 * po/Makefile: Likewise.
8156 (all): Remove target.
8157 * posix/Makefile: Include Makeconfig immediately after defining
8159 * pwd/Makefile: Likewise.
8160 * resolv/Makefile: Likewise.
8161 * resource/Makefile: Likewise.
8162 * rt/Makefile: Likewise.
8163 * setjmp/Makefile: Likewise.
8164 * shadow/Makefile: Likewise.
8165 * signal/Makefile: Likewise.
8166 * socket/Makefile: Likewise.
8167 * soft-fp/Makefile: Likewise.
8168 * stdio-common/Makefile: Likewise.
8169 * stdlib/Makefile: Likewise.
8170 * streams/Makefile: Likewise.
8171 * string/Makefile: Likewise.
8172 * sunrpc/Makefile: Likewise.
8173 (all): Remove target.
8174 * sysvipc/Makefile: Include Makeconfig immediately after defining
8176 * termios/Makefile: Likewise.
8177 * time/Makefile: Likewise.
8178 * timezone/Makefile: Likewise.
8179 (all): Remove target.
8180 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8182 * wctype/Makefile: Likewise.
8184 2014-02-26 Steve Ellcey <sellcey@mips.com>
8186 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8187 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8188 (libc_feholdexcept_setround_mips): Ditto.
8189 (libc_feholdsetround): New.
8190 (libc_feholdsetroundf): New.
8191 (libc_feholdsetroundl): New.
8192 (libc_feupdateenv_test_mips): New.
8193 (libc_feupdateenv_test): New.
8194 (libc_feupdateenv_testf): New.
8195 (libc_feupdateenv_testl): New.
8196 (libc_feresetround): New.
8197 (libc_feresetroundf): New.
8198 (libc_feresetroundl): New.
8199 (libc_fetestexcept_mips): New.
8200 (libc_fetestexcept): New.
8201 (libc_fetestexceptf): New.
8202 (libc_fetestexceptl): New.
8204 (libc_feholdexcept_setround_mips_ctx): New.
8205 (libc_feholdexcept_setround_ctx): New.
8206 (libc_feholdexcept_setroundf_ctx): New.
8207 (libc_feholdexcept_setroundl_ctx): New.
8208 (libc_fesetenv_mips_ctx): New.
8209 (libc_fesetenv_ctx): New.
8210 (libc_fesetenv_ctxf): New.
8211 (libc_fesetenv_ctxl): New.
8212 (libc_feupdateenv_mips_ctx): New.
8213 (libc_feupdateenv_ctx): New.
8214 (libc_feupdateenvf_ctx): New.
8215 (libc_feupdateenvl_ctx): New.
8216 (libc_feholdsetround_mips_ctx): New.
8217 (libc_feholdsetround_ctx): New.
8218 (libc_feholdsetroundf_ctx): New.
8219 (libc_feholdsetroundl_ctx): New.
8220 (libc_feresetround_mips_ctx): New.
8221 (libc_feresetround_ctx): New.
8222 (libc_feresetroundf_ctx): New.
8223 (libc_feresetroundl_ctx): New.
8225 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8227 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8229 * manual/ipc.texi: New file.
8230 * manual/Makefile (chapters): Add ipc.
8231 * manual/job.texi: Add "Inter-Process Communication" to next.
8232 * manual/process.texi: Add "Inter-Process Communication" to prev.
8234 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8238 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8240 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8242 * manual/arith.texi: Fix spaces after sentences.
8243 * manual/charset.texi: Likewise.
8244 * manual/errno.texi: Likewise.
8245 * manual/install.texi: Likewise.
8246 * manual/llio.texi: Likewise.
8247 * manual/locale.texi: Likewise.
8248 * manual/maint.texi: Likewise.
8249 * manual/math.texi: Likewise.
8250 * manual/memory.texi: Likewise.
8251 * manual/message.texi: Likewise.
8252 * manual/probes.texi: Likewise.
8253 * manual/resource.texi: Likewise.
8254 * manual/signal.texi: Likewise.
8255 * manual/socket.texi: Likewise.
8256 * manual/stdio.texi: Likewise.
8257 * manual/string.texi: Likewise.
8258 * manual/time.texi: Likewise.
8259 * manual/users.texi: Likewise.
8261 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8264 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8265 _DEFAULT_SOURCE is defined.
8267 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8268 Carlos O'Donell <carlos@redhat.com>
8271 * elf/dl-tls.c (_dl_count_modids): New function.
8272 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8273 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8274 audit library and increment generation counter.
8275 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8276 * elf/tst-audit9.c: New file.
8277 * elf/tst-auditmod9a.c: New file.
8278 * elf/tst-auditmod9b.c: New file.
8279 * elf/Makefile: Add rules to build and run tst-audit9.
8281 2014-02-25 Florian Weimer <fweimer@redhat.com>
8284 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8286 2014-02-25 Will Newton <will.newton@linaro.org>
8288 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8289 (__longjmp): Restore sp and lr before restoring callee
8290 saved registers. Add longjmp and longjmp_target
8291 SystemTap probe point.
8292 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8293 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8294 Define to zero to match jmpbuf layout.
8295 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8296 (__sigsetjmp): Save sp and lr before saving callee
8297 saved registers. Add setjmp SystemTap probe point.
8299 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8301 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8303 2014-02-24 Andreas Schwab <schwab@suse.de>
8306 * elf/pldd.c (wait_for_ptrace_stop): New function.
8307 (main): Call it after attaching.
8309 2014-02-22 Roland McGrath <roland@hack.frob.com>
8311 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8312 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8313 Versions files is now verboten.
8314 * hurd/Versions (libc: GLIBC_2.0):
8315 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8316 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8317 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8318 * mach/Versions: Likewise.
8320 * csu/Versions: Remove unused %include.
8321 * resolv/Versions: Likewise.
8323 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8325 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8326 ($(objpfx)check-local-headers.out): Likewise.
8327 ($(objpfx)begin-end-check.out): Likewise.
8328 * Makerules (check-abi-%.out): Likewise.
8329 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8330 ($(objpfx)test2.cat): Likewise.
8331 ($(objpfx)de/libc.cat): Likewise.
8332 ($(objpfx)test-gencat.out): Likewise.
8333 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8334 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8335 ($(objpfx)noload-mem): Likewise.
8336 ($(objpfx)tst-pathopt.out): Likewise.
8337 ($(objpfx)tst-rtld-load-self.out): Likewise.
8338 ($(objpfx)tst-array1-cmp.out): Likewise.
8339 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8340 ($(objpfx)tst-array2-cmp.out): Likewise.
8341 ($(objpfx)tst-array3-cmp.out): Likewise.
8342 ($(objpfx)tst-array4-cmp.out): Likewise.
8343 ($(objpfx)tst-array5-cmp.out): Likewise.
8344 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8345 ($(objpfx)check-textrel.out): Likewise.
8346 ($(objpfx)check-execstack.out): Likewise.
8347 ($(objpfx)check-localplt.out): Likewise.
8348 ($(objpfx)order2-cmp.out): Likewise.
8349 ($(objpfx)tst-leaks1-mem): Likewise.
8350 ($(objpfx)tst-leaks1-static-mem): Likewise.
8351 ($(objpfx)tst-initorder-cmp.out): Likewise.
8352 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8353 ($(objpfx)tst-unused-dep.out): Likewise.
8354 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8355 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8356 * iconv/Makefile (test-iconvconfig): Likewise.
8357 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8358 ($(objpfx)iconv-test.out): Likewise.
8359 ($(objpfx)tst-tables.out): Likewise.
8360 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8361 ($(objpfx)tst-gettext.out): Likewise.
8362 ($(objpfx)tst-translit.out): Likewise.
8363 ($(objpfx)tst-gettext2.out): Likewise.
8364 ($(objpfx)tst-gettext4.out): Likewise.
8365 ($(objpfx)tst-gettext6.out): Likewise.
8366 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8367 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8368 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8369 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8370 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8371 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8372 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8373 ($(objpfx)wordexp-tst.out): Likewise.
8374 ($(objpfx)annexc.out): Likewise.
8375 ($(objpfx)tst-fnmatch-mem): Likewise.
8376 ($(objpfx)bug-regex2-mem): Likewise.
8377 ($(objpfx)bug-regex14-mem): Likewise.
8378 ($(objpfx)bug-regex21-mem): Likewise.
8379 ($(objpfx)bug-regex31-mem): Likewise.
8380 ($(objpfx)tst-vfork3-mem): Likewise.
8381 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8382 ($(objpfx)tst-pcre-mem): Likewise.
8383 ($(objpfx)tst-boost-mem): Likewise.
8384 ($(objpfx)tst-getconf.out): Likewise.
8385 ($(objpfx)bug-ga2-mem): Likewise.
8386 ($(objpfx)bug-glob2-mem): Likewise.
8387 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8388 ($(objpfx)mtrace-tst-leaks2): Likewise.
8389 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8390 ($(objpfx)tst-printf.out): Likewise.
8391 ($(objpfx)tst-setvbuf1.out): Likewise.
8392 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8393 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8394 ($(objpfx)tst-fmtmsg.out): Likewise.
8395 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8396 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8398 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8399 * bits/sigaction.h [__USE_MISC]: Likewise.
8400 * bits/waitstatus.h: Update #endif comments.
8401 * ctype/ctype.h: Likewise.
8402 * dirent/dirent.h: Likewise.
8403 [__USE_MISC]: Remove redundant conditionals.
8404 * grp/grp.h: Update #endif comments.
8405 [__USE_GNU]: Remove redundant conditionals.
8406 [__USE_MISC]: Likewise.
8407 * inet/netinet/in.h [__USE_GNU]: Likewise.
8408 * io/sys/stat.h [__USE_MISC]: Likewise.
8409 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8410 * libio/bits/stdio.h: Update #endif comments.
8411 [__USE_MISC]: Remove redundant conditionals.
8412 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8413 * libio/stdio.h: Update #endif comments.
8414 [__USE_MISC]: Remove redundant conditionals.
8415 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8416 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8417 * math/math.h: Update #else and #endif comments.
8418 [__USE_MISC]: Remove redundant conditionals.
8419 * misc/sys/uio.h: Update #endif comments.
8420 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8421 * posix/glob.h [__USE_MISC]: Likewise.
8422 * posix/sys/types.h: Update #endif comments.
8423 [__USE_MISC]: Remove redundant conditionals.
8424 * posix/sys/wait.h: Update #endif comments.
8425 [__USE_MISC]: Remove redundant conditionals.
8426 * posix/unistd.h: Update #endif comments.
8427 [__USE_MISC]: Remove redundant conditionals.
8428 * pwd/pwd.h [__USE_GNU]: Likewise.
8429 [__USE_MISC]: Likewise.
8430 * resolv/netdb.h [__USE_GNU]: Likewise.
8431 * signal/signal.h: Update #endif comments.
8432 [__USE_MISC]: Remove redundant conditionals.
8433 * stdlib/stdlib.h: Update #else and #endif comments.
8434 [__USE_MISC]: Remove redundant conditionals.
8435 [__USE_GNU]: Likewise.
8436 * string/bits/string2.h [__USE_MISC]: Likewise.
8437 * string/string.h: Update #endif comments.
8438 [__USE_MISC]: Remove redundant conditionals.
8439 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8441 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8442 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8443 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8445 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8447 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8449 [__USE_MISC]: Remove redundant conditionals.
8450 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8451 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8452 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8453 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8454 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8456 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8457 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8459 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8460 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8462 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8464 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8465 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8467 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8469 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8470 * sysdeps/x86/bits/string.h: Update #endif comments.
8471 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8473 * time/sys/time.h: Update #endif comments.
8474 * time/time.h: Likewise.
8475 [__USE_MISC]: Remove redundant conditionals.
8477 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8480 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8482 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8484 * Versions.def (librt): Add GLIBC_2.17.
8486 2014-02-21 Adam Conrad <adconrad@0c3.net>
8488 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8489 synonym for _SYS_AUXV_H to allow direct inclusion.
8490 * sysdeps/sparc/bits/hwcap.h: Likewise.
8491 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8492 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8493 * sysdeps/sparc/sysdep.h: Likewise.
8495 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8497 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8499 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8501 * benchtests/bench-strrchr.c: Print length instead of position.
8503 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8506 * sysdeps/unix/sysv/linux/kernel-features.h
8507 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8508 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8509 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8510 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8512 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8513 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8514 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8515 (__ASSUME_SENDMMSG): Define instead of using previous
8516 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8517 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8518 (__ASSUME_SENDMMSG_SYSCALL): Define.
8519 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8520 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8522 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8523 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8525 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8526 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8528 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8529 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8530 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8531 [__ASSUME_SENDMMSG]: Change conditionals to
8532 [__ASSUME_SENDMMSG_SOCKETCALL].
8533 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8534 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8536 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8537 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8539 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8540 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8541 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8542 [!__ASSUME_SENDMMSG]: Change conditional to
8543 [!__ASSUME_SENDMMSG_SOCKETCALL].
8544 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8545 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8549 * sysdeps/unix/sysv/linux/kernel-features.h
8550 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8551 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8552 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8553 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8554 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8555 [__i386__ || __sparc__]
8556 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8557 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8558 (__ASSUME_RECVMMSG): Define instead of using previous
8559 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8560 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8561 (__ASSUME_RECVMMSG_SYSCALL): Define.
8562 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8563 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8565 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8566 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8568 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8569 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8571 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8572 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8573 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8574 [__ASSUME_RECVMMSG]: Change condition to
8575 [__ASSUME_RECVMMSG_SOCKETCALL].
8576 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8577 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8579 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8580 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8581 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8583 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8584 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8585 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8586 [!__ASSUME_RECVMMSG]: Change condition to
8587 [!__ASSUME_RECVMMSG_SOCKETCALL].
8588 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8589 (__ASSUME_RECVMMSG_SYSCALL): Define.
8592 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8593 __powerpc__ || __s390__ || __sh__ || __sparc__]
8594 (__ASSUME_SOCKETCALL): Define.
8595 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8596 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8597 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8598 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8599 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8600 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8601 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8602 (__ASSUME_ACCEPT4): Define instead of using previous
8603 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8604 __powerpc__ || __sparc__ || __s390__)] condition.
8605 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8606 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8607 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8608 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8609 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8610 [!__ASSUME_ACCEPT4]: Change condition to
8611 [!__ASSUME_ACCEPT4_SOCKETCALL].
8612 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8613 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8614 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8615 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8616 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8617 __ASSUME_ACCEPT4_SYSCALL.
8618 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8619 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8620 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8621 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8622 __ASSUME_ACCEPT4_SYSCALL.
8623 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8624 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8625 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8626 [__ASSUME_ACCEPT4]: Change condition to
8627 [__ASSUME_ACCEPT4_SOCKETCALL].
8628 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8629 (__ASSUME_SOCKETCALL): Define.
8630 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8631 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8632 (__ASSUME_SOCKETCALL): Define.
8633 (__ASSUME_ACCEPT4): Remove.
8634 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8636 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8637 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8639 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8640 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8642 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8644 (HWCAP_ARM_LPAE): Likewise.
8645 (HWCAP_ARM_EVTSTRM): Likewise.
8646 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8647 Add vpfd32, lpae and evtstrm.
8648 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8651 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8653 * math/auto-libm-test-in: Add tests of clog10.
8654 * math/auto-libm-test-out: Regenerated.
8655 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8656 * sysdeps/i386/fpu/libm-test-ulps: Update.
8657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8659 2014-02-18 Andreas Schwab <schwab@suse.de>
8662 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8663 Store non-zero if the second buffer was newly allocated.
8664 (send_dg): Likewise.
8665 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8666 to send_vc and send_dg.
8667 (res_nsend): Pass NULL for ansp2_malloced.
8668 * resolv/res_query.c (__libc_res_nquery): Add parameter
8669 answerp2_malloced and pass it down to __libc_res_nsend.
8670 (res_nquery): Pass additional NULL to __libc_res_nquery.
8671 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8672 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8673 second answer buffer if answerp2_malloced was set.
8674 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8675 (__libc_res_nquerydomain): Add parameter
8676 answerp2_malloced and pass it down to __libc_res_nquery.
8677 (res_nquerydomain): Pass additional NULL to
8678 __libc_res_nquerydomain.
8679 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8680 additional NULL to __libc_res_nsend and __libc_res_nquery.
8681 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8682 additional NULL to __libc_res_nsearch.
8683 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8684 parameter of __libc_res_nsearch to check for separately allocated
8686 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8688 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8689 additional NULL to __libc_res_nquery.
8690 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8692 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8693 * include/resolv.h: Update prototypes of __libc_res_nquery,
8694 __libc_res_nsearch, __libc_res_nsend.
8696 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8698 * math/auto-libm-test-in: Add tests of fma.
8699 * math/auto-libm-test-out: Regenerated.
8700 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8701 (fma_towardzero_test_data): Likewise.
8702 (fma_downward_test_data): Likewise.
8703 (fma_upward_test_data): Likewise.
8704 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8706 (rounding_modes): Add values for new field.
8707 (func_calc_method): Add value mpfr_fff_f.
8708 (func_calc_desc): Add mpfr_fff_f union field.
8709 (test_function): Add field exact_args.
8710 (FUNC): Add macro argument EXACT_ARGS.
8711 (FUNC_mpfr_f_f): Update call to FUNC.
8712 (FUNC_mpfr_f_f): Likewise.
8713 (FUNC_mpfr_ff_f): Likewise.
8714 (FUNC_mpfr_if_f): Likewise.
8715 (FUNC_mpc_c_f): Likewise.
8716 (FUNC_mpc_c_c): Likewise.
8717 (test_functions): Add fma. Update calls to FUNC.
8718 (handle_input_arg): Add argument exact_args.
8719 (add_test): Update call to handle_input_arg.
8720 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8721 (output_for_one_input_case): Update call to calc_generic_results.
8722 Recalculate exact zero results in each rounding mode.
8724 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8725 non-negative before setting low bit.
8726 * math/auto-libm-test-in: Mark one asin test possibly having
8728 * math/auto-libm-test-out: Regenerated.
8729 * sysdeps/i386/fpu/libm-test-ulps: Update.
8730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8732 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8734 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8735 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8736 ports/sysdeps/unix/sysv/linux/microblaze.
8737 * README: Add missing listing for microblaze*-*-linux-gnu.
8739 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8741 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8742 * sysdeps/unix/sysv/linux/ia64: Move directory from
8743 ports/sysdeps/unix/sysv/linux/ia64.
8744 * README: Update listing for ia64-*-linux-gnu.
8746 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8747 Joseph Myers <joseph@codesourcery.com>
8749 * Makeconfig (test-name): New variable.
8750 (evaluate-test): Likewise.
8751 * Makerules (do-test-clean): Remove .test-result files.
8752 (common-mostlyclean): Likewise.
8753 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8754 * scripts/evaluate-test.sh: New file.
8756 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8758 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8759 separate $(objpfx)tst-fopenloc-cmp.out and
8760 $(objpfx)tst-fopenloc-mem.out targets.
8761 (tests): Update dependencies.
8762 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8763 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8764 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8765 (tst-rxspencer-no-utf8-ARGS): New variable.
8766 (tst-rxspencer-no-utf8-ENV): Likewise.
8767 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8768 instead of $(objpfx)tst-rxspencer-mem.
8769 ($(objpfx)tst-rxspencer-mem): Change target to
8770 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8771 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8772 * posix/tst-rxspencer-no-utf8.c: New file.
8774 * elf/Makefile ($(objpfx)order.out): Remove rule.
8775 [$(run-built-tests) = yes] (tests): Depend on
8776 $(objpfx)order-cmp.out.
8777 ($(objpfx)order-cmp.out): New rule.
8778 [$(run-built-tests) = yes] (tests): Depend on
8779 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8780 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8781 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8782 $(objpfx)tst-array5-static-cmp.out.
8783 ($(objpfx)tst-array1.out): Remove rule.
8784 ($(objpfx)tst-array1-cmp.out): New rule.
8785 ($(objpfx)tst-array1-static.out): Remove rule.
8786 ($(objpfx)tst-array1-static-cmp.out): New rule.
8787 ($(objpfx)tst-array2.out): Remove rule.
8788 ($(objpfx)tst-array2-cmp.out): New rule.
8789 ($(objpfx)tst-array3.out): Remove rule.
8790 ($(objpfx)tst-array3-cmp.out): New rule.
8791 ($(objpfx)tst-array4.out): Remove rule.
8792 ($(objpfx)tst-array4-cmp.out): New rule.
8793 ($(objpfx)tst-array5.out): Remove rule.
8794 ($(objpfx)tst-array5-cmp.out): New rule.
8795 ($(objpfx)tst-array5-static.out): Remove rule.
8796 ($(objpfx)tst-array5-static-cmp.out): New rule.
8797 [$(run-built-tests) = yes] (tests): Depend on
8798 $(objpfx)order2-cmp.out.
8799 ($(objpfx)order2.out): Remove rule.
8800 ($(objpfx)order2-cmp.out): New rule.
8801 ($(objpfx)tst-initorder.out): Remove rule.
8802 [$(run-built-tests) = yes] (tests): Depend on
8803 $(objpfx)tst-initorder-cmp.out.
8804 ($(objpfx)tst-initorder-cmp.out): New rule.
8805 ($(objpfx)tst-initorder2.out): Remove rule.
8806 [$(run-built-tests) = yes] (tests): Depend on
8807 $(objpfx)tst-initorder2-cmp.out.
8808 ($(objpfx)tst-initorder2-cmp.out): New rule.
8809 [$(run-built-tests) = yes] (tests): Depend on
8810 $(objpfx)tst-unused-dep-cmp.out.
8811 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8812 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8813 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8814 on $(objpfx)tst-setvbuf1-cmp.out.
8815 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8816 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8817 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8818 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8819 ($(objpfx)tst-svc.out): Remove rule.
8820 ($(objpfx)tst-svc-cmp.out): New rule.
8822 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8824 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8825 * ctype/ctype.h [__USE_MISC]: Likewise.
8826 * dirent/dirent.h [__USE_MISC]: Likewise.
8827 * grp/grp.h [__USE_MISC]: Likewise.
8828 * io/fcntl.h [__USE_MISC]: Likewise.
8829 * io/sys/stat.h [__USE_MISC]: Likewise.
8830 * libio/stdio.h [__USE_MISC]: Likewise.
8831 * posix/unistd.h [__USE_MISC]: Likewise.
8832 * pwd/pwd.h [__USE_MISC]: Likewise.
8833 * stdlib.h [__USE_MISC]: Likewise.
8834 * string/bits/string2.h [__USE_MISC]: Likewise.
8835 * string/string.h [__USE_MISC]: Likewise.
8836 * time/time.h [__USE_MISC]: Likewise.
8838 2014-02-13 Andreas Schwab <schwab@suse.de>
8841 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8842 second answer buffer if it was separately allocated.
8844 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8846 * sysdeps/mips/math-tests.h: Include <features.h>.
8847 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8848 (ROUNDING_TESTS_long_double): Do not define.
8849 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8850 (EXCEPTION_TESTS_long_double): Likewise.
8851 * sysdeps/mips/mips64/libm-test-ulps: Update.
8853 * include/features.h (__USE_BSD): Remove macro definitions.
8854 (__USE_SVID): Likewise.
8855 (_BSD_SOURCE): Likewise.
8856 (_SVID_SOURCE): Likewise.
8857 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8858 from definition of _DEFAULT_SOURCE.
8859 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8861 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8862 * bits/mman.h [__USE_BSD]: Likewise.
8863 * bits/termios.h [__USE_BSD]: Likewise.
8864 * bits/waitstatus.h [__USE_BSD]: Likewise.
8865 * ctype/ctype.h [__USE_SVID]: Likewise.
8866 * dirent/dirent.h [__USE_BSD]: Likewise.
8867 * grp/grp.h [__USE_SVID]: Likewise.
8868 [__USE_BSD]: Likewise.
8869 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8870 * io/fcntl.h [__USE_BSD]: Likewise.
8871 * io/ftw.h [__USE_BSD]: Likewise.
8872 * io/sys/stat.h [__USE_BSD]: Likewise.
8873 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8874 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8875 * libio/stdio.h [__USE_SVID]: Likewise.
8876 [__USE_BSD]: Likewise.
8877 * math/math.h [__USE_SVID]: Likewise.
8878 [__USE_BSD]: Likewise.
8879 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8880 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8881 * misc/search.h [__USE_SVID]: Likewise.
8882 * misc/sys/mman.h [__USE_BSD]: Likewise.
8883 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8884 * misc/sys/uio.h [__USE_BSD]: Likewise.
8885 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8886 * posix/glob.h [__USE_BSD]: Likewise.
8887 * posix/regex.h [__USE_BSD]: Likewise.
8888 * posix/sys/types.h [__USE_BSD]: Likewise.
8889 [__USE_SVID]: Likewise.
8890 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8891 * posix/sys/wait.h [__USE_BSD]: Likewise.
8892 [__USE_SVID]: Likewise.
8893 * posix/unistd.h [__USE_BSD]: Likewise.
8894 [__USE_SVID]: Likewise.
8895 * pwd/pwd.h [__USE_SVID]: Likewise.
8896 * resolv/netdb.h [__USE_BSD]: Likewise.
8897 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8898 * signal/signal.h [__USE_BSD]: Likewise.
8899 [__USE_SVID]: Likewise.
8900 * socket/sys/socket.h [__USE_BSD]: Likewise.
8901 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8902 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8903 [__USE_SVID]: Likewise.
8904 * string/bits/string2.h [__USE_BSD]: Likewise.
8905 [__USE_SVID]: Likewise.
8906 * string/bits/string3.h [__USE_BSD]: Likewise.
8907 * string/endian.h [__USE_BSD]: Likewise.
8908 * string/string.h [__USE_SVID]: Likewise.
8909 [__USE_BSD]: Likewise.
8910 * string/strings.h [__USE_BSD]: Likewise.
8911 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8912 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8913 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8914 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8915 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8916 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8918 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8920 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8921 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8923 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8924 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8926 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8928 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8929 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8930 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8932 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8934 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8935 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8936 * termios/termios.h [__USE_BSD]: Likewise.
8937 * time/sys/time.h [__USE_BSD]: Likewise.
8938 * time/time.h [__USE_BSD]: Likewise.
8939 [__USE_SVID]: Likewise.
8941 * Makefile (subdir_targets): Remove subdir_lint.out.
8943 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8944 (do-tst-printf): Likewise.
8945 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8946 $(objpfx)tst-printf.out.
8948 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8950 * Makerules (check-abi-%): Change target to
8951 $(objpfx)check-abi-%.out.
8952 (check-abi target): Update dependencies.
8953 (check-abi-pattern variable): Redirect output of diff to $@.
8954 (check-abi variable): Likewise.
8955 * elf/Makefile (check-abi): Update dependencies.
8957 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8959 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8960 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8962 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8963 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8964 value has largest subnormal exponent.
8965 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8966 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8967 * sysdeps/aarch64/soft-fp/sfp-machine.h
8968 (_FP_TININESS_AFTER_ROUNDING): New macro.
8969 * sysdeps/alpha/soft-fp/sfp-machine.h
8970 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8971 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8973 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8974 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8975 * sysdeps/mips/soft-fp/sfp-machine.h
8976 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8977 * sysdeps/powerpc/soft-fp/sfp-machine.h
8978 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8979 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8981 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8982 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8983 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8984 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8985 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8988 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8991 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8994 2014-02-12 Richard Henderson <rth@redhat.com>
8996 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8997 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8998 * sysdeps/unix/sysv/linux/alpha: Move directory from
8999 ports/sysdeps/unix/sysv/linux/alpha.
9000 * README: Update listing for alpha-*-linux-gnu.
9002 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9004 * include/features.h: Update comment documenting feature test
9006 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9008 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9009 (_SVID_SOURCE): Likewise.
9010 (_DEFAULT_SOURCE): Update description of default features.
9011 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9013 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9014 (S_ISVTX): Likewise.
9015 * manual/math.texi (Mathematical Constants): Likewise.
9016 * manual/signal.texi (Interrupted Primitives): Likewise.
9017 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9018 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9019 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9020 Don't refer to _SVID_SOURCE in warning text.
9022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9024 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9026 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9027 * sysdeps/mips/dl-lookup.c: Remove.
9028 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9030 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9033 * math/auto-libm-test-in: Add testcase for expl.
9034 * math/auto-libm-test-out: Regenerate.
9035 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9036 calculation of unsafe.
9037 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9039 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9041 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9042 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9043 ports/sysdeps/unix/sysv/linux/aarch64.
9044 * README: Update listing for aarch64*-*-linux-gnu.
9046 2014-02-11 Will Newton <will.newton@linaro.org>
9048 * manual/probes.texi (Mathematical Function Probes): Use
9049 "triggered" instead of "hit".
9051 * manual/probes.texi (Internal Probes): Add documentation
9052 of setjmp, longjmp and longjmp_target probes.
9054 * include/stap-probe.h: Add comment about probe argument
9057 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9058 definition. (tr_where, tr_freehook, tr_mallochook,
9059 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9061 2014-02-11 David S. Miller <davem@davemloft.net>
9063 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9064 processing int_tests.
9066 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9068 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9069 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9070 * sysdeps/unix/sysv/linux/mips: Move directory from
9071 ports/sysdeps/unix/sysv/linux/mips.
9072 * README: Update listing for mips-*-linux-gnu and
9075 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9077 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9078 * sysdeps/unix/sysv/linux/m68k: Move directory from
9079 ports/sysdeps/unix/sysv/linux/m68k.
9080 * README: Update listing for m68k-*-linux-gnu.
9082 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9084 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9085 * sysdeps/unix/sysv/linux/generic: Move directory from
9086 ports/sysdeps/unix/sysv/linux/generic.
9087 * sysdeps/unix/sysv/linux/tile: Move directory from
9088 ports/sysdeps/unix/sysv/linux/tile.
9089 * README: Update listing for tile*-*-linux-gnu.
9091 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9093 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9095 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9096 * catgets/open_catalog.c (__open_catalog): Likewise.
9097 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9098 * debug/confstr_chk.c: Likewise.
9099 * debug/fread_chk.c (__fread_chk): Likewise.
9100 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9101 * debug/getgroups_chk.c: Likewise.
9102 * debug/mbsnrtowcs_chk.c: Likewise.
9103 * debug/mbsrtowcs_chk.c: Likewise.
9104 * debug/mbstowcs_chk.c: Likewise.
9105 * debug/memcpy_chk.c: Likewise.
9106 * debug/memmove_chk.c: Likewise.
9107 * debug/mempcpy_chk.c: Likewise.
9108 * debug/memset_chk.c: Likewise.
9109 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9110 * debug/strcat_chk.c (__strcat_chk): Likewise.
9111 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9112 * debug/strncat_chk.c (__strncat_chk): Likewise.
9113 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9114 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9115 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9116 * debug/wcpncpy_chk.c: Likewise.
9117 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9118 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9119 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9120 * debug/wcsncpy_chk.c: Likewise.
9121 * debug/wcsnrtombs_chk.c: Likewise.
9122 * debug/wcsrtombs_chk.c: Likewise.
9123 * debug/wcstombs_chk.c: Likewise.
9124 * debug/wmemcpy_chk.c: Likewise.
9125 * debug/wmemmove_chk.c: Likewise.
9126 * debug/wmempcpy_chk.c: Likewise.
9127 * debug/wmemset_chk.c: Likewise.
9128 * dirent/scandirat.c (SCANDIRAT): Likewise.
9129 * dlfcn/dladdr1.c (dladdr1): Likewise.
9130 * dlfcn/dladdr.c (dladdr): Likewise.
9131 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9132 * dlfcn/dlerror.c (__dlerror): Likewise.
9133 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9134 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9135 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9136 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9137 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9138 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9139 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9140 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9142 * elf/dl-conflict.c: Likewise.
9143 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9144 * elf/dl-dst.h: Likewise.
9145 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9146 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9147 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9148 * elf/dl-init.c (call_init, _dl_init): Likewise.
9149 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9150 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9151 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9153 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9155 * elf/dl-minimal.c (__libc_memalign): Likewise.
9156 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9157 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9158 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9159 * elf/dl-sym.c (do_sym): Likewise.
9160 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9161 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9162 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9163 * elf/dl-writev.h (_dl_writev): Likewise.
9164 * elf/ldconfig.c (search_dir): Likewise.
9165 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9166 (dl_main): Likewise.
9167 * elf/setup-vdso.h (setup_vdso): Likewise.
9168 * grp/compat-initgroups.c (compat_call): Likewise.
9169 * grp/fgetgrent.c (fgetgrent): Likewise.
9170 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9171 * grp/putgrent.c (putgrent): Likewise.
9172 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9174 * hurd/hurdinit.c: Likewise.
9175 * iconvdata/8bit-gap.c (struct): Likewise.
9176 * iconvdata/ansi_x3.110.c : Likewise.
9177 * iconvdata/big5.c : Likewise.
9178 * iconvdata/big5hkscs.c : Likewise.
9179 * iconvdata/cp1255.c: Likewise.
9180 * iconvdata/cp1258.c : Likewise.
9181 * iconvdata/cp932.c : Likewise.
9182 * iconvdata/euc-cn.c: Likewise.
9183 * iconvdata/euc-jisx0213.c : Likewise.
9184 * iconvdata/euc-jp.c: Likewise.
9185 * iconvdata/euc-jp-ms.c : Likewise.
9186 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9187 * iconvdata/gb18030.c : Likewise.
9188 * iconvdata/gbbig5.c (const): Likewise.
9189 * iconvdata/gbgbk.c: Likewise.
9190 * iconvdata/gbk.c : Likewise.
9191 * iconvdata/ibm1364.c : Likewise.
9192 * iconvdata/ibm930.c : Likewise.
9193 * iconvdata/ibm932.c: Likewise.
9194 * iconvdata/ibm933.c : Likewise.
9195 * iconvdata/ibm935.c : Likewise.
9196 * iconvdata/ibm937.c : Likewise.
9197 * iconvdata/ibm939.c : Likewise.
9198 * iconvdata/ibm943.c: Likewise.
9199 * iconvdata/iso_11548-1.c: Likewise.
9200 * iconvdata/iso-2022-cn.c : Likewise.
9201 * iconvdata/iso-2022-cn-ext.c : Likewise.
9202 * iconvdata/iso-2022-jp-3.c: Likewise.
9203 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9204 * iconvdata/iso-2022-kr.c : Likewise.
9205 * iconvdata/iso646.c (gconv_end): Likewise.
9206 * iconvdata/iso_6937-2.c : Likewise.
9207 * iconvdata/iso_6937.c : Likewise.
9208 * iconvdata/iso8859-1.c: Likewise.
9209 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9210 * iconvdata/shift_jisx0213.c : Likewise.
9211 * iconvdata/sjis.c : Likewise.
9212 * iconvdata/t.61.c : Likewise.
9213 * iconvdata/tcvn5712-1.c : Likewise.
9214 * iconvdata/tscii.c: Likewise.
9215 * iconvdata/uhc.c : Likewise.
9216 * iconvdata/unicode.c (gconv_end): Likewise.
9217 * iconvdata/utf-16.c (gconv_end): Likewise.
9218 * iconvdata/utf-32.c (gconv_end): Likewise.
9219 * iconvdata/utf-7.c (base64): Likewise.
9220 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9221 * iconv/gconv_close.c (__gconv_close): Likewise.
9222 * iconv/gconv_open.c (__gconv_open): Likewise.
9223 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9224 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9225 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9226 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9227 (ucs4le_internal_loop_single): Likewise.
9228 * iconv/iconv.c (iconv): Likewise.
9229 * iconv/iconv_close.c: Likewise.
9230 * iconv/loop.c (SINGLE): Likewise.
9231 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9232 * include/atomic.h: Likewise.
9233 * inet/inet6_option.c (option_alloc): Likewise.
9234 * intl/bindtextdom.c (set_binding_values): Likewise.
9235 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9236 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9237 * intl/localealias.c (read_alias_file): Likewise.
9238 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9239 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9240 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9241 * libio/fmemopen.c (fmemopen): Likewise.
9242 * libio/iofgets.c (_IO_fgets): Likewise.
9243 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9244 * libio/iofgetws.c (fgetws): Likewise.
9245 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9246 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9247 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9248 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9249 * locale/findlocale.c (_nl_find_locale): Likewise.
9250 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9251 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9253 * locale/setlocale.c (setlocale): Likewise.
9254 * login/programs/pt_chown.c (main): Likewise.
9255 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9256 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9257 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9258 (mmap, mmap64, mremap, munmap): Likewise.
9259 * math/e_exp2l.c: Likewise.
9260 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9261 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9262 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9263 * math/s_catan.c (__catan): Likewise.
9264 * math/s_catanf.c (__catanf): Likewise.
9265 * math/s_catanh.c (__catanh): Likewise.
9266 * math/s_catanhf.c (__catanhf): Likewise.
9267 * math/s_catanhl.c (__catanhl): Likewise.
9268 * math/s_catanl.c (__catanl): Likewise.
9269 * math/s_ccosh.c (__ccosh): Likewise.
9270 * math/s_ccoshf.c (__ccoshf): Likewise.
9271 * math/s_ccoshl.c (__ccoshl): Likewise.
9272 * math/s_cexp.c (__cexp): Likewise.
9273 * math/s_cexpf.c (__cexpf): Likewise.
9274 * math/s_cexpl.c (__cexpl): Likewise.
9275 * math/s_clog10.c (__clog10): Likewise.
9276 * math/s_clog10f.c (__clog10f): Likewise.
9277 * math/s_clog10l.c (__clog10l): Likewise.
9278 * math/s_clog.c (__clog): Likewise.
9279 * math/s_clogf.c (__clogf): Likewise.
9280 * math/s_clogl.c (__clogl): Likewise.
9281 * math/s_csin.c (__csin): Likewise.
9282 * math/s_csinf.c (__csinf): Likewise.
9283 * math/s_csinh.c (__csinh): Likewise.
9284 * math/s_csinhf.c (__csinhf): Likewise.
9285 * math/s_csinhl.c (__csinhl): Likewise.
9286 * math/s_csinl.c (__csinl): Likewise.
9287 * math/s_csqrt.c (__csqrt): Likewise.
9288 * math/s_csqrtf.c (__csqrtf): Likewise.
9289 * math/s_csqrtl.c (__csqrtl): Likewise.
9290 * math/s_ctan.c (__ctan): Likewise.
9291 * math/s_ctanf.c (__ctanf): Likewise.
9292 * math/s_ctanh.c (__ctanh): Likewise.
9293 * math/s_ctanhf.c (__ctanhf): Likewise.
9294 * math/s_ctanhl.c (__ctanhl): Likewise.
9295 * math/s_ctanl.c (__ctanl): Likewise.
9296 * math/w_pow.c: Likewise.
9297 * math/w_powf.c: Likewise.
9298 * math/w_powl.c: Likewise.
9299 * math/w_scalb.c (sysv_scalb): Likewise.
9300 * math/w_scalbf.c (sysv_scalbf): Likewise.
9301 * math/w_scalbl.c (sysv_scalbl): Likewise.
9302 * misc/error.c (error_tail): Likewise.
9303 * misc/pselect.c (__pselect): Likewise.
9304 * nis/nis_callback.c (__nis_create_callback): Likewise.
9305 * nis/nis_call.c (__nisfind_server): Likewise.
9306 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9307 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9308 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9309 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9310 * nis/nis_lookup.c (nis_lookup): Likewise.
9311 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9312 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9313 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9314 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9315 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9316 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9317 * nis/nss_compat/compat-initgroups.c (add_group)
9318 (internal_getgrent_r): Likewise.
9319 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9320 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9321 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9322 (internal_getspnam_r): Likewise.
9323 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9324 (_nss_nis_getaliasbyname_r): Likewise.
9325 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9326 (_nss_nis_getntohost_r): Likewise.
9327 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9328 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9329 (_nss_nis_getgrgid_r): Likewise.
9330 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9331 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9332 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9333 (_nss_nis_gethostbyname4_r): Likewise.
9334 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9335 (initgroups_netid): Likewise.
9336 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9337 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9338 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9339 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9340 (_nss_nis_getprotobynumber_r): Likewise.
9341 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9342 (_nss_nis_getsecretkey): Likewise.
9343 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9344 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9345 (_nss_nis_getpwuid_r): Likewise.
9346 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9347 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9348 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9349 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9350 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9351 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9352 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9354 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9355 (_nss_nisplus_getntohost_r): Likewise.
9356 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9357 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9358 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9359 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9361 * nis/nss_nisplus/nisplus-initgroups.c
9362 (_nss_nisplus_initgroups_dyn): Likewise.
9363 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9364 (_nss_nisplus_getnetbyaddr_r): Likewise.
9365 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9366 (_nss_nisplus_getprotobynumber_r): Likewise.
9367 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9368 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9369 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9371 * nis/nss_nisplus/nisplus-service.c
9372 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9373 (_nss_nisplus_getservbyport_r): Likewise.
9374 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9375 (_nss_nisplus_getspnam_r): Likewise.
9376 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9378 * nscd/aicache.c (addhstaiX): Likewise.
9379 * nscd/cache.c (cache_search, prune_cache): Likewise.
9380 * nscd/connections.c (register_traced_file, send_ro_fd)
9381 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9382 (main_loop_epoll): Likewise.
9383 * nscd/grpcache.c (addgrbyX): Likewise.
9384 * nscd/hstcache.c (addhstbyX): Likewise.
9385 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9386 * nscd/mem.c (gc, mempool_alloc): Likewise.
9387 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9388 (addinnetgrX): Likewise.
9389 * nscd/nscd-client.h (__nscd_acquire_maplock)
9390 (__nscd_drop_map_ref): Likewise.
9391 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9392 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9393 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9395 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9396 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9397 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9398 (__nscd_get_map_ref): Likewise.
9399 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9400 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9402 * nscd/pwdcache.c (addpwbyX): Likewise.
9403 * nscd/selinux.c (preserve_capabilities): Likewise.
9404 * nscd/servicescache.c (addservbyX): Likewise.
9405 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9406 * posix/fnmatch.c (fnmatch): Likewise.
9407 * posix/getopt.c (_getopt_internal_r): Likewise.
9408 * posix/glob.c (glob, glob_in_dir): Likewise.
9409 * posix/wordexp.c (exec_comm_child): Likewise.
9410 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9411 (getanswer_r, gaih_getanswer_slice): Likewise.
9412 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9413 * resolv/res_init.c: Likewise.
9414 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9415 * resolv/res_query.c (__libc_res_nquery): Likewise.
9416 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9418 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9419 * stdio-common/perror.c (perror): Likewise.
9420 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9421 * stdio-common/tmpnam.c (tmpnam): Likewise.
9422 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9423 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9424 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9426 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9427 * stdlib/putenv.c (putenv): Likewise.
9428 * stdlib/setenv.c (__add_to_environ): Likewise.
9429 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9430 * stdlib/strtol_l.c (INTERNAL): Likewise.
9431 * string/memmem.c (memmem): Likewise.
9432 * string/strerror.c (strerror): Likewise.
9433 * string/strnlen.c (__strnlen): Likewise.
9434 * string/test-memmem.c (simple_memmem): Likewise.
9435 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9436 * sunrpc/pm_getport.c (__get_socket): Likewise.
9437 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9438 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9439 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9440 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9442 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9443 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9444 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9445 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9446 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9447 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9449 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9451 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9452 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9453 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9454 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9455 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9457 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9458 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9459 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9460 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9461 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9462 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9464 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9466 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9468 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9469 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9470 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9471 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9472 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9473 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9474 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9475 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9476 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9477 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9478 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9479 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9480 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9481 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9483 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9485 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9487 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9489 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9491 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9492 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9493 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9495 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9496 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9497 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9498 * sysdeps/posix/sleep.c: Likewise.
9499 * sysdeps/posix/tempname.c: Likewise.
9500 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9501 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9503 * sysdeps/powerpc/powerpc32/dl-machine.h
9504 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9505 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9506 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9507 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9508 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9510 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9511 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9512 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9513 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9514 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9515 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9516 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9517 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9518 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9519 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9520 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9521 (elf_machine_lazy_rel): Likewise.
9522 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9523 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9524 (elf_machine_lazy_rel): Likewise.
9525 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9526 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9527 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9528 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9529 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9530 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9531 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9532 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9534 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9535 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9536 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9537 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9538 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9539 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9540 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9541 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9542 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9543 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9544 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9546 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9547 (__posix_fallocate64_l64): Likewise.
9548 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9549 (posix_fallocate): Likewise.
9550 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9552 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9553 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9554 (getifaddrs_internal): Likewise.
9555 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9556 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9557 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9558 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9559 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9560 (__posix_fallocate64_l64): Likewise.
9561 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9563 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9564 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9565 (__get_clockfreq): Likewise.
9566 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9567 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9568 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9569 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9570 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9571 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9572 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9573 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9575 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9576 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9577 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9578 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9579 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9580 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9581 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9583 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9584 (posix_fallocate): Likewise.
9585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9586 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9587 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9588 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9589 (elf_machine_rela, elf_machine_rela_relative)
9590 (elf_machine_lazy_rel): Likewise.
9591 * time/asctime.c (asctime_internal): Likewise.
9592 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9593 * time/tzset.c (__tzset_parse_tz): Likewise.
9594 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9595 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9596 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9597 * wcsmbs/wcsmbsload.h: Likewise.
9600 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9602 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9603 (arena_get2): Remove THREAD_STATS conditionals.
9604 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9605 (__malloc_stats, int): Likewise.
9607 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9609 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9610 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9612 * manual/setjmp.texi: Fix typos/grammar errors.
9614 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9615 Only return early when n is <= 0. Delete unused return statement.
9617 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9618 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9619 * debug/tst-longjmp_chk3.c: New file.
9621 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9622 (test_main): Replace code with set_fortify_handler call.
9623 * debug/test-strcpy_chk.c: Likewise.
9624 * debug/tst-chk1.c: Likewise.
9625 * debug/tst-longjmp_chk.c: Likewise.
9626 * test-skeleton.c: Include fcntl.h & paths.h
9627 (set_fortify_handler): Define.
9629 * debug/tst-longjmp_chk.c: Add header comment and include
9631 (do_test): Mark static.
9632 (TEST_FUNCTION): Define.
9634 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9635 (IP_PMTUDISC_INTERFACE): Likewise.
9636 (IP_MULTICAST_IF): Likewise.
9637 (IP_MULTICAST_TTL): Likewise.
9638 (IP_MULTICAST_LOOP): Likewise.
9639 (IP_ADD_MEMBERSHIP): Likewise.
9640 (IP_DROP_MEMBERSHIP): Likewise.
9641 (IP_UNBLOCK_SOURCE): Likewise.
9642 (IP_BLOCK_SOURCE): Likewise.
9643 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9644 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9645 (IP_MSFILTER): Likewise.
9646 (MCAST_JOIN_GROUP): Likewise.
9647 (MCAST_BLOCK_SOURCE): Likewise.
9648 (MCAST_UNBLOCK_SOURCE): Likewise.
9649 (MCAST_LEAVE_GROUP): Likewise.
9650 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9651 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9652 (MCAST_MSFILTER): Likewise.
9653 (IP_MULTICAST_ALL): Likewise.
9654 (IP_UNICAST_IF): Likewise.
9656 * timezone/Makefile: Delete $(have-ksh) check.
9657 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9658 * timezone/tzselect.ksh: Add +x mode bits.
9660 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9661 (ANON_INODE_FS_MAGIC): Likewise.
9662 (BDEVFS_MAGIC): Likewise.
9663 (BINFMTFS_MAGIC): Likewise.
9664 (BTRFS_TEST_MAGIC): Likewise.
9665 (CRAMFS_MAGIC_WEND): Likewise.
9666 (DEBUGFS_MAGIC): Likewise.
9667 (ECRYPTFS_SUPER_MAGIC): Likewise.
9668 (EXT3_SUPER_MAGIC): Likewise.
9669 (EXT4_SUPER_MAGIC): Likewise.
9670 (FUTEXFS_SUPER_MAGIC): Likewise.
9671 (HOSTFS_SUPER_MAGIC): Likewise.
9672 (HUGETLBFS_MAGIC): Likewise.
9673 (MINIX3_SUPER_MAGIC): Likewise.
9674 (MTD_INODE_FS_MAGIC): Likewise.
9675 (NILFS_SUPER_MAGIC): Likewise.
9676 (OPENPROM_SUPER_MAGIC): Likewise.
9677 (PIPEFS_MAGIC): Likewise.
9678 (PSTOREFS_MAGIC): Likewise.
9679 (QNX6_SUPER_MAGIC): Likewise.
9680 (RAMFS_MAGIC): Likewise.
9681 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9682 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9683 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9684 (SECURITYFS_MAGIC): Likewise.
9685 (SELINUX_MAGIC): Likewise.
9686 (SMACK_MAGIC): Likewise.
9687 (SOCKFS_MAGIC): Likewise.
9688 (SQUASHFS_MAGIC): Likewise.
9689 (STACK_END_MAGIC): Likewise.
9690 (TMPFS_MAGIC): Likewise.
9691 (USBDEVICE_SUPER_MAGIC): Likewise.
9692 (V9FS_MAGIC): Likewise.
9693 (XENFS_SUPER_MAGIC): Likewise.
9694 (CRAMFS_MAGIC): Fix typo in comment.
9695 (EXT2_SUPER_MAGIC): Update comment.
9696 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9698 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9700 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9701 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9702 * sysdeps/unix/sysv/linux/arm: Move directory from
9703 ports/sysdeps/unix/sysv/linux/arm.
9704 * README: Update listing for arm-*-linux-gnueabi.
9706 * README: Remove mention of am33.
9708 2014-02-07 Roland McGrath <roland@hack.frob.com>
9710 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9711 than the comma operator, to avoid "rhs of comma has no effect"
9713 (__sigfillset, __sigandset, __sigorset): Likewise.
9714 * include/signal.h (__sigemptyset): Likewise.
9715 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9717 2014-02-07 Allan McRae <allan@archlinux.org>
9719 * version.h (RELEASE): Set to "development".
9720 (VERSION): Set to "2.19.90"
9721 * NEWS: Add 2.20 section.
9723 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9726 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9728 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9730 * manual/contrib.texi: Update entry for Carlos O'Donell,
9731 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9733 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9735 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9737 * sysdeps/unix/sysv/linux/kernel-features.h
9738 [__LINUX_KERNEL_VERSION >= 0x020621]
9739 (__ASSUME_PROC_PID_TASK_COMM): Define.
9741 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9744 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9745 conversion when destination buffer does not have enough space.
9746 * libio/tst-ftell-partial-wide.c: New test case.
9747 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9749 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9750 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9751 Leonard and Allan McRae.
9753 2014-02-04 David S. Miller <davem@davemloft.net>
9755 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9758 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9787 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9789 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9790 * shlib-versions: Likewise.
9792 2014-02-04 Roland McGrath <roland@hack.frob.com>
9793 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9795 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9796 (abilist-pattern): New variable, set to %-le.abilist.
9798 * Makerules (abilist-pattern): New variable.
9799 (vpath): Use $(abilist-pattern) in place of %.abilist.
9800 (check-abi-% pattern rule): Likewise.
9801 (check-abi, update-abi): Likewise.
9803 2014-02-04 Eric Wong <normalperson@yhbt.net>
9805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9807 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9809 * manual/startup.texi: Add next, previous, and top entries for
9810 the `Program Arguments' and `Environment Variables' nodes.
9812 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9814 * manual/macros.texi: Add comments before MTASC-safety macros.
9816 * manual/users.texi: Document MTASC-safety properties.
9818 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9819 (pthread_getspecific, pthread_setspecific): Format with
9820 @deftypefun, and add @safety note.
9821 * manual/signal.texi: Move comments that analyze the above
9822 functions to their home place.
9824 2014-02-03 Allan McRae <allan@archlinux.org>
9826 * po/sl.po: Update Slovenian translation from translation project.
9828 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9830 * manual/time.texi (timegm): Add missing blank after @c.
9831 Reported by Joseph Myers <joseph@codesourcery.com>.
9833 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9835 * manual/check-safety.sh: New.
9836 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9838 * manual/terminal.texi: Document MTASC-safety properties.
9840 * manual/filesys.texi: Document MTASC-safety properties.
9842 * manual/errno.texi: Document MTASC-safety properties.
9844 * manual/intro.texi: Document safety identifiers and
9847 * manual/string.texi (wcstok): Fix prototype.
9848 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9850 * manual/time.texi: Document MTASC-safety properties.
9852 * manual/string.texi: Document MTASC-safety properties.
9854 * manual/threads.texi: Document MTASC-safety properties.
9856 * manual/stdio.texi: Document MTASC-safety properties.
9858 * manual/syslog.texi: Document MTASC-safety properties.
9860 * manual/sysinfo.texi: Document MTASC-safety properties.
9862 * manual/startup.texi: Document MTASC-safety properties.
9864 * manual/socket.texi: Document MTASC-safety properties.
9866 * manual/signal.texi: Document MTASC-safety properties.
9868 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9870 * manual/setjmp.texi: Document MTASC-safety properties.
9872 * manual/search.texi: Document MTASC-safety properties.
9874 * manual/resource.texi: Document MTASC-safety properties.
9876 * manual/process.texi: Document MTASC-safety properties.
9878 * manual/platform.texi: Document MTASC-safety properties.
9880 * manual/pipe.texi: Document MTASC-safety properties.
9882 * manual/pattern.texi: Document MTASC-safety properties.
9884 * manual/message.texi: Document MTASC-safety properties.
9887 * manual/memory.texi: Document MTASC-safety properties.
9889 * manual/math.texi: Document MTASC-safety properties.
9891 * manual/locale.texi: Document MTASC-safety properties.
9893 * manual/llio.texi: Document MTASC-safety properties.
9895 * manual/libdl.texi: New.
9897 * manual/lang.texi: Document MTASC-safety properties.
9899 * manual/job.texi: Document MTASC-safety properties.
9901 * manual/getopt.texi: Document MTASC-safety properties.
9903 * manual/ctype.texi: Document MTASC-safety properties.
9905 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9908 * csu/libc-tls.c (static_map): Remove variable.
9909 (__libc_setup_tls): Use main executable's link map for TLS data.
9910 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9911 casing for LM_ID_BASE and GL(dl_nns).
9912 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9913 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9914 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9915 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9916 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9918 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9921 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9923 * manual/debug.texi: Document MTASC-safety properties.
9925 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9928 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9929 of __x86_64__ when disabling x87 inline functions.
9931 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9933 * manual/charset.texi: Document MTASC-safety properties.
9935 * manual/crypt.texi: Document MTASC-safety properties.
9937 * manual/conf.texi: Document MTASC-safety properties.
9939 * manual/arith.texi: Document MTASC-safety properties.
9941 * manual/argp.texi: Document MTASC-safety properties.
9943 * manual/macros.texi: Introduce macros to document multi
9944 thread, asynchronous signal and asynchronous cancellation
9946 * manual/intro.texi: Introduce the properties themselves.
9948 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9950 * sysdeps/sh/sh4/Makefile: New file.
9952 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9954 * math/gen-libm-test.pl ($srcdir): New variable.
9955 ($auto_input): Use it.
9957 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9960 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9961 access beyond array bounds when parsing netgroups file.
9963 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9964 the old buffer before realloc.
9966 2014-01-27 Allan McRae <allan@archlinux.org>
9968 * po/fr.po: Update French translation from translation project.
9970 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9972 * sysdeps/sh/libm-test-ulps: Regenerate.
9974 2014-01-24 David S. Miller <davem@davemloft.net>
9976 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9978 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9980 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9981 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9983 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9986 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9987 string pointers after reallocation.
9989 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9991 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9992 __SH4A__ instead of __SH_FPU_ANY__.
9994 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9996 * sysdeps/sh/fpu_control.h: New file.
9997 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9998 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9999 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10000 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10001 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10002 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10003 * sysdeps/sh/sys/ucontext.h: Remove.
10004 * sysdeps/sh/sys: Remove directory.
10006 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10008 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10009 s390/sys/ucontext.h.
10010 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10011 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10013 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10016 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10018 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10021 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10022 Adjust the vDSO correctly for internal calls.
10023 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10025 2014-01-20 Allan McRae <allan@archlinux.org>
10027 * po/ca.po: Update Catalan translation from translation project.
10029 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10031 * sysdeps/s390/sotruss-lib.c: New file.
10033 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10036 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10037 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10038 local calls issues by not having a PLT stub required for IFUNC calls.
10039 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10041 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10043 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10044 * math/test-fpucw-static.c: Likewise.
10046 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10049 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10051 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10053 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10054 implementation for powerpc.
10056 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10059 * sysdeps/posix/system.c (__libc_system): Do not enable
10060 asynchronous cancellation.
10062 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10065 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10066 handling only for numbers special also in the IEEE case.
10068 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10070 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10072 2014-01-11 Allan McRae <allan@archlinux.org>
10074 * po/bg.po: Update Bulgarian translation from translation project.
10076 * po/de.po: Update German translation from translation project.
10078 2014-01-10 Roland McGrath <roland@hack.frob.com>
10080 * sysdeps/generic/gcc-compat.h: New file.
10082 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10084 * benchtests/asin-inputs: Correct slow inputs.
10085 * benchtests/acos-inputs: Likewise.
10087 2014-01-10 Allan McRae <allan@archlinux.org>
10089 * po:sv.po: Update Swedish translation from translation project.
10091 * po/vi.po: Update Vietnamese translation from translation project.
10093 * po/eo.po: Update Esperanto translation from translation project.
10095 * po/cs.po: Update Czech translation from translation project.
10097 * po/nl.po: Update Dutch translation from translation project.
10099 * po/pl.po: Update Polish translation from translation project.
10101 * po/ru.po: Update Russian translation from translation project.
10103 * po/uk.po: Update Ukrainian translation from translation project.
10105 2014-01-08 Brooks Moses <bmoses@google.com>
10107 * elf/dl-load.c: Fix comment typo.
10109 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10111 * po/header.pot: Rename to...
10112 * po/pot.header: ... this.
10113 * po/Makefile: Use pot.header.
10115 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10116 Maxim Kuvyrkov <maxim@kugelworks.com>
10119 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10120 SRC and DEST against LEN.
10122 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10125 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10127 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10129 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10133 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10136 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10137 for large positive arguments.
10139 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10141 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10143 * math/auto-libm-test-in: Mark various tests with
10144 xfail-rounding:ldbl-128ibm.
10145 * math/auto-libm-test-out: Regenerated.
10148 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10149 Increase overflow threshold.
10151 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10154 * stdio-common/vfprintf.c: Check for integer overflow.
10156 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10158 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10159 the first argument and return value of __tls_get_addr_internal.
10161 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10163 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10164 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10166 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10168 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10169 * sysdeps/s390/rtld-global-offsets.sym: New file.
10170 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10172 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10173 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10174 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10176 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10177 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10183 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10184 halfs of GPRs for high_gprs contexts.
10185 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10186 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10188 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10190 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10192 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10193 for high GPRs (uc_high_gprs) and for future extensions
10195 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10196 for future extensions (__reserved).
10197 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10199 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10200 SC_HIGHGPRS offset definition.
10201 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10202 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10204 * Versions.def: Add GLIBC_2.19 for libpthread.
10205 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10206 siglongjmp for libpthread with GLIBC_2.19 symver.
10207 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10208 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10209 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10210 * sysdeps/s390/__longjmp.c: New file.
10211 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10212 * sysdeps/s390/longjmp.c: New file.
10213 * sysdeps/s390/setjmp.S: New file.
10214 * sysdeps/s390/sigjmp.S: New file.
10215 * sysdeps/s390/v1-longjmp.c: New file.
10216 * sysdeps/s390/v1-setjmp.h: New file.
10217 * sysdeps/s390/v1-sigjmp.c: New file.
10218 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10219 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10220 GLIBC_2.19 version.
10221 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10222 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10223 versioned symbols for ____longjmp_chk.
10224 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10234 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10235 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10236 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10237 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10238 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10239 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10240 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10241 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10242 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10243 * sysdeps/s390/rtld-__longjmp.c: New file.
10244 * sysdeps/s390/rtld-setjmp.S: New file.
10246 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10249 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10250 Return -__logl (x) for small positive arguments without evaluating
10253 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10255 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10257 (__ptrace_peeksiginfo_args): ... this.
10258 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10259 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10260 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10262 2014-01-06 Allan McRae <allan@archlinux.org>
10264 * inet/netinet/in.h: Fix typo in comment.
10266 2014-01-05 Andreas Jaeger <aj@suse.de>
10268 * sysdeps/i386/fpu/libm-test-ulps: Update.
10270 2014-01-05 Allan McRae <allan@archlinux.org>
10272 * po/libc.pot: Regenerated.
10274 * malloc/memusagestat.c: Fix gettext call formatting.
10276 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10278 * nscd/nscd.c: Improve usage() output.
10280 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10282 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10283 * sysdeps/unix/sysv/linux/configure: Regenerated.
10284 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10285 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10287 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10290 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10291 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10293 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10295 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10296 extra tokens at end of #undef directive.
10297 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10298 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10299 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10301 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10303 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10305 * math/auto-libm-test-in: Mark various tests with
10306 xfail-rounding:ldbl-128ibm.
10307 * math/auto-libm-test-out: Regenerated.
10309 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10312 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10313 numbers with subnormal high part when calculating exponent.
10316 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10320 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10322 (__ieee754_acoshl): Use __log1pl not __log1p.
10324 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10326 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10327 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10328 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10329 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10330 (reused_arena, arena_get2): Convert to GNU style.
10331 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10332 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10333 (memalign_check, __malloc_set_state): Likewise.
10334 * malloc/mallocbug.c (main): Likewise.
10335 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10336 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10337 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10338 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10339 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10340 (__posix_memalign, malloc_info): Likewise.
10341 * malloc/malloc.h: Likewise.
10342 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10343 (mallochook, memalignhook, reallochook, mabort): Likewise.
10344 * malloc/mcheck.h: Likewise.
10345 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10346 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10347 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10348 * malloc/morecore.c (__default_morecore): Likewise.
10349 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10350 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10351 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10352 (print_and_abort): Likewise.
10353 * malloc/obstack.h: Likewise.
10354 * malloc/set-freeres.c (__libc_freeres): Likewise.
10355 * malloc/tst-mallocstate.c (main): Likewise.
10356 * malloc/tst-mtrace.c (main): Likewise.
10357 * malloc/tst-realloc.c (do_test): Likewise.
10359 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10362 * nscd/netgroupcache.c (do_notfound): New function.
10363 (addgetnetgrentX): Use it.
10366 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10367 NSS_STATUS_NOTFOUND.
10369 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10371 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10374 2014-01-01 Allan McRae <allan@archlinux.org>
10376 * scripts/update-copyrights: Update configure input file suffix.
10378 * NEWS: Update copyright year.
10379 * catgets/gencat.c: Likewise.
10380 * csu/version.c: Likewise.
10381 * debug/catchsegv.sh: Likewise.
10382 * debug/pcprofiledump.c: Likewise.
10383 * debug/xtrace.sh: Likewise.
10384 * elf/ldconfig.c: Likewise.
10385 * elf/ldd.bash.in: Likewise.
10386 * elf/pldd.c: Likewise.
10387 * elf/sotruss.ksh: Likewise.
10388 * elf/sprof.c: Likewise.
10389 * iconv/iconv_prog.c: Likewise.
10390 * iconv/iconvconfig.c: Likewise.
10391 * locale/programs/locale.c: Likewise.
10392 * locale/programs/localedef.c: Likewise.
10393 * login/programs/pt_chown.c: Likewise.
10394 * malloc/memusage.sh: Likewise.
10395 * malloc/memusagestat.c: Likewise.
10396 * malloc/mtrace.pl: Likewise.
10397 * manual/libc.texinfo: Likewise.
10398 * nscd/nscd.c: Likewise.
10399 * nss/getent.c: Likewise.
10400 * nss/makedb.c: Likewise.
10401 * posix/getconf.c: Likewise.
10402 * scripts/test-installation.pl: Likewise.
10404 * All files with FSF copyright notices: Update copyright dates
10405 using scripts/update-copyrights.
10406 * intl/plural.c: Regenerated.
10407 * locale/programs/charmap-kw.h: Likewise.
10408 * locale/programs/locfile-kw.h: Likewise.
10410 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10412 * sysdeps/unix/sysv/linux/configure: Regenerated.
10413 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10414 the linux/fanotify.h header.
10415 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10416 HAVE_LINUX_FANOTIFY_H is defined.
10418 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10420 * benchtests/cos-inputs: New inputs.
10421 * benchtests/sin-inputs: Likewise.
10423 * benchtests/atan-inputs: New inputs. Fix name of multiple
10424 precision fallback inputs.
10426 * benchtests/atanh-inputs: New inputs.
10427 * benchtests/tanh-inputs: Likewise.
10429 * benchtests/acosh-inputs: New inputs.
10430 * benchtests/asinh-inputs: Likewise.
10432 * benchtests/cosh-inputs: New inputs.
10433 * benchtests/sinh-inputs: Likewise.
10435 * benchtests/acos-inputs: Add more inputs.
10436 * benchtests/asin-inputs: Likewise.
10438 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10441 * manual/arith.texi: Fix spelling.
10442 * manual/charset.texi: Likewise.
10443 * manual/errno.texi: Likewise.
10444 * manual/filesys.texi: Likewise.
10445 * manual/lang.texi: Likewise.
10446 * manual/llio.texi: Likewise.
10447 * manual/locale.texi: Likewise.
10448 * manual/message.texi: Likewise.
10449 * manual/resource.texi: Likewise.
10450 * manual/search.texi: Likewise.
10451 * manual/setjmp.texi: Likewise.
10452 * manual/stdio.texi: Likewise.
10453 * manual/string.texi: Likewise.
10454 * manual/sysinfo.texi: Likewise.
10455 * manual/time.texi: Likewise.
10457 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10459 * po/sl.po: New file.
10461 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10463 * .gitignore: Add core/.gdbinit/.gdb_history.
10465 2013-12-27 Allan McRae <allan@archlinux.org>
10468 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10469 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10471 2013-12-24 Brooks Moses <bmoses@google.com>
10473 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10474 all compilers that claim C++98 compliance, not just GCC.
10475 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10478 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10480 * NEWS: Restore accidentally deleted bug-fix entries.
10482 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10483 Ondřej Bílka <neleai@seznam.cz>
10486 * malloc/malloc.c (_int_free): Perform sanity check only if we
10489 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10492 * manual/stdio.texi (String Input Conversions): Clarify that character
10493 classes are not supported.
10495 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10499 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10502 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10503 Calculate results for small negative arguments directly rather
10504 than using reflection formula with special underflow handling.
10506 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10507 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10508 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10509 (fchflags): Likewise.
10510 (revoke): Likewise.
10511 (setlogin): Likewise.
10512 (sigaltstack): Likewise.
10514 (sigblock): Remove.
10515 (sigsetmask): Likewise.
10517 (waitpid): Likewise.
10518 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10519 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10521 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10522 * sysdeps/unix/bsd/Makefile: ... here.
10523 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10524 * sysdeps/unix/bsd/Versions: ... here.
10525 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10526 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10527 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10528 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10529 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10530 * sysdeps/unix/bsd/sigblock.c: ... here.
10531 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10532 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10533 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10534 * sysdeps/unix/bsd/sigvec.c: ... here.
10535 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10536 * sysdeps/unix/bsd/tcdrain.c: ... here.
10537 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10538 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10539 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10540 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10541 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10542 * sysdeps/unix/bsd/wait.c: ... here.
10543 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10544 * sysdeps/unix/bsd/wait3.c: ... here.
10545 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10546 * sysdeps/unix/bsd/waitpid.c: ... here.
10548 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10551 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10552 round-to-nearest for [!USE_AS_EXPM1L].
10553 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10554 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10555 more tests of exp and exp10. Expect some exp10 tests to miss
10556 exceptions or fail in directed rounding modes.
10557 * math/auto-libm-test-out: Regenerated.
10558 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10559 (exp10_test_tonearest): New function.
10560 (exp10_towardzero_test_data): New array.
10561 (exp10_test_towardzero): New function.
10562 (exp10_downward_test_data): New array.
10563 (exp10_test_downward): New function.
10564 (exp10_upward_test_data): New array.
10565 (exp10_test_upward): New function.
10566 (main): Call the new functions.
10567 * sysdeps/i386/fpu/libm-test-ulps: Update.
10568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10570 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10572 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10573 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10574 * math/auto-libm-test-out: Regenerated.
10575 * math/libm-test.inc (acosh_test_data): Add more tests.
10576 (atanh_test_data): Likewise.
10577 (ceil_test_data): Likewise.
10578 (copysign_test_data): Likewise.
10579 * sysdeps/i386/fpu/libm-test-ulps: Update.
10580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10582 * timezone/checktab.awk: Update from tzcode 2013i.
10583 * timezone/private.h: Likewise.
10584 * timezone/scheck.c: Likewise.
10585 * timezone/tzfile.h: Likewise.
10586 * timezone/tzselect.ksh: Likewise.
10587 * timezone/zdump.c: Likewise.
10588 * timezone/zic.c: Likewise.
10590 * math/auto-libm-test-in: Add tests of cpow.
10591 * math/auto-libm-test-out: Regenerated.
10592 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10593 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10595 (func_calc_desc): Add mpc_cc_c union field.
10596 (test_functions): Add cpow.
10597 (special_fill_2pi): New function.
10598 (special_real_inputs): Add 2pi.
10599 (calc_generic_results): Handle mpc_cc_c.
10600 * sysdeps/i386/fpu/libm-test-ulps: Update.
10601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10603 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10604 csqrt, ctan and ctanh.
10605 * math/auto-libm-test-out: Regenerated.
10606 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10607 (TEST_COND_x86): Likewise.
10608 (ccos_test_data): Use AUTO_TESTS_c_c.
10609 (ccosh_test_data): Likewise.
10610 (cexp_test_data): Likewise.
10611 (clog_test_data): Likewise.
10612 (csqrt_test_data): Likewise.
10613 (ctan_test_data): Likewise.
10614 (ctan_tonearest_test_data): Likewise.
10615 (ctan_towardzero_test_data): Likewise.
10616 (ctan_downward_test_data): Likewise.
10617 (ctan_upward_test_data): Likewise.
10618 (ctanh_test_data): Likewise.
10619 (ctanh_tonearest_test_data): Likewise.
10620 (ctanh_towardzero_test_data): Likewise.
10621 (ctanh_downward_test_data): Likewise.
10622 (ctanh_upward_test_data): Likewise.
10623 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10625 (func_calc_desc): Add mpc_c_c union field.
10626 (FUNC_mpc_c_c): New macro.
10627 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10628 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10630 (special_fill_min_subnorm_p120): New function.
10631 (special_real_inputs): Add min_subnorm_p120.
10632 (calc_generic_results): Handle mpc_c_c.
10633 * sysdeps/i386/fpu/libm-test-ulps: Update.
10634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10636 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10638 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10639 (do_sin_slow): New functions.
10640 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10641 (cslow2, csloww1, csloww2): Use the new functions.
10643 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10644 Use M to change sign of result instead of X. Assume X is
10646 (csloww1): Likewise.
10650 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10651 arguments A and DA.
10655 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10657 (sloww1): Don't adjust sign of DX.
10658 (csloww1): Likewise.
10659 (sloww2): Use X directly and don't adjust sign of DX.
10660 (csloww2): Likewise.
10662 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10664 * math/auto-libm-test-in: Add tests of cabs and carg.
10665 * math/auto-libm-test-out: Regenerated.
10666 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10667 (carg_test_data): Likewise.
10668 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10670 (func_calc_desc): Add mpc_c_f union field.
10671 (test_functions): Add cabs and carg.
10672 (calc_generic_results): Handle mpc_c_f.
10674 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10675 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10676 as a macro and a compat symbol.
10677 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10678 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10679 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10680 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10681 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10682 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10684 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10686 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10688 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10690 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10692 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10694 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10695 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10698 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10702 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10704 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10705 trailing whitespace removed.
10706 * scripts/config.guess: Update to version 2013-11-29.
10707 * scripts/config.sub: Update to version 2013-10-01.
10709 * math/auto-libm-test-in: Add tests of sincos.
10710 * math/auto-libm-test-out: Regenerated.
10711 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10712 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10714 (func_calc_desc): Add mpfr_f_11 union field.
10715 (test_functions): Add sincos.
10716 (calc_generic_results): Handle mpfr_f_11.
10717 * sysdeps/i386/fpu/libm-test-ulps: Update.
10718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10720 2013-12-19 Andreas Schwab <schwab@suse.de>
10722 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10724 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10725 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10726 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10728 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10730 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10731 * sysdeps/i386/fpu/libm-test-ulps: Update.
10732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10735 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10736 round-to-nearest mode when using frndint.
10737 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10738 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10739 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10741 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10743 * math/auto-libm-test-out: Regenerated.
10744 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10745 (TEST_COND_x86): Likewise.
10746 (expm1_tonearest_test_data): New array.
10747 (expm1_test_tonearest): New function.
10748 (expm1_towardzero_test_data): New array.
10749 (expm1_test_towardzero): New function.
10750 (expm1_downward_test_data): New array.
10751 (expm1_test_downward): New function.
10752 (expm1_upward_test_data): New array.
10753 (expm1_test_upward): New function.
10754 (main): Run the new test functions.
10755 * sysdeps/i386/fpu/libm-test-ulps: Update.
10756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10758 * include/features.h: Update comment documenting feature test
10759 macros. Mention _DEFAULT_SOURCE in comment.
10760 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10761 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10762 _BSD_SOURCE and _SVID_SOURCE.
10763 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10764 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10765 !_SVID_SOURCE]: Likewise.
10766 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10767 (__USE_POSIX_IMPLICITLY): Define.
10768 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10769 (_POSIX_SOURCE): Undefine and redefine.
10770 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10771 (_POSIX_C_SOURCE): Likewise.
10772 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10773 (Feature Test Macros): Update documentation of default features.
10775 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10777 * benchtests/Makefile: Add bench-strtok.
10778 * benchtests/bench-strtok.c: New file: strtok benchtest.
10780 2013-12-19 Allan McRae <allan@archlinux.org>
10782 * manual/install.texi: Suppress menu for plain text output.
10783 * INSTALL: Regenerated.
10785 2013-12-18 Brooks Moses <bmoses@google.com>
10788 * misc/getauxval.c: Include errno.h.
10789 (__getauxval): Set errno to ENOENT if the requested type is not
10791 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10792 don't declare with __attribute_const__.
10793 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10794 * manual/startup.texi: Document that getauxval sets errno.
10796 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10798 * math/auto-libm-test-in: Add tests of jn and yn.
10799 * math/auto-libm-test-out: Regenerated.
10800 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10801 (yn_test_data): Likewise.
10802 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10804 (func_calc_desc): Add mpfr_if_f union field.
10805 (FUNC_mpfr_if_f): New macro.
10806 (test_functions): Add jn and yn.
10807 (calc_generic_results): Assert type of second input for
10808 mpfr_ff_f. Handle mpfr_if_f.
10809 (output_for_one_input_case): Disable all checking for arguments
10810 fitting floating-point types in case of an integer argument.
10811 * sysdeps/i386/fpu/libm-test-ulps: Update.
10812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10815 Don't expect fegetround reference in libm.so.
10817 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10819 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10820 $(config-cflags-nofma).
10822 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10824 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10825 * math/auto-libm-test-out: Regenerated.
10828 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10829 to determine exponent and adjust argument to have exponent of -1.
10830 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10832 * math/auto-libm-test-out: Regenerated.
10833 * sysdeps/i386/fpu/libm-test-ulps: Update.
10834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10836 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10838 * manual/probes.texi: Remove cases when per-thread arenas are
10841 2013-12-18 Andreas Schwab <schwab@suse.de>
10843 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10844 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10845 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10846 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10847 * sysdeps/i386/i686/multiarch/Makefile: Update.
10848 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10850 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10852 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10853 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10855 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10858 Support TZ transition times < 00:00:00.
10859 This is needed for version-3 tz-format files; it supports time
10860 stamps past 2037 for America/Godthab (the only entry in the tz
10861 database for which this change is relevant).
10862 * manual/time.texi (TZ Variable): Document transition times
10863 from -167:59:59 through -00:00:01.
10864 * time/tzset.c (tz_rule): Time of day is now signed.
10865 (__tzset_parse_tz): Parse negative time of day.
10867 Document TZ transition times >= 25:00:00.
10868 * manual/time.texi (TZ Variable): Document transition times from
10869 25:00:00 through 167:59:59. These are already supported, and this
10870 support will help with version-3 tz-format files.
10872 * manual/time.texi (TZ Variable): Modernize North America example
10873 to reflect current (i.e., 2007-and-later) daylight saving rules.
10875 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10877 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10879 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10880 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10881 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10882 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10883 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10884 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10885 * sysdeps/unix/bsd/clock.c: Likewise.
10886 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10887 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10888 * sysdeps/unix/bsd/init-posix.c: Likewise.
10889 * sysdeps/unix/bsd/poll.c: Likewise.
10890 * sysdeps/unix/bsd/ptsname.c: Likewise.
10891 * sysdeps/unix/bsd/seekdir.c: Likewise.
10892 * sysdeps/unix/bsd/setegid.c: Likewise.
10893 * sysdeps/unix/bsd/seteuid.c: Likewise.
10894 * sysdeps/unix/bsd/setgid.c: Likewise.
10895 * sysdeps/unix/bsd/setrgid.c: Likewise.
10896 * sysdeps/unix/bsd/setruid.c: Likewise.
10897 * sysdeps/unix/bsd/setsid.c: Likewise.
10898 * sysdeps/unix/bsd/setuid.c: Likewise.
10899 * sysdeps/unix/bsd/sigaction.c: Likewise.
10900 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10901 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10902 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10903 * sysdeps/unix/bsd/telldir.c: Likewise.
10904 * sysdeps/unix/bsd/times.c: Likewise.
10905 * sysdeps/unix/bsd/usleep.c: Likewise.
10907 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10908 ($(objpfx)libbsd-compat.a): Remove rule.
10910 * include/features.h (__FAVOR_BSD): Do not define.
10911 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10912 features conflicting with POSIX.
10913 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10914 (_BSD_SOURCE): Remove description of not being a subset of other
10915 feature test macros.
10916 * manual/job.texi (getpgrp): Do not document BSD version.
10917 (getpgid): Do not document by reference to BSD getpgrp.
10918 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10919 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10920 * signal/signal.h [__FAVOR_BSD]: Likewise.
10921 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10922 instead of making contents conditional on [__FAVOR_BSD].
10923 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10925 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10929 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10932 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10933 values below 2**-450, not 2**-500.
10934 * math/auto-libm-test-in: Don't allow spurious underflow from
10936 * math/auto-libm-test-out: Regenerated.
10940 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10941 values of ha and hb and sort them after adjusting subnormal
10943 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10945 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10946 values of ea and eb and sort them after adjusting subnormal
10948 * math/auto-libm-test-in: Do not expect some hypot tests of
10949 subnormals to fail. Add more hypot tests.
10950 * math/auto-libm-test-out: Regenerated.
10952 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10955 * sysdeps/sh/s_fma.c: New file.
10956 * sysdeps/sh/s_fmaf.c: New file.
10957 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10959 * sysdeps/sh/Implies: Add sh/soft-fp.
10961 2013-12-16 Roland McGrath <roland@hack.frob.com>
10963 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10964 level of indirection to members `objname', `errstring', `malloced'.
10965 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10966 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10967 it as the __longjmp argument (just pass 1 instead).
10968 (_dl_catch_error): Initialize C with argument pointers and address of
10969 volatile local ERRCODE rather than copying values out of C at return.
10971 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10973 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10974 * math/auto-libm-test-out: Regenerated.
10975 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10976 (hypot_test_data): Likewise.
10977 (pow_test_data): Likewise.
10978 (pow_tonearest_test_data): Likewise.
10979 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10981 (func_calc_desc): Add mpfr_ff_f union field.
10982 (FUNC_mpfr_ff_f): New macro.
10983 (test_functions): Add atan2, hypot and pow.
10984 (special_fill_min): New function.
10985 (special_fill_minus_min): Likewise.
10986 (special_fill_min_subnorm): Likewise.
10987 (special_fill_minus_min_subnorm): Likewise.
10988 (special_real_inputs): Add min, -min, min_subnorm and
10990 (calc_generic_results): Handle mpfr_ff_f.
10991 * sysdeps/i386/fpu/libm-test-ulps: Update.
10992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10994 2013-12-16 Will Newton <will.newton@linaro.org>
10996 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10997 (Aligned Memory Blocks): Add documentation for aligned_alloc
10998 and suggest it as an alternative to posix_memalign.
10999 (Hooks for Malloc): Document __memalign_hook is also called
11000 for aligned_alloc. (Summary of Malloc): Add summary for
11001 aligned alloc. Document __memalign_hook is also called
11004 2013-12-16 Will Newton <will.newton@linaro.org>
11006 * manual/memory.texi (Malloc Examples): Clarify default
11007 alignment documentation. Suggest posix_memalign rather
11008 than memalign or valloc.
11009 (Aligned Memory Blocks): Remove suggestion to use memalign
11010 or valloc. Remove obsolete comment about BSD.
11011 Document memalign errno values and mark the function obsolete.
11012 Document posix_memalign returned error codes. Mark valloc
11013 as obsolete. (Hooks for Malloc): __memalign_hook is also
11014 called for posix_memalign and valloc.
11015 (Summary of Malloc): Add posix_memalign to function summary.
11016 __memalign_hook is also called for posix_memalign and valloc.
11018 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11020 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11024 (sloww): Use mynumber union. Expand ternary operator into
11025 if-else statements.
11026 (cslow): use mynumber union.
11028 2013-12-16 Allan McRae <allan@archlinux.org>
11030 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11031 * configure: Regenerated.
11033 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11036 * configure.ac: Added --enable-maintainer-mode. Check for
11037 autoconf when enabled.
11038 * configure: Regenerated.
11040 * nscd/nscd.service: New file.
11041 * nscd/nscd.tmpfiles: New file.
11043 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11046 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11047 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11048 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11049 (strstr): Add __strstr_sse2_unaligned ifunc.
11050 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11051 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11052 (strcasestr): Remove __strcasestr_sse42 ifunc.
11053 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11054 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11057 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11059 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11060 * sysdeps/sh/bits/fenv.h: ... here.
11061 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11063 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11065 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11067 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11068 hypotf multiarch implementations.
11069 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11070 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11071 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11072 multiarch hypot for PPC64.
11073 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11074 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11076 multiarch hypotf for PPC64.
11078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11079 modff multiarch implementations.
11080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11083 multiarch modf for PPC64.
11084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11087 multiarch modff for PPC64.
11089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11090 and logl multiarch implementations.
11091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11094 multiarch logb for PPC64.
11095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11098 multiarch logb for PPC64.
11099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11102 multiarch logb for PPC64.
11104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11105 isinff multiarch implementation.
11106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11110 multiarch isinf for PPC64.
11111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11114 multiarch isinff for PPC64.
11116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11117 finitef multiarch implementation.
11118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11122 multiarch finite for PPC64.
11123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11126 multiarch finitef for PPC64.
11128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11129 lrint multiarch implementation.
11130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11134 multiarch llrint for PPC64.
11135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11136 multiarch lrint for PPC64.
11138 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11139 copysignf multiarch implementation.
11140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11145 multiarch copysign for PPC64.
11146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11147 multiarch copysignf for PPC64.
11149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11150 multiarch implementation.
11151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11159 multiarch llround for PPC64.
11160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11161 multiarch trunc for PPC64.
11162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11163 multiarch truncf for PPC64.
11165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11166 multiarch implementation.
11167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11175 multiarch llround for PPC64.
11176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11177 multiarch round for PPC64.
11178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11179 multiarch roundf for PPC64.
11181 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11182 multiarch implementation.
11183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11191 multiarch llround for PPC64.
11192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11193 multiarch floor for PPC64.
11194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11195 multiarch floorf for PPC64.
11197 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11198 multiarch implementation.
11199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11207 multiarch llround for PPC64.
11208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11209 multiarch ceil for PPC64.
11210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11211 multiarch ceilf for PPC64.
11213 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11214 multiarch implementation.
11215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11222 multiarch llround for PPC64.
11223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11224 multiarch lround for PPC64.
11226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11227 multiarch implementation.
11228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11235 multiarch isnan for PPC64.
11236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11237 multiarch isnanf for PPC64.
11239 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11240 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11241 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11242 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11243 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11246 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11247 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11248 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11249 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11252 multiarch implementations.
11253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11254 (__libc_ifunc_impl_list): Likewise.
11255 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11256 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11257 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11258 multiarch stpcpy for PPC64.
11260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11261 multiarch implementations.
11262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11263 (__libc_ifunc_impl_list): Likewise.
11264 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11265 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11266 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11267 multiarch strcpy for PPC64.
11269 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11270 redefine function name.
11271 (_wordcopy_fwd_dest_aligned): Likewise.
11272 (_wordcopy_bwd_aligned): Likewise.
11273 (_wordcopy_bwd_dest_aligned): Likewise.
11274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11275 multiarch implementations.
11276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11277 (__libc_ifunc_impl_list): Likewise.
11278 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11279 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11280 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11281 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11282 multiarch wcscpy for PPC64.
11284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11285 multiarch implementations.
11286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11287 (__libc_ifunc_impl_list): Likewise.
11288 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11289 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11290 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11291 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11292 multiarch wcscpy for PPC64.
11294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11295 multiarch implementations.
11296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11297 (__libc_ifunc_impl_list): Likewise.
11298 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11299 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11300 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11301 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11302 multiarch wcsrchr for PPC64.
11304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11305 multiarch implementations.
11306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11307 (__libc_ifunc_impl_list): Likewise.
11308 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11309 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11310 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11311 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11312 multiarch wcschr for PPC64.
11314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11315 multiarch implementations.
11316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11317 (__libc_ifunc_impl_list): Likewise.
11318 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11319 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11320 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11321 multiarch strchrnul for PPC64.
11323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11326 (__libc_ifunc_impl_list): Likewise.
11327 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11328 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11329 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11330 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11336 (__libc_ifunc_impl_list): Likewise.
11337 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11338 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11339 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11340 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11344 multiarch implementations.
11345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11346 (__libc_ifunc_impl_list): Likewise.
11347 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11348 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11349 strncasecmp for PPC64.
11350 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11351 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11352 multiarch strncasecmp_l for PPC64.
11354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11355 multiarch implementations.
11356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11357 (__libc_ifunc_impl_list): Likewise.
11358 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11359 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11360 multiarch strcasecmp for PPC64.
11361 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11363 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11364 multiarch strcasecmp_l for PPC64.
11366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11369 (__libc_ifunc_impl_list): Likewise.
11370 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11371 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11372 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11378 (__libc_ifunc_impl_list): Likewise.
11379 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11380 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11381 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11387 (__libc_ifunc_impl_list): Likewise.
11388 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11389 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11390 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11391 rawmemrchr for PPC64.
11393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11396 (__libc_ifunc_impl_list): Likewise.
11397 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11398 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11399 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11405 (__libc_ifunc_impl_list): Likewise.
11406 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11407 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11408 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11414 (__libc_ifunc_impl_list): Likewise.
11415 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11416 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11417 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11420 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11421 avoid cretion of __bzero symbol.
11422 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11424 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11426 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11429 multiarch implementations.
11430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11431 (__libc_ifunc_impl_list): Likewise.
11432 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11433 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11434 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11435 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11437 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11438 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11439 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11440 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11441 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11443 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11445 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11449 (__libc_ifunc_impl_list): Likewise.
11450 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11451 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11452 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11453 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11457 multiarch for POWER/PPC64.
11458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11459 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11460 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11461 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11462 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11463 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11464 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11465 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11466 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11469 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11470 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11471 * sysdeps/powerpc/powerpc64/power4/multiarch/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/power5/Implies: New File.
11475 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11476 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11477 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11478 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11479 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11480 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11481 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11482 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11483 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11492 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11494 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11496 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11498 * benchtests/Makefile (bench): Add exp2 and log2.
11499 (LDLIBS-bench-exp2): Add -lm.
11500 (LDLIBS-bench-log2): Likewise.
11501 * benchtests/exp2-inputs: New inputs file.
11502 * benchtests/log2-inputs: New inputs file.
11503 * benchtests/log-inputs: Add new inputs.
11504 * benchtests/tan-inputs: Likewise.
11506 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11508 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11510 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11511 (csloww2): ... from here.
11513 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11514 instead of structures.
11515 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11516 (POLYNOMIAL): Likewise.
11517 (TAYLOR_SLOW): Likewise.
11523 (sloww1); Likewise.
11524 (sloww2): Likewise.
11525 (bsloww1): Likewise.
11526 (bsloww2): Likewise.
11527 (cslow2): Likewise.
11528 (csloww): Likewise.
11529 (csloww1): Likewise.
11530 (csloww2): Likewise.
11532 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11534 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11535 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11536 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11537 * malloc/hooks.c (realloc_check): Likewise.
11539 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11540 * malloc/arena.c: Remove PER_THREAD conditional.
11541 [!PER_THREAD]: Remove code.
11542 (ptmalloc_unlock_all2): Likewise.
11543 (ptmalloc_init): Likewise.
11544 (_int_new_arena): Likewise.
11545 (arena_get2): Likewise.
11546 * malloc/hooks.c (__malloc_get_state): Likewise.
11547 (__malloc_set_state): Likewise.
11548 * malloc/malloc.c: Likewise.
11549 (struct malloc_state): Likewise.
11550 (struct malloc_par): Likewise.
11551 (__libc_realloc): Likewise.
11552 (__libc_mallopt): Likewise.
11554 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11556 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11558 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11560 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11561 macro to a function. Check for zero perturb_byte.
11562 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11564 * malloc/malloc.c: (force_reg): Remove.
11565 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11566 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11567 force_reg by atomic_forced_read.
11568 * malloc/arena.c (ptmalloc_init): Likewise.
11569 * malloc/hooks.c (top_check): Likewise.
11571 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11575 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11579 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11581 * math/auto-libm-test-in: Add tests of lgamma.
11582 * math/auto-libm-test-out: Regenerated.
11583 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11584 (M_LOG_2_SQRT_PIl): Likewise.
11585 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11586 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11588 (func_calc_desc): Add mpfr_f_f1 union field.
11589 (ARGS1): New macro.
11597 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11598 (test_functions): Add lgamma.
11599 (calc_generic_results): Handle mpfr_f_f1.
11600 * sysdeps/i386/fpu/libm-test-ulps: Update.
11601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11603 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11605 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11606 __mpn_add_n for PowerPC64/POWER7.
11607 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11608 __mpn_sub_n for PowerPC64/POWER7.
11610 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11611 __mpn_addmul_1 for PowerPC64.
11612 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11613 __mpn_submul_1 for PowerPC64.
11614 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11616 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11619 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11622 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11624 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11626 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11628 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11629 add multiarch folders.
11630 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11631 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11632 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11633 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11634 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11635 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11636 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11637 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11638 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11639 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11640 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11649 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11655 multiarch __ieee754_hypot for PowerPC32.
11656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11661 multiarch __ieee754_hypotf for PowerPC32.
11663 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11664 long_double_symbol only if __logbl is defined.
11665 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11666 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11667 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11668 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11670 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11671 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11672 path for implementation.
11673 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11674 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11676 logb, and logbl multiarch implementations for PowerPC32.
11677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11682 multiarch logb for PowerPC32.
11683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11688 multiarch logbf for PowerPC32.
11689 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11693 multiarch logbl implementation for PowerPC32.
11695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11696 and modff multiarch implementations.
11697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11702 multiarch modf for PowerPC32.
11703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11708 multiarch modff for PowerPC32.
11710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11711 and lrintf multiarch implementations.
11712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11717 multiarch lrint for PowerPC32.
11718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11719 file: multiarch lrintf for PowerPC32.
11721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11722 and lroundf multiarch implementations.
11723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11730 multiarch lround for PowerPC32.
11731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11732 file: multiarch lroundf for PowerPC32.
11734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11735 copysign and copysignf multiarch implementations.
11736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11741 file: multiarch copysign for PowerPC32.
11742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11743 file: multiarch copysignf for PowerPC32.
11745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11746 and truncf multiarch implementations.
11747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11752 multiarch trunc for PowerPC32.
11753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11758 multiarch truncf for PowerPC32.
11760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11761 and roundf multiarch implementations.
11762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11767 multiarch round for PowerPC32.
11768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11773 multiarch roundf for PowerPC32.
11775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11776 and floorf multiarch implementations.
11777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11782 multiarch floor for PowerPC32.
11783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11788 multiarch floorf for PowerPC32.
11790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11791 and ceilf multiarch implementations.
11792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11797 multiarch ceil for PowerPC32.
11798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11803 multiarch ceilf for PowerPC32.
11805 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11807 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11808 FINITEF is defined.
11809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11810 and finitef multiarch implementations.
11811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11816 multiarch finite for PowerPC32.
11817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11820 file: multiarch finitef for PowerPC32.
11822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11823 and isinff multiarch implementations.
11824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11829 multiarch isinf for PowerPC32.
11830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11833 multiarch isinff for PowerPC32.
11835 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11836 alias when __isnan is defined.
11837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11838 and isnanf multiarch implementations.
11839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11848 multiarch isnan for PowerPC32.
11849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11854 multiarch isnanf for PowerPC32.
11856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11857 and sqrtf multiarch implementations.
11858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11863 multiarch sqrt for PowerPC32.
11864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11869 multiarch sqrtf for PowerPC32.
11871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11872 and llroundf multiarch implementations.
11873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11880 file: multiarch llround for PowerPC32.
11881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11882 file: multiarch llroundf for PowerPC32.
11884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11885 multiarch PowerPC32 fpu implementations.
11886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11891 multiarch llrint for PowerPC32.
11892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11901 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11903 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11905 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11907 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11908 multiarch wordcopy for PPC32.
11909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11911 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11912 (__libc_ifunc_impl_list): Likewise.
11913 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11914 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11915 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11916 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11917 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11918 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11920 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11921 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11923 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11925 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11928 multiarch wcscpy for PPC32.
11929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11932 (__libc_ifunc_impl_list): Likewise.
11933 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11934 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11935 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11936 sysdeps/powerpc/power6/wcscpy.c.
11938 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11939 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11941 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11943 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11946 multiarch wcsrchr for PPC32.
11947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11950 (__libc_ifunc_impl_list): Likewise.
11951 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11952 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11953 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11954 sysdeps/powerpc/power6/wcsrchr.c.
11956 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11958 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11962 multiarch wcschr for PPc32.
11963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11966 (__libc_ifunc_impl_list): Likewise.
11967 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11968 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11969 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11970 sysdeps/powerpc/power6/wcschr.c.
11972 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11973 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11975 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11976 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11977 file: multiarch strchr for PPC32.
11978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11981 (__libc_ifunc_impl_list): Likewise.
11983 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11985 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11987 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11989 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11990 multiarch strchrnul for PPC32.
11991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11993 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11994 (__libc_ifunc_impl_list): Likewise.
11996 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11998 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11999 multiarch strncasecmp for PPC32.
12000 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12002 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12003 multiarch strncasecmp_l for PPC32.
12004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12005 strncasecmp multiarch objects.
12006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12007 (__libc_ifunc_impl_list): Likewise.
12009 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12011 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12012 multiarch strncasecmp for PPC32.
12013 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12015 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12016 multiarch strcasecmp_l for PPC32.
12017 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12019 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12020 (__libc_ifunc_impl_list): Likewise.
12022 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12024 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12026 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12027 multiarch strncmp for PPC32.
12028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12031 (__libc_ifunc_impl_list): Likewise.
12033 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12034 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12036 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12037 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12041 (__libc_ifunc_impl_list): Likewise.
12043 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12045 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12047 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12051 (__libc_ifunc_impl_list): Likewise.
12053 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12055 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12057 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12058 multiarch rawmemchr for PPC32.
12059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12062 (__libc_ifunc_impl_list): Likewise.
12064 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12066 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12068 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12069 file: memrchr multiarch for PPC32.
12070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12073 (__libc_ifunc_impl_list): Likewise.
12075 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12076 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12078 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12079 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12080 multiarch memchr for PPC32.
12081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12083 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12084 (__libc_ifunc_impl_list): Likewise.
12086 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12087 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12089 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12091 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12092 file: multiarch mempcpy for PPC32.
12093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12096 (__libc_ifunc_impl_list): Likewise.
12098 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12099 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12100 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12101 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12102 multiarch bzero for PPC32.
12103 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12105 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12107 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12108 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12109 file: multiarch memset for PPC32.
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12112 memset multiarch objects.
12113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12114 (__libc_ifunc_impl_list): Likewise.
12116 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12118 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12125 (__libc_ifunc_impl_list): Likewise.
12127 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12128 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12129 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12131 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12133 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12135 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12136 multiarch memcpy for PPC32.
12137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12140 (__libc_ifunc_impl_list): Likewise.
12142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12143 support multiarch for POWER/PPC32.
12144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12146 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12148 Implies file to make multiarch folder appers before the fpu and
12149 default folder for power4 configuration.
12151 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12153 * scripts/bench.pl: Append volatile keyword to type.
12155 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12157 * sysdeps/sh/sotruss-lib.c: New file.
12158 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12160 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12164 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12167 * math/w_tgamma.c: Include <errno.h>.
12168 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12169 * math/w_tgammaf.c: Include <errno.h>.
12170 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12171 * math/w_tgammal.c: Include <errno.h>.
12172 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12173 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12174 underflow. Add more tgamma tests.
12175 * math/auto-libm-test-out: Regenerated.
12176 * sysdeps/i386/fpu/libm-test-ulps: Update.
12177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12179 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12180 sin, sinh, tan, tanh, tgamma, y0 and y1.
12181 * math/auto-libm-test-out: Regenerated.
12182 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12183 (TEST_COND_x86): Likewise.
12184 (M_E2l): Remove macro.
12186 (M_2_SQRT_PIl): Likewise.
12187 (M_SQRT_PIl): Likewise.
12188 (M_1_DIV_El): Likewise.
12189 (log_test_data): Use AUTO_TESTS_f_f.
12190 (log10_test_data): Likewise.
12191 (log1p_test_data): Likewise.
12192 (log2_test_data): Likewise.
12193 (sin_test_data): Likewise.
12194 (sin_tonearest_test_data): Likewise.
12195 (sin_towardzero_test_data): Likewise.
12196 (sin_downward_test_data): Likewise.
12197 (sin_upward_test_data): Likewise.
12198 (sinh_test_data): Likewise.
12199 (sinh_tonearest_test_data): Likewise.
12200 (sinh_towardzero_test_data): Likewise.
12201 (sinh_downward_test_data): Likewise.
12202 (sinh_upward_test_data): Likewise.
12203 (tan_test_data): Likewise.
12204 (tan_tonearest_test_data): Likewise.
12205 (tan_towardzero_test_data): Likewise.
12206 (tan_downward_test_data): Likewise.
12207 (tan_upward_test_data): Likewise.
12208 (tanh_test_data): Likewise.
12209 (tgamma_test_data): Likewise.
12210 (y0_test_data): Likewise.
12211 (y1_test_data): Likewise.
12212 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12213 (special_real_inputs): Add pi/4.
12214 * sysdeps/i386/fpu/libm-test-ulps: Update.
12215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12217 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12219 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12220 "longjmp_target" static probes.
12221 (__longjmp): Rename to __longjmp_symbol.
12222 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12223 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12224 on which longjmp to generate.
12225 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12226 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12228 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12229 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12230 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12231 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12232 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12233 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12235 __longjmp_symbol based on which __longjmp to generate.
12236 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12238 (setjmp): Rename to setjmp_symbol.
12239 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12240 (_setjmp): Rename to _setjmp_symbol.
12241 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12242 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12243 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12244 which setjmp to generate.
12245 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12246 "longjmp_target" static probes.
12248 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12250 * benchtests/README: Add note about output arguments.
12251 * benchtests/bench-sincos.c: Remove file.
12252 * benchtests/sincos-inputs: New file.
12253 * scripts/bench.pl: Identify output arguments and define
12254 static variables for them.
12256 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12259 * Makefile (INSTALL): Add install-plain.texi as the primary
12261 * manual/install-plain.texi: New file.
12262 * manual/install.texi: Include node directive only for
12263 non-plaintext output.
12265 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12267 * stdlib/longlong.h: Update from GCC.
12271 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12272 * math/w_j0f.c (y0f): Likewise.
12273 * math/w_j0l.c (__y0l): Likewise.
12274 * math/w_j1.c (y1): Likewise.
12275 * math/w_j1f.c (y1f): Likewise.
12276 * math/w_j1l.c (__y1l): Likewise
12277 * math/w_jn.c (yn): Likewise.
12278 * math/w_jnf.c (ynf): Likewise.
12279 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12280 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12281 value for Bessel function domain errors outside _SVID_ mode.
12282 Adjust sign of return value for yn (negative integer, 0).
12283 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12284 by zero in return for negative x and set sign appropriately for
12286 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12287 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12288 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12289 expectations in error cases.
12290 (y1_test_data): Likewise.
12291 (yn_test_data): Likewise.
12292 * sysdeps/i386/fpu/libm-test-ulps: Update.
12293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12295 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12297 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12298 "64" to "64-v1". Add "64-v2".
12299 (abi-64-options): Rename to ...
12300 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12301 (abi-64-condition): Rename to ...
12302 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12303 (abi-64-ld-soname): Rename to ...
12304 (abi-64-v1-ld-soname): ... this.
12305 (abi-64-v2-options): Define.
12306 (abi-64-v2-condition): Likewise.
12307 (abi-64-v2-ld-soname): Likewise.
12308 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12309 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12314 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12315 Alan Modra <amodra@gmail.com>
12317 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12318 New versions for use with the ELFv2 ABI.
12319 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12320 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12322 (struct La_ppc64v2_retval): Likewise.
12323 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12324 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12325 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12326 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12327 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12328 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12329 Do not save or restore CR.
12330 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12331 (_dl_profile_resolve): Do no save or restore CR. Support extended
12332 return values for ELFv2 ABI. Fix location of FPR return registers.
12333 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12334 updated values for _CALL_ELF == 2.
12335 (La_regs, La_retval, int_retval): Likewise.
12337 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12339 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12340 (FRAME_MIN_SIZE_PARM): Likewise.
12341 (FRAME_BACKCHAIN): Likewise.
12342 (FRAME_CR_SAVE): Likewise.
12343 (FRAME_LR_SAVE): Likewise.
12344 (FRAME_TOC_SAVE): Likewise.
12345 (FRAME_PARM_SAVE): Likewise.
12346 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12347 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12348 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12349 (call_mcount_parm_offset): New macro.
12350 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12351 (PROF): Use symbolic stack frame offsets.
12352 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12353 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12354 Redefine in terms of FRAME_MIN_SIZE.
12355 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12356 (_dl_profile_resolve): Likewise. Update comment.
12357 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12358 symbols stack frame offsets.
12359 (__sigsetjmp): Likewise.
12360 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12361 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12362 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12363 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12366 (FRAME_BACKCHAIN): Remove.
12367 (FRAME_CR_SAVE): Likewise.
12368 (FRAME_LR_SAVE): Likewise.
12369 (FRAME_COMPILER_DW): Likewise.
12370 (FRAME_LINKER_DW): Likewise.
12371 (FRAME_TOC_SAVE): Likewise.
12372 (FRAME_PARM_SAVE): Likewise.
12373 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12374 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12375 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12377 (CHECK_SP): Use symbolic stack frame offsets.
12378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12379 zone" instead of caller's parameter save area for temp storage.
12380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12381 Likewise. Also, use symbolic stack frame offsets.
12382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12383 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12384 our own stack frame instead of the caller's.
12385 (__socket): Use symbolic stack frame offsets.
12387 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12388 Alan Modra <amodra@gmail.com>
12390 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12392 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12393 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12394 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12396 (elf_machine_fixup_plt): Call it.
12397 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12399 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12400 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12401 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12402 r2 before calling target.
12404 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12405 Alan Modra <amodra@gmail.com>
12407 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12408 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12409 versions of macros to support ELFv2 ABI.
12410 (LOCALENTRY): New macro.
12411 (ENTRY, EALIGN): Use it.
12412 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12413 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12414 fall through into ENTRY entry point.
12415 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12416 Only define if _CALL_ELF != 2.
12418 (elf_machine_matches_host): Verify ABI version matches.
12419 (RTLD_START): Use LOCALENTRY.
12420 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12421 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12422 (PLT_ENTRY_WORDS): New macro.
12423 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12424 (elf_machine_runtime_setup): Support ELFv2 ABI.
12425 (elf_machine_fixup_plt): Likewise.
12426 (elf_machine_plt_conflict): Likewise.
12427 (resolve_ifunc): Likewise.
12428 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12429 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12432 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12434 (makecontext): Support ELFv2 ABI.
12435 * elf/elf.h (EF_PPC64_ABI): Define.
12437 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12439 * sysdeps/powerpc/powerpc64/sysdep.h
12440 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12441 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12442 (ENTRY) [ASSEMBLER]: ... but instead here ...
12443 (EALIGN) [ASSEMBLER]: ... and here.
12444 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12445 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12446 (ENTRY_2) [!ASSEMBLER]: Use it.
12447 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12448 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12449 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12450 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12451 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12453 Use PPC64_LOAD_FUNCPTR.
12455 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12457 2013-12-04 Alan Modra <amodra@gmail.com>
12459 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12460 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12461 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12462 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12464 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12465 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12466 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12467 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12468 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12469 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12471 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12474 (__makecontext): Fix incorrect CFI when backtracing out of
12475 context created via makecontext.
12476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12477 (__setcontext): Fix incorrect CFI during switch to new context.
12478 (__novec_setcontext): Likewise.
12480 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12483 * time/strptime_l.c (__strptime_internal): Allow modifiers
12485 * time/tst-strptime.c (day_tests): Add testcase.
12487 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12489 * scripts/bench.pl: Skip over blank lines.
12491 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12494 * manual/time.texi (Calendar Time): Clarify what timezone functions
12497 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12501 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12503 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12505 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12506 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12507 * debug/memset_chk.c (__memset_chk): Likewise.
12508 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12509 * debug/strncpy_chk.c: Likewise.
12511 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12515 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12516 (__ieee754_exp): For possibly underflowing results, check size of
12517 result and force underflow exception if required.
12518 * math/auto-libm-test-in: Add more tests of exp.
12519 * math/auto-libm-test-out: Regenerated.
12520 * sysdeps/i386/fpu/libm-test-ulps: Update.
12521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12524 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12525 * math/w_exp2f.c (__exp2f): Likewise.
12526 * math/w_exp2l.c (__exp2l): Likewise.
12527 * math/auto-libm-test-in: Do not allow missing errno on exp2
12529 * math/auto-libm-test-out: Regenerated.
12531 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12534 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12535 handle filename validation.
12536 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12539 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12542 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12543 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12544 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12546 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12547 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12548 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12549 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12550 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12551 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12552 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12553 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12554 Add more erfc tests.
12555 * math/auto-libm-test-out: Regenerated.
12556 * sysdeps/i386/fpu/libm-test-ulps: Update.
12557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12559 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12560 exp2, expm1, j0 and j1.
12561 * math/auto-libm-test-out: Regenerated.
12562 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12563 (erfc_test_data): Likewise.
12564 (exp_test_data): Likewise.
12565 (exp_tonearest_test_data): Likewise.
12566 (exp_towardzero_test_data): Likewise.
12567 (exp_downward_test_data): Likewise.
12568 (exp_upward_test_data): Likewise.
12569 (exp10_test_data): Likewise.
12570 (exp2_test_data): Likewise.
12571 (expm1_test_data): Likewise.
12572 (j0_test_data): Likewise.
12573 (j1_test_data): Likewise.
12574 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12575 (input_flag_type): Add flag_xfail_rounding.
12576 (input_flags): Add xfail-rounding.
12577 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12578 (output_for_one_input_case): Handle flag_xfail_rounding.
12579 * sysdeps/i386/fpu/libm-test-ulps: Update.
12580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12582 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12585 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12588 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12591 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12592 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12593 (STAP_PROBE0): New macro.
12594 (STAP_PROBE1): Likewise.
12595 (STAP_PROBE2): Likewise.
12596 (STAP_PROBE3): Likewise.
12597 (STAP_PROBE4): Likewise.
12599 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12601 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12603 2013-12-02 Steve Ellcey <sellcey@mips.com>
12605 * benchtests/Makefile (bench): Add sqrt.
12606 (LDLIBS-bench-sqrt): New.
12607 * benchtests/sqrt-input: New.
12609 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12611 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12612 (GAIH_EAI): Likewise.
12613 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12614 (gaih_inet): Likewise.
12615 (getaddrinfo): Don't use GAIH_EAI.
12617 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12618 (struct gaih): Remove definition.
12620 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12622 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12623 Use HERRNOP directly.
12625 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12629 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12631 * math/gen-auto-libm-tests.c (test_functions): Add more
12632 single-argument functions.
12633 (special_fill_pi_2): New function.
12634 (special_fill_minus_pi_2): Likewise.
12635 (special_fill_pi_6): Likewise.
12636 (special_fill_minus_pi_6): Likewise.
12637 (special_fill_pi_3): Likewise.
12638 (special_fill_2pi_3): Likewise.
12639 (special_fill_e): Likewise.
12640 (special_fill_1_e): Likewise.
12641 (special_fill_e_minus_1): Likewise.
12642 (special_real_inputs): Add more special inputs.
12643 (output_for_one_input_case): Do not require ERANGE on underflow to
12644 zero if round-to-nearest result does not underflow to zero, unless
12645 exact results required.
12646 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12647 atan, atanh, cbrt, cos and cosh.
12648 * math/auto-libm-test-out: Regenerated.
12649 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12650 (acos_tonearest_test_data): Likewise.
12651 (acos_towardzero_test_data): Likewise.
12652 (acos_downward_test_data): Likewise.
12653 (acos_upward_test_data): Likewise.
12654 (acosh_test_data): Likewise.
12655 (asin_test_data): Likewise.
12656 (asin_tonearest_test_data): Likewise.
12657 (asin_towardzero_test_data): Likewise.
12658 (asin_upward_test_data): Likewise.
12659 (asinh_test_data): Likewise.
12660 (atan_test_data): Likewise.
12661 (atanh_test_data): Likewise.
12662 (cbrt_test_data): Likewise.
12663 (cos_test_data): Likewise.
12664 (cos_tonearest_test_data): Likewise.
12665 (cos_towardzero_test_data): Likewise.
12666 (cos_downward_test_data): Likewise.
12667 (cos_upward_test_data): Likewise.
12668 (cosh_test_data): Likewise.
12669 (cosh_tonearest_test_data): Likewise.
12670 (cosh_towardzero_test_data): Likewise.
12671 (cosh_downward_test_data): Likewise.
12672 (cosh_upward_test_data): Likewise.
12673 * sysdeps/i386/fpu/libm-test-ulps: Update.
12674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12676 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12679 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12680 * math/w_exp10f.c (__exp10f): Likewise.
12681 * math/w_exp10l.c (__exp10l): Likewise.
12682 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12683 errno settings in existing tests.
12686 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12687 precision control set to double precision.
12688 * sysdeps/i386/fpu/w_sqrt.c: New file.
12689 * math/auto-libm-test-in: Add more tests.
12690 * math/auto-libm-test-out: Update.
12692 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12693 (sqrt_test_tonearest): New function.
12694 (sqrt_towardzero_test_data): New variable.
12695 (sqrt_test_towardzero): New function.
12696 (sqrt_downward_test_data): New variable.
12697 (sqrt_test_downward): New function.
12698 (sqrt_upward_test_data): New variable.
12699 (sqrt_test_upward): New function.
12700 (main): Call the new functions.
12702 * math/gen-auto-libm-tests.c: New file.
12703 * math/auto-libm-test-in: Likewise.
12704 * math/auto-libm-test-out: New generated file.
12705 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12707 (%beautify): Add generated representations of zero.
12708 (top level): Set $auto_input and call parse_auto_input.
12709 (beautify): Remove trailing "f" from hex float constants.
12710 (parse_args): Handle XFAIL_TEST.
12711 (convert_condition): New function.
12712 (or_value): Likewise.
12713 (or_cond_value): Likewise.
12714 (generate_testfile): Handle AUTO_TESTS_* lines.
12715 (parse_auto_input): New function.
12716 * math/libm-test.inc (XFAIL_TEST): New macro.
12717 (ERRNO_UNCHANGED): Update value.
12718 (ERRNO_EDOM): Likewise.
12719 (ERRNO_ERANGE): Likewise.
12720 (IGNORE_RESULT): Likewise.
12721 (TEST_COND_flt_32): New macro.
12722 (TEST_COND_dbl_64): Likewise.
12723 (TEST_COND_ldbl_96_intel): Likewise.
12724 (TEST_COND_ldbl_96_m68k): Likewise.
12725 (TEST_COND_ldbl_128): Likewise.
12726 (TEST_COND_ldbl_128ibm): Likewise.
12727 (TEST_COND_long32): Likewise.
12728 (TEST_COND_long64): Likewise.
12729 (TEST_COND_before_rounding): Likewise.
12730 (TEST_COND_after_rounding): Likewise.
12731 (enable_test): Handle XFAIL_TEST flag.
12732 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12733 with finite results.
12734 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12735 auto-libm-test-out.
12737 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12738 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12741 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12742 __tls_get_addr_internal instead of __tls_get_offset in order to
12743 avoid GOT pointer dependency. Make rtld export
12744 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12745 __tls_get_addr since we are a __tls_get_offset platform.
12746 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12747 GOT pointer being set up before.
12748 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12750 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12752 * manual/math.texi (Errors in Math Functions): Document accuracy
12756 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12757 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12758 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12759 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12760 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12761 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12762 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12763 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12766 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12767 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12768 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12769 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12770 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12771 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12773 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12774 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12775 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12776 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12777 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12779 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12781 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12783 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12784 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12785 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12786 atomic-feupdateenv and flt-rounds.
12787 * sysdeps/powerpc/nofpu/Versions (libc): Add
12788 __atomic_feholdexcept, __atomic_feclearexcept,
12789 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12790 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12791 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12792 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12793 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12798 * manual/arith.texi (FP Exceptions): Document that exceptions may
12799 not be raised when matherr is used.
12800 (Math Error Reporting): Document overflow in directed rounding
12801 modes. Document that errno may not be set when finite values are
12802 returned on overflow. Document intent to set errno on underflow
12803 only for underflow to zero.
12806 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12807 round-to-nearest then adjust result for other rounding modes.
12808 * include/fenv.h (fegetround): Use libm_hidden_proto.
12809 * math/fegetround.c (fegetround): Use libm_hidden_def.
12810 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12811 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12812 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12813 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12815 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12816 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12817 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12818 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12820 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12823 * nss/Versions (libnss_files): Add
12824 _nss_files_gethostbyname3_r.
12825 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12827 (HOST_DB_LOOKUP): Remove macro.
12828 (_nss_files_gethostbyname_r): Implement function without the
12829 HOST_DB_LOOKUP macro.
12830 (_nss_files_gethostbyname2_r): Likewise.
12832 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12834 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12836 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12838 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12839 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12842 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12844 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12845 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12846 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12847 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12848 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12849 __fe_nomask_env_priv and attribute_hidden.
12850 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12851 (libc_feupdateenv_test_ppc): Likewise.
12852 (libc_feresetround_ppc): Likewise.
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12854 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12855 compat_symbol macro.
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12857 (__fe_nomask_env): Likewise.
12858 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12860 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12862 * string/Makefile: Remove ifunc tests.
12863 * string/test-string.h: Define TEST_IFUNC.
12864 * string/test-bcopy-ifunc.c: Remove.
12865 * string/test-bzero-ifunc.c: Likewise.
12866 * string/test-memccpy-ifunc.c: Likewise.
12867 * string/test-memchr-ifunc.c: Likewise.
12868 * string/test-memcmp-ifunc.c: Likewise.
12869 * string/test-memcpy-ifunc.c: Likewise.
12870 * string/test-memmem-ifunc.c: Likewise.
12871 * string/test-memmove-ifunc.c: Likewise.
12872 * string/test-mempcpy-ifunc.c: Likewise.
12873 * string/test-memrchr-ifunc.c: Likewise.
12874 * string/test-memset-ifunc.c: Likewise.
12875 * string/test-rawmemchr-ifunc.c: Likewise.
12876 * string/test-stpcpy-ifunc.c: Likewise.
12877 * string/test-stpncpy-ifunc.c: Likewise.
12878 * string/test-strcasecmp-ifunc.c: Likewise.
12879 * string/test-strcasestr-ifunc.c: Likewise.
12880 * string/test-strcat-ifunc.c: Likewise.
12881 * string/test-strchr-ifunc.c: Likewise.
12882 * string/test-strchrnul-ifunc.c: Likewise.
12883 * string/test-strcmp-ifunc.c: Likewise.
12884 * string/test-strcpy-ifunc.c: Likewise.
12885 * string/test-strcspn-ifunc.c: Likewise.
12886 * string/test-strlen-ifunc.c: Likewise.
12887 * string/test-strncasecmp-ifunc.c: Likewise.
12888 * string/test-strncat-ifunc.c: Likewise.
12889 * string/test-strncmp-ifunc.c: Likewise.
12890 * string/test-strncpy-ifunc.c: Likewise.
12891 * string/test-strnlen-ifunc.c: Likewise.
12892 * string/test-strpbrk-ifunc.c: Likewise.
12893 * string/test-strrchr-ifunc.c: Likewise.
12894 * string/test-strspn-ifunc.c: Likewise.
12895 * string/test-strstr-ifunc.c: Likewise.
12897 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12899 * benchtests/Makefile: Remove ifunc tests.
12900 * benchtests/bench-string.h: Define TEST_IFUNC.
12901 * benchtests/bench-bcopy-ifunc.c: Remove.
12902 * benchtests/bench-bzero-ifunc.c: Likewise.
12903 * benchtests/bench-memccpy-ifunc.c: Likewise.
12904 * benchtests/bench-memchr-ifunc.c: Likewise.
12905 * benchtests/bench-memcmp-ifunc.c: Likewise.
12906 * benchtests/bench-memcpy-ifunc.c: Likewise.
12907 * benchtests/bench-memmem-ifunc.c: Likewise.
12908 * benchtests/bench-memmove-ifunc.c: Likewise.
12909 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12910 * benchtests/bench-memrchr-ifunc.c: Likewise.
12911 * benchtests/bench-memset-ifunc.c: Likewise.
12912 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12913 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12914 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12915 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12916 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12917 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12918 * benchtests/bench-strcat-ifunc.c: Likewise.
12919 * benchtests/bench-strchr-ifunc.c: Likewise.
12920 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12921 * benchtests/bench-strcmp-ifunc.c: Likewise.
12922 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12923 * benchtests/bench-strcpy-ifunc.c: Likewise.
12924 * benchtests/bench-strcspn-ifunc.c: Likewise.
12925 * benchtests/bench-strlen-ifunc.c: Likewise.
12926 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12927 * benchtests/bench-strncat-ifunc.c: Likewise.
12928 * benchtests/bench-strncmp-ifunc.c: Likewise.
12929 * benchtests/bench-strncpy-ifunc.c: Likewise.
12930 * benchtests/bench-strnlen-ifunc.c: Likewise.
12931 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12932 * benchtests/bench-strrchr-ifunc.c: Likewise.
12933 * benchtests/bench-strsep-ifunc.c: Likewise.
12934 * benchtests/bench-strspn-ifunc.c: Likewise.
12935 * benchtests/bench-strstr-ifunc.c: Likewise.
12937 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12939 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12941 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12943 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12944 * rt/aio.h: Likewise.
12945 * sysdeps/gnu/bits/utmp.h: Likewise.
12946 * sysdeps/gnu/bits/utmpx.h: Likewise.
12947 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12948 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12949 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12950 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12951 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12952 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12953 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12954 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12955 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12956 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12957 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12958 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12959 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12961 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12962 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12963 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12964 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12965 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12966 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12967 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12968 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12969 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12970 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12971 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12972 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12973 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12974 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12975 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12976 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12977 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12978 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12979 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12980 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12981 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12982 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12983 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12984 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12985 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12986 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12987 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12988 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12990 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12993 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12994 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12996 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12998 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12999 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13002 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13004 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13005 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13006 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13007 (__fesetround): Remove define.
13008 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13009 rounding and exceptions handling.
13010 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13011 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13012 (__fe_nomask_env): Likewise.
13013 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13014 __fegetround instead of fegetround.
13015 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13016 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13018 2013-11-21 Roland McGrath <roland@hack.frob.com>
13020 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13023 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13025 2013-11-21 Meador Inge <meadori@codesourcery.com>
13028 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13029 (encrypt_r): Likewise.
13030 * malloc/obstack.h (obstack_free): Likewise.
13031 * posix/unistd.h (encrypt): Likewise.
13033 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13035 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13036 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13037 DL_CALL_DT_FINI() that call the functions directly.
13038 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13039 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13040 * elf/dl-fini.c: Likewise.
13042 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13044 * malloc/hooks.c (memalign_check): Add alignment rounding.
13045 * malloc/malloc.c (_mid_memalign): New function.
13046 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13047 Implement by calling _mid_memalign.
13048 * manual/probes.texi (Memory Allocation Probes): Remove
13049 memory_valloc_retry and memory_pvalloc_retry.
13051 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13053 * locale/programs/locarchive.c (open_archive): Add const
13054 qualifier to ARCHIVEFNAME and copy default fname to
13058 * libio/tst-widetext.input: Rename Oriya to Odia.
13059 * locale/iso-639.def: Likewise.
13061 * manual/probes.texi (Mathematical Function Probes): Add
13062 documentation for sin, cos, asin and acos probes.
13063 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13064 (__sin32): Add slowasin probe.
13065 (__cos32): Add slowacos probe.
13066 (__mpsin): Add slowsin probe.
13067 (__mpcos): Add slowcos probe.
13069 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13072 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13073 thread-local __sim_exceptions_thread and global
13074 __sim_exceptions_global.
13075 (__sim_disabled_exceptions): Change to thread-local
13076 __sim_disabled_exceptions_thread and global
13077 __sim_disabled_exceptions_global.
13078 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13079 and global __sim_round_mode_global.
13080 (__simulate_exceptions): Use thread-local floating-point state and
13081 set global state from it as needed.
13082 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13083 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13084 __sim_round_mode_thread.
13085 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13086 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13087 and global __sim_exceptions_global.
13088 (__sim_disabled_exceptions): Change to thread-local
13089 __sim_disabled_exceptions_thread and global
13090 __sim_disabled_exceptions_global.
13091 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13092 and global __sim_round_mode_global.
13093 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13094 (SIM_SET_GLOBAL): Likewise.
13095 * sysdeps/powerpc/soft-fp/sfp-machine.h
13096 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13097 __sim_round_mode_thread.
13098 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13099 __sim_disabled_exceptions_thread.
13100 (__sim_exceptions): Change to __sim_exceptions_thread.
13101 (__sim_disabled_exceptions): Change to
13102 __sim_disabled_exceptions_thread.
13103 (__sim_round_mode): Change to __sim_round_mode_thread.
13104 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13105 thread-local floating-point state and set global state from it as
13107 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13108 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13109 (__sim_disabled_exceptions): Remove extern declaration.
13110 (feenableexcept): Use thread-local floating-point state and set
13111 global state from it as needed.
13112 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13113 extern declaration.
13114 (__sim_disabled_exceptions): Likewise.
13115 (__sim_round_mode): Likewise.
13116 (__fegetenv): Use thread-local floating-point state.
13117 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13118 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13119 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13120 floating-point state and set global state from it as needed.
13121 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13122 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13123 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13125 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13126 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13128 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13129 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13130 Use __sim_round_mode_thread.
13131 * math/test-fenv-tls.c: New file.
13132 * math/Makefile (tests): Add test-fenv-tls.
13133 ($(objpfx)test-fenv-tls): Depend on
13134 $(common-objpfx)nptl/libpthread.so.
13136 2013-11-19 Andreas Schwab <schwab@suse.de>
13138 * locale/programs/locale.c (show_info): Decode wordarray elements.
13139 * locale/categories.def (LC_MONETARY): Add element for
13140 _NL_MONETARY_CRNCYSTR.
13141 * locale/C-monetary.c (conversion_rate): New variable.
13142 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13145 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13147 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13148 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13150 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13152 * elf/Makefile (tst-auxv): New test.
13153 * elf/tst-auxv.c: New
13154 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13156 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13158 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13159 (hidden_proto): Caller changed.
13160 (hidden_tls_proto): New macro.
13161 (libc_hidden_tls_proto): Likewise.
13162 (rtld_hidden_tls_proto): Likewise.
13163 (libm_hidden_tls_proto): Likewise.
13164 (libresolv_hidden_tls_proto): Likewise.
13165 (librt_hidden_tls_proto): Likewise.
13166 (libdl_hidden_tls_proto): Likewise.
13167 (libnss_files_hidden_tls_proto): Likewise.
13168 (libnsl_hidden_tls_proto): Likewise.
13169 (libnss_nisplus_hidden_tls_proto): Likewise.
13170 (libutil_hidden_tls_proto): Likewise.
13172 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13175 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13176 (decompose_rpath): Defer expansion to fillin_rpath.
13177 (_dl_init_paths): Pass linkmap to fillin_rpath.
13179 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13181 * benchtests/Makefile: Add strsep.
13182 * benchtests/bench-strsep.c: New file: strsep benchtest.
13183 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13185 2013-11-18 Andreas Schwab <schwab@suse.de>
13187 * locale/programs/locale.c (show_info) [case byte]: Check for
13188 '\377' instead of '\177'.
13189 * locale/C-monetary.c (not_available): Always use "\377".
13190 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13191 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13192 detect unavailable sign_posn locale elements.
13193 * locale/localeconv.c (__localeconv): For grouping and
13194 mon_grouping handle "\177" and "\377" like no grouping.
13195 (INT_ELEM): New macro. Use it to set all numeric members.
13196 * locale/programs/ld-monetary.c (monetary_read)
13197 <tok_mon_grouping>: Normalize single -1 to the empty string.
13198 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13201 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13204 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13205 when we match (nil).
13206 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13208 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13210 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13211 (NO_TEST_INLINE): Update value.
13212 (ERRNO_UNCHANGED): Likewise.
13213 (ERRNO_EDOM): Likewise.
13214 (ERRNO_ERANGE): Likewise.
13215 (IGNORE_RESULT): Likewise.
13216 (check_float_internal): Check signs of NaN results if
13217 TEST_NAN_SIGN used.
13218 (check_complex): Pass TEST_NAN_SIGN flag through to second
13219 check_float_internal call.
13220 (copysign_test_data): Add tests with quiet NaNs as second
13221 argument. Use TEST_NAN_SIGN.
13222 (fabs_test_data): Add test of negative quiet NaN argument. Use
13224 (signbit_test_data): Add tests of quiet NaN argument.
13225 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13227 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13229 (parse_args): Handle function results specified as IGNORE.
13230 * math/libm-test.inc (IGNORE_RESULT): New macro.
13231 (check_float_internal): Do not check numerical result if flag
13233 (check_complex): Pass through IGNORE_RESULT to second
13234 check_float_internal call.
13235 (check_int): Do not check numerical result if flag IGNORE_RESULT
13237 (check_long): Likewise.
13238 (check_bool): Likewise.
13239 (check_longlong): Likewise.
13240 (lrint_test_data): Add tests of infinite and NaN arguments.
13241 (lrint_tonearest_test_data): Likewise.
13242 (lrint_towardzero_test_data): Likewise.
13243 (lrint_downward_test_data): Likewise.
13244 (lrint_upward_test_data): Likewise.
13245 (llrint_test_data): Likewise.
13246 (llrint_tonearest_test_data): Likewise.
13247 (llrint_towardzero_test_data): Likewise.
13248 (llrint_downward_test_data): Likewise.
13249 (llrint_upward_test_data): Likewise.
13250 (lround_test_data): Likewise.
13251 (llround_test_data): Likewise.
13253 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13254 (ERRNO_UNCHANGED): Update value.
13255 (ERRNO_EDOM): Likewise.
13256 (ERRNO_ERANGE): Likewise.
13257 (NO_TEST_INLINE_FLOAT): New macro.
13258 (NO_TEST_INLINE_DOUBLE): Likewise.
13259 (enable_test): New function.
13260 (RUN_TEST_f_f): Check enable_test before running test.
13261 (RUN_TEST_2_f): Likewise.
13262 (RUN_TEST_fff_f): Likewise.
13263 (RUN_TEST_c_f): Likewise.
13264 (RUN_TEST_f_f1): Likewise.
13265 (RUN_TEST_fF_f1): Likewise.
13266 (RUN_TEST_fI_f1): Likewise.
13267 (RUN_TEST_ffI_f1): Likewise.
13268 (RUN_TEST_c_c): Likewise.
13269 (RUN_TEST_cc_c): Likewise.
13270 (RUN_TEST_f_i): Likewise.
13271 (RUN_TEST_f_i_tg): Likewise.
13272 (RUN_TEST_ff_i_tg): Likewise.
13273 (RUN_TEST_f_b): Likewise.
13274 (RUN_TEST_f_b_tg): Likewise.
13275 (RUN_TEST_f_l): Likewise.
13276 (RUN_TEST_f_L): Likewise.
13277 (RUN_TEST_fFF_11): Likewise.
13278 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13280 (cosh_test_data): Likewise.
13281 (exp_test_data): Likewise.
13282 (expm1_test_data): Likewise.
13283 (hypot_test_data): Likewise.
13284 (pow_test_data): Likewise.
13285 (sinh_test_data): Likewise.
13286 (tanh_test_data): Likewise.
13287 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13290 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13291 tests with quiet NaN input and output.
13292 (acosh_test_data): Likewise.
13293 (asin_test_data): Likewise.
13294 (asinh_test_data): Likewise.
13295 (atan_test_data): Likewise.
13296 (atanh_test_data): Likewise.
13297 (atan2_test_data): Likewise.
13298 (cbrt_test_data): Likewise.
13299 (cos_test_data): Likewise.
13300 (cosh_test_data): Likewise.
13301 (erf_test_data): Likewise.
13302 (erfc_test_data): Likewise.
13303 (exp_test_data): Likewise.
13304 (exp10_test_data): Likewise.
13305 (exp2_test_data): Likewise.
13306 (expm1_test_data): Likewise.
13307 (hypot_test_data): Likewise.
13308 (j0_test_data): Likewise.
13309 (j1_test_data): Likewise.
13310 (jn_test_data): Likewise.
13311 (lgamma_test_data): Likewise.
13312 (log_test_data): Likewise.
13313 (log10_test_data): Likewise.
13314 (log1p_test_data): Likewise.
13315 (log2_test_data): Likewise.
13316 (pow_test_data): Likewise.
13317 (scalb_test_data): Likewise.
13318 (sin_test_data): Likewise.
13319 (sincos_test_data): Likewise.
13320 (sinh_test_data): Likewise.
13321 (tan_test_data): Likewise.
13322 (tanh_test_data): Likewise.
13323 (tgamma_test_data): Likewise.
13324 (y0_test_data): Likewise.
13325 (y1_test_data): Likewise.
13326 (yn_test_data): Likewise.
13329 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13330 argument being NaN and avoid computations with second argument in
13332 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13333 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13334 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13336 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13338 * locale/iso-639.def: Add Chitwani Tharu (the).
13340 2013-11-14 Andreas Schwab <schwab@suse.de>
13342 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13343 word instead of empty string.
13345 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13348 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13350 (__fe_nomask_env): Likewise.
13352 2013-11-13 Steve Ellcey <sellcey@mips.com>
13354 * benchtests/bench-timing.h: Include time.h.
13356 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13359 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13361 * sysdeps/unix/sysv/linux/configure: Regenerated.
13363 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13366 * stdlib/strtod_l.c (round_and_return): Do not consider
13367 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13368 exponent one less than half the least subnormal exponent.
13369 * stdlib/test-strtod-round-data: Add more tests.
13370 * stdlib/tst-strtod-round.c (tests): Regenerated.
13372 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13375 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13376 (__fe_mask_env): Likewise.
13377 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13378 libm_hidden_proto and add function prototype.
13379 (__fe_mask_env): Add function prototype.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13381 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13383 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13385 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13387 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13389 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13390 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13392 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13394 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13395 of htab_find_slot().
13397 2013-11-11 David S. Miller <davem@davemloft.net>
13400 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13401 symbol in the non-vis3 case in static builds.
13402 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13403 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13404 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13405 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13407 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13410 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13413 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13415 * benchtests/Makefile: Add bench-strtod.
13416 * benchtests/bench-strtod.c: New file: strtod benchtest
13418 2013-11-11 Andreas Schwab <schwab@suse.de>
13421 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13422 terminating NUL in key length.
13424 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13426 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13427 Add artificial ODP entry for vDSO symbol for PPC64.
13428 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13429 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13431 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13434 * nss/getent.c (services_keys): Recognize services starting with digit.
13436 2013-11-06 David S. Miller <davem@davemloft.net>
13439 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13440 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13442 2013-11-06 Will Newton <will.newton@linaro.org>
13444 * manual/memory.texi (Malloc Examples): Remove register
13445 keyword from examples.
13447 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13449 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13451 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13454 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13455 depending on [__GCC_IEC_559 > 0].
13456 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13457 depending on [__GCC_IEC_559_COMPLEX > 0].
13459 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13461 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13464 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13466 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13468 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13471 * malloc/malloc (malloc_info): Do not handle first bin as
13474 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13476 * locale/iso-639.def: Add Central Nahuatl (nhn).
13478 2013-11-01 Bruno Haible <bruno@clisp.org>
13481 * manual/math.texi (BSD Random): Specify range upper bound as
13484 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13486 * locale/iso-639.def: Add Meadow Mari (mhr).
13488 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13490 [BZ #14752], [BZ #15763]
13491 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13493 * rt/tst_shm.c: Add test for escaping directory.
13495 2013-10-31 Andreas Schwab <schwab@suse.de>
13498 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13499 followed by 'x' as part of digit sequence.
13500 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13502 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13505 * configure.ac: allow GNU Make 4.0 and greater.
13506 * configure: Regenerated.
13508 2013-10-30 Will Newton <will.newton@linaro.org>
13511 * malloc/hooks.c (memalign_check): Limit alignment to the
13512 maximum representable power of two.
13513 * malloc/malloc.c (__libc_memalign): Likewise.
13514 * malloc/tst-memalign.c (do_test): Add test for very
13515 large alignment values.
13516 * malloc/tst-posix_memalign.c (do_test): Likewise.
13518 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13521 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13522 (munmap_chunk): Likewise.
13523 (mremap_chunk): Likewise.
13525 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13528 * stdlib/div.c (div): Remove obsolete code.
13529 * stdlib/ldiv.c (ldiv): Likewise.
13530 * stdlib/lldiv.c (lldiv): Likewise.
13532 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13535 * nss/nss_files/files-XXX.c (get_contents_ret): New
13537 (get_contents): New function.
13538 (internal_getent): Use it. Expand size of LINEBUFLEN.
13540 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13542 * configure.in: Moved to ...
13543 * configure.ac: ... here. Change reference to configure.in
13545 * sysdeps/arm/preconfigure.ac: ... here.
13546 configure.in to configure.ac.
13547 * sysdeps/gnu/configure.in: Moved to ...
13548 * sysdeps/gnu/configure.ac: ... here.
13549 * sysdeps/i386/configure.in: Moved to ...
13550 * sysdeps/i386/configure.ac: ... here.
13551 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13552 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13553 * sysdeps/mach/configure.in: Moved to ...
13554 * sysdeps/mach/configure.ac: ... here.
13555 * sysdeps/mach/hurd/configure.in: Moved to ...
13556 * sysdeps/mach/hurd/configure.ac: ... here.
13557 * sysdeps/powerpc/configure.in: Moved to ...
13558 * sysdeps/powerpc/configure.ac: ... here.
13559 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13560 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13561 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13562 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13563 * sysdeps/s390/s390-32/configure.in: Moved to ...
13564 * sysdeps/s390/s390-32/configure.ac: ... here.
13565 * sysdeps/s390/s390-64/configure.in: Moved to ...
13566 * sysdeps/s390/s390-64/configure.ac: ... here.
13567 * sysdeps/sh/configure.in: Moved to ...
13568 * sysdeps/sh/configure.ac: ... here.
13569 * sysdeps/sparc/configure.in: Moved to ...
13570 * sysdeps/sparc/configure.ac: ... here.
13571 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13572 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13573 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13574 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13575 * sysdeps/x86_64/configure.in: Moved to ...
13576 * sysdeps/x86_64/configure.ac: ... here.
13577 * sysdeps/x86_64/preconfigure.in: Moved to ...
13578 * sysdeps/x86_64/preconfigure.ac: ... here.
13579 * aclocal.m4: Change reference to configure.in to configure.ac.
13580 * config.h.in: Likewise.
13581 * manual/install.texi: Likewise.
13582 * manual/maint.texi: Likewise.
13583 * Makefile: Likewise.
13584 * malloc/Makefile: Likewise.
13585 * nscd/Makefile: Likewise.
13586 * Makeconfig: Change reference to configure.in and
13587 preconfigure.in to configure.ac and preconfigure.ac
13589 * INSTALL: Regenerated.
13590 * configure: Likewise.
13591 * sysdeps/gnu/configure: Likewise.
13592 * sysdeps/i386/configure: Likewise.
13593 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13594 * sysdeps/mach/configure: Likewise.
13595 * sysdeps/mach/hurd/configure: Likewise.
13596 * sysdeps/powerpc/configure: Likewise.
13597 * sysdeps/powerpc/powerpc32/configure: Likewise.
13598 * sysdeps/powerpc/powerpc64/configure: Likewise.
13599 * sysdeps/s390/s390-32/configure: Likewise.
13600 * sysdeps/s390/s390-64/configure: Likewise.
13601 * sysdeps/sh/configure: Likewise.
13602 * sysdeps/sparc/configure: Likewise.
13603 * sysdeps/unix/sysv/linux/configure: Likewise.
13604 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13605 * sysdeps/x86_64/configure: Likewise.
13606 * sysdeps/x86_64/preconfigure: Likewise.
13608 2013-10-29 Andreas Schwab <schwab@suse.de>
13610 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13612 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13614 * benchtests/pow-inputs: Add new inputs.
13616 * benchtests/exp-inputs: Add new inputs.
13618 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13619 conditional check for return value.
13620 (__cos32): Likewise.
13622 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13624 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13625 to provide a boost for large inputs with word alignment.
13626 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13627 implementation based on optimized PPC64 strcpy.
13628 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13629 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13630 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13631 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13633 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13636 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13638 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13641 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13642 * time/tst-strptime.c (day_tests): Add testcase.
13644 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13647 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13649 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13652 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13653 MAP_FAILED on error.
13655 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13658 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13659 heap for large requests.
13661 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13664 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13665 result if the result has no associated interface.
13666 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13667 interface for all 127.X.Y.Z addresses.
13669 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13671 * locale/iso-639.def: Add Ligurian (lij)
13673 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13676 * sunrpc/rpc_main.c: Document rpcgen -5.
13678 2013-10-19 Michael Stahl <mstahl@redhat.com>
13680 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13682 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13685 * posix/glob.c: Match only directories when trailing slash is present.
13686 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13687 (main): Add testcase.
13689 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13692 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13694 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13696 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13697 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13698 AUTH_DES and cindex for FIPS 140-2.
13699 (DES Encryption): Add cindex FIPS 46-3.
13701 * locale/locarchive.h (struct locarhandle): Add fname.
13702 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13703 if an optional argument was specified to --list-archive,
13705 * locale/programs/locarchive.c (show_archive_content): Take new
13706 argument fname and pass it via ah.fname to open_archive.
13707 * locale/programs/localedef.h: Update decl.
13708 (open_archive): If AH->fname is non-null, open that file
13709 rather than the default file name, and don't ignore ENOENT.
13710 (create_archive): Set AH.fname to NULL.
13711 (delete_locales_from_archive): Likewise.
13712 (add_locales_to_archive): Likewise.
13713 * locale/programs/locfile.c (write_all_categories): Likewise.
13715 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13716 Aldy Hernandez <aldyh@redhat.com>
13718 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13719 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13720 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13721 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13722 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13723 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13724 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13725 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13726 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13727 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13728 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13729 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13730 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13731 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13732 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13734 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13736 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13738 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13740 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13741 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13743 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13744 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13745 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13746 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13748 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13749 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13750 * sysdeps/powerpc/preconfigure: Likewise.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13753 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13754 Replace contents of file by #include of <fenv_libc.h>.
13755 * sysdeps/powerpc/soft-fp/sfp-machine.h
13756 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13758 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13759 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13760 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13761 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13762 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13763 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13765 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13766 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13767 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13768 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13769 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13771 Allow copysignl PLT reference to be missing.
13773 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13774 Joseph Myers <joseph@codesourcery.com
13777 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13779 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13781 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13783 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13784 * elf/tst-tls1.c: Likewise.
13785 * elf/tst-tls10.h: Likewise.
13786 * elf/tst-tls14.c: Likewise.
13787 * elf/tst-tls2.c: Likewise.
13788 * elf/tst-tls3.c: Likewise.
13789 * elf/tst-tls4.c: Likewise.
13790 * elf/tst-tls5.c: Likewise.
13791 * elf/tst-tls6.c: Likewise.
13792 * elf/tst-tls7.c: Likewise.
13793 * elf/tst-tls8.c: Likewise.
13794 * elf/tst-tls9.c: Likewise.
13795 * elf/tst-tlsmod1.c: Likewise.
13796 * elf/tst-tlsmod13.c: Likewise.
13797 * elf/tst-tlsmod13a.c: Likewise.
13798 * elf/tst-tlsmod14a.c: Likewise.
13799 * elf/tst-tlsmod16a.c: Likewise.
13800 * elf/tst-tlsmod16b.c: Likewise.
13801 * elf/tst-tlsmod2.c: Likewise.
13802 * elf/tst-tlsmod3.c: Likewise.
13803 * elf/tst-tlsmod4.c: Likewise.
13804 * elf/tst-tlsmod5.c: Likewise.
13805 * elf/tst-tlsmod6.c: Likewise.
13807 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13810 * malloc/malloc.c: remove checks for statistics.
13812 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13815 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13816 * inet/tst-network.c: Add testcase.
13818 2013-10-17 Andreas Schwab <schwab@suse.de>
13821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13822 to determine canonical name.
13824 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13826 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13827 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13828 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13829 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13830 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13831 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13832 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13833 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13834 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13835 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13836 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13837 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13838 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13839 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13840 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13841 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13843 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13844 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13845 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13846 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13850 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13851 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13856 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13876 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13879 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13881 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13882 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13883 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13885 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13888 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13889 make result into a quiet NaN.
13891 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13893 * soft-fp/adddf3.c: Fix horizontal whitespace.
13894 * soft-fp/addsf3.c: Likewise.
13895 * soft-fp/addtf3.c: Likewise.
13896 * soft-fp/divdf3.c: Likewise.
13897 * soft-fp/divsf3.c: Likewise.
13898 * soft-fp/divtf3.c: Likewise.
13899 * soft-fp/double.h: Likewise.
13900 * soft-fp/eqdf2.c: Likewise.
13901 * soft-fp/eqsf2.c: Likewise.
13902 * soft-fp/eqtf2.c: Likewise.
13903 * soft-fp/extenddftf2.c: Likewise.
13904 * soft-fp/extended.h: Likewise.
13905 * soft-fp/extendsfdf2.c: Likewise.
13906 * soft-fp/extendsftf2.c: Likewise.
13907 * soft-fp/extendxftf2.c: Likewise.
13908 * soft-fp/fixdfdi.c: Likewise.
13909 * soft-fp/fixdfsi.c: Likewise.
13910 * soft-fp/fixdfti.c: Likewise.
13911 * soft-fp/fixsfdi.c: Likewise.
13912 * soft-fp/fixsfsi.c: Likewise.
13913 * soft-fp/fixsfti.c: Likewise.
13914 * soft-fp/fixtfdi.c: Likewise.
13915 * soft-fp/fixtfsi.c: Likewise.
13916 * soft-fp/fixtfti.c: Likewise.
13917 * soft-fp/fixunsdfdi.c: Likewise.
13918 * soft-fp/fixunsdfsi.c: Likewise.
13919 * soft-fp/fixunsdfti.c: Likewise.
13920 * soft-fp/fixunssfdi.c: Likewise.
13921 * soft-fp/fixunssfsi.c: Likewise.
13922 * soft-fp/fixunssfti.c: Likewise.
13923 * soft-fp/fixunstfdi.c: Likewise.
13924 * soft-fp/fixunstfsi.c: Likewise.
13925 * soft-fp/fixunstfti.c: Likewise.
13926 * soft-fp/floatdidf.c: Likewise.
13927 * soft-fp/floatdisf.c: Likewise.
13928 * soft-fp/floatditf.c: Likewise.
13929 * soft-fp/floatsidf.c: Likewise.
13930 * soft-fp/floatsisf.c: Likewise.
13931 * soft-fp/floatsitf.c: Likewise.
13932 * soft-fp/floattidf.c: Likewise.
13933 * soft-fp/floattisf.c: Likewise.
13934 * soft-fp/floattitf.c: Likewise.
13935 * soft-fp/floatundidf.c: Likewise.
13936 * soft-fp/floatundisf.c: Likewise.
13937 * soft-fp/floatunditf.c: Likewise.
13938 * soft-fp/floatunsidf.c: Likewise.
13939 * soft-fp/floatunsisf.c: Likewise.
13940 * soft-fp/floatunsitf.c: Likewise.
13941 * soft-fp/floatuntidf.c: Likewise.
13942 * soft-fp/floatuntisf.c: Likewise.
13943 * soft-fp/floatuntitf.c: Likewise.
13944 * soft-fp/fmadf4.c: Likewise.
13945 * soft-fp/fmasf4.c: Likewise.
13946 * soft-fp/fmatf4.c: Likewise.
13947 * soft-fp/gedf2.c: Likewise.
13948 * soft-fp/gesf2.c: Likewise.
13949 * soft-fp/getf2.c: Likewise.
13950 * soft-fp/ledf2.c: Likewise.
13951 * soft-fp/lesf2.c: Likewise.
13952 * soft-fp/letf2.c: Likewise.
13953 * soft-fp/muldf3.c: Likewise.
13954 * soft-fp/mulsf3.c: Likewise.
13955 * soft-fp/multf3.c: Likewise.
13956 * soft-fp/negdf2.c: Likewise.
13957 * soft-fp/negsf2.c: Likewise.
13958 * soft-fp/negtf2.c: Likewise.
13959 * soft-fp/op-1.h: Likewise.
13960 * soft-fp/op-2.h: Likewise.
13961 * soft-fp/op-4.h: Likewise.
13962 * soft-fp/op-8.h: Likewise.
13963 * soft-fp/op-common.h: Likewise.
13964 * soft-fp/quad.h: Likewise.
13965 * soft-fp/single.h: Likewise.
13966 * soft-fp/soft-fp.h: Likewise.
13967 * soft-fp/sqrtdf2.c: Likewise.
13968 * soft-fp/sqrtsf2.c: Likewise.
13969 * soft-fp/sqrttf2.c: Likewise.
13970 * soft-fp/subdf3.c: Likewise.
13971 * soft-fp/subsf3.c: Likewise.
13972 * soft-fp/subtf3.c: Likewise.
13973 * soft-fp/truncdfsf2.c: Likewise.
13974 * soft-fp/trunctfdf2.c: Likewise.
13975 * soft-fp/trunctfsf2.c: Likewise.
13976 * soft-fp/trunctfxf2.c: Likewise.
13977 * soft-fp/unorddf2.c: Likewise.
13978 * soft-fp/unordsf2.c: Likewise.
13979 * soft-fp/unordtf2.c: Likewise.
13981 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13983 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13984 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13986 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13988 * elf/dl-libc.c: Clear initfini list after freeing.
13990 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13992 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13993 * soft-fp/addsf3.c: Likewise.
13994 * soft-fp/addtf3.c: Likewise.
13995 * soft-fp/divdf3.c: Likewise.
13996 * soft-fp/divsf3.c: Likewise.
13997 * soft-fp/divtf3.c: Likewise.
13998 * soft-fp/double.h: Likewise.
13999 * soft-fp/eqdf2.c: Likewise.
14000 * soft-fp/eqsf2.c: Likewise.
14001 * soft-fp/eqtf2.c: Likewise.
14002 * soft-fp/extenddftf2.c: Likewise.
14003 * soft-fp/extended.h: Likewise.
14004 * soft-fp/extendsfdf2.c: Likewise.
14005 * soft-fp/extendsftf2.c: Likewise.
14006 * soft-fp/extendxftf2.c: Likewise.
14007 * soft-fp/fixdfdi.c: Likewise.
14008 * soft-fp/fixdfsi.c: Likewise.
14009 * soft-fp/fixdfti.c: Likewise.
14010 * soft-fp/fixsfdi.c: Likewise.
14011 * soft-fp/fixsfsi.c: Likewise.
14012 * soft-fp/fixsfti.c: Likewise.
14013 * soft-fp/fixtfdi.c: Likewise.
14014 * soft-fp/fixtfsi.c: Likewise.
14015 * soft-fp/fixtfti.c: Likewise.
14016 * soft-fp/fixunsdfdi.c: Likewise.
14017 * soft-fp/fixunsdfsi.c: Likewise.
14018 * soft-fp/fixunsdfti.c: Likewise.
14019 * soft-fp/fixunssfdi.c: Likewise.
14020 * soft-fp/fixunssfsi.c: Likewise.
14021 * soft-fp/fixunssfti.c: Likewise.
14022 * soft-fp/fixunstfdi.c: Likewise.
14023 * soft-fp/fixunstfsi.c: Likewise.
14024 * soft-fp/fixunstfti.c: Likewise.
14025 * soft-fp/floatdidf.c: Likewise.
14026 * soft-fp/floatdisf.c: Likewise.
14027 * soft-fp/floatditf.c: Likewise.
14028 * soft-fp/floatsidf.c: Likewise.
14029 * soft-fp/floatsisf.c: Likewise.
14030 * soft-fp/floatsitf.c: Likewise.
14031 * soft-fp/floattidf.c: Likewise.
14032 * soft-fp/floattisf.c: Likewise.
14033 * soft-fp/floattitf.c: Likewise.
14034 * soft-fp/floatundidf.c: Likewise.
14035 * soft-fp/floatundisf.c: Likewise.
14036 * soft-fp/floatunsidf.c: Likewise.
14037 * soft-fp/floatunsisf.c: Likewise.
14038 * soft-fp/floatuntidf.c: Likewise.
14039 * soft-fp/floatuntisf.c: Likewise.
14040 * soft-fp/floatuntitf.c: Likewise.
14041 * soft-fp/fmadf4.c: Likewise.
14042 * soft-fp/fmasf4.c: Likewise.
14043 * soft-fp/fmatf4.c: Likewise.
14044 * soft-fp/gedf2.c: Likewise.
14045 * soft-fp/gesf2.c: Likewise.
14046 * soft-fp/getf2.c: Likewise.
14047 * soft-fp/ledf2.c: Likewise.
14048 * soft-fp/lesf2.c: Likewise.
14049 * soft-fp/letf2.c: Likewise.
14050 * soft-fp/muldf3.c: Likewise.
14051 * soft-fp/mulsf3.c: Likewise.
14052 * soft-fp/multf3.c: Likewise.
14053 * soft-fp/negdf2.c: Likewise.
14054 * soft-fp/negsf2.c: Likewise.
14055 * soft-fp/negtf2.c: Likewise.
14056 * soft-fp/op-1.h: Likewise.
14057 * soft-fp/op-2.h: Likewise.
14058 * soft-fp/op-4.h: Likewise.
14059 * soft-fp/op-8.h: Likewise.
14060 * soft-fp/op-common.h: Likewise.
14061 * soft-fp/quad.h: Likewise.
14062 * soft-fp/single.h: Likewise.
14063 * soft-fp/soft-fp.h: Likewise.
14064 * soft-fp/sqrtdf2.c: Likewise.
14065 * soft-fp/sqrtsf2.c: Likewise.
14066 * soft-fp/sqrttf2.c: Likewise.
14067 * soft-fp/subdf3.c: Likewise.
14068 * soft-fp/subsf3.c: Likewise.
14069 * soft-fp/subtf3.c: Likewise.
14070 * soft-fp/truncdfsf2.c: Likewise.
14071 * soft-fp/trunctfdf2.c: Likewise.
14072 * soft-fp/trunctfsf2.c: Likewise.
14073 * soft-fp/trunctfxf2.c: Likewise.
14074 * soft-fp/unorddf2.c: Likewise.
14075 * soft-fp/unordsf2.c: Likewise.
14076 * soft-fp/unordtf2.c: Likewise.
14078 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14081 * misc/error.c (error_tail): Fix possible buffer overflow.
14083 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14086 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14089 2013-10-14 P. J. McDermott <pj@pehjota.net>
14092 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14093 testing pipefail option.
14095 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14097 * soft-fp/double.h: Indent preprocessor directives inside #if.
14098 * soft-fp/extended.h: Likewise.
14099 * soft-fp/op-2.h: Likewise.
14100 * soft-fp/op-4.h: Likewise.
14101 * soft-fp/op-common.h: Likewise.
14102 * soft-fp/quad.h: Likewise.
14103 * soft-fp/single.h: Likewise.
14104 * soft-fp/soft-fp.h: Likewise.
14106 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14108 * iconv/iconv_prog.c: Fix typos.
14109 * stdio-common/psiginfo-data.h: Likewise.
14111 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14114 * locale/setlocale.c: Fix typo.
14116 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14119 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14120 signaling NaN arguments.
14121 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14122 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14125 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14126 unordered operands.
14127 * soft-fp/gesf2.c (__gesf2): Likewise.
14128 * soft-fp/getf2.c (__getf2): Likewise.
14129 * soft-fp/ledf2.c (__ledf2): Likewise.
14130 * soft-fp/lesf2.c (__lesf2): Likewise.
14131 * soft-fp/letf2.c (__letf2): Likewise.
14133 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14134 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14135 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14136 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14137 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14138 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14139 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14140 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14141 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14142 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14143 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14144 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14145 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14146 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14147 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14148 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14149 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14150 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14151 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14152 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14153 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14154 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14155 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14156 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14157 * soft-fp/floattidf.c (__floattidf): Likewise.
14158 * soft-fp/floattisf.c (__floattisf): Likewise.
14159 * soft-fp/floattitf.c (__floattitf): Likewise.
14160 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14161 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14162 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14163 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14164 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14165 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14166 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14167 * soft-fp/gesf2.c (__gesf2): Likewise.
14168 * soft-fp/getf2.c (__getf2): Likewise.
14169 * soft-fp/ledf2.c (__ledf2): Likewise.
14170 * soft-fp/lesf2.c (__lesf2): Likewise.
14171 * soft-fp/letf2.c (__letf2): Likewise.
14173 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14174 Undefine and redefine.
14175 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14176 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14177 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14178 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14179 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14180 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14181 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14182 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14183 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14184 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14185 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14186 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14187 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14188 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14189 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14192 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14193 without decrementing exponent if mantissa >= that for the
14194 denominator, not >.
14195 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14196 denominator, not >. Decrement exponent in < case instead of
14197 incrementing in >= case.
14198 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14199 without decrementing exponent if mantissa >= that for the
14200 denominator, not >.
14202 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14203 computing saturated result for unsigned overflow.
14205 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14206 Jeff Law <law@redhat.com>
14208 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14209 (atan2Mp): Add systemtap probe marker.
14210 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14211 (__ieee754_log): Add systemtap probe marker.
14212 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14213 (atanMp): Add systemtap probe marker.
14214 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14215 (tanMp): Add systemtap probe marker.
14216 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14217 (__slowexp): Add systemtap probe marker.
14218 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14219 (__slowpow): Add systemtap probe marker.
14220 * manual/probes.texi: Document probes.
14222 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14225 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14227 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14229 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14230 written to buffer but not flushed.
14231 * libio/iofwrite_u.c: Likewise.
14232 * libio/iopadn.c: Return bytes returned even if EOF was
14234 * libio/iowpadn.c: Likewise.
14235 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14236 if _IO_padn does not write the whole buffer.
14237 [!COMPILE_WPRINTF] (PAD): Likewise.
14239 2013-10-10 David S. Miller <davem@davemloft.net>
14241 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14244 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14246 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14247 instead of FSF address.
14248 * soft-fp/fixdfti.c: Likewise.
14249 * soft-fp/fixsfti.c: Likewise.
14250 * soft-fp/fixtfti.c: Likewise.
14251 * soft-fp/fixunsdfti.c: Likewise.
14252 * soft-fp/fixunssfti.c: Likewise.
14253 * soft-fp/fixunstfti.c: Likewise.
14254 * soft-fp/floattidf.c: Likewise.
14255 * soft-fp/floattisf.c: Likewise.
14256 * soft-fp/floattitf.c: Likewise.
14257 * soft-fp/floatuntidf.c: Likewise.
14258 * soft-fp/floatuntisf.c: Likewise.
14259 * soft-fp/floatuntitf.c: Likewise.
14260 * soft-fp/trunctfxf2.c: Likewise.
14262 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14263 * soft-fp/fixdfti.c: Likewise.
14264 * soft-fp/fixsfti.c: Likewise.
14265 * soft-fp/fixtfti.c: Likewise.
14266 * soft-fp/fixunsdfti.c: Likewise.
14267 * soft-fp/fixunssfti.c: Likewise.
14268 * soft-fp/fixunstfti.c: Likewise.
14269 * soft-fp/floattidf.c: Likewise.
14270 * soft-fp/floattisf.c: Likewise.
14271 * soft-fp/floattitf.c: Likewise.
14272 * soft-fp/floatuntidf.c: Likewise.
14273 * soft-fp/floatuntisf.c: Likewise.
14274 * soft-fp/floatuntitf.c: Likewise.
14275 * soft-fp/trunctfxf2.c: Likewise.
14277 2013-10-10 David S. Miller <davem@davemloft.net>
14279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14281 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14283 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14284 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14285 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14286 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14287 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14288 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14289 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14291 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14292 for NaNs before doing comparisons on argument.
14293 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14296 2013-10-10 Will Newton <will.newton@linaro.org>
14298 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14299 passed to _int_memalign does not overflow.
14301 2013-10-10 Torvald Riegel <triegel@redhat.com>
14303 * scripts/bench.pl: Add include-sources directive.
14304 * benchtests/README: Update documentation.
14306 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14308 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14309 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14310 instead of FP_INIT_ROUNDMODE.
14311 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14312 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14315 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14316 copy class of input value.
14317 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14318 not handle exceptions.
14319 * soft-fp/negsf2.c (__negsf2): Likewise.
14320 * soft-fp/negtf2.c (__negtf2): Likewise.
14321 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14323 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14325 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14326 semicolon. From Linux kernel.
14328 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14330 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14332 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14335 * manual/socket.texi: Added statement about buffer
14336 for gethostbyname2_r.
14338 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14340 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14341 Use .p2align directive instead, throughout.
14342 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14343 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14344 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14345 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14346 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14347 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14348 * sysdeps/x86_64/strchr.S: Likewise.
14349 * sysdeps/x86_64/strrchr.S: Likewise.
14351 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14353 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14355 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14357 * sysdeps/generic/math_private.h (__mpsin1): Remove
14359 (__mpcos1): Likewise.
14360 (__mpsin): New argument __range_reduce.
14361 (__mpcos): Likewise.
14362 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14363 (slow): Use __mpsin and __mpcos.
14367 (sloww1): Likewise.
14368 (sloww2): Likewise.
14369 (bsloww): Likewise.
14370 (bsloww1): Likewise.
14371 (bsloww2): Likewise.
14372 (cslow2): Likewise.
14373 (csloww): Likewise.
14374 (csloww1): Likewise.
14375 (csloww2): Likewise.
14376 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14377 range_reduce. Merge in __mpsin1.
14378 (__mpcos): Likewise.
14379 (__mpsin1): Remove.
14380 (__mpcos1): Likewise.
14382 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14384 * locale/loadlocale.c (_nl_intern_locale_data): Use
14386 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14387 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14388 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14389 obstack data is appropriately aligned.
14390 (obstack_int32_grow_fast): Likewise.
14391 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14392 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14393 (add_locale_uint32_array): Likewise.
14395 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14397 * benchtests/Makefile: Remove ARGLIST and RET variables.
14398 ($(objpfx)bench-%.c): Pass only function name to the script.
14399 * benchtests/README: Update documentation.
14400 * benchtests/acos-inputs: Add new directives.
14401 * benchtests/acosh-inputs: Likewise.
14402 * benchtests/asin-inputs: Likewise.
14403 * benchtests/asinh-inputs: Likewise.
14404 * benchtests/atan-inputs: Likewise.
14405 * benchtests/atanh-inputs: Likewise.
14406 * benchtests/cos-inputs: Likewise.
14407 * benchtests/cosh-inputs: Likewise.
14408 * benchtests/exp-inputs: Likewise.
14409 * benchtests/log-inputs: Likewise.
14410 * benchtests/pow-inputs: Likewise.
14411 * benchtests/rint-inputs: Likewise.
14412 * benchtests/sin-inputs: Likewise.
14413 * benchtests/sinh-inputs: Likewise.
14414 * benchtests/tan-inputs: Likewise.
14415 * benchtests/tanh-inputs: Likewise.
14416 * scripts/bench.pl: Add support for new directives.
14418 2013-10-07 Alan Modra <amodra@gmail.com>
14420 * README: Fix careless merge.
14422 2013-10-05 Alan Modra <amodra@gmail.com>
14424 * NEWS: Mention powerpc64le support and bugs fixed.
14425 * README: Both big-endian and little-endian powerpc64 supported.
14427 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14429 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14430 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14431 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14432 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14434 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14436 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14439 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14441 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14442 Move -mhard-float appending from
14443 ports/sysdeps/powerpc/powerpc32/Makefile.
14444 [$(with-fp) = yes] (ASFLAGS): Likewise.
14445 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14446 * sysdeps/powerpc/nofpu: Move directory from
14447 ports/sysdeps/powerpc/nofpu.
14448 * sysdeps/powerpc/soft-fp: Move directory from
14449 ports/sysdeps/powerpc/soft-fp.
14450 * sysdeps/powerpc/powerpc32/405: Move directory from
14451 ports/sysdeps/powerpc/powerpc32/405.
14452 * sysdeps/powerpc/powerpc32/440: Move directory from
14453 ports/sysdeps/powerpc/powerpc32/440.
14454 * sysdeps/powerpc/powerpc32/464: Move directory from
14455 ports/sysdeps/powerpc/powerpc32/464.
14456 * sysdeps/powerpc/powerpc32/476: Move directory from
14457 ports/sysdeps/powerpc/powerpc32/476.
14458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14459 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14461 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14463 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14465 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14467 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14468 * README: Update for powerpc-*-linux-gnu software floating point
14471 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14472 case to powerpc/powerpc32*.
14473 * sysdeps/unix/sysv/linux/configure: Regenerated.
14475 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14476 (_FPU_MASK_OM): Define as 0x04.
14477 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14478 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14485 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14488 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14491 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14492 and setcontext_e500.
14494 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14496 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14498 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14500 * manual/threads.texi (Default Thread Attributes): Fix typo.
14502 2013-10-04 Will Newton <will.newton@linaro.org>
14504 * malloc/Makefile: Add tst-memalign.
14505 * malloc/tst-memalign.c: New file.
14507 * malloc/tst-posix_memalign.c: Add comments.
14508 (do_test): Add comments and call free on all potentially
14509 allocated pointers. Add space after cast.
14511 * malloc/tst-pvalloc.c: Add comments.
14512 (do_test): Add comments and call free on all potentially
14513 allocated pointers. Remove duplicate check for NULL pointer.
14514 Add space after cast.
14516 * malloc/tst-valloc.c: Add comments.
14517 (do_test): Add comments and call free on all potentially
14518 allocated pointers. Remove duplicate check for NULL pointer.
14519 Add space after cast.
14521 2013-10-04 Alan Modra <amodra@gmail.com>
14523 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14524 Use stdint types in rather than __attribute__((mode())).
14525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14527 2013-10-04 Alan Modra <amodra@gmail.com>
14529 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14530 Correct handling of unaligned relocs for little-endian.
14531 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14533 2013-10-04 Alan Modra <amodra@gmail.com>
14535 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14536 * configure: Regenerate.
14537 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14538 * shlib-versions: Likewise.
14540 2013-10-04 Alan Modra <amodra@gmail.com>
14542 * string/tester.c (test_memrchr): Increment reported test cycle.
14544 2013-10-04 Alan Modra <amodra@gmail.com>
14546 * string/test-memcpy.c (do_one_test): When reporting errors, print
14547 string address and don't overrun end of string.
14549 2013-10-04 Alan Modra <amodra@gmail.com>
14551 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14552 insrdi. Make better use of reg selection to speed exit slightly.
14553 Schedule entry path a little better. Remove useless "are we done"
14554 checks on entry to main loop. Handle wrapping around zero address.
14555 Correct main loop count. Handle single left-over word from main
14556 loop inline rather than by using loop_small. Remove extra word
14557 case in loop_small caused by wrong loop count. Add little-endian
14559 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14560 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14562 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14563 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14564 support. Avoid rlwimi.
14565 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14567 2013-10-04 Alan Modra <amodra@gmail.com>
14569 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14570 insrdi. Formatting.
14571 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14572 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14573 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14574 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14575 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14576 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14578 2013-10-04 Alan Modra <amodra@gmail.com>
14580 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14581 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14582 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14583 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14584 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14585 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14586 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14587 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14588 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14589 use of regs. Use power7 mtocrf. Tidy function tails.
14591 2013-10-04 Alan Modra <amodra@gmail.com>
14593 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14594 Formatting. Consistently use rXXX register defines or rN defines.
14595 Use early exit labels that avoid restoring unused non-volatile regs.
14596 Make cr field use more consistent with rWORDn compares. Rename
14597 regs used as shift registers for unaligned loop, using rN defines
14598 for short lifetime/multiple use regs.
14599 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14600 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14601 addi 1,1,64 to pop stack frame. Simplify return value code.
14602 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14604 2013-10-04 Alan Modra <amodra@gmail.com>
14606 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14607 support. Correct typos, formatting. Optimize tail. Use insrdi
14608 rather than rlwimi.
14609 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14610 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14611 little-endian support. Correct typos.
14612 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14613 rather than rlwimi.
14614 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14615 in loop and entry code to keep "and." results.
14616 (strchr): Add little-endian support. Comment. Move cntlzd
14618 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14620 2013-10-04 Alan Modra <amodra@gmail.com>
14622 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14623 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14624 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14625 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14627 2013-10-04 Alan Modra <amodra@gmail.com>
14629 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14630 (rTMP): Define as r11.
14631 (strcmp): Add little-endian support. Optimise tail.
14632 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14633 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14634 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14635 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14636 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14637 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14638 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14640 2013-10-04 Alan Modra <amodra@gmail.com>
14642 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14643 little-endian support. Remove unnecessary "are we done" tests.
14644 Handle "s" wrapping around zero and extremely large "size".
14645 Correct main loop count. Handle single left-over word from main
14646 loop inline rather than by using small_loop. Correct comments.
14647 Delete "zero" tail, use "end_max" instead.
14648 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14650 2013-10-04 Alan Modra <amodra@gmail.com>
14652 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14653 support. Don't branch over align.
14654 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14655 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14656 support. Rearrange tmp reg use to suit. Comment.
14657 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14659 2013-10-04 Alan Modra <amodra@gmail.com>
14661 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14663 2013-10-04 Alan Modra <amodra@gmail.com>
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14666 conditional form of branch and link when obtaining pc.
14667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14669 2013-10-04 Alan Modra <amodra@gmail.com>
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14676 2013-10-04 Alan Modra <amodra@gmail.com>
14678 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14679 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14680 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14681 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14682 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14683 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14684 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14685 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14686 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14687 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14689 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14690 Alistair Popple <alistair@ozlabs.au.ibm.com>
14691 Alan Modra <amodra@gmail.com>
14694 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14695 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14696 _dl_hwcap access for little-endian.
14697 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14698 destroy vmx regs when saving unaligned.
14699 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14700 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14701 destroy vmx regs when saving unaligned.
14703 2013-10-04 Alan Modra <amodra@gmail.com>
14705 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14706 Don't use a union to pack hi/low value.
14708 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14710 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14712 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14713 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14714 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14715 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14716 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14718 2013-10-04 Alan Modra <amodra@gmail.com>
14720 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14721 constants to usual value for .cst8 section, and remove redundant
14723 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14724 constant for 0x1p52. Load little-endian words of double from
14725 correct stack offsets.
14727 2013-10-04 Alan Modra <amodra@gmail.com>
14729 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14730 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14731 words of double from correct stack offsets.
14732 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14733 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14734 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14735 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14736 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14737 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14738 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14739 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14740 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14741 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14742 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14743 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14744 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14745 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14746 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14747 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14748 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14750 2013-10-04 Alan Modra <amodra@gmail.com>
14752 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14753 64-bit int/double union.
14754 (_FPU_SETCW): Likewise.
14755 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14756 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14758 2013-10-04 Alan Modra <amodra@gmail.com>
14760 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14761 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14763 2013-10-04 Alan Modra <amodra@gmail.com>
14765 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14766 use vector int constants.
14767 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14769 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14771 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14772 array with long long.
14773 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14774 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14775 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14776 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14777 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14778 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14779 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14780 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14781 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14782 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14783 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14784 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14785 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14787 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14789 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14790 (__signbit): Likewise. Correct for little-endian.
14791 (__signbitl): Call __signbit.
14792 (lrint): Correct for little-endian.
14793 (lrintf): Call lrint.
14795 2013-10-04 Alan Modra <amodra@gmail.com>
14797 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14798 union 32-bit int array member with 64-bit int array.
14799 (t515, tm256): Double rather than long double.
14800 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14802 2013-10-04 Alan Modra <amodra@gmail.com>
14804 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14806 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14808 version of math_ldbl.h.
14810 2013-10-04 Alan Modra <amodra@gmail.com>
14812 [BZ #15734], [BZ #15735]
14813 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14814 all uses of ieee875 long double macros and unions. Simplify test
14815 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14816 ldbl_extract_mantissa value for ix,iy exponents. Properly
14817 normalize after ldbl_extract_mantissa, and don't add hidden bit
14818 already handled. Don't treat low word of ieee854 mantissa like
14819 low word of IBM long double and mask off bit when testing for
14821 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14822 all uses of ieee875 long double macros and unions. Simplify tests
14823 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14824 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14825 two1022, instead use their values. Recognise that tests for large
14826 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14827 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14828 Rewrite all uses of ieee875 long double macros and unions. Simplify
14829 test for 0.0L and nan. Correct negation.
14830 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14831 ieee875 long double macros and unions. Correct output for large
14832 magnitude x. Correct absolute value calculation.
14833 (__erfcl): Likewise.
14834 * math/libm-test.inc: Add tests for errors discovered in IBM long
14835 double versions of fmodl, remainderl, erfl and erfcl.
14837 2013-10-04 Alan Modra <amodra@gmail.com>
14839 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14840 all uses of ieee854 long double macros and unions. Simplify tests
14841 for long doubles that are fully specified by the high double.
14842 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14844 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14845 Remove dead code too.
14846 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14847 (__ieee754_ynl): Likewise.
14848 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14849 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14850 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14851 Remove dead code too.
14852 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14853 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14854 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14855 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14857 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14859 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14860 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14862 Comment on variable precision.
14863 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14864 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14866 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14867 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14868 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14869 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14870 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14872 2013-10-04 Alan Modra <amodra@gmail.com>
14874 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14875 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14876 all uses of ieee854 long double macros and unions.
14877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14879 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14881 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14882 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14884 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14885 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14886 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14887 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14888 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14889 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14890 Simplify sign and nan test too.
14891 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14892 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14893 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14894 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14896 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14897 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14899 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14900 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14901 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14902 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14903 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14904 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14906 2013-10-04 Alan Modra <amodra@gmail.com>
14908 * stdio-common/printf_size.c (__printf_size): Don't use
14909 union ieee854_long_double in fpnum union.
14910 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14911 signbit macro to retrieve sign from long double.
14912 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14913 retrieve sign from long double.
14914 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14915 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14916 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14917 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14918 * math/test-misc.c (main): Don't use union ieee854_long_double.
14920 2013-10-04 Alan Modra <amodra@gmail.com>
14923 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14924 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14925 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14926 calculation. Remove unnecessary test for denormal exponent.
14927 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14928 Correct handling of denormals. Avoid undefined shift behaviour.
14929 Correct normalisation of low mantissa when low double is denormal.
14930 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14931 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14932 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14933 Correct normalisation of low mantissa. Test for overflow of high
14934 mantissa and normalise.
14935 (ldbl_nearbyint): Use more readable constant for two52.
14936 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14937 (__mpn_construct_long_double): Fix test for overflow of high
14938 mantissa and correct normalisation. Avoid undefined shift.
14940 2013-10-04 Alan Modra <amodra@gmail.com>
14942 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14943 (union ibm_extended_long_double): Define as an array of ieee754_double.
14944 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14945 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14946 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14947 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14948 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14951 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14956 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14958 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14959 page size instead of calling getpagesize.
14961 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14962 (LOCFILE_ALIGN_MASK): Likewise.
14963 (LOCFILE_ALIGN_UP): Likewise.
14964 (LOCFILE_ALIGNED_P): Likewise.
14965 * locale/programs/ld-collate.c (collate_output): Use the new
14966 macros instead of __alignof__ (int32_t).
14967 * locale/weight.h (findidx): Likewise.
14969 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14972 * manual/string.texi: Fix strncat and wcsncat.
14974 2013-10-03 Brooks Moses <bmoses@google.com>
14977 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14978 * Makerules: ...here, and adjust associated comments.
14980 2013-10-02 Will Newton <will.newton@linaro.org>
14982 * malloc/Makefile: Add tst-pvalloc.
14983 * malloc/tst-pvalloc.c: New file.
14985 2013-10-02 Will Newton <will.newton@linaro.org>
14987 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14988 improve test coverage.
14990 2013-10-02 Will Newton <will.newton@linaro.org>
14992 * malloc/Makefile: Add tst-posix_memalign.
14993 * malloc/tst-posix_memalign.c: New file.
14995 2013-10-01 Eric Blake <eblake@redhat.com>
14997 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14998 Use __THROWNL rather than __THROW on static functions.
15000 2013-09-30 Petr Machata <pmachata@redhat.com>
15002 * elf/elf.h (R_AARCH64_ABS16): New macro.
15003 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15004 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15005 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15006 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15007 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15008 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15009 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15010 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15011 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15012 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15013 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15014 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15015 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15016 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15017 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15018 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15019 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15020 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15021 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15022 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15023 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15024 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15025 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15026 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15027 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15028 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15029 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15030 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15031 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15032 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15033 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15034 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15035 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15036 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15037 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15038 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15039 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15040 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15041 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15042 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15043 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15044 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15045 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15046 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15047 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15048 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15049 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15050 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15051 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15052 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15053 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15054 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15055 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15056 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15057 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15058 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15059 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15060 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15061 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15062 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15063 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15064 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15065 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15066 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15067 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15068 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15069 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15070 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15071 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15072 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15073 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15074 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15075 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15076 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15077 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15078 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15079 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15080 (R_AARCH64_TLSDESC_LDR): Likewise.
15081 (R_AARCH64_TLSDESC_ADD): Likewise.
15082 (R_AARCH64_TLSDESC_CALL): Likewise.
15084 2013-09-30 Andreas Schwab <schwab@suse.de>
15087 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15088 the nss database lookup.
15089 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15092 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15094 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15096 2013-09-28 P. J. McDermott <pj@pehjota.net>
15098 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15099 ${Bash-specific parameter/pattern/string} parameter expansion.
15100 * sysdeps/unix/make-syscalls.sh: Likewise.
15102 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15104 * sysdeps/sh/stackguard-macros.h: New file.
15106 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15109 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15110 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15111 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15112 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15113 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15115 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15117 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15118 Fix thread ID register.
15120 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15122 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15123 [POSIX || UNIX98]: Require rather than permitting all symbols from
15125 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15126 element of struct sched_param.
15127 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15128 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15129 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15130 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15133 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15135 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15136 argument calculation.
15138 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15140 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15142 [POSIX] (pthread_attr_t): Do not require type.
15143 [POSIX] (pthread_cond_t): Likewise.
15144 [POSIX] (pthread_condattr_t): Likewise.
15145 [POSIX] (pthread_key_t): Likewise.
15146 [POSIX] (pthread_mutex_t): Likewise.
15147 [POSIX] (pthread_mutexattr_t): Likewise.
15148 [POSIX] (pthread_once_t): Likewise.
15149 [POSIX] (pthread_t): Likewise.
15150 [POSIX-based standards] (pthread_atfork): Expect function.
15152 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15153 Richard Sandiford <richard@codesourcery.com>
15155 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15156 (swap_endianness_p): New extern variable.
15157 (set_big_endian): New inline function.
15158 (maybe_swap_uint32): Likewise.
15159 (maybe_swap_uint32_array): Likewise.
15160 (maybe_swap_uint32_obstack): Likewise.
15161 * locale/programs/locfile.c: Include <stdbool.h>.
15162 (swap_endianness_p): New variable.
15163 (add_locale_uint32): Call maybe_swap_uint32.
15164 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15165 (write_locale_data): Call maybe_swap_uint32_array.
15166 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15168 (obstack_int32_grow_fast): Likewise.
15169 (output_weightwc): Call maybe_swap_uint32_obstack.
15170 (collate_output): Likewise.
15171 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15172 (OPT_LITTLE_ENDIAN): Likewise.
15173 (options): Add --little-endian and --big-endian options.
15174 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15175 * locale/programs/locarchive.c: Include "locfile.h".
15179 (create_archive): Use the new macros to access fields of
15180 structures directly mapped from or written to locale archives.
15181 (oldlocrecentcmp): Likewise.
15182 (enlarge_archive): Likewise.
15183 (insert_name): Likewise.
15184 (add_alias): Likewise.
15185 (add_locale): Likewise.
15186 (delete_locales_from_archive): Likewise.
15187 (show_archive_content): Likewise.
15188 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15191 2013-09-24 Roland McGrath <roland@hack.frob.com>
15193 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15194 http://www.gnu.org/doc/freemanuals.texi.
15195 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15197 2013-09-24 Will Newton <will.newton@linaro.org>
15199 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15202 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15204 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15207 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15209 * manual/threads.texi (POSIX Threads): Fix a typo.
15211 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15214 * string/tst-strcoll-overflow.c: New test case.
15215 * string/Makefile (xtests): Add tst-strcoll-overflow.
15216 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15217 cache if string sizes may cause integer overflow.
15220 * string/strcoll_l.c (coll_seq): New members rule, idx,
15221 save_idx and back_us.
15222 (get_next_seq_nocache): New function.
15223 (do_compare_nocache): New function.
15224 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15227 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15230 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15231 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15232 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15235 * elf/Makefile (tests): Add tst-ptrguard1.
15236 (tests-static): Add tst-ptrguard1-static.
15237 (tst-ptrguard1-ARGS): Define.
15238 (tst-ptrguard1-static-ARGS): Define.
15239 * elf/tst-ptrguard1.c: New file.
15240 * elf/tst-ptrguard1-static.c: New file.
15241 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15242 * sysdeps/i386/stackguard-macros.h: Likewise.
15243 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15244 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15245 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15246 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15247 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15248 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15250 2013-09-23 Hector Marco <hecmargi@upv.es>
15251 Ismael Ripoll <iripoll@disca.upv.es>
15252 Carlos O'Donell <carlos@redhat.com>
15255 * sysdeps/generic/stackguard-macros.h: Define
15256 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15257 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15258 Define __pointer_chk_guard_local.
15259 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15260 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15262 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15265 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15267 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15269 * include/string.h (__ffs): Declare as hidden.
15270 * string/ffs.c (__ffs): Define as hidden.
15271 * sysdeps/i386/ffs.c (__ffs): Likewise.
15272 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15273 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15274 * sysdeps/s390/ffs.c (__ffs): Likewise.
15275 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15277 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15279 * NEWS: Mention malloc probes.
15281 * malloc/arena.c (new_heap): New memory_heap_new probe.
15282 (grow_heap): New memory_heap_more probe.
15283 (shrink_heap): New memory_heap_less probe.
15284 (heap_trim): New memory_heap_free probe.
15285 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15286 (systrim): New memory_sbrk_less probe.
15287 * manual/probes.texi: Document them.
15289 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15290 * manual/probes.texi: Document it.
15292 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15293 (__libc_realloc): Add memory_realloc_retry probe.
15294 (__libc_memalign): Add memory_memalign_retry probe.
15295 (__libc_valloc): Add memory_valloc_retry probe.
15296 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15297 (__libc_calloc): Add memory_calloc_retry probe.
15298 * manual/probes.texi: Document them.
15300 * malloc/arena.c (get_free_list): Add probe
15301 memory_arena_reuse_free_list.
15302 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15303 and memory_arena_reuse.
15304 (arena_get2) [!PER_THREAD]: Likewise.
15305 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15306 memory_arena_reuse_realloc.
15307 * manual/probes.texi: Document them.
15309 * malloc/malloc.c (__libc_free): Add
15310 memory_mallopt_free_dyn_thresholds probe.
15311 (__libc_mallopt): Add multiple memory_mallopt probes.
15312 * manual/probes.texi: Document them.
15314 * malloc/malloc.c: Include stap-probe.h.
15315 (__libc_mallopt): Add memory_mallopt probe.
15316 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15317 * manual/probes.texi: New.
15318 * manual/Makefile (chapters): Add probes.
15319 * manual/threads.texi: Set next node.
15321 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15323 [BZ #15963, #13985]
15324 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15325 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15326 Add `Chinese' to `nan' entry name.
15328 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15330 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15331 (POLYNOMIAL): Likewise.
15332 (TAYLOR_SINCOS): Likewise.
15333 (TAYLOR_SLOW): Likewise.
15334 (__sin): Use TAYLOR_SINCOS.
15336 (slow): Use TAYLOR_SLOW.
15338 (bsloww): Likewise.
15339 (csloww): Likewise.
15341 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15343 * stdlib/strtod_l.c: Fix buffer overrun.
15345 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15347 * benchtests/Makefile (bench): Add sincos.
15348 * benchtests/bench-sincos.c: New file.
15350 * math/libm-test.inc (cos_test_data): New test inputs.
15351 (sin_test_data): Likewise.
15353 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15359 (sloww1): Likewise.
15360 (sloww2): Likewise.
15361 (bsloww1): Likewise.
15362 (bsloww2): Likewise.
15363 (cslow2): Likewise.
15364 (csloww1): Likewise.
15365 (csloww2): Likewise.
15367 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15372 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15376 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15378 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15379 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15380 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15381 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15382 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15383 * elf/cache.c (print_entry): Handle the new cache flags.
15385 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15386 Aldy Hernandez <aldyh@redhat.com>
15388 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15389 Change condition to [_SOFT_FLOAT].
15390 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15392 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15393 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15402 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15405 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15408 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15410 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15411 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15412 (__longjmp): Use LOAD_GP to load saved GPRs.
15413 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15414 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15415 (__sigsetjmp): Use SAVE_GP to save GPRs.
15417 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15418 Do not append -msoft-float.
15419 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15421 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15423 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15425 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15428 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15429 (_FPU_GETCW): Use initial "__" on variable and field names but not
15430 on macro parameter name.
15431 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15432 parentheses around reference to macro parameter.
15434 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15436 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15438 (ctype_startup): Use uint32_t in cast and sizeof for
15441 2013-09-11 Jia Liu <proljc@gmail.com>
15443 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15445 [__FreeBSD__]: Likewise.
15447 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15449 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15450 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15451 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15452 (strchr): Remove __strchr_sse42 ifunc selection.
15453 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15454 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15456 2013-09-11 Will Newton <will.newton@linaro.org>
15458 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15459 parameter to RES. Remove hardcoded 1000 value.
15460 * benchtests/bench-skeleton.c (main): Pass RES parameter
15461 to TIMING_INIT and multiply result by 1000.
15463 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15467 2013-09-11 Andreas Schwab <schwab@suse.de>
15469 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15471 (O_TMPFILE) [__USE_GNU]: Define.
15472 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15475 2013-09-11 Will Newton <will.newton@linaro.org>
15478 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15481 2013-09-11 Will Newton <will.newton@linaro.org>
15484 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15487 2013-09-11 Will Newton <will.newton@linaro.org>
15490 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15493 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15495 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15496 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15497 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15498 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15499 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15501 2013-09-10 Allan McRae <allan@archlinux.org>
15504 * manual/arith.texi (Parsing of Floats): Clarify
15508 * manual/install.texi (Running make install): Mention
15510 * INSTALL: Regenerated.
15512 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15514 * csu/init-first.c (_init): Remove the !SHARED condition around
15515 FPU control word initialization.
15516 * elf/dl-support.c (_dl_fpu_control): New variable.
15517 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15518 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15519 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15520 * math/test-fpucw-static.c: New file.
15521 * math/test-fpucw-ieee.c: New file.
15522 * math/test-fpucw-ieee-static.c: New file.
15523 * math/Makefile (tests): Add `test-fpucw-ieee' and
15525 (tests-static): New variable.
15526 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15528 [($(build-shared),yes)]
15529 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15531 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15534 2013-09-09 Allan McRae <allan@archlinux.org>
15537 * manual/string.texi (Collation Functions): Fix typo in
15539 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15542 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15545 * libio/memstream.c (open_memstream): Fix memory leak.
15546 * libio/wmemstream.c (open_wmemstream): Likewise.
15549 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15551 2013-09-09 Will Newton <will.newton@linaro.org>
15553 * malloc/Makefile: Add tst-realloc to tests.
15554 * malloc/tst-realloc.c: New file.
15556 2013-09-09 Allan McRae <allan@archlinux.org>
15559 * COPYING: Update from GNU website to fix FSF address.
15560 * COPYING.LIB: Likewise.
15562 2013-09-06 David S. Miller <davem@davemloft.net>
15564 * po/zh_TW.po: Update Chinese (traditional) translation from
15565 translation project.
15567 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15568 Joseph Myers <joseph@codesourcery.com>
15570 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15572 (obstack_chunk_alloc): New macro.
15573 (obstack_chunk_free): Likewise.
15574 (record_offset): New function.
15575 (init_locale_data): Likewise.
15576 (align_locale_data): Likewise.
15577 (add_locale_empty): Likewise.
15578 (add_locale_raw_data): Likewise.
15579 (add_locale_raw_obstack): Likewise.
15580 (add_locale_string): Likewise.
15581 (add_locale_wstring): Likewise.
15582 (add_locale_uint32): Likewise.
15583 (add_locale_uint32_array): Likewise.
15584 (add_locale_char): Likewise.
15585 (start_locale_structure): Likewise.
15586 (end_locale_structure): Likewise.
15587 (start_locale_prelude): Likewise.
15588 (end_locale_prelude): Likewise.
15589 (write_locale_data): Take locale_file structure rather than an
15591 * locale/programs/locfile.h: Include "obstack.h".
15592 (struct locale_file): Change to store locale file contents instead
15594 (init_locale_data): New prototype.
15595 (align_locale_data): Likewise.
15596 (add_locale_empty): Likewise.
15597 (add_locale_raw_data): Likewise.
15598 (add_locale_raw_obstack): Likewise.
15599 (add_locale_string): Likewise.
15600 (add_locale_wstring): Likewise.
15601 (add_locale_uint32): Likewise.
15602 (add_locale_uint32_array): Likewise.
15603 (add_locale_char): Likewise.
15604 (start_locale_structure): Likewise.
15605 (end_locale_structure): Likewise.
15606 (start_locale_prelude): Likewise.
15607 (end_locale_prelude): Likewise.
15608 (write_locale_data): Update prototype.
15609 * locale/programs/3level.h (struct TABLE): Remove result field.
15610 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15611 Use new locale_file interface.
15612 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15613 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15614 * locale/programs/ld-address.c (address_output): Use new
15615 locale_file interface.
15616 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15618 (collate_finish): Don't call collseq_table_finalize.
15619 (collate_output): Use new locale_file interface.
15620 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15622 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15623 (TABLE): Move defines earlier in file.
15624 (ELEMENT): Likewise.
15625 (DEFAULT): Likewise.
15626 (wctrans_table_add): Move macro and inline function earlier in
15628 (struct wctype_table): Move type earlier in file.
15629 (add_locale_wctype_table): New static prototype.
15630 (struct locale_ctype_t): Use logical types instead of struct iovec
15631 pointers for members.
15632 (ctype_output): Use new locale_file interface.
15633 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15634 new locale_file interface.
15635 (allocate_arrays): Update for use of new locale_file interface.
15636 * locale/programs/ld-identification.c (identification_output): Use
15637 new locale_file interface.
15638 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15639 * locale/programs/ld-messages.c (messages_output): Likewise.
15640 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15641 * locale/programs/ld-name.c (name_output): Likewise.
15642 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15643 * locale/programs/ld-paper.c (paper_output): Likewise.
15644 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15645 * locale/programs/ld-time.c (time_output): Likewise.
15647 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15649 * benchtests/Makefile: Add memrchr benchmark.
15650 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15651 benchmark as memrchr.
15652 * benchtests/bench-memrchr-ifunc.c: New file.
15653 * benchtests/bench-memrchr.c: New file.
15655 2013-09-06 Will Newton <will.newton@linaro.org>
15657 * benchtests/Makefile (string-bench): Add memcpy.
15659 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15660 Cong Wang <amwang@redhat.com>
15663 * sysdeps/unix/sysv/linux/bits/in.h
15664 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15665 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15666 before __USE_KERNEL_IPV6_DEFS uses.
15667 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15669 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15670 sockaddr_in6, or ipv6_mreq.
15672 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15674 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15675 memory access for final bytes in some large inputs.
15676 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15678 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15680 * string/test-memrchr.c: New file.
15681 * string/test-memrchr-ifunc.c: New file.
15682 * string/Makefile: Add new memrchr testcase.
15684 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15686 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15687 fanotify_init returns EPERM.
15689 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15691 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15693 (top level): Treat second token from macro or constant entries for
15694 allowed headers as allowed.
15695 * include/complex.h: Condition internal declarations on
15697 * include/fenv.h: Condition include of <stdbool.h> and internal
15698 declarations on [!_ISOMAC].
15700 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15703 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15705 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15707 * configure.in (--enable-versioning): Remove configure option.
15708 (libc_cv_asm_symver_directive): Remove configure test.
15709 (libc_cv_ld_version_script_option): Likewise.
15710 (VERSIONING): Remove variable and AC_SUBST.
15711 (DO_VERSIONING): Remove AC_DEFINE.
15712 * configure: Regenerated.
15713 * config.h.in (DO_VERSIONING): Remove macro.
15714 * Makerules [$(versioning) = yes]: Change conditionals to
15715 [$(build-shared) = yes].
15716 * config.make.in (versioning): Remove variable.
15717 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15718 [$(build-shared) = yes].
15719 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15720 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15721 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15722 [$(build-shared) = yes].
15723 * extra-lib.mk [$(versioning) = yes]: Likewise.
15724 * hurd/Makefile [$(versioning) = yes]: Likewise.
15725 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15727 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15729 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15730 [SHARED && !NO_HIDDEN].
15731 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15733 [SHARED && DO_VERSIONING]: Likewise..
15734 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15735 [$(build-shared) = yes].
15736 * manual/install.texi (--disable-versioning): Remove
15738 * INSTALL: Regenerated.
15739 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15741 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15742 [$(build-shared) = yes].
15743 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15744 * sysdeps/i386/i686/multiarch/strstr-c.c
15745 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15746 [SHARED && !NO_HIDDEN].
15747 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15748 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15749 * sysdeps/powerpc/powerpc32/dl-machine.c
15750 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15751 * sysdeps/powerpc/powerpc32/sysdep.h
15752 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15753 to [SHARED && PIC && !NO_HIDDEN].
15754 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15755 conditional to [SHARED].
15757 2013-09-04 Will Newton <will.newton@linaro.org>
15759 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15760 * benchtests/bench-string.h: Include bench-timing.h instead
15761 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15762 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15763 call to HP_TIMING_DIFF_INIT.
15764 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15765 instead of hp-timing.h macros.
15766 * benchtests/bench-memchr.c: Likewise.
15767 * benchtests/bench-memcmp.c: Likewise.
15768 * benchtests/bench-memcpy.c: Likewise.
15769 * benchtests/bench-memmem.c: Likewise.
15770 * benchtests/bench-memmove.c: Likewise.
15771 * benchtests/bench-memset.c: Likewise.
15772 * benchtests/bench-rawmemchr.c: Likewise.
15773 * benchtests/bench-strcasecmp.c: Likewise.
15774 * benchtests/bench-strcasestr.c: Likewise.
15775 * benchtests/bench-strcat.c: Likewise.
15776 * benchtests/bench-strchr.c: Likewise.
15777 * benchtests/bench-strcmp.c: Likewise.
15778 * benchtests/bench-strcpy.c: Likewise.
15779 * benchtests/bench-strcpy_chk.c: Likewise.
15780 * benchtests/bench-strlen.c: Likewise.
15781 * benchtests/bench-strncasecmp.c: Likewise.
15782 * benchtests/bench-strncat.c: Likewise.
15783 * benchtests/bench-strncmp.c: Likewise.
15784 * benchtests/bench-strncpy.c: Likewise.
15785 * benchtests/bench-strnlen.c: Likewise.
15786 * benchtests/bench-strpbrk.c: Likewise.
15787 * benchtests/bench-strrchr.c: Likewise.
15788 * benchtests/bench-strspn.c: Likewise.
15789 * benchtests/bench-strstr.c: Likewise.
15791 2013-09-04 Will Newton <will.newton@linaro.org>
15793 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15795 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15798 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15799 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15800 * math/libm-test.inc (lgamma_test_data): Add more tests.
15801 * sysdeps/i386/fpu/libm-test-ulps: Update.
15802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15804 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15806 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15807 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15810 Add strcmp-sse2-unaligned
15811 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15813 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15815 * Versions.def (libc): Add GLIBC_2.19.
15817 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15819 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15820 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15822 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15825 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15826 intermediate calculations in recurrence.
15827 (__ieee754_ynf): Likewise.
15828 * math/libm-test.inc (jn_test_data): Do not allow spurious
15829 underflow exception. Add more tests.
15830 (yn_test_data): Add more tests.
15831 * sysdeps/i386/fpu/libm-test-ulps: Update.
15832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15834 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15836 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15838 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15840 * csu/init-first.c: Fix then/than typos.
15841 * locale/programs/ld-collate.c: Likewise.
15842 * locale/programs/linereader.h: Likewise.
15843 * manual/charset.texi: Likewise.
15844 * manual/filesys.texi: Likewise.
15845 * manual/stdio.texi: Likewise.
15846 * manual/string.texi: Likewise.
15847 * stdlib/fmtmsg.c: Likewise.
15848 * sysdeps/i386/stpncpy.S: Likewise.
15849 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15850 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15851 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15852 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15854 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15856 * elf/dl-open.c: Fix typos.
15857 * iconvdata/gbbig5.c: Likewise.
15858 * iconvdata/iso-2022-jp.c: Likewise.
15859 * iconv/gconv_int.h: Likewise.
15860 * iconv/loop.c: Likewise.
15861 * nis/rpcsvc/nis.h: Likewise.
15862 * resolv/ns_name.c: Likewise.
15863 * stdio-common/vfscanf.c: Likewise.
15864 * streams/stropts.h: Likewise.
15865 * sunrpc/rpc_thread.c: Likewise.
15866 * sysdeps/i386/strpbrk.S: Likewise.
15867 * sysdeps/ieee754/k_standard.c: Likewise.
15868 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15869 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15870 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15871 * sysdeps/mach/hurd/profil.c: Likewise.
15872 * sysdeps/s390/dl-procinfo.h: Likewise.
15873 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15874 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15875 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15876 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15877 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15879 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15881 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15884 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15886 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15887 aix specific files.
15888 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15889 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15890 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15891 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15892 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15893 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15894 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15895 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15897 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15898 Roland McGrath <roland@hack.frob.com>
15900 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15901 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15903 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15905 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15906 __executable_start symbol instead of _start.
15908 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15910 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15911 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15913 * sysdeps/gnu/ldsodefs.h: ... this new file.
15915 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15916 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15917 instead of ELFOSABI_LINUX.
15919 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15920 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15921 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15922 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15924 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15925 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15926 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15928 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15929 (ibm_extended_long_double): Add ieee_nan member.
15930 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15931 (do_test): New function.
15933 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15935 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15936 functions, renamed from truncdfsf_test, trunctfsf_test,
15938 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15940 (do_test): Run all these.
15942 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15944 * argp/argp-help.c: Fix typos.
15945 * argp/argp-parse.c: Likewise.
15946 * debug/backtracesyms.c: Likewise.
15947 * elf/elf.h: Likewise.
15948 * malloc/malloc.c: Likewise.
15949 * nis/nis_print.c: Likewise.
15950 * resolv/res_comp.c: Likewise.
15951 * stdlib/stdlib.h: Likewise.
15952 * sunrpc/clnt_tcp.c: Likewise.
15953 * sunrpc/clnt_udp.c: Likewise.
15954 * sunrpc/clnt_unix.c: Likewise.
15955 * sysdeps/unix/bsd/ptsname.c: Likewise.
15956 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15957 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15964 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15966 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15968 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15971 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15974 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15975 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15976 ($(objpfx)bug-dl-leaf): New rule.
15977 ($(objpfx)bug-dl-leaf.so): Likewise.
15978 ($(objpfx)bug-dl-leaf.out): Likewise.
15979 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15980 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15981 * dlfcn/bug-dl-leaf.c: New test.
15982 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15983 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15984 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15985 (dlclose): Likewise.
15986 (dlmopen): Likewise.
15988 2013-08-27 Roland McGrath <roland@hack.frob.com>
15990 * include/netdb.h [!_ISOMAC]:
15991 Don't include <tls.h>.
15992 (h_errno, __libc_h_errno): Move declaration and macros out of
15995 * include/resolv.h [_RESOLV_H_]:
15996 Don't include <tls.h>.
15997 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15998 * resolv/res_libc.c: Don't include <tls.h>.
15999 (_res): Use __attribute__ ((nocommon)) in place of
16000 __attribute__ ((section (".bss"))).
16002 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16003 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16005 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16007 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16008 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16010 * resolv/res_mkquery.c: Include <sys/time.h>.
16012 * inet/ifreq.c: Moved to ...
16013 * sysdeps/unix/ifreq.c: ... here.
16014 * inet/ifreq.c: New file, true stub version.
16016 * socket/sa_len.c: New file.
16017 * socket/Makefile (aux): Add it.
16018 * sysdeps/unix/sysv/linux/Makefile
16019 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16020 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16021 and #include <socket/sa_len.c>.
16022 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16023 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16025 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16026 * bits/socket.h: ... here.
16028 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16029 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16030 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16032 2013-08-27 Andreas Schwab <schwab@suse.de>
16035 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16036 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16037 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16038 * string/test-strcasecmp.c (test_main): Run tests in several
16040 * string/test-strncasecmp.c (test_main): Likewise.
16042 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16043 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16044 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16045 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16046 (__strncasecmp_ssse3) [PIC]: Likewise.
16048 2013-08-26 Roland McGrath <roland@hack.frob.com>
16050 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16052 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16053 instead of explicitly declaring xdecrypt.
16054 * nis/nss_nis/nis-publickey.c: Likewise.
16056 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16059 * nscd/aicache.c: Include res_hconf.h.
16060 (addhstaiX): Initialize res_hconf.
16062 2013-08-26 Andreas Schwab <schwab@suse.de>
16064 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16065 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16067 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16069 * nscd/aicache.c (addhstaiX): Fix indentation.
16071 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16073 * configure.ac: Quote $build_pt_chown test.
16074 * configure: Regenerated.
16076 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16079 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16080 * math/s_cexpf.c (__cexpf): Likewise.
16081 * math/s_cexpl.c (__cexpl): Likewise.
16082 * math/libm-test.inc (cexp_test_data): Correct expected return
16083 value for NaN + i0. Add another test.
16085 2013-08-22 David S. Miller <davem@davemloft.net>
16087 * po/ca.po: Update Catalan translation from translation project.
16088 * po/uk.po: Add Ukrainian translations from translation project.
16090 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16093 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16094 is infinite, not alongside NaN test.
16095 * math/s_fdimf.c (__fdimf): Likewise.
16096 * math/s_fdiml.c (__fdiml): Likewise.
16097 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16098 errno is unchanged.
16100 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16102 * argp/argp-help.c: Fix typos.
16103 * crypt/speeds.c: Likewise.
16104 * csu/check_fds.c: Likewise.
16105 * elf/dl-load.c: Likewise.
16106 * elf/dl-open.c: Likewise.
16107 * elf/reldep3.c: Likewise.
16108 * elf/reldep.c: Likewise.
16109 * elf/sprof.c: Likewise.
16110 * iconv/iconv_charmap.c: Likewise.
16111 * iconv/skeleton.c: Likewise.
16112 * iconv/strtab.c: Likewise.
16113 * io/lockf64.c: Likewise.
16114 * libio/libioP.h: Likewise.
16115 * resolv/gai_notify.c: Likewise.
16116 * resolv/ns_name.c: Likewise.
16117 * resolv/ns_samedomain.c: Likewise.
16118 * resolv/res_send.c: Likewise.
16119 * stdlib/random.c: Likewise.
16120 * sunrpc/rpc/xdr.h: Likewise.
16121 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16122 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16123 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16124 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16125 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16126 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16127 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16128 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16129 * sysdeps/mach/hurd/check_fds.c: Likewise.
16130 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16131 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16132 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16133 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16134 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16135 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16136 * sysdeps/pthread/aio_notify.c: Likewise.
16137 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16138 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16139 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16140 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16141 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16143 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16145 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16146 version if bit_Slow_SSE4_2 is set.
16147 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16148 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16150 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16153 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16154 trampoline stack frame information.
16155 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16156 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16157 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16158 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16159 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16160 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16161 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16162 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16164 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16165 interrupting a syscall and set with option SA_SIGINFO.
16167 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16170 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16171 argument is infinite.
16172 * math/s_cprojf.c (__cprojf): Likewise.
16173 * math/s_cprojl.c (__cprojl): Likewise.
16174 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16175 * math/libm-test.inc (cproj_test_data): Add more tests.
16177 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16179 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16180 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16181 size. Use __ffs to determine corresponding shift.
16183 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16184 Roland McGrath <roland@hack.frob.com>
16186 * Makefile (INSTALL): Remove trailing blank lines from output of
16189 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16191 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16192 Align 32 bit compat elf_greg to 8 bytes.
16194 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16196 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16198 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16200 * string/strcoll_l.c (coll_seq): New structure.
16201 (get_next_seq_cached): New function.
16202 (get_next_seq): New function.
16203 (do_compare): New function.
16204 (STRCOLL): Use GNU style definition. Simplify implementation
16205 by using get_next_seq, get_next_seq_cached and do_compare.
16207 2013-08-16 Florian Weimer <fweimer@redhat.com>
16211 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16213 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16215 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16216 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16217 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16219 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16220 GETDENTS_64BIT_ALIGNED.
16221 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16222 * manual/filesys.texi (Reading/Closing Directory): Document
16223 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16225 * manual/conf.texi (Limits for Files): Add portability note to
16226 NAME_MAX, PATH_MAX.
16227 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16229 2013-08-13 Andreas Schwab <schwab@suse.de>
16232 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16234 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16235 LDBL_MAX_EXP >= 16384]: Add tests for it.
16237 2013-08-12 David S. Miller <davem@davemloft.net>
16239 * version.h (RELEASE): Set to "development".
16240 (VERSION): Set to "2.18.90".
16241 * NEWS: Add 2.19 section.
16243 2013-08-03 David S. Miller <davem@davemloft.net>
16245 * po/ko.po: Update Korean translation from translation project.
16247 2013-08-01 David S. Miller <davem@davemloft.net>
16249 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16250 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16253 2013-07-30 David S. Miller <davem@davemloft.net>
16255 * po/fr.po: Update French translation from translation project.
16257 2013-07-28 David S. Miller <davem@davemloft.net>
16259 * po/cs.po: Update Czech translation from translation project.
16261 * po/sv.po: Update Swedish translation from translation project.
16263 2013-07-27 David S. Miller <davem@davemloft.net>
16265 * po/eo.po: Update Esperanto translation from translation project.
16267 * po/vi.po: Update Vietnamese translation from translation project.
16269 * po/de.po: Update German translation from translation project.
16271 2013-07-26 David S. Miller <davem@davemloft.net>
16273 * po/bg.po: Update Bulgarian translation from translation project.
16275 * po/nl.po: Update Dutch translation from translation project.
16276 * po/pl.po: Update Polish translation from translation project.
16277 * po/ru.po: Update Russian translation from translation project.
16279 2013-07-24 David S. Miller <davem@davemloft.net>
16281 * po/libc.pot: Update.
16283 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16285 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16286 variable page size.
16287 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16288 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16289 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16291 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16293 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16295 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16296 Andreas Schwab <schwab@suse.de>
16297 Roland McGrath <roland@hack.frob.com>
16298 Joseph Myers <joseph@codesourcery.com>
16299 Carlos O'Donell <carlos@redhat.com>
16302 * config.h.in: Define HAVE_PT_CHOWN.
16303 * config.make.in (build-pt-chown): New variable.
16304 * configure.in (--enable-pt_chown): New configure option.
16305 * configure: Regenerate.
16306 * login/Makefile: Include Makeconfig. Build pt_chown only if
16307 build-pt-chown is enabled.
16308 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16309 pt_chown to fix pty ownership.
16310 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16312 * manual/install.texi (Configuring and compiling): Mention
16313 --enable-pt_chown. Add @findex for grantpt.
16314 * INSTALL: Regenerate.
16316 2013-07-20 David S. Miller <davem@davemloft.net>
16318 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16319 difference between 32-bit and 64-bit.
16321 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16324 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16325 Avoid system header dependency with -ffreestanding.
16326 ($(objpfx)bits/syscall%d): Likewise.
16328 2013-07-13 David S. Miller <davem@davemloft.net>
16330 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16331 underflows from atanl/atan2l due to bug 15319.
16332 (casinh_test_data): Likewise.
16334 2013-07-07 David S. Miller <davem@davemloft.net>
16336 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16338 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16340 * sysdeps/i386/fpu/libm-test-ulps: Update.
16341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16343 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16345 * configure.in (--enable-lock-elision): Fix message text.
16346 * INSTALL: Regenerate.
16347 * configure: Regenerate.
16349 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16353 2013-07-03 Andreas Jaeger <aj@suse.de>
16355 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16357 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16358 (ptrace_peeksiginfo_args): Add.
16359 (__ptrace_peeksiginfo_flags): Add.
16360 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16361 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16362 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16364 2013-07-03 Allan McRae <allan@archlinux.org>
16366 * sysdeps/i386/fpu/libm-test-ulps: Update.
16368 2013-07-02 David S. Miller <davem@davemloft.net>
16370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16372 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16376 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16378 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16381 2013-07-02 Andi Kleen <ak@linux.intel.com>
16383 * config.h.in (ENABLE_LOCK_ELISION): Add.
16384 * configure.in (--enable-lock-elision): Add option.
16385 * manual/install.texi: Document --enable lock elision.
16386 * configure: Regenerate
16387 * INSTALL: Regenerate.
16389 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16391 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16392 SSE4.2 strcasecmp for libc.a.
16393 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16395 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16398 * soft-fp/op-common.h (_FP_FMA): New macro.
16399 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16400 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16401 (_FP_MUL_MEAT_1_imm): ... here.
16402 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16403 (_FP_MUL_MEAT_1_wide): ... here.
16404 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16405 (_FP_MUL_MEAT_1_hard): ... here.
16406 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16407 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16408 (_FP_MUL_MEAT_2_wide): ... here.
16409 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16410 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16411 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16412 (_FP_MUL_MEAT_2_gmp): ... here.
16413 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16414 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16415 (_FP_MUL_MEAT_4_wide): ... here.
16416 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16417 (_FP_MUL_MEAT_4_gmp): ... here.
16418 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16419 (_FP_WFRACBITS_DW_S): Likewise.
16420 (_FP_WFRACXBITS_DW_S): Likewise.
16421 (_FP_HIGHBIT_DW_S): Likewise.
16422 (FP_FMA_S): Likewise.
16423 (_FP_FRAC_HIGH_DW_S): Likewise.
16424 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16425 (_FP_WFRACBITS_DW_D): Likewise.
16426 (_FP_WFRACXBITS_DW_D): Likewise.
16427 (_FP_HIGHBIT_DW_D): Likewise.
16428 (FP_FMA_D): Likewise.
16429 (_FP_FRAC_HIGH_DW_D): Likewise.
16430 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16431 (_FP_WFRACBITS_DW_E): Likewise.
16432 (_FP_WFRACXBITS_DW_E): Likewise.
16433 (_FP_HIGHBIT_DW_E): Likewise.
16434 (FP_FMA_E): Likewise.
16435 (_FP_FRAC_HIGH_DW_E): Likewise.
16436 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16437 (_FP_WFRACBITS_DW_Q): Likewise.
16438 (_FP_WFRACXBITS_DW_Q): Likewise.
16439 (_FP_HIGHBIT_DW_Q): Likewise.
16440 (FP_FMA_Q): Likewise.
16441 (_FP_FRAC_HIGH_DW_Q): Likewise.
16442 * soft-fp/fmasf4.c: New file.
16443 * soft-fp/fmadf4.c: Likewise.
16444 * soft-fp/fmatf4.c: Likewise.
16446 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16449 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16451 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16453 (index_Slow_SSE4_2): Likewise.
16454 (index_Prefer_PMINUB_for_stringop): Likewise.
16455 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16456 bit_Slow_SSE4_2 is set.
16457 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16458 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16460 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16462 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16463 rtld_global._dl_hwcap2.
16464 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16466 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16467 POWER8 feature descriptions defined in _dl_hwcap2.
16468 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16469 string handling for POWER8 feature bits.
16470 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16471 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16472 _dl_powerpc_cap_flags.
16473 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16474 * sysdeps/powerpc/rtld-global-offsets.sym
16475 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16476 _dl_hwcap2 in the rtld_global_ro structure.
16478 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16480 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16481 hardware capabilities in support of AT_HWCAP2.
16482 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16483 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16485 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16486 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16487 explicitly the unknown a_type display mechanism is used.
16488 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16489 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16491 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16492 to macro prototype for AT_HWCAP2 support.
16493 * sysdeps/i386/dl-procinfo.h: Likewise.
16494 * sysdeps/s390/dl-procinfo.h: Likewise.
16495 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16496 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16497 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16498 return -1 for unknown a_type display fallback.
16499 * sysdeps/sparc/dl-procinfo.h: Likewise.
16500 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16501 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16503 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16505 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16506 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16508 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16511 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16512 mprotect making __stack_prot writable.
16514 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16515 Joseph Myers <joseph@codesourcery.com>
16517 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16518 as being properly aligned.
16520 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16522 * dlfcn/modstatic5.c: New file.
16523 * dlfcn/tststatic5.c: New file.
16524 * dlfcn/Makefile (tests): Add tststatic5.
16525 (tests-static): Likewise.
16526 (modules-names): Add modstatic5.
16527 (tststatic5-ENV): New variable.
16528 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16531 * elf/dl-support.c (_dl_main_map): New variable.
16532 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16533 (_dl_nns, _dl_load_adds): Set to 1.
16534 (_dl_initial_searchlist): Refer to _dl_main_map.
16535 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16536 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16537 call to _dl_get_origin.
16538 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16540 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16541 * dlfcn/modstatic3.c: New file.
16542 * dlfcn/tststatic3.c: New file.
16543 * dlfcn/tststatic4.c: New file.
16544 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16545 (tests-static): Likewise.
16546 (modules-names): Add modstatic3.
16547 (tststatic3-ENV, tststatic4-ENV): New variables.
16548 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16549 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16551 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16553 * configure.in (CC): Require GCC version 4.4 or later.
16554 * configure: Regenerated.
16555 * manual/install.texi (Tools for Compilation): Update GCC version
16557 * INSTALL: Regenerated.
16559 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16562 * string/test-memcmp.c (check2): New.
16563 (main): Call check2.
16565 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16567 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16570 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16572 (dl_open_worker) [!SHARED]: ... here.
16574 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16576 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16578 2013-06-25 Richard Henderson <rth@redhat.com>
16580 * locale/programs/locarchive.c: Include <libc-internal.h>
16582 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16584 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16585 trailing whitespace removed.
16587 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16590 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16591 * locale/programs/locarchive.c: Include libc-mmap.h.
16592 (prepare_address_space): Take two new outputs (the mmap base and len).
16593 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16595 (create_archive): Declare new mmap base and len values for
16596 prepare_address_space, and store the result in ah.
16597 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16598 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16599 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16600 Declare new mmap base and len values for
16601 prepare_address_space, and store the result in new_ah.
16602 (open_archive): Declare new mmap base and len values for
16603 prepare_address_space, and store the result in ah.
16604 (close_archive): If ah->mmap_base is not NULL, use that and
16605 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16606 * sysdeps/generic/libc-mmap.h: New file.
16608 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16610 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16611 (ALIGN_UP): Likewise.
16612 (PTR_ALIGN_DOWN): Likewise.
16613 (PTR_ALIGN_UP): Likewise.
16615 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16617 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16618 entry mapped to PPC_PLATFORM_POWER8.
16619 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16621 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16622 (_dl_string_platform): Add case for exporting platform position for
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16625 search path to sysdeps/powerpc/powerpc32/power8 directory.
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16627 search path to sysdeps/powerpc/powerpc64/power8 directory.
16628 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16629 power7 directories.
16630 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16631 power7 directories.
16633 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16635 * INSTALL: Regenerate.
16637 * nscd/connections.c (nscd_init): Fix comment.
16639 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16641 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16644 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16645 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16647 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16649 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16651 (DL_DST_REQ_STATIC): Remove macro.
16653 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16656 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16657 with a shift of 0 bits.
16659 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16661 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16664 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16667 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16669 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16671 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16672 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16673 accepts -fno-tree-loop-distribute-patterns.
16674 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16675 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16677 * string/memset.c (memset): Likewise.
16678 * string/test-memmove.c (simple_memmove): Disable loop transformation
16680 * string/test-memset.c (simple_memset): Likewise.
16681 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16682 * benchtests/bench-memset.c (simple_memset): Likewise.
16683 * configure: Regenerated.
16685 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16687 * math/test-misc.c (main): Ignore fesetround failure when failures
16688 of subsequent rounding tests would be ignored.
16691 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16692 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16693 * math/fegetenv.c (__fegetenv): Return 0.
16694 * math/fegetexcept.c (fegetexcept): Return 0.
16695 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16697 * math/feholdexcpt.c (feholdexcept): Return 0.
16698 * math/fesetenv.c (__fesetenv): Return 0.
16699 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16700 argument FE_TONEAREST.
16701 * math/feupdateenv.c (__feupdateenv): Return 0.
16702 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16704 2013-06-18 Roland McGrath <roland@hack.frob.com>
16706 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16707 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16708 ($(objpfx)rtld-%.os rules): Use them.
16710 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16712 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16715 2013-06-17 Roland McGrath <roland@hack.frob.com>
16717 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16718 length of target pattern, then descending length of dependency pattern.
16719 * configure.in (AWK): Require gawk 3.1.2 or newer.
16720 * manual/install.texi (Tools for Compilation): Say that we do.
16721 * configure: Regenerated.
16723 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16724 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16725 * scripts/sysd-rules.awk: ... this new script.
16726 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16727 than a glob-style pattern.
16729 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16731 * math/test-misc.c (main): Do not treat incorrectly rounded
16732 conversions as failure unless ROUNDING_TESTS passes.
16734 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16737 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16738 restore exception state around main square root computation, then
16739 check for inexactness explicitly.
16741 * math/libm-test.inc (fma_test_data): Add another test.
16743 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16745 * manual/threads.texi (Non-POSIX Extensions): New document
16746 node. Document pthread_getattr_default_np and
16747 pthread_setattr_default_np.
16749 * Versions.def (libpthread): Add GLIBC_2.18.
16750 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16759 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16770 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16773 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16775 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16776 H.J. Lu <hjl.tools@gmail.com>
16779 * sysdeps/x86_64/rtld-memset.c: Remove file.
16780 * sysdeps/x86_64/rtld-memset.S: New file.
16782 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16784 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16785 (test_in_one_mode): Take arguments for whether the rounding mode
16786 is supported for each floating-point type.
16787 (do_test): Pass new arguments to test_in_one_mode using
16790 2013-06-13 Roland McGrath <roland@hack.frob.com>
16792 * posix/tst-waitid.c (do_test): Distinguish different instances of
16793 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16794 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16795 before entering the kernel for waitpid.
16797 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16799 * NEWS: Fix note on clock function precision. Text by Roland
16802 2013-06-13 Roland McGrath <roland@hack.frob.com>
16804 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16805 it into place only when and if the sanity check passes.
16807 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16809 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16810 output for whether conversion result is exact. Take argument
16811 indicating whether type is IBM long double.
16812 (round_for_all): Change need_exact field to ibm_ld.
16813 * stdlib/tst-strtod-round.c (struct exactness): New type.
16814 (struct test): Change bool ld_ok field to struct exactness exact.
16815 (TEST): Update all definitions for change to field.
16816 (tests): Regenerate array contents.
16817 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16818 field value. Check for IBM long double here.
16819 (do_test): Update calls to test_in_one_mode.
16821 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16824 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16825 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16827 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16830 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16831 generated by the compiler on loop optimizations.
16832 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16833 general definitions.
16835 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16837 * math/bug-nextafter.c: Include <math-tests.h>.
16838 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16840 * math/bug-nexttoward.c: Include <math-tests.h>.
16841 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16843 * math/test-misc.c: Include <math-tests.h>.
16844 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16847 2013-06-12 Andreas Jaeger <aj@suse.de>
16849 * po/ia.po: Update Interlingua translation from translation
16852 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16854 * include/fenv.h: Include stdbool.h.
16855 (struct rm_ctx): New structure.
16856 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16858 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16859 (SET_RESTORE_ROUNDF): Likewise.
16860 (SET_RESTORE_ROUNDL): Likewise.
16861 (SET_RESTORE_ROUND_NOEX): Likewise.
16862 (SET_RESTORE_ROUND_NOEXF): Likewise.
16863 (SET_RESTORE_ROUND_NOEXL): Likewise.
16864 (SET_RESTORE_ROUND_53BIT): Likewise.
16865 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16866 (libc_feresetround_noexf_ctx): Likewise.
16867 (libc_feresetround_noexl_ctx): Likewise.
16868 (libc_feholdsetround_53bit_ctx): Likewise.
16869 (libc_feresetround_53bit_ctx): Likewise.
16870 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16871 (libc_feholdexcept_setround_sse_ctx): New function.
16872 (libc_fesetenv_sse_ctx): Likewise.
16873 (libc_feupdateenv_sse_ctx): Likewise.
16874 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16875 (libc_feholdexcept_setround_387_ctx): Likewise.
16876 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16877 (libc_feholdsetround_387_prec_ctx): Likewise.
16878 (libc_feholdsetround_387_ctx): Likewise.
16879 (libc_feholdsetround_387_53bit_ctx): Likewise.
16880 (libc_feholdsetround_sse_ctx): Likewise.
16881 (libc_feresetround_sse_ctx): Likewise.
16882 (libc_feresetround_387_ctx): Likewise.
16883 (libc_feupdateenv_387_ctx): Likewise.
16884 (libc_feholdexcept_setroundf_ctx): Define macro.
16885 (libc_fesetenvf_ctx): Likewise.
16886 (libc_feupdateenvf_ctx): Likewise.
16887 (libc_feholdsetroundf_ctx): Likewise.
16888 (libc_feresetroundf_ctx): Likewise.
16889 (libc_feholdexcept_setround_ctx): Likewise.
16890 (libc_fesetenv_ctx): Likewise.
16891 (libc_feupdateenv_ctx): Likewise.
16892 (libc_feholdsetround_ctx): Likewise.
16893 (libc_feresetround_ctx): Likewise.
16894 (libc_feholdexcept_setroundl_ctx): Likewise.
16895 (libc_feupdateenvl_ctx): Likewise.
16896 (libc_feholdsetroundl_ctx): Likewise.
16897 (libc_feresetroundl_ctx): Likewise.
16898 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16899 (libc_feresetround_53bit_ctx): Likewise.
16901 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16903 * locale/iso-639.def: Convert to UTF-8.
16905 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16907 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16908 (EXCEPTION_TESTS_double): Likewise.
16909 (EXCEPTION_TESTS_long_double): Likewise.
16910 (EXCEPTION_TESTS): Likewise.
16911 * math/libm-test.inc (test_exceptions): Only test exceptions if
16912 EXCEPTION_TESTS (FLOAT).
16914 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16916 * benchtests/Makefile (string-bench): Add strcpy_chk and
16918 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16919 * benchtests/bench-stpcpy_chk.c: New file.
16920 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16921 * benchtests/bench-strcpy_chk.c: New file.
16922 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16924 (do_test): Likewise.
16926 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16928 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16929 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16930 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16931 with tabs where appropriate.
16932 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16934 [PPC_PLATFORM_PPC440]: Likewise.
16935 [PPC_PLATFORM_PPC464]: Likewise.
16936 [PPC_PLATFORM_PPC476]: Likewise.
16937 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16938 ppc464, and ppc476 platform strings merging from ports/
16941 2013-06-11 Andreas Schwab <schwab@suse.de>
16944 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16945 (from_ucs4_idx): Regenerate.
16946 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16947 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16948 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16949 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16950 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16951 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16952 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16953 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16954 from FROM_LOOP and TO_LOOP specific macros.
16955 (BODY): Handle combining characters.
16956 * iconvdata/BIG5HKSCS.irreversible: Update.
16957 * iconvdata/BIG5HKSCS.precomposed: New file.
16958 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16960 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16962 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16964 * include/sys/time.h: Fix indentation and add copyright header.
16966 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16967 (do_test): Likewise.
16968 * string/test-memchr.c (do_one_test): Likewise.
16969 (do_test): Likewise.
16970 * string/test-memcmp.c (do_one_test): Likewise.
16971 (do_test): Likewise.
16972 * string/test-memcpy.c (do_one_test): Likewise.
16973 (do_test): Likewise.
16974 * string/test-memmem.c (do_one_test): Likewise.
16975 (do_test): Likewise.
16976 (do_random_tests): Likewise.
16977 * string/test-memmove.c (do_one_test): Likewise.
16978 (do_test): Likewise.
16979 * string/test-memset.c (do_one_test): Likewise.
16980 (do_test): Likewise.
16981 * string/test-rawmemchr.c (do_one_test): Likewise.
16982 (do_test): Likewise.
16983 * string/test-strcasecmp.c (do_one_test): Likewise.
16984 (do_test): Likewise.
16985 * string/test-strcasestr.c (do_one_test): Likewise.
16986 (do_test): Likewise.
16987 * string/test-strcat.c (do_one_test): Likewise.
16988 (do_test): Likewise.
16989 * string/test-strchr.c (do_one_test): Likewise.
16990 (do_test): Likewise.
16991 * string/test-strcmp.c (do_one_test): Likewise.
16992 (do_test): Likewise.
16993 * string/test-strcpy.c (do_one_test): Likewise.
16994 (do_test): Likewise.
16995 * string/test-string.h: Likewise.
16996 (test_init): Likewise.
16997 * string/test-strlen.c (do_one_test): Likewise.
16998 (do_test): Likewise.
16999 * string/test-strncasecmp.c (do_one_test): Likewise.
17000 (do_test): Likewise.
17001 * string/test-strncat.c (do_one_test): Likewise.
17002 (do_test): Likewise.
17003 * string/test-strncmp.c (do_one_test): Likewise.
17004 (do_test_limit): Likewise.
17005 (do_test): Likewise.
17006 * string/test-strncpy.c (do_one_test): Likewise.
17007 (do_test): Likewise.
17008 * string/test-strnlen.c (do_one_test): Likewise.
17009 (do_test): Likewise.
17010 * string/test-strpbrk.c (do_one_test): Likewise.
17011 (do_test): Likewise.
17012 * string/test-strrchr.c (do_one_test): Likewise.
17013 (do_test): Likewise.
17014 * string/test-strspn.c (do_one_test): Likewise.
17015 (do_test): Likewise.
17016 * string/test-strstr.c (do_one_test): Likewise.
17017 (do_test): Likewise.
17019 * benchtests/Makefile (string-bench): Add string benchmarks.
17020 * benchtests/bench-bcopy-ifunc.c: New file.
17021 * benchtests/bench-bcopy.c: New file.
17022 * benchtests/bench-bzero-ifunc.c: New file.
17023 * benchtests/bench-bzero.c: New file.
17024 * benchtests/bench-memccpy-ifunc.c: New file.
17025 * benchtests/bench-memccpy.c: New file.
17026 * benchtests/bench-memchr-ifunc.c: New file.
17027 * benchtests/bench-memchr.c: New file.
17028 * benchtests/bench-memcmp-ifunc.c: New file.
17029 * benchtests/bench-memcmp.c: New file.
17030 * benchtests/bench-memmem-ifunc.c: New file.
17031 * benchtests/bench-memmem.c: New file.
17032 * benchtests/bench-memmove-ifunc.c: New file.
17033 * benchtests/bench-memmove.c: New file.
17034 * benchtests/bench-mempcpy-ifunc.c: New file.
17035 * benchtests/bench-mempcpy.c: New file.
17036 * benchtests/bench-memset-ifunc.c: New file.
17037 * benchtests/bench-memset.c: New file.
17038 * benchtests/bench-rawmemchr-ifunc.c: New file.
17039 * benchtests/bench-rawmemchr.c: New file.
17040 * benchtests/bench-stpcpy-ifunc.c: New file.
17041 * benchtests/bench-stpcpy.c: New file.
17042 * benchtests/bench-stpncpy-ifunc.c: New file.
17043 * benchtests/bench-stpncpy.c: New file.
17044 * benchtests/bench-strcasecmp-ifunc.c: New file.
17045 * benchtests/bench-strcasecmp.c: New file.
17046 * benchtests/bench-strcasestr-ifunc.c: New file.
17047 * benchtests/bench-strcasestr.c: New file.
17048 * benchtests/bench-strcat-ifunc.c: New file.
17049 * benchtests/bench-strcat.c: New file.
17050 * benchtests/bench-strchr-ifunc.c: New file.
17051 * benchtests/bench-strchr.c: New file.
17052 * benchtests/bench-strchrnul-ifunc.c: New file.
17053 * benchtests/bench-strchrnul.c: New file.
17054 * benchtests/bench-strcmp-ifunc.c: New file.
17055 * benchtests/bench-strcmp.c: New file.
17056 * benchtests/bench-strcpy-ifunc.c: New file.
17057 * benchtests/bench-strcpy.c: New file.
17058 * benchtests/bench-strcspn-ifunc.c: New file.
17059 * benchtests/bench-strcspn.c: New file.
17060 * benchtests/bench-strlen-ifunc.c: New file.
17061 * benchtests/bench-strlen.c: New file.
17062 * benchtests/bench-strncasecmp-ifunc.c: New file.
17063 * benchtests/bench-strncasecmp.c: New file.
17064 * benchtests/bench-strncat-ifunc.c: New file.
17065 * benchtests/bench-strncat.c: New file.
17066 * benchtests/bench-strncmp-ifunc.c: New file.
17067 * benchtests/bench-strncmp.c: New file.
17068 * benchtests/bench-strncpy-ifunc.c: New file.
17069 * benchtests/bench-strncpy.c: New file.
17070 * benchtests/bench-strnlen-ifunc.c: New file.
17071 * benchtests/bench-strnlen.c: New file.
17072 * benchtests/bench-strpbrk-ifunc.c: New file.
17073 * benchtests/bench-strpbrk.c: New file.
17074 * benchtests/bench-strrchr-ifunc.c: New file.
17075 * benchtests/bench-strrchr.c: New file.
17076 * benchtests/bench-strspn-ifunc.c: New file.
17077 * benchtests/bench-strspn.c: New file.
17078 * benchtests/bench-strstr-ifunc.c: New file.
17079 * benchtests/bench-strstr.c: New file.
17081 * benchtests/Makefile: Disable parallel execution of targets.
17082 (string-bench): Add memcpy.
17083 (benchset): New variable to store a list of benchmark sets.
17084 (bench-func): Renamed from bench.
17085 (bench-set): New target.
17086 (bench): Depend on bench-func and bench-set.
17087 * benchtests/README: Add section on benchmark sets.
17088 * benchtests/bench-memcpy-ifunc.c: New file.
17089 * benchtests/bench-memcpy.c: New file.
17090 * benchtests/bench-string.h: New file.
17092 2013-06-11 Andreas Schwab <schwab@suse.de>
17095 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17096 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17097 values in the triple.
17098 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17099 terminator in the group key.
17101 2013-06-11 Andreas Jaeger <aj@suse.de>
17103 * po/zh_TW.po: Update Chinese (traditional) translation from
17104 translation project.
17106 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17108 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17109 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17110 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17111 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17112 (clock_getcpuclockid): Likewise.
17113 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17114 Add weak_alias and libc_hidden_def.
17115 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17116 * rt/clock_gettime.c (clock_gettime): Rename to
17117 __clock_gettime. Add weak_alias and libc_hidden_def.
17118 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17119 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17120 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17121 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17122 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17124 * rt/clock_settime.c (clock_settime): Rename to
17125 __clock_settime. Add weak_alias and libc_hidden_def.
17126 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17128 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17130 * mach/err_boot.sub: Remove trailing whitespace.
17131 * mach/err_ipc.sub: Likewise.
17132 * mach/err_mach.sub: Likewise.
17134 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17135 (ROUNDING_TESTS_double): Likewise.
17136 (ROUNDING_TESTS_long_double): Likewise.
17137 (ROUNDING_TESTS): Likewise.
17138 * math/libm-test.inc: Include <math-tests.h>.
17139 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17140 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17141 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17142 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17144 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17146 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17149 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17151 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17152 otherwise empty TRANS lines.
17153 * sysdeps/gnu/errlist.c: Regenerated.
17155 * catgets/gencat.c (error_print): Use (void) in function
17157 * crypt/crypt_util.c (__init_des): Likewise.
17158 * crypt/speeds.c (Stop): Likewise.
17160 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17161 * inet/ruserpass.c (token): Likewise.
17162 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17163 * intl/localealias.c (extend_alias_table): Likewise.
17164 * intl/plural-exp.c (init_germanic_plural): Likewise.
17165 * libio/fcloseall.c (__fcloseall): Likewise.
17166 * libio/genops.c (_IO_flush_all): Likewise.
17167 (_IO_flush_all_linebuffered): Likewise.
17168 (_IO_cleanup): Likewise.
17169 (_IO_iter_begin): Likewise.
17170 (_IO_iter_end): Likewise.
17171 (_IO_list_lock): Likewise.
17172 (_IO_list_unlock): Likewise.
17173 (_IO_list_resetlock): Likewise.
17174 * libio/getchar.c (getchar): Likewise.
17175 * libio/getchar_u.c (getchar_unlocked): Likewise.
17176 * libio/getwchar.c (getwchar): Likewise.
17177 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17178 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17179 * login/getpt.c (__getpt): Likewise.
17180 * login/tst-utmp.c (main): Likewise.
17181 * malloc/hooks.c (__malloc_check_init): Likewise.
17182 * malloc/malloc.c (__malloc_stats): Likewise.
17183 * malloc/mtrace.c (tr_break): Likewise.
17184 (mtrace): Likewise.
17185 (muntrace): Likewise.
17186 * misc/fstab.c (endfsent): Likewise.
17187 * misc/getclktck.c (__getclktck): Likewise.
17188 * misc/getdtsz.c (__getdtablesize): Likewise.
17189 * misc/gethostid.c (gethostid): Likewise.
17190 * misc/getpagesize.c (__getpagesize): Likewise.
17191 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17192 (__get_nprocs): Likewise.
17193 (__get_phys_pages): Likewise.
17194 (__get_avphys_pages): Likewise.
17195 * misc/getttyent.c (getttyent): Likewise.
17196 (setttyent): Likewise.
17197 (endttyent): Likewise.
17198 * misc/getusershell.c (getusershell): Likewise.
17199 (endusershell): Likewise.
17200 (setusershell): Likewise.
17201 (initshells): Likewise.
17202 * misc/hsearch.c (__hdestroy): Likewise.
17203 * misc/sync.c (sync): Likewise.
17204 * misc/syslog.c (closelog_internal): Likewise.
17205 (closelog): Likewise.
17206 * misc/ttyslot.c (ttyslot): Likewise.
17207 * misc/vhangup.c (vhangup): Likewise.
17208 * posix/fork.c (__fork): Likewise.
17209 * posix/getegid.c (__getegid): Likewise.
17210 * posix/geteuid.c (__geteuid): Likewise.
17211 * posix/getgid.c (__getgid): Likewise.
17212 * posix/getpid.c (__getpid): Likewise.
17213 * posix/getppid.c (__getppid): Likewise.
17214 * posix/getuid.c (__getuid): Likewise.
17215 * posix/pause.c (pause): Likewise.
17216 * posix/setpgrp.c (setpgrp): Likewise.
17217 * posix/setsid.c (__setsid): Likewise.
17218 * posix/test-vfork.c (noop): Likewise.
17219 * resolv/gethnamaddr.c (_endhtent): Likewise.
17220 (_gethtent): Likewise.
17221 (ht_endhostent): Likewise.
17222 (gethostent): Likewise.
17223 (dns_service): Likewise.
17224 * stdlib/drand48.c (drand48): Likewise.
17225 * stdlib/lrand48.c (lrand48): Likewise.
17226 * stdlib/mrand48.c (mrand48): Likewise.
17227 * stdlib/rand.c (rand): Likewise.
17228 * stdlib/random.c (__random): Likewise.
17229 * stdlib/setenv.c (clearenv): Likewise.
17230 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17231 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17232 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17233 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17234 (__get_nprocs): Likewise.
17235 (__get_phys_pages): Likewise.
17236 (__get_avphys_pages): Likewise.
17237 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17238 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17239 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17240 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17241 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17242 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17243 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17244 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17245 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17246 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17247 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17248 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17249 * sysdeps/posix/clock.c (clock): Likewise.
17250 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17251 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17252 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17253 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17254 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17255 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17256 (__get_nprocs_conf): Likewise.
17257 (__get_phys_pages): Likewise.
17258 (__get_avphys_pages): Likewise.
17259 * time/clock.c (clock): Likewise.
17260 * time/tzset.c (__tzname_max): Likewise.
17262 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17264 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17265 (__bswap_32): Do not use "register".
17266 * crypt/crypt.c (_ufc_doit_r): Likewise.
17267 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17268 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17269 * gmon/gmon.c (__monstartup): Likewise.
17270 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17271 * hurd/hurdmalloc.c (more_memory): Likewise.
17272 (malloc): Likewise.
17274 (realloc): Likewise.
17275 (malloc_fork_prepare): Likewise.
17276 (malloc_fork_parent): Likewise.
17277 (malloc_fork_child): Likewise.
17278 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17279 (_svcauth_des): Likewise.
17280 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17281 * inet/inet_net.c (inet_network): Likewise.
17282 * inet/inet_netof.c (inet_netof): Likewise.
17283 * inet/rcmd.c (__validuser2_sa): Likewise.
17284 * io/fts.c (fts_open): Likewise.
17285 (fts_load): Likewise.
17286 (fts_close): Likewise.
17287 (fts_read): Likewise.
17288 (fts_children): Likewise.
17289 (fts_build): Likewise.
17290 (fts_stat): Likewise.
17291 (fts_sort): Likewise.
17292 (fts_alloc): Likewise.
17293 (fts_lfree): Likewise.
17294 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17295 (_IO_file_xsgetn): Likewise.
17296 (_IO_file_xsgetn_mmap): Likewise.
17297 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17298 (_IO_cookie_write): Likewise.
17299 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17300 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17301 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17302 * malloc/obstack.c (_obstack_begin): Likewise.
17303 (_obstack_begin_1): Likewise.
17304 (_obstack_newchunk): Likewise.
17305 (_obstack_allocated_p): Likewise.
17306 (obstack_free): Likewise.
17307 (_obstack_memory_used): Likewise.
17308 * misc/getttyent.c (getttynam): Likewise.
17309 (getttyent): Likewise.
17312 * misc/getusershell.c (initshells): Likewise.
17313 * misc/syslog.c (__vsyslog_chk): Likewise.
17314 * misc/ttyslot.c (ttyslot): Likewise.
17315 * nis/nis_hash.c (__nis_hash): Likewise.
17316 * posix/fnmatch_loop.c (FCT): Likewise.
17317 * posix/getconf.c (print_all): Likewise.
17319 * posix/getopt.c (exchange): Likewise.
17320 * posix/glob.c (globfree): Likewise.
17321 (prefix_array): Likewise.
17322 (__glob_pattern_type): Likewise.
17323 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17324 (NS_GET32): Likewise.
17325 (NS_PUT16): Likewise.
17326 (NS_PUT32): Likewise.
17327 * resolv/gethnamaddr.c (getanswer): Likewise.
17328 (gethostbyname2): Likewise.
17329 (gethostbyaddr): Likewise.
17330 (_gethtent): Likewise.
17331 (_gethtbyname2): Likewise.
17332 (_gethtbyaddr): Likewise.
17333 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17334 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17335 * resolv/res_init.c (__res_vinit): Likewise.
17336 (net_mask): Likewise.
17337 * resolv/res_mkquery.c (outchar): Likewise.
17339 * stdio-common/printf_fp.c (outchar): Likewise.
17341 * stdio-common/printf_fphex.c (outchar): Likewise.
17343 * stdio-common/printf_size.c (outchar): Likewise.
17345 * stdio-common/test_rdwr.c (main): Likewise.
17346 * stdio-common/tfformat.c (matches): Likewise.
17347 * stdio-common/vfprintf.c (outchar): Likewise.
17348 (printf_unknown): Likewise.
17349 (buffered_vfprintf): Likewise.
17350 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17351 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17352 (ReadFile): Likewise.
17353 * stdlib/qsort.c (SWAP): Likewise.
17354 (_quicksort): Likewise.
17355 * stdlib/setenv.c (__add_to_environ): Likewise.
17356 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17357 * stdlib/strtol_l.c (__strtol_l): Likewise.
17358 * stdlib/tst-strtod.c (main): Likewise.
17359 * stdlib/tst-strtol.c (main): Likewise.
17360 * stdlib/tst-strtoll.c (main): Likewise.
17361 * string/bits/string2.h (__strcmp_cc): Likewise.
17362 (__strcmp_cg): Likewise.
17363 (__strcspn_c1): Likewise.
17364 (__strcspn_c2): Likewise.
17365 (__strcspn_c3): Likewise.
17366 (__strspn_c1): Likewise.
17367 (__strspn_c2): Likewise.
17368 (__strspn_c3): Likewise.
17369 (__strsep_1c): Likewise.
17370 (__strsep_2c): Likewise.
17371 (__strsep_3c): Likewise.
17372 * string/memccpy.c (__memccpy): Likewise.
17373 * string/stpcpy.c (__stpcpy): Likewise.
17374 * string/strcmp.c (strcmp): Likewise.
17375 * string/strrchr.c (strrchr): Likewise.
17376 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17378 * sysdeps/mach/hurd/getcwd.c
17379 (_hurd_canonicalize_directory_name_internal): Likewise.
17380 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17381 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17382 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17383 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17384 Likewise, in both definitions.
17385 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17387 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17388 64] (__bswap_64): Likewise.
17389 * time/test_time.c (main): Likewise.
17390 * time/tzfile.c (__tzfile_read): Likewise.
17391 (__tzfile_compute): Likewise.
17392 * time/tzset.c (__tzset_parse_tz): Likewise.
17393 (tzset_internal): Likewise.
17394 (compute_change): Likewise.
17395 * wcsmbs/wcscat.c (__wcscat): Likewise.
17396 * wcsmbs/wcschr.c (wcschr): Likewise.
17397 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17398 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17399 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17400 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17401 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17402 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17403 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17404 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17405 * wcsmbs/wmemset.c (wmemset): Likewise.
17407 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17409 * scripts/config.guess: Update to version 2013-05-16.
17410 * scripts/config.sub: Update to version 2013-04-24.
17411 * scripts/install-sh: Update to version 2011-11-20.07.
17412 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17413 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17415 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17417 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17418 * elf/sln.c: Likewise.
17419 * hurd/hurd/ioctl.h: Likewise.
17420 * hurd/hurdmalloc.c: Likewise.
17421 * hurd/xattr.c: Likewise.
17422 * include/shlib-compat.h: Likewise.
17423 * inet/ruserpass.c: Likewise.
17424 * libio/iofgets_u.c: Likewise.
17425 * libio/iofgetws_u.c: Likewise.
17426 * locale/programs/ld-identification.c: Likewise.
17427 * locale/programs/ld-time.c: Likewise.
17428 * mach/msg-destroy.c: Likewise.
17429 * nss/nss_files/files-netgrp.c: Likewise.
17430 * resolv/res_data.c: Likewise.
17431 * soft-fp/op-1.h: Likewise.
17432 * soft-fp/op-2.h: Likewise.
17433 * soft-fp/op-4.h: Likewise.
17434 * soft-fp/op-common.h: Likewise.
17435 * stdio-common/printf_fphex.c: Likewise.
17436 * stdlib/strtod_l.c: Likewise.
17437 * sunrpc/rpc/clnt.h: Likewise.
17438 * sysdeps/generic/framestate.c: Likewise.
17439 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17440 * sysdeps/i386/bsd-setjmp.S: Likewise.
17441 * sysdeps/i386/__longjmp.S: Likewise.
17442 * sysdeps/i386/setjmp.S: Likewise.
17443 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17444 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17445 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17446 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17447 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17448 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17449 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17450 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17451 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17453 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17461 * sysdeps/ieee754/support.c: Likewise.
17462 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17463 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17464 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17465 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17466 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17467 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17468 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17469 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17470 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17471 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17472 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17473 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17474 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17475 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17476 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17477 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17478 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17481 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17483 * posix/transbug.c: Remove executable mode.
17485 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17487 * crypt/speeds.c: Remove trailing whitespace.
17488 * dlfcn/default.c: Likewise.
17489 * elf/ifuncdep2.c: Likewise.
17490 * elf/ifuncmain1.c: Likewise.
17491 * elf/ifuncmain1vis.c: Likewise.
17492 * elf/testobj.h: Likewise.
17493 * elf/tst-stackguard1.c: Likewise.
17494 * gmon/sys/gmon.h: Likewise.
17495 * hurd/hurdmsg.c: Likewise.
17496 * hurd/new-fd.c: Likewise.
17497 * hurd/ports-get.c: Likewise.
17498 * iconvdata/ibm1008_420.c: Likewise.
17499 * inet/tst-getni1.c: Likewise.
17500 * inet/tst-getni2.c: Likewise.
17501 * libio/ioungetc.c: Likewise.
17502 * libio/wfiledoalloc.c: Likewise.
17503 * manual/libm-err-tab.pl: Likewise.
17504 * math/w_dremf.c: Likewise.
17505 * misc/ftruncate.c: Likewise.
17506 * posix/bug-glob2.c: Likewise.
17507 * posix/tst-pcre.c: Likewise.
17508 * posix/wait4.c: Likewise.
17509 * resolv/README: Likewise.
17510 * resolv/res_debug.h: Likewise.
17511 * resolv/tst-inet_ntop.c: Likewise.
17512 * setjmp/bug269-setjmp.c: Likewise.
17513 * soft-fp/extended.h: Likewise.
17514 * soft-fp/op-1.h: Likewise.
17515 * soft-fp/op-2.h: Likewise.
17516 * soft-fp/op-4.h: Likewise.
17517 * soft-fp/op-8.h: Likewise.
17518 * soft-fp/testit.c: Likewise.
17519 * stdio-common/bug16.c: Likewise.
17520 * stdlib/random.c: Likewise.
17521 * sunrpc/rpcsvc/rquota.x: Likewise.
17522 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17523 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17524 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17525 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17526 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17527 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17528 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17529 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17530 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17531 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17532 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17533 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17534 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17535 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17536 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17538 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17539 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17540 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17541 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17542 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17543 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17544 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17546 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17549 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17550 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17551 * sysdeps/ieee754/s_lib_version.c: Likewise.
17552 * sysdeps/mach/hurd/check_fds.c: Likewise.
17553 * sysdeps/mach/hurd/getsockname.c: Likewise.
17554 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17555 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17556 * sysdeps/powerpc/bits/link.h: Likewise.
17557 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17558 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17559 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17560 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17561 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17562 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17563 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17564 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17565 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17566 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17567 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17568 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17569 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17570 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17571 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17572 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17573 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17574 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17576 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17577 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17578 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17579 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17580 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17581 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17582 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17583 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17584 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17585 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17586 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17587 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17588 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17589 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17590 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17591 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17592 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17593 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17594 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17595 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17596 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17597 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17598 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17599 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17600 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17601 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17602 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17603 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17604 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17605 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17606 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17609 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17610 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17611 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17612 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17613 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17614 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17615 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17616 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17617 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17618 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17619 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17620 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17621 * sysdeps/powerpc/sysdep.h: Likewise.
17622 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17623 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17624 * sysdeps/sh/dl-trampoline.S: Likewise.
17625 * sysdeps/sh/memset.S: Likewise.
17626 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17627 * sysdeps/sh/strlen.S: Likewise.
17628 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17629 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17630 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17631 * sysdeps/sparc/sparc32/rem.S: Likewise.
17632 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17633 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17634 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17635 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17636 * sysdeps/sparc/sparc32/urem.S: Likewise.
17637 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17638 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17639 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17640 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17641 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17642 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17643 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17644 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17645 * sysdeps/unix/bsd/times.c: Likewise.
17646 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17647 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17651 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17652 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17653 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17654 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17655 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17656 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17657 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17658 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17659 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17660 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17661 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17662 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17663 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17664 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17665 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17666 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17667 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17668 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17669 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17670 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17671 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17672 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17673 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17674 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17675 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17676 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17677 * sysdeps/x86_64/strcspn.S: Likewise.
17679 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17681 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17682 generated file. Regenerate properly from gen-translit.pl.
17683 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17684 locale/C-translit.h.
17686 2013-06-05 Andreas Schwab <schwab@suse.de>
17689 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17690 week as 6 instead of -1.
17691 * time/tst-strptime.c (day_tests): Add test case.
17693 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17695 * sysdeps/generic/math_private.h
17696 (libc_feholdexcept_setround_53bit): Replace with
17697 libc_feholdsetround_53bit.
17698 (libc_feupdateenv_53bit): Replace with
17699 libc_feresetround_53bit.
17700 (SET_RESTORE_ROUND_53BIT): Adjust.
17702 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17704 * string/test-strchrnul.c: Add copyright header.
17706 * posix/tst-getaddrinfo4.c: Increase test timeout.
17708 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17711 * math/libm-test.inc (MAX_EXP): Remove
17713 (ulp): Use MIN_EXP - MANT_DIG.
17714 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17716 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17718 * po/be.po: Revert last change.
17719 * po/zh_CN.po: Likewise.
17720 * po/header.pot: Likewise.
17722 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17724 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17725 link-libc-deps to empty as target-specific variable.
17726 * Makerules (link-libc-args): New variable.
17727 (libc-for-link): Likewise.
17728 (link-libc-deps): Likewise.
17729 (lib%.so): Depend on $(link-libc-deps). Link with
17731 (build-module): Link with $(link-libc-args).
17732 (build-module-asneeded): Likewise.
17733 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17735 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17736 target-specific variable.
17737 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17738 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17739 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17741 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17743 ($(objpfx)libpcprofile.so): Likewise.
17744 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17746 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17747 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17748 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17750 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17751 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17752 * login/Makefile ($(objpfx)libutil.so): Likewise.
17753 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17754 * math/Makefile ($(objpfx)libm.so): Likewise.
17755 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17756 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17757 variable instead of depending directly on libc.
17758 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17759 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17761 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17763 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17764 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17765 ($(objpfx)libanl.so): Likewise.
17766 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17768 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17770 * sysdeps/i386/fpu/Makefile: Remove file.
17771 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17772 ($(objpfx)libm.so): Remove dependency on ld.so.
17774 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17777 * nis/yp_xdr.c (XDRMAXNAME): Define.
17778 (XDRMAXRECORD): Define.
17779 (xdr_domainname): Use XDRMAXNAME.
17780 (xdr_mapname): Likewise.
17781 (xdr_peername): Likewise.
17782 (xdr_keydat): Use XDRMAXRECORD.
17783 (xdr_valdat): Likewise.
17785 2013-05-30 Jeff Law <law@redhat.com>
17788 * manual/errno.texi (ESTALE): Update to account for more than
17789 just NFS file systems.
17790 * sysdeps/gnu/errlist.c: Regenerated.
17792 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17795 * elf/Makefile (tests): Add tst-null-argv.
17796 (modules-names): Add tst-null-argv-lib.
17797 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17798 (tst-null-argv-ENV): Set environment for tst-null-argv.
17799 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17800 (RTLD_PROGNAME): New macro.
17801 * elf/tst-null-argv.c: New test case.
17802 * elf/tst-null-argv-lib.c: Library for test case.
17803 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17804 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17805 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17806 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17807 * elf/dl-init.c (call_init): Likewise.
17808 (_dl_init): Likewise.
17809 * elf/dl-load.c (print_search_path): Likewise.
17810 (_dl_map_object): Likewise.
17811 * elf/dl-lookup.c (do_lookup_x): Likewise.
17812 (add_dependency): Likewise.
17813 (_dl_lookup_symbol_x): Likewise.
17814 (_dl_debug_bindings): Likewise.
17815 * elf/dl-open.c (_dl_show_scope): Likewise.
17816 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17817 * elf/dl-version.c (match_symbol): Likewise.
17818 (_dl_check_map_versions): Likewise.
17819 * elf/rtld.c (dl_main): Likewise.
17820 (print_unresolved): Use RTLD_PROGNAME.
17821 (print_missing_version): Likewise.
17822 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17823 (elf_machine_rela): Likewise.
17824 * sysdeps/powerpc/powerpc32/dl-machine.c
17825 (__process_machine_rela): Likewise.
17826 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17828 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17830 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17832 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17833 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17837 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17839 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17841 * po/be.po: Add descriptive title.
17842 * po/zh_CN.po: Likewise.
17843 * po/header.pot: Likewise.
17845 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17847 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17849 (enlarge_archive): Likewise.
17851 2013-05-28 Ben North <ben@redfrontdoor.org>
17853 * manual/arith.texi (frexp): It is the magnitude of the return
17854 value which lies in [0.5, 1), not the return value itself.
17856 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17860 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17862 * stdio-common/bug26.c (main): Correct fscanf template.
17864 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17865 declare _dl_skip_args.
17867 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17870 * manual/platform.texi: Add missing @end deftypefun.
17872 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17875 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17876 bit of mantissa of 2^16382.
17877 * math/libm-test.inc (hypot_test_data): Add more tests.
17879 * math/libm-test.inc: Add drem and pow10 to list of tested
17881 (pow10_test): New function.
17882 (drem_test): Likewise.
17883 (drem_test_tonearest): Likewise.
17884 (drem_test_towardzero): Likewise.
17885 (drem_test_downward): Likewise.
17886 (drem_test_upward): Likewise.
17887 (main): Call the new functions.
17889 * math/libm-test.inc (finite_test_data): Remove.
17890 (finite_test): Run tests from isfinite_test_data.
17891 (gamma_test_data): Remove.
17892 (gamma_test): Run tests from lgamma_test_data.
17893 * sysdeps/i386/fpu/libm-test-ulps: Update.
17894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17896 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17898 * manual/platform.texi: Add PowerPC PPR function set documentation.
17899 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17902 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17904 * math/libm-test.inc (MAX_EXP): Define.
17906 (ulp): New function.
17907 (check_float_internal): Use ULPDIFF.
17908 (cpow_test): Disable failing test.
17909 (check_ulp): Test ulp() implemetnation.
17910 (main): Call check_ulp before starting tests.
17912 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17914 * math/gen-libm-test.pl (generate_testfile): Do not handle
17915 START_DATA and END_DATA.
17916 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17918 (acos_tonearest_test_data): Likewise.
17919 (acos_towardzero_test_data): Likewise.
17920 (acos_downward_test_data): Likewise.
17921 (acos_upward_test_data): Likewise.
17922 (acosh_test_data): Likewise.
17923 (asin_test_data): Likewise.
17924 (asin_tonearest_test_data): Likewise.
17925 (asin_towardzero_test_data): Likewise.
17926 (asin_downward_test_data): Likewise.
17927 (asin_upward_test_data): Likewise.
17928 (asinh_test_data): Likewise.
17929 (atan_test_data): Likewise.
17930 (atanh_test_data): Likewise.
17931 (atan2_test_data): Likewise.
17932 (cabs_test_data): Likewise.
17933 (cacos_test_data): Likewise.
17934 (cacosh_test_data): Likewise.
17935 (carg_test_data): Likewise.
17936 (casin_test_data): Likewise.
17937 (casinh_test_data): Likewise.
17938 (catan_test_data): Likewise.
17939 (catanh_test_data): Likewise.
17940 (cbrt_test_data): Likewise.
17941 (ccos_test_data): Likewise.
17942 (ccosh_test_data): Likewise.
17943 (ceil_test_data): Likewise.
17944 (cexp_test_data): Likewise.
17945 (cimag_test_data): Likewise.
17946 (clog_test_data): Likewise.
17947 (clog10_test_data): Likewise.
17948 (conj_test_data): Likewise.
17949 (copysign_test_data): Likewise.
17950 (cos_test_data): Likewise.
17951 (cos_tonearest_test_data): Likewise.
17952 (cos_towardzero_test_data): Likewise.
17953 (cos_downward_test_data): Likewise.
17954 (cos_upward_test_data): Likewise.
17955 (cosh_test_data): Likewise.
17956 (cosh_tonearest_test_data): Likewise.
17957 (cosh_towardzero_test_data): Likewise.
17958 (cosh_downward_test_data): Likewise.
17959 (cosh_upward_test_data): Likewise.
17960 (cpow_test_data): Likewise.
17961 (cproj_test_data): Likewise.
17962 (creal_test_data): Likewise.
17963 (csin_test_data): Likewise.
17964 (csinh_test_data): Likewise.
17965 (csqrt_test_data): Likewise.
17966 (ctan_test_data): Likewise.
17967 (ctan_tonearest_test_data): Likewise.
17968 (ctan_towardzero_test_data): Likewise.
17969 (ctan_downward_test_data): Likewise.
17970 (ctan_upward_test_data): Likewise.
17971 (ctanh_test_data): Likewise.
17972 (ctanh_tonearest_test_data): Likewise.
17973 (ctanh_towardzero_test_data): Likewise.
17974 (ctanh_downward_test_data): Likewise.
17975 (ctanh_upward_test_data): Likewise.
17976 (erf_test_data): Likewise.
17977 (erfc_test_data): Likewise.
17978 (exp_test_data): Likewise.
17979 (exp_tonearest_test_data): Likewise.
17980 (exp_towardzero_test_data): Likewise.
17981 (exp_downward_test_data): Likewise.
17982 (exp_upward_test_data): Likewise.
17983 (exp10_test_data): Likewise.
17984 (exp2_test_data): Likewise.
17985 (expm1_test_data): Likewise.
17986 (fabs_test_data): Likewise.
17987 (fdim_test_data): Likewise.
17988 (finite_test_data): Likewise.
17989 (floor_test_data): Likewise.
17990 (fma_test_data): Likewise.
17991 (fma_towardzero_test_data): Likewise.
17992 (fma_downward_test_data): Likewise.
17993 (fma_upward_test_data): Likewise.
17994 (fmax_test_data): Likewise.
17995 (fmin_test_data): Likewise.
17996 (fmod_test_data): Likewise.
17997 (fpclassify_test_data): Likewise.
17998 (frexp_test_data): Likewise.
17999 (gamma_test_data): Likewise.
18000 (hypot_test_data): Likewise.
18001 (ilogb_test_data): Likewise.
18002 (isfinite_test_data): Likewise.
18003 (isgreater_test_data): Likewise.
18004 (isgreaterequal_test_data): Likewise.
18005 (isinf_test_data): Likewise.
18006 (isless_test_data): Likewise.
18007 (islessequal_test_data): Likewise.
18008 (islessgreater_test_data): Likewise.
18009 (isnan_test_data): Likewise.
18010 (isnormal_test_data): Likewise.
18011 (issignaling_test_data): Likewise.
18012 (isunordered_test_data): Likewise.
18013 (j0_test_data): Likewise.
18014 (j1_test_data): Likewise.
18015 (jn_test_data): Likewise.
18016 (ldexp_test_data): Likewise.
18017 (lgamma_test_data): Likewise.
18018 (lrint_test_data): Likewise.
18019 (lrint_tonearest_test_data): Likewise.
18020 (lrint_towardzero_test_data): Likewise.
18021 (lrint_downward_test_data): Likewise.
18022 (lrint_upward_test_data): Likewise.
18023 (llrint_test_data): Likewise.
18024 (llrint_tonearest_test_data): Likewise.
18025 (llrint_towardzero_test_data): Likewise.
18026 (llrint_downward_test_data): Likewise.
18027 (llrint_upward_test_data): Likewise.
18028 (log_test_data): Likewise.
18029 (log10_test_data): Likewise.
18030 (log1p_test_data): Likewise.
18031 (log2_test_data): Likewise.
18032 (logb_test_data): Likewise.
18033 (logb_downward_test_data): Likewise.
18034 (lround_test_data): Likewise.
18035 (llround_test_data): Likewise.
18036 (modf_test_data): Likewise.
18037 (nearbyint_test_data): Likewise.
18038 (nextafter_test_data): Likewise.
18039 (nexttoward_test_data): Likewise.
18040 (pow_test_data): Likewise.
18041 (pow_tonearest_test_data): Likewise.
18042 (pow_towardzero_test_data): Likewise.
18043 (pow_downward_test_data): Likewise.
18044 (pow_upward_test_data): Likewise.
18045 (remainder_test_data): Likewise.
18046 (remainder_tonearest_test_data): Likewise.
18047 (remainder_towardzero_test_data): Likewise.
18048 (remainder_downward_test_data): Likewise.
18049 (remainder_upward_test_data): Likewise.
18050 (remquo_test_data): Likewise.
18051 (rint_test_data): Likewise.
18052 (rint_tonearest_test_data): Likewise.
18053 (rint_towardzero_test_data): Likewise.
18054 (rint_downward_test_data): Likewise.
18055 (rint_upward_test_data): Likewise.
18056 (round_test_data): Likewise.
18057 (scalb_test_data): Likewise.
18058 (scalbn_test_data): Likewise.
18059 (scalbln_test_data): Likewise.
18060 (signbit_test_data): Likewise.
18061 (sin_test_data): Likewise.
18062 (sin_tonearest_test_data): Likewise.
18063 (sin_towardzero_test_data): Likewise.
18064 (sin_downward_test_data): Likewise.
18065 (sin_upward_test_data): Likewise.
18066 (sincos_test_data): Likewise.
18067 (sinh_test_data): Likewise.
18068 (sinh_tonearest_test_data): Likewise.
18069 (sinh_towardzero_test_data): Likewise.
18070 (sinh_downward_test_data): Likewise.
18071 (sinh_upward_test_data): Likewise.
18072 (sqrt_test_data): Likewise.
18073 (tan_test_data): Likewise.
18074 (tan_tonearest_test_data): Likewise.
18075 (tan_towardzero_test_data): Likewise.
18076 (tan_downward_test_data): Likewise.
18077 (tan_upward_test_data): Likewise.
18078 (tanh_test_data): Likewise.
18079 (tgamma_test_data): Likewise.
18080 (trunc_test_data): Likewise.
18081 (y0_test_data): Likewise.
18082 (y1_test_data): Likewise.
18083 (yn_test_data): Likewise.
18084 (significand_test_data): Likewise.
18086 * math/gen-libm-test.pl (@functions): Remove variable.
18087 (generate_testfile): Don't handle START and END lines.
18088 * math/libm-test.inc (START): New macro.
18090 (END_COMPLEX): Likewise.
18091 (acos_test): Use END macro without arguments.
18092 (acos_test_tonearest): Likewise.
18093 (acos_test_towardzero): Likewise.
18094 (acos_test_downward): Likewise.
18095 (acos_test_upward): Likewise.
18096 (acosh_test): Likewise.
18097 (asin_test): Likewise.
18098 (asin_test_tonearest): Likewise.
18099 (asin_test_towardzero): Likewise.
18100 (asin_test_downward): Likewise.
18101 (asin_test_upward): Likewise.
18102 (asinh_test): Likewise.
18103 (atan_test): Likewise.
18104 (atanh_test): Likewise.
18105 (atan2_test): Likewise.
18106 (cabs_test): Likewise.
18107 (cacos_test): Use END_COMPLEX macro without arguments.
18108 (cacosh_test): Likewise.
18109 (carg_test): Use END macro without arguments.
18110 (casin_test): Use END_COMPLEX macro without arguments.
18111 (casinh_test): Likewise.
18112 (catan_test): Likewise.
18113 (catanh_test): Likewise.
18114 (cbrt_test): Use END macro without arguments.
18115 (ccos_test): Use END_COMPLEX macro without arguments.
18116 (ccosh_test): Likewise.
18117 (ceil_test): Use END macro without arguments.
18118 (cexp_test): Use END_COMPLEX macro without arguments.
18119 (cimag_test): Use END macro without arguments.
18120 (clog_test): Use END_COMPLEX macro without arguments.
18121 (clog10_test): Likewise.
18122 (conj_test): Likewise.
18123 (copysign_test): Use END macro without arguments.
18124 (cos_test): Likewise.
18125 (cos_test_tonearest): Likewise.
18126 (cos_test_towardzero): Likewise.
18127 (cos_test_downward): Likewise.
18128 (cos_test_upward): Likewise.
18129 (cosh_test): Likewise.
18130 (cosh_test_tonearest): Likewise.
18131 (cosh_test_towardzero): Likewise.
18132 (cosh_test_downward): Likewise.
18133 (cosh_test_upward): Likewise.
18134 (cpow_test): Use END_COMPLEX macro without arguments.
18135 (cproj_test): Likewise.
18136 (creal_test): Use END macro without arguments.
18137 (csin_test): Use END_COMPLEX macro without arguments.
18138 (csinh_test): Likewise.
18139 (csqrt_test): Likewise.
18140 (ctan_test): Likewise.
18141 (ctan_test_tonearest): Likewise.
18142 (ctan_test_towardzero): Likewise.
18143 (ctan_test_downward): Likewise.
18144 (ctan_test_upward): Likewise.
18145 (ctanh_test): Likewise.
18146 (ctanh_test_tonearest): Likewise.
18147 (ctanh_test_towardzero): Likewise.
18148 (ctanh_test_downward): Likewise.
18149 (ctanh_test_upward): Likewise.
18150 (erf_test): Use END macro without arguments.
18151 (erfc_test): Likewise.
18152 (exp_test): Likewise.
18153 (exp_test_tonearest): Likewise.
18154 (exp_test_towardzero): Likewise.
18155 (exp_test_downward): Likewise.
18156 (exp_test_upward): Likewise.
18157 (exp10_test): Likewise.
18158 (exp2_test): Likewise.
18159 (expm1_test): Likewise.
18160 (fabs_test): Likewise.
18161 (fdim_test): Likewise.
18162 (finite_test): Likewise.
18163 (floor_test): Likewise.
18164 (fma_test): Likewise.
18165 (fma_test_towardzero): Likewise.
18166 (fma_test_downward): Likewise.
18167 (fma_test_upward): Likewise.
18168 (fmax_test): Likewise.
18169 (fmin_test): Likewise.
18170 (fmod_test): Likewise.
18171 (fpclassify_test): Likewise.
18172 (frexp_test): Likewise.
18173 (gamma_test): Likewise.
18174 (hypot_test): Likewise.
18175 (ilogb_test): Likewise.
18176 (isfinite_test): Likewise.
18177 (isgreater_test): Likewise.
18178 (isgreaterequal_test): Likewise.
18179 (isinf_test): Likewise.
18180 (isless_test): Likewise.
18181 (islessequal_test): Likewise.
18182 (islessgreater_test): Likewise.
18183 (isnan_test): Likewise.
18184 (isnormal_test): Likewise.
18185 (issignaling_test): Likewise.
18186 (isunordered_test): Likewise.
18187 (j0_test): Likewise.
18188 (j1_test): Likewise.
18189 (jn_test): Likewise.
18190 (ldexp_test): Likewise.
18191 (lgamma_test): Likewise.
18192 (lrint_test): Likewise.
18193 (lrint_test_tonearest): Likewise.
18194 (lrint_test_towardzero): Likewise.
18195 (lrint_test_downward): Likewise.
18196 (lrint_test_upward): Likewise.
18197 (llrint_test): Likewise.
18198 (llrint_test_tonearest): Likewise.
18199 (llrint_test_towardzero): Likewise.
18200 (llrint_test_downward): Likewise.
18201 (llrint_test_upward): Likewise.
18202 (log_test): Likewise.
18203 (log10_test): Likewise.
18204 (log1p_test): Likewise.
18205 (log2_test): Likewise.
18206 (logb_test): Likewise.
18207 (logb_test_downward): Likewise.
18208 (lround_test): Likewise.
18209 (llround_test): Likewise.
18210 (modf_test): Likewise.
18211 (nearbyint_test): Likewise.
18212 (nextafter_test): Likewise.
18213 (nexttoward_test): Likewise.
18214 (pow_test): Likewise.
18215 (pow_test_tonearest): Likewise.
18216 (pow_test_towardzero): Likewise.
18217 (pow_test_downward): Likewise.
18218 (pow_test_upward): Likewise.
18219 (remainder_test): Likewise.
18220 (remainder_test_tonearest): Likewise.
18221 (remainder_test_towardzero): Likewise.
18222 (remainder_test_downward): Likewise.
18223 (remainder_test_upward): Likewise.
18224 (remquo_test): Likewise.
18225 (rint_test): Likewise.
18226 (rint_test_tonearest): Likewise.
18227 (rint_test_towardzero): Likewise.
18228 (rint_test_downward): Likewise.
18229 (rint_test_upward): Likewise.
18230 (round_test): Likewise.
18231 (scalb_test): Likewise.
18232 (scalbn_test): Likewise.
18233 (scalbln_test): Likewise.
18234 (signbit_test): Likewise.
18235 (sin_test): Likewise.
18236 (sin_test_tonearest): Likewise.
18237 (sin_test_towardzero): Likewise.
18238 (sin_test_downward): Likewise.
18239 (sin_test_upward): Likewise.
18240 (sincos_test): Likewise.
18241 (sinh_test): Likewise.
18242 (sinh_test_tonearest): Likewise.
18243 (sinh_test_towardzero): Likewise.
18244 (sinh_test_downward): Likewise.
18245 (sinh_test_upward): Likewise.
18246 (sqrt_test): Likewise.
18247 (tan_test): Likewise.
18248 (tan_test_tonearest): Likewise.
18249 (tan_test_towardzero): Likewise.
18250 (tan_test_downward): Likewise.
18251 (tan_test_upward): Likewise.
18252 (tanh_test): Likewise.
18253 (tgamma_test): Likewise.
18254 (trunc_test): Likewise.
18255 (y0_test): Likewise.
18256 (y1_test): Likewise.
18257 (yn_test): Likewise.
18258 (significand_test): Likewise.
18260 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18263 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18265 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18268 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18269 __ppc_mdoio and __ppc_mdoom.
18270 * manual/platform.texi: Document new functions __ppc_yield,
18271 __ppc_mdoio and __ppc_mdoom.
18273 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18275 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18276 (main): Mention "tls" pseudo-hwcap is legacy.
18277 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18279 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18281 * math/gen-libm-test.pl (parse_args): Output only string of
18282 arguments as text for test name, not full call or descriptions of
18283 tests for extra outputs.
18284 (generate_testfile): Do not pass function name to parse_args.
18285 Generate this_func variable from START.
18286 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18288 (struct test_ff_f_data): Likewise.
18289 (test_ff_f_data_nexttoward): Likewise.
18290 (struct test_fi_f_data): Likewise.
18291 (struct test_fl_f_data): Likewise.
18292 (struct test_if_f_data): Likewise.
18293 (struct test_fff_f_data): Likewise.
18294 (struct test_c_f_data): Likewise.
18295 (struct test_f_f1_data): Likewise. Remove field extra_name.
18296 (struct test_fF_f1_data): Likewise.
18297 (struct test_ffI_f1_data): Likewise.
18298 (struct test_c_c_data): Rename test_name field to arg_str.
18299 (struct test_cc_c_data): Likewise.
18300 (struct test_f_i_data): Likewise.
18301 (struct test_ff_i_data): Likewise.
18302 (struct test_f_l_data): Likewise.
18303 (struct test_f_L_data): Likewise.
18304 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18306 (COMMON_TEST_SETUP): New macro.
18307 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18308 (COMMON_TEST_CLEANUP): Likewise.
18309 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18310 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18312 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18313 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18315 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18316 (RUN_TEST_fff_f): Take argument string. Call new setup and
18318 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18319 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18321 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18322 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18324 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18325 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18327 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18328 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18330 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18331 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18333 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18334 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18336 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18337 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18339 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18340 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18342 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18343 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18345 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18346 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18348 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18349 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18351 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18352 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18354 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
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_f_L): Take argument string. Call new setup and cleanup
18360 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18361 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18363 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18365 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18367 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18368 to _sifields.sigfault.
18369 (si_addr_lsb): Define new macro.
18370 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18371 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18372 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18374 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18377 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18379 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18381 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18382 loading the domain.
18384 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18386 * math/gen-libm-test.pl (parse_args): Do not include expected
18387 result in test name.
18388 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18389 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18390 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18391 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18392 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18395 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18397 * benchtests/Makefile: Sort function entries.
18399 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18400 tanh, asinh, acosh, atanh.
18401 * benchtests/acos-inputs: New file.
18402 * benchtests/acosh-inputs: New file.
18403 * benchtests/asin-inputs: New file.
18404 * benchtests/asinh-inputs: New file.
18405 * benchtests/atanh-inputs: New file.
18406 * benchtests/cosh-inputs: New file.
18407 * benchtests/log-inputs: New file.
18408 * benchtests/sinh-inputs: New file.
18409 * benchtests/tanh-inputs: New file.
18411 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18414 * posix/tst-getaddrinfo4.c: New test.
18415 * posix/Makefile (tests): Add it.
18417 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18420 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18421 when no services were used.
18422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18423 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18425 2013-05-21 Andreas Schwab <schwab@suse.de>
18428 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18429 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18431 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18432 redundant variable declarations and reallocation of buffer when
18433 parsing as IPv6 address. Always set NSS status when called from
18434 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18435 buffer too small. Correct computation of needed size.
18436 * nss/Makefile (tests): Add test-digits-dots.
18437 * nss/test-digits-dots.c: New test.
18439 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18441 * benchtests/Makefile: Remove instructions for adding
18443 * benchtests/README: New file to explain how to execute and
18444 enhance the benchmark tests.
18446 2013-05-21 Andreas Schwab <schwab@suse.de>
18449 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18450 * setjmp/tst-sigsetjmp.c: New test.
18452 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18454 * sysdeps/x86_64/memset.S (memset): New implementation.
18455 (__bzero): Likewise.
18456 (__memset_tail): New function.
18458 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18460 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18461 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18462 __memcpy_sse2_unaligned ifunc selection.
18463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18464 Add memcpy-sse2-unaligned.S.
18465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18466 Add: __memcpy_sse2_unaligned.
18468 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18471 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18472 math_force_eval before restoring floating-point envrionment.
18473 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18474 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18476 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18478 (__nearbyintl): Use math_force_eval before restoring
18479 floating-point environment.
18480 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18482 * math/gen-libm-test.pl (special_functions): Remove.
18483 (parse_args): Don't handle TEST_extra. Handle functions with no
18485 * math/libm-test.inc (struct test_sincos_data): Replace with
18486 struct test_fFF_11_data.
18487 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18488 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18489 (sincos_test_data): Change element type to struct
18490 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18491 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18492 RUN_TEST_LOOP_sincos.
18493 * math/README.libm-test: Don't mention special handling of
18494 individual functions.
18495 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18496 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18497 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18498 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18499 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18502 * math/gen-libm-test.pl (get_variable): Remove function.
18503 (parse_args): Don't show pointer parameters to call in test
18504 names. Use "extra output N" in test names for extra outputs
18505 rather than naming variables.
18507 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18510 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18511 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18512 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18514 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18516 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18519 * math/gen-libm-test.pl (@tests): Remove variable.
18520 ($count): Likewise.
18521 (new_test): Remove function.
18522 (show_exceptions): New function.
18523 (special_functions): Use show_exceptions instead of new_test.
18524 (parse_args): Likewise.
18525 (generate_testfile): Pass only function name in generated call to
18526 print_max_error or print_complex_max_error.
18527 (get_ulps): Do not handle complex tests specially.
18528 (output_test): Rename to ...
18529 (get_all_ulps_for_test): ... this. Return a string rather than
18530 printing to a file. Require ulps to be present.
18531 (output_ulps): Generate arrays rather than #defines.
18532 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18533 (struct ulp_data): New type.
18534 (BUILD_COMPLEX_ULP): Remove macro.
18535 (compare_ulp_data): New function.
18536 (find_ulps): Likewise.
18537 (find_test_ulps): Likewise.
18538 (find_function_ulps): Likewise.
18539 (find_complex_function_ulps): Likewise.
18540 (print_max_error): Determine allowed ulps using
18541 find_function_ulps.
18542 (print_complex_max_error): Determine allowed ulps using
18543 find_complex_function_ulps.
18544 (check_float_internal): Determine max ulps using find_test_ulps.
18545 (check_float): Do not take max_ulp parameter. Update call to
18546 check_float_internal.
18547 (check_complex): Likewise.
18548 (check_int): Do not take max_ulp parameter.
18549 (check_long): Likewise.
18550 (check_bool): Likewise.
18551 (check_longlong): Likewise.
18552 (struct test_f_f_data): Remove max_ulp field.
18553 (struct test_ff_f_data): Likewise.
18554 (struct test_ff_f_data_nexttoward): Likewise.
18555 (struct test_fi_f_data): Likewise.
18556 (struct test_fl_f_data): Likewise.
18557 (struct test_if_f_data): Likewise.
18558 (struct test_fff_f_data): Likewise.
18559 (struct test_c_f_data): Likewise.
18560 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18561 (struct test_fF_f1_data): Likewise.
18562 (struct test_ffI_f1_data): Likewise.
18563 (struct test_c_c_data): Remove max_ulp field.
18564 (struct test_cc_c_data): Likewise.
18565 (struct test_f_i_data): Likewise.
18566 (struct test_ff_i_data): Likewise.
18567 (struct test_f_l_data): Likewise.
18568 (struct test_f_L_data): Likewise.
18569 (struct test_sincos_data): Likewise.
18570 (RUN_TEST_f_f): Do not handle ulps.
18571 (RUN_TEST_LOOP_f_f): Likewise.
18572 (RUN_TEST_2_f): Likewise.
18573 (RUN_TEST_LOOP_2_f): Likewise.
18574 (RUN_TEST_fff_f): Likewise.
18575 (RUN_TEST_LOOP_fff_f): Likewise.
18576 (RUN_TEST_c_f): Likewise.
18577 (RUN_TEST_LOOP_c_f): Likewise.
18578 (RUN_TEST_f_f1): Likewise.
18579 (RUN_TEST_LOOP_f_f1): Likewise.
18580 (RUN_TEST_fF_f1): Likewise.
18581 (RUN_TEST_LOOP_fF_f1): Likewise.
18582 (RUN_TEST_fI_f1): Likewise.
18583 (RUN_TEST_LOOP_fI_f1): Likewise.
18584 (RUN_TEST_ffI_f1): Likewise.
18585 (RUN_TEST_LOOP_ffI_f1): Likewise.
18586 (RUN_TEST_c_c): Likewise.
18587 (RUN_TEST_LOOP_c_c): Likewise.
18588 (RUN_TEST_cc_c): Likewise.
18589 (RUN_TEST_LOOP_cc_c): Likewise.
18590 (RUN_TEST_f_i): Likewise.
18591 (RUN_TEST_LOOP_f_i): Likewise.
18592 (RUN_TEST_f_i_tg): Likewise.
18593 (RUN_TEST_LOOP_f_i_tg): Likewise.
18594 (RUN_TEST_ff_i_tg): Likewise.
18595 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18596 (RUN_TEST_f_b): Likewise.
18597 (RUN_TEST_LOOP_f_b): Likewise.
18598 (RUN_TEST_f_b_tg): Likewise.
18599 (RUN_TEST_LOOP_f_b_tg): Likewise.
18600 (RUN_TEST_f_l): Likewise.
18601 (RUN_TEST_LOOP_f_l): Likewise.
18602 (RUN_TEST_f_L): Likewise.
18603 (RUN_TEST_LOOP_f_L): Likewise.
18604 (RUN_TEST_sincos): Likewise.
18605 (RUN_TEST_LOOP_sincos): Likewise.
18607 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18611 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18612 main case of finite arguments, set rounding mode to FE_TONEAREST
18613 and discard exceptions.
18614 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18616 (remainder_tonearest_test_data): New variable.
18617 (remainder_test_tonearest): New function.
18618 (remainder_towardzero_test_data): New variable.
18619 (remainder_test_towardzero): New function.
18620 (remainder_downward_test_data): New variable.
18621 (remainder_test_downward): New function.
18622 (remainder_upward_test_data): New variable.
18623 (remainder_test_upward): New function.
18624 (main): Call the new test functions.
18626 * math/libm-test.inc (struct test_f_f1_data): Remove field
18628 (struct test_fF_f1_data): Likewise.
18629 (struct test_ffI_f1_data): Likewise.
18630 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18631 based on value of EXTRA_EXPECTED.
18632 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18633 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18634 EXTRA_VAR based on value of EXTRA_EXPECTED.
18635 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18636 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18637 EXTRA_VAR based on value of EXTRA_EXPECTED.
18638 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18639 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18640 EXTRA_VAR based on value of EXTRA_EXPECTED.
18641 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18642 * math/gen-libm-test.pl (parse_args): Don't output initializers
18643 for extra output values.
18645 * math/libm-test.inc (check_int): Expect result to be exactly
18646 equal to expected value and do not handle ulps.
18647 (check_long): Likewise.
18648 (check_longlong): Likewise.
18650 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18652 (cimag_test_data): Likewise.
18653 (conj_test_data): Likewise.
18654 (copysign_test_data): Likewise.
18655 (cproj_test_data): Likewise.
18656 (creal_test_data): Likewise.
18657 (fabs_test_data): Likewise.
18658 (fdim_test_data): Likewise.
18659 (finite_test_data): Likewise.
18660 (floor_test_data): Likewise.
18661 (fmax_test_data): Likewise.
18662 (fmin_test_data): Likewise.
18663 (fmod_test_data): Likewise.
18664 (fpclassify_test_data): Likewise.
18665 (frexp_test_data): Likewise.
18666 (ilogb_test_data): Likewise.
18667 (isfinite_test_data): Likewise.
18668 (isgreater_test_data): Likewise.
18669 (isgreaterequal_test_data): Likewise.
18670 (isinf_test_data): Likewise.
18671 (isless_test_data): Likewise.
18672 (islessequal_test_data): Likewise.
18673 (islessgreater_test_data): Likewise.
18674 (isnan_test_data): Likewise.
18675 (isnormal_test_data): Likewise.
18676 (issignaling_test_data): Likewise.
18677 (isunordered_test_data): Likewise.
18678 (ldexp_test_data): Likewise.
18679 (lrint_test_data): Likewise.
18680 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18681 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18682 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18683 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18684 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18685 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18687 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18688 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18689 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18690 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18692 (lrint_downward_test_data): Test for "inexact" exceptions.
18693 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18694 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18695 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18697 (lrint_upward_test_data): Test for "inexact" exceptions.
18698 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18700 (llrint_test_data): Test for "inexact" exceptions.
18701 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18702 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18703 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18704 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18705 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18706 (llrint_downward_test_data): Test for "inexact" exceptions.
18707 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18708 (llrint_upward_test_data): Test for "inexact" exceptions.
18709 (logb_test_data): Likewise.
18710 (logb_downward_test_data): Likewise.
18711 (nextafter_test_data): Likewise.
18712 (nexttoward_test_data): Likewise.
18713 (remainder_test_data): Likewise.
18714 (remquo_test_data): Likewise.
18715 (scalbn_test_data): Likewise.
18716 (scalbln_test_data): Likewise.
18717 (signbit_test_data): Likewise.
18718 (sqrt_test_data): Likewise.
18719 (significand_test_data): Likewise.
18721 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18724 * benchtests/bench-modf.c (struct args): Mark arg0 as
18726 * scripts/bench.pl: Mark members of struct args as volatile.
18728 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18731 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18732 negative infinity on POWER6 or lower.
18733 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18735 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18738 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18739 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18740 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18741 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18742 (_FP_SETQNAN): New macro.
18743 (_FP_SETQNAN_SEMIRAW): Likewise.
18744 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18745 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18746 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18747 (FP_EXTEND): Use _FP_FRAC_SNANP.
18748 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18749 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18751 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18753 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18756 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18758 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18759 with DIVIDE_BY_ZERO_EXCEPTION.
18760 (gamma_test_data): Likewise.
18761 (lgamma_test_data): Likewise.
18762 (log_test_data): Likewise.
18763 (log10_test_data): Likewise.
18764 (log2_test_data): Likewise.
18765 (tgamma_test_data): Likewise.
18767 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18768 (acos_test_tonearest): Likewise.
18769 (acos_test_towardzero): Likewise.
18770 (acos_test_downward): Likewise.
18771 (acos_test_upward): Likewise.
18772 (acosh_test): Likewise.
18773 (asin_test): Likewise.
18774 (asin_test_tonearest): Likewise.
18775 (asin_test_towardzero): Likewise.
18776 (asin_test_downward): Likewise.
18777 (asin_test_upward): Likewise.
18778 (asinh_test): Likewise.
18779 (atan_test): Likewise.
18780 (atanh_test): Likewise.
18781 (atan2_test): Likewise.
18782 (cabs_test): Likewise.
18783 (cacos_test): Likewise.
18784 (cacosh_test): Likewise.
18785 (casin_test): Likewise.
18786 (casinh_test): Likewise.
18787 (catan_test): Likewise.
18788 (catanh_test): Likewise.
18789 (cbrt_test): Likewise.
18790 (ccos_test): Likewise.
18791 (ccosh_test): Likewise.
18792 (cexp_test): Likewise.
18793 (clog_test): Likewise.
18794 (clog10_test): Likewise.
18795 (cos_test): Likewise.
18796 (cos_test_tonearest): Likewise.
18797 (cos_test_towardzero): Likewise.
18798 (cos_test_downward): Likewise.
18799 (cos_test_upward): Likewise.
18800 (cosh_test): Likewise.
18801 (cosh_test_tonearest): Likewise.
18802 (cosh_test_towardzero): Likewise.
18803 (cosh_test_downward): Likewise.
18804 (cosh_test_upward): Likewise.
18805 (cpow_test): Likewise.
18806 (csin_test): Likewise.
18807 (csinh_test): Likewise.
18808 (csqrt_test): Likewise.
18809 (ctan_test): Likewise.
18810 (ctan_test_tonearest): Likewise.
18811 (ctan_test_towardzero): Likewise.
18812 (ctan_test_downward): Likewise.
18813 (ctan_test_upward): Likewise.
18814 (ctanh_test): Likewise.
18815 (ctanh_test_tonearest): Likewise.
18816 (ctanh_test_towardzero): Likewise.
18817 (ctanh_test_downward): Likewise.
18818 (ctanh_test_upward): Likewise.
18819 (erf_test): Likewise.
18820 (erfc_test): Likewise.
18821 (exp_test): Likewise.
18822 (exp_test_tonearest): Likewise.
18823 (exp_test_towardzero): Likewise.
18824 (exp_test_downward): Likewise.
18825 (exp_test_upward): Likewise.
18826 (exp10_test): Likewise.
18827 (exp2_test): Likewise.
18828 (expm1_test): Likewise.
18829 (fmod_test): Likewise.
18830 (gamma_test): Likewise.
18831 (hypot_test): Likewise.
18832 (j0_test): Likewise.
18833 (j1_test): Likewise.
18834 (jn_test): Likewise.
18835 (lgamma_test): Likewise.
18836 (log_test): Likewise.
18837 (log10_test): Likewise.
18838 (log1p_test): Likewise.
18839 (log2_test): Likewise.
18840 (logb_test_downward): Likewise.
18841 (pow_test): Likewise.
18842 (pow_test_tonearest): Likewise.
18843 (pow_test_towardzero): Likewise.
18844 (pow_test_downward): Likewise.
18845 (pow_test_upward): Likewise.
18846 (remainder_test): Likewise.
18847 (remquo_test): Likewise.
18848 (sin_test): Likewise.
18849 (sin_test_tonearest): Likewise.
18850 (sin_test_towardzero): Likewise.
18851 (sin_test_downward): Likewise.
18852 (sin_test_upward): Likewise.
18853 (sincos_test): Likewise.
18854 (sinh_test): Likewise.
18855 (sinh_test_tonearest): Likewise.
18856 (sinh_test_towardzero): Likewise.
18857 (sinh_test_downward): Likewise.
18858 (sinh_test_upward): Likewise.
18859 (sqrt_test): Likewise.
18860 (tan_test): Likewise.
18861 (tan_test_tonearest): Likewise.
18862 (tan_test_towardzero): Likewise.
18863 (tan_test_downward): Likewise.
18864 (tan_test_upward): Likewise.
18865 (tanh_test): Likewise.
18866 (tgamma_test): Likewise.
18867 (y0_test): Likewise.
18868 (y1_test): Likewise.
18869 (yn_test): Likewise.
18871 * math/gen-libm-test.pl (adjust_arg): Remove function.
18872 (special_function): Remove argument $in_func. Only handle
18873 generating output for tables of tests, not inside functions.
18874 (parse_args): Likewise.
18875 (generate_testfile): Remove variable $in_func. Update call to
18877 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18878 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18879 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18880 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18881 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18882 (MAX_VALUE_INIT): Rename macro to max_value.
18883 (MIN_VALUE_INIT): Rename macro to min_value.
18884 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18885 (plus_zero): Remove variable.
18886 (minus_zero): Likewise.
18887 (plus_infty): Likewise.
18888 (minus_infty): Likewise.
18889 (qnan_value): Likewise.
18890 (max_value): Likewise.
18891 (min_value): Likewise.
18892 (min_subnorm_value): Likewise.
18894 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18896 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18897 uint64_t or uint32_t usage.
18898 * crypt/sha256-block.c: Likewise.
18899 * crypt/sha256-crypt.c: Likewise.
18900 * crypt/sha256.c: Likewise.
18901 * crypt/sha512-block.c: Likewise.
18902 * crypt/sha512-crypt.c: Likewise.
18903 * crypt/sha512.c: Likewise.
18904 * debug/backtrace-tst.c: Likewise.
18905 * debug/pcprofiledump.c: Likewise.
18906 * elf/cache.c: Likewise.
18907 * elf/dl-cache.c: Likewise.
18908 * elf/dl-misc.c: Likewise.
18909 * elf/dl-profile.c: Likewise.
18910 * elf/dl-support.c: Likewise.
18911 * elf/ldconfig.c: Likewise.
18912 * elf/sprof.c: Likewise.
18913 * iconv/dummy-repertoire.c: Likewise.
18914 * iconv/iconv_charmap.c: Likewise.
18915 * iconv/skeleton.c: Likewise.
18916 * iconvdata/8bit-generic.c: Likewise.
18917 * iconvdata/cp737.h: Likewise.
18918 * iconvdata/cp775.h: Likewise.
18919 * iconvdata/ibm1008.h: Likewise.
18920 * iconvdata/ibm1025.h: Likewise.
18921 * iconvdata/ibm1046.h: Likewise.
18922 * iconvdata/ibm1097.h: Likewise.
18923 * iconvdata/ibm1112.h: Likewise.
18924 * iconvdata/ibm1122.h: Likewise.
18925 * iconvdata/ibm1123.h: Likewise.
18926 * iconvdata/ibm1124.h: Likewise.
18927 * iconvdata/ibm1129.h: Likewise.
18928 * iconvdata/ibm1130.h: Likewise.
18929 * iconvdata/ibm1132.h: Likewise.
18930 * iconvdata/ibm1133.h: Likewise.
18931 * iconvdata/ibm1137.h: Likewise.
18932 * iconvdata/ibm1140.h: Likewise.
18933 * iconvdata/ibm1141.h: Likewise.
18934 * iconvdata/ibm1142.h: Likewise.
18935 * iconvdata/ibm1143.h: Likewise.
18936 * iconvdata/ibm1144.h: Likewise.
18937 * iconvdata/ibm1145.h: Likewise.
18938 * iconvdata/ibm1146.h: Likewise.
18939 * iconvdata/ibm1147.h: Likewise.
18940 * iconvdata/ibm1148.h: Likewise.
18941 * iconvdata/ibm1149.h: Likewise.
18942 * iconvdata/ibm1153.h: Likewise.
18943 * iconvdata/ibm1154.h: Likewise.
18944 * iconvdata/ibm1155.h: Likewise.
18945 * iconvdata/ibm1156.h: Likewise.
18946 * iconvdata/ibm1157.h: Likewise.
18947 * iconvdata/ibm1158.h: Likewise.
18948 * iconvdata/ibm1160.h: Likewise.
18949 * iconvdata/ibm1161.h: Likewise.
18950 * iconvdata/ibm1162.h: Likewise.
18951 * iconvdata/ibm1163.h: Likewise.
18952 * iconvdata/ibm1164.h: Likewise.
18953 * iconvdata/ibm1166.h: Likewise.
18954 * iconvdata/ibm1167.h: Likewise.
18955 * iconvdata/ibm12712.h: Likewise.
18956 * iconvdata/ibm1390.h: Likewise.
18957 * iconvdata/ibm1399.h: Likewise.
18958 * iconvdata/ibm16804.h: Likewise.
18959 * iconvdata/ibm4517.h: Likewise.
18960 * iconvdata/ibm4899.h: Likewise.
18961 * iconvdata/ibm4909.h: Likewise.
18962 * iconvdata/ibm4971.h: Likewise.
18963 * iconvdata/ibm5347.h: Likewise.
18964 * iconvdata/ibm803.h: Likewise.
18965 * iconvdata/ibm856.h: Likewise.
18966 * iconvdata/ibm901.h: Likewise.
18967 * iconvdata/ibm902.h: Likewise.
18968 * iconvdata/ibm9030.h: Likewise.
18969 * iconvdata/ibm9066.h: Likewise.
18970 * iconvdata/ibm921.h: Likewise.
18971 * iconvdata/ibm922.h: Likewise.
18972 * iconvdata/ibm9448.h: Likewise.
18973 * iconvdata/isiri-3342.h: Likewise.
18974 * iconvdata/jis0201.h: Likewise.
18975 * include/link.h: Likewise.
18976 * include/netdb.h: Likewise.
18977 * inet/check_native.c: Likewise.
18978 * inet/check_pf.c: Likewise.
18979 * inet/getipv4sourcefilter.c: Likewise.
18980 * inet/getnameinfo.c: Likewise.
18981 * inet/getsourcefilter.c: Likewise.
18982 * inet/htonl.c: Likewise.
18983 * inet/setipv4sourcefilter.c: Likewise.
18984 * inet/setsourcefilter.c: Likewise.
18985 * inet/test-inet6_opt.c: Likewise.
18986 * inet/tst-network.c: Likewise.
18987 * locale/C-collate.c: Likewise.
18988 * locale/C-ctype.c: Likewise.
18989 * locale/C-time.c: Likewise.
18990 * locale/C-translit.h: Likewise.
18991 * locale/loadarchive.c: Likewise.
18992 * locale/programs/3level.h: Likewise.
18993 * locale/programs/charmap.c: Likewise.
18994 * locale/programs/charmap.h: Likewise.
18995 * locale/programs/ld-address.c: Likewise.
18996 * locale/programs/ld-collate.c: Likewise.
18997 * locale/programs/ld-ctype.c: Likewise.
18998 * locale/programs/ld-identification.c: Likewise.
18999 * locale/programs/ld-measurement.c: Likewise.
19000 * locale/programs/ld-messages.c: Likewise.
19001 * locale/programs/ld-monetary.c: Likewise.
19002 * locale/programs/ld-name.c: Likewise.
19003 * locale/programs/ld-numeric.c: Likewise.
19004 * locale/programs/ld-paper.c: Likewise.
19005 * locale/programs/ld-telephone.c: Likewise.
19006 * locale/programs/ld-time.c: Likewise.
19007 * locale/programs/linereader.c: Likewise.
19008 * locale/programs/locale.c: Likewise.
19009 * locale/programs/locarchive.c: Likewise.
19010 * locale/programs/locfile.h: Likewise.
19011 * locale/programs/repertoire.c: Likewise.
19012 * locale/programs/simple-hash.c: Likewise.
19013 * locale/programs/simple-hash.h: Likewise.
19014 * malloc/memusage.c: Likewise.
19015 * malloc/memusagestat.c: Likewise.
19016 * nis/nis_defaults.c: Likewise.
19017 * nis/nis_hash.c: Likewise.
19018 * nis/nis_print.c: Likewise.
19019 * nis/nis_xdr.c: Likewise.
19020 * nscd/connections.c: Likewise.
19021 * nscd/hstcache.c: Likewise.
19022 * nscd/nscd_gethst_r.c: Likewise.
19023 * nscd/nscd_getserv_r.c: Likewise.
19024 * nscd/nscd_helper.c: Likewise.
19025 * nscd/servicescache.c: Likewise.
19026 * nss/makedb.c: Likewise.
19027 * nss/nss_db/db-XXX.c: Likewise.
19028 * nss/nss_db/db-initgroups.c: Likewise.
19029 * nss/nss_db/db-netgrp.c: Likewise.
19030 * nss/nss_files/files-network.c: Likewise.
19031 * nss/nss_files/files-parse.c: Likewise.
19032 * posix/bug-regex5.c: Likewise.
19033 * posix/fnmatch_loop.c: Likewise.
19034 * posix/regcomp.c: Likewise.
19035 * posix/regexec.c: Likewise.
19036 * posix/tst-rfc3484-2.c: Likewise.
19037 * posix/tst-rfc3484-3.c: Likewise.
19038 * posix/tst-rfc3484.c: Likewise.
19039 * resolv/nss_dns/dns-canon.c: Likewise.
19040 * resolv/nss_dns/dns-network.c: Likewise.
19041 * resolv/res_init.c: Likewise.
19042 * resolv/res_mkquery.c: Likewise.
19043 * resolv/tst-aton.c: Likewise.
19044 * stdlib/cxa_atexit.c: Likewise.
19045 * stdlib/cxa_finalize.c: Likewise.
19046 * stdlib/gen-fpioconst.c: Likewise.
19047 * stdlib/strtol_l.c: Likewise.
19048 * string/tst-endian.c: Likewise.
19049 * sunrpc/auth_des.c: Likewise.
19050 * sunrpc/clnt_udp.c: Likewise.
19051 * sunrpc/rtime.c: Likewise.
19052 * sunrpc/svcauth_des.c: Likewise.
19053 * sunrpc/xdr.c: Likewise.
19054 * sunrpc/xdr_intXX_t.c: Likewise.
19055 * sunrpc/xdr_rec.c: Likewise.
19056 * sysdeps/generic/ldconfig.h: Likewise.
19057 * sysdeps/generic/ldsodefs.h: Likewise.
19058 * sysdeps/generic/memusage.h: Likewise.
19059 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19060 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19061 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19062 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19063 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19064 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19065 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19066 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19067 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19068 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19069 * sysdeps/posix/getaddrinfo.c: Likewise.
19070 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19071 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19072 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19073 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19074 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19075 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19076 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19077 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19078 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19079 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19080 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19081 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19082 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19083 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19084 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19085 * sysdeps/x86_64/dl-tls.h: Likewise.
19086 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19087 * time/alt_digit.c: Likewise.
19088 * time/era.c: Likewise.
19089 * wcsmbs/tst-c16c32-1.c: Likewise.
19091 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19093 * math/libm-test.inc (struct test_sincos_data): New type.
19094 (RUN_TEST_LOOP_sincos): New macro.
19095 (sincos_test_data): New variable.
19096 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19098 2013-05-16 Richard Henderson <rth@redhat.com>
19100 * math/atest-exp2.c (LIMB64): New macro.
19101 (CONSTSZ): New macro.
19102 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19104 (print_mpn_fp): ... to function scope.
19105 (read_mpn_hex): Remove.
19106 (get_log2): Remove.
19107 (exp2_mpn): Use mp_log2.
19108 (main): Use mp_exp1.
19110 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19112 * math/libm-test.inc: Remove comment about not testing "inexact"
19114 (INEXACT_EXCEPTION): New macro.
19115 (NO_INEXACT_EXCEPTION): Likewise.
19116 (INVALID_EXCEPTION_OK): Update value.
19117 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19118 (OVERFLOW_EXCEPTION_OK): Likewise.
19119 (UNDERFLOW_EXCEPTION_OK): Likewise.
19120 (IGNORE_ZERO_INF_SIGN): Likewise.
19121 (ERRNO_UNCHANGED): Likewise.
19122 (ERRNO_EDOM): Likewise.
19123 (ERRNO_ERANGE): Likewise.
19124 (test_exceptions): Handle testing "inexact" exceptions.
19125 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19126 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19127 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19128 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19130 (rint_towardzero_test_data): Likewise.
19131 (rint_downward_test_data): Likewise.
19132 (rint_upward_test_data): Likewise.
19134 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19135 with OVERFLOW_EXCEPTION.
19136 (exp10_test_data): Likewise.
19137 (exp2_test_data): Likewise.
19138 (expm1_test_data): Likewise.
19139 (lgamma_test_data): Likewise.
19140 (pow_test_data): Likewise.
19141 (tgamma_test_data): Likewise.
19142 (yn_test_data): Remove duplicate test of overflow.
19144 * math/libm-test.inc (struct test_cc_c_data): New type.
19145 (RUN_TEST_LOOP_cc_c): New macro.
19146 (cpow_test_data): New variable.
19147 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19149 * math/libm-test.inc (struct test_f_L_data): New type.
19150 (RUN_TEST_LOOP_f_L): New macro.
19151 (llrint_test_data): New variable.
19152 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19153 (llrint_tonearest_test_data): New variable.
19154 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19155 (llrint_towardzero_test_data): New variable.
19156 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19157 (llrint_downward_test_data): New variable.
19158 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19159 (llrint_upward_test_data): New variable.
19160 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19161 (llround_test_data): New variable.
19162 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19164 2013-05-13 Peter Collingbourne <pcc@google.com>
19166 * math/atest-exp2.c (get_log2): Remove const attribute.
19168 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19170 * math/libm-test.inc (struct test_f_l_data): New type.
19171 (RUN_TEST_LOOP_f_l): New macro.
19172 (lrint_test_data): New variable.
19173 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19174 (lrint_tonearest_test_data): New variable.
19175 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19176 (lrint_towardzero_test_data): New variable.
19177 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19178 (lrint_downward_test_data): New variable.
19179 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19180 (lrint_upward_test_data): New variable.
19181 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19182 (lround_test_data): New variable.
19183 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19185 2013-05-15 Peter Collingbourne <pcc@google.com>
19187 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19188 (EXTRACT_WORDS64) Use where appropriate.
19189 (INSERT_WORDS64) Likewise.
19191 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19192 constraints with x constraints.
19193 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19195 * malloc/obstack.c (_obstack_compat): Add initializer.
19197 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19199 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19200 si_trapno and add si_addr_lsb to _sifields.sigfault.
19201 (si_trapno): Remove macro.
19202 (si_addr_lsb): Define new macro.
19203 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19205 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19207 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19208 instead of TEST_f_l.
19209 (llrint_test_tonearest): Likewise.
19210 (llrint_test_towardzero): Likewise.
19211 (llrint_test_downward): Likewise.
19212 (llrint_test_upward): Likewise.
19213 (llround_test): Likewise.
19215 * math/libm-test.inc (struct test_f_i_data): Add comment.
19216 (RUN_TEST_LOOP_f_b): New macro.
19217 (RUN_TEST_LOOP_f_b_tg): Likewise.
19218 (finite_test_data): New variable.
19219 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19220 (isfinite_test_data): New variable.
19221 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19222 (isinf_test_data): New variable.
19223 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19224 (isnan_test_data): New variable.
19225 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19226 (isnormal_test_data): New variable.
19227 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19228 (issignaling_test_data): New variable.
19229 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19230 (signbit_test_data): New variable.
19231 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19233 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19234 with INVALID_EXCEPTION.
19235 (acosh_test_data): Likewise.
19236 (asin_test_data): Likewise.
19237 (atanh_test_data): Likewise.
19238 (fmod_test_data): Likewise.
19239 (log_test_data): Likewise.
19240 (log10_test_data): Likewise.
19241 (log2_test_data): Likewise.
19242 (pow_test_data): Likewise.
19243 (sqrt_test_data): Likewise.
19244 (y0_test_data): Likewise.
19245 (y1_test_data): Likewise.
19246 (yn_test_data): Likewise.
19248 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19251 * math/libm-test.inc (struct test_ff_i_data): New type.
19252 (RUN_TEST_LOOP_ff_i_tg): New macro.
19253 (isgreater_test_data): New variable.
19254 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19255 (isgreaterequal_test_data): New variable.
19256 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19257 (isless_test_data): New variable.
19258 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19259 (islessequal_test_data): New variable.
19260 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19261 (islessgreater_test_data): New variable.
19262 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19263 (isunordered_test_data): New variable.
19264 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19266 2013-05-14 David S. Miller <davem@davemloft.net>
19268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19270 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19272 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19274 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19276 (struct test_f_i_data): Change type of max_ulp to int.
19278 * math/libm-test.inc (test_ffI_f1_data): New type.
19279 (RUN_TEST_LOOP_ffI_f1): New macro.
19280 (remquo_test_data): New variable.
19281 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19283 * setjmp/tst-setjmp-fp.c: New file.
19284 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19285 (link-libm): New variable.
19286 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19288 * math/libm-test.inc (struct test_f_i_data): New type.
19289 (RUN_TEST_LOOP_f_i): New macro.
19290 (RUN_TEST_LOOP_f_i_tg): Likewise.
19291 (fpclassify_test_data): New variable.
19292 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19293 (ilogb_test_data): New variable.
19294 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19296 * math/libm-test.inc (scalbln_test): Correct function name in END
19299 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19300 (RUN_TEST_LOOP_fI_f1): New macro.
19301 (frexp_test_data): New variable.
19302 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19304 * math/libm-test.inc (struct test_fF_f1_data): New type.
19305 (RUN_TEST_LOOP_fF_f1): New macro.
19306 (modf_test_data): New variable.
19307 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19309 * math/libm-test.inc (struct test_f_f1_data): New type.
19310 (RUN_TEST_LOOP_f_f1): New macro.
19311 (gamma_test_data): New variable.
19312 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19313 (lgamma_test_data): New variable.
19314 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19316 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19318 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19319 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19320 (main): Comment "tls" pseudo-hwcap.
19322 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19324 * math/libm-test.inc (struct test_fl_f_data): New type.
19325 (RUN_TEST_LOOP_fl_f): New variable.
19326 (scalbln_test_data): New variable.
19327 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19329 * math/libm-test.inc (struct test_fi_f_data): New type.
19330 (RUN_TEST_LOOP_fi_f): New macro.
19331 (ldexp_test_data): New variable.
19332 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19333 (scalbn_test_data): New variable.
19334 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19336 * math/libm-test.inc (struct test_c_f_data): New type.
19337 (RUN_TEST_LOOP_c_f): New macro.
19338 (cabs_test_data): New variable.
19339 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19340 (carg_test_data): New variable.
19341 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19342 (cimag_test_data): New variable.
19343 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19344 (creal_test_data): New variable.
19345 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19347 * math/libm-test.inc (struct test_if_f_data): New type.
19348 (RUN_TEST_LOOP_if_f): New macro.
19349 (jn_test_data): New variable.
19350 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19351 (yn_test_data): New variable.
19352 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19354 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19356 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19358 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19359 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19361 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19363 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19364 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19365 (bench-deps): Add bench-timing.h.
19366 * benchtests-bench-skeleton.c: Include bench-timing.h.
19367 (main): Use TIMING_* macros instead of clock_gettime.
19368 * benchtests/bench-timing.h: New file.
19371 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19372 Renamed from _LIB_VERSION.
19373 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19375 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19377 * math/libm-test.inc (struct test_fff_f_data): New type.
19378 (RUN_TEST_LOOP_fff_f): New macro.
19379 (fma_test_data): New variable.
19380 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19381 (fma_towardzero_test_data): New variable.
19382 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19383 (fma_downward_test_data): New variable.
19384 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19385 (fma_upward_test_data): New variable.
19386 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19388 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19389 (struct test_c_c_data): New type.
19390 (RUN_TEST_LOOP_c_c): New macro.
19391 (cacos_test_data): New variable.
19392 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19393 (cacosh_test_data): New variable.
19394 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19395 (casin_test_data): New variable.
19396 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19397 (casinh_test_data): New variable.
19398 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19399 (catan_test_data): New variable.
19400 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19401 (catanh_test_data): New variable.
19402 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19403 (ccos_test_data): New variable.
19404 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19405 (ccosh_test_data): New variable.
19406 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19407 (cexp_test_data): New variable.
19408 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19409 (clog_test_data): New variable.
19410 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19411 (clog10_test_data): New variable.
19412 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19413 (conj_test_data): New variable.
19414 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19415 (cproj_test_data): New variable.
19416 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19417 (csin_test_data): New variable.
19418 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19419 (csinh_test_data): New variable.
19420 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19421 (csqrt_test_data): New variable.
19422 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19423 (ctan_test_data): New variable.
19424 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19425 (ctan_tonearest_test_data): New variable.
19426 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19427 (ctan_towardzero_test_data): New variable.
19428 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19429 (ctan_downward_test_data): New variable.
19430 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19431 (ctan_upward_test_data): New variable.
19432 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19433 (ctanh_test_data): New variable.
19434 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19435 (ctanh_tonearest_test_data): New variable.
19436 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19437 (ctanh_towardzero_test_data): New variable.
19438 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19439 (ctanh_downward_test_data): New variable.
19440 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19441 (ctanh_upward_test_data): New variable.
19442 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19443 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19446 * math/libm-test.inc (struct test_ff_f_data): New type.
19447 (struct test_ff_f_data_nexttoward): Likewise.
19448 (RUN_TEST_LOOP_2_f): New macro.
19449 (RUN_TEST_LOOP_ff_f): Likewise.
19450 (atan2_test_data): New variable.
19451 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19452 (copysign_test_data): New variable.
19453 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19454 (fdim_test_data): New variable.
19455 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19456 (fmax_test_data): New variable.
19457 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19458 (fmin_test_data): New variable.
19459 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19460 (fmod_test_data): New variable.
19461 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19462 (hypot_test_data): New variable.
19463 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19464 (nextafter_test_data): New variable.
19465 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19466 (nexttoward_test_data): New variable.
19467 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19468 (pow_test_data): New variable.
19469 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19470 (pow_tonearest_test_data): New variable.
19471 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19472 (pow_towardzero_test_data): New variable.
19473 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19474 (pow_downward_test_data): New variable.
19475 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19476 (pow_upward_test_data): New variable.
19477 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19478 (remainder_test_data): New variable.
19479 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19480 (scalb_test_data): New variable.
19481 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19482 * sysdeps/i386/fpu/libm-test-ulps: Update.
19484 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19486 * math/libm-test.inc (fma_test): Use max_value instead of local
19488 (nextafter_test): Likewise.
19490 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19491 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19492 (acos_downward_test_data): New variable.
19493 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19494 (acos_upward_test_data): New variable.
19495 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19496 (acosh_test_data): New variable.
19497 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19498 (asin_test_data): New variable.
19499 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19500 (asin_tonearest_test_data): New variable.
19501 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19502 (asin_towardzero_test_data): New variable.
19503 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19504 (asin_downward_test_data): New variable.
19505 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19506 (asin_upward_test_data): New variable.
19507 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19508 (asinh_test_data): New variable.
19509 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19510 (atan_test_data): New variable.
19511 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19512 (atanh_test_data): New variable.
19513 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19514 (cbrt_test_data): New variable.
19515 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19516 (ceil_test_data): New variable.
19517 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19518 (cos_test_data): New variable.
19519 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19520 (cos_tonearest_test_data): New variable.
19521 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19522 (cos_towardzero_test_data): New variable.
19523 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19524 (cos_downward_test_data): New variable.
19525 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19526 (cos_upward_test_data): New variable.
19527 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19528 (cosh_test_data): New variable.
19529 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19530 (cosh_tonearest_test_data): New variable.
19531 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19532 (cosh_towardzero_test_data): New variable.
19533 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19534 (cosh_downward_test_data): New variable.
19535 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19536 (cosh_upward_test_data): New variable.
19537 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19538 (erf_test_data): New variable.
19539 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19540 (erfc_test_data): New variable.
19541 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19542 (exp_test_data): New variable.
19543 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19544 (exp_tonearest_test_data): New variable.
19545 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19546 (exp_towardzero_test_data): New variable.
19547 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19548 (exp_downward_test_data): New variable.
19549 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19550 (exp_upward_test_data): New variable.
19551 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19552 (exp10_test_data): New variable.
19553 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19554 (exp2_test_data): New variable.
19555 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19556 (expm1_test_data): New variable.
19557 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19558 (fabs_test_data): New variable.
19559 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19560 (floor_test_data): New variable.
19561 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19562 (j0_test_data): New variable.
19563 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19564 (j1_test_data): New variable.
19565 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19566 (log_test_data): New variable.
19567 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19568 (log10_test_data): New variable.
19569 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19570 (log1p_test_data): New variable.
19571 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19572 (log2_test_data): New variable.
19573 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19574 (logb_test_data): New variable.
19575 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19576 (logb_downward_test_data): New variable.
19577 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19578 (nearbyint_test_data): New variable.
19579 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19580 (rint_test_data): New variable.
19581 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19582 (rint_tonearest_test_data): New variable.
19583 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19584 (rint_towardzero_test_data): New variable.
19585 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19586 (rint_downward_test_data): New variable.
19587 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19588 (rint_upward_test_data): New variable.
19589 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19590 (round_test_data): New variable.
19591 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19592 (sin_test_data): New variable.
19593 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19594 (sin_tonearest_test_data): New variable.
19595 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19596 (sin_towardzero_test_data): New variable.
19597 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19598 (sin_downward_test_data): New variable.
19599 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19600 (sin_upward_test_data): New variable.
19601 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19602 (sinh_test_data): New variable.
19603 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19604 (sinh_tonearest_test_data): New variable.
19605 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19606 (sinh_towardzero_test_data): New variable.
19607 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19608 (sinh_downward_test_data): New variable.
19609 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19610 (sinh_upward_test_data): New variable.
19611 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19612 (sqrt_test_data): New variable.
19613 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19614 (tan_test_data): New variable.
19615 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19616 (tan_tonearest_test_data): New variable.
19617 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19618 (tan_towardzero_test_data): New variable.
19619 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19620 (tan_downward_test_data): New variable.
19621 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19622 (tan_upward_test_data): New variable.
19623 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19624 (tanh_test_data): New variable.
19625 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19626 (tgamma_test_data): New variable.
19627 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19628 (trunc_test_data): New variable.
19629 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19630 (y0_test_data): New variable.
19631 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19632 (y1_test_data): New variable.
19633 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19634 (significand_test_data): New variable.
19635 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19637 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19640 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19642 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19644 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19646 2013-05-10 Andreas Jaeger <aj@suse.de>
19649 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19650 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19652 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19654 * math/gen-libm-test.pl (adjust_arg): New function.
19655 (special_functions): Handle generating output in both functions
19657 (parse_args): Likewise.
19658 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19659 $in_func argument to parse_args.
19660 * math/libm-test.inc (struct test_f_f_data): New type.
19661 (IF_ROUND_INIT_): New macro.
19662 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19663 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19664 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19665 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19666 (ROUND_RESTORE_): Likewise.
19667 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19668 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19669 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19670 (ROUND_RESTORE_FE_UPWARD): Likewise.
19671 (RUN_TEST_LOOP_f_f): New macro.
19672 (acos_test_data): New variable.
19673 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19674 (acos_tonearest_test_data): New variable.
19675 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19677 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19679 * benchtests/bench-skeleton.c (startup): Fix coding style.
19681 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19684 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19685 negative infinity argument.
19686 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19687 negative infinity argument.
19688 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19689 negative infinity argument.
19690 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19693 2013-05-10 Florian Weimer <fweimer@redhat.com>
19695 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19696 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19697 * iconv/iconv_prog.c (main): Likewise.
19698 * locale/programs/charmap-dir.c (charmap_readdir)
19699 (fopen_uncompressed): Likewise.
19700 * locale/programs/locfile.c (siblings_uncached)
19701 (write_locale_data): Use lstat64 instead of lstat.
19702 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19705 2013-05-10 Andreas Jaeger <aj@suse.de>
19708 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19710 Include <locale.h>.
19712 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19714 * elf/dl-close.c (_dl_close_worker): Add comments.
19716 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19719 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19721 (__ieee754_rem_pio2l): Update comments.
19724 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19726 (__ieee754_rem_pio2l): Update comments.
19728 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19729 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19731 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19734 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19735 (M_PI_34_LOG10El): Likewise.
19736 (M_PI2_LOG10El): Likewise.
19737 (M_PI4_LOG10El): Likewise.
19738 (M_PI_LOG10El): Likewise.
19740 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19744 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19746 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19747 (MINUS_ZERO_INIT): Likewise.
19748 (PLUS_INFTY_INIT): Likewise.
19749 (MINUS_INFTY_INIT): Likewise.
19750 (QNAN_VALUE_INIT): Likewise.
19751 (MAX_VALUE_INIT): Likewise.
19752 (MIN_VALUE_INIT): Likewise.
19753 (MIN_SUBNORM_VALUE_INIT): Likewise.
19754 (plus_zero): Initialize with PLUS_ZERO_INIT.
19755 (minus_zero): Initialize with MINUS_ZERO_INIT.
19756 (plus_infty): Initialize with PLUS_INFTY_INIT.
19757 (minus_infty): Initialize with MINUS_INFTY_INIT.
19758 (qnan_value): Initialize with QNAN_VALUE_INIT.
19759 (max_value): Initialize with MAX_VALUE_INIT.
19760 (min_value): Initialize with MIN_VALUE_INIT.
19761 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19763 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19764 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19765 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19766 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19768 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19769 (RUN_TEST_2_f): Likewise.
19770 (RUN_TEST_ff_f): Likewise.
19771 (RUN_TEST_fi_f): Likewise.
19772 (RUN_TEST_fl_f): Likewise.
19773 (RUN_TEST_fff_f): Likewise.
19774 (RUN_TEST_c_f): Likewise.
19775 (RUN_TEST_f_f1): Likewise.
19776 (RUN_TEST_fF_f1): Likewise.
19777 (RUN_TEST_fI_f1): Likewise.
19778 (RUN_TEST_ffI_f1): Likewise.
19779 (RUN_TEST_c_c): Likewise.
19780 (RUN_TEST_cc_c): Likewise.
19781 (RUN_TEST_f_i): Likewise.
19782 (RUN_TEST_f_i_tg): Likewise.
19783 (RUN_TEST_ff_i_tg): Likewise.
19784 (RUN_TEST_f_b): Likewise.
19785 (RUN_TEST_f_b_tg): Likewise.
19786 (RUN_TEST_f_l): Likewise.
19787 (RUN_TEST_f_L): Likewise.
19788 (RUN_TEST_sincos): Likewise.
19789 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19790 whether to show exceptions. Do not include ");\n" in return
19792 (special_functions): Output call to RUN_TEST_sincos instead of
19793 check_float calls. Update calls to new_test.
19794 (parse_args): Output call to single RUN_TEST_* macro instead of
19795 check_* calls and other assignments. Update calls to new_test.
19801 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19802 input to result for tgamma overflow.
19803 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19804 (gamma_coeff): New variable.
19805 (NCOEFF): New macro.
19806 (gamma_positive): New function.
19807 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19808 underflow here. Use gamma_positive instead of exp (lgamma) for
19810 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19811 (gamma_coeff): New variable.
19812 (NCOEFF): New macro.
19813 (gammaf_positive): New function.
19814 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19815 underflow here. Use gamma_positive instead of exp (lgamma) for
19817 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19818 (gamma_coeff): New variable.
19819 (NCOEFF): New macro.
19820 (gammal_positive): New function.
19821 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19822 underflow here. Use gamma_positive instead of exp (lgamma) for
19824 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19825 (gamma_coeff): New variable.
19826 (NCOEFF): New macro.
19827 (gammal_positive): New function.
19828 (__ieee754_gammal_r): Handle positive infinity, overflow and
19829 underflow here. Handle NaN the same as positive infinity. Remove
19830 check x < 0xffffffff for negative integers. Use gamma_positive
19831 instead of exp (lgamma) for other arguments.
19832 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19833 (gamma_coeff): New variable.
19834 (NCOEFF): New macro.
19835 (gammal_positive): New function.
19836 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19837 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19838 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19839 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19840 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19841 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19842 * sysdeps/generic/math_private.h (__gamma_productf): New
19844 (__gamma_product): Likewise.
19845 (__gamma_productl): Likewise.
19846 * math/Makefile (libm-calls): Add gamma_product.
19847 * math/libm-test.inc (tgamma_test): Add more tests.
19848 * sysdeps/i386/fpu/libm-test-ulps: Update.
19849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19851 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19853 * benchtests/bench-skeleton.c (main): Preheat CPU.
19855 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19857 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19859 2013-05-07 Roland McGrath <roland@hack.frob.com>
19861 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19862 and _dl_skip_args_internal.
19864 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19866 * manual/message.texi (Message Translation): Talk about users.
19867 Message to key mapping impacts design.
19869 2013-05-06 Roland McGrath <roland@hack.frob.com>
19871 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19873 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19875 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19876 * sysdeps/wordsize-64/glob64.c: ... here.
19878 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19879 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19882 * debug/getlogin_r_chk.c: Moved to ...
19883 * login/getlogin_r_chk.c: ... here.
19884 * debug/Makefile (routines): Move getlogin_r_chk to ...
19885 * login/Makefile (routines): ... here.
19886 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19887 * login/Versions (libc: GLIBC_2.4): ... here.
19889 * io/poll.c (__poll): Renamed from poll.
19890 Add libc_hidden_def.
19891 (poll): Define as weak alias.
19893 * debug/ptsname_r_chk.c: Moved to ...
19894 * login/ptsname_r_chk.c: ... here.
19895 * debug/Makefile (routines): Move ptsname_r_chk to ...
19896 * login/Makefile (routines): ... here.
19897 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19898 * login/Versions (libc: GLIBC_2.4): ... here.
19900 * posix/getlogin.c: Moved to ...
19901 * login/getlogin.c: ... here.
19902 * posix/getlogin_r.c: Moved to ...
19903 * login/getlogin_r.c: ... here.
19904 * posix/getlogin_r.c: Moved to ...
19905 * login/getlogin_r.c: ... here.
19906 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19907 * login/Makefile (routines): ... here.
19908 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19909 * login/Versions (libc: GLIBC_2.0): ... here.
19911 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19912 (setrlimit): Define as weak alias.
19914 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19915 Call __ names for open, ftruncate, and close.
19916 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19917 (truncate): Define as weak alias.
19919 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19921 * math/gen-libm-test.pl (parse_args): Initialize x before each
19922 test of frexp, modf and remquo.
19924 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19925 test signgam value.
19927 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19931 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19933 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19935 2013-05-06 Roland McGrath <roland@hack.frob.com>
19937 * elf/dl-writev.h: New file.
19938 * elf/dl-misc.c: Include it.
19939 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19940 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19942 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19944 * math/libm-test.inc (noXFails): Remove variable.
19945 (noXPasses): Likewise.
19946 (BUILD_COMPLEX_INT): Remove macro.
19947 (print_screen): Remove xfail argument.
19948 (print_screen_max_error): Likewise.
19949 (update_stats): Likewise.
19950 (print_max_error): Likewise. Update calls to other affected
19952 (print_complex_max_error): Likewise.
19953 (test_single_exception): Update calls to print_screen.
19954 (test_single_errno): Likewise.
19955 (check_float_internal): Remove xfail argument. Update calls to
19956 other affected functions.
19957 (check_float): Likewise.
19958 (check_complex): Likewise.
19959 (check_int): Likewise.
19960 (check_long): Likewise.
19961 (check_bool): Likewise.
19962 (check_longlong): Likewise.
19963 (main): Don't print noXFails and noXPasses.
19964 * math/gen-libm-test.pl (top level): Don't mention expected
19965 failure handling in comment.
19966 (new_test): Don't handle expected failures.
19967 (parse_args): Don't mention expected failure handling in comment.
19968 (generate_testfile): Don't handle expected failures.
19969 (parse_ulps): Likewise.
19970 (print_ulps_file): Likewise.
19971 (get_failure): Remove function.
19972 (output_test): Don't handle expected failures.
19973 * make/README.libm-test: Don't mention expected failure handling.
19975 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19976 (minus_zero): Likewise.
19977 (plus_infty): Likewise.
19978 (minus_infty): Likewise.
19979 (qnan_value): Likewise.
19980 (max_value): Likewise.
19981 (min_value): Likewise.
19982 (min_subnorm_value): Likewise.
19983 (initialize): Do not initialize those variables dynamically.
19985 2013-05-03 Roland McGrath <roland@hack.frob.com>
19987 * io/open.c (__open_2): Moved to ...
19988 * io/open_2.c: ... this new file.
19989 * io/open64.c (__open64_2): Moved to ...
19990 * io/open64_2.c: ... this new file.
19991 * io/openat.c (__openat_2): Moved to ...
19992 * io/openat_2.c: ... this new file.
19993 * io/openat64.c (__openat64_2): Moved to ...
19994 * io/openat64_2.c: ... this new file.
19995 * io/Makefile (routines): Add them.
19996 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19997 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19998 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19999 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20000 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20001 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20002 (__openat64): Add hidden_ver.
20003 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20004 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20006 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20007 Separately conditionalize setting of GLRO(dl_sysinfo) so
20008 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20009 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20011 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20013 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20014 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20016 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20017 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20018 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20019 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20020 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20022 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20024 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20025 test signgam value.
20027 * math/libm-test.inc (hypot_test): Do not use
20028 IGNORE_ZERO_INF_SIGN.
20030 2013-05-03 Andreas Jaeger <aj@suse.de>
20032 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20034 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20035 (PF_MAX): Adjust for VSOCK change.
20037 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20041 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20044 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20045 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20046 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20048 2013-05-02 David S. Miller <davem@davemloft.net>
20050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20052 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20054 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20056 2013-05-01 Roland McGrath <roland@hack.frob.com>
20058 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20060 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20063 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20064 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20065 Use __attribute__ ((__gnu_inline__)).
20066 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20067 Don't use __attribute__ ((__gnu_inline__)).
20069 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20072 * math/s_catan.c (__catan): Handle small real or imaginary part of
20073 input specially to avoid spurious underflow.
20074 * math/s_catanf.c (__catanf): Likewise.
20075 * math/s_catanh.c (__catanh): Likewise.
20076 * math/s_catanhf.c (__catanhf): Likewise.
20077 * math/s_catanhl.c (__catanhl): Likewise.
20078 * math/s_catanl.c (__catanl): Likewise.
20079 * math/libm-test.inc (catan_test): Add more tests.
20080 (catanh_test): Likewise.
20081 * sysdeps/i386/fpu/libm-test-ulps: Update.
20082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20084 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20088 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20091 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20092 accurately for denominator in atan2.
20093 * math/s_catanf.c (__catanf): Likewise.
20094 * math/s_catanh.c (__catanh): Likewise.
20095 * math/s_catanhf.c (__catanhf): Likewise.
20096 * math/s_catanhl.c (__catanhl): Likewise.
20097 * math/s_catanl.c (__catanl): Likewise.
20098 * math/libm-test.inc (catan_test): Add more tests.
20099 (catanh_test): Likewise.
20100 * sysdeps/i386/fpu/libm-test-ulps: Update.
20101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20103 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20105 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20107 * benchtests/Makefile (bench): Remove slow benchmarks.
20108 * benchtests/atan-inputs: Add slow benchmark inputs.
20109 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20110 (BENCH_FUNC): Accept variant offset.
20112 * benchtests/bench-skeleton.c (main): Run benchmark for each
20114 * benchtests/cos-inputs: Add slow benchmark inputs.
20115 * benchtests/exp-inputs: Likewise.
20116 * benchtests/pow-inputs: Likewise.
20117 * benchtests/sin-inputs: Likewise.
20118 * benchtests/slowatan-inputs: Remove.
20119 * benchtests/slowatan.c: Remove.
20120 * benchtests/slowcos-inputs: Remove.
20121 * benchtests/slowcos.c: Remove.
20122 * benchtests/slowexp-inputs: Remove.
20123 * benchtests/slowexp.c: Remove.
20124 * benchtests/slowpow-inputs: Remove.
20125 * benchtests/slowpow.c: Remove.
20126 * benchtests/slowsin-inputs: Remove.
20127 * benchtests/slowsin.c: Remove.
20128 * benchtests/slowtan-inputs: Remove.
20129 * benchtests/slowtan.c: Remove.
20130 * benchtests/tan-inputs: Add slow benchmark inputs.
20131 * scripts/bench.pl: Parse comments and directives.
20133 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20135 ($(objpfx)bench-%.c): Remove *-ITER.
20136 * benchtests/bench-modf.c: Remove definition of ITER.
20137 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20138 (main): Loop for DURATION seconds instead of fixed number of
20140 * scripts/bench.pl: Don't expect iterations in parameters.
20142 2013-04-29 Roland McGrath <roland@hack.frob.com>
20144 * io/fchdir.c (__fchdir): Renamed from fchdir.
20145 (fchdir): Define as weak alias.
20147 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20149 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20150 (ERRNO_EDOM): Likewise.
20151 (ERRNO_ERANGE): Likewise.
20152 (noErrnoTests): New variable.
20153 (init_max_error): Set errno to 0.
20154 (test_single_errno): New function.
20155 (test_errno): Likewise.
20156 (check_float_internal): Call test_errno. Set errno to 0.
20157 (check_complex): Refer to errno tests in comment.
20158 (check_int): Call test_errno. Set errno to 0.
20159 (check_long): Likewise.
20160 (check_bool): Likewise.
20161 (check_longlong): Likewise.
20162 (cos_test): Use ERRNO_* flags for errno tests instead of
20164 (expm1_test): Likewise.
20165 (fmod_test): Likewise.
20166 (ilogb_test): Likewise.
20167 (lgamma_test): Likewise.
20168 (pow_test): Likewise.
20169 (remainder_test): Likewise.
20170 (sin_test): Likewise.
20171 (tan_test): Likewise.
20172 (yn_test): Likewise.
20173 (initialize): Set errno to 0.
20174 (main): Print number of errno tests.
20175 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20177 2013-04-29 Andreas Jaeger <aj@suse.de>
20180 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20184 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20185 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20189 * stdlib/random.c (__initstate): Return NULL if
20193 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20194 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20197 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20201 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20203 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20204 of individual tests.
20205 (casin_test): Likewise.
20206 (casinh_test): Likewise.
20208 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20211 * math/s_catan.c (__catan): Handle arguments with large real or
20212 imaginary part separately without squaring.
20213 * math/s_catanf.c (__catanf): Likewise.
20214 * math/s_catanh.c (__catanh): Likewise.
20215 * math/s_catanhf.c (__catanhf): Likewise.
20216 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20218 (__catanhl): Handle arguments with large real or imaginary part
20219 separately without squaring.
20220 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20222 (__catanl): Handle arguments with large real or imaginary part
20223 separately without squaring.
20224 * math/libm-test.inc (catan_test): Add more tests.
20225 (catanh_test): Likewise.
20226 * sysdeps/i386/fpu/libm-test-ulps: Update.
20227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20229 2013-04-27 Andreas Jaeger <aj@suse.de>
20232 * stdlib/stdlib.h: Update guards for qecvt.
20233 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20236 2013-04-27 Allan McRae <allan@archlinux.org>
20238 * sysdeps/i386/fpu/libm-test-ulps: Update.
20240 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20243 * math/s_catan.c: Include <float.h>.
20244 (__catan): Ensure underflow exception occurs for underflowed
20246 * math/s_catanf.c: Include <float.h>.
20247 (__catanf): Ensure underflow exception occurs for underflowed
20249 * math/s_catanh.c: Include <float.h>.
20250 (__catanh): Ensure underflow exception occurs for underflowed
20252 * math/s_catanhf.c: Include <float.h>.
20253 (__catanhf): Ensure underflow exception occurs for underflowed
20255 * math/s_catanhl.c: Include <float.h>.
20256 (__catanhl): Ensure underflow exception occurs for underflowed
20258 * math/s_catanl.c: Include <float.h>.
20259 (__catanl): Ensure underflow exception occurs for underflowed
20261 * math/libm-test.inc (catan_test): Add more tests.
20262 (catanh_test): Likewise.
20265 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20266 underflowed result.
20267 * math/s_ccoshf.c (__ccoshf): Likewise.
20268 * math/s_ccoshl.c (__ccoshl): Likewise.
20269 * math/s_csin.c (__csin): Likewise.
20270 * math/s_csinf.c (__csinf): Likewise.
20271 * math/s_csinh.c (__csinh): Likewise.
20272 * math/s_csinhf.c (__csinhf): Likewise.
20273 * math/s_csinhl.c (__csinhl): Likewise.
20274 * math/s_csinl.c (__csinl): Likewise.
20275 * math/libm-test.inc (ccos_test): Add more tests.
20276 (ccosh_test): Likewise.
20277 (csin_test): Likewise.
20278 (csinh_test): Likewise.
20280 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20282 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20283 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20284 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20285 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20286 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20287 powerpc/power5+/fpu folders.
20288 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20291 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20295 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20297 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20298 additions to variable.
20299 [$(config-machine) = x86_64] (modules-names): Likewise.
20300 ($(objpfx)tst-audit3): Remove dependency.
20301 ($(objpfx)tst-audit3.out): Likewise.
20302 ($(objpfx)tst-audit4): Likewise.
20303 ($(objpfx)tst-audit4.out): Likewise.
20304 ($(objpfx)tst-audit5): Likewise.
20305 ($(objpfx)tst-audit5.out): Likewise.
20306 ($(objpfx)tst-audit6): Likewise.
20307 ($(objpfx)tst-audit6.out): Likewise.
20308 ($(objpfx)tst-audit7): Likewise.
20309 ($(objpfx)tst-audit7.out): Likewise.
20310 (tst-audit3-ENV): Remove variable.
20311 (tst-audit4-ENV): Likewise.
20312 (tst-audit5-ENV): Likewise.
20313 (tst-audit6-ENV): Likewise.
20314 (tst-audit7-ENV): Likewise.
20315 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20316 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20317 addition to variable.
20318 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20319 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20320 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20321 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20322 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20323 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20324 tst-audit3, tst-audit4 and tst-audit5.
20325 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20326 tst-audit6 and tst-audit7.
20327 [$(subdir) = elf] (modules-names): Add audit modules for those
20329 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20330 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20331 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20332 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20333 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20334 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20335 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20336 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20337 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20338 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20339 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20340 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20341 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20342 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20343 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20344 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20346 [$(subdir) = elf && $(config-cflags-avx) = yes]
20347 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20348 [$(subdir) = elf && $(config-cflags-avx) = yes]
20349 (CFLAGS-tst-auditmod4a.c): Likewise.
20350 [$(subdir) = elf && $(config-cflags-avx) = yes]
20351 (CFLAGS-tst-auditmod4b.c): Likewise.
20352 [$(subdir) = elf && $(config-cflags-avx) = yes]
20353 (CFLAGS-tst-auditmod6b.c): Likewise.
20354 [$(subdir) = elf && $(config-cflags-avx) = yes]
20355 (CFLAGS-tst-auditmod6c.c): Likewise.
20356 [$(subdir) = elf && $(config-cflags-avx) = yes]
20357 (CFLAGS-tst-auditmod7b.c): Likewise.
20358 * elf/tst-audit3.c: Move to ...
20359 * sysdeps/x86_64/tst-audit3.c: ... here.
20360 * elf/tst-audit4.c: Move to ...
20361 * sysdeps/x86_64/tst-audit4.c: ... here.
20362 * elf/tst-audit5.c: Move to ...
20363 * sysdeps/x86_64/tst-audit5.c: ... here.
20364 * elf/tst-audit6.c: Move to ...
20365 * sysdeps/x86_64/tst-audit6.c: ... here.
20366 * elf/tst-audit7.c: Move to ...
20367 * sysdeps/x86_64/tst-audit7.c: ... here.
20368 * elf/tst-auditmod3a.c: Move to ...
20369 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20370 * elf/tst-auditmod3b.c: Move to ...
20371 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20372 * elf/tst-auditmod4a.c: Move to ...
20373 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20374 * elf/tst-auditmod4b.c: Move to ...
20375 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20376 * elf/tst-auditmod5a.c: Move to ...
20377 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20378 * elf/tst-auditmod5b.c: Move to ...
20379 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20380 * elf/tst-auditmod6a.c: Move to ...
20381 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20382 * elf/tst-auditmod6b.c: Move to ...
20383 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20384 * elf/tst-auditmod6c.c: Move to ...
20385 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20386 * elf/tst-auditmod7a.c: Move to ...
20387 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20388 * elf/tst-auditmod7b.c: Move to ...
20389 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20391 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20394 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20395 define unconditionally.
20396 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20397 define unconditionally.
20398 (INT8_C, INT16_C, etc.): Likewise.
20400 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20402 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20403 __ehdr_start with hidden visibility.
20405 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20407 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20409 * math/libm-test.inc (cos_test): Use accurate hex constants.
20410 (sincost_test): Likewise.
20412 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20414 * math/libm-test.inc (catan_test): Add more tests.
20415 (catanh_test): Likewise.
20417 * math/s_catanf.c (__catanf): Use suffixed floating-point
20419 * math/s_catanhf.c (__catanhf): Likewise.
20420 * math/s_catanhl.c (__catanhl): Likewise.
20421 * math/s_catanl.c (__catanl): Likewise.
20424 * math/s_catan.c (__catan): Calculate imaginary part of result
20425 with log1p not log unless computing log of number close to 0.
20426 * math/s_catanf.c (__catanf): Likewise.
20427 * math/s_catanl.c (__catanl): Likewise.
20428 * math/s_catanh.c (__catanh): Calculate real part of result with
20429 log1p not log unless computing log of number close to 0.
20430 * math/s_catanhf.c (__catanhf): Likewise.
20431 * math/s_catanhl.c (__catanhl): Likewise.
20432 * math/libm-test.inc (catan_test): Add more tests.
20433 (catanh_test): Likewise.
20434 * sysdeps/i386/fpu/libm-test-ulps: Update.
20435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20437 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20439 * benchtests/Makefile: Mention files in which fast and slow
20440 paths of math functions are implemented.
20442 2013-04-23 Roland McGrath <roland@hack.frob.com>
20444 * sysdeps/posix/timespec_get.c: New file.
20446 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20448 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20450 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20452 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20453 powerpc/power5/fpu folders.
20454 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20455 * benchtests/Makefile: Add modf testcase.
20456 * benchtests/bench-modf.c: New file: Benchmark test for mo
20458 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20461 * time/Makefile (tests): Add tst-strptime-whitespace.
20462 * time/strptime_l.c (get_number): Use ISSPACE.
20463 (__strptime_internal): Likewise.
20464 * time/tst-strptime-whitespace.c: New test case.
20466 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20468 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20470 (_nss_files_init): Set it here.
20472 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20474 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20475 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20478 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20480 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20482 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20487 2013-04-21 David S. Miller <davem@davemloft.net>
20489 * po/ru.po: Update Russion translation from translation project.
20491 2013-04-17 Adam Conrad <adconrad@0c3.net>
20493 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20496 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20498 * configure.in: Remove i386 configure warning. Remove i386 case.
20499 * configure: Regenerate.
20500 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20501 Add example to error message.
20502 * sysdeps/i386/configure: Regenerate.
20504 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20506 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20508 * benchtests/cos-inputs: New file.
20509 * benchtests/slowcos-inputs: New file.
20510 * benchtests/slowcos.c: New file.
20511 * benchtests/slowtan-inputs: New file.
20512 * benchtests/slowtan.c: New file.
20513 * benchtests/tan-inputs: New file.
20515 2013-04-16 Roland McGrath <roland@hack.frob.com>
20517 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20520 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20522 * benchtests/Makefile: Include cppflags-iterator.mk to add
20523 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20525 * Makefile.in (bench-clean): New target.
20526 * benchtests/Makefile (bench-clean): Likewise.
20528 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20530 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20532 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20534 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20536 2013-04-15 Andreas Schwab <schwab@suse.de>
20538 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20539 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20540 * nscd/pwdcache.c (cache_addpw): Likewise.
20541 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20544 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20546 * benchtests/Makefile (bench): Write all output to
20547 bench-out.tmp together.
20549 2013-04-15 Andreas Schwab <schwab@suse.de>
20551 * nscd/nscd.c (main): Don't fork again after closing files.
20553 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20555 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20557 * benchtests/Rules (bench-deps): Collect dependencies into a
20558 single variable. Add Makefile to dependencies.
20559 ($(objpfx)bench-%.c): Depend on bench-deps.
20561 2013-04-12 Roland McGrath <roland@hack.frob.com>
20562 Xavier Roche <roche+kml2@exalead.com>
20565 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20566 just that it's a file descriptor.
20567 * manual/llio.texi (Synchronizing AIO Operations): Update description
20568 for EBADF error from aio_fsync.
20570 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20572 * Rules (bench): Move target definition...
20573 * benchtests/Makefile: ... here.
20575 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20577 * math/libm-test.inc (cos_test): Fix PI/2 test.
20578 (sincos_test): Likewise.
20579 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20580 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20582 2013-04-11 Andreas Schwab <schwab@suse.de>
20585 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20586 accept exponent character only when digits were seen.
20587 * stdio-common/Makefile (tests): Add bug26.
20588 * stdio-common/bug26.c: New file.
20591 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20594 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20596 * Makeconfig (rtld-prefix): Define built linker prefix.
20597 * Rules (run-bench): Use it.
20598 * math/Makefile (run-regen-ulps): Likewise.
20600 * Rules (bench): Remove eval.
20602 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20603 Roland McGrath <roland@hack.frob.com>
20604 Ondrej Bilka <neleai@seznam.cz>
20607 * time/getdate.c: Include ctype.h and alloca.h.
20608 (__getdate_r): Trim leading and trailing spaces of input.
20609 * time/tst-getdate.c (tests): Add tests with leading and
20612 2013-04-08 Roland McGrath <roland@hack.frob.com>
20615 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20616 when computing value.
20618 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20620 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20621 Use testrun.sh to run libm tests.
20624 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20626 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20629 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20631 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20633 * Makefile.in (regen-ulps): New target.
20634 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20635 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20636 [ifneq (no,$(PERL)] (regen-ulps): New target.
20637 [ifeq (no,$(PERL)] (regen-ulps): New target.
20638 * math/libm-test.inc (ulps_file_name): Define.
20639 (output_dir): New variable.
20640 (options): Add "output-dir" option.
20641 (parse_opt): Handle 'o' case.
20642 (main): If output_dir is non-NULL use it as a prefix
20644 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20646 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20648 [BZ #10060, #10062]
20649 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20650 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20651 fail configure if __sync_val_compare_and_swap is not inlined.
20652 * sysdeps/i386/configure: Regenerate.
20653 * configure.in: Build for i686 when configured for i386.
20654 * configure: Regenerate.
20655 * README: Remove i386 reference.
20657 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20659 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20660 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20662 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20664 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20665 (lmsnanval): New variables.
20666 (F): Add conversion tests.
20667 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20668 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20670 * stdio-common/tstdiomisc.c (F): Properly collect individual
20673 [BZ #14686, #15336]
20674 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20675 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20676 Instead, use input NaN values or generate a qNaN by arithmetic
20677 operation. Also fix bugs to comply with the standard.
20678 * math/libm-test.inc (remainder_test): Add more tests.
20680 [BZ #15335, #15342]
20681 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20682 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20683 input NaN values or generate a qNaN by arithmetic operation.
20685 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20688 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20691 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20694 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20695 underflowed result.
20696 * math/s_cexpf.c (__cexpf): Likewise.
20697 * math/s_cexpl.c (__cexpl): Likewise.
20698 * math/libm-test.inc (cexp_test): Add more tests.
20700 2013-04-03 Andreas Schwab <schwab@suse.de>
20703 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20704 order arrays from heap if bigger than alloca cutoff.
20706 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20708 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20709 (SNAN_TESTS_double): Refer to GCC PR56831.
20710 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20713 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20715 * Rules (bench): Move bench.out after the run is complete.
20717 * Rules (bench): Echo currently running benchmark.
20719 * benchtests/Makefile (bench): Add atan and slowatan.
20720 * benchtests/atan-inputs: New file.
20721 * benchtests/slowatan-inputs: New file.
20722 * benchtests/slowatan.c: New file.
20724 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20725 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20729 * sysdeps/unix/sysv/linux/kernel-features.h
20730 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20731 __ASSUME_XFS_RESTRICTED_CHOWN.
20732 * sysdeps/unix/sysv/linux/pathconf.c
20733 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20734 Save and restore errno.
20736 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20739 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20740 arguments using __kernel_casinh.
20741 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20742 arguments using __kernel_casinhf.
20743 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20744 arguments using __kernel_casinhl.
20745 * math/libm-test.inc (cacosh_test): Add more tests.
20746 * sysdeps/i386/fpu/libm-test-ulps: Update.
20747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20749 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20751 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20754 * bench/Makefile (bench): Add sin and slowsin.
20755 * benchtests/sin-inputs: New file.
20756 * benchtests/slowsin-inputs: New file.
20757 * benchtests/slowsin.c: New file.
20759 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20760 (bench): Add slowexp and slowpow.
20761 (exp-ITER): Increase iterations.
20762 (pow-ITER): Likewise.
20763 * benchtests/exp-inputs: Change input.
20764 * benchtests/pow-inputs: Likewise.
20765 * benchtests/slowexp-inputs: New file.
20766 * benchtests/slowexp.c: New file.
20767 * benchtests/slowpow-inputs: New file.
20768 * benchtests/slowpow.c: New file.
20770 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20772 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20774 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20775 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20776 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20777 * benchtests/Makefile: Add rint benchtest.
20778 * benchtests/rint-inputs: Input for rint benchtest.
20780 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20782 * Versions.def (libm): Add GLIBC_2.18.
20783 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20784 hidden libm prototypes.
20785 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20786 * math/Makefile (libm-calls): Add s_issignaling.
20787 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20788 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20789 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20791 * math/math.h [__USE_GNU] (issignaling): New macro.
20792 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20793 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20794 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20795 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20796 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20797 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20798 * manual/arith.texi (issignaling): New section.
20799 * manual/libm-err-tab.pl (@all_functions): Update comment.
20800 * math/gen-libm-test.pl (parse_args): Apply special handling for
20802 * math/libm-test.inc (print_float, issignaling_test): New
20804 (check_float_internal): Add issignaling checks.
20805 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20806 default definition.
20807 * sysdeps/powerpc/math-tests.h: New file.
20808 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20810 * math/test-snan.c (TEST_FUNC): Likewise.
20812 2013-03-30 David S. Miller <davem@davemloft.net>
20814 * po/de.po: Update from translation team.
20816 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20819 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20820 imaginary part less than 1.0 and real part less than 0.5
20822 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20823 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20824 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20825 (cacos_test): Add more tests.
20826 (casin_test): Likewise.
20827 (casinh_test): Likewise.
20828 * sysdeps/i386/fpu/libm-test-ulps: Update.
20829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20831 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20833 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20834 ONE with its value.
20836 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20837 (__pow_mp): Replace ONE and MONE with their values.
20838 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20839 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20840 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20841 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20842 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20843 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20845 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20847 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20848 (__pow_mp): Replace ZERO and MZERO with their values.
20849 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20850 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20851 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20853 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20854 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20857 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20859 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20861 2013-03-28 Roland McGrath <roland@hack.frob.com>
20863 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20864 Declare with __attribute__ ((weak)).
20865 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20866 Call __call_tls_dtors only if it's not NULL.
20868 2013-03-28 Roland McGrath <roland@hack.frob.com>
20870 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20871 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20872 magic __ehdr_start linker symbol if it's defined.
20873 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20874 them up here if it was already done.
20876 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20877 (_dl_aux_init): Use const in cast when setting it.
20878 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20879 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20880 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20882 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20884 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20885 * csu/libc-tls.c: Nor here.
20886 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20888 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20889 (__libc_message): Never call vsyslog.
20891 2013-03-28 Alan Modra <amodra@gmail.com>
20893 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20895 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20898 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20901 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20905 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20908 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20909 Don't add gid passed as argument.
20911 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20913 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20916 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20917 imaginary part between 1.0 and 1.5 and real part less than 0.5
20919 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20920 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20921 * math/libm-test.inc (cacos_test): Add more tests.
20922 (casin_test): Likewise.
20923 (casinh_test): Likewise.
20924 * sysdeps/i386/fpu/libm-test-ulps: Update.
20925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20927 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20929 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20932 (denorm): Likewise.
20933 (__dbl_mp): Likewise.
20934 (add_magnitudes): Likewise.
20935 (sub_magnitudes): Likewise.
20943 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20945 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20946 (__dubcos): Likewise.
20947 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20948 (__ieee754_acos): Likewise.
20949 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20950 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20951 (__exp1): Likewise.
20952 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20955 (my_log2): Likewise.
20956 (checkint): Likewise.
20957 * sysdeps/ieee754/dbl-64/e_remainder.c
20958 (__ieee754_remainder): Likewise.
20959 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20960 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20961 (bsloww): Likewise.
20962 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20964 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20965 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20966 MANTISSA_STORE_T to store computations on mantissa. Use
20967 macros for rounding and division.
20968 (denorm): Likewise.
20969 (__dbl_mp): Likewise.
20970 (add_magnitudes): Likewise.
20971 (sub_magnitudes): Likewise.
20974 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20975 powers of two in terms of TWOPOW macro.
20976 (mp_no): Make type of mantissa as MANTISSA_T.
20977 [!RADIXI]: Define RADIXI.
20978 [!TWO52]: Define TWO52.
20979 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20981 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20983 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20984 llroundl symbol when building for PPC32.
20986 2013-03-24 Mark H Weaver <mhw@netris.org>
20988 * manual/arith.texi (Normalization Functions): Fix prototypes for
20989 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20991 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20994 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20995 high value to check if expl overflow.
20996 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20997 to check for underflow and overflow.
20998 * math/libm-test.inc: Add exp test.
21000 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21003 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21006 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21008 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21011 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21013 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21014 wrap blocks consisting of several statements.
21016 * sysdeps/generic/math-tests.h: New file.
21017 * sysdeps/i386/fpu/math-tests.h: Likewise.
21018 * math/test-snan.c: Include it.
21019 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21021 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21024 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21025 (__ieee754_j0l): Do not improve calculations using cos of twice
21026 input for inputs above LDBL_MAX / 2.0L.
21027 (__ieee754_y0l): Likewise.
21028 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21029 (__ieee754_j1l): Do not improve calculations using cos of twice
21030 input for inputs above LDBL_MAX / 2.0L.
21031 (__ieee754_y1l): Likewise.
21032 * math/libm-test.inc (j0_test): Add another test.
21033 (j1_test): Likewise.
21034 (y0_test): Likewise.
21035 (y1_test): Likewise.
21036 * sysdeps/i386/fpu/libm-test-ulps: Update.
21038 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21040 * Rules ($(objpfx)bench-%.c): Include code from a C source
21043 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21046 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21047 imaginary part 1.0 and real part less than 0.5 specially.
21048 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21049 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21050 * math/libm-test.inc (cacos_test): Add more tests.
21051 (casin_test): Likewise.
21052 (casinh_test): Likewise.
21053 * sysdeps/i386/fpu/libm-test-ulps: Update.
21054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21056 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21058 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21059 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21061 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21063 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21064 * config.make.in (config-cflags-sse4): Remove variable.
21065 (config-cflags-avx): Likewise.
21066 (config-cflags-sse2avx): Likewise.
21067 (config-cflags-novzeroupper): Likewise.
21068 (config-asflags-i686): Likewise.
21069 (have-mfma4): Likewise.
21070 (have-as-vis3): Likewise.
21072 * configure.in (MIG): Do not AC_SUBST.
21073 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21074 (libc_cv_cc_sse4): Do not AC_SUBST.
21075 (libc_cv_cc_avx): Likewise.
21076 (libc_cv_cc_sse2avx): Likewise.
21077 (libc_cv_cc_novzeroupper): Likewise.
21078 (libc_cv_cc_fma4): Likewise.
21079 (libc_cv_as_i686): Likewise.
21080 (libc_cv_sparc_as_vis3): Likewise.
21081 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21083 (config-asflags-i686): Likewise.
21084 (config-cflags-avx): Likewise.
21085 (config-cflags-sse2avx): Likewise.
21086 (have-mfma4): Likewise.
21087 (config-cflags-novzeroupper): Likewise.
21088 * sysdeps/mach/configure.in (MIG): Likewise.
21089 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21090 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21092 (config-cflags-avx): Likewise.
21093 (config-cflags-sse2avx): Likewise.
21094 (have-mfma4): Likewise.
21095 (config-cflags-novzeroupper): Likewise.
21096 * configure: Regenerated.
21097 * sysdeps/i386/configure: Likewise.
21098 * sysdeps/mach/configure: Likewise.
21099 * sysdeps/sparc/configure: Likewise.
21100 * sysdeps/x86_64/configure: Likewise.
21102 2013-03-20 Roland McGrath <roland@hack.frob.com>
21105 * locale/programs/localedef.c (options): Put N_ translation marker
21106 on argument names, not just descriptions.
21108 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21110 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21112 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21115 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21117 2013-03-19 Roland McGrath <roland@hack.frob.com>
21119 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21120 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21121 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21122 [!BEFORE_ABORT] (before_abort): New function.
21123 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21124 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21125 (writev_for_fatal): New function.
21126 (WRITEV_FOR_FATAL): New macro; call that.
21127 (backtrace_and_maps): New function.
21128 (BEFORE_ABORT): New macro; call that.
21129 (struct str_list): Type removed.
21130 (__libc_message, __libc_fatal): Functions removed.
21131 Include <sysdeps/posix/libc_fatal.c> instead.
21133 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21135 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21137 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21140 2013-03-19 Andreas Schwab <schwab@suse.de>
21142 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21143 * sysdeps/gnu/configure: Regenerate.
21145 * configure.in: Substitute libc_cv_rtlddir.
21146 * configure: Regenerate.
21147 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21148 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21149 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21150 * elf/Makefile (install-others, CFLAGS-interp.c)
21151 (ldso_install, common-ldd-rewrite): Likewise.
21152 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21153 $(inst_slibdir)/$(rtld-installed-name).
21154 * scripts/rellns-sh: Add -p option.
21155 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21158 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21160 * manual/nptl.texi: Renamed to ...
21161 * manual/threads.texi: ... this.
21162 * manual/Makefile (chapters): Update.
21164 2013-03-18 Roland McGrath <roland@hack.frob.com>
21167 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21168 on argument names, not just descriptions.
21169 * malloc/memusagestat.c (options): Likewise.
21170 * nss/getent.c (options): Likewise.
21172 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21175 * iconv/iconv_prog.c (options): Put N_ translation marker
21176 on argument names, not just descriptions.
21177 * iconv/iconvconfig.c (options): Likewise.
21179 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21181 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21182 implementation which is faster on all x86_64 architectures.
21183 Tested on AMD, Intel Nehalem, SNB, IVB.
21184 * sysdeps/x86_64/strnlen.S: Likewise.
21186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21187 Remove all multiarch strlen and strnlen versions.
21188 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21189 Remove strlen and strnlen related parts.
21191 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21192 Inline strlen part.
21193 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21195 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21196 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21197 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21198 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21199 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21200 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21202 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21204 * manual/memory.texi (Malloc Tunable Parameters):
21205 Sort parameters alphabetically. Add comments for missing entries.
21207 2013-03-17 David S. Miller <davem@davemloft.net>
21209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21211 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21214 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21215 for arguments at most half maximum finite value.
21216 * math/libm-test.inc (j0_test): Add more tests.
21217 (j1_test): Likewise.
21218 (y0_test): Likewise.
21219 (y1_test): Likewise.
21220 * sysdeps/i386/fpu/libm-test-ulps: Update.
21221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21224 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21225 1 / x and functions P and Q for arguments above 0x1p256L.
21226 (__ieee754_y0l): Likewise.
21227 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21228 (__ieee754_y1l): Likewise.
21229 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21230 (j1_test): Likewise.
21231 (y0_test): Likewise.
21232 (y1_test): Likewise.
21234 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21236 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21239 2013-03-15 Roland McGrath <roland@hack.frob.com>
21241 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21242 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21243 zero since it's initialized to EXEC_PAGESIZE.
21245 * sysdeps/unix/sysv/linux/ldsodefs.h
21246 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21247 * sysdeps/generic/ldsodefs.h: ... here.
21249 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21251 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21253 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21255 * math/test-snan.c: Renamed from
21256 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21257 * math/Makefile (tests): Add test-snan.
21258 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21261 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21262 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21264 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21265 __builtin_nan family of functions.
21266 * math/libm-test.inc (initialize): Initialize qnan_value with
21267 __builtin_nan family of functions.
21268 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21270 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21272 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21273 storage class. Initialize qNaN_var and sNaN_var with
21274 __builtin_nan and __builtin_nans families of functions,
21277 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21278 (sqrt_test): Remove duplicate test with qNaN input.
21279 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21280 (round_test, signbit_test, significand_test): Note missing +/-Inf
21281 as well as qNaN tests.
21283 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21284 qNaN_var. Fix a few strings, too.
21285 * math/libm-test.inc (nan_value): Rename to qnan_value.
21286 * math/gen-libm-test.pl (%beautify): Adjust to that.
21287 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21288 * math/test-misc.c (main): Likewise.
21289 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21290 to __qnan_bytes, and __qnan_union, respectively.
21291 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21293 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21294 and lqnanval, respectively.
21295 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21296 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21297 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21298 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21300 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21301 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21304 * math/test-misc.c (main): Fix copy'n'pastos.
21305 * misc/tst-efgcvt.c (special): Likewise.
21307 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21308 Remove declarations.
21310 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21312 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21313 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21314 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21315 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21317 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21319 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21320 macro to return vdso values correctly in IFUNC implementations.
21321 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21322 Optimization by using IFUNC.
21324 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21325 Richard Henderson <rth@redhat.com>
21326 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21328 * Makefile.in (bench): New target.
21329 * NEWS: Mention the benchmark framework.
21330 * Rules (bench): Likewise.
21331 (binaries-bench): Generate binaries for functions to
21333 * benchtests/Makefile: New makefile for benchmark tests.
21334 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21336 * benchtests/exp-inputs: New input file for EXP function.
21337 * benchtests/pow-inputs: New input file for POW function.
21338 * scripts/bench.pl: New script to generate source files for
21339 benchmark programs.
21341 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21343 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21344 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21345 computations on mantissa. Use macros for rounding and
21347 (denorm): Likewise.
21348 (__dbl_mp): Likewise.
21349 (add_magnitudes): Likewise.
21350 (sub_magnitudes): Likewise.
21353 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21354 powers of two in terms of TWOPOW macro.
21355 (mp_no): Make type of mantissa as MANTISSA_T.
21356 [!RADIXI]: Define RADIXI.
21357 [!TWO52]: Define TWO52.
21358 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21360 * manual/nptl.texi (cindex): Modify threads to pthreads.
21362 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21364 * sysdeps/x86_64/preconfigure: Regenerated.
21366 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21369 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21371 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21372 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21374 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21375 * math/libm-test.inc (j0_test): Do not allow one spurious
21376 underflow exception.
21377 (y1_test): Likewise.
21379 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21381 * manual/Makefile (chapters): Add nptl.
21382 * manual/debug.texi (Debugging Support): Add link to Threads
21384 * manual/nptl.texi: New file.
21386 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21388 2013-03-14 Petr Baudis <pasky@ucw.cz>
21390 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21391 for non-NULL pointer before the memory validity test. Pointed
21392 out by Holger Brunck <holger.brunck@keymile.com>.
21394 2013-03-13 Andreas Schwab <schwab@suse.de>
21396 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21399 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21401 * timezone/zic.c: Update from tzcode 2013b.
21403 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21405 * manual/install.texi (Configuring and compiling):
21406 Mention i686 and i586.
21407 * INSTALL: Regenerate.
21409 2013-03-12 Roland McGrath <roland@hack.frob.com>
21411 * sysdeps/init_array/elf-init.c: New file.
21413 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21414 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21416 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21417 __gmon_start__ as global, but as static with a .preinit_array pointer.
21418 * sysdeps/init_array/gmon-start.c: New file. Use that.
21419 * sysdeps/init_array/crti.S: New file, empty except for comments.
21420 * sysdeps/init_array/crtn.S: Likewise.
21422 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21424 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21427 Remove Prefer_SSE_for_memop.
21428 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21429 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21430 HAS_PREFER_SSE_FOR_MEMOP.
21431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21434 Remove bzero, memset ifunc support.
21435 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21436 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21437 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21438 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21440 2013-03-11 Andreas Schwab <schwab@suse.de>
21443 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21446 (GLIBC_2.16): Remove pthread_atfork.
21448 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21450 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21451 (ptestcases.h): Likewise.
21453 2013-03-08 Roland McGrath <roland@hack.frob.com>
21455 * Makeconfig ($(common-objpfx)config.status): Depend on
21456 sysdeps/*/preconfigure{,.in} too.
21458 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21460 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21461 (__free_hook): Use void * instead of __malloc_ptr_t.
21462 (__malloc_hook): Likewise.
21463 (__realloc_hook): Likewise.
21464 (__memalign_hook): Likewise.
21465 (__after_morecore_hook): Likewise.
21466 * malloc/arena.c (save_malloc_hook): Likewise.
21467 (save_free_hook): Likewise.
21468 * malloc/hooks.c (malloc_hook_ini): Likewise.
21469 (realloc_hook_ini): Likewise.
21470 (memalign_hook_ini): Likewise.
21471 * malloc/malloc.c (malloc_hook_ini): Likewise.
21472 (realloc_hook_ini): Likewise.
21473 (memalign_hook_ini): Likewise.
21474 (__free_hook): Likewise.
21475 (__malloc_hook): Likewise.
21476 (__realloc_hook): Likewise.
21477 (__memalign_hook): Likewise.
21478 (__libc_malloc): Likewise.
21479 (__libc_free): Likewise.
21480 (__libc_realloc): Likewise.
21481 (__libc_memalign): Likewise.
21482 (__libc_valloc): Likewise.
21483 (__libc_pvalloc): Likewise.
21484 (__libc_calloc): Likewise.
21485 (__posix_memalign): Likewise.
21486 * malloc/morecore.c (__sbrk): Likewise.
21487 (__default_morecore): Likewise.
21489 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21491 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21492 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21493 __malloc_ptrdiff_t.
21495 * malloc/malloc.h (__malloc_size_t): Remove macro.
21496 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21498 (old_memalign_hook): Likewise.
21499 (old_realloc_hook): Likewise.
21500 (struct hdr): Likewise.
21502 (mallochook): Likewise.
21503 (memalignhook): Likewise.
21504 (reallochook): Likewise.
21505 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21506 (tr_old_realloc_hook): Likewise.
21507 (tr_old_memalign_hook): Likewise.
21508 (tr_mallochook): Likewise.
21509 (tr_reallochook): Likewise.
21510 (tr_memalignhook): Likewise.
21512 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21514 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21515 default_ldbl_pack and using as default implementation.
21516 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21518 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21519 redundant definition.
21520 (ldbl_insert_mantissa): Likewise.
21521 (ldbl_canonicalize): Likewise.
21522 (ldbl_nearbyint): Likewise.
21523 (ldbl_pack): Rename to ldbl_pack_ppc.
21524 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21525 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21526 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21528 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21531 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21532 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21533 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21535 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21536 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21537 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21539 2013-03-07 Andreas Jaeger <aj@suse.de>
21541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21544 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21546 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21547 Include mpa.h and declare __MPEXP.
21548 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21549 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21550 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21551 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21552 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21553 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21554 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21556 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21557 (__slowpow): Use long double EXPL and LOGL functions to
21559 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21560 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21561 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21562 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21563 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21564 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21567 intermediate variable to calculate exponent.
21569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21573 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21574 [!NO__SQR]: Define __sqr.
21575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21576 and NO__SQR. Remove all code except __mul and __sqr. Include
21577 sysdeps/ieee754/dbl-64/mpa.c.
21578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21581 * posix/Makefile (tests): Add tst-pathconf.
21582 * posix/tst-pathconf.c: New test case.
21583 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21585 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21587 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21589 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21591 2013-03-06 Andreas Jaeger <aj@suse.de>
21593 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21594 definition via __MAP_ANONYMOUS.
21596 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21597 it's not part of Linux headers.
21599 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21600 (MAP_HUGE_MASK): Define.
21602 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21604 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21605 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21607 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21608 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21610 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21611 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21613 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21615 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21616 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21617 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21618 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21619 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21620 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21622 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21625 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21626 Handle f2fs and efivarfs.
21628 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21631 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21632 (EFIVARFS_MAGIC): Add.
21633 (F2FS_LINK_MAX): Add.
21635 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21637 * stdio-common/vfprintf.c: Replace __builtin_expect with
21640 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21643 * sysdeps/generic/bp-sym.h: Remove file.
21644 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21645 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21646 <bp-sym.h> and <bp-asm.h>.
21647 (__longjmp): Don't use BP_SYM.
21648 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21650 (memcpy): Don't use BP_SYM.
21651 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21652 <bp-sym.h> and <bp-asm.h>.
21653 (memcpy): Don't use BP_SYM.
21654 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21656 (memcpy): Don't use BP_SYM.
21657 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21659 (memset): Don't use BP_SYM.
21660 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21661 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21662 (__bzero): Don't use BP_SYM.
21663 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21664 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21665 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21666 <bp-sym.h> and <bp-asm.h>.
21667 (memcmp): Don't use BP_SYM. Remove comment about bounded
21669 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21670 <bp-sym.h> and <bp-asm.h>.
21671 (memcpy): Don't use BP_SYM.
21672 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21673 <bp-sym.h> and <bp-asm.h>.
21674 (memset): Don't use BP_SYM.
21675 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21676 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21677 (__bzero): Don't use BP_SYM.
21678 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21679 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21680 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21681 <bp-sym.h> and <bp-asm.h>.
21682 (strncmp): Don't use BP_SYM. Remove comment about bounded
21684 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21685 <bp-sym.h> and <bp-asm.h>.
21686 (memcpy): Don't use BP_SYM.
21687 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21688 <bp-sym.h> and <bp-asm.h>.
21689 (memset): Don't use BP_SYM.
21690 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21691 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21692 (__bzero): Don't use BP_SYM.
21693 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21694 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21695 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21696 <bp-sym.h> and <bp-asm.h>.
21697 (__memchr): Don't use BP_SYM.
21698 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21699 <bp-sym.h> and <bp-asm.h>.
21700 (memcmp): Don't use BP_SYM. Remove comment about bounded
21702 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21703 <bp-sym.h> and <bp-asm.h>.
21704 (memcpy): Don't use BP_SYM.
21705 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21706 <bp-sym.h> and <bp-asm.h>.
21707 (__mempcpy): Don't use BP_SYM.
21708 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21709 <bp-sym.h> and <bp-asm.h>.
21710 (__memrchr): Don't use BP_SYM.
21711 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21712 <bp-sym.h> and <bp-asm.h>.
21713 (memset): Don't use BP_SYM.
21714 (__bzero): Likewise.
21715 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21716 <bp-sym.h> and <bp-asm.h>.
21717 (__rawmemchr): Don't use BP_SYM.
21718 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21719 <bp-sym.h> and <bp-asm.h>.
21720 (__STRCMP): Don't use BP_SYM.
21721 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21722 <bp-sym.h> and <bp-asm.h>.
21723 (strchr): Don't use BP_SYM.
21724 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21725 <bp-sym.h> and <bp-asm.h>.
21726 (__strchrnul): Don't use BP_SYM.
21727 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21728 <bp-sym.h> and <bp-asm.h>.
21729 (strlen): Don't use BP_SYM.
21730 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21731 <bp-sym.h> and <bp-asm.h>.
21732 (strncmp): Don't use BP_SYM. Remove comment about bounded
21734 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21735 <bp-sym.h> and <bp-asm.h>.
21736 (__strnlen): Don't use BP_SYM.
21737 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21738 <bp-sym.h> and <bp-asm.h>.
21739 (__GI__setjmp): Don't use BP_SYM.
21740 (_setjmp): Likewise.
21741 (__sigsetjmp): Likewise.
21742 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21743 (L(start_addresses)): Don't use BP_SYM.
21744 (_start): Likewise.
21745 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21747 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21748 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21749 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21750 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21751 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21753 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21754 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21755 about bounded pointers.
21756 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21757 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21758 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21760 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21761 about bounded pointers. Remove GKM FIXME comments.
21762 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21763 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21765 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21766 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21767 Remove GKM FIXME comments.
21768 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21769 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21770 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21772 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21773 about bounded pointers. Remove GKM FIXME comment.
21774 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21776 (strncmp): Don't use BP_SYM. Remove comment about bounded
21778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21779 <bp-sym.h> and <bp-asm.h>.
21780 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21782 <bp-sym.h> and <bp-asm.h>.
21783 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21786 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21788 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21791 2013-03-05 David S. Miller <davem@davemloft.net>
21793 * po/es.po: Update from translation team.
21795 2013-03-05 Andreas Jaeger <aj@suse.de>
21797 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21798 <bits/mman-linux.h>.
21799 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21801 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21802 <bits/mman-linux.h> to end of file.
21803 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21805 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21806 <bits/mman-linux.h> to end of file.
21807 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21809 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21810 <bits/mman-linux.h> to end of file.
21812 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21813 (MCL_CURRENT, MCL_FUTURE): Define here.
21815 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21818 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21820 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21822 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21824 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21825 fourth parameter needed for rt_sigprocmask syscall.
21826 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21827 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21828 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21829 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21830 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21831 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21833 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21836 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21837 comment about bounded pointers.
21838 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21839 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21841 2013-03-04 Andreas Jaeger <aj@suse.de>
21843 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21844 common definitions.
21846 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21847 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21848 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21849 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21850 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21851 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21853 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21856 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21857 __ieee754_sqrl instead of __sqrl.
21859 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21861 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21862 * sysdeps/powerpc/fpu_control.h: ... here.
21863 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21864 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21865 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21866 * sysdeps/powerpc/bits/mathinline.h: ... here.
21868 2013-03-01 Roland McGrath <roland@hack.frob.com>
21870 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21871 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21872 to just [NEED_DL_SYSINFO_DSO].
21873 * elf/dl-support.c: Likewise.
21874 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21875 * elf/rtld.c (dl_main): Likewise.
21876 * elf/setup-vdso.h (setup_vdso): Likewise.
21877 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21878 * sysdeps/unix/sysv/linux/dl-sysdep.c
21879 (_dl_discover_osversion): Likewise.
21881 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21883 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21884 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21886 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21888 * NEWS: Mention libm performance improvements and non-x86 PI
21891 * csu/libc-start.c (__pthread_initialize_minimal): Change
21892 function arguments.
21893 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21895 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21898 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21899 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21900 <bp-sym.h> and <bp-asm.h>.
21901 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21902 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21904 (memcpy): Don't use BP_SYM.
21905 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21907 (__mpn_add_n): Don't use BP_SYM.
21908 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21909 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21911 (__mpn_addmul_1): Don't use BP_SYM.
21912 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21913 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21915 (_setjmp): Don't use BP_SYM.
21916 (__novmx_setjmp): Likewise.
21917 (__GI__setjmp): Likewise.
21918 (__vmx_setjmp): Likewise.
21919 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21921 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21922 (__bzero): Don't use BP_SYM.
21923 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21924 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21925 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21926 <bp-sym.h> and <bp-asm.h>.
21927 (memcpy): Don't use BP_SYM.
21928 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21929 <bp-sym.h> and <bp-asm.h>.
21930 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21931 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21932 <bp-sym.h> and <bp-asm.h>.
21933 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21934 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21936 (__mpn_lshift): Don't use BP_SYM.
21937 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21938 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21940 (memset): Don't use BP_SYM.
21941 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21942 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21943 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21945 (__mpn_mul_1): Don't use BP_SYM.
21946 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21947 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21948 <bp-sym.h> and <bp-asm.h>.
21949 (memcmp): Don't use BP_SYM.
21950 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21951 <bp-sym.h> and <bp-asm.h>.
21952 (memcpy): Don't use BP_SYM.
21953 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21954 <bp-sym.h> and <bp-asm.h>.
21955 (memset): Don't use BP_SYM.
21956 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21957 <bp-sym.h> and <bp-asm.h>.
21958 (strncmp): Don't use BP_SYM.
21959 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21960 <bp-sym.h> and <bp-asm.h>.
21961 (memcpy): Don't use BP_SYM.
21962 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21963 <bp-sym.h> and <bp-asm.h>.
21964 (memset): Don't use BP_SYM.
21965 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21966 <bp-sym.h> and <bp-asm.h>.
21967 (__memchr): Don't use BP_SYM.
21968 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21969 <bp-sym.h> and <bp-asm.h>.
21970 (memcmp): Don't use BP_SYM.
21971 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21972 <bp-sym.h> and <bp-asm.h>.
21973 (memcpy): Don't use BP_SYM.
21974 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21975 <bp-sym.h> and <bp-asm.h>.
21976 (__mempcpy): Don't use BP_SYM.
21977 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21978 <bp-sym.h> and <bp-asm.h>.
21979 (__memrchr): Don't use BP_SYM.
21980 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21981 <bp-sym.h> and <bp-asm.h>.
21982 (memset): Don't use BP_SYM.
21983 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21984 <bp-sym.h> and <bp-asm.h>.
21985 (__rawmemchr): Don't use BP_SYM.
21986 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21987 <bp-sym.h> and <bp-asm.h>.
21988 (__STRCMP): Don't use BP_SYM.
21989 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21990 <bp-sym.h> and <bp-asm.h>.
21991 (strchr): Don't use BP_SYM.
21992 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21993 <bp-sym.h> and <bp-asm.h>.
21994 (__strchrnul): Don't use BP_SYM.
21995 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21996 <bp-sym.h> and <bp-asm.h>.
21997 (strlen): Don't use BP_SYM.
21998 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21999 <bp-sym.h> and <bp-asm.h>.
22000 (strncmp): Don't use BP_SYM.
22001 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22002 <bp-sym.h> and <bp-asm.h>.
22003 (__strnlen): Don't use BP_SYM.
22004 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22006 (__mpn_rshift): Don't use BP_SYM.
22007 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22008 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22009 <bp-sym.h> and <bp-asm.h>.
22010 (__sigsetjmp): Don't use BP_SYM.
22011 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22012 (L(start_addresses)): Don't use BP_SYM.
22013 (_start): Likewise.
22014 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22016 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22017 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22018 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22019 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22021 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22022 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22023 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22024 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22026 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22028 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22029 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22031 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22033 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22034 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22035 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22037 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22039 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22041 (strncmp): Don't use BP_SYM,
22042 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22044 (__mpn_sub_n): Don't use BP_SYM.
22045 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22046 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22048 (__mpn_submul_1): Don't use BP_SYM.
22049 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22051 <bp-sym.h> and <bp-asm.h>.
22052 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22054 <bp-sym.h> and <bp-asm.h>.
22055 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22058 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22061 Use ZK to minimize writes to Z.
22062 (sub_magnitudes): Simplify code a bit.
22063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22064 Use ZK to minimize writes to Z.
22065 (sub_magnitudes): Simplify code a bit.
22067 2013-02-27 Roland McGrath <roland@hack.frob.com>
22069 * csu/gmon-start.c: Add special exception to license text.
22071 2013-02-27 Richard Henderson <rth@redhat.com>
22073 * scripts/config.guess: Update from config.git.
22074 * scripts/config.sub: Likewise.
22076 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22078 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22080 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22082 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22084 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22086 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22088 2013-02-26 Roland McGrath <roland@hack.frob.com>
22090 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22091 [$(build-shared = yes].
22093 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22095 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22096 (__mul): Reduce iterations for calculating mantissa.
22098 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22100 (__mpranred): Likewise.
22103 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22104 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22106 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22108 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22109 Define __attribute__.
22111 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22113 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22115 * posix/regex_internal.h (__attribute): Remove.
22116 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22117 (re_string_context_at): Likewise.
22118 (bitset_not): Use __attribute__ and mark function as possibly
22120 (bitset_merge): Likewise.
22121 (bitset_mask): Likewise.
22122 (re_string_char_size_at): Likewise.
22123 (re_string_wchar_at): Likewise.
22124 (re_string_elem_size_at): Likewise.
22126 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22128 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22132 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22136 (denorm): Likewise.
22137 (__dbl_mp): Likewise.
22138 (add_magnitudes): Likewise.
22139 (sub_magnitudes): Likewise.
22143 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22146 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22149 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22153 up changes with default code.
22154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22157 2013-02-24 Allan McRae <allan@archlinux.org>
22159 * manual/socket.texi (The Internet Namespace): Order menu items
22160 to match that in the file.
22162 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22163 node listing of the info page menu.
22165 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22168 * sysdeps/i386/bp-asm.h: Remove file.
22169 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22170 (PARMS): Do not use macros from bp-asm.h.
22174 (__mpn_add_n): Do not use BP_SYM
22175 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22177 (PARMS): Do not use macros from bp-asm.h.
22180 (__mpn_addmul_1): Do not use BP_SYM
22181 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22183 (PARMS): Do not use macros from bp-asm.h.
22184 (SIGMSK): Likewise.
22185 (_setjmp): Likewise. Do not use BP_SYM.
22186 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22188 (PARMS): Do not use macros from bp-asm.h.
22189 (SIGMSK): Likewise.
22190 (setjmp): Likewise. Do not use BP_SYM.
22191 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22193 (PARMS): Do not use macros from bp-asm.h.
22194 (__frexp): Do not use BP_SYM.
22196 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22198 (PARMS): Do not use macros from bp-asm.h.
22199 (__frexpf): Do not use BP_SYM.
22200 (frexpf): Likewise.
22201 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22203 (PARMS): Do not use macros from bp-asm.h.
22204 (__frexpl): Do not use BP_SYM.
22205 (frexpl): Likewise.
22206 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22208 (PARMS): Do not use macros from bp-asm.h.
22209 (__remquo): Do not use BP_SYM.
22210 (remquo): Likewise.
22211 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22213 (PARMS): Do not use macros from bp-asm.h.
22214 (__remquof): Do not use BP_SYM.
22215 (remquof): Likewise.
22216 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22218 (PARMS): Do not use macros from bp-asm.h.
22219 (__remquol): Do not use BP_SYM.
22220 (remquol): Likewise.
22221 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22223 (PARMS): Do not use macros from bp-asm.h.
22226 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22227 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22229 (PARMS): Do not use macros from bp-asm.h.
22230 (strlen): Do not use BP_SYM.
22231 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22233 (PARMS): Do not use macros from bp-asm.h.
22237 (__mpn_add_n): Do not use BP_SYM.
22238 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22240 (PARMS): Do not use macros from bp-asm.h.
22243 (__mpn_addmul_1): Do not use BP_SYM.
22244 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22247 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22249 (PARMS): Do not use macros from bp-asm.h.
22252 (__mpn_lshift): Do not use BP_SYM.
22253 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22255 (PARMS): Do not use macros from bp-asm.h.
22259 (memcpy): Likewise. Do not use BP_SYM.
22260 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22261 libc_hidden_def and weak_alias.
22262 (mempcpy): Do not use BP_SYM in weak_alias.
22263 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22265 (PARMS): Do not use macros from bp-asm.h.
22268 [!BZERO_P] (CHR): Likewise.
22269 (memset): Likewise. Do not use BP_SYM.
22270 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22272 (PARMS): Do not use macros from bp-asm.h.
22275 (__mpn_mul_1): Do not use BP_SYM.
22276 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22278 (PARMS): Do not use macros from bp-asm.h.
22281 (__mpn_rshift): Do not use BP_SYM.
22282 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22284 (PARMS): Do not use macros from bp-asm.h.
22287 (strchr): Likewise. Do not use BP_SYM.
22288 (index): Do not use BP_SYM in weak_alias.
22289 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22291 (PARMS): Do not use macros from bp-asm.h.
22294 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22295 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22297 (PARMS): Do not use macros from bp-asm.h.
22298 (strlen): Do not use BP_SYM.
22299 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22301 (PARMS): Do not use macros from bp-asm.h.
22305 (__mpn_sub_n): Do not use BP_SYM.
22306 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22308 (PARMS): Do not use macros from bp-asm.h.
22311 (__mpn_submul_1): Do not use BP_SYM.
22312 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22314 (PARMS): Do not use macros from bp-asm.h.
22318 (__mpn_add_n): Do not use BP_SYM.
22319 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22322 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22324 (PARMS): Do not use macros from bp-asm.h.
22327 (memcmp): Do not use BP_SYM.
22328 (bcmp): Do not use BP_SYM in weak_alias.
22329 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22331 (PARMS): Do not use macros from bp-asm.h.
22335 (memcpy): Likewise. Do not use BP_SYM.
22336 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22338 (PARMS): Do not use macros from bp-asm.h.
22342 (memmove): Likewise. Do not use BP_SYM.
22343 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22345 (PARMS): Do not use macros from bp-asm.h.
22349 (__mempcpy): Likewise. Do not use BP_SYM.
22350 (mempcpy): Do not use BP_SYM in weak_alias.
22351 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22353 (PARMS): Do not use macros from bp-asm.h.
22356 [!BZERO_P] (CHR): Likewise.
22357 (memset): Likewise. Do not use BP_SYM.
22358 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22360 (PARMS): Do not use macros from bp-asm.h.
22362 (strcmp): Do not use BP_SYM.
22363 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22365 (PARMS): Do not use macros from bp-asm.h.
22368 [USE_AS_STRTOK_R] (SAVE): Likewise.
22369 (FUNCTION): Likewise. Do not use BP_SYM.
22370 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22372 (strtok_r): Likewise.
22373 (__GI___strtok_r): Likewise.
22374 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22375 (PARMS): Do not use macros from bp-asm.h.
22378 (__mpn_lshift): Do not use BP_SYM.
22379 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22380 (PARMS): Do not use macros from bp-asm.h.
22383 (__memchr): Do not use BP_SYM.
22384 (memchr): Do not use BP_SYM in weak_alias.
22385 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22386 (PARMS): Do not use macros from bp-asm.h.
22389 (memcmp): Do not use BP_SYM.
22390 (bcmp): Do not use BP_SYM in weak_alias.
22391 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22392 (PARMS): Do not use macros from bp-asm.h.
22395 (__mpn_mul_1): Do not use BP_SYM.
22396 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22398 (PARMS): Do not use macros from bp-asm.h.
22401 (__rawmemchr): Do not use BP_SYM.
22402 (rawmemchr): Do not use BP_SYM in weak_alias.
22403 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22404 (PARMS): Do not use macros from bp-asm.h.
22407 (__mpn_rshift): Do not use BP_SYM.
22408 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22409 (PARMS): Do not use macros from bp-asm.h.
22410 (SIGMSK): Likewise.
22411 (__sigsetjmp): Likewise. Do not use BP_SYM.
22412 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22413 (_start): Do not use BP_SYM.
22414 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22415 (PARMS): Do not use macros from bp-asm.h.
22418 (__stpcpy): Likewise. Do not use BP_SYM.
22419 (stpcpy): Do not use BP_SYM in weak_alias.
22420 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22422 (PARMS): Do not use macros from bp-asm.h.
22426 (__stpncpy): Likewise. Do not use BP_SYM.
22427 (stpncpy): Do not use BP_SYM in weak_alias.
22428 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22429 (PARMS): Do not use macros from bp-asm.h.
22432 (strchr): Likewise. Do not use BP_SYM.
22433 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22435 (PARMS): Do not use macros from bp-asm.h.
22438 (__strchrnul): Likewise. Do not use BP_SYM.
22439 (strchrnul): Do not use BP_SYM in weak_alias.
22440 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22442 (PARMS): Do not use macros from bp-asm.h.
22444 (strcspn): Do not use BP_SYM.
22445 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22447 (PARMS): Do not use macros from bp-asm.h.
22450 (strpbrk): Likewise. Do not use BP_SYM.
22451 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22453 (PARMS): Do not use macros from bp-asm.h.
22456 (strrchr): Likewise. Do not use BP_SYM.
22457 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22458 (PARMS): Do not use macros from bp-asm.h.
22460 (strspn): Do not use BP_SYM.
22461 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22462 (PARMS): Do not use macros from bp-asm.h.
22466 (FUNCTION): Likewise. Do not use BP_SYM.
22467 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22469 (strtok_r): Likewise.
22470 (__GI___strtok_r): Likewise.
22471 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22472 (PARMS): Do not use macros from bp-asm.h.
22476 (__mpn_sub_n): Do not use BP_SYM.
22477 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22479 (PARMS): Do not use macros from bp-asm.h.
22482 (__mpn_submul_1): Do not use BP_SYM.
22483 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22485 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22487 (PARMS): Do not use macros from bp-asm.h.
22492 (__clone): Do not use BP_SYM.
22493 (clone): Do not use BP_SYM in weak_alias.
22494 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22496 (PARMS): Do not use macros from bp-asm.h.
22498 (__mmap64): Do not use BP_SYM.
22499 (mmap64): Do not use BP_SYM in weak_alias.
22500 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22501 <bp-sym.h> and <bp-asm.h>.
22502 (PARMS): Do not use macros from bp-asm.h.
22503 (__posix_fadvise64_l64): Do not use BP_SYM.
22504 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22505 (PARMS): Do not use macros from bp-asm.h.
22507 (semtimedop): Do not use BP_SYM.
22508 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22511 2013-02-21 Allan McRae <allan@archlinux.org>
22513 * manual/message.texi (Charset conversion in gettext):
22514 Move @end statement to beginning of line.
22516 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22523 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22524 (denorm): Likewise.
22525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22528 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22530 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22531 tail-call to the resolved function if pltexit isn't needed.
22533 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22536 or Y being zero as being unlikely.
22537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22540 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22542 * manual/nss.texi (System Databases and Name Service Switch):
22543 Remove frobnicate @pxref.
22545 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22547 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22548 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22550 2013-02-20 Petr Machata <pmachata@redhat.com>
22552 * elf/elf.h (R_ARM_TARGET1): New macro.
22553 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22554 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22555 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22556 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22557 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22558 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22559 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22560 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22561 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22562 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22563 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22564 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22565 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22566 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22567 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22568 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22569 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22570 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22571 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22572 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22573 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22574 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22575 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22576 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22577 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22578 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22579 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22580 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22581 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22582 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22583 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22584 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22585 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22586 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22587 (R_ARM_THM_GOT_BREL12): Likewise.
22588 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22589 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22590 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22591 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22592 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22593 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22594 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22595 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22596 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22598 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22600 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22601 __attribute_used__ to __attribute__ ((unused)).
22603 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22605 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22608 comment formatting.
22609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22611 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22614 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22616 (ENTER): Remove both macro definitions.
22618 (CHECK_BOUNDS_LOW): Likewise.
22619 (CHECK_BOUNDS_HIGH): Likewise.
22620 (CHECK_BOUNDS_BOTH): Likewise.
22621 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22622 (RETURN_BOUNDED_POINTER): Likewise.
22623 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22624 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22625 (POP_ERRNO_LOCATION_RETURN): Likewise.
22626 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22627 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22628 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22630 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22631 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22632 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22633 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22634 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22635 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22636 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22637 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22638 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22639 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22640 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22641 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22642 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22643 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22645 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22646 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22648 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22649 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22650 * sysdeps/i386/i586/memset.S (memset): Likewise.
22651 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22652 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22653 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22655 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22656 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22657 Change uses of L(2) to L(out).
22658 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22659 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22660 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22661 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22662 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22664 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22665 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22667 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22668 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22669 (RETURN): Do not use macro LEAVE.
22670 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22671 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22672 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22673 * sysdeps/i386/i686/memset.S (memset): Likewise.
22674 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22675 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22676 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22677 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22679 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22680 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22681 L(1_2) and L(1_3) into L(1).
22682 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22683 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22684 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22685 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22686 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22687 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22688 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22689 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22690 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22692 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22693 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22694 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22695 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22696 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22697 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22698 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22699 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22700 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22701 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22702 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22703 * sysdeps/i386/strspn.S (strspn): Likewise.
22704 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22706 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22707 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22708 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22709 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22710 L(1_3) into L(1_1).
22711 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22712 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22713 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22715 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22717 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22719 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22722 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22724 * math/atest-exp.c (exp_mpn): Remove ROUND.
22725 * math/atest-exp2.c (exp_mpn): Likewise.
22726 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22728 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22729 * stdlib/tst-tls-atexit-lib.c: Likewise.
22730 * stdlib/tst-tls-atexit.c: Likewise.
22732 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22734 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22735 and __attribute_alloc_size__.
22737 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22739 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22740 __attribute_alloc_size__.
22741 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22742 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22744 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22746 * include/programs/xmalloc.h: New file.
22747 * catgets/gencat.c: Include it.
22748 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22749 * elf/pldd.c: Likewise.
22750 * iconv/iconv_charmap.c: Likewise.
22751 * iconv/iconvconfig.c: Likewise.
22752 * iconv/strtab.c: Likewise.
22753 * locale/programs/locale.c: Likewise.
22754 * locale/programs/localedef.h: Likewise.
22755 * locale/programs/simple-hash.c: Likewise.
22756 * nscd/nscd.h: Likewise.
22757 * nss/makedb.c: Likewise.
22758 * sysdeps/generic/ldconfig.h: Likewise.
22760 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22762 * Versions.def: Add GLIBC_2.18.
22763 * include/link.h (struct link_map): New member l_tls_dtor_count.
22764 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22765 (__call_tls_dtors): Likewise.
22766 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22767 __cxa_thread_atexit_impl.
22768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22776 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22784 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22785 (tests): Add test case tst-tls-atexit.
22786 (modules-names): Add shared library for tst-tls-atexit.
22787 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22788 (GLIBC_PRIVATE): Add __call_tls_dtors.
22789 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22791 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22792 * stdlib/tst-tls-atexit.c: New test case.
22793 * stdlib/tst-tls-atexit-lib.c: New test case.
22795 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22797 * elf/Versions (ld): Add _dl_find_dso_for_object.
22798 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22799 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22800 (dl_open_worker): Use _dl_find_dso_for_object.
22801 * elf/dl-sym.c (do_sym): Likewise.
22802 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22804 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22806 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22807 Syntactic changes only.
22808 (_dl_runtime_profile): Do a tail-call to the resolved function.
22810 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22813 * sysdeps/x86_64/bp-asm.h: Remove file.
22814 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22815 <bp-sym.h> and <bp-asm.h>.
22816 (__clone): Do not use BP_SYM.
22817 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22818 <bp-sym.h> and <bp-asm.h>.
22819 * sysdeps/unix/x86_64/sysdep.S: Likewise.
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/bsd-setjmp.S: Do not include "bp-sym.h" and
22825 (setjmp): Do not use BP_SYM.
22826 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22828 (mempcpy): Do not use BP_SYM in weak_alias.
22829 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22831 (strchr): Do not use BP_SYM.
22832 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22834 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22835 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22836 (_start): Do not use BP_SYM.
22837 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22839 (strcat): Do not use BP_SYM.
22840 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22842 (STRCMP): Do not use BP_SYM.
22843 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22845 (STRCPY): Do not use BP_SYM.
22846 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22848 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22850 (FUNCTION): Do not use BP_SYM.
22851 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22853 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22855 2013-02-17 Andreas Jaeger <aj@suse.de>
22857 * time/Versions: Sort entries.
22858 * string/Versions: Likewise.
22859 * resolv/Versions: Likewise.
22860 * posix/Versions: Likewise.
22861 * iconv/Versions: Likewise.
22862 * elf/Versions: Likewise.
22863 * wcsmbs/Versions: Likewise.
22865 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22867 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22868 loop termination condition.
22870 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22871 variable to calculate EZ.
22874 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22875 the lower precision input.
22877 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22880 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22881 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22882 (run-via-rtld-prefix): Do not handle %-bp tests.
22883 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22884 (all-object-suffixes): Remove .ob.
22885 (bppfx): Remove variable.
22886 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22887 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22888 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22889 [$(build-bounded) = yes] (libtype.ob): Likewise.
22890 * Makerules (elide-routines.ob): Remove variable.
22891 (do-tests-clean): Do not handle *-bp.out.
22892 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22893 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22894 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22895 (tests): Do not include $(tests-bp.out).
22896 (xtests): Do not include $(xtests-bp.out).
22897 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22898 [$(build-bounded) = yes] ($(addprefix
22899 $(objpfx),$(binaries-bounded))): Remove rule.
22900 ($(objpfx)%-bp.out): Remove rule.
22901 * config.make.in (build-bounded): Remove variable.
22902 * crypt/Makefile [$(build-bounded) = yes]
22903 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22904 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22905 append to variable.
22906 [$(build-bounded) = yes] (install-lib): Likewise.
22907 [$(build-bounded) = yes] (generated): Likewise.
22908 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22910 * intl/Makefile [$(build-bounded) = yes]
22911 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22912 * math/Makefile [$(build-bounded) = yes]
22913 ($(tests:%=$(objpfx)%-bp): Likewise.
22914 * misc/Makefile [$(build-bounded) = yes]
22915 ($(objpfx)tst-tsearch-bp): Likewise.
22916 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22917 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22919 * string/Makefile (o-objects.ob): Remove variable.
22920 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22921 (CFLAGS-.ob): Remove variable.
22922 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22923 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22924 both definitions of variable.
22925 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22926 (ASFLAGS-.ob): Remove variable.
22928 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22931 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22932 Remove __BOUNDED_POINTERS__ from condition.
22933 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22934 * string/bits/string2.h [!__NO_STRING_INLINES &&
22935 !__BOUNDED_POINTERS__]: Likewise.
22936 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22938 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22939 Remove conditional code.
22940 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22941 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22942 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22946 * csu/libc-start.c: Do not include <bp-sym.h>.
22947 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22948 * elf/dl-open.c: Do not include <bp-sym.h>.
22949 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22950 * math/fegetenv.c: Do not include <bp-sym.h>.
22951 (fegetenv): Do not use BP_SYM in versioned symbols.
22952 * nptl/sysdeps/pthread/bits/libc-lockP.h
22953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22956 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22958 (__pthread_mutex_destroy): Likewise.
22959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22960 (__pthread_mutex_lock): Likewise.
22961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22962 (__pthread_mutex_trylock): Likewise.
22963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22964 (__pthread_mutex_unlock): Likewise.
22965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22966 (__pthread_mutexattr_init): Likewise.
22967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22968 (__pthread_mutexattr_destroy): Likewise.
22969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22970 (__pthread_mutexattr_settype): Likewise.
22971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22972 (__pthread_rwlock_init): Likewise.
22973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22974 (__pthread_rwlock_destroy): Likewise.
22975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22976 (__pthread_rwlock_rdlock): Likewise.
22977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22978 (__pthread_rwlock_tryrdlock): Likewise.
22979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22980 (__pthread_rwlock_wrlock): Likewise.
22981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22982 (__pthread_rwlock_trywrlock): Likewise.
22983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22984 (__pthread_rwlock_unlock): Likewise.
22985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22986 (__pthread_key_create): Likewise.
22987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22988 (__pthread_setspecific): Likewise.
22989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22990 (__pthread_getspecific): Likewise.
22991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22994 (_pthread_cleanup_push_defer): Likewise.
22995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22996 (_pthread_cleanup_pop_restore): Likewise.
22997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22998 (pthread_setcancelstate): Likewise.
22999 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23001 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23002 (memchr): Do not use BP_SYM in weak_alias.
23003 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23004 (fegetenv): Do not use BP_SYM in versioned symbols.
23005 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23006 (fesetenv): Do not use BP_SYM in versioned symbols.
23007 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23008 (feupdateenv): Do not use BP_SYM in versioned symbols.
23009 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23010 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23011 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23012 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23013 (open64): Do not use BP_SYM in weak_alias.
23014 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23015 (fegetenv): Do not use BP_SYM in versioned symbols.
23016 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23017 (fesetenv): Do not use BP_SYM in versioned symbols.
23018 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23019 (feupdateenv): Do not use BP_SYM in versioned symbols.
23020 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23021 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23022 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23023 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23024 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23025 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23026 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23028 (__libc_start_main): Do not use BP_SYM.
23030 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23033 redundant return line.
23035 (denorm): Likewise.
23036 (dbl_mp): Likewise.
23037 (sub_magnitudes): Likewise.
23043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23045 (denorm): Likewise.
23046 (dbl_mp): Likewise.
23047 (sub_magnitudes): Likewise.
23054 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23056 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23057 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23060 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23061 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23062 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23063 of __mul for squares.
23064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23068 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23069 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23071 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23074 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23076 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23077 prototype or function definition. Rename ubp_* variables and
23078 parameters. Remove argv definitions conditional on
23079 [__BOUNDED_POINTERS__].
23080 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23081 * elf/dl-runtime.c (_dl_fixup): Likewise.
23082 * include/set-hooks.h (RUN_HOOK): Likewise.
23083 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23085 * string/strcpy.c (strcpy): Do not use __unbounded.
23086 * sysdeps/generic/frame.h (struct layout): Likewise.
23087 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23088 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23089 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23090 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23091 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23092 (__backtrace): Likewise.
23093 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23095 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23096 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23097 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23099 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23100 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23101 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23102 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23103 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23104 Do not use __unbounded.
23105 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23106 Rename __unboundedrlimits parameter to rlimits in prototype.
23107 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23108 Do not use __unbounded.
23109 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23110 not use __ptrvalue.
23111 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23112 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23113 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23114 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23115 __ptrvalue or __unbounded.
23116 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23117 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23119 (__new_msgctl): Do not use __ptrvalue.
23120 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23122 (__libc_msgrcv): Do not use __ptrvalue.
23123 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23124 startup_info): Do not use __unbounded.
23125 (__libc_start_main): Likewise. Rename ubp_* variables and
23126 parameters. Remove argv definitions conditional on
23127 [__BOUNDED_POINTERS__].
23128 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23130 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23132 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23134 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23136 (__new_shmctl): Do not use __ptrvalue.
23137 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23138 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23140 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23141 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23142 (__libc_sigaction): Likewise.
23143 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23144 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23146 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23148 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23150 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23152 * string/mempcpy.c: Implement by calling memcpy.
23154 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23156 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23158 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23161 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23162 values in the mantissa.
23164 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23165 minimize writes to Z.
23166 (sub_magnitudes): Simplify code a bit.
23168 2013-02-12 Roland McGrath <roland@hack.frob.com>
23170 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23171 from the message. The linker prefixes all warnings with that already.
23173 2013-02-12 Andreas Schwab <schwab@suse.de>
23176 * posix/regexec.c (extend_buffers): Add parameter min_len.
23177 (check_matching): Pass minimum needed length.
23178 (clean_state_log_if_needed): Likewise.
23179 (get_subexp): Likewise.
23180 * posix/Makefile (tests): Add bug-regex34.
23181 (bug-regex34-ENV): Define.
23182 * posix/bug-regex34.c: New file.
23185 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23186 elements compare against the byte sequence of it, not its name.
23187 * posix/Makefile (tests): Add bug-regex35.
23188 (bug-regex35-ENV): Define.
23189 * posix/bug-regex35.c: New file.
23191 2013-02-11 Tom de Vries <tom@codesourcery.com>
23193 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23195 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23196 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23197 (CHECK_EOL): Add undef.
23199 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23201 * bits/stdlib-bsearch.h: New file.
23202 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23203 * stdlib/stdlib.h: Likewise.
23205 2013-02-11 Roland McGrath <roland@hack.frob.com>
23207 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23208 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23210 * manual/search.texi (Array Search Function): Add missing const in
23212 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23213 declaration to use rlim_t.
23214 (Basic Scheduling Functions): Remove erroneous const from
23215 sched_getparam prototype. Remove erroneous * from
23216 sched_get_priority_max and sched_get_priority_min prototypes.
23217 (Resource Usage): Fix summary @comment on vtimes to refer to
23218 sys/vtimes.h rather than vtimes.h.
23219 Add missing *s in vtimes prototype.
23220 (Limits on Resources): Fix ulimit prototype to return long int.
23221 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23222 prototypes to use long int rather than double.
23223 (BSD Random): Fix initstate and setstate to use char *, not void *.
23224 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23225 prototype to make second argument 'struct aiocb64 *const[]'.
23226 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23227 (Status of AIO Operations): Remove erroneous const in aio_return and
23228 aio_return64 prototypes.
23229 (Synchronizing I/O): Fix sync prototype to return void.
23230 * manual/startup.texi (Suboptions): Remove an erroneous const in
23231 getsubopt prototype.
23232 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23233 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23234 use size_t rather than int.
23235 (Scanning All Users): Likewise for getpwent_r.
23236 (Setting Groups): Add missing const to setgroups prototype.
23237 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23238 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23239 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23240 'const void *' rather than 'const char *'.
23241 (Host Address Functions): Likewise for inet_ntop.
23242 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23243 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23244 ssize_t for return value.
23245 (Sending Data): Likewise for send, sendto, sendmsg.
23246 (Socket Option Functions): Add a missing const in setsockopt prototype.
23247 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23248 use wchar_t for the argument.
23249 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23250 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23252 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23253 double/float/long double for second argument.
23254 Fix return types of significand, significandf, significandl.
23255 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23256 argument in fchmod prototype.
23257 (File Owner): Use uid_t and gid_t in fchown prototype.
23258 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23259 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23260 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23261 use 'const struct dirent **' as argument types to CMP function pointer
23263 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23264 (File Times): Fix summary magic @comment for struct utimbuf and utime
23265 to refer to utime.h, not time.h.
23266 * manual/string.texi (Argz Functions): Add missing const in
23267 argz_extract and argz_next prototypes.
23268 (Finding Tokens in a String): Likewise for basename.
23269 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23270 (Copying and Concatenation): Fix typo in wmemmove prototype.
23271 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23272 (Signal Stack): Remove erroneous const in sigstack prototype.
23273 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23275 (Simple Calendar Time): Likewise for stime.
23276 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23278 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23279 say sys/sysctl.h instead.
23280 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23281 and vsyslog prototypes.
23283 2013-02-11 Tom de Vries <tom@codesourcery.com>
23285 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23288 2013-02-11 Roland McGrath <roland@hack.frob.com>
23290 * misc/sys/mman.h: Fix typo in mremap comment.
23292 2013-02-08 Roland McGrath <roland@hack.frob.com>
23294 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23295 the '\0' terminator.
23297 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23300 * debug/segfault.c: Don't include <bp-checks.h>.
23301 * sysdeps/generic/bp-checks.h: Remove file.
23302 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23303 (__GETDENTS): Don't use CHECK_N.
23304 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23305 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23306 (__getgroups): Don't use CHECK_N.
23307 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23308 (setgroups): Don't use CHECK_N.
23309 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23310 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23311 (__libc_msgrcv): Don't use CHECK_N.
23312 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23313 (__libc_msgsnd): Don't use CHECK_N.
23314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23316 (__libc_pread): Don't use CHECK_N.
23317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23318 include <bp-checks.h>.
23319 (__libc_pread64): Don't use CHECK_N.
23320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23321 include <bp-checks.h>.
23322 (__libc_pwrite): Don't use CHECK_N.
23323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23324 include <bp-checks.h>.
23325 (__libc_pwrite64): Don't use CHECK_N.
23326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23328 (__libc_pread): Don't use CHECK_N.
23329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23330 include <bp-checks.h>.
23331 (__libc_pread64): Don't use CHECK_N.
23332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23333 include <bp-checks.h>.
23334 (__libc_pwrite): Don't use CHECK_N.
23335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23336 include <bp-checks.h>.
23337 (__libc_pwrite64): Don't use CHECK_N.
23338 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23339 (do_pread): Don't use CHECK_N.
23340 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23341 (do_pread64): Don't use CHECK_N.
23342 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23343 (do_pwrite): Don't use CHECK_N.
23344 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23345 (do_pwrite64): Don't use CHECK_N.
23346 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23347 (__libc_readv): Don't use CHECK_N.
23348 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23349 (semop): Don't use CHECK_N.
23350 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23352 (semtimedop): Don't use CHECK_N.
23353 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23354 (__libc_pread): Don't use CHECK_N.
23355 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23357 (__libc_pread64): Don't use CHECK_N.
23358 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23360 (__libc_pwrite): Don't use CHECK_N.
23361 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23363 (__libc_pwrite64): Don't use CHECK_N.
23364 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23366 (__libc_msgrcv): Don't use CHECK_N.
23367 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23368 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23369 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23370 (__libc_writev): Don't use CHECK_N.
23372 2013-02-08 Roland McGrath <roland@hack.frob.com>
23374 * string/strcpy.c: Removed unused variable.
23376 * Makeconfig (+sysdep-includes): Define with := rather than =.
23377 Use an existing include/ subdir of each sysdeps dir before it.
23379 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23381 * nscd/connection.c (register_traced_file): Comment function.
23382 [HAVE_INOTIFY] (union __inev): Define.
23383 [HAVE_INOTIFY] (inotify_check_files): New function.
23384 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23385 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23387 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23389 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23391 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23392 loaded if not already and that a failure is permanent.
23394 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23397 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23398 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23400 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23403 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23404 (CHECK_1_NULL_OK): Likewise.
23405 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23406 (__fxstat): Do not use CHECK_1.
23407 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23409 (___fxstat64): Do not use CHECK_1.
23410 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23412 (__fxstatat): Do not use CHECK_1.
23413 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23415 (__fxstatat64): Do not use CHECK_1.
23416 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23418 (__fxstat): Do not use CHECK_1.
23419 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23421 (__fxstatat): Do not use CHECK_1.
23422 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23424 (__getresgid): Do not use CHECK_1.
23425 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23427 (__getresuid): Do not use CHECK_1.
23428 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23430 (__lxstat): Do not use CHECK_1.
23431 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23433 (__old_msgctl): Do not use CHECK_1.
23434 (__new_msgctl): Likewise.
23435 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23437 (__new_setrlimit): Do not use CHECK_1.
23438 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23440 (__old_shmctl): Do not use CHECK_1.
23441 (__new_shmctl): Likewise.
23442 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23444 (__xstat): Do not use CHECK_1.
23445 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23446 (__lxstat): Do not use CHECK_1.
23447 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23449 (___lxstat64): Do not use CHECK_1.
23450 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23451 (__old_msgctl): Do not use CHECK_1.
23452 (__new_msgctl): Likewise.
23453 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23455 (__gettimeofday): Do not use CHECK_1.
23456 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23457 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23458 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23460 (__gettimeofday): Do not use CHECK_1.
23461 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23462 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23463 (__new_shmctl): Do not use CHECK_1.
23464 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23466 (do_sigtimedwait): Do not use CHECK_1.
23467 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23469 (do_sigwaitinfo): Do not use CHECK_1.
23470 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23472 (msgctl): Do not use CHECK_1.
23473 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23475 (shmctl): Do not use CHECK_1.
23476 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23477 (ustat): Do not use CHECK_1.
23478 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23480 (__fxstat): Do not use CHECK_1.
23481 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23483 (__fxstatat): Do not use CHECK_1.
23484 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23486 (__lxstat): Do not use CHECK_1.
23487 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23489 (__xstat): Do not use CHECK_1.
23490 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23491 (__xstat): Do not use CHECK_1.
23492 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23493 (___xstat64): Do not use CHECK_1.
23496 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23498 (CHECK_BOUNDS_HIGH): Likewise.
23499 * string/strcpy.c: Do not include <bp-checks.h>.
23500 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23502 2013-02-07 Roland McGrath <roland@hack.frob.com>
23504 * nscd/nscd-client.h (__nscd_drop_map_ref):
23505 Add __attribute__ ((unused)).
23506 * nis/nss-nisplus.h (niserr2nss): Likewise.
23508 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23509 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23511 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23512 Remove inline keyword.
23513 * include/rounding-mode.h (round_away): Likewise.
23514 * libio/wfileops.c (adjust_wide_data): Likewise.
23515 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23516 (__m128i_strloadu_tolower): Likewise.
23517 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23518 (__m128i_strloadu_tolower): Likewise.
23519 * time/mktime.c (ydhms_diff): Likewise.
23520 * locale/elem-hash.h (elem_hash): Likewise.
23521 * locale/setlocale.c (setdata): Likewise.
23522 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23523 (re_string_wchar_at): Likewise.
23524 (bitset_not, bitset_merge, bitset_mask): Likewise.
23525 [!(__GNUC__ > 3)] (inline): Remove macro.
23526 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23527 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23528 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23529 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23530 * string/memcmp.c (memcmp_bytes): Likewise.
23531 * locale/programs/locarchive.c (compute_hashval): Likewise.
23532 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23533 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23534 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23535 * nss/getent.c (print_rpc, print_protocols): Likewise.
23536 (print_passwd, print_group, print_aliases): Likewise.
23537 * nis/nss-nisplus.h (niserr2nss): Likewise.
23538 * nscd/connections.c (restart_p): Likewise.
23539 Change return type to bool.
23541 2013-02-05 Roland McGrath <roland@hack.frob.com>
23543 * Makeconfig (all-Depend-files): Add existing
23544 $(sorted-subdirs:=/Depend) files.
23545 (all-subdirs): Remove nss.
23546 * sysdeps/unix/inet/Subdirs: Add it here instead.
23547 * hesiod/Depend: New file.
23549 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23550 instead of calling alloca.
23552 * io/lseek.c (__lseek): Rename to __libc_lseek.
23553 Define __lseek as an alias.
23555 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23557 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23559 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23560 else clause and remove check for non-standard endianness.
23562 2013-02-04 David S. Miller <davem@davemloft.net>
23564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23566 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23569 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23570 (__ubp_memchr): Remove prototype.
23571 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23572 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23573 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23574 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23575 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23577 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23578 (__ubp_memchr): Likewise.
23579 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23580 (__ubp_memchr): Likewise.
23581 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23582 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23583 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23584 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23586 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23587 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23588 (__getcwd): Do not use CHECK_STRING.
23589 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23591 (__real_chown): Do not use CHECK_STRING.
23592 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23594 (fchownat): Do not use CHECK_STRING.
23595 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23597 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23599 (__lchown): Do not use CHECK_STRING.
23600 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23601 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23602 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23603 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23605 include <bp-checks.h>.
23606 (truncate64): Do not use CHECK_STRING.
23607 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23609 (__real_chown): Do not use CHECK_STRING.
23610 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23612 (__lchown): Do not use CHECK_STRING.
23613 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23615 (__chown): Do not use CHECK_STRING.
23616 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23618 (truncate64): Do not use CHECK_STRING.
23619 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23621 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23622 (__xmknod): Do not use CHECK_STRING.
23623 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23625 (__xmknodat): Do not use CHECK_STRING.
23626 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23627 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23629 2013-02-04 Andreas Schwab <schwab@suse.de>
23632 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23633 * include/netdb.h: Likewise for h_errno.
23634 * elf/tst-stackguard1.c: Include <tls.h>.
23636 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23638 * elf/link.h (struct link_map): Extend the l_addr comment.
23639 * include/link.h (struct link_map): Likewise.
23641 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23644 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23645 (BOUNDED_1): Remove macro.
23646 * debug/backtrace.c: Don't include <bp-checks.h>.
23647 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23648 (__backtrace): Likewise.
23649 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23651 (__backtrace): Don't use BOUNDED_1.
23652 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23654 (__backtrace): Don't use BOUNDED_1.
23655 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23656 (__backtrace): Don't use BOUNDED_1.
23657 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23658 (shmat): Don't use BOUNDED_N.
23660 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23663 * sysdeps/generic/bp-start.h: Remove file.
23664 * csu/libc-start.c: Don't include <bp-start.h>.
23665 (LIBC_START_MAIN): Set up __environ directly instead of using
23666 INIT_ARGV_and_ENVIRON.
23667 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23671 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23673 (CHECK_FCNTL): Likewise.
23674 (CHECK_N_PAGES): Likewise.
23677 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23679 (CHECK_SIGSET_NULL_OK): Likewise.
23680 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23682 (sigpending): Don't use CHECK_SIGSET.
23683 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23685 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23686 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23688 (do_sigsuspend): Don't use CHECK_SIGSET.
23689 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23691 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23692 (do_sigwait): Don't use CHECK_SIGSET.
23693 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23695 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23696 include <bp-checks.h>.
23697 (sigpending): Don't use CHECK_SIGSET.
23698 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23699 include <bp-checks.h>.
23700 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23701 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23703 (sigpending): Don't use CHECK_SIGSET.
23704 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23706 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23709 * sysdeps/generic/bp-semctl.h: Remove file.
23710 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23711 <bp-checks.h> and <bp-semctl.h>.
23712 (__old_semctl): Don't use CHECK_SEMCTL.
23713 (__new_semctl): Likewise.
23714 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23716 (__old_semctl): Don't use CHECK_SEMCTL.
23717 (__new_semctl): Likewise.
23718 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23719 <bp-checks.h> and <bp-semctl.h>.
23720 (__old_semctl): Don't use CHECK_SEMCTL.
23721 (__new_semctl): Likewise.
23722 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23723 <bp-checks.h> and <bp-semctl.h>.
23724 (semctl): Don't use CHECK_SEMCTL.
23727 * Makerules (elide-bp-thunks): Remove variable.
23728 (elide-routines.oS): Don't use $(elide-bp-thunks).
23729 (elide-routines.os): Likewise.
23730 (elide-routines.o): Likewise.
23731 (elide-routines.op): Likewise.
23732 (elide-routines.og): Likewise.
23733 (objects): Don't use $(bp-thunks).
23734 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23736 (common-generated): Do not add s-proto-bp.d.
23737 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23740 Do not generate makefile rules for bounded-pointer thunks.
23741 * sysdeps/generic/bp-thunks.h: Remove file.
23742 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23743 * sysdeps/unix/s-proto-bp.S: Likewise.
23746 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23747 parts of result separately when argument is not close to line from
23748 -i to i and one part of argument is small.
23749 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23750 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23751 * math/libm-test.inc (cacos_test): Add more tests.
23752 (casin_test): Likewise.
23753 (casinh_test): Likewise.
23754 * sysdeps/i386/fpu/libm-test-ulps: Update.
23755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23757 2013-01-31 David S. Miller <davem@davemloft.net>
23759 * po/de.po: Update from translation team.
23761 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23763 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23765 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23767 * configure.in (_AC_PROG_CC_C89): New definition.
23768 * configure: Regenerate.
23770 * configure.in (AC_PROG_CPP): New definition.
23771 * configure: Regenerate.
23773 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23775 * debug/tst-backtrace.h: New file.
23776 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23777 (ret): Remove variable.
23779 (FAIL): Remove macro.
23780 (NO_INLINE): Likewise.
23781 (fn1): Use match function instead of strstr.
23782 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23783 (ret): Remove variable.
23785 (FAIL): Remove macro.
23786 (NO_INLINE): Likewise.
23787 (fn): Use match function instead of strstr.
23788 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23789 (ret): Remove variable.
23791 (FAIL): Remove macro.
23792 (NO_INLINE): Likewise.
23793 (handle_signal): Use match function instead of strstr.
23794 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23795 (ret): Remove variable.
23797 (FAIL): Remove macro.
23798 (NO_INLINE): Likewise.
23799 (handle_signal): Use match function instead of strstr.
23801 2013-01-23 Roland McGrath <roland@hack.frob.com>
23803 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23805 2013-01-23 David S. Miller <davem@davemloft.net>
23807 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23808 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23809 argument of CAS if possible.
23810 * sysdeps/sparc/sparc64/bits/atomic.h
23811 (__arch_compare_and_exchange_val_32_acq): Likewise.
23812 (__arch_compare_and_exchange_val_64_acq): Likewise.
23814 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23816 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23817 * sysdeps/posix/ulimit.c: ... this.
23818 Include <limits.h>.
23819 * sysdeps/unix/bsd/ulimit.c: Remove file.
23821 2013-01-23 Adam Conrad <adconrad@0c3.net>
23823 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23824 (LDFLAGS-tst-array5): Likewise.
23826 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23829 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23830 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23831 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23832 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23834 2013-01-21 David S. Miller <davem@davemloft.net>
23836 * sysdeps/sparc/backtrace.c: New file.
23837 * sysdeps/sparc/sparc32/backtrace.h: New file.
23838 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23839 * sysdeps/sparc/sparc64/backtrace.h: New file.
23840 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23841 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23844 2013-01-21 Andreas Schwab <schwab@suse.de>
23847 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23850 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23856 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23857 Mark Mitchell <mark@codesourcery.com>
23858 Tom de Vries <tom@codesourcery.com>
23859 Paul Pluzhnikov <ppluzhnikov@google.com>
23861 * debug/tst-backtrace2.c: New file.
23862 * debug/tst-backtrace3.c: Likewise.
23863 * debug/tst-backtrace4.c: Likewise.
23864 * debug/tst-backtrace5.c: Likewise.
23865 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23866 (CFLAGS-tst-backtrace3.c): Likewise.
23867 (CFLAGS-tst-backtrace4.c): Likewise.
23868 (CFLAGS-tst-backtrace5.c): Likewise.
23869 (LDFLAGS-tst-backtrace2): Likewise.
23870 (LDFLAGS-tst-backtrace3): Likewise.
23871 (LDFLAGS-tst-backtrace4): Likewise.
23872 (LDFLAGS-tst-backtrace5): Likewise.
23873 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23874 tst-backtrace4 and tst-backtrace5.
23876 2013-01-18 Anton Blanchard <anton@samba.org>
23877 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23879 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23880 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23881 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23882 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23884 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23885 "+r" and remove output regs list as redundant. Add explicit inline
23886 asm to specify register of return val to work around compiler codegen
23887 bug. Remove (int) cast on return value. Add return type parameter to
23888 use in macro so that this macro does not truncate return value for
23890 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23891 pass to INTERNAL_VSYSCALL_NCS.
23892 (INLINE_VSYSCALL): Add 'long int' as return type to
23893 INTERNAL_VSYSCALL_NCS macro invocation.
23894 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23895 INTERNAL_VSYSCALL_NCS macro invocation.
23896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23898 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23901 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23902 Fix application of SIMD FP exception mask.
23904 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23905 mp_no from a power of two.
23906 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23907 __mpexp_twomm1. Use __pow_mp.
23909 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23912 2013-01-17 David S. Miller <davem@davemloft.net>
23914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23916 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23919 * include/complex.h: Condition contents on [!_COMPLEX_H].
23920 (__kernel_casinhf): New prototype.
23921 (__kernel_casinh): Likewise.
23922 (__kernel_casinhl): Likewise.
23923 * math/Makefile (libm_calls): Add k_casinh.
23924 * math/k_casinh.c: New file.
23925 * math/k_casinhf.c: Likewise.
23926 * math/k_casinhl.c: Likewise.
23927 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23928 finite nonzero arguments.
23929 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23930 finite nonzero arguments.
23931 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23932 finite nonzero arguments.
23933 * math/s_casinh.c: Do not include <float.h>.
23934 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23935 * math/s_casinhf.c: Do not include <float.h>.
23936 (__casinhf): Move code for finite nonzero arguments to
23938 * math/s_casinhl.c: Do not include <float.h>.
23939 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23941 (__casinhl): Move code for finite nonzero arguments to
23943 * math/libm-test.inc (cacos_test): Add more tests.
23944 * sysdeps/i386/fpu/libm-test-ulps: Update.
23945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23947 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23949 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23950 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23951 [!HAVE_MREMAP]: Remove [defined linux] case.
23952 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23954 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23956 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23958 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23960 * elf/elf.h (R_386_SIZE32): New relocation.
23961 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23963 (elf_machine_rela): Likewise.
23964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23965 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23967 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23969 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23970 (FP_FAST_FMA): Do not define.
23971 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23972 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23973 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23974 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23975 !_SOFT_FLOAT]: Likewise.
23976 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23977 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23979 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23980 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23981 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23982 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23983 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23984 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23987 2013-01-16 Andreas Schwab <schwab@suse.de>
23990 * include/stdlib.h (__mktemp): Add declaration.
23991 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23992 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23994 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23996 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23998 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23999 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24000 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24002 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24003 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24005 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24007 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24008 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24009 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24011 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24012 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24014 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24016 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24018 2013-01-15 David S. Miller <davem@davemloft.net>
24020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24021 trunc{,f} to libm-sysdep_routes.
24022 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24032 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24033 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24034 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24035 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24036 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24037 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24040 nearbyint{,f} to libm-sysdep_routes.
24041 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24052 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24054 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24055 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24057 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24058 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24059 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24061 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24062 libc_feholdexcept and libc_fesetenv.
24064 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24066 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24068 2013-01-14 David S. Miller <davem@davemloft.net>
24070 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24071 (SPARC_ASM_VIS2_IFUNC): Likewise.
24072 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24074 use of 'siam' instruction.
24075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24108 routines to libm-sysdep_routines.
24109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24112 fdim/fdimf to libm-sysdep_routines.
24113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24121 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24122 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24123 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24124 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24126 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24128 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24129 to optimize copies.
24131 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24135 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24136 local variable MPTWO.
24137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24140 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24142 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24145 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24147 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24149 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24151 * manual/pattern.texi (glob_t): Document gl_flags.
24152 (glob64_t): Likewise.
24154 2013-01-11 David S. Miller <davem@davemloft.net>
24156 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24157 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24158 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24159 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24160 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24161 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24162 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24163 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24164 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24165 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24166 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24167 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24168 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24170 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24171 sparc V9 rather than using V8 code.
24172 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24173 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24175 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24177 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24180 2013-01-11 Roland McGrath <roland@hack.frob.com>
24182 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24183 not in the main loop.
24184 * configure: Regenerated.
24186 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24188 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24189 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24191 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24192 [!__GLIBC_HAVE_LONG_LONG] case.
24193 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24194 condition to just #else.
24195 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24196 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24197 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24198 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24200 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24201 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24202 #elif condition to just #else.
24203 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24204 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24205 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24206 #elif condition to just #else.
24208 2013-01-11 Steve Ellcey <sellcey@mips.com>
24210 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24211 (EF_MIPS_ARCH_64): Fix value.
24212 (EF_MIPS_ARCH_32R2): New.
24213 (EF_MIPS_ARCH_64R2): New.
24215 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24217 * Makeconfig (+link-pie-before-libc): New.
24218 (+link-pie-after-libc): Likewise.
24219 (+link-pie-tests): Likewise.
24220 (+link-pie): Rewritten.
24221 (link-before-libc): Remove $(config-LDFLAGS).
24222 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24223 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24224 (config-LDFLAGS): Renamed to ...
24225 (rtld-LDFLAGS): This.
24226 (rtld-tests-LDFLAGS): New macro.
24227 (link-libc-rpath-link): Likewise.
24228 (link-libc-tests-rpath-link): Likewise.
24229 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24230 (link-libc): Prepand $(link-libc-rpath-link).
24231 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24232 (test-program-prefix): New macro.
24233 (test-via-rtld-prefix): Likewise.
24234 (test-program-cmd): Likewise.
24235 (host-test-program-cmd): Likewise.
24236 * Makefile ($(common-objpfx)testrun.sh): Replace
24237 $(run-program-prefix) with $(test-program-prefix).
24238 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24240 ($(common-objpfx)shlib.lds): Likewise.
24241 (build-module-helper): Likewise.
24242 ($(common-objpfx)format.lds): Likewise.
24243 * Rules (binaries-pie-tests): New.
24244 (binaries-pie-notests): Likewise.
24245 (binaries-pie): Rewritten.
24246 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24247 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24248 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24249 (make-test-out): Replace $(host-built-program-cmd) with
24250 $(host-test-program-cmd).
24251 * config.make.in (build-hardcoded-path-in-tests): New variable.
24252 * configure.in (--enable-hardcoded-path-in-tests): New configure
24254 (hardcoded_path_in_tests): New AC_SUBST.
24255 * configure: Regenerated.
24256 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24257 $(built-program-cmd) with $(test-program-cmd).
24258 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24259 (test_program_cmd): This.
24260 * elf/Makefile ($(objpfx)order.out): Run test with
24261 $(test-program-prefix).
24262 ($(objpfx)order2.out): Likewise.
24263 ($(objpfx)tst-initorder.out): Likewise.
24264 ($(objpfx)tst-initorder2.out): Likewise.
24265 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24266 $(test-program-cmd).
24267 ($(objpfx)tst-array1-static.out): Likewise.
24268 ($(objpfx)tst-array2.out): Likewise.
24269 ($(objpfx)tst-array3.out): Likewise.
24270 ($(objpfx)tst-array4.out): Likewise.
24271 ($(objpfx)tst-array5.out): Likewise.
24272 ($(objpfx)tst-array5-static.out): Likewise.
24273 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24274 $(test-program-cmd).
24275 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24276 $(run-program-prefix) with $(test-program-prefix).
24277 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24278 (test_program_prefix): This.
24279 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24280 $(run-program-prefix) with $(test-program-prefix).
24281 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24282 (test_program_prefix): This.
24283 * iconvdata/tst-tables.sh: Likewise.
24284 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24285 $(run-program-prefix) with $(test-program-prefix).
24286 ($(objpfx)tst-translit.out): Likewise.
24287 ($(objpfx)tst-gettext2.out): Likewise.
24288 ($(objpfx)tst-gettext4.out): Likewise.
24289 ($(objpfx)tst-gettext6.out): Likewise.
24290 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24291 (test_program_prefix): This.
24292 * intl/tst-gettext2.sh: Likewise.
24293 * intl/tst-gettext4.sh Likewise.
24294 * intl/tst-gettext6.sh: Likewise.
24295 * intl/tst-translit.sh: Likewise.
24296 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24297 with $(test-program-cmd).
24298 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24299 $(run-program-prefix) with $(test-program-prefix).
24300 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24301 (test_program_prefix): This.
24302 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24303 $(run-program-prefix) with $(test-program-prefix).
24304 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24305 (test_program_prefix): This.
24306 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24307 * posix/Makefile ($(objpfx)globtest.out): Replace
24308 $(run-via-rtld-prefix) and $(test-wrapper) with
24309 $(test-program-prefix) and $(test-via-rtld-prefix).
24310 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24311 $(test-program-prefix).
24312 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24313 $(host-test-program-cmd).
24314 (tst-spawn-ARGS): Likewise.
24315 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24316 $(test-program-prefix).
24317 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24318 (test_via_rtld_prefix): This.
24319 (test_wrapper): Renamed to ...
24320 (test_program_prefix): This.
24321 (run_program_prefix): Replaced by test_program_prefix.
24322 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24323 (test_program_prefix): This.
24324 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24325 with $(host-test-program-cmd).
24326 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24327 $(run-program-prefix) with $(test-program-prefix).
24328 ($(objpfx)tst-printf.out): Likewise.
24329 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24330 $(test-program-cmd).
24331 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24332 (test_program_prefix): This.
24333 * stdio-common/tst-unbputc.sh: Likewise.
24334 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24335 $(run-program-prefix) with $(test-program-prefix).
24336 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24337 (test_program_prefix): This.
24338 * string/Makefile ($(objpfx)tst-svc.out): Replace
24339 $(built-program-cmd) with $(test-program-cmd).
24341 2013-01-11 Andreas Jaeger <aj@suse.de>
24344 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24345 value. Sync with Linux 3.7.
24347 2013-01-10 David S. Miller <davem@davemloft.net>
24349 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24350 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24351 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24353 2013-01-10 Roland McGrath <roland@hack.frob.com>
24355 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24357 * configure: Regenerated.
24359 2013-01-10 David S. Miller <davem@davemloft.net>
24361 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24362 sparc V9 rather than using V8 code.
24363 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24364 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24366 2013-01-10 Roland McGrath <roland@hack.frob.com>
24368 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24369 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24370 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24371 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24372 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24373 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24374 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24375 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24376 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24377 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24378 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24379 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24380 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24381 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24382 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24383 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24384 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24385 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24386 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24387 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24388 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24389 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24390 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24391 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24392 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24393 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24394 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24396 2013-01-10 David S. Miller <davem@davemloft.net>
24398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24400 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24402 * posix/Makefile (tests-static): New variable.
24403 (tests): Add $(tests-static).
24404 (tst-exec-static-ARGS): New variable.
24405 (tst-spawn-static-ARGS): Likewise.
24406 * posix/tst-exec-static.c: New file.
24407 * posix/tst-spawn-static.c: Likewise.
24408 * posix/tst-exec.c: Support run directly.
24409 * posix/tst-spawn.c: Likewise.
24411 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24413 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24415 * math/bits/mathcalls.h (llrint): Likewise.
24416 (llround): Likewise.
24417 * stdlib/stdlib.h (struct drand48_data): Likewise.
24418 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24419 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24420 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24422 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24424 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24425 (elf_greg_t): Likewise.
24426 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24427 (__jmp_buf): Likewise.
24428 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24430 (llrint): Likewise, for all definitions.
24431 (llrintl): Likewise.
24433 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24434 Remove [__GNUC__] condition.
24435 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24436 condition to just [__USE_ISOC99].
24437 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24439 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24442 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24443 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24445 (_POSIX_V6_ILP32_OFF32): Likewise.
24446 (_XBS5_ILP32_OFF32): Likewise.
24447 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24448 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24450 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24452 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24454 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24455 doubles __mpexp_twomm1. Adjust usage.
24456 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24459 2013-01-10 Andreas Schwab <schwab@suse.de>
24462 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24463 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24465 2013-01-09 David S. Miller <davem@davemloft.net>
24468 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24469 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24470 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24471 (TCP_FASTOPEN): Define.
24472 (tcp_repair_opt): New structure.
24473 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24475 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24476 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24477 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24478 (tcp_cookie_transactions): New structure.
24480 2013-01-09 Anton Blanchard <anton@samba.org>
24482 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24483 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24484 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24485 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24487 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24489 * include/features.h (__USE_ANSI): Remove.
24491 2013-01-09 Roland McGrath <roland@hack.frob.com>
24493 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24495 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24497 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24499 * sysdeps/s390/fpu/libm-test-ulps: Update.
24501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24503 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24507 (denorm): Likewise.
24508 (__mp_dbl): Likewise.
24509 (__dbl_mp): Likewise.
24510 (add_magnitudes): Likewise.
24511 (sub_magnitudes): Likewise.
24517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24521 (denorm): Likewise.
24522 (__mp_dbl): Likewise.
24523 (__dbl_mp): Likewise.
24524 (add_magnitudes): Likewise.
24525 (sub_magnitudes): Likewise.
24531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24535 (denorm): Likewise.
24536 (__mp_dbl): Likewise.
24537 (__dbl_mp): Likewise.
24538 (add_magnitudes): Likewise.
24539 (sub_magnitudes): Likewise.
24546 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24548 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24549 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24550 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24551 2 && __USE_EXTERN_INLINES]: Likewise.
24553 2013-01-08 Andreas Jaeger <aj@suse.de>
24556 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24558 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24559 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24561 2013-01-07 Anton Blanchard <anton@samba.org>
24563 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24564 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24565 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24566 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24567 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24568 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24569 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24570 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24572 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24573 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24574 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24575 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24576 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24577 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24578 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24579 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24580 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24581 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24582 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24583 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24584 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24585 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24586 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24587 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24588 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24589 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24590 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24591 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24592 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24593 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24595 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24596 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24597 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24598 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24599 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24600 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24601 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24602 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24603 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24604 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24605 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24607 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24609 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24610 (__MALLOC_PMT): Likewise.
24611 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24612 [__GNUC__], only on [_LIBC].
24613 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24614 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24615 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24616 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24617 forward declaration.
24618 (realloc_hook_ini): Likewise.
24619 (memalign_hook_ini): Likewise.
24620 (__libc_memalign): Do not use __MALLOC_PMT in variable
24622 (__libc_valloc): Likewise.
24623 (__libc_pvalloc): Likewise.
24624 (__libc_calloc): Likewise.
24625 (__posix_memalign): Likewise.
24628 * math/s_casinh.c: Include <float.h>.
24629 (__casinh): Do not do computation with squaring and square root
24630 for large arguments.
24631 * math/s_casinhf.c: Include <float.h>.
24632 (__casinhf): Do not do computation with squaring and square root
24633 for large arguments.
24634 * math/s_casinhl.c: Include <float.h>.
24635 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24636 (__casinhl): Do not do computation with squaring and square root
24637 for large arguments.
24638 * math/libm-test.inc (casin_test): Add more tests.
24639 (casinh_test): Likewise.
24640 * sysdeps/i386/fpu/libm-test-ulps: Update.
24641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24643 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24645 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24646 (__x86_64_raw_data_cache_size): Likewise.
24647 (__x86_64_data_cache_size_half): Likewise.
24648 (__x86_64_raw_data_cache_size_half): Likewise.
24649 (__x86_64_shared_cache_size): Likewise.
24650 (__x86_64_raw_shared_cache_size): Likewise.
24651 (__x86_64_shared_cache_size_half): Likewise.
24652 (__x86_64_raw_shared_cache_size_half): Likewise.
24653 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24655 (__x86_data_cache_size): This.
24656 (__x86_64_raw_data_cache_size): Renamed to ...
24657 (__x86_raw_data_cache_size): This.
24658 (__x86_64_data_cache_size_half): Renamed to ...
24659 (__x86_data_cache_size_half): This.
24660 (__x86_64_raw_data_cache_size_half): Renamed to ...
24661 (__x86_raw_data_cache_size_half): This.
24662 (__x86_64_shared_cache_size): Renamed to ...
24663 (__x86_shared_cache_size): This.
24664 (__x86_64_raw_shared_cache_size): Renamed to ...
24665 (__x86_raw_shared_cache_size): This.
24666 (__x86_64_shared_cache_size_half): Renamed to ...
24667 (__x86_shared_cache_size_half): This.
24668 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24669 (__x86_raw_shared_cache_size_half): This.
24670 * sysdeps/x86_64/memcpy.S: Updated.
24671 * sysdeps/x86_64/memset.S: Likewise.
24672 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24673 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24674 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24676 2013-01-04 David S. Miller <davem@davemloft.net>
24678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24680 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24682 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24683 1 to avoid redefinition warning.
24684 (__USE_GNU): Don't define.
24685 (init_signaling_nan): Protoize.
24687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24689 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24691 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24693 (__cpymn): Likewise.
24694 (norm): Remove commented code.
24695 (denorm): Likewise.
24696 (__mp_dbl): Likewise.
24698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24699 (__cpymn): Likewise.
24700 (norm): Remove commented code.
24701 (denorm): Likewise.
24702 (__mp_dbl): Likewise.
24705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24706 mp_no value for 1.0 and 2.0.
24707 (norm): Use RADIXI instead of radixi.d.
24708 (denorm): Likewise.
24709 (__mul): Use 0.0 instead of zero.d.
24710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24711 mp_no value for 1.0 and 2.0.
24712 (norm): Use RADIXI instead of radixi.d.
24713 (denorm): Likewise.
24714 (__mul): Use 0.0 instead of zero.d.
24716 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24719 * math/s_casinh.c (__casinh): Reduce finite argument to first
24720 quadrant then set signs of results at the end.
24721 * math/s_casinhf.c (__casinhf): Likewise.
24722 * math/s_casinhl.c (__casinhl): Likewise.
24723 * math/libm-test.inc (casin_test): Add more tests.
24724 (casinh_test): Likewise.
24725 * sysdeps/i386/fpu/libm-test-ulps: Update.
24726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24728 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24730 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24732 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24734 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24736 (denorm): Likewise.
24737 (__mp_dbl): Likewise.
24740 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24741 and adjust the header comment.
24743 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24744 variable name from declaration.
24746 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24749 Initialize COMMON_CPUID_INDEX_7 element.
24750 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24751 (CPUID_RTM): Likewise.
24752 (HAS_RTM): Likewise.
24753 (COMMON_CPUID_INDEX_7): New enum.
24755 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24758 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24759 size is zero, record memory as freed.
24761 2013-01-03 Andreas Jaeger <aj@suse.de>
24763 * po/ia.po: Add new Interlingua translation.
24765 2012-01-03 Allan McRae <allan@archlinux.org>
24767 * locale/programs/localedef.c: Fix description of '--posix' flag.
24769 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24771 * NEWS: Update dates in second copyright notice.
24772 * README: Update copyright dates in example.
24773 * manual/libc.texinfo: Update copyright dates.
24774 * scripts/test-installation.pl: Update copyright date in --version
24777 * hurd/ctty-input.c: Fix copyright notice formatting.
24778 * hurd/ctty-output.c: Likewise.
24779 * hurd/dtable.c: Likewise.
24780 * hurd/hurd-raise.c: Likewise.
24781 * hurd/hurdprio.c: Likewise.
24782 * hurd/msgportdemux.c: Likewise.
24783 * misc/sys/file.h: Likewise.
24784 * misc/sys/ioctl.h: Likewise.
24785 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24786 * sysdeps/mach/hurd/chdir.c: Likewise.
24787 * sysdeps/mach/hurd/fchdir.c: Likewise.
24788 * sysdeps/mach/hurd/rename.c: Likewise.
24789 * sysdeps/mach/hurd/rmdir.c: Likewise.
24790 * sysdeps/mach/hurd/seekdir.c: Likewise.
24791 * sysdeps/mach/hurd/setsid.c: Likewise.
24792 * sysdeps/posix/wait3.c: Likewise.
24794 * All files with FSF copyright notices: Update copyright dates
24795 using scripts/update-copyrights.
24796 * intl/plural.c: Regenerated.
24797 * locale/programs/charmap-kw.h: Likewise.
24798 * locale/programs/locfile-kw.h: Likewise.
24800 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24802 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24805 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24806 calculation loop and add branch prediction.
24808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24809 check access beyond bounds of m1np.
24811 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24813 (__inv): Remove local variable MPTWO to use the global
24815 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24816 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24818 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24819 MP3HALFS static const.
24821 2013-01-01 David S. Miller <davem@davemloft.net>
24823 * po/ca.po: Update from translation team.
24825 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24827 * scripts/update-copyrights: New file.
24828 * Makeconfig: Reformat copyright notice.
24829 * ctype/ctype.h: Likewise.
24830 * debug/swprintf_chk.c: Likewise.
24831 * elf/dl-cache.c: Likewise.
24832 * elf/dl-debug.c: Likewise.
24833 * elf/dl-object.c: Likewise.
24834 * grp/initgroups.c: Likewise.
24835 * hurd/Makefile: Likewise.
24836 * hurd/hurd/signal.h: Likewise.
24837 * hurd/hurdfault.c: Likewise.
24838 * hurd/hurdioctl.c: Likewise.
24839 * hurd/hurdlookup.c: Likewise.
24840 * hurd/intr-msg.c: Likewise.
24841 * iconv/gconv_open.c: Likewise.
24842 * libio/swprintf.c: Likewise.
24843 * locale/lc-ctype.c: Likewise.
24844 * locale/nl_langinfo.c: Likewise.
24845 * mach/Machrules: Likewise.
24846 * mach/Makefile: Likewise.
24847 * malloc/obstack.h: Likewise.
24848 * manual/Makefile: Likewise.
24849 * manual/tsort.awk: Likewise.
24850 * misc/bits/stab.def: Likewise.
24851 * nis/nis_print_group_entry.c: Likewise.
24852 * nis/nis_table.c: Likewise.
24853 * nis/nss_compat/compat-pwd.c: Likewise.
24854 * nis/nss_compat/compat-spwd.c: Likewise.
24855 * po/Makefile: Likewise.
24856 * posix/fnmatch.c: Likewise.
24857 * posix/regex.h: Likewise.
24858 * resolv/Makefile: Likewise.
24859 * resolv/nss_dns/dns-network.c: Likewise.
24860 * resolv/res_hconf.c: Likewise.
24861 * scripts/gen-sorted.awk: Likewise.
24862 * soft-fp/soft-fp.h: Likewise.
24863 * stdio-common/printf.h: Likewise.
24864 * stdlib/monetary.h: Likewise.
24865 * stdlib/random.c: Likewise.
24866 * stdlib/random_r.c: Likewise.
24867 * sysdeps/generic/Makefile: Likewise.
24868 * sysdeps/gnu/Makefile: Likewise.
24869 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24870 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24871 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24873 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24876 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24877 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24878 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24879 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24880 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24881 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24882 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24883 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24884 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24885 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24886 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24888 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24889 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24890 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24891 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24892 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24893 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24894 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24895 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24896 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24897 * sysdeps/mach/hurd/errnos.awk: Likewise.
24898 * sysdeps/mach/hurd/fork.c: Likewise.
24899 * sysdeps/mach/hurd/getcwd.c: Likewise.
24900 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24901 * sysdeps/mach/hurd/mmap.c: Likewise.
24902 * sysdeps/mach/hurd/utimes.c: Likewise.
24903 * sysdeps/mach/hurd/xmknod.c: Likewise.
24904 * sysdeps/posix/profil.c: Likewise.
24905 * sysdeps/posix/readdir_r.c: Likewise.
24906 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24907 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24908 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24909 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24911 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24912 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24913 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24915 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24916 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24917 * sysdeps/pthread/lio_listio.c: Likewise.
24918 * sysdeps/sparc/dl-procinfo.h: Likewise.
24919 * sysdeps/unix/i386/sysdep.S: Likewise.
24920 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24921 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24922 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24923 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24925 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24926 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24927 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24928 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24929 * sysdeps/wordsize-32/divdi3.c: Likewise.
24930 * time/sys/time.h: Likewise.
24931 * wcsmbs/Makefile: Likewise.
24933 2013-01-01 David S. Miller <davem@davemloft.net>
24935 * po/fr.po: Update from translation team.
24937 * catgets/gencat.c: Update copyright year.
24938 * csu/version.c: Likewise.
24939 * debug/catchsegv.sh: Likewise.
24940 * debug/pcprofiledump.c: Likewise.
24941 * debug/xtrace.sh: Likewise.
24942 * elf/ldconfig.c: Likewise.
24943 * elf/ldd.bash.in: Likewise.
24944 * elf/pldd.c: Likewise.
24945 * elf/sotruss.ksh: Likewise.
24946 * elf/sprof.c: Likewise.
24947 * iconv/iconv_prog.c: Likewise.
24948 * iconv/iconvconfig.c: Likewise.
24949 * locale/programs/locale.c: Likewise.
24950 * locale/programs/localedef.c: Likewise.
24951 * login/programs/pt_chown.c: Likewise.
24952 * malloc/memusage.sh: Likewise.
24953 * malloc/memusagestat.c: Likewise.
24954 * malloc/mtrace.pl: Likewise.
24955 * nscd/nscd.c: Likewise.
24956 * nss/getent.c: Likewise.
24957 * nss/makedb.c: Likewise.
24958 * posix/getconf.c: Likewise.
24960 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24962 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24965 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24967 * math/bits/mathcalls.h (modf): Use __nonnull.
24969 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24971 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24972 (split): Use macro CN instead of the bare value.
24973 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24975 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24976 instead of the bare value.
24977 (power1): Likewise.
24979 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24981 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24983 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24985 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24987 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24988 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24989 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24990 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24992 2012-12-28 Andreas Jaeger <aj@suse.de>
24994 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24995 values are from Linux 3.7.
24997 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24998 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25000 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25002 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25005 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25007 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25008 variables with preprocessor constants.
25009 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25010 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25011 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25013 2012-12-27 Bruno Haible <bruno@clisp.org>
25016 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25019 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25021 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25022 and use variable directly.
25023 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25025 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25027 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25028 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25030 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25031 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25032 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25033 include directive. Remove local variable MPONE.
25034 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25035 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25036 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25038 2012-12-25 David S. Miller <davem@davemloft.net>
25040 * version.h (RELEASE): Set to "development".
25041 (VERSION): Set to "2.17.90".
25042 * NEWS: Add 2.18 section.
25044 2012-12-21 David S. Miller <davem@davemloft.net>
25046 * po/hr.po: Update from translation team.
25048 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25050 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25052 2012-12-19 Steve Ellcey <sellcey@mips.com>
25054 * NEWS: Mention new memcpy for MIPS.
25056 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25058 * manual/contrib.texi (Contributors): Spelling correction.
25060 2012-12-15 David S. Miller <davem@davemloft.net>
25062 * po/ru.po: Update from translation team.
25064 2012-12-13 David S. Miller <davem@davemloft.net>
25066 * NEWS: Mention IFUNC testsuite enhancements.
25068 * po/pl.po: Update from translation team.
25069 * po/bg.po: Likewise.
25071 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25072 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25074 2012-12-11 David S. Miller <davem@davemloft.net>
25076 * po/sv.po: Update from translation team.
25078 * po/vi.po: Update from translation team.
25080 * po/cs.po: Update from translation team.
25082 * po/de.po: Update from translation team.
25083 * po/eo.po: Likewise.
25084 * po/nl.po: Likewise.
25086 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25089 * manual/argp.texi (Argp Helper Functions): Move node to follow
25090 Argp Parsing State.
25093 * manual/conf.texi (Limits on File System Capacity): Mention if
25094 terminating null is included in the max size.
25096 2012-12-10 Andreas Jaeger <aj@suse.de>
25098 * po/cs.po: Update from translation team.
25100 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25102 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25103 void pointer and cast to uintptr_t.
25104 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25106 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25107 * sysdeps/s390/s390-64/memset.S: Likewise.
25109 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25112 * menual/message.texi (Message Translation): Fix typos.
25113 (Helper programs for gettext): Likewise.
25115 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25118 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25121 2012-12-07 David S. Miller <davem@davemloft.net>
25123 * po/libc.pot: Update.
25125 2012-12-07 Richard Henderson <rth@redhat.com>
25128 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25129 normal/normal case to before the switch.
25130 (_FP_DIV): Likewise.
25132 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25133 Mike Frysinger <vapier@gentoo.org>
25135 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25136 check for __NR_fadvise64_64.
25138 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25140 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25141 0, not just to plain "0" as a statement.
25142 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25145 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25147 * NEWS: Use sourceware.org in Bugzilla URL.
25149 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25152 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25154 * stdio-common/tst-put-error.c (do_test): Add newline to the
25155 padded test to ensure flush.
25157 2012-12-05 Jeff Law <law@redhat.com>
25159 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25161 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25163 * README: Don't refer to ports add-on as distributed separately.
25164 Mention AArch64 in list of systems supported in the ports add-on.
25166 * LICENSES: Add more non-FSF copyright and license notices.
25168 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25171 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25173 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25174 10000 as width of padded output.
25176 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25178 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25180 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25181 variable LX with __attribute__ ((unused)).
25182 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25184 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25185 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25186 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25187 with __attribute__ ((unused)).
25189 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25191 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25193 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25195 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25196 (CFLAGS-nldbl-acos.c): New variable.
25197 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25198 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25199 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25200 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25201 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25202 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25203 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25204 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25205 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25206 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25207 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25208 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25209 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25210 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25211 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25212 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25213 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25214 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25215 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25216 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25217 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25218 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25219 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25220 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25221 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25222 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25223 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25224 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25225 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25226 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25227 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25228 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25229 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25230 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25231 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25232 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25233 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25234 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25235 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25236 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25237 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25238 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25239 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25240 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25241 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25242 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25243 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25244 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25245 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25246 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25247 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25248 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25249 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25250 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25251 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25252 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25253 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25254 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25255 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25256 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25257 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25258 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25259 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25260 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25261 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25262 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25263 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25264 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25265 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25266 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25267 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25268 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25269 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25270 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25271 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25272 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25273 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25274 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25275 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25276 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25277 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25278 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25279 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25280 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25281 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25282 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25283 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25284 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25285 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25286 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25287 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25288 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25289 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25290 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25291 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25292 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25293 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25296 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25299 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25300 whole low double instead of just low 47 bits when splitting values
25303 2012-12-03 Allan McRae <allan@archlinux.org>
25305 * manual/stdio.texi (Predefined Printf Handlers): Remove
25306 @hsep and @vsep usage.
25308 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25310 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25311 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25313 2012-12-03 Jeff Law <law@redhat.com>
25315 * time/sys/time.h (settimeofday): Do not mark TV argument
25318 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25320 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25321 when currently writing and seek to current position when not.
25322 * libio/Makefile (tests): Remove bug-fclose1.
25323 * libio/bug-fclose1.c: Delete.
25325 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25327 * manual/arith.texi (feenableexcept): Fix typo.
25328 (fedisableexcept): Likewise.
25330 2012-11-30 Roland McGrath <roland@hack.frob.com>
25332 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25333 second, differently-typed declaration, rather than a cast.
25335 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25337 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25338 * include/rpc/svc.h: ... here.
25340 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25343 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25344 depending n and resplen2 to catch cases where answer
25347 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25349 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25350 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25352 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25354 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25356 2012-11-29 Roland McGrath <roland@hack.frob.com>
25358 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25360 2012-11-28 Jeff Law <law@redhat.com>
25363 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25364 dataset_temporary. Track alloca usage into alloca_used.
25365 If dataset is large allocate and release it via malloc/free.
25367 2012-06-04 Florian Weimer <fweimer@redhat.com>
25370 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25372 2012-11-28 David S. Miller <davem@davemloft.net>
25374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25376 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25379 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25380 of pi/2 rounded to nearest to 64 bits.
25381 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25382 nearest to 64 bits.
25383 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25386 2012-11-28 Jeff Law <law@redhat.com>
25387 Martin Osvald <mosvald@redhat.com>
25390 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25391 * sunrpc/svc.c: Include time.h.
25392 (__svc_accept_failed): New function.
25393 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25394 any reason other than EINTR, call __svc_accept_failed.
25395 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25396 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25398 2012-11-28 Andreas Schwab <schwab@suse.de>
25400 * scripts/abilist.awk: Also handle indirect functions in .opd
25403 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25406 * sysdeps/x86/fpu/powl_helper.c: New file.
25407 * sysdeps/x86/fpu/Makefile: Likewise.
25408 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25410 (__ieee754_powl): Use __powl_helper for finite arguments except
25411 integer exponents below 8.
25412 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25414 (__ieee754_powl): Use __powl_helper for finite arguments except
25415 integer exponents below 8.
25416 * math/libm-test.inc (pow_test): Add more tests and enable some
25417 previously disabled tests.
25418 * sysdeps/i386/fpu/libm-test-ulps: Update.
25419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25421 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25422 Carlos O'Donell <carlos_odonell@mentor.com>
25424 * nss/makedb.c (is_prime): Assert that input is odd and greater
25425 than 4. Note that fact in a comment too.
25426 (next_prime): Add 4 to input.
25428 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25431 * libio/Makefile (tests): Add test case tst-fwrite-error.
25432 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25433 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25434 * libio/tst-fwrite-error.c: New test case.
25436 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25438 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25439 before casting to void *.
25440 * include/libc-internal.h (__pointer_type): New macro.
25441 (__integer_if_pointer_type_sub): Likewise.
25442 (__integer_if_pointer_type): Likewise.
25443 (cast_to_integer): Likewise.
25444 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25445 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25446 before casting to atomic64_t.
25447 (atomic_exchange_acq): Likewise.
25448 (__arch_exchange_and_add_body): Likewise.
25449 (__arch_add_body): Likewise.
25450 (atomic_add_negative): Likewise.
25451 (atomic_add_zero): Likewise.
25453 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25455 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25456 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25457 (add_fdes): Likewise.
25458 (linear_search_fdes): Likewise.
25459 (binary_search_unencoded_fdes): Likewise.
25461 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25463 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25465 2012-11-24 Adam Conrad <adconrad@0c3.net>
25467 * configure.in: Autodetect C++ header directories.
25468 * configure: Regenerated.
25470 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25472 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25474 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25478 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25480 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25481 LDBL_MANT_DIG == 106]: Disable some tests.
25482 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25484 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25488 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25489 input for small inputs. Return +/- pi/2 for large inputs.
25490 * math/libm-test.inc (atan_test): Add more tests.
25492 * sysdeps/generic/unwind-dw2-fde-glibc.c
25493 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25494 __attribute__ ((unused)).
25497 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25498 x * y if x and y are nonzero and z is zero.
25501 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25502 nonzero exponents with absolute value below 0x1p-117 to +/-
25506 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25507 up arguments below 2**-450, not just those below 2**-500.
25508 * math/libm-test.inc (hypot_test): Add another test.
25511 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25512 Return a+b for ratio over 2**120, not 2**60.
25513 * math/libm-test.inc (hypot_test): Add another test.
25515 * math/libm-test.inc (clog_test): Use
25516 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25517 (clog10_test): Likewise.
25520 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25522 2012-11-22 Andreas Schwab <schwab@suse.de>
25524 * sysdeps/i386/fpu/libm-test-ulps: Update.
25526 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25528 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25529 printf output with newline.
25531 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25534 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25535 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25536 -z nodlopen, -z initfirst and -z execstack support.
25537 * configure: Regenerated.
25539 * elf/elf.h (DF_1_NODIRECT): New macro.
25540 (DF_1_IGNMULDEF): Likewise.
25541 (DF_1_NOKSYMS): Likewise.
25542 (DF_1_NOHDR): Likewise.
25543 (DF_1_EDITED): Likewise.
25544 (DF_1_NORELOC): Likewise.
25545 (DF_1_SYMINTPOSE): Likewise.
25546 (DF_1_GLOBAUDIT): Likewise.
25547 (DF_1_SINGLETON): Likewise.
25548 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25549 DT_1_SUPPORTED_MASK bits.
25550 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25552 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25554 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25556 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25558 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25561 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25562 (sendmmsg): Move declarations...
25563 * socket/sys/socket.h: ... here.
25564 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25565 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25567 * socket/recvmmsg.c: ... this new file.
25568 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25569 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25570 definition of __sendmmsg hidden.
25571 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25572 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25573 Move ENOSYS stub into and include it from...
25574 * socket/sendmmsg.c: ... this new file.
25575 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25576 (sysdep_routines): Move recvmmsg and sendmmsg...
25577 * socket/Makefile (routines): ... here.
25578 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25579 (GLIBC_PRIVATE): Add __sendmmsg.
25580 * include/sys/socket.h (__sendmmsg): Add declarations.
25581 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25584 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25586 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25587 variable I1 with __attribute__ ((unused)).
25588 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25590 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25592 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25593 DUMMY variables with __attribute__ ((unused)).
25595 * bits/byteswap.h: Include <bits/types.h>.
25596 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25598 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25600 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25601 string_t. Do not manually set errno.
25602 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25603 length with __strnlen. Make sure to both set errno and return it on
25606 2012-11-19 David S. Miller <davem@davemloft.net>
25608 With help from Joseph Myers.
25609 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25610 very large arguments properly.
25611 * math/libm-test.inc (atan_test): New tests.
25612 (atan2_test): New tests.
25613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25616 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25619 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25622 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25623 [POSIX] (EADDRNOTAVAIL): Likewise.
25624 [POSIX] (EAFNOSUPPORT): Likewise.
25625 [POSIX] (EALREADY): Likewise.
25626 [POSIX] (ECONNABORTED): Likewise.
25627 [POSIX] (ECONNREFUSED): Likewise.
25628 [POSIX] (ECONNRESET): Likewise.
25629 [POSIX] (EDESTADDRREQ): Likewise.
25630 [POSIX] (EDQUOT): Likewise.
25631 [POSIX] (EHOSTUNREACH): Likewise.
25632 [POSIX] (EIDRM): Likewise.
25633 [POSIX] (EISCONN): Likewise.
25634 [POSIX] (ELOOP): Likewise.
25635 [POSIX] (EMULTIHOP): Likewise.
25636 [POSIX] (ENETDOWN): Likewise.
25637 [POSIX] (ENETUNREACH): Likewise.
25638 [POSIX] (ENOBUFS): Likewise.
25639 [POSIX] (ENODATA): Likewise.
25640 [POSIX] (ENOLINK): Likewise.
25641 [POSIX] (ENOMSG): Likewise.
25642 [POSIX] (ENOPROTOOPT): Likewise.
25643 [POSIX] (ENOSR): Likewise.
25644 [POSIX] (ENOSTR): Likewise.
25645 [POSIX] (ENOTCONN): Likewise.
25646 [POSIX] (ENOTSOCK): Likewise.
25647 [POSIX] (EOPNOTSUPP): Likewise.
25648 [POSIX] (EOVERFLOW): Likewise.
25649 [POSIX] (EPROTO): Likewise.
25650 [POSIX] (EPROTONOSUPPORT): Likewise.
25651 [POSIX] (EPROTOTYPE): Likewise.
25652 [POSIX] (ESTALE): Likewise.
25653 [POSIX] (ETIME): Likewise.
25654 [POSIX] (ETXTBSY): Likewise.
25655 [POSIX] (EWOULDBLOCK): Likewise.
25656 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25657 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25658 [POSIX] (SEEK_CUR): Likewise.
25659 [POSIX] (SEEK_END): Likewise.
25660 [POSIX || UNIX98] (mode_t): Do not require.
25661 [POSIX] (off_t): Likewise.
25662 [POSIX] (pid_t): Likewise.
25663 [POSIX] (sys/stat.h): Do not allow header.
25664 [POSIX] (unistd.h): Likewise.
25665 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25666 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25667 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25668 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25670 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25671 sigevent): Specify elements.
25672 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25674 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25675 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25677 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25678 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25679 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25680 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25681 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25682 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25683 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25684 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25685 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25686 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25687 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25688 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25689 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25690 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25692 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25694 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25696 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25698 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25699 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25700 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25701 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25702 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25703 Specify lower bound on value.
25704 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25705 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25706 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25707 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25708 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25709 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25710 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25711 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25713 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25715 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25716 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25717 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25718 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25719 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25720 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25721 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25722 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25723 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25724 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25725 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25726 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25727 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25728 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25729 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25730 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25732 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25734 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25735 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25736 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25737 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25738 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25739 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25741 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25742 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25743 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25744 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25745 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25746 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25747 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25749 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25750 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25751 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25752 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25753 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25754 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25755 specify as optional.
25756 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25757 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25758 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25759 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25760 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25761 [XPG3] (NL_LANGMAX): Likewise.
25762 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25763 [POSIX || XPG3] (NL_NMAX): Likewise.
25764 [POSIX || XPG3] (NL_SETMAX): Likewise.
25765 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25766 [XPG3] (NZERO): Likewise.
25767 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25768 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25769 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25770 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25771 (REG_ERANGE): Expect.
25772 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25774 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25775 Use (void) in prototype.
25776 [POSIX] (*_t): Allow.
25777 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25778 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25779 (WRDE_BADVAL): Expect.
25781 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25783 [XPG3 || XPG4] (O_RSYNC): Likewise.
25784 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25786 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25787 [XPG3 || XPG4] (sigqueue): Likewise.
25788 [XPG3 || XPG4] (sigtimedwait): Likewise.
25789 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25790 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25791 [XPG3 || XPG4] (vsnprintf): Likewise.
25792 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25794 [XPG3 || XPG4] (blksize_t): Likewise.
25795 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25797 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25798 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25799 [XPG3 || XPG4] (struct itimerspec): Likewise.
25800 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25801 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25802 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25803 [XPG3 || XPG4] (clockid_t): Likewise.
25804 [XPG3 || XPG4] (timer_t): Likewise.
25805 [XPG3 || XPG4] (clock_getres): Likewise.
25806 [XPG3 || XPG4] (clock_gettime): Likewise.
25807 [XPG3 || XPG4] (clock_settime): Likewise.
25808 [XPG3 || XPG4] (nanosleep): Likewise.
25809 [XPG3 || XPG4] (timer_create): Likewise.
25810 [XPG3 || XPG4] (timer_delete): Likewise.
25811 [XPG3 || XPG4] (timer_gettime): Likewise.
25812 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25813 [XPG3 || XPG4] (timer_settime): Likewise.
25814 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25815 [XPG3 || XPG4] (getlogin_r): Likewise.
25816 [XPG3 || XPG4] (pread): Likewise.
25817 [XPG3 || XPG4] (pthread_atfork): Likewise.
25818 [XPG3 || XPG4] (pwrite): Likewise.
25821 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25824 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25826 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25827 finalizing MALLSTREAM.
25829 * sysdeps/mach/hurd/syncfs.c: New file.
25831 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25834 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25835 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25836 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25837 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25838 (_nss_dns_gethostbyname4_r): Likewise.
25839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25840 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25842 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25845 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25847 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25849 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25850 * elf/cache.c (print_entry): Print ",AArch64" for
25853 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25854 * elf/cache.c (print_entry): Print ",hard-float" for
25857 2012-11-18 David S. Miller <davem@davemloft.net>
25859 With help from Joseph Myers.
25860 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25862 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25864 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25865 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25867 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25868 * math/libm-test.inc (y0_test): New tests.
25869 (y1_test): New tests.
25870 * sysdeps/i386/fpu/libm-test-ulps: Update.
25871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25874 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25876 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25878 * configure: Regenerated.
25880 2012-11-17 David S. Miller <davem@davemloft.net>
25883 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25884 nonzero exponents with absolute value below 0x1p-128 to +/-
25887 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25889 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25891 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25893 * posix/getconf-speclist.c: New file.
25894 * posix/posix-envs.def: Likewise.
25895 * posix/confstr.c (START_ENV_GROUP): New macro.
25896 (END_ENV_GROUP): Likewise.
25897 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25898 (KNOWN_PRESENT_ENV_STRING): Likewise.
25899 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25900 (UNKNOWN_ENVIRONMENT): Likewise.
25901 (confstr): Include posix-envs.def instead of handling
25902 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25903 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25904 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25905 (END_ENV_GROUP): Likewise.
25906 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25907 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25908 (UNKNOWN_ENVIRONMENT): Likewise.
25909 (__sysconf): Include posix-envs.def instead of handling associated
25910 cases directly here.
25911 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25912 preprocessing getconf-speclist.c rather than running getconf or
25913 generating empty file.
25915 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25917 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25919 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25922 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25924 2012-11-16 David S. Miller <davem@davemloft.net>
25926 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25927 smaller than LDBL_EPSILON/2.0L, just return xm1.
25929 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25931 * elf/tst-array1.c (init): Set constructor priority to 1000.
25932 (fini): Set destructor priority to 1000.
25933 * elf/tst-array2dep.c: Likewise.
25935 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25938 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25939 (_IO_new_file_xsputn): Also return EOF if none of the input
25940 data was written when overflow failed.
25941 * libio/iopadn.c (_IO_padn): Likewise.
25942 * libio/iowpadn.c (_IO_wpadn): Likewise.
25943 * stdio-common/tst-put-error.c: Add copyright notice.
25944 (do_test): Add case for printing padded string.
25945 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25946 _IO_padn returned error.
25947 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25948 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25951 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25953 * libio/libioP.h: Add comment note that the references to C++
25954 bits are now obsolete.
25956 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25958 * math/libm-test.inc (check_complex): Use asprintf.
25960 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25962 * debug/pcprofiledump.c (print_version): Update copyright year.
25963 * malloc/memusagestat.c (print_version): Likewise.
25965 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25968 * elf/Makefile (tests): Add tst-audit8.
25969 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25970 ($(objpfx)tst-audit8.out): New target.
25971 (tst-audit8-ENV): New variable.
25972 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25973 audit if l_reloc_result is NULL.
25974 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25975 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25976 * elf/tst-audit8.c: New file.
25978 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25980 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25981 * misc/Makefile (CFLAGS-select.c): Define.
25982 * posix/Makefile (CFLAGS-pause.c): Define.
25984 2012-11-13 David S. Miller <davem@davemloft.net>
25986 * crypt/Makefile: Move test targets after toplevel Rules
25987 inclusion. Grab any necessary sysdep routines when linking.
25988 * crypt/md5.c (md5_process_block): Remove define, we will always
25989 name it __md5_process_block.
25990 (md5_finish_ctx): Update md5_process_block call.
25991 (md5_stream): Likewise.
25992 (md5_process_bytes): Likewise.
25993 (md5_process_block): Rename to __md5_process_block and move to ...
25994 * crypt/md5-block.c: ... here.
25995 * crypt/sha256.c (sha256_process_block): Move to ...
25996 * crypt/sha256-block.c: ... here.
25997 * crypt/sha512.c (sha512_process_block): Move to ...
25998 * crypt/sha512-block.c: ... here.
25999 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26001 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26002 * sysdeps/sparc/sparc64/multiarch/Makefile
26003 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26005 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26006 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26008 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26009 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26010 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26011 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26012 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26013 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26014 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26015 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26016 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26018 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26019 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26021 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26023 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26025 * timezone/tzselect.ksh: Update from tzcode git revision
26026 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26027 * timezone/zdump.c: Likewise.
26028 * timezone/zic.c: Likewise.
26029 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26030 in TZVERSION setting, not $(PKGVERSION).
26031 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26032 REPORT_BUGS_TO settings.
26035 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26038 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26040 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26041 detection to immediately after _FP_ROUND().
26042 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26045 2012-11-11 David S. Miller <davem@davemloft.net>
26047 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26049 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26050 __close rather than their public counterparts.
26052 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26054 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26056 [UNIX98] (sem_timedwait): Do not expect.
26057 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26058 [XPG4 || UNIX98] (sockatmark): Do not expect.
26059 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26060 (clock_getcpuclockid): Do not expect.
26061 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26062 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26064 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26065 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26066 [UNIX98] (vwscanf): Likewise.
26067 [UNIX98] (vswscanf): Likewise.
26069 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26071 * timezone/version.h: Remove file.
26072 * timezone/README: Do not refer to version.h.
26073 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26074 $(objpfx)version.h.
26075 ($(objpfx)zdump.o): Likewise.
26076 ($(objpfx)version.h): New target.
26078 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26080 * timezone/README: Don't mention modification to tzselect.ksh.
26081 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26082 work on unmodified tzselect.ksh. Substitute version numbers in
26085 * Makefile (format-me): Remove.
26086 (INSTALL): Adjust indentation. Use commands directly instead of
26087 using $(format-me).
26089 * aclocal.m4 (ACX_PKGVERSION): New macro.
26090 (ACX_BUGURL): Likewise.
26091 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26092 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26093 (REPORT_BUGS_TO): Likewise.
26094 * configure: Regenerated.
26095 * config.h.in (PKGVERSION): New macro.
26096 (REPORT_BUGS_TO): Likewise.
26097 * config.make.in (PKGVERSION): New variable.
26098 (PKGVERSION_TEXI): Likewise.
26099 (REPORT_BUGS_TO): Likewise.
26100 (REPORT_BUGS_TEXI): Likewise.
26101 * Makefile (format-me): Use -I$(common-objpfx)manual.
26102 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26103 ($(common-objpfx)manual/%): New target.
26104 (manual/%): Remove target.
26105 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26106 (print_version): Use PKGVERSION.
26107 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26108 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26109 and REPORT_BUGS_TO.
26110 ($(objpfx)xtrace): Likewise.
26111 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26112 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26113 (print_version): Use PKGVERSION.
26114 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26115 (do_version): Use PKGVERSION.
26116 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26118 (common-ldd-rewrite): Likewise.
26119 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26120 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26121 (print_version): Use PKGVERSION.
26122 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26123 * elf/pldd.c (argp_program_bug_address): Remove variable.
26124 (more_help): New function.
26125 (argp): Use more_help.
26126 (print_version): Use PKGVERSION.
26127 * elf/sln.c (main): Use PKGVERSION.
26128 (usage): Use REPORT_BUGS_TO.
26129 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26130 (top level): Use PKGVERSION.
26131 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26132 (print_version): Use PKGVERSION.
26133 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26134 (print_version): Use PKGVERSION.
26135 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26136 (print_version): Use PKGVERSION.
26137 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26138 (print_version): Use PKGVERSION.
26139 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26140 (print_version): Use PKGVERSION.
26141 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26142 (print_version): Use PKGVERSION.
26143 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26145 ($(objpfx)memusage): Likewise.
26146 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26147 (do_version): Use PKGVERSION.
26148 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26149 (print_version): Use PKGVERSION.
26150 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26151 ($PKGVERSION): New variable.
26152 ($REPORT_BUGS_TO): Likewise.
26153 (usage): Use $REPORT_BUGS_TO.
26154 (top level): Use $PKGVERSION.
26155 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26156 ($(objpfx)pkgvers.texi): New rule.
26157 ($(objpfx)stamp-pkgvers): Likewise.
26158 * manual/install.texi: Include pkgvers.texi.
26159 (--with-pkgversion): Document new configure option.
26160 (--with-bugurl): Likewise.
26161 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26162 than necessarily for this particular distribution. Use
26163 REPORT_BUGS_TO for where to report bugs.
26164 * INSTALL: Regenerated.
26165 * manual/libc.texinfo: Include pkgvers.texi.
26166 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26167 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26168 (print_version): Use PKGVERSION.
26169 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26170 (print_version): Use PKGVERSION.
26171 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26172 (print_version): Use PKGVERSION.
26173 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26174 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26176 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26177 (print_version): Use PKGVERSION.
26178 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26179 (print_version): Use PKGVERSION.
26180 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26183 * timezone/checktab.awk: Update from tzcode 2012i.
26184 * timezone/ialloc.c: Likewise.
26185 * timezone/private.h: Likewise.
26186 * timezone/scheck.c: Likewise.
26187 * timezone/tzfile.h: Likewise.
26188 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26189 (TZVERSION): Hardcode tzcode version number.
26190 * timezone/zdump.c: Update from tzcode 2012i.
26191 * timezone/zic.c: Likewise.
26192 * timezone/version.h: New file.
26193 * timezone/README: Describe version.h. Update upstream location.
26196 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26197 (mktemp): Enable declaration.
26198 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26199 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26200 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26201 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26203 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26205 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26207 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26209 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26211 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26215 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26216 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26217 for copies of such integer values.
26218 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26219 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26221 2012-11-09 Andreas Jaeger <aj@suse.de>
26223 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26224 definitions and declarations that are provided by
26225 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26227 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26229 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26230 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26231 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26234 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26236 * elf/elf.h: Update comment before AArch64 relocations.
26238 2012-11-07 David S. Miller <davem@davemloft.net>
26240 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26241 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26242 (__start_context): Declare.
26243 (__makecontext_ret): Delete.
26244 (__makecontext): Hook up __start_context instead of
26246 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26247 (sysdep_routines): Add __start_context when in stdlib.
26249 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26251 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26252 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26253 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26255 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26256 (READELF): New variable. Use it instead of hardcoded "readelf".
26258 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26260 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26261 * sysdeps/x86/Makefile: Here.
26262 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26263 * sysdeps/x86/tst-xmmymm.sh: This.
26265 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26267 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26269 [UNIX98] (pthread_barrier_t): Do not expect.
26270 [UNIX98] (pthread_barrierattr_t): Likewise.
26271 [UNIX98] (pthread_spinlock_t): Likewise.
26272 [UNIX98] (pthread_barrier_destroy): Likewise.
26273 [UNIX98] (pthread_barrier_init): Likewise.
26274 [UNIX98] (pthread_barrier_wait): Likewise.
26275 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26276 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26277 [UNIX98] (pthread_barrierattr_init): Likewise.
26278 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26279 [UNIX98] (pthread_getcpuclockid): Likewise.
26280 [UNIX98] (pthread_mutex_timedlock): Likewise.
26281 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26282 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26283 [UNIX98] (pthread_sigmask): Likewise.
26284 [UNIX98] (pthread_spin_destroy): Likewise.
26285 [UNIX98] (pthread_spin_init): Likewise.
26286 [UNIX98] (pthread_spin_lock): Likewise.
26287 [UNIX98] (pthread_spin_trylock): Likewise.
26288 [UNIX98] (pthread_spin_unlock): Likewise.
26289 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26291 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26292 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26293 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26294 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26295 [XPG3 || XPG4] (pthread_key_t): Likewise.
26296 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26297 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26298 [XPG3 || XPG4] (pthread_once_t): Likewise.
26299 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26300 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26301 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26302 [XPG3 || XPG4] (pthread_t): Likewise.
26304 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26306 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26308 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26309 Change function return type to int.
26311 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26312 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26313 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26314 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26315 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26316 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26317 [!POSIX] (posix_madvise): Likewise.
26318 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26320 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26321 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26322 (mode_t): Likewise.
26323 (posix_mem_offset): Likewise.
26324 (posix_typed_mem_get_info): Likewise.
26325 (posix_typed_mem_open): Likewise.
26327 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26328 Change condition to [XOPEN2K8].
26330 * conform/conformtest.pl: Preprocess allow-header data with -x c
26331 instead of from stdin.
26332 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26333 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26334 [C99-based standards] (cerfc): Likewise.
26335 [C99-based standards] (cexp2): Likewise.
26336 [C99-based standards] (cexpm1): Likewise.
26337 [C99-based standards] (clog10): Likewise.
26338 [C99-based standards] (clog1p): Likewise.
26339 [C99-based standards] (clog2): Likewise.
26340 [C99-based standards] (clgamma): Likewise.
26341 [C99-based standards] (ctgamma): Likewise.
26342 [C99-based standards] (cerff): Likewise.
26343 [C99-based standards] (cerfcf): Likewise.
26344 [C99-based standards] (cexp2f): Likewise.
26345 [C99-based standards] (cexpm1f): Likewise.
26346 [C99-based standards] (clog10f): Likewise.
26347 [C99-based standards] (clog1pf): Likewise.
26348 [C99-based standards] (clog2f): Likewise.
26349 [C99-based standards] (clgammaf): Likewise.
26350 [C99-based standards] (ctgammaf): Likewise.
26351 [C99-based standards] (cerfl): Likewise.
26352 [C99-based standards] (cerfcl): Likewise.
26353 [C99-based standards] (cexp2l): Likewise.
26354 [C99-based standards] (cexpm1l): Likewise.
26355 [C99-based standards] (clog10l): Likewise.
26356 [C99-based standards] (clog1pl): Likewise.
26357 [C99-based standards] (clog2l): Likewise.
26358 [C99-based standards] (clgammal): Likewise.
26359 [C99-based standards] (ctgammal): Likewise.
26360 * conform/data/inttypes.h-data [C99-based standards]: Include
26361 stdint.h-data. Remove all expectations for stdint.h contents.
26362 [C99-based standards] (PRI*): Do not allow.
26363 [C99-based standards] (SCN*): Likewise.
26364 [C99-based standards] (*_t): Likewise.
26365 [C99-based-standards] (PRId8): Expect macro.
26366 [C99-based-standards] (PRIi8): Likewise.
26367 [C99-based-standards] (PRIo8): Likewise.
26368 [C99-based-standards] (PRIu8): Likewise.
26369 [C99-based-standards] (PRIx8): Likewise.
26370 [C99-based-standards] (PRIX8): Likewise.
26371 [C99-based-standards] (SCNd8): Likewise.
26372 [C99-based-standards] (SCNi8): Likewise.
26373 [C99-based-standards] (SCNo8): Likewise.
26374 [C99-based-standards] (SCNu8): Likewise.
26375 [C99-based-standards] (SCNx8): Likewise.
26376 [C99-based-standards] (PRIdLEAST8): Likewise.
26377 [C99-based-standards] (PRIiLEAST8): Likewise.
26378 [C99-based-standards] (PRIoLEAST8): Likewise.
26379 [C99-based-standards] (PRIuLEAST8): Likewise.
26380 [C99-based-standards] (PRIxLEAST8): Likewise.
26381 [C99-based-standards] (PRIXLEAST8): Likewise.
26382 [C99-based-standards] (SCNdLEAST8): Likewise.
26383 [C99-based-standards] (SCNiLEAST8): Likewise.
26384 [C99-based-standards] (SCNoLEAST8): Likewise.
26385 [C99-based-standards] (SCNuLEAST8): Likewise.
26386 [C99-based-standards] (SCNxLEAST8): Likewise.
26387 [C99-based-standards] (PRIdFAST8): Likewise.
26388 [C99-based-standards] (PRIiFAST8): Likewise.
26389 [C99-based-standards] (PRIoFAST8): Likewise.
26390 [C99-based-standards] (PRIuFAST8): Likewise.
26391 [C99-based-standards] (PRIxFAST8): Likewise.
26392 [C99-based-standards] (PRIXFAST8): Likewise.
26393 [C99-based-standards] (SCNdFAST8): Likewise.
26394 [C99-based-standards] (SCNiFAST8): Likewise.
26395 [C99-based-standards] (SCNoFAST8): Likewise.
26396 [C99-based-standards] (SCNuFAST8): Likewise.
26397 [C99-based-standards] (SCNxFAST8): Likewise.
26398 [C99-based-standards] (PRId16): Likewise.
26399 [C99-based-standards] (PRIi16): Likewise.
26400 [C99-based-standards] (PRIo16): Likewise.
26401 [C99-based-standards] (PRIu16): Likewise.
26402 [C99-based-standards] (PRIx16): Likewise.
26403 [C99-based-standards] (PRIX16): Likewise.
26404 [C99-based-standards] (SCNd16): Likewise.
26405 [C99-based-standards] (SCNi16): Likewise.
26406 [C99-based-standards] (SCNo16): Likewise.
26407 [C99-based-standards] (SCNu16): Likewise.
26408 [C99-based-standards] (SCNx16): Likewise.
26409 [C99-based-standards] (PRIdLEAST16): Likewise.
26410 [C99-based-standards] (PRIiLEAST16): Likewise.
26411 [C99-based-standards] (PRIoLEAST16): Likewise.
26412 [C99-based-standards] (PRIuLEAST16): Likewise.
26413 [C99-based-standards] (PRIxLEAST16): Likewise.
26414 [C99-based-standards] (PRIXLEAST16): Likewise.
26415 [C99-based-standards] (SCNdLEAST16): Likewise.
26416 [C99-based-standards] (SCNiLEAST16): Likewise.
26417 [C99-based-standards] (SCNoLEAST16): Likewise.
26418 [C99-based-standards] (SCNuLEAST16): Likewise.
26419 [C99-based-standards] (SCNxLEAST16): Likewise.
26420 [C99-based-standards] (PRIdFAST16): Likewise.
26421 [C99-based-standards] (PRIiFAST16): Likewise.
26422 [C99-based-standards] (PRIoFAST16): Likewise.
26423 [C99-based-standards] (PRIuFAST16): Likewise.
26424 [C99-based-standards] (PRIxFAST16): Likewise.
26425 [C99-based-standards] (PRIXFAST16): Likewise.
26426 [C99-based-standards] (SCNdFAST16): Likewise.
26427 [C99-based-standards] (SCNiFAST16): Likewise.
26428 [C99-based-standards] (SCNoFAST16): Likewise.
26429 [C99-based-standards] (SCNuFAST16): Likewise.
26430 [C99-based-standards] (SCNxFAST16): Likewise.
26431 [C99-based-standards] (PRId32): Likewise.
26432 [C99-based-standards] (PRIi32): Likewise.
26433 [C99-based-standards] (PRIo32): Likewise.
26434 [C99-based-standards] (PRIu32): Likewise.
26435 [C99-based-standards] (PRIx32): Likewise.
26436 [C99-based-standards] (PRIX32): Likewise.
26437 [C99-based-standards] (SCNd32): Likewise.
26438 [C99-based-standards] (SCNi32): Likewise.
26439 [C99-based-standards] (SCNo32): Likewise.
26440 [C99-based-standards] (SCNu32): Likewise.
26441 [C99-based-standards] (SCNx32): Likewise.
26442 [C99-based-standards] (PRIdLEAST32): Likewise.
26443 [C99-based-standards] (PRIiLEAST32): Likewise.
26444 [C99-based-standards] (PRIoLEAST32): Likewise.
26445 [C99-based-standards] (PRIuLEAST32): Likewise.
26446 [C99-based-standards] (PRIxLEAST32): Likewise.
26447 [C99-based-standards] (PRIXLEAST32): Likewise.
26448 [C99-based-standards] (SCNdLEAST32): Likewise.
26449 [C99-based-standards] (SCNiLEAST32): Likewise.
26450 [C99-based-standards] (SCNoLEAST32): Likewise.
26451 [C99-based-standards] (SCNuLEAST32): Likewise.
26452 [C99-based-standards] (SCNxLEAST32): Likewise.
26453 [C99-based-standards] (PRIdFAST32): Likewise.
26454 [C99-based-standards] (PRIiFAST32): Likewise.
26455 [C99-based-standards] (PRIoFAST32): Likewise.
26456 [C99-based-standards] (PRIuFAST32): Likewise.
26457 [C99-based-standards] (PRIxFAST32): Likewise.
26458 [C99-based-standards] (PRIXFAST32): Likewise.
26459 [C99-based-standards] (SCNdFAST32): Likewise.
26460 [C99-based-standards] (SCNiFAST32): Likewise.
26461 [C99-based-standards] (SCNoFAST32): Likewise.
26462 [C99-based-standards] (SCNuFAST32): Likewise.
26463 [C99-based-standards] (SCNxFAST32): Likewise.
26464 [C99-based-standards] (PRId64): Likewise.
26465 [C99-based-standards] (PRIi64): Likewise.
26466 [C99-based-standards] (PRIo64): Likewise.
26467 [C99-based-standards] (PRIu64): Likewise.
26468 [C99-based-standards] (PRIx64): Likewise.
26469 [C99-based-standards] (PRIX64): Likewise.
26470 [C99-based-standards] (SCNd64): Likewise.
26471 [C99-based-standards] (SCNi64): Likewise.
26472 [C99-based-standards] (SCNo64): Likewise.
26473 [C99-based-standards] (SCNu64): Likewise.
26474 [C99-based-standards] (SCNx64): Likewise.
26475 [C99-based-standards] (PRIdLEAST64): Likewise.
26476 [C99-based-standards] (PRIiLEAST64): Likewise.
26477 [C99-based-standards] (PRIoLEAST64): Likewise.
26478 [C99-based-standards] (PRIuLEAST64): Likewise.
26479 [C99-based-standards] (PRIxLEAST64): Likewise.
26480 [C99-based-standards] (PRIXLEAST64): Likewise.
26481 [C99-based-standards] (SCNdLEAST64): Likewise.
26482 [C99-based-standards] (SCNiLEAST64): Likewise.
26483 [C99-based-standards] (SCNoLEAST64): Likewise.
26484 [C99-based-standards] (SCNuLEAST64): Likewise.
26485 [C99-based-standards] (SCNxLEAST64): Likewise.
26486 [C99-based-standards] (PRIdFAST64): Likewise.
26487 [C99-based-standards] (PRIiFAST64): Likewise.
26488 [C99-based-standards] (PRIoFAST64): Likewise.
26489 [C99-based-standards] (PRIuFAST64): Likewise.
26490 [C99-based-standards] (PRIxFAST64): Likewise.
26491 [C99-based-standards] (PRIXFAST64): Likewise.
26492 [C99-based-standards] (SCNdFAST64): Likewise.
26493 [C99-based-standards] (SCNiFAST64): Likewise.
26494 [C99-based-standards] (SCNoFAST64): Likewise.
26495 [C99-based-standards] (SCNuFAST64): Likewise.
26496 [C99-based-standards] (SCNxFAST64): Likewise.
26497 [C99-based-standards] (PRIdMAX): Likewise.
26498 [C99-based-standards] (PRIiMAX): Likewise.
26499 [C99-based-standards] (PRIoMAX): Likewise.
26500 [C99-based-standards] (PRIuMAX): Likewise.
26501 [C99-based-standards] (PRIxMAX): Likewise.
26502 [C99-based-standards] (PRIXMAX): Likewise.
26503 [C99-based-standards] (SCNdMAX): Likewise.
26504 [C99-based-standards] (SCNiMAX): Likewise.
26505 [C99-based-standards] (SCNoMAX): Likewise.
26506 [C99-based-standards] (SCNuMAX): Likewise.
26507 [C99-based-standards] (SCNxMAX): Likewise.
26508 [C99-based-standards] (PRIdPTR): Likewise.
26509 [C99-based-standards] (PRIiPTR): Likewise.
26510 [C99-based-standards] (PRIoPTR): Likewise.
26511 [C99-based-standards] (PRIuPTR): Likewise.
26512 [C99-based-standards] (PRIxPTR): Likewise.
26513 [C99-based-standards] (PRIXPTR): Likewise.
26514 [C99-based-standards] (SCNdPTR): Likewise.
26515 [C99-based-standards] (SCNiPTR): Likewise.
26516 [C99-based-standards] (SCNoPTR): Likewise.
26517 [C99-based-standards] (SCNuPTR): Likewise.
26518 [C99-based-standards] (SCNxPTR): Likewise.
26519 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26521 * conform/data/stdint.h-data: Update comments to clarify
26523 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26525 [C99-based standards] (INT8_MAX): Likewise.
26526 [C99-based standards] (INT16_MIN): Likewise.
26527 [C99-based standards] (INT16_MAX): Likewise.
26528 [C99-based standards] (INT32_MIN): Likewise.
26529 [C99-based standards] (INT32_MAX): Likewise.
26530 [C99-based standards] (INT64_MIN): Likewise.
26531 [C99-based standards] (INT64_MAX): Likewise.
26532 [C99-based standards] (UINT8_MAX): Likewise.
26533 [C99-based standards] (UINT16_MAX): Likewise.
26534 [C99-based standards] (UINT32_MAX): Likewise.
26535 [C99-based standards] (UINT64_MAX): Likewise.
26536 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26537 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26538 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26539 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26540 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26541 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26542 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26543 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26544 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26545 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26546 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26547 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26548 [C99-based standards] (INT_FAST8_MIN): Likewise.
26549 [C99-based standards] (INT_FAST8_MAX): Likewise.
26550 [C99-based standards] (INT_FAST16_MIN): Likewise.
26551 [C99-based standards] (INT_FAST16_MAX): Likewise.
26552 [C99-based standards] (INT_FAST32_MIN): Likewise.
26553 [C99-based standards] (INT_FAST32_MAX): Likewise.
26554 [C99-based standards] (INT_FAST64_MIN): Likewise.
26555 [C99-based standards] (INT_FAST64_MAX): Likewise.
26556 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26557 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26558 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26559 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26560 [C99-based standards] (INTPTR_MIN): Likewise.
26561 [C99-based standards] (INTPTR_MAX): Likewise.
26562 [C99-based standards] (UINTPTR_MAX): Likewise.
26563 [C99-based standards] (INTMAX_MIN): Likewise.
26564 [C99-based standards] (INTMAX_MAX): Likewise.
26565 [C99-based standards] (UINTMAX_MAX): Likewise.
26566 [C99-based standards] (PTRDIFF_MIN): Likewise.
26567 [C99-based standards] (PTRDIFF_MAX): Likewise.
26568 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26569 [C99-based standards] (SIZE_MAX): Likewise.
26570 [C99-based standards] (WCHAR_MAX): Likewise.
26571 [C99-based standards] (WINT_MAX): Likewise.
26572 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26573 constraint on value.
26574 [C99-based standards] (WCHAR_MIN): Likewise.
26575 [C99-based standards] (WINT_MIN): Likewise.
26576 [C99-based standards] (*_t): Allow.
26577 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26578 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26579 Include math.h-data and complex.h-data. Remove all expectations
26580 of math.h and complex.h contents.
26581 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26583 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26584 (struct tm): Expect tag.
26585 [C99-based-standards] (wcstof): Expect function.
26586 [C99-based-standards] (wcstold): Likewise.
26587 [C99-based-standards] (wcstoll): Likewise.
26588 [C99-based-standards] (wcstoull): Likewise.
26589 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26590 macro-int-constant. Specify type.
26591 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26592 constraint on value.
26593 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26595 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26597 [ISO C standards]: Do not allow headers.
26598 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26599 wcs[abcdefghijklmnopqrstuvwxyz]*.
26600 [ISO C standards] (*_t): Do not allow.
26601 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26603 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26604 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26606 [ISO C standards]: Do not allow headers.
26607 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26608 is[abcdefghijklmnopqrstuvwxyz]*.
26609 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26610 to[abcdefghijklmnopqrstuvwxyz]*.
26611 [ISO C standards] (*_t): Do not allow.
26612 * conform/data/stdalign.h-data: New file.
26613 * conform/data/stdbool.h-data: Likewise.
26614 * conform/data/stdnoreturn.h-data: Likewise.
26616 2012-11-07 Roland McGrath <roland@hack.frob.com>
26619 * manual/filesys.texi (Directory Entries): Typo fix.
26620 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26622 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26624 * elf/elf.h (EM_AARCH64): New macro.
26625 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26626 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26627 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26628 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26629 (R_AARCH64_TLSDESC): Likewise.
26630 (NT_ARM_TLS): Likewise.
26631 (NT_ARM_HW_BREAK): Likewise.
26632 (NT_ARM_HW_WATCH): Likewise.
26634 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26637 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26638 (__ieee754_powl): Saturate nonzero exponents with absolute value
26639 below 0x1p-79 to +/- 0x1p-79.
26640 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26641 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26642 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26643 nonzero exponents with absolute value below 0x1p-32 to +/-
26645 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26646 (__ieee754_powl): Saturate nonzero exponents with absolute value
26647 below 0x1p-79 to +/- 0x1p-79.
26648 * math/libm-test.inc (pow_test): Add more tests.
26650 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26652 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26653 _dl_s390_cap_flags with kernel. Increase string length.
26654 (_dl_s390_platforms): Add z196 and zEC12.
26656 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26658 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26659 Change XOPEN21K to XOPEN2K.
26661 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26663 * string/memmove.c: Use memcpy when possible.
26665 2012-11-06 Andreas Jaeger <aj@suse.de>
26667 * po/eo.po: Update from translation team.
26669 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26673 exponent and small x and y exponents, scale x or y up. Increase
26674 by 2 the exponent used in scaling up.
26675 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26676 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26677 * math/libm-test.inc (fma_test): Add more tests.
26678 (fma_test_towardzero): Likewise.
26679 (fma_test_downward): Likewise.
26680 (fma_test_upward): Likewise.
26682 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26685 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26689 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26690 namespace for names of struct fields.
26691 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26693 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26694 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26696 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26699 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26701 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26703 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26707 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26710 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26714 definitely overflow as x * y not x * y + z.
26715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26717 * math/libm-test.inc (fma_test): Add more tests.
26718 (fma_test_towardzero): Likewise.
26719 (fma_test_downward): Likewise.
26720 (fma_test_upward): Likewise.
26722 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26726 * include/stub-tag.h: Remove file.
26727 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26729 * manual/maint.texi (Porting): Don't reference it.
26730 * Makerules ($(objpfx)stubs): Likewise.
26731 * dirent/closedir.c: Don't include <stub-tag.h>.
26732 * dirent/dirfd.c: Likewise.
26733 * dirent/fdopendir.c: Likewise.
26734 * dirent/getdents.c: Likewise.
26735 * dirent/getdents64.c: Likewise.
26736 * dirent/opendir.c: Likewise.
26737 * dirent/readdir.c: Likewise.
26738 * dirent/readdir64.c: Likewise.
26739 * dirent/readdir64_r.c: Likewise.
26740 * dirent/readdir_r.c: Likewise.
26741 * dirent/rewinddir.c: Likewise.
26742 * dirent/seekdir.c: Likewise.
26743 * dirent/telldir.c: Likewise.
26744 * gmon/profil.c: Likewise.
26745 * grp/setgroups.c: Likewise.
26746 * inet/if_index.c: Likewise.
26747 * io/access.c: Likewise.
26748 * io/chdir.c: Likewise.
26749 * io/chmod.c: Likewise.
26750 * io/chown.c: Likewise.
26751 * io/close.c: Likewise.
26752 * io/dup.c: Likewise.
26753 * io/dup2.c: Likewise.
26754 * io/dup3.c: Likewise.
26755 * io/euidaccess.c: Likewise.
26756 * io/faccessat.c: Likewise.
26757 * io/fchdir.c: Likewise.
26758 * io/fchmod.c: Likewise.
26759 * io/fchmodat.c: Likewise.
26760 * io/fchown.c: Likewise.
26761 * io/fchownat.c: Likewise.
26762 * io/fcntl.c: Likewise.
26763 * io/flock.c: Likewise.
26764 * io/fstatfs.c: Likewise.
26765 * io/fstatfs64.c: Likewise.
26766 * io/fstatvfs.c: Likewise.
26767 * io/fstatvfs64.c: Likewise.
26768 * io/futimens.c: Likewise.
26769 * io/fxstat.c: Likewise.
26770 * io/fxstat64.c: Likewise.
26771 * io/fxstatat.c: Likewise.
26772 * io/fxstatat64.c: Likewise.
26773 * io/getcwd.c: Likewise.
26774 * io/isatty.c: Likewise.
26775 * io/lchmod.c: Likewise.
26776 * io/lchown.c: Likewise.
26777 * io/link.c: Likewise.
26778 * io/linkat.c: Likewise.
26779 * io/lseek.c: Likewise.
26780 * io/lseek64.c: Likewise.
26781 * io/lxstat64.c: Likewise.
26782 * io/mkdir.c: Likewise.
26783 * io/mkdirat.c: Likewise.
26784 * io/mkfifo.c: Likewise.
26785 * io/mkfifoat.c: Likewise.
26786 * io/open.c: Likewise.
26787 * io/open64.c: Likewise.
26788 * io/openat.c: Likewise.
26789 * io/openat64.c: Likewise.
26790 * io/pipe.c: Likewise.
26791 * io/pipe2.c: Likewise.
26792 * io/poll.c: Likewise.
26793 * io/posix_fadvise.c: Likewise.
26794 * io/posix_fadvise64.c: Likewise.
26795 * io/posix_fallocate.c: Likewise.
26796 * io/posix_fallocate64.c: Likewise.
26797 * io/read.c: Likewise.
26798 * io/readlink.c: Likewise.
26799 * io/readlinkat.c: Likewise.
26800 * io/rmdir.c: Likewise.
26801 * io/sendfile.c: Likewise.
26802 * io/sendfile64.c: Likewise.
26803 * io/statfs.c: Likewise.
26804 * io/statfs64.c: Likewise.
26805 * io/statvfs.c: Likewise.
26806 * io/statvfs64.c: Likewise.
26807 * io/symlink.c: Likewise.
26808 * io/symlinkat.c: Likewise.
26809 * io/ttyname.c: Likewise.
26810 * io/ttyname_r.c: Likewise.
26811 * io/umask.c: Likewise.
26812 * io/unlink.c: Likewise.
26813 * io/unlinkat.c: Likewise.
26814 * io/utime.c: Likewise.
26815 * io/utimensat.c: Likewise.
26816 * io/write.c: Likewise.
26817 * io/xmknod.c: Likewise.
26818 * io/xmknodat.c: Likewise.
26819 * io/xstat.c: Likewise.
26820 * io/xstat64.c: Likewise.
26821 * login/getpt.c: Likewise.
26822 * login/grantpt.c: Likewise.
26823 * login/unlockpt.c: Likewise.
26824 * math/e_acoshl.c: Likewise.
26825 * math/e_acosl.c: Likewise.
26826 * math/e_asinl.c: Likewise.
26827 * math/e_atan2l.c: Likewise.
26828 * math/e_atanhl.c: Likewise.
26829 * math/e_coshl.c: Likewise.
26830 * math/e_expl.c: Likewise.
26831 * math/e_fmodl.c: Likewise.
26832 * math/e_gammal_r.c: Likewise.
26833 * math/e_hypotl.c: Likewise.
26834 * math/e_j0l.c: Likewise.
26835 * math/e_j1l.c: Likewise.
26836 * math/e_jnl.c: Likewise.
26837 * math/e_lgammal_r.c: Likewise.
26838 * math/e_log10l.c: Likewise.
26839 * math/e_log2l.c: Likewise.
26840 * math/e_logl.c: Likewise.
26841 * math/e_powl.c: Likewise.
26842 * math/e_rem_pio2l.c: Likewise.
26843 * math/e_sinhl.c: Likewise.
26844 * math/e_sqrtl.c: Likewise.
26845 * math/fclrexcpt.c: Likewise.
26846 * math/fedisblxcpt.c: Likewise.
26847 * math/feenablxcpt.c: Likewise.
26848 * math/fegetenv.c: Likewise.
26849 * math/fegetexcept.c: Likewise.
26850 * math/fegetround.c: Likewise.
26851 * math/feholdexcpt.c: Likewise.
26852 * math/fesetenv.c: Likewise.
26853 * math/fesetround.c: Likewise.
26854 * math/feupdateenv.c: Likewise.
26855 * math/fgetexcptflg.c: Likewise.
26856 * math/fraiseexcpt.c: Likewise.
26857 * math/fsetexcptflg.c: Likewise.
26858 * math/ftestexcept.c: Likewise.
26859 * math/k_cosl.c: Likewise.
26860 * math/k_rem_pio2l.c: Likewise.
26861 * math/k_sinl.c: Likewise.
26862 * math/k_tanl.c: Likewise.
26863 * math/s_asinhl.c: Likewise.
26864 * math/s_atanl.c: Likewise.
26865 * math/s_cbrtl.c: Likewise.
26866 * math/s_erfl.c: Likewise.
26867 * math/s_expm1l.c: Likewise.
26868 * math/s_log1pl.c: Likewise.
26869 * math/s_tanhl.c: Likewise.
26870 * misc/acct.c: Likewise.
26871 * misc/brk.c: Likewise.
26872 * misc/chflags.c: Likewise.
26873 * misc/chroot.c: Likewise.
26874 * misc/fchflags.c: Likewise.
26875 * misc/fgetxattr.c: Likewise.
26876 * misc/flistxattr.c: Likewise.
26877 * misc/fremovexattr.c: Likewise.
26878 * misc/fsetxattr.c: Likewise.
26879 * misc/fsync.c: Likewise.
26880 * misc/ftruncate.c: Likewise.
26881 * misc/futimes.c: Likewise.
26882 * misc/futimesat.c: Likewise.
26883 * misc/getdomain.c: Likewise.
26884 * misc/getdtsz.c: Likewise.
26885 * misc/gethostid.c: Likewise.
26886 * misc/gethostname.c: Likewise.
26887 * misc/getloadavg.c: Likewise.
26888 * misc/getpagesize.c: Likewise.
26889 * misc/getsysstats.c: Likewise.
26890 * misc/getxattr.c: Likewise.
26891 * misc/gtty.c: Likewise.
26892 * misc/ioctl.c: Likewise.
26893 * misc/lgetxattr.c: Likewise.
26894 * misc/listxattr.c: Likewise.
26895 * misc/llistxattr.c: Likewise.
26896 * misc/lremovexattr.c: Likewise.
26897 * misc/lsetxattr.c: Likewise.
26898 * misc/lutimes.c: Likewise.
26899 * misc/madvise.c: Likewise.
26900 * misc/mincore.c: Likewise.
26901 * misc/mlock.c: Likewise.
26902 * misc/mlockall.c: Likewise.
26903 * misc/mmap.c: Likewise.
26904 * misc/mprotect.c: Likewise.
26905 * misc/msync.c: Likewise.
26906 * misc/munlock.c: Likewise.
26907 * misc/munlockall.c: Likewise.
26908 * misc/munmap.c: Likewise.
26909 * misc/preadv.c: Likewise.
26910 * misc/preadv64.c: Likewise.
26911 * misc/ptrace.c: Likewise.
26912 * misc/pwritev.c: Likewise.
26913 * misc/pwritev64.c: Likewise.
26914 * misc/readv.c: Likewise.
26915 * misc/reboot.c: Likewise.
26916 * misc/remap_file_pages.c: Likewise.
26917 * misc/removexattr.c: Likewise.
26918 * misc/revoke.c: Likewise.
26919 * misc/select.c: Likewise.
26920 * misc/setdomain.c: Likewise.
26921 * misc/setegid.c: Likewise.
26922 * misc/seteuid.c: Likewise.
26923 * misc/sethostid.c: Likewise.
26924 * misc/sethostname.c: Likewise.
26925 * misc/setregid.c: Likewise.
26926 * misc/setreuid.c: Likewise.
26927 * misc/setxattr.c: Likewise.
26928 * misc/sstk.c: Likewise.
26929 * misc/stty.c: Likewise.
26930 * misc/swapoff.c: Likewise.
26931 * misc/swapon.c: Likewise.
26932 * misc/sync.c: Likewise.
26933 * misc/syncfs.c: Likewise.
26934 * misc/syscall.c: Likewise.
26935 * misc/truncate.c: Likewise.
26936 * misc/ualarm.c: Likewise.
26937 * misc/usleep.c: Likewise.
26938 * misc/ustat.c: Likewise.
26939 * misc/utimes.c: Likewise.
26940 * misc/vhangup.c: Likewise.
26941 * misc/writev.c: Likewise.
26942 * posix/_exit.c: Likewise.
26943 * posix/alarm.c: Likewise.
26944 * posix/execve.c: Likewise.
26945 * posix/fexecve.c: Likewise.
26946 * posix/fork.c: Likewise.
26947 * posix/fpathconf.c: Likewise.
26948 * posix/getaddrinfo.c: Likewise.
26949 * posix/getegid.c: Likewise.
26950 * posix/geteuid.c: Likewise.
26951 * posix/getgid.c: Likewise.
26952 * posix/getgroups.c: Likewise.
26953 * posix/getlogin.c: Likewise.
26954 * posix/getlogin_r.c: Likewise.
26955 * posix/getpgid.c: Likewise.
26956 * posix/getpid.c: Likewise.
26957 * posix/getppid.c: Likewise.
26958 * posix/getresgid.c: Likewise.
26959 * posix/getresuid.c: Likewise.
26960 * posix/getsid.c: Likewise.
26961 * posix/getuid.c: Likewise.
26962 * posix/glob64.c: Likewise.
26963 * posix/nanosleep.c: Likewise.
26964 * posix/pathconf.c: Likewise.
26965 * posix/pause.c: Likewise.
26966 * posix/posix_madvise.c: Likewise.
26967 * posix/pread.c: Likewise.
26968 * posix/pread64.c: Likewise.
26969 * posix/pwrite.c: Likewise.
26970 * posix/pwrite64.c: Likewise.
26971 * posix/sched_getaffinity.c: Likewise.
26972 * posix/sched_getp.c: Likewise.
26973 * posix/sched_gets.c: Likewise.
26974 * posix/sched_primax.c: Likewise.
26975 * posix/sched_primin.c: Likewise.
26976 * posix/sched_rr_gi.c: Likewise.
26977 * posix/sched_setaffinity.c: Likewise.
26978 * posix/sched_setp.c: Likewise.
26979 * posix/sched_sets.c: Likewise.
26980 * posix/sched_yield.c: Likewise.
26981 * posix/setgid.c: Likewise.
26982 * posix/setlogin.c: Likewise.
26983 * posix/setpgid.c: Likewise.
26984 * posix/setresgid.c: Likewise.
26985 * posix/setresuid.c: Likewise.
26986 * posix/setsid.c: Likewise.
26987 * posix/setuid.c: Likewise.
26988 * posix/sleep.c: Likewise.
26989 * posix/spawni.c: Likewise.
26990 * posix/sysconf.c: Likewise.
26991 * posix/times.c: Likewise.
26992 * posix/wait.c: Likewise.
26993 * posix/wait3.c: Likewise.
26994 * posix/wait4.c: Likewise.
26995 * posix/waitpid.c: Likewise.
26996 * resolv/gai_sigqueue.c: Likewise.
26997 * resource/getpriority.c: Likewise.
26998 * resource/getrlimit.c: Likewise.
26999 * resource/getrusage.c: Likewise.
27000 * resource/nice.c: Likewise.
27001 * resource/setpriority.c: Likewise.
27002 * resource/setrlimit.c: Likewise.
27003 * resource/ulimit.c: Likewise.
27004 * rt/aio_cancel.c: Likewise.
27005 * rt/aio_fsync.c: Likewise.
27006 * rt/aio_read.c: Likewise.
27007 * rt/aio_sigqueue.c: Likewise.
27008 * rt/aio_suspend.c: Likewise.
27009 * rt/aio_write.c: Likewise.
27010 * rt/clock_getres.c: Likewise.
27011 * rt/clock_gettime.c: Likewise.
27012 * rt/clock_nanosleep.c: Likewise.
27013 * rt/clock_settime.c: Likewise.
27014 * rt/lio_listio.c: Likewise.
27015 * rt/mq_close.c: Likewise.
27016 * rt/mq_getattr.c: Likewise.
27017 * rt/mq_notify.c: Likewise.
27018 * rt/mq_open.c: Likewise.
27019 * rt/mq_receive.c: Likewise.
27020 * rt/mq_send.c: Likewise.
27021 * rt/mq_setattr.c: Likewise.
27022 * rt/mq_timedreceive.c: Likewise.
27023 * rt/mq_timedsend.c: Likewise.
27024 * rt/mq_unlink.c: Likewise.
27025 * rt/shm_open.c: Likewise.
27026 * rt/shm_unlink.c: Likewise.
27027 * rt/timer_create.c: Likewise.
27028 * rt/timer_delete.c: Likewise.
27029 * rt/timer_getoverr.c: Likewise.
27030 * rt/timer_gettime.c: Likewise.
27031 * rt/timer_settime.c: Likewise.
27032 * setjmp/__longjmp.c: Likewise.
27033 * setjmp/setjmp.c: Likewise.
27034 * signal/kill.c: Likewise.
27035 * signal/killpg.c: Likewise.
27036 * signal/raise.c: Likewise.
27037 * signal/sigaction.c: Likewise.
27038 * signal/sigaltstack.c: Likewise.
27039 * signal/sigblock.c: Likewise.
27040 * signal/sigignore.c: Likewise.
27041 * signal/sigintr.c: Likewise.
27042 * signal/signal.c: Likewise.
27043 * signal/sigpause.c: Likewise.
27044 * signal/sigpending.c: Likewise.
27045 * signal/sigqueue.c: Likewise.
27046 * signal/sigreturn.c: Likewise.
27047 * signal/sigset.c: Likewise.
27048 * signal/sigsetmask.c: Likewise.
27049 * signal/sigstack.c: Likewise.
27050 * signal/sigsuspend.c: Likewise.
27051 * signal/sigtimedwait.c: Likewise.
27052 * signal/sigvec.c: Likewise.
27053 * signal/sigwait.c: Likewise.
27054 * signal/sigwaitinfo.c: Likewise.
27055 * signal/sysv_signal.c: Likewise.
27056 * socket/accept.c: Likewise.
27057 * socket/accept4.c: Likewise.
27058 * socket/bind.c: Likewise.
27059 * socket/connect.c: Likewise.
27060 * socket/getpeername.c: Likewise.
27061 * socket/getsockname.c: Likewise.
27062 * socket/getsockopt.c: Likewise.
27063 * socket/isfdtype.c: Likewise.
27064 * socket/listen.c: Likewise.
27065 * socket/recv.c: Likewise.
27066 * socket/recvfrom.c: Likewise.
27067 * socket/recvmsg.c: Likewise.
27068 * socket/send.c: Likewise.
27069 * socket/sendmsg.c: Likewise.
27070 * socket/sendto.c: Likewise.
27071 * socket/setsockopt.c: Likewise.
27072 * socket/shutdown.c: Likewise.
27073 * socket/sockatmark.c: Likewise.
27074 * socket/socket.c: Likewise.
27075 * socket/socketpair.c: Likewise.
27076 * stdio-common/ctermid.c: Likewise.
27077 * stdio-common/cuserid.c: Likewise.
27078 * stdio-common/remove.c: Likewise.
27079 * stdio-common/rename.c: Likewise.
27080 * stdio-common/renameat.c: Likewise.
27081 * stdio-common/tempname.c: Likewise.
27082 * stdlib/getcontext.c: Likewise.
27083 * stdlib/makecontext.c: Likewise.
27084 * stdlib/setcontext.c: Likewise.
27085 * stdlib/swapcontext.c: Likewise.
27086 * stdlib/system.c: Likewise.
27087 * streams/fattach.c: Likewise.
27088 * streams/fdetach.c: Likewise.
27089 * streams/getmsg.c: Likewise.
27090 * streams/getpmsg.c: Likewise.
27091 * streams/putmsg.c: Likewise.
27092 * streams/putpmsg.c: Likewise.
27093 * sysdeps/unix/bsd/getpt.c: Likewise.
27094 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27095 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27096 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27099 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27100 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27101 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27102 * sysvipc/msgctl.c: Likewise.
27103 * sysvipc/msgget.c: Likewise.
27104 * sysvipc/msgrcv.c: Likewise.
27105 * sysvipc/msgsnd.c: Likewise.
27106 * sysvipc/semctl.c: Likewise.
27107 * sysvipc/semget.c: Likewise.
27108 * sysvipc/semop.c: Likewise.
27109 * sysvipc/semtimedop.c: Likewise.
27110 * sysvipc/shmat.c: Likewise.
27111 * sysvipc/shmctl.c: Likewise.
27112 * sysvipc/shmdt.c: Likewise.
27113 * sysvipc/shmget.c: Likewise.
27114 * termios/tcdrain.c: Likewise.
27115 * termios/tcflow.c: Likewise.
27116 * termios/tcflush.c: Likewise.
27117 * termios/tcgetattr.c: Likewise.
27118 * termios/tcgetpgrp.c: Likewise.
27119 * termios/tcsendbrk.c: Likewise.
27120 * termios/tcsetattr.c: Likewise.
27121 * termios/tcsetpgrp.c: Likewise.
27122 * time/adjtime.c: Likewise.
27123 * time/clock.c: Likewise.
27124 * time/getitimer.c: Likewise.
27125 * time/gettimeofday.c: Likewise.
27126 * time/setitimer.c: Likewise.
27127 * time/settimeofday.c: Likewise.
27128 * time/stime.c: Likewise.
27129 * time/time.c: Likewise.
27131 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27133 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27136 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27138 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27140 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27143 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27144 FE_TONEAREST before applying Dekker multiplication and Knuth
27145 addition. Clear inexact exceptions and check for exact zero
27146 results afterwards.
27147 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27148 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27149 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27150 * math/libm-test.inc (fma_test): Add more tests.
27151 (fma_test_towardzero): Likewise.
27152 (fma_test_downward): Likewise.
27153 (fma_test_upward): Likewise.
27154 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27156 (libc_fesetround): New macro.
27157 (libc_fesetroundf): Likewise.
27158 (libc_fesetroundl): Likewise.
27159 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27161 (libc_fesetround_387): Likewise.
27162 (libc_fesetroundf): New macro.
27163 (libc_fesetround): Likewise.
27164 (libc_fesetroundl): Likewise.
27165 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27167 (libc_fesetroundf): New macro.
27168 (libc_fesetround): Likewise.
27169 (libc_fesetroundl): Likewise.
27170 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27171 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27172 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27174 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27175 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27177 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27178 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27180 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27184 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27185 integer constant usable in #if and use that to give value to enum
27187 (FE_DIVBYZERO): Likewise.
27188 (FE_UNDERFLOW): Likewise.
27189 (FE_OVERFLOW): Likewise.
27190 (FE_INVALID): Likewise.
27191 (FE_INVALID_SNAN): Likewise.
27192 (FE_INVALID_ISI): Likewise.
27193 (FE_INVALID_IDI): Likewise.
27194 (FE_INVALID_ZDZ): Likewise.
27195 (FE_INVALID_IMZ): Likewise.
27196 (FE_INVALID_COMPARE): Likewise.
27197 (FE_INVALID_SOFTWARE): Likewise.
27198 (FE_INVALID_SQRT): Likewise.
27199 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27200 (FE_TONEAREST): Likewise.
27201 (FE_TOWARDZERO): Likewise.
27202 (FE_UPWARD): Likewise.
27203 (FE_DOWNWARD): Likewise.
27204 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27205 (FE_DIVBYZERO): Likewise.
27206 (FE_OVERFLOW): Likewise.
27207 (FE_UNDERFLOW): Likewise.
27208 (FE_INEXACT): Likewise.
27209 (FE_TONEAREST): Likewise.
27210 (FE_DOWNWARD): Likewise.
27211 (FE_UPWARD): Likewise.
27212 (FE_TOWARDZERO): Likewise.
27213 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27214 (FE_UNDERFLOW): Likewise.
27215 (FE_OVERFLOW): Likewise.
27216 (FE_DIVBYZERO): Likewise.
27217 (FE_INVALID): Likewise.
27218 (FE_TONEAREST): Likewise.
27219 (FE_TOWARDZERO): Likewise.
27220 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27221 (FE_OVERFLOW): Likewise.
27222 (FE_UNDERFLOW): Likewise.
27223 (FE_DIVBYZERO): Likewise.
27224 (FE_INEXACT): Likewise.
27225 (FE_TONEAREST): Likewise.
27226 (FE_TOWARDZERO): Likewise.
27227 (FE_UPWARD): Likewise.
27228 (FE_DOWNWARD): Likewise.
27229 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27230 (FE_DIVBYZERO): Likewise.
27231 (FE_OVERFLOW): Likewise.
27232 (FE_UNDERFLOW): Likewise.
27233 (FE_INEXACT): Likewise.
27234 (FE_TONEAREST): Likewise.
27235 (FE_DOWNWARD): Likewise.
27236 (FE_UPWARD): Likewise.
27237 (FE_TOWARDZERO): Likewise.
27239 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27241 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27243 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27245 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27246 commands. Quote $PWD.
27247 (blacklist_exports): Don't use remove_newlines. Replace "declare
27249 (remove_newlines): Remove.
27251 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27253 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27254 * stdlib/stdlib.h (atof): Moved to ...
27255 * include/bits/stdlib-float.h: Here. New file.
27256 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27257 * stdlib/bits/stdlib-float.h: New file.
27258 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27260 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27263 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27265 * conform/conformtest.pl (@headers): Add fenv.h.
27266 * conform/data/fenv.h-data: New file.
27267 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27268 include of <math/fenv.h>.
27270 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27271 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27272 && !UNIX98]. Enables tests for XOPEN2K8.
27273 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27274 POSIX2008]: Likewise.
27276 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27277 (struct rusage): Do not expect type or its members.
27280 * math/math.h (FP_NAN): Define macro to integer constant usable in
27281 #if and use that to give value to enum constant.
27282 (FP_INFINITE): Likewise.
27283 (FP_ZERO): Likewise.
27284 (FP_SUBNORMAL): Likewise.
27285 (FP_NORMAL): Likewise.
27287 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27289 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27290 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27293 2012-11-02 Roland McGrath <roland@hack.frob.com>
27295 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27296 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27297 autoconf-time if not.
27298 * configure.in: Remove AC_PREREQ.
27300 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27302 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27303 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27304 of the internal implementation.
27306 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27308 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27309 except include of <misc/sys/syslog.h>.
27311 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27314 function returns with a NULL context exit with zero.
27316 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27318 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27320 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27322 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27323 (run_program_cmd): This.
27324 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27325 (tst_langinfo): New variable. Use it.
27327 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27329 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27330 floating point opcodes.
27332 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27334 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27337 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27339 * sysdeps/mach/hurd/powerpc: Remove directory.
27340 * sysdeps/mach/powerpc: Likewise.
27342 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27344 * scripts/check-local-headers.sh: Ignore c++ headers.
27346 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27348 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27349 __libc_cleanup_region_start argument.
27351 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27356 x * y using scaling, not as x * y + z.
27357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27359 * math/libm-test.inc (fma_test): Add more tests.
27360 (fma_test_towardzero): Likewise.
27361 (fma_test_downward): Likewise.
27362 (fma_test_upward): Likewise.
27364 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27366 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27368 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27370 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27373 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27375 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27377 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27384 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27387 Fix the order of the list for glibc 2.17.
27388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27391 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27395 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27398 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27399 for low part of x being zero before using __atanl (y).
27400 * math/libm-test.inc (atan2_test): Add another test.
27402 * manual/install.texi (Configuring and compiling): Document
27403 general use of test-wrapper and test-wrapper-env.
27404 * INSTALL: Regenerated.
27406 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27407 (__fma): Do not extract and scale down low bits on after-rounding
27408 systems when result rounded to normal precision would have normal
27410 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27411 (__fmal): Do not extract and scale down low bits on after-rounding
27412 systems when result rounded to normal precision would have normal
27414 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27415 (__fmal): Do not extract and scale down low bits on after-rounding
27416 systems when result rounded to normal precision would have normal
27418 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27420 (fma_test): Add more tests.
27421 (fma_test_towardzero): Likewise.
27422 (fma_test_downward): Likewise.
27423 (fma_test_upward): Likewise.
27425 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27427 * sysdeps/i386/tininess.h: Renamed to ...
27428 * sysdeps/x86/tininess.h: This.
27429 * sysdeps/x86_64/tininess.h: Removed.
27431 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27433 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27434 input. Use $(build-program-cmd).
27435 ($(objpfx)tst-array1-static.out): Likewise.
27436 ($(objpfx)tst-array2.out): Likewise.
27437 ($(objpfx)tst-array3.out): Likewise.
27438 ($(objpfx)tst-array4.out): Likewise.
27439 ($(objpfx)tst-array5.out): Likewise.
27440 ($(objpfx)tst-array5-static.out): Likewise.
27442 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27444 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27447 * nss/nsswitch.h (nss_interface_function): Provide new
27448 macro for use with NSS functions.
27449 * grp/initgroups.c: Use new macro.
27450 * nss/getXXbyYY.c: Likewise.
27451 * nss/getXXbyYY_r.c: Likewise.
27452 * nss/getXXent.c: Likewise.
27453 * nss/getXXent_r.c: Likewise.
27454 * sysdeps/posix/getaddrinfo.c: Likewise.
27456 2012-10-30 Andreas Jaeger <aj@suse.de>
27458 * po/ru.po: Update Russion translation from translation project.
27460 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27465 result and shift together with sticky bit instead of replicating
27466 round-to-nearest rounding.
27467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27468 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27469 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27470 missing underflow exceptions.
27471 (fma_test_towardzero): Add more tests.
27472 (fma_test_downward): Likewise.
27473 (fma_test_upward): Likewise.
27476 * sysdeps/generic/tininess.h: New file.
27477 * sysdeps/i386/tininess.h: Likewise.
27478 * sysdeps/sh/tininess.h: Likewise.
27479 * sysdeps/x86_64/tininess.h: Likewise.
27480 * stdlib/tst-strtod-underflow.c: Likewise.
27481 * stdlib/tst-tininess.c: Likewise.
27482 * stdlib/strtod_l.c: Include <tininess.h>.
27483 (round_and_return): Do not set errno for exact underflow cases.
27484 Force an underflow exception when setting errno for underflow.
27485 Determine underflow based on rounding to normal precision if
27486 TININESS_AFTER_ROUNDING.
27487 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27488 ERANGE for exact underflow cases.
27489 * stdlib/Makefile (tests): Add tst-tininess and
27490 tst-strtod-underflow.
27491 ($(objpfx)tst-tininess): Use $(link-libm).
27492 ($(objpfx)tst-strtod-underflow): Likewise.
27494 2012-10-30 Andreas Jaeger <aj@suse.de>
27497 * elf/Makefile (tests): Remove conditional for have-initfini-array
27498 since this is now always required and the variable does not exist
27500 (tests-static): Likewise.
27501 (modules-names): Likewise.
27503 * po/eo.po: Add Esperanto translation from translation project.
27505 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27506 merged with constructor/destructor.
27507 (init_array): Likewise.
27508 * elf/tst-array2dep.c (fini_array): Likewise.
27509 (init_array): Likewise.
27511 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27513 * manual/message.texi: Delete @cartouche tags.
27515 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27517 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27519 * sysdeps/mach/hurd/fsync.c: Likewise.
27521 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27522 [_POSIX_REALTIME_SIGNALS]: Change condition to
27523 [_POSIX_REALTIME_SIGNALS > 0].
27525 2012-10-27 Andreas Jaeger <aj@suse.de>
27527 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27528 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27529 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27530 [__WORDSIZE != 64]: Likewise.
27532 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27534 * iconvdata/tst-table.sh: Remove ${SHELL}.
27535 * iconvdata/tst-tables.sh: Likewise.
27537 2012-10-25 David S. Miller <davem@davemloft.net>
27539 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27540 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27545 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27546 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27547 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27550 2012-10-25 Roland McGrath <roland@hack.frob.com>
27552 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27553 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27556 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27557 Jim Blandy <jimb@codesourcery.com>
27559 * scripts/cross-test-ssh.sh: New file.
27560 * manual/install.texi (Configuring and compiling): Document use of
27562 * INSTALL: Regenerated.
27564 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27566 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27569 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27571 * Makeconfig (run-program-prefix): Fix comment.
27573 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27574 Jim Blandy <jimb@codesourcery.com>
27576 * Makeconfig (test-wrapper): New variable,
27577 (test-wrapper-env): Likewise.
27578 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27579 (run-built-tests): Define to yes.
27580 (run-program-prefix): Use $(test-wrapper).
27581 (built-program-cmd): Likewise.
27582 * Rules (make-test-out): Use $(test-wrapper-env) and
27583 $(host-built-program-cmd).
27584 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27585 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27587 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27588 $(test-wrapper-env) to tst-rtld-load-self.sh.
27589 ($(objpfx)order2.out): Use $(test-wrapper).
27590 ($(objpfx)tst-initorder.out): Likewise.
27591 ($(objpfx)tst-initorder2.out): Likewise.
27592 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27593 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27594 (test_wrapper_env): New variable. Use it to run ld.so.
27595 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27596 Use it to run ld.so.
27597 (test_wrapper_env): Likewise.
27598 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27599 $(test-wrapper) to run-iconv-test.sh.
27600 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27601 (ICONV): Use $test_wrapper.
27602 * posix/Makefile ($(objpfx)globtest.out): Pass
27603 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27604 globtest.sh, not $(run-program-prefix).
27605 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27606 (test_wrapper): Likewise.
27607 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27608 set together with run_via_rtld_prefix.
27609 (run_program_prefix): Define in terms of test_wrapper and
27610 run_via_rtld_prefix.
27612 2012-10-24 Roland McGrath <roland@hack.frob.com>
27614 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27615 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27619 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27620 Declare __clock_getres, __clock_gettime, __clock_settime,
27621 __clock_nanosleep, and __clock_getcpuclockid.
27622 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27623 Remove librt_hidden_def (clock_gettime).
27624 * sysdeps/unix/clock_gettime.c: Likewise.
27625 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27626 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27627 * rt/clock_getres.c: Define __clock_getres as an alias.
27628 * sysdeps/posix/clock_getres.c: Likewise.
27629 * rt/clock_settime.c: Define __clock_settime as an alias.
27630 * sysdeps/unix/clock_settime.c: Likewise.
27631 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27632 * sysdeps/unix/clock_nanosleep.c: Likewise.
27633 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27634 * rt/clock-compat.c: New file.
27635 * rt/Makefile (librt-routines): Add clock-compat and move
27636 $(clock-routines) to ...
27637 (routines): ... here, new variable.
27638 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27639 Don't add get_clockfreq here.
27640 * rt/Versions (libc: GLIBC_2.17): New version set.
27641 Add clock_* symbols here.
27642 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27643 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27644 (GLIBC_2.17): Add clock_* symbols.
27645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27656 * NEWS: Mention the move.
27658 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27659 Use __open, __read, __close rather than their public counterparts.
27660 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27661 (__get_clockfreq_via_cpuinfo): Likewise.
27662 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27663 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27665 * config.h.in (HAVE_IFUNC): New #undef.
27666 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27668 * configure: Regenerated.
27670 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27672 * configure.in: Move READELF check to start of file.
27673 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27674 libc_cv_asm_gnu_indirect_function in the process.
27675 * configure: Regenerated.
27677 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27679 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27680 send the output to /dev/null.
27681 (libc_cv_cc_with_libunwind): Likewise.
27682 (libc_cv_as_noexecstack): Likewise.
27683 * configure: Regenerate.
27685 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27687 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27689 * posix/globtest.sh (TMPDIR): Do not set.
27690 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27691 (testout): Likewise.
27693 2012-10-24 Andreas Jaeger <aj@suse.de>
27695 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27696 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27697 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27698 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27699 posix_fadvise64, posix_fallocate64.
27701 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27702 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27703 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27705 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27707 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27710 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27711 <bits/fcntl-linux.h>.
27712 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27715 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27716 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27717 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27718 [__WORDSIZE != 64]: Likewise.
27720 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27722 * Makeconfig (run-built-tests): New variable.
27723 * Rules [$(cross-compiling) = yes]: Change condition to
27724 [$(run-built-tests) = no].
27725 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27726 to [$(run-built-tests) = yes].
27727 * elf/Makefile [$(cross-compiling) = no]: Likewise
27728 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27729 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27730 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27731 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27732 * io/Makefile [$(cross-compiling) = no]: Likewise.
27733 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27734 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27735 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27736 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27737 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27738 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27739 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27740 * string/Makefile [$(cross-compiling) = no]: Likewise.
27742 * posix/Makefile ($(objpfx)globtest.out): Pass
27743 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27744 $(rtld-installed-name).
27745 * posix/globtest.sh (elf_objpfx): Remove variable.
27746 (rtld_installed_name): Likewise.
27747 (library_path): Likewise.
27748 (run_program_prefix): New variable. Use for running globtest
27751 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27752 Joseph Myers <joseph@codesourcery.com>
27754 * Makeconfig (host-built-program-cmd): New variable.
27755 * elf/Makefile (tst-stackguard1-ARGS): Use
27756 $(host-built-program-cmd).
27757 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27758 (tst-spawn-ARGS): Likewise.
27759 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27761 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27762 Jim Blandy <jimb@codesourcery.com>
27764 * Makeconfig (run-via-rtld-prefix): New variable.
27765 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27766 (built-program-cmd): Likewise.
27768 2012-10-22 Andreas Jaeger <aj@suse.de>
27770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27771 __O_RSYNC if it exists, otherwise to O_SYNC.
27773 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27774 Joseph Myers <joseph@codesourcery.com>
27776 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27778 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27780 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27783 2012-10-22 Andreas Jaeger <aj@suse.de>
27785 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27787 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27790 bits/fcntl-linux.h.
27792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27793 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27795 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27800 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27801 Joseph Myers <joseph@codesourcery.com>
27803 * config.make.in (NM): New variable.
27805 2012-10-21 Andreas Jaeger <aj@suse.de>
27807 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27808 definitions and declarations that are provided by
27809 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27811 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27814 * elf/Makefile (tests-static): Add tst-leaks1-static.
27815 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27816 ($(objpfx)tst-leaks1-static): New rule.
27817 ($(objpfx)tst-leaks1-static-mem): Likewise.
27818 (tst-leaks1-static-ENV): New macro.
27819 * elf/dl-open.c (dl_open_worker): Check the main application
27820 only if SHARED is defined.
27821 * elf/tst-leaks1-static.c: New file.
27823 2012-10-20 Andreas Jaeger <aj@suse.de>
27825 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27826 generic values for Linux.
27827 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27828 and declarations that are provided by <bits/fcntl-linux.h> and
27829 include <bits/fcntl-linux.h>.
27830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27833 2012-10-20 Roland McGrath <roland@hack.frob.com>
27835 * io/fcntl.h: Move include of <bits/types.h> to the top and
27836 include it unconditionally.
27838 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27840 * wcsmbs/Makefile (tests-ifunc): New variable.
27841 (tests): Add $(tests-ifunc).
27842 * wcsmbs/test-wcschr-ifunc.c: New file.
27843 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27844 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27845 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27846 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27847 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27849 * string/Makefile (tests-ifunc): New variable.
27850 (tests): Add $(tests-ifunc).
27851 * string/test-memccpy.c (TEST_NAME): New macro.
27852 * string/test-memchr.c (TEST_NAME): Likewise.
27853 * string/test-memcmp.c (TEST_NAME): Likewise.
27854 * string/test-memcpy.c (TEST_NAME): Likewise.
27855 * string/test-memmem.c (TEST_NAME): Likewise.
27856 * string/test-memmove.c (TEST_NAME): Likewise.
27857 * string/test-memset.c (TEST_NAME): Likewise.
27858 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27859 * string/test-stpcpy.c (TEST_NAME): Likewise.
27860 * string/test-stpncpy.c (TEST_NAME): Likewise.
27861 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27862 * string/test-strcasestr.c (TEST_NAME): Likewise.
27863 * string/test-strcat.c (TEST_NAME): Likewise.
27864 * string/test-strchr.c (TEST_NAME): Likewise.
27865 * string/test-strcmp.c(TEST_NAME): Likewise.
27866 * string/test-strcpy.c (TEST_NAME): Likewise.
27867 * string/test-strcspn.c (TEST_NAME): Likewise.
27868 * string/test-strlen.c (TEST_NAME): Likewise.
27869 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27870 * string/test-strncmp.c (TEST_NAME): Likewise.
27871 * string/test-strncpy.c (TEST_NAME): Likewise.
27872 * string/test-strnlen.c (TEST_NAME): Likewise.
27873 * string/test-strpbrk.c (TEST_NAME): Likewise.
27874 * string/test-strrchr.c (TEST_NAME): Likewise.
27875 * string/test-strspn.c (TEST_NAME): Likewise.
27876 * string/test-strstr.c (TEST_NAME): Likewise.
27877 * string/test-bcopy-ifunc.c: New file.
27878 * string/test-bzero-ifunc.c: Likewise.
27879 * string/test-memccpy-ifunc.c: Likewise.
27880 * string/test-memchr-ifunc.c: Likewise.
27881 * string/test-memcmp-ifunc.c: Likewise.
27882 * string/test-memcpy-ifunc.c: Likewise.
27883 * string/test-memmem-ifunc.c: Likewise.
27884 * string/test-memmove-ifunc.c: Likewise.
27885 * string/test-mempcpy-ifunc.c: Likewise.
27886 * string/test-memset-ifunc.c: Likewise.
27887 * string/test-rawmemchr-ifunc.c: Likewise.
27888 * string/test-stpcpy-ifunc.c: Likewise.
27889 * string/test-stpncpy-ifunc.c: Likewise.
27890 * string/test-strcasecmp-ifunc.c: Likewise.
27891 * string/test-strcasestr-ifunc.c: Likewise.
27892 * string/test-strcat-ifunc.c: Likewise.
27893 * string/test-strchr-ifunc.c: Likewise.
27894 * string/test-strchrnul-ifunc.c: Likewise.
27895 * string/test-strcmp-ifunc.c: Likewise.
27896 * string/test-strcpy-ifunc.c: Likewise.
27897 * string/test-strcspn-ifunc.c: Likewise.
27898 * string/test-strlen-ifunc.c: Likewise.
27899 * string/test-strncasecmp-ifunc.c: Likewise.
27900 * string/test-strncat-ifunc.c: Likewise.
27901 * string/test-strncmp-ifunc.c: Likewise.
27902 * string/test-strncpy-ifunc.c: Likewise.
27903 * string/test-strnlen-ifunc.c: Likewise.
27904 * string/test-strpbrk-ifunc.c: Likewise.
27905 * string/test-strrchr-ifunc.c: Likewise.
27906 * string/test-strspn-ifunc.c: Likewise.
27907 * string/test-strstr-ifunc.c: Likewise.
27909 * debug/Makefile (tests-ifunc): New variable.
27910 (tests): Add $(tests-ifunc).
27911 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27912 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27913 * debug/test-stpcpy_chk-ifunc.c: New file.
27914 * debug/test-strcpy_chk-ifunc.c: Likewise.
27916 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27919 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27920 header is not read in.
27922 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27924 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27925 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27926 directly. Pass built executable to script as
27927 $(built-program-cmd).
27928 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27929 $testprogram without using LD_LIBRARY_PATH and $ldso.
27931 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27932 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27933 $(rtld-installed-name).
27934 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27935 (rtld_installed_name): Likewise.
27936 (library_path): Likewise.
27937 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27938 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27939 $(run-program-prefix) to tst-tables.sh.
27940 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27941 it to run tst-table-from and tst-table-to.
27942 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27943 Pass it to tst-table.sh.
27944 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27945 $(run-program-prefix) to tst-gettext.sh.
27946 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27948 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27950 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27951 to run tst-gettext.
27952 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27953 to run tst-gettext2.
27954 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27955 to run tst-translit.
27956 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27957 $(run-program-prefix) to tst-mtrace.sh.
27958 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27960 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27961 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27962 $(rtld-installed-name).
27963 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27964 (rtld_installed_name): Likewise.
27965 (run_program_prefix): New variable. Use it to run wordexp-test.
27967 * Makeconfig (ARCH): Remove all definitions.
27968 (machine): Likewise.
27969 [ARCH]: Remove conditional code.
27970 [!objdir]: Give error.
27971 [!objdir] (objpfx): Remove.
27972 [!objdir] (common-objpfx): Likewise.
27973 [!objdir] (common-objdir): Likewise.
27974 * configure.in (config_makefile): Remove. Hardcode Makefile in
27975 AC_CONFIG_FILES call.
27976 * configure: Regenerated.
27979 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27981 (testout): Likewise.
27983 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27984 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27985 $(rtld-installed-name).
27986 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27987 (rtld_installed_name): Likwise.
27988 (runit): Remove function.
27989 (run_getconf): New variable, Use it for running getconf binary.
27991 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27994 * string/test-memmem.c (check_result): New function.
27995 (do_one_test): Use it.
27996 (check1): New function.
27997 (test_main): Use it.
27999 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28001 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28003 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28005 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28006 (_G_LSEEK64): Likewise.
28007 (_G_MMAP64): Likewise.
28008 (_G_FSTAT64): Likewise.
28009 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28010 (_G_LSEEK64): Likewise.
28011 (_G_MMAP64): Likewise.
28012 (_G_FSTAT64): Likewise.
28013 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28014 unconditional. Call __mmap64 directly.
28015 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28016 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28017 __lseek64 directly.
28018 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28019 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28021 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28022 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28023 __lseek64 directly.
28024 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28025 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28026 __lseek64 directly.
28027 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28028 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28029 __lseek64 directly.
28030 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28031 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28032 __fxstat64 directly.
28033 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28034 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28036 (freopen64) [!_G_OPEN64]: Remove conditional code.
28037 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28039 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28040 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28042 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28043 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28045 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28046 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28048 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28049 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28051 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28052 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28054 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28055 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28057 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28059 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28062 * manual/memory.texi (Malloc Tunable Parameters): Add note
28063 about free list pointers overwriting some perturb bytes.
28064 Wording suggested by Roland McGrath.
28066 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28068 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28069 (lgamma_test): Likewise.
28070 (tgamma_test): Likewise.
28072 2012-10-16 Florian Weimer <fweimer@redhat.com>
28075 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28076 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28078 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28080 * NEWS: Mention BZ #14716.
28081 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28082 when removing AVAILABLE1_USES_J macro.
28084 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28086 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28087 (__bswap_64): __uint64_t for unsigned 64-bit int.
28089 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28091 * include/string.h (memmem): Declare libc hidden alias.
28092 * string/memmem.c (memmem): Define libc hidden alias.
28093 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28094 __read, __close instead of open, read, close.
28096 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28098 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28099 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28101 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28102 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28103 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28105 (__rawmemchr_sse2): Likewise.
28106 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28107 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28108 (__strchr_sse2): Likewise.
28109 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28110 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28111 (__strcasecmp_sse2): Likewise.
28112 (__strncasecmp_sse2): Likewise.
28113 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28114 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28115 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28116 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28117 (__strrchr_sse2): Likewise.
28118 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28120 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28121 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28122 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28123 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28124 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28125 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28126 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28127 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28128 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28129 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28130 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28131 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28132 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28133 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28134 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28135 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28136 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28137 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28138 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28139 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28140 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28141 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28142 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28143 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28144 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28145 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28146 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28147 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28148 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28149 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28151 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28153 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28154 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28155 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28156 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28158 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28160 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28161 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28162 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28163 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28165 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28166 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28167 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28168 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28169 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28170 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28171 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28172 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28173 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28174 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28175 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28176 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28177 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28178 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28179 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28180 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28181 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28182 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28183 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28184 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28185 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28186 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28187 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28188 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28189 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28190 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28191 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28192 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28193 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28194 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28195 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28196 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28197 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28198 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28199 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28200 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28201 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28202 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28203 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28204 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28205 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28207 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28208 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28209 * include/ifunc-impl-list.h: New file.
28210 * misc/ifunc-impl-list.c: Likewise.
28211 * misc/Makefile (routines): Add ifunc-impl-list.
28212 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28213 * string/test-string.h: Include <ifunc-impl-list.h>.
28214 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28215 TEST_NAME]: New variables.
28216 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28218 (test_init): Call __libc_ifunc_impl_list to initialize
28219 func_list if TEST_IFUNC and TEST_NAME are defined.
28221 * string/Makefile (strop-tests): Add bcopy and bzero.
28222 * string/test-bcopy.c: New file.
28223 * string/test-bzero.c: Likewise.
28224 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28226 * string/test-memset.c: Support bzero test if TEST_BZERO is
28228 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28230 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28232 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28235 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28237 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28238 * configure: Regenerated.
28240 * Makeconfig (+link-static-before-libc): Don't include
28241 $(link-static-libc).
28243 * libio/libio.h (_IO_pos_t): Remove.
28245 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28247 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28250 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28252 * crypt/crypt-entry.c: Include fips-private.h.
28253 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28254 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28255 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28256 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28258 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28260 * crypt/crypt-private.h: Include stdbool.h.
28261 (_ufc_setup_salt_r): Return bool.
28262 * crypt/crypt-entry.c: Include errno.h.
28263 (__crypt_r): Return NULL with EINVAL for bad salt.
28264 * crypt/crypt_util.c (bad_for_salt): New.
28265 (_ufc_setup_salt_r): Check that salt is long enough and within
28266 the specified alphabet.
28267 * crypt/badsalttest.c: New file.
28268 * crypt/Makefile (tests): Add it.
28269 ($(objpfx)badsalttest): New.
28271 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28273 * NEWS: Add entry for BZ #14602.
28275 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28277 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28279 * math/libm-test.inc: Update comment listing what functions and
28281 (isgreater_test): New function.
28282 (isgreaterequal_test): Likewise.
28283 (isless_test): Likewise.
28284 (islessequal_test): Likewise.
28285 (islessgreater_test): Likewise.
28286 (isunordered_test): Likewise.
28287 (main): Call the new functions.
28289 2012-10-09 Roland McGrath <roland@hack.frob.com>
28291 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28292 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28293 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28294 * sysdeps/i386/configure: Regenerated.
28295 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28296 * sysdeps/mach/configure: Regenerated.
28297 * sysdeps/mach/hurd/configure: Regenerated.
28298 * sysdeps/powerpc/configure: Regenerated.
28299 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28300 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28301 * sysdeps/s390/s390-32/configure: Regenerated.
28302 * sysdeps/s390/s390-64/configure: Regenerated.
28303 * sysdeps/sh/configure: Regenerated.
28304 * sysdeps/sparc/configure: Regenerated.
28305 * sysdeps/unix/sysv/linux/configure: Regenerated.
28306 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28307 * sysdeps/x86_64/configure: Regenerated.
28309 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28310 defined. Don't check if MAP is NULL.
28312 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28314 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28315 (_G_stat64): Likewise.
28316 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28317 (_G_stat64): Likewise.
28318 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28319 instead of struct _G_stat64.
28320 * libio/fileops.c (mmap_remap_check): Likewise.
28321 (decide_maybe_mmap): Likewise.
28322 (_IO_new_file_seekoff): Likewise.
28323 (_IO_file_stat): Likewise.
28324 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28326 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28327 instead of struct _G_stat64.
28328 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28330 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28333 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28335 (CHECK_EOL): New macro.
28336 (two_way_short_needle): Check beginning of haystack for EOL. Use
28338 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28339 Replace with CHECK_EOL.
28340 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28341 Replace with CHECK_EOL.
28343 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28345 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28347 * math/libm-test.inc: Update comment listing what functions and
28349 (finite_test): New function.
28350 (isinf_test): Likewise.
28351 (isnan_test): Likewise.
28352 (fpclassify_test): Test subnormal input.
28353 (isfinite_test): Likewise.
28354 (isnormal_test): Likewise.
28355 (main): Call the new functions.
28357 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28360 * Makerules (%.dynsym): Force C locale when running
28361 $(OBJDUMP) --dynamic-syms.
28363 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28365 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28368 2012-10-06 David S. Miller <davem@davemloft.net>
28370 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28371 upper 32-bits of the length value in %o2 since we use branch-on-register
28372 tests which consider the entire 64-bit register.
28374 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28376 * string/test-strstr.c (check2): Add a test for page boundary.
28378 2012-10-05 David S. Miller <davem@davemloft.net>
28380 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28381 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28383 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28385 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28386 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28387 and bzero when HWCAP_SPARC_CRYPTO is present.
28389 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28392 * string/test-strstr.c (check2): New function.
28393 (test_main): Call check2.
28395 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28397 * string/bug-strcasestr1.c (do_test): Moved to ...
28398 * string/test-strcasestr.c (check1): Here. New function.
28399 (do_one_test): Break out result checking code into ...
28400 (check_result): This. New function.
28401 (do_one_test): Call check_result.
28402 (test_main): Call check1.
28403 * string/bug-strchr1.c (do_test): Moved to ...
28404 * string/test-strchr.c (check1): Here. New function.
28405 (do_one_test): Break out result checking code into ...
28406 (check_result): This. New function.
28407 (do_one_test): Call check_result.
28408 (test_main): Call check1.
28409 * string/bug-strstr1.c (main): Moved to ...
28410 * string/test-strstr.c (check1): Here. New function.
28411 (do_one_test): Break out result checking code into ...
28412 (check_result): This. New function.
28413 (do_one_test): Call check_result.
28414 (test_main): Call check1.
28415 * string/bug-strcasestr1.c: Removed.
28416 * string/bug-strchr1.c: Likewise.
28417 * string/bug-strstr1.c: Likewise.
28419 * elf/Makefile (dl-routines): Add hwcaps.
28420 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28421 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28422 (_dl_important_hwcaps): Moved to ...
28423 * elf/dl-hwcaps.c: Here. New file.
28424 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28427 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28428 if IS_IN_rtld isn't defined.
28430 * elf/dl-support.c (_dl_sysinfo_map): New.
28431 Include "get-dynamic-info.h" and "setup-vdso.h".
28432 (_dl_non_dynamic_init): Call setup_vdso.
28433 * elf/dynamic-link.h: Don't include <assert.h>.
28434 (elf_get_dynamic_info): Moved to ...
28435 * elf/get-dynamic-info.h: Here. New file.
28436 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28437 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28438 * elf/setup-vdso.h: Here. New file.
28439 * elf/rtld.c: Include "setup-vdso.h".
28440 (dl_main): Call setup_vdso.
28442 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28444 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28445 creal in comment listing functions tested. List finite, isinf,
28446 isnan, isless, islessequal, isgreater, isgreaterequal,
28447 islessgreater, isunordered, lgamma_r and pow10 as functions and
28448 macros not tested. Mention which functions not tested are aliases
28449 for other functions. Fix typo. Note that signs of NaNs are not
28452 * scripts/config.guess: Update from config.git.
28453 * scripts/config.sub: Likewise.
28455 2012-10-04 Roland McGrath <roland@hack.frob.com>
28457 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28458 * misc/madvise.c (madvise): Renamed to __madvise.
28459 Make madvise a weak alias.
28460 * include/sys/mman.h: Declare __madvise.
28461 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28462 * sysdeps/unix/syscalls.list
28463 (madvise): Make __madvise the strong name, and madvise a weak alias.
28464 * sysdeps/unix/sysv/linux/syscalls.list
28465 (madvise, mmap): Remove redundant entries.
28466 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28467 * malloc/malloc.c (mtrim): Likewise.
28468 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28470 2012-10-03 Roland McGrath <roland@hack.frob.com>
28472 * sysdeps/mach/hurd/dl-cache.c: File removed.
28473 * config.h.in (USE_LDCONFIG): New #undef.
28474 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28475 * configure: Regenerated.
28476 * elf/Makefile (dl-routines): Add dl-cache only under
28477 [$(use-ldconfig) = yes].
28478 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28479 cache on [USE_LDCONFIG].
28480 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28482 * elf/rtld.c (dl_main): Likewise.
28484 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28486 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28487 _SC_LEVEL4_CACHE_LINESIZE.
28489 2012-10-03 Roland McGrath <roland@hack.frob.com>
28491 * sysdeps/unix/bsd/confstr.h: File removed.
28493 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28495 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28498 2012-10-02 Roland McGrath <roland@hack.frob.com>
28500 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28501 Make 'mapoff' field ElfW(Off) rather than off_t.
28503 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28505 * nscd/Makefile: Remove nscd-cflags and all its users.
28506 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28507 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28510 * malloc.c (malloc_printerr): Clarify error message.
28512 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28516 Set bit_FMA_Usable if FMA is supported.
28517 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28519 (bit_FMA4_Usable): Updated.
28520 (index_FMA_Usable): New macro.
28521 (CPUID_FMA): Likewise
28522 (HAS_FMA): Defined with bit_FMA_Usable.
28524 2012-10-01 Roland McGrath <roland@hack.frob.com>
28526 * bits/types.h (__swblk_t): Type removed.
28527 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28528 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28530 (__SWBLK_T_TYPE): Likewise.
28531 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28532 (__SWBLK_T_TYPE): Likewise.
28533 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28534 (__SWBLK_T_TYPE): Likewise.
28535 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28536 (__SWBLK_T_TYPE): Likewise.
28538 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28539 Honza Horak <hhorak@redhat.com>
28541 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28542 (xdr_mapname): Use YPMAXMAP as maxsize.
28543 (xdr_peername): Use YPMAXPEER as maxsize.
28544 (xdr_keydat): Use YPAXRECORD as maxsize.
28545 (xdr_valdat): Use YPMAXRECORD as maxsize.
28547 2012-10-01 Roland McGrath <roland@hack.frob.com>
28549 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28551 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28552 * csu/init-first.c: ... here.
28553 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28554 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28555 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28556 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28557 * sysdeps/i386/init-first.c: File removed.
28558 * sysdeps/sh/init-first.c: File removed.
28560 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28563 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28564 if x * y might underflow to zero and z is zero.
28565 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28567 * math/libm-test.inc (min_subnorm_value): New variable.
28568 (fma_test): Add more tests.
28569 (fma_test_towardzero): Likewise.
28570 (fma_test_downward): Likewise
28571 (fma_test_upward): Likewise.
28572 (initialize): Set min_subnorm_value.
28574 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28579 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28580 mode for addition resulting in exact zero.
28581 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28584 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28585 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28586 * math/libm-test.inc (fma_test): Add more tests.
28587 (fma_test_towardzero): New function.
28588 (fma_test_downward): Likewise.
28589 (fma_test_upward): Likewise.
28590 (main): Call the new functions.
28592 2012-09-28 David S. Miller <davem@davemloft.net>
28594 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28596 2012-09-28 Roland McGrath <roland@hack.frob.com>
28598 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28599 instead of SIGALRM.
28601 * sysdeps/gnu/_G_config.h: Moved to ...
28602 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28603 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28604 * sysdeps/generic/_G_config.h: ... here.
28606 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28608 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28610 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28611 Conditionalize target on [libnss_test1.so-version].
28613 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28615 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28616 (elfobjdir): Move out of conditionals.
28618 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28619 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28620 (__nss_lookup_function): Conditionalize label remove_from_tree on
28621 [!DO_STATIC_NSS || SHARED], matching its only use.
28623 2012-09-28 David S. Miller <davem@davemloft.net>
28625 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28626 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28628 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28630 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28631 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28632 when HWCAP_SPARC_CRYPTO is present.
28634 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28636 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28638 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28641 * stdio-common/vfprintf.c (process_string_arg): Revert
28644 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28646 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28648 * stdio-common/tst-sprintf.c: Include <locale.h>
28649 (main): Test sprintf's handling of incomplete multibyte
28652 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28654 * elf/dl-runtime.c (VERSYMIDX): Removed.
28655 * elf/dl-version.c (VERSYMIDX): Likewise.
28656 * elf/do-rel.h (VERSYMIDX): Likewise.
28657 (VALIDX): Likewise.
28658 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28659 * elf/rtld.c (VALIDX): Likewise.
28660 (ADDRIDX): Likewise.
28661 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28662 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28663 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28664 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28665 (VALIDX): Likewise.
28666 (ADDRIDX): Likewise.
28668 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28670 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28672 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28675 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28677 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28678 addresses are in the same scope as 192.0.2/24.
28679 * posix/gai.conf: Document new scope table defaults.
28681 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28684 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28685 for ftell. Compute offsets from write pointers instead.
28686 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28688 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28691 * libio/Makefile (tests): New test case tst-fseek.
28692 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28693 combination works in wide mode.
28694 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28695 state when the external buffer state changes.
28697 2012-09-27 David S. Miller <davem@davemloft.net>
28700 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28701 pass reloc->r_addend in as the 'high' argument to
28702 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28706 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28708 * rt/tst-aio2.c: Include <pthread.h>.
28709 * rt/tst-aio3.c: Likewise.
28711 2012-09-27 Steve Ellcey <sellcey@mips.com>
28713 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28715 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28717 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28718 contents on [SHARED].
28720 2012-09-26 Marek Polacek <polacek@redhat.com>
28724 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28725 for C++ and GCC <4.3 as well as for non GCC compilers.
28727 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28731 2012-09-25 Roland McGrath <roland@hack.frob.com>
28733 * Makefile.in (all, install): Declare with .PHONY.
28734 Reported by Michael Hope <michael.hope@linaro.org>.
28736 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28738 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28739 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28741 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28743 (sydep_routines): Add the new and the internal functions.
28744 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28745 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28747 (GLIBC_2.17): Add the new function.
28748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28749 (GLIBC_2.17): Likewise.
28750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28751 (GLIBC_2.17): Likewise.
28752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28753 (GLIBC_2.17): Likewise.
28754 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28756 2012-09-25 Alan Modra <amodra@gmail.com>
28758 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28759 Add release barrier before setting once_control to say
28760 initialisation is done. Add hints on lwarx. Use macro in
28762 (clear_once_control): Add release barrier.
28764 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28767 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28769 * math/s_clog10.c (__clog10): Likewise.
28770 * math/s_clog10f.c (__clog10f): Likewise.
28771 * math/s_clog10l.c (__clog10l): Likewise.
28772 * math/s_clogf.c (__clogf): Likewise.
28773 * math/s_clogl.c (__clogl): Likewise.
28774 * math/Makefile (libm-calls): Add x2y2m1.
28775 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28776 (__x2y2m1): Likewise.
28777 (__x2y2m1l): Likewise.
28778 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28779 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28782 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28783 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28784 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28785 * sysdeps/i386/fpu/libm-test-ulps: Update.
28786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28789 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28790 int as type of variable DEPTH.
28791 (glob): Use size_t instead of int as type of variables NEWCOUNT
28794 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28796 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28797 Add s_sincosf-sse2.
28798 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28799 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28800 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28801 macros for using routine as __sincosf_ia32.
28802 Use macro for function declaration and weak_alias.
28803 * sysdeps/i386/fpu/libm-test-ulps: Update.
28805 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28808 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28809 subnormal argument.
28810 * math/s_cexpf.c (__cexpf): Likewise.
28811 * math/s_csinf.c (__csinf): Likewise.
28812 * math/s_csinhf.c (__csinhf): Likewise.
28813 * math/s_ctanf.c (__ctanf): Likewise.
28814 * math/s_ctanhf.c (__ctanhf): Likewise.
28815 * math/s_ccosh.c (__ccoshf): Likewise.
28816 * math/s_cexp.c (__cexpl): Likewise.
28817 * math/s_csin.c (__csin): Likewise.
28818 * math/s_csinh.c (__csinh): Likewise.
28819 * math/s_ctan.c (__ctan): Likewise.
28820 * math/s_ctanh.c (ctanh): Likewise.
28821 * math/s_ccoshl.c (__ccoshl): Likewise.
28822 * math/s_cexpl.c (__cexpl): Likewise.
28823 * math/s_csinl.c (__csinl): Likewise.
28824 * math/s_csinhl.c (__csinhl): Likewise.
28825 * math/s_ctanl.c (__ctanl): Likewise.
28826 * math/s_ctanhl.c (__ctanhl): Likewise.
28828 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28830 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28831 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28832 (_IO_off_t): Define to __off_t, not _G_off_t.
28833 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28834 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28835 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28836 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28837 type of __dummy and __dummy2 fields.
28838 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28839 (_G_ssize_t): Likewise.
28840 (_G_off_t): Likewise.
28841 (_G_pid_t): Likewise.
28842 (_G_uid_t): Likewise.
28843 (_G_wchar_t): Likewise.
28844 (_G_wint_t): Likewise.
28845 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28846 (_G_ssize_t): Likewise.
28847 (_G_off_t): Likewise.
28848 (_G_pid_t): Likewise.
28849 (_G_uid_t): Likewise.
28850 (_G_wchar_t): Likewise.
28851 (_G_wint_t): Likewise.
28852 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28853 (_G_ssize_t): Likewise.
28854 (_G_off_t): Likewise.
28855 (_G_pid_t): Likewise.
28856 (_G_uid_t): Likewise.
28857 (_G_wchar_t): Likewise.
28858 (_G_wint_t): Likewise.
28860 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28862 * malloc/arena.c: Include malloc-sysdep.h.
28863 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28864 is sufficient to shrink the heap or an unmap is needed.
28865 * sysdeps/generic/malloc-sysdep.h: New file. Define
28866 new function check_may_shrink_heap.
28867 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28868 new function check_may_shrink_heap.
28870 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28872 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28875 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28877 * catgets/test-gencat.sh: Add "set -e".
28878 * elf/tst-pathopt.sh: Likewise.
28879 * grp/tst_fgetgrent.sh: Likewise.
28880 * iconvdata/run-iconv-test.sh: Likewise.
28881 * intl/tst-gettext.sh: Likewise.
28882 * intl/tst-gettext2.sh: Likewise.
28883 * intl/tst-gettext4.sh: Likewise.
28884 * intl/tst-gettext6.sh: Likewise.
28885 * intl/tst-translit.sh: Likewise.
28886 * io/ftwtest-sh: Likewise.
28887 * libio/test-freopen.sh: Likewise.
28888 * malloc/tst-mtrace.sh: Likewise.
28889 * posix/globtest.sh: Likewise.
28890 * posix/tst-getconf.sh: Likewise.
28891 * posix/wordexp-tst.sh: Likewise.
28892 * stdio-common/tst-printf.sh: Likewise.
28893 * stdio-common/tst-unbputc.sh: Likewise.
28894 * stdlib/tst-fmtmsg.sh: Likewise.
28895 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28896 * catgets/Makefile: Do not specify -e option when running
28897 testsuite shell scripts.
28898 * elf/Makefile: Likewise.
28899 * grp/Makefile: Likewise.
28900 * iconvdata/Makefile: Likewise.
28901 * intl/Makefile: Likewise.
28902 * io/Makefile: Likewise.
28903 * libio/Makefile: Likewise.
28904 * malloc/Makefile: Likewise.
28905 * posix/Makefile: Likewise.
28906 * stdio-common/Makefile: Likewise.
28907 * stdlib/Makefile: Likewise.
28908 * sysdeps/x86_64/Makefile: Likewise.
28910 * io/ftwtest-sh: Add copyright header.
28911 * posix/globtest.sh: Likewise.
28912 * posix/tst-getconf.sh: Likewise.
28913 * posix/wordexp-tst.sh: Likewise.
28914 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28916 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28919 * Makeconfig (+link): Defined as $(+link-static) if
28920 $(build-shared) isn't yes.
28921 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28923 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28925 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28928 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28929 new chunk size with MALLOC_ALIGN_MASK.
28931 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28934 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28936 (__printf_fphex): Determine rounding using get_rounding_mode and
28938 * stdio-common/tst-printf-round.c (struct hex_test): New
28940 (hex_tests): New variable.
28941 (test_hex_in_one_mode): New function.
28942 (do_test): Also run tests for hex float output.
28944 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28946 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28947 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28948 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28949 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28950 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28951 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28952 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28953 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28955 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28957 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28958 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28959 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28960 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28962 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28965 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28967 * elf/tst-rtld-load-self.sh: New test.
28968 * elf/Makefile: Run it.
28970 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28972 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28973 (tst-writev-ENV): Remove.
28974 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28976 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28978 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28980 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28982 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28984 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28986 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28987 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28988 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28991 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28994 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28995 * config.make.in (have-cpp-asm-debuginfo): Removed.
28996 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28997 * configure: Regenerated.
28999 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29002 * stdio-common/printf_fp.c: Include <stdbool.h> and
29004 (___printf_fp): Determine rounding using get_rounding_mode and
29006 * stdio-common/tst-printf-round.c: New file.
29007 * stdio-common/Makefile (tests): Add tst-printf-round.
29008 (link-libm): New variable.
29009 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29011 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29014 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29015 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29017 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29020 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29022 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29023 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29024 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29025 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29027 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29030 * include/rounding-mode.h: New file.
29031 * sysdeps/generic/get-rounding-mode.h: Likewise.
29032 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29033 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29034 (MAX_VALUE): New macro.
29035 (MIN_VALUE): Likewise.
29036 (overflow_value): New function.
29037 (underflow_value): Likewise.
29038 (round_and_return): Use overflow_value and underflow_value to
29039 determine return values in overflow and underflow cases. Use
29040 round_away to determine rounding depending on rounding mode.
29041 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29042 determine return values in overflow and underflow cases.
29043 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29044 (struct test_results): New structure.
29045 (struct test): Use struct test_results to store expected results
29046 for all rounding modes.
29047 (TEST): Include expected results for all rounding modes.
29048 (test_in_one_mode): New function.
29049 (do_test): Use test_in_one_mode to compute and check results.
29050 Check results for all rounding modes.
29051 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29054 2012-12-09 Allan McRae <allan@archlinux.org>
29056 * sysdeps/i386/fpu/libm-test-ulps: Update
29058 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29060 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29061 (_G_int32_t): Likewise.
29062 (_G_uint16_t): Likewise.
29063 (_G_uint32_t): Likewise.
29064 (_G_HAVE_BOOL): Likewise.
29065 (_G_HAVE_ATEXIT): Likewise.
29066 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29067 (_G_HAVE_IO_FILE_OPEN): Likewise.
29068 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29069 (_G_int32_t): Likewise.
29070 (_G_uint16_t): Likewise.
29071 (_G_uint32_t): Likewise.
29072 (_G_HAVE_BOOL): Likewise.
29073 (_G_HAVE_ATEXIT): Likewise.
29074 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29075 (_G_HAVE_IO_FILE_OPEN): Likewise.
29076 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29077 (_G_int32_t): Likewise.
29078 (_G_uint16_t): Likewise.
29079 (_G_uint32_t): Likewise.
29080 (_G_HAVE_BOOL): Likewise.
29081 (_G_HAVE_ATEXIT): Likewise.
29082 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29083 (_G_HAVE_IO_FILE_OPEN): Likewise.
29085 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29087 * csu/libc-tls.c: Update copyright years.
29089 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29091 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29092 [!_G_USING_THUNKS]: Remove conditional code.
29093 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29094 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29096 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29097 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29098 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29099 (_G_VTABLE_LABEL_PREFIX): Likewise.
29100 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29101 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29102 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29103 (_G_VTABLE_LABEL_PREFIX): Likewise.
29104 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29105 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29106 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29107 (_G_VTABLE_LABEL_PREFIX): Likewise.
29108 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29110 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29112 * libio/Makefile: Include ../Makeconfig before tests.
29113 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29114 only if $(build-shared) is yes.
29116 * iconv/gconv_db.c: Update copyright years.
29118 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29120 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29121 unwind info if defined PIC. Fix special cases description.
29122 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29124 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29126 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29128 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29130 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29132 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29135 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29136 (LDLIBS-tst-chk4): This.
29137 (LDFLAGS-tst-chk5): Renamed to ...
29138 (LDLIBS-tst-chk5): This.
29139 (LDFLAGS-tst-chk6): Renamed to ...
29140 (LDLIBS-tst-chk6): This.
29141 (LDFLAGS-tst-lfschk4): Renamed to ...
29142 (LDLIBS-tst-lfschk4): This.
29143 (LDFLAGS-tst-lfschk5): Renamed to ...
29144 (LDLIBS-tst-lfschk5): This.
29145 (LDFLAGS-tst-lfschk6): Renamed to ...
29146 (LDLIBS-tst-lfschk6): This.
29148 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29149 on $(common-objpfx)soversions.mk.
29151 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29154 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29157 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29159 * malloc/arena.c (arena_get_retry): New function that gets
29160 another arena for the caller to try its request on.
29161 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29162 current arena cannot fulfill the request.
29163 (__libc_memalign): Likewise.
29164 (__libc_memalign): Likewise.
29165 (__libc_pvalloc): Likewise.
29166 (__libc_calloc): Likewise.
29168 2012-09-05 John Tobey <john.tobey@gmail.com>
29171 * manual/arith.texi (Operations on Complex): Fix description
29172 of carg branch cut.
29174 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29177 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29181 * manual/memory.texi (Memory): Make order of menu items match
29184 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29186 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29187 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29188 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29190 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29192 * csu/libc-tls.c (static_dtv): Renamed to ...
29193 (_dl_static_dtv): This. Make it global.
29194 (_dl_initial_dtv): Removed.
29195 (__libc_setup_tls): Updated.
29196 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29197 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29200 2012-09-06 Petr Machata <pmachata@redhat.com>
29202 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29203 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29204 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29205 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29207 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29210 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29211 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29214 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29217 * Makeconfig (link-static-before-libc): Replace $(+prector)
29219 (link-static-after-libc): Replace $(+postctor) with
29221 (link-bounded): Replace $(+prector)/$(+postctor) with
29222 $(+prectorT)/$(+postctorT).
29223 (+prectorT): New macro.
29224 (+postctorT): Likewise.
29226 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29228 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29229 (round_str): Handle values above the maximum for IBM long double
29231 * stdlib/tst-strtod-round.c (tests): Regenerated.
29233 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29235 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29237 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29238 zarch_nohighgprs around the zarch optimized routines.
29239 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29240 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29241 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29244 2012-09-05 David S. Miller <davem@davemloft.net>
29246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29248 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29249 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29250 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29251 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29254 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29256 * malloc/arena.c: Fold copyright years.
29257 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29259 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29261 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29263 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29265 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29267 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29269 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29270 change internal state upon failure.
29272 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29274 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29275 * malloc/memusage.c (mmap): Likewise.
29276 (mmap64, mremap): Likewise. Adjust name in comment.
29278 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29280 * libio/fileops.c: Fix typos in comments.
29281 * libio/oldfileops.c: Likewise.
29282 * libio/wfileops.c: Likewise.
29284 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29287 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29288 (tst-malloc-usable-ENV): Set environment for test case.
29289 * malloc/hooks.c (malloc_check_get_size): New function to get
29291 * malloc/malloc.c (musable): Use malloc_check_get_size.
29292 * malloc/tst-malloc-usable.c: New test case.
29294 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29296 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29298 2012-09-05 Allan McRae <allan@archlinux.org>
29301 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29302 determine header location.
29303 * configure: Regenerated.
29305 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29307 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29309 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29310 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29312 (test): Regenerate.
29314 2012-09-04 David S. Miller <davem@davemloft.net>
29316 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29317 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29318 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29320 2012-09-04 Florian Weimer <fweimer@redhat.com>
29322 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29325 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29327 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29330 * libio/iogetdelim.c: Include <limits.h>.
29331 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29332 + len + 1 would overflow.
29334 2012-09-03 Andreas Jaeger <aj@suse.de>
29336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29337 * sysdeps/i386/fpu/libm-test-ulps: Update.
29339 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29341 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29342 Add s_sinf-sse2, s_conf-sse2.
29344 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29345 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29346 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29347 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29349 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29350 for using routine as __sinf_ia32.
29351 Use macro for function declaration and weak_alias.
29352 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29353 for using routine as __cosf_ia32.
29354 Use macro for function declaration and weak_alias.
29356 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29357 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29359 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29360 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29363 * math/libm-test.inc (cos_test): Add more test cases.
29364 (sin_test): Likewise.
29365 (sincos_test): Likewise.
29367 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29369 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29370 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29372 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29374 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29377 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29378 first element of the GOT.
29379 (elf_machine_load_address): Return the difference between
29380 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29382 2012-09-01 Allan McRae <allan@archlinux.org>
29385 * configure.in (AWK): Require gawk version 3.0 or later.
29386 * configure: Regenerated.
29388 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29390 * sysdeps/unix/sysv/linux/kernel-features.h
29391 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29392 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29393 [__NR_clock_getres]: Make code unconditional.
29394 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29395 (clock_getcpuclockid): Remove code left unreachable by removal of
29397 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29398 code unconditional.
29399 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29400 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29401 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29402 Make code unconditional.
29403 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29404 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29405 * sysdeps/unix/sysv/linux/clock_settime.c
29406 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29408 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29409 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29411 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29414 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29415 scripts/test-installation.pl.
29417 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29418 and $ld_so_version if it is set.
29420 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29423 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29424 failure if reading from procfs failed.
29425 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29427 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29429 * sysdeps/unix/sysv/linux/kernel-features.h
29430 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29431 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29432 Remove conditional code.
29433 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29434 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29435 Remove conditional code.
29436 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29437 * sysdeps/unix/sysv/linux/i386/fxstat.c
29438 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29439 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29440 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29441 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29442 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29443 * sysdeps/unix/sysv/linux/i386/lxstat.c
29444 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29445 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29446 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29447 Remove conditional code.
29448 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29449 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29450 Remove conditional code.
29451 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29452 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29453 <kernel-features.h>.
29454 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29456 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29457 Remove conditional code.
29458 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29459 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29460 Remove conditional.
29462 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29465 * NEWS: Add fixed bug number.
29467 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29470 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29471 underflowing exponent in case of negative sign.
29472 * stdlib/tst-strtod-round-data: Add more tests.
29473 * stdlib/tst-strtod-round.c (tests): Regenerated.
29476 * stdlib/strtod_l.c (NDIG): Remove.
29477 (HEXNDIG): Likewise.
29478 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29479 smallest representable value.
29480 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29481 lie within an exact representation of 1/2 ulp of the result.
29482 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29484 (TENS_P9_IDX): Define unconditionally.
29485 (TENS_P9_SIZE): Likewise.
29486 (TENS_P10_IDX): Likewise.
29487 (TENS_P10_SIZE): Likewise.
29488 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29489 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29490 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29491 entries for 10^2^13 and 10^2^14.
29492 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29493 (TENS_P13_IDX): Define.
29494 (TENS_P13_SIZE): Likewise.
29495 (TENS_P14_IDX): Likewise.
29496 (TENS_P14_SIZE): Likewise.
29497 (_fpioconst_pow10): Change array size to
29498 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29500 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29501 1024]: Add entries for 10^2^13 and 10^2^14.
29502 [LAST_POW10 > _LAST_POW10]: Remove #error.
29503 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29504 (_fpioconst_pow10): Change array size to
29505 FPIOCONST_POW10_ARRAY_SIZE.
29506 * stdlib/gen-fpioconst.c: New file.
29507 * stdlib/gen-tst-strtod-round.c: Likewise.
29508 * stdlib/tst-strtod-round-data: Likewise.
29509 * stdlib/tst-strtod-round.c: Likewise.
29510 * stdlib/Makefile (tests): Add tst-strtod-round.
29513 * stdlib/strtod_l.c: Include <stdint.h>.
29514 (NDEBUG): Do not define.
29515 (round_and_return): Change EXPONENT parameter to type intmax_t.
29516 Rearrange calculations to avoid internal overflow possibilities.
29517 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29518 Rearrange calculations to avoid internal overflow possibilities.
29519 Assert that number fits inside MPNSIZE limbs.
29520 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29521 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29522 calculations and add assertions to avoid internal overflow
29523 possibilities. Add casts to avoid signed/unsigned operations.
29524 * stdlib/tst-strtod-overflow.c: New file.
29525 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29527 2012-08-25 Marek Polacek <polacek@redhat.com>
29529 * time/time.h: Fix some typos in comments.
29531 2012-08-23 Roland McGrath <roland@hack.frob.com>
29533 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29534 * posix/tst-rfc3484-2.c: Likewise.
29535 * posix/tst-rfc3484-3.c: Likewise.
29537 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29539 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29540 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29542 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29544 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29545 #include of fxstatat64.c.
29547 2012-08-22 Roland McGrath <roland@hack.frob.com>
29549 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29550 * shadow/getspent_r.c: Likewise.
29551 * shadow/getspnam.c: Likewise.
29552 * shadow/getspnam_r.c: Likewise.
29553 * gshadow/getsgent.c: Likewise.
29554 * gshadow/getsgent_r.c: Likewise.
29555 * gshadow/getsgnam.c: Likewise.
29556 * gshadow/getsgnam_r.c: Likewise.
29557 * inet/getnetbyad.c: Likewise.
29558 * inet/getnetbyad_r.c: Likewise.
29559 * inet/getnetbynm.c: Likewise.
29560 * inet/getnetbynm_r.c: Likewise.
29561 * inet/getnetent.c: Likewise.
29562 * inet/getnetent_r.c: Likewise.
29563 * inet/getproto.c: Likewise.
29564 * inet/getproto_r.c: Likewise.
29565 * inet/getprtent.c: Likewise.
29566 * inet/getprtent_r.c: Likewise.
29567 * inet/getprtname.c: Likewise.
29568 * inet/getprtname_r.c: Likewise.
29569 * inet/getrpcbyname.c: Likewise.
29570 * inet/getrpcbyname_r.c: Likewise.
29571 * inet/getrpcbynumber.c: Likewise.
29572 * inet/getrpcbynumber_r.c: Likewise.
29573 * inet/getrpcent.c: Likewise.
29574 * inet/getrpcent_r.c: Likewise.
29575 * inet/getaliasent.c: Likewise.
29576 * inet/getaliasent_r.c: Likewise.
29577 * inet/getaliasname.c: Likewise.
29578 * inet/getaliasname_r.c: Likewise.
29579 * nscd/getgrgid_r.c: Likewise.
29580 * nscd/getgrnam_r.c: Likewise.
29581 * nscd/gethstbyad_r.c: Likewise.
29582 * nscd/gethstbynm3_r.c: Likewise.
29583 * nscd/getpwnam_r.c: Likewise.
29584 * nscd/getpwuid_r.c: Likewise.
29585 * nscd/getsrvbynm_r.c: Likewise.
29586 * nscd/getsrvbypt_r.c: Likewise.
29587 * nscd/gai.c: Likewise.
29589 * configure.in (build_nscd): New substituted variable, set
29590 by --disable-build-nscd and defaults to $use_nscd.
29591 * configure: Regenerated.
29592 * config.make.in (build-nscd): New substituted variable.
29593 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29594 Change conditional to require [$(build-nscd) = yes] as well.
29595 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29598 * configure.in (use_nscd): New substituted variable, set by
29599 --disable-nscd. If enabled, define USE_NSCD.
29600 * configure: Regenerated.
29601 * config.h.in: Add USE_NSCD.
29602 * config.make.in (use-nscd): New substituted variable.
29603 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29604 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29605 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29606 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29607 (CFLAGS-getgrnam_r.c): Likewise.
29608 (CFLAGS-initgroups.c): Likewise.
29609 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29610 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29612 * inet/getnetgrent_r.c
29613 (nscd_setnetgrent): New function, broken out of ...
29614 (setnetgrent): ... here. Call it.
29615 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29616 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29617 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29618 * nscd/Makefile (routines, aux): Move definitions after include of
29619 Makeconfig. Conditionalize on [$(use-nscd) != no].
29620 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29621 Conditionalize on [USE_NSCD].
29622 (is_nscd, nscd_init_cb): Likewise.
29623 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29624 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29625 * nss/nss_db/db-init.c: Likewise.
29626 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29628 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29629 (make_request): Use it.
29630 (cache_valid_p): New function.
29631 (__check_pf): Use it.
29632 * NEWS: Add item for --disable-nscd.
29634 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29636 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29637 to support sed >= 4.2.1-20-ga9bf076.
29638 * configure: Regenerated.
29640 2012-08-22 Roland McGrath <roland@hack.frob.com>
29642 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29643 Conditionalize whole body on [IREL].
29645 2012-08-22 Jeff Law <law@redhat.com>
29648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29649 if the family is PF_UNSPEC.
29651 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29653 * Makerules (lib-version): Rename from V.
29654 (install-lib-nosubdir): Change V to lib-version.
29656 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29659 * powerpc32/power6/wcschr.c: New file.
29660 * powerpc32/power6/wcscpy.c: New file.
29661 * powerpc32/power6/wcsrchr.c: New file.
29662 * powerpc64/power6/wcschr.c: New file.
29663 * powerpc64/power6/wcscpy.c: New file.
29664 * powerpc64/power6/wcsrchr.c: New file.
29666 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29668 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29669 (two_way_short_needle): Use it.
29670 * string/strstr.c (AVAILABLE1_USES_J): Define.
29671 * string/strcasestr.c: Likewise.
29673 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29675 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29678 * NEWS: Add an entry.
29679 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29680 define their defaults.
29681 (two_way_short_needle): Detect end-of-string on-the-fly.
29682 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29683 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29684 * string/bug-strcasestr1.c: New test.
29685 * string/Makefile: Run it.
29687 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29690 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29691 the first character.
29693 2012-08-21 Roland McGrath <roland@hack.frob.com>
29695 * csu/elf-init.c (__libc_csu_irel): Function removed.
29696 * csu/libc-start.c (apply_irel): New function.
29697 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29699 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29701 * sysdeps/unix/sysv/linux/kernel-features.h
29702 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29703 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29704 <kernel-features.h>.
29705 [__NR_fadvise64_64]: Make code unconditional.
29706 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29707 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29708 !__NR_fadvise64_64)]: Likewise.
29709 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29710 !__NR_fadvise64_64))]: Likewise.
29711 [__NR_fadvise64]: Make code unconditional.
29712 [!__NR_fadvise64]: Remove conditional code.
29713 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29714 <kernel-features.h>.
29715 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29717 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29720 not include <kernel-features.h>.
29721 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29723 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29725 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29726 include <kernel-features.h>.
29727 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29729 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29732 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29734 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29735 slight instruction rearrangements per scrollpipe analysis.
29736 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29738 2012-08-20 Roland McGrath <roland@hack.frob.com>
29740 * manual/syslog.texi (syslog; vsyslog, closelog):
29741 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29742 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29744 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29745 DSOCAPS to match condition on defining it.
29747 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29749 * sysdeps/unix/sysv/linux/kernel-features.h
29750 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29752 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29753 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29755 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29756 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29758 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29759 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29761 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29762 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29764 * sysdeps/unix/sysv/linux/kernel-features.h
29765 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29766 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29768 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29769 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29770 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29771 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29772 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29773 Make code unconditional.
29774 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29775 (__mmap64) [!__NR_mmap2]: Likewise.
29776 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29777 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29778 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29779 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29780 [__NR_mmap2]: Make code unconditional.
29781 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29782 (__mmap64) [!__NR_mmap2]: Likewise.
29784 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29786 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29788 2012-08-18 Andreas Jaeger <aj@suse.de>
29790 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29792 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29794 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29795 * include/unistd.h (__have_sock_cloexec): Likewise.
29796 (__have_pipe2): Likewise.
29797 (__have_dup3): Likewise.
29799 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29802 * include/unistd.h (__have_pipe2): Change define into an extern int.
29803 (__have_dup3): Likewise.
29804 * socket/have_sock_cloexec.c: Include fcntl.h.
29805 (__have_pipe2): New variable.
29806 (__have_dup3): Likewise.
29808 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29810 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29812 2012-08-17 Marek Polacek <polacek@redhat.com>
29814 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29815 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29817 2012-08-17 Roland McGrath <roland@hack.frob.com>
29819 * configure.in: Add AC_SUBST for sysheaders.
29820 * configure: Regenerated.
29821 * config.make.in (sysheaders): New substituted variable.
29823 * sysdeps/unix/mkfifo.c: Moved ...
29824 * sysdeps/posix/mkfifo.c: ... here.
29825 * sysdeps/unix/mkfifoat.c: Moved ...
29826 * sysdeps/posix/mkfifoat.c: ... here.
29828 * sysdeps/unix/utime.c: Moved ...
29829 * sysdeps/posix/utime.c: ... here.
29831 * sysdeps/unix/time.c: Moved ...
29832 * sysdeps/posix/time.c: ... here.
29833 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29834 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29836 * sysdeps/unix/nice.c: Moved ...
29837 * sysdeps/posix/nice.c: ... here.
29839 * sysdeps/unix/alarm.c: Moved ...
29840 * sysdeps/posix/alarm.c: ... here.
29842 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29844 2012-08-17 Jeff Law <law@redhat.com>
29846 * intl/Makefile (codeset_mo): New variable.
29847 ($(codeset_mo)): New target.
29848 (tst-codeset.out): Depend on that. Remove explicit rule.
29849 (tst-gettext3.out, tst-gettext5.out): Likewise.
29850 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29851 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29852 * intl/tst-codeset.sh: Remove.
29853 * intl/tst-gettext3.sh: Likewise.
29854 * intl/tst-gettext5.sh: Likewise.
29856 2012-08-17 Roland McGrath <roland@hack.frob.com>
29858 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29859 * sysdeps/unix/syscalls.list: ... here.
29861 * sysdeps/posix/getaddrinfo.c
29862 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29863 (gaiconf_init, gaiconf_reload): Use them.
29864 [!_STATBUF_ST_NSEC]
29865 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29866 Define using time_t rather than struct timespec.
29868 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29869 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29871 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29873 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29874 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29877 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29878 __libc_cleanup_push argument.
29880 * bits/param.h: New file.
29881 * misc/sys/param.h: New file.
29882 * include/sys/param.h: New file.
29883 * misc/Makefile (headers): Add bits/param.h.
29884 * sysdeps/generic/sys/param.h: File removed.
29885 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29886 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29887 * sysdeps/mach/hurd/bits/param.h: New file.
29888 * sysdeps/mach/hurd/sys/param.h: File removed.
29890 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29893 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29895 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29896 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29899 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29900 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29901 rather than -D_IO_MTSAFE_IO conditionally.
29902 * stdio-common/Makefile (CPPFLAGS): Likewise.
29903 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29904 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29905 Use $(libio-mtsafe).
29906 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29907 of -D_IO_MTSAFE_IO.
29908 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29909 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29910 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29911 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29912 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29913 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29914 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29915 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29916 (CFLAGS-fread_u_chk.c): Likewise.
29917 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29918 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29919 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29920 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29921 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29922 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29923 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29924 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29925 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29927 * libio/Makefile: Test [$(libc-reentrant) = yes]
29928 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29931 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29932 * sysdeps/pthread/configure: File removed.
29933 * sysdeps/pthread/Makeconfig: New file.
29934 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29935 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29937 2012-08-16 Gary Benson <gbenson@redhat.com>
29939 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29940 unmapping the first object in a namespace.
29942 2012-08-16 Roland McGrath <roland@hack.frob.com>
29944 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29945 (__internal_setnetgrent): ... this. Add internal_function to
29946 definition. Add libc_hidden_def.
29947 (setnetgrent): Update caller.
29948 (internal_endnetgrent): Renamed to ...
29949 (__internal_endnetgrent): ... this. Add internal_function to
29950 definition. Add libc_hidden_def.
29951 (endnetgrent): Update caller.
29952 (internal_getnetgrent_r): Renamed to ...
29953 (__internal_getnetgrent_r): ... this. Add internal_function to
29954 definition. Add libc_hidden_def.
29955 (__getnetgrent_r): Update caller.
29956 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29958 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29960 * stdlib/longlong.h: Update from GCC.
29962 2012-08-16 Roland McGrath <roland@hack.frob.com>
29964 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29965 on _QL, which is set by umul_ppmm but never used.
29966 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29967 variables, which are set by GMP macros but never used.
29968 * stdio-common/_itowa.c (_itowa): Likewise.
29969 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29970 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29972 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29974 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29975 struct La_sh_regs is not constant.
29976 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29977 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29978 and struct La_sparc64_regs are not constant.
29980 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29982 * sysdeps/unix/sysv/linux/kernel-features.h
29983 (__ASSUME_POSIX_TIMERS): Remove.
29984 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29985 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29986 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29987 Make code unconditional.
29988 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29989 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29990 Make code unconditional.
29991 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29992 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29993 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29994 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29995 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29996 Make code unconditional.
29997 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29998 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29999 (__libc_missing_posix_timers): Remove.
30001 2012-08-15 Roland McGrath <roland@hack.frob.com>
30003 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30004 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30006 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30008 * elf/dl-sym.c: Include <stdlib.h>.
30010 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30011 constants, which avoids warnings in 32-bit builds.
30013 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30014 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30016 * misc/lseek.c: File moved to ...
30017 * io/lseek.c: ... here.
30019 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30021 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30022 shifting LEN more than 31 bits at once.
30024 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30027 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30028 segmentation fault for a case of two empty input strings.
30029 * string/test-strncasecmp.c (check1): Renamed to...
30030 (bz12205): ...this.
30031 (bz14195): Add new testcase for two empty input strings and N > 0.
30032 (test_main): Call new testcase, adapt for renamed function.
30034 2012-08-15 Andreas Jaeger <aj@suse.de>
30037 * crypt/md5test2.c: New test, based on test supplied by Serge
30038 Belyshev <belyshev@depni.sinp.msu.ru>.
30039 * crypt/Makefile (xtests): Add md5test-giant..
30040 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30042 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30045 * crypt/md5.c (md5_process_block): Don't assume the buffer
30046 length is less than 2**32.
30047 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30048 length is less than 2**64.
30050 2012-08-15 Roland McGrath <roland@hack.frob.com>
30052 * string/str-two-way.h: Include <sys/param.h>.
30053 (MAX): Macro removed.
30055 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30056 Move #define and #undef of memmove to just before and after
30057 including <string.h>.
30059 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30060 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30061 and after including <string.h>. Move declarations of
30062 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30063 to before #include "string/memmove.c".
30065 * include/dirent.h: Declare __getdirentries.
30067 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30068 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30070 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30072 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30073 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30074 * sysdeps/i386/configure: Regenerated.
30075 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30076 STABS_CURRENT_FILE, and STABS_FUN.
30077 (END): Remove call to STABS_FUN_END.
30078 (STABS_CURRENT_FILE1): Delete.
30079 (STABS_CURRENT_FILE): Likewise.
30080 (STABS_FUN): Likewise.
30081 (STABS_FUN_END): Likewise.
30082 (STABS_FUN2): Likewise.
30083 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30084 * sysdeps/x86_64/configure: Regenerated.
30086 2012-08-14 Roland McGrath <roland@hack.frob.com>
30088 * elf/dl-open.c: Include <atomic.h>.
30089 * elf/dl-lookup.c: Likewise.
30091 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30093 * sysdeps/unix/sysv/linux/kernel-features.h
30094 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30095 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30097 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30099 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30100 condition on __ASSUME_CLONE_THREAD_FLAGS.
30102 2012-08-14 Andreas Jaeger <aj@suse.de>
30104 * sysdeps/i386/fpu/libm-test-ulps: Update.
30106 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30108 * include/atomic.h (atomic_exchange_and_add): Split into ...
30109 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30112 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30116 2012-08-13 Jeff Law <law@redhat.com>
30118 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30119 null byte in the output string.
30121 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30123 * sysdeps/unix/sysv/linux/kernel-features.h
30124 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30125 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30126 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30127 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30128 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30129 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30130 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30132 2012-08-09 Jeff Law <law@redhat.com>
30135 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30136 When avoid_arena is set, don't retry in the that arena. Pick the
30137 next one, whatever it might be.
30138 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30139 (arena_lock): Pass in new parameter to arena_get2.
30140 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30142 (__libc_malloc): Unify retrying after main arena failure with
30143 __libc_memalign version.
30144 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30146 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30149 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30150 to __redirect_strstr.
30151 (__strstr_sse42): Use typeof __redirect_strstr.
30152 (__strstr_ia32): Likewise.
30153 (__libc_strstr): New prototype.
30154 (strstr): Renamed to ...
30155 (__libc_strstr): This.
30156 (strstr): New strong alias of __libc_strstr.
30157 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30158 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30161 (__libc_time): New prototype.
30162 (time_ifunc): Replace time with __libc_time.
30163 (time): New strong alias and hidden definition of __libc_time.
30164 (__GI_time): Remove strong alias.
30165 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30166 Include <stddef.h>.
30167 (memmove): Redefined to __redirect_memmove.
30168 (__memmove_sse2): Use typeof __redirect_memmove.
30169 (__memmove_ssse3): Likewise.
30170 (__memmove_ssse3_back): Likewise.
30171 (__libc_memmove): New prototype.
30172 (memmove): Renamed to ...
30173 (__libc_memmove): This.
30174 (memmove): New strong alias of __libc_memmove.
30176 2012-08-08 Mark Salter <msalter@redhat.com>
30179 (R_MN10300_TLS_GD): Define.
30180 (R_MN10300_TLS_LD): Likewise.
30181 (R_MN10300_TLS_LDO): Likewise.
30182 (R_MN10300_TLS_GOTIE): Likewise.
30183 (R_MN10300_TLS_IE): Likewise.
30184 (R_MN10300_TLS_LE): Likewise.
30185 (R_MN10300_TLS_DTPMOD): Likewise.
30186 (R_MN10300_TLS_DTPOFF): Likewise.
30187 (R_MN10300_TLS_TPOFF): Likewise.
30188 (R_MN10300_SYM_DIFF): Likewise.
30189 (R_MN10300_ALIGN): Likewise.
30190 (R_MN10300_NUM): Update.
30192 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30194 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30197 2012-08-08 Roland McGrath <roland@hack.frob.com>
30199 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30201 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30202 sysdeps/unix -> sysdeps/posix move.
30203 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30205 2012-08-07 Allan McRae <allan@archlinux.org>
30208 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30209 (SUNOS_CPP): Likewise.
30210 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30212 (open_input): Call CPP using execvp.
30214 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30216 * sysdeps/unix/sysv/linux/kernel-features.h
30217 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30218 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30219 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30220 (__ASSUME_WAITID_SYSCALL): Likewise.
30221 * sysdeps/unix/sysv/linux/dl-execstack.c
30222 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30223 code unconditional.
30224 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30226 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30227 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30228 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30230 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30232 [__ASSUME_WAITID_SYSCALL]: Likewise.
30233 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30235 2012-08-07 Roland McGrath <roland@hack.frob.com>
30237 * sysdeps/unix/closedir.c: Renamed to ...
30238 * sysdeps/posix/closedir.c: ... here.
30239 * sysdeps/unix/dirfd.c: Renamed to ...
30240 * sysdeps/posix/dirfd.c: ... here.
30241 * sysdeps/unix/dirstream.h: Renamed to ...
30242 * sysdeps/posix/dirstream.h: ... here.
30243 * sysdeps/unix/fdopendir.c: Renamed to ...
30244 * sysdeps/posix/fdopendir.c: ... here.
30245 * sysdeps/unix/opendir.c: Renamed to ...
30246 * sysdeps/posix/opendir.c: ... here.
30247 * sysdeps/unix/readdir.c: Renamed to ...
30248 * sysdeps/posix/readdir.c: ... here.
30249 * sysdeps/unix/readdir_r.c: Renamed to ...
30250 * sysdeps/posix/readdir_r.c: ... here.
30251 * sysdeps/unix/rewinddir.c: Renamed to ...
30252 * sysdeps/posix/rewinddir.c: ... here.
30253 * sysdeps/unix/seekdir.c: Renamed to ...
30254 * sysdeps/posix/seekdir.c: ... here.
30255 * sysdeps/unix/telldir.c: Renamed to ...
30256 * sysdeps/posix/telldir.c: ... here.
30257 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30258 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30259 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30260 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30262 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30263 * bits/fcntl.h: ... here.
30265 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30267 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30268 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30269 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30270 (struct flock): Move l_start, l_len to the beginning.
30271 Use __pid_t for l_pid.
30272 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30273 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30274 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30275 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30276 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30277 [__USE_LARGEFILE64] (struct flock64): New type.
30278 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30280 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30281 * bits/dirent.h: ... here.
30283 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30284 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30286 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30288 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30289 Change from 2.6.0 to 2.6.16.
30290 * sysdeps/unix/sysv/linux/configure: Regenerated.
30291 * sysdeps/unix/sysv/linux/kernel-features.h
30292 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30293 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30295 (__ASSUME_UTIMES): Likewise.
30296 (__ASSUME_CLONE_STOPPED): Remove.
30297 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30298 architectures, not kernel version.
30299 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30300 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30301 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30302 (__ASSUME_WAITID_SYSCALL): Likewise.
30303 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30304 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30305 * README: State 2.6.16 as minimum Linux kernel version. Do not
30306 refer to older versions.
30308 2012-08-06 Roland McGrath <roland@hack.frob.com>
30310 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30311 Define alphasort64 as an alias.
30312 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30313 Define versionsort64 as an alias.
30314 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30315 Define scandir64 as an alias.
30316 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30317 Define scandirat64 as an alias.
30318 * dirent/alphasort64.c (alphasort64):
30319 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30320 * dirent/versionsort64.c: Likewise.
30321 * dirent/scandir64.c: Likewise.
30322 * dirent/scandirat64.c: Likewise.
30323 * sysdeps/wordsize-64/alphasort.c: File removed.
30324 * sysdeps/wordsize-64/alphasort64.c: File removed.
30325 * sysdeps/wordsize-64/scandir.c: File removed.
30326 * sysdeps/wordsize-64/scandir64.c: File removed.
30327 * sysdeps/wordsize-64/scandirat.c: File removed.
30328 * sysdeps/wordsize-64/scandirat64.c: File removed.
30329 * sysdeps/wordsize-64/versionsort.c: File removed.
30330 * sysdeps/wordsize-64/versionsort64.c: File removed.
30331 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30332 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30333 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30334 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30335 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30336 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30337 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30338 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30340 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30341 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30342 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30343 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30344 [defined __arch64__ || defined __sparcv9]
30345 (__INO_T_MATCHES_INO64_T): New macro.
30346 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30347 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30348 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30349 * sysdeps/unix/sysv/linux/bits/dirent.h
30350 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30351 (_DIRENT_MATCHES_DIRENT64): New macro.
30353 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30354 Define lockf64 as an alias.
30355 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30356 Define fseeko64 as an alias.
30357 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30358 Define ftello64 as an alias.
30359 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30360 Define _IO_fgetpos64 and fgetpos64 as aliases.
30361 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30362 Define _IO_fsetpos64 and fsetpos64 as aliases.
30363 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30364 Conditionalize body on this.
30365 * libio/fseeko64.c: Likewise.
30366 * libio/ftello64.c: Likewise.
30367 * libio/iofgetpos64.c: Likewise.
30368 * libio/iofsetpos64.c: Likewise.
30369 * sysdeps/wordsize-64/lockf.c: File removed.
30370 * sysdeps/wordsize-64/lockf64.c: File removed.
30371 * sysdeps/wordsize-64/fseeko.c: File removed.
30372 * sysdeps/wordsize-64/fseeko64.c: File removed.
30373 * sysdeps/wordsize-64/ftello.c: File removed.
30374 * sysdeps/wordsize-64/ftello64.c: File removed.
30375 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30376 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30377 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30378 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30379 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30380 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30381 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30382 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30383 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30384 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30385 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30386 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30387 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30388 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30390 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30391 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30392 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30393 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30394 [defined __arch64__ || defined __sparcv9]
30395 (__OFF_T_MATCHES_OFF64_T): New macro.
30396 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30397 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30398 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30399 (__OFF_T_MATCHES_OFF64_T): New macro.
30401 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30403 * stdlib/secure-getenv.c (__secure_getenv): Replace
30404 GLIBC_2_16 with GLIBC_2_17.
30406 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30408 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30409 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30411 2012-08-03 David S. Miller <davem@davemloft.net>
30413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30415 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30417 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30419 (__ASSUME_CORRECT_SI_PID): Likewise.
30420 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30421 (__ASSUME_TMPFS_NAME): Likewise.
30422 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30423 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30424 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30425 (HAVE_AUX_SECURE): Make definition unconditional.
30426 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30427 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30429 2012-08-03 Roland McGrath <roland@hack.frob.com>
30431 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30432 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30433 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30434 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30435 __eloop_threshold instead of SYMLOOP_MAX.
30437 * sysdeps/generic/eloop-threshold.h: New file.
30438 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30440 * elf/chroot_canon.c (chroot_canon): Likewise.
30442 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30445 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30446 Change to 2.6.0 everywhere.
30447 * sysdeps/unix/sysv/linux/configure: Regenerated.
30448 * sysdeps/unix/sysv/linux/kernel-features.h
30449 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30450 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30452 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30453 (__ASSUME_FUTEX_REQUEUE): Remove.
30454 (__ASSUME_STATFS64): Define unconditionally.
30455 (__ASSUME_AT_SECURE): Likewise.
30456 (__ASSUME_CORRECT_SI_PID): Likewise.
30457 (__ASSUME_TGKILL): Define without depending on kernel version for
30459 (__ASSUME_UTIMES): Likewise.
30460 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30462 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30463 (__ASSUME_TMPFS_NAME): Likewise.
30464 * README: Update reference to Linux kernel versions.
30466 2012-08-02 Marek Polacek <polacek@redhat.com>
30469 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30470 libc_cv_asm_type_prefix with %.
30471 * configure: Regenerated.
30472 * include/libc-symbols.h: Remove comment about
30473 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30474 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30475 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30476 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30477 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30478 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30479 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30480 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30481 * elf/tst-unique2mod1.c: Likewise.
30482 * elf/tst-unique1mod2.c: Likewise.
30483 * elf/tst-unique1mod1.c: Likewise.
30484 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30485 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30486 Replace ASM_TYPE_DIRECTIVE with .type.
30487 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30488 * sysdeps/i386/sysdep.h: Likewise.
30489 * sysdeps/x86_64/sysdep.h: Likewise.
30490 * sysdeps/sh/sysdep.h: Likewise.
30491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30492 Do not define ASM_TYPE_DIRECTIVE.
30493 * sysdeps/powerpc/sysdep.h: Likewise.
30494 * sysdeps/powerpc/powerpc32/sysdep.h:
30495 Replace ASM_TYPE_DIRECTIVE with .type.
30496 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30497 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30498 * sysdeps/i386/fpu/e_powf.S: Likewise.
30499 * sysdeps/i386/fpu/e_expl.S: Likewise.
30500 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30501 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30502 * sysdeps/i386/fpu/e_pow.S: Likewise.
30503 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30504 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30505 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30506 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30507 * sysdeps/i386/fpu/e_log2.S: Likewise.
30508 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30509 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30510 * sysdeps/i386/fpu/e_powl.S: Likewise.
30511 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30512 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30513 * sysdeps/i386/fpu/e_logl.S: Likewise.
30514 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30515 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30516 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30517 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30518 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30519 * sysdeps/i386/fpu/e_log.S: Likewise.
30520 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30521 * sysdeps/i386/fpu/e_logf.S: Likewise.
30522 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30523 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30524 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30525 * sysdeps/i386/fpu/e_log10.S: Likewise.
30526 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30527 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30528 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30529 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30530 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30531 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30532 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30533 * sysdeps/i386/i686/strtok.S: Likewise.
30534 * sysdeps/i386/i386-mcount.S: Likewise.
30535 * sysdeps/i386/strtok.S: Likewise.
30536 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30537 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30538 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30539 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30540 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30541 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30542 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30543 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30544 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30545 * sysdeps/x86_64/_mcount.S: Likewise.
30546 * sysdeps/x86_64/strtok.S: Likewise.
30547 * sysdeps/sh/_mcount.S: Likewise.
30549 2012-08-01 Roland McGrath <roland@hack.frob.com>
30551 * libio/iofopen.c: Include <fcntl.h>.
30552 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30553 (_IO_fopen64, fopen64): Define as aliases.
30554 * libio/iofopen64.c: Include <fcntl.h>.
30555 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30556 Conditionalize body on this.
30557 * sysdeps/wordsize-64/iofopen.c: File removed.
30558 * sysdeps/wordsize-64/iofopen64.c: File removed.
30560 2012-08-01 Marek Polacek <polacek@redhat.com>
30562 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30563 Use dlfcn directly instead of a variable.
30564 (binfmt-subdir): Do not define.
30567 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30569 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30570 Remove all definitions.
30571 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30572 <kernel-features.h>.
30573 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30574 (miss_F_GETOWN_EX): Remove all definitions.
30575 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30577 [!__ASSUME_FCNTL64]: Remove conditional code.
30578 [__ASSUME_FCNTL64]: Make code unconditional.
30579 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30580 <kernel-features.h>.
30581 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30582 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30583 (lockf64) [__NR_fcntl64]: Make code unconditional.
30584 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30586 * sysdeps/unix/sysv/linux/kernel-features.h
30587 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30588 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30589 Make code unconditional.
30590 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30591 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30593 [__NR_vfork]: Make code unconditional.
30594 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30595 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30597 [__NR_vfork]: Make code unconditional.
30598 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30599 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30601 2012-08-01 Roland McGrath <roland@hack.frob.com>
30603 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30604 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30606 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30607 Define mkstemp64 as an alias.
30608 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30609 Define mkstemps64 as an alias.
30610 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30611 Define mkostemp64 as an alias.
30612 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30613 Define mkostemps64 as an alias.
30614 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30615 Conditionalize body on this.
30616 * misc/mkostemp64.c: Likewise.
30617 * misc/mkostemps64.c: Likewise.
30618 * misc/mkstemps64.c: Likewise.
30619 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30620 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30621 * sysdeps/wordsize-64/mkostemp.c: File removed.
30622 * sysdeps/wordsize-64/mkstemp.c: File removed.
30623 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30624 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30625 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30626 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30629 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30630 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30631 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30632 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30634 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30635 compat_symbol macros from <shlib-compat.h> rather than the underlying
30636 default_symbol_version and symbol_version macros, so that DEFAULT
30637 lines in shlib-versions are respected.
30638 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30640 2012-08-01 Florian Weimer <fweimer@redhat.com>
30642 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30643 Declare with warn_unused_result.
30644 (setgid, setregid, setegid, setresgid): Likewise.
30645 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30647 * WUR-REPORT: Remove set*id functions.
30649 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30651 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30653 2012-07-31 Roland McGrath <roland@hack.frob.com>
30656 * include/sys/socket.h (__libc_accept, __libc_accept4):
30657 Add attribute_hidden.
30658 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30660 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30662 * inet/getnetgrent_r.c (setup): Likewise.
30664 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30666 2012-07-31 David S. Miller <davem@davemloft.net>
30668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30670 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30673 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30674 value between 1.0 and 2.0 and smaller part has absolute value less
30676 * math/s_clog10.c (__clog10): Likewise.
30677 * math/s_clog10f.c (__clog10f): Likewise.
30678 * math/s_clog10l.c (__clog10l): Likewise.
30679 * math/s_clogf.c (__clogf): Likewise.
30680 * math/s_clogl.c (__clogl): Likewise.
30681 * math/libm-test.inc (clog_test): Add more tests.
30682 (clog10_test): Likewise.
30683 * sysdeps/i386/fpu/libm-test-ulps: Update.
30684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30686 2012-07-31 Florian Weimer <fweimer@redhat.com>
30688 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30689 Exit with zero in case no suitable GID is found, and write a
30690 message to standard error.
30692 2012-07-30 Roland McGrath <roland@hack.frob.com>
30694 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30696 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30697 (MAXPATHLEN): Removed.
30698 (NOGROUP, NODEV): New macros.
30699 (setbit, clrbit, isset, isclr): New macros.
30700 (howmany, roundup, powerof2): New macros.
30701 (DEV_BSIZE): New macro.
30703 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30704 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30706 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30707 definition on [!__NO_LONG_DOUBLE_MATH].
30709 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30710 PTR_MANGLE and PTR_DEMANGLE.
30712 * socket/accept4.c (accept4): Rename to __libc_accept4.
30713 Define accept4 as a weak alias.
30715 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30716 on [_DIRENT_HAVE_D_TYPE].
30717 * io/ftw.c (ftw_dir): Likewise.
30719 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30721 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30723 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30724 Use the BSD numbers rather than the arbitrary ones we had.
30725 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30726 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30727 (SIGXCPU, SIGXFSZ): New macros.
30730 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30731 initializer on [_LIBC_REENTRANT].
30733 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30734 definitions inside [_POSIX_MAPPED_FILES].
30736 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30738 * dirent/opendir.c: Include <fcntl.h>.
30740 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30741 (__libc_getspecific): Likewise.
30742 (__libc_key_create): Likewise.
30744 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30745 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30746 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30747 (tmpfile64): Define as alias.
30748 * sysdeps/wordsize-64/tmpfile.c: File removed.
30749 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30750 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30751 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30753 * stdio-common/vfscanf.c: Include <stdbool.h>.
30754 * nss/makedb.c: Likewise.
30755 * stdio-common/_i18n_number.h: Likewise.
30756 * argp/argp-help.c: Likewise.
30757 * posix/wordexp.c: Likewise.
30758 * sysdeps/posix/spawni.c: Likewise.
30759 * nss/nss_files/files-initgroups.c: Likewise.
30760 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30761 * nss/nss_files/files-initgroups.c: Likewise.
30762 * nss/nss_db/db-netgrp.c: Likewise.
30763 * nss/nss_db/db-initgroups.c: Likewise.
30764 * io/fchmodat.c: Include <sys/stat.h>.
30766 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30767 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30769 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30772 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30773 Add multiple inclusion protection.
30775 2012-07-27 David S. Miller <davem@davemloft.net>
30777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30779 2012-07-27 Gary Benson <gbenson@redhat.com>
30782 * elf/rtld.c: Include <stap-probe.h>.
30783 (dl_main): Added static probes "init_start" and "init_complete".
30784 * elf/dl-load.c: Include <stap-probe.h>.
30785 (lose): Take new parameter "nsid".
30786 Added static probe "map_failed".
30787 (_dl_map_object_from_fd): Pass namespace id to lose.
30788 Added static probe "map_start".
30789 (open_verify): Pass namespace id to lose.
30790 * elf/dl-open.c: Include <stap-probe.h>.
30791 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30792 and "reloc_complete".
30793 * elf/dl-close.c: Include <stap-probe.h>.
30794 (_dl_close_worker): Added static probes "unmap_start" and
30796 * elf/rtld-debugger-interface.txt: New file documenting the above.
30798 2012-07-26 Roland McGrath <roland@hack.frob.com>
30800 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30801 rather than a string variable.
30802 * sunrpc/rpc_main.c (h_output): Likewise.
30803 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30805 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30807 * inet/check_native.c: New file.
30809 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30812 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30813 if larger part has absolute value 1.0.
30814 * math/s_clog10.c (__clog10): Likewise.
30815 * math/s_clog10f.c (__clog10f): Likewise.
30816 * math/s_clog10l.c (__clog10l): Likewise.
30817 * math/s_clogf.c (__clogf): Likewise.
30818 * math/s_clogl.c (__clogl): Likewise.
30819 * math/libm-test.inc (clog_test): Add more tests.
30820 (clog10_test): Likewise.
30821 * sysdeps/i386/fpu/libm-test-ulps: Update.
30822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30824 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30825 (pltexit): Likewise.
30826 (La_regs): Likewise.
30827 (La_retval): Likewise.
30828 (int_retval): Likewise.
30829 Update #error for removed macros to refer only to definitions in
30831 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30833 (pltexit): Likewise.
30834 (La_regs): Likewise.
30835 (La_retval): Likewise.
30836 (int_retval): Likewise.
30837 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30839 (pltexit): Likewise.
30840 (La_regs): Likewise.
30841 (La_retval): Likewise.
30842 (int_retval): Likewise.
30843 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30845 (pltexit): Likewise.
30846 (La_regs): Likewise.
30847 (La_retval): Likewise.
30848 (int_retval): Likewise.
30849 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30851 (pltexit): Likewise.
30852 (La_regs): Likewise.
30853 (La_retval): Likewise.
30854 (int_retval): Likewise.
30855 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30857 (pltexit): Likewise.
30858 (La_regs): Likewise.
30859 (La_retval): Likewise.
30860 (int_retval): Likewise.
30861 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30863 (pltexit): Likewise.
30864 (La_regs): Likewise.
30865 (La_retval): Likewise.
30866 (int_retval): Likewise.
30867 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30868 macro definitions in tst-audit.h.
30869 * sysdeps/i386/tst-audit.h: New file.
30870 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30871 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30872 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30873 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30874 * sysdeps/sh/tst-audit.h: Likewise.
30875 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30876 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30877 * sysdeps/x86_64/tst-audit.h: Likewise.
30879 2012-07-26 Andreas Jaeger <aj@suse.de>
30881 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30884 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30885 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30886 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30888 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30889 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30890 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30892 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30895 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30897 (si_call_addr, si_syscall, si_arch): Define new macro.
30898 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30900 (si_call_addr, si_syscall, si_arch): Define new marcro.
30901 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30903 (si_call_addr, si_syscall, si_arch): Define new macro.
30904 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30906 (si_call_addr, si_syscall, si_arch): Define new macro.
30908 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30911 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30912 Change to 2.4.21 where previously 2.4.1.
30913 * sysdeps/unix/sysv/linux/configure: Regenerated.
30914 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30915 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30916 Linux kernel version.
30917 (__ASSUME_STD_AUXV): Remove.
30918 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30920 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30921 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30922 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30923 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30924 (__ASSUME_NETLINK_SUPPORT): Likewise.
30925 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30926 (__no_netlink_support): Remove conditional definition.
30927 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30929 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30930 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30931 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30932 (if_nameindex_ioctl): Remove.
30933 (if_nameindex_netlink): Do not handle __no_netlink_support.
30934 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30936 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30937 Remove conditional code.
30938 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30940 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30942 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30943 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30944 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30946 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30947 [!__ASSUME_STD_AUXV]: Remove conditional code.
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30949 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30950 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30952 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30953 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30955 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30957 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30958 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30960 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30962 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30965 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30968 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30969 code unconditional.
30970 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30972 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30974 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30977 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30979 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30982 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30983 code unconditional.
30984 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30986 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30988 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30991 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30992 code unconditional.
30993 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30995 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30997 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31000 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31002 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31003 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31004 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31005 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31006 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31007 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31008 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31009 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31010 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31011 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31012 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31013 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31014 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31015 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31016 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31017 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31018 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31019 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31020 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31022 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31023 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31024 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31026 2012-07-25 Florian Weimer <fweimer@redhat.com>
31028 * Versions.def: Add GLIBC_2.17.
31029 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31030 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31031 Introduce __libc_secure_getenv.
31032 * stdlib/Versions (2.17): Add secure_getenv
31033 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31034 * stdlib/secure-getenv.c: Rename __secure_getenv to
31035 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31036 symbol __secure_getenv for GLIBC_2.0.
31037 * stdlib/tst-secure-getenv.c: New.
31038 * stdlib/Makefile (tests): Add testcase.
31039 * manual/startup.texi (Environment Access): Document
31041 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31042 __libc_secure_getenv.
31043 * inet/ruserpass.c (ruserpass): Likewise.
31044 * malloc/mtrace.c (mtrace): Likewise.
31045 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31046 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31047 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31048 * sysdeps/posix/tempname.c: Likewise. Evaluate
31049 HAVE_SECURE_GETENV.
31050 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31051 __secure_getenv to __libc_secure_getenv.
31052 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31059 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31065 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31067 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31068 (struct La_i86_retval): Likewise.
31069 (struct La_x86_64_regs): Likewise.
31070 (struct La_x86_64_retval): Likewise.
31071 (struct La_x32_regs): Likewise.
31072 (struct La_x32_retval): Likewise.
31073 (struct La_ppc32_regs): Likewise.
31074 (struct La_ppc32_retval): Likewise.
31075 (struct La_ppc64_regs): Likewise.
31076 (struct La_ppc64_retval): Likewise.
31077 (struct La_sh_regs): Likewise.
31078 (struct La_sh_retval): Likewise.
31079 (struct La_s390_32_regs): Likewise.
31080 (struct La_s390_32_retval): Likewise.
31081 (struct La_s390_64_regs): Likewise.
31082 (struct La_s390_64_retval): Likewise.
31083 (struct La_sparc32_regs): Likewise.
31084 (struct La_sparc32_retval): Likewise.
31085 (struct La_sparc64_regs): Likewise.
31086 (struct La_sparc64_retval): Likewise.
31087 (struct audit_ifaces): Remove architecture-specific pltenter and
31089 * sysdeps/i386/ldsodefs.h: New file.
31090 * sysdeps/powerpc/ldsodefs.h: Likewise.
31091 * sysdeps/s390/ldsodefs.h: Likewise.
31092 * sysdeps/sh/ldsodefs.h: Likewise.
31093 * sysdeps/sparc/ldsodefs.h: Likewise.
31094 * sysdeps/x86_64/ldsodefs.h: Likewise.
31096 2012-07-25 Marek Polacek <polacek@redhat.com>
31099 * math/libm-test.inc (yn_test): Add another test.
31100 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31101 to ERANGE when the result is +-Inf.
31102 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31103 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31104 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31105 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31107 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31109 * conform/data/time.h-data (NULL): Use macro-constant. Require
31111 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31113 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31115 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31117 * configure.in <sysdeps resolving>: Correct printing
31119 * configure: Regenerate.
31121 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31123 * math/w_ilogb.c: Include <limits.h>.
31124 * math/w_ilogbl.c: Likewise.
31126 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31128 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31129 va_copy. Document allowing for unavailable va_copy only as
31130 pre-C99 compatibility.
31131 * manual/string.texi (Copying and Concatenation): Use va_copy
31132 instead of __va_copy in concat example.
31134 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31136 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31137 (__sendto): Use create_address_port. Initialize APORT and deallocate
31140 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31141 with O_NOLINK passed to __file_name_lookup.
31143 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31144 with O_NOLINK passed to __file_name_lookup.
31146 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31147 negative N or less than NGIDS.
31149 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31150 type to string_t. Set ERANGE as errno and return it if NAME is not big
31151 enough. Use memcpy instead of strncpy.
31153 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31155 * elf/Makefile (check-data): Remove.
31156 (localplt.data): New vpath directive.
31157 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31158 instead of $(check-data).
31159 * scripts/data/localplt-generic.data: Move to ...
31160 * sysdeps/generic/localplt.data: ... here.
31161 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31162 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31163 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31166 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31169 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31172 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31175 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31178 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31182 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31184 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31185 PPC32 and PPC64 files.
31186 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31187 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31189 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31191 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31192 __makecontext_ret to ...
31193 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31194 ... here and call exit if uc_link is NULL. New file.
31195 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31196 __makecontext_ret.S.
31197 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31198 __makecontext_ret to ...
31199 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31200 ... here and call exit if uc_link is NULL. New file.
31201 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31202 __makecontext_ret.S.
31204 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31206 * elf/elf.h (R_390_IRELATIVE): New definition.
31207 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31208 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31209 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31210 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31211 (elf_machine_lazy_rel): Likewise.
31212 * sysdeps/s390/dl-irel.h: New file.
31213 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31214 * sysdeps/s390/s390-64/memset.S: New asm code.
31215 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31216 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31217 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31218 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31219 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31220 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31221 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31222 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31223 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31224 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31225 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31226 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31227 * sysdeps/s390/s390-32/memset.S: New asm code.
31228 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31230 2012-07-17 Marek Polacek <polacek@redhat.com>
31233 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31234 * sysdeps/s390/s390-64/configure.in: Likewise.
31235 * sysdeps/sparc/configure.in: Likewise.
31236 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31237 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31238 * sysdeps/i386/configure.in: Likewise.
31239 * sysdeps/x86_64/configure.in: Likewise.
31240 * sysdeps/sh/configure.in: Likewise.
31241 * sysdeps/s390/s390-32/configure: Regenerated.
31242 * sysdeps/s390/s390-64/configure: Likewise.
31243 * sysdeps/x86_64/configure: Likewise.
31244 * sysdeps/sh/configure: Likewise.
31245 * sysdeps/powerpc/powerpc64/configure: Likewise.
31246 * sysdeps/powerpc/powerpc32/configure: Likewise.
31247 * sysdeps/sparc/configure: Likwise.
31248 * sysdeps/i386/configure: Likewise.
31250 * elf/dl-open.c: Comment fixes.
31252 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31254 * Makefile [CXX] (check-data): Remove.
31255 [CXX] (c++-types.data): New vpath directive.
31256 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31257 vpath. Do not allow for C++ type data being missing.
31258 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31259 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31260 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31261 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31262 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31263 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31264 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31267 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31270 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31273 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31276 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31279 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31282 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31285 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31288 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31289 definitions to architecture-specific files.
31290 (TLS_IE): Likewise.
31291 (TLS_LD): Likewise.
31292 (TLS_GD): Likewise.
31293 * sysdeps/i386/tls-macros.h: New file.
31294 * sysdeps/powerpc/tls-macros.h: Likewise.
31295 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31296 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31297 * sysdeps/sh/tls-macros.h: Likewise.
31298 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31299 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31300 * sysdeps/x86_64/tls-macros.h: Likewise.
31302 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31304 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31305 zero value for regular exit case.
31307 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31308 (__start_context): Preserve zero value for regular exit case.
31310 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31311 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31313 * manual/setjmp.texi (setcontext): Clarify normal process
31314 termination when uc_link is the null pointer.
31315 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31318 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31320 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31321 preprocessor. Test for each exception mask separately.
31323 2012-07-16 Andreas Jaeger <aj@suse.de>
31325 * po/ru.po: Update from translation team.
31327 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31329 * conform/data/string.h-data (NULL): Use macro-constant. Require
31331 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31332 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31333 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31334 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31335 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31337 2012-07-13 Andreas Jaeger <aj@suse.de>
31339 * po/fr.po: Update from translation team.
31341 2012-07-12 Marek Polacek <polacek@redhat.com>
31344 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31345 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31348 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31351 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31352 Change to 2.4.1 where previously 2.4.0.
31353 * sysdeps/unix/sysv/linux/configure: Regenerated.
31354 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31355 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31357 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31358 (__ASSUME_AT_CLKTCK): Remove.
31359 (__ASSUME_AT_PAGESIZE): Likewise.
31360 (__ASSUME_AT_XID): Likewise.
31361 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31362 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31363 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31365 (HAVE_AUX_PAGESIZE): Likewise.
31366 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31367 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31368 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31370 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31374 the temporary buffer used to invoke __gethostbyname2_r,
31375 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31376 host_data / struct gaih_addrtuple.
31377 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31378 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31379 header file nss/nsswitch.h.
31380 * nss/nsswitch.h (global scope): Add definition of implementation
31381 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31382 resolv/nss_dns/dns-host.c).
31384 2012-07-11 Andreas Jaeger <aj@suse.de>
31386 * po/fr.po: Update from translation team.
31388 * po/sv.po: Update from translation team
31389 * po/fr.po: Another update from translation team.
31391 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31393 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31394 for subnormals or multiply small sinh result by itself.
31395 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31398 2012-07-11 David S. Miller <davem@davemloft.net>
31400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31402 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31405 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31406 (INTERNAL_MARK): Shift it here.
31408 2012-07-10 Marek Polacek <polacek@redhat.com>
31411 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31412 libc_cv_asm_global_directive with .globl.
31413 * configure: Regenerated.
31414 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31416 * sysdeps/i386/configure: Regenerated.
31417 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31419 * sysdeps/x86_64/configure: Regenerated.
31420 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31421 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31422 * elf/tst-unique2mod2.c: Likewise.
31423 * elf/tst-unique2mod1.c: Likewise.
31424 * elf/tst-unique1mod2.c: Likewise.
31425 * elf/tst-unique1mod1.c: Likewise.
31426 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31427 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31428 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31429 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31430 * sysdeps/mach/sysdep.h: Likewise.
31431 * sysdeps/i386/sysdep.h: Likewise.
31432 * sysdeps/i386/i386-mcount.S: Likewise.
31433 * sysdeps/x86_64/_mcount.S: Likewise.
31434 * sysdeps/x86_64/sysdep.h: Likewise.
31435 * sysdeps/sh/_mcount.S: Likewise.
31436 * sysdeps/sh/sysdep.h: Likewise.
31437 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31438 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31439 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31440 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31441 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31442 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31443 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31444 * locale/localeinfo.h: Likewise.
31445 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31446 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31448 2012-07-09 Roland McGrath <roland@hack.frob.com>
31451 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31453 * manual/message.texi (The Uniforum approach): Likewise.
31454 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31455 (glibc iconv Implementation): Likewise.
31457 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31460 * math/s_clog.c (__clog): Avoid scaling a value down where that
31461 could result in underflow.
31462 * math/s_clog10.c (__clog10): Likewise.
31463 * math/s_clog10f.c (__clog10f): Likewise.
31464 * math/s_clog10l.c (__clog10l): Likewise.
31465 * math/s_clogf.c (__clogf): Likewise.
31466 * math/s_clogl.c (__clogl): Likewise.
31467 * math/libm-test.inc (clog_test): Add more tests.
31468 (clog10_test): Likewise.
31469 * sysdeps/i386/fpu/libm-test-ulps: Update.
31470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31472 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31475 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31476 by 7 not 8 to examine high bit of fractional part.
31479 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31480 for call to __mcount_internal.
31481 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31482 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31483 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31485 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31488 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31489 approximation for values within 0x1p-13f of an odd multiple of
31491 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31492 exception. Add more tests.
31493 * sysdeps/i386/fpu/libm-test-ulps: Update.
31496 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31497 inputs and return -1 for them. Do not check for +Inf in case not
31498 reachable for +Inf.
31499 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31500 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31501 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31502 and return -1 for them. Do not check for +Inf in case not
31503 reachable for +Inf.
31504 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31506 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31507 and return -1 for them. Do not check for +Inf in case not
31508 reachable for +Inf.
31509 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31510 spurious underflow.
31511 * sysdeps/i386/fpu/libm-test-ulps: Update.
31512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31514 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31516 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31518 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31522 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31523 could result in spurious underflow. Scale down values above
31524 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31525 * math/s_csqrtf.c (__csqrtf): Likewise.
31526 * math/s_csqrtl.c (__csqrtl): Likewise.
31527 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31528 spurious underflow.
31529 * sysdeps/i386/fpu/libm-test-ulps: Update.
31530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31532 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31534 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31536 * catgets/xopen-msg.awk: New file.
31537 * catgets/xopen-msg.sed: Removed.
31539 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31541 * intl/po2test.awk: New file.
31542 * intl/po2test.sed: Removed.
31544 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31547 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31548 or multiply small sinh result by itself.
31549 * math/s_ctanf.c (__ctanf): Likewise.
31550 * math/s_ctanh.c (__ctanh): Likewise.
31551 * math/s_ctanhf.c (__ctanhf): Likewise.
31552 * math/s_ctanhl.c (__ctanhl): Likewise.
31553 * math/s_ctanl.c (__ctanl): Likewise.
31554 * math/libm-test.inc (ctan_test_tonearest): New function.
31555 (ctan_test_towardzero): Likewise.
31556 (ctan_test_downward): Likewise.
31557 (ctan_test_upward): Likewise.
31558 (ctanh_test_tonearest): Likewise.
31559 (ctanh_test_towardzero): Likewise.
31560 (ctanh_test_downward): Likewise.
31561 (ctanh_test_upward): Likewise.
31562 (main): Call these new functions.
31563 * sysdeps/i386/fpu/libm-test-ulps: Update.
31564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31566 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31568 * .gitignore: Delete /ports entry.
31570 2012-07-03 Andreas Jaeger <aj@suse.de>
31572 * po/bg.po: Update from translation team.
31573 * po/cs.po: Likewise.
31574 * po/de.po: Likewise.
31575 * po/hr.po: Likewise.
31576 * po/nl.pl: Likewise.
31577 * po/pl.po: Likewise.
31578 * po/vi.po: Likewise.
31580 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31582 * Makeconfig [!+link] (+link-before-libc): New variable.
31583 [!+link] (+link-after-libc): Likewise.
31584 [!+link] (+link-tests): Likewise.
31585 [!+link] (+link): Define in terms of $(+link-before-libc) and
31586 $(+link-after-libc).
31587 [!+link-static] (+link-static-before-libc): New variable.
31588 [!+link-static] (+link-static-after-libc): Likewise.
31589 [!+link-static] (+link-static-tests): Likewise.
31590 [!+link-static] (+link-static): Define in terms of
31591 $(+link-static-before-libc) and $(+link-static-after-libc).
31592 [build-shared] (link-libc-before-gnulib): New variable.
31593 [build-shared] (link-libc-tests): Likewise.
31594 [build-shared] (link-libc): Define in terms of
31595 $(link-libc-before-gnulib).
31596 [!build-shared] (link-libc-tests): New variable.
31597 (link-libc-static-tests): New variable.
31598 [!gnulib] (gnulib-arch): New variable.
31599 [!gnulib] (gnulib-tests): Likewise.
31600 [!gnulib] (static-gnulib-arch): Likewise.
31601 [!gnulib] (static-gnulib-tests): Likewise.
31602 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31603 Define with "=" instead of ":=".
31604 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31605 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31606 * Rules (binaries-all-notests): New variable.
31607 (binaries-all-tests): Likewise.
31608 (binaries-static-notests): Likewise.
31609 (binaries-static-tests): Likewise.
31610 (binaries-all): Define using $(binaries-all-notests) and
31611 $(binaries-all-tests).
31612 (binaries-static): Define using $(binaries-static-notests) and
31613 $(binaries-static-tests).
31614 (binaries-shared-tests): New variable.
31615 (binaries-shared-notests): Likewise.
31616 (binaries-shared): Remove variable.
31617 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31618 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31619 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31620 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31621 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31622 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31623 * elf/Makefile (sln-modules): New variable.
31624 (extra-objs): Add $(sln-modules:=.o).
31625 (ldconfig-modules): Add static-stubs.
31626 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31627 * elf/static-stubs.c: New file.
31630 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31631 by 7 not 8 to examine high bit of fractional part. Use volatile
31632 variables when splitting into final array of floats if
31633 __FLT_EVAL_METHOD__ != 0.
31634 * math/libm-test.inc (cos_test): Add another test.
31635 (sin_test): Likewise.
31636 * sysdeps/i386/fpu/libm-test-ulps: Update.
31639 * math/libm-test.inc (cosh_test): Add more tests.
31641 * version.h (RELEASE): Set to "development".
31642 (VERSION): Set to "2.16.90".
31644 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31646 * NEWS: Update copyright. Remove last-updated date.
31647 Mention math library bug fixes and timezone data changes.
31648 * README: Mention GNU/Hurd, x32, and HPPA support status.
31650 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31652 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31654 2012-06-27 Andreas Jaeger <aj@suse.de>
31656 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31658 2012-06-25 Andreas Jaeger <aj@suse.de>
31660 * sysdeps/s390/fpu/libm-test-ulps: Update.
31662 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31663 Thomas Schwinge <thomas@codesourcery.com>
31665 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31666 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31670 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31672 * sysdeps/mach/start.c: Remove file.
31673 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31674 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31675 * sysdeps/sh/init-first.c: Likewise.
31677 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31678 registers for frame unwinding purposes, add CFI directives.
31679 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31680 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31681 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31684 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31685 __fortify_fail returning.
31686 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31688 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31689 sysdeps/sh/____longjmp_chk.S.
31690 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31691 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31692 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31693 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31695 * sysdeps/sh/abort-instr.h: New file.
31696 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31697 process in case exit returns.
31699 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31700 initialize the GOT register before use.
31702 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31703 calculation of ARGC > 4.
31705 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31706 meaningful names to some local labels.
31708 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31709 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31711 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31712 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31713 (__arch_compare_and_exchange_val_16_acq): Likewise.
31714 (__arch_compare_and_exchange_val_32_acq): Likewise.
31715 (atomic_exchange_and_add): Fix gUSA sequence.
31716 (atomic_add): Likewise.
31717 (atomic_add_negative): Likewise.
31718 (atomic_add_zero): Likewise.
31719 (atomic_bit_test_set): Likewise.
31721 2012-06-22 Andreas Schwab <schwab@redhat.com>
31724 * include/link.h (struct link_map): Add l_free_initfini.
31725 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31727 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31728 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31729 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31732 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31734 * configure.in: Use AC_LANG_SOURCE.
31735 * configure: Regenerate.
31737 2012-06-22 Roland McGrath <roland@hack.frob.com>
31739 * configure.in (libc_cv_localstatedir): New substituted variable.
31740 * configure: Regenerated.
31741 * config.make.in (localstatedir): New variable, substituted from
31742 libc_cv_localstatedir.
31743 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31744 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31745 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31746 * sysdeps/gnu/configure: Regenerated.
31748 2012-06-21 Jeff Law <law@redhat.com>
31751 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31752 free. Simplify list management for _LIBC case.
31754 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31757 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31758 Clear sign bit of 64-bit integer value before comparing against
31761 * sysdeps/mach/configure: Regenerated.
31763 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31766 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31768 2012-06-21 Jeff Law <law@redhat.com>
31771 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31772 uint16_t for elements in the "seen" array to avoid char overflows.
31773 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31774 * elf/dl-open.c (dl_open_worker): Likewise.
31776 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31778 * scripts/list-sources.sh: Scan PORTS for translations.
31779 * po/libc.pot: Regenerated.
31781 2012-06-21 Andreas Jaeger <aj@suse.de>
31784 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31786 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31787 * bits/byteswap-16.h (__bswap_16): Likewise.
31788 * bits/byteswap.h (__bswap_constant_16): Likewise.
31790 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31793 * sysdeps/i386/fpu_control.h: Removed.
31794 * sysdeps/x86_64/fpu_control.h: Moved to ...
31795 * sysdeps/x86/fpu_control.h: Here.
31797 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31798 (_FPU_SETCW): Likewise.
31800 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31803 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31804 * sysdeps/x86/fpu/bits/mathinline.h: This.
31805 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31809 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31810 functions if __x86_64__ is defined.
31812 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31814 * string/endian.h: Add !__ASSEMBLER__ condition for including
31815 conversion interfaces.
31817 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31821 of ABS(x) in calculating zero to negative powers other than odd
31823 * math/libm-test.inc (pow_test): Add more tests.
31825 2012-06-15 Andreas Jaeger <aj@suse.de>
31827 * manual/contrib.texi (Contributors): Update entry of Liubov
31828 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31831 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31833 * string/string.h: Add __wur to GNU version of strerror_r.
31835 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31838 * string/Makefile (tests): Add tst-strtok_r.
31839 * string/tst-strtok_r.c: New file.
31840 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31841 RAX_LP/RDX_LP on SAVE_PTR.
31843 2012-06-14 Roland McGrath <roland@hack.frob.com>
31845 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31847 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31849 * libm_test.inc (csqrt_test): Allow more spurious underflow
31851 (j0_test): Likewise.
31852 (j1_test): Likewise.
31853 (y0_test): Likewise.
31854 (y1_test): Likewise.
31856 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31858 * po/Makefile (libc.pot): Use UTF-8 charset.
31860 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31863 Suppress sign-conversion warning from FD_SET.
31864 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31865 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31866 not unsigned long int.
31867 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31869 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31873 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31874 __extern_always_inline instead of __extern_inline.
31875 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31876 (__signbit): Likewise.
31877 (__signbitl): Support C++ namespace.
31878 (lrintf): New inline function.
31880 (llrintf): Likewise.
31881 (llrint): Likewise.
31891 (floorf): Likewise.
31892 (nearbyint): Likewise.
31893 (nearbyintf): Likewise.
31895 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31897 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31898 non-default versions.
31900 2012-06-11 Roland McGrath <roland@hack.frob.com>
31903 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31905 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31907 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31908 (FE_UPWARD, FE_DOWNWARD): Don't define.
31909 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31910 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31912 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31914 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31915 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31917 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31919 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31920 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31921 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31922 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31924 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31927 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31928 * sysdeps/i386/fpu/Implies: New file.
31929 * sysdeps/x86_64/fpu/Implies: Likewise.
31930 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31931 * sysdeps/x86/fpu/bits/fenv.h: This.
31933 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31936 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31939 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31940 character 0xffff that matches the last element of the
31943 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31945 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31948 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31950 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31951 values higher than 25.6283.
31953 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31955 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31956 subnormal exponent extraction and add some __builtin_expect.
31957 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31958 Fix for subnormal mantissa calculation.
31960 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31962 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31963 cpu2 is -1 and errno is not ENOSYS.
31965 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31968 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31969 * sysdeps/x86/bits/string.h: This.
31970 * sysdeps/x86_64/bits/string.h: Removed.
31972 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31973 if not compiling for x86-64, but compiling for >= i486.
31975 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31976 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31978 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31979 New macro from Linux kernel 3.4.0.
31980 (FP_XSTATE_MAGIC2): Likewise.
31981 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31982 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31983 (struct _fpx_sw_bytes): New struct.
31984 (struct _xsave_hdr): Likewise.
31985 (struct _ymmh_state): Likewise.
31986 (struct _xstate): Likewise.
31988 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31989 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31990 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31991 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31992 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31993 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31995 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31996 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31997 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31998 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31999 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32000 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32002 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32005 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32006 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32007 (sysdep_headers): Include sys/platform/ppc.h.
32008 * sysdeps/powerpc/test-gettimebase.c: Test for
32009 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32010 * manual/Makefile (appendices): Include platform.texi.
32011 * manual/contrib.texi (Contributors): Update @node pointers.
32012 * manual/maint.texi (Maintenance): Likewise.
32013 (Platform): New node.
32014 * manual/platform.texi: New file. Document the new features.
32016 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32017 Jakub Jelinek <jakub@redhat.com>
32020 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32021 where __builtin_expect is unavailable.
32023 2012-06-03 David S. Miller <davem@davemloft.net>
32025 * stdlib/longlong.h: Updated from GCC.
32027 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32030 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32031 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32034 (GLIBC_2.16): Likewise.
32036 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32038 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32040 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32043 (default-abi): New variable.
32044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32045 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32047 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32049 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32051 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32054 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32055 definition. Document in comment.
32057 2012-06-01 David S. Miller <davem@davemloft.net>
32059 * stdlib/longlong.h: Updated from GCC.
32061 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32064 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32065 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32066 sys/debugreg.h sys/io.h here.
32067 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32068 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32070 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32071 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32072 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32073 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32074 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32075 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32077 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32078 Define only if __x86_64__ is defined.
32080 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32083 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32084 Use int64_t for variable i.
32085 * math/libm-test.inc (fmod_test): Add more tests.
32087 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32088 z computation is not scheduled after fetestexcept.
32089 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32090 Use math_force_eval instead of asm to ensure calculation scheduled
32091 before exception test.
32092 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32093 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32095 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32098 computation is not scheduled after fetestexcept.
32100 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32103 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32104 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32106 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32108 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32109 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32111 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32114 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32116 (__WCHAR_MIN): Support __WORDSIZE == 64.
32117 (__WCHAR_MAX): Likewise.
32119 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32120 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32123 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32124 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32127 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32128 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32130 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32131 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32133 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32134 Defined to 1 if __x86_64__ isn't defined.
32135 (_STAT_VER_LINUX_OLD): New.
32136 (st_atime): Remove duplicate.
32137 (st_mtime): Likewise.
32138 (st_ctime): Likewise.
32140 2012-05-31 David S. Miller <davem@davemloft.net>
32142 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32145 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32147 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32151 * elf/dl-reloc.c: Include <_itoa.h>.
32152 (_dl_reloc_bad_type): Remove use of INTUSE.
32153 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32154 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32155 * stdio-common/psiginfo.c (psiginfo): Likewise.
32156 * stdio-common/psignal.c (psignal): Likewise.
32157 * string/strsignal.c (strsignal): Likewise.
32158 * include/signal.h (_sys_siglist): Declare hidden proto.
32159 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32160 INTVARDEF with libc_hidden_data_def.
32161 * stdio-common/itoa-udigits.c: Likewise.
32162 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32163 (_itoa_lower_digits_internal): Remove declaration.
32164 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32165 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32166 (_sys_sigabbrev_internal): Remove aliases.
32167 (_sys_siglist): Define hidden alias.
32169 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32174 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32177 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32178 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32180 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32181 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32182 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32183 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32184 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32185 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32187 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32188 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32189 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32191 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32199 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32200 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32201 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32203 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32204 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32205 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32206 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32207 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32208 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32210 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32211 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32213 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32214 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32216 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32218 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32220 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32221 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32223 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32225 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32226 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32227 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32229 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32231 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32233 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32235 * math/math.h (M_El): Use two more decimal places.
32236 (M_LOG2El): Likewise.
32237 (M_LOG10El): Likewise.
32238 (M_LN2l): Likewise.
32239 (M_LN10l): Likewise.
32241 (M_PI_2l): Likewise.
32242 (M_PI_4l): Likewise.
32243 (M_1_PIl): Likewise.
32244 (M_2_PIl): Likewise.
32245 (M_2_SQRTPIl): Likewise.
32246 (M_SQRT2l): Likewise.
32247 (M_SQRT1_2l): Likewise.
32249 2012-05-31 David S. Miller <davem@davemloft.net>
32251 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32252 values between float registers.
32253 * sysdeps/sparc/sparc64/memset.S: Likewise.
32254 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32256 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32258 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32259 -D_FORTIFY_SOURCE=1.
32260 (CPPFLAGS-tst-longjmp_chk.c): Define.
32261 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32262 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32263 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32264 CFLAGS-tst-wchar-h.c.
32266 2012-05-31 Marek Polacek <polacek@redhat.com>
32269 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32270 __endmntent_internal): Remove declaration.
32271 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32272 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32273 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32275 2012-05-30 David S. Miller <davem@davemloft.net>
32277 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32278 (___Q_simulate_exceptions): Use real FP ops rather than writing
32280 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32283 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32286 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32287 * sysdeps/x86/bits/xtitypes.h: This.
32289 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32290 * sysdeps/x86/bits/wordsize.h: This.
32292 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32293 * sysdeps/x86/bits/huge_vall.h: This.
32295 * sysdeps/i386/bits/select.h: Removed.
32296 * sysdeps/x86_64/bits/select.h: Renamed to ...
32297 * sysdeps/x86/bits/select.h: This.
32299 * sysdeps/i386/bits/setjmp.h: Removed.
32300 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32301 * sysdeps/x86/bits/setjmp.h: This.
32303 * sysdeps/i386/bits/mathdef.h: Removed.
32304 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32305 * sysdeps/x86/bits/mathdef.h: This.
32307 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32310 * include/sys/socket.h (__connect_internal)
32311 (__libc_sa_len_internal): Remove declaration.
32312 (__connect, __libc_sa_len): Declare hidden_proto.
32313 (SA_LEN): Remove use of INTUSE.
32314 * socket/connect.c: Add libc_hidden_def.
32315 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32316 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32317 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32319 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32320 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32321 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32322 of adding _internal alias.
32324 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32327 * sysdeps/i386/bits/link.h: Removed.
32328 * sysdeps/i386/bits/linkmap.h: Likewise.
32329 * sysdeps/x86_64/bits/link.h: Renamed to ...
32330 * sysdeps/x86/bits/link.h: This.
32331 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32332 * sysdeps/x86/bits/linkmap.h: This.
32334 * sysdeps/i386/bits/endian.h: Removed.
32335 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32336 * sysdeps/x86/bits/endian.h: This.
32338 * sysdeps/i386/bits/byteswap.h: Removed.
32339 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32340 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32341 * sysdeps/x86/bits/byteswap.h: This.
32342 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32343 * sysdeps/x86/bits/byteswap-16.h: This.
32344 * sysdeps/i386/Implies: Add x86.
32345 * sysdeps/x86_64/Implies: Likewise.
32347 2012-05-30 David S. Miller <davem@davemloft.net>
32349 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32350 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32351 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32352 (FP_TRAPPING_EXCEPTIONS): Define.
32353 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32354 (FP_TRAPPING_EXCEPTIONS): Define.
32355 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32356 subnormals only when inexact has been signalled or underflow
32357 exceptions are enabled.
32358 (_FP_PACK_CANONICAL): Likewise.
32360 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32363 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32364 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32366 2012-05-30 Richard Henderson <rth@twiddle.net>
32368 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32369 with #ifndef NOT_IN_libc.
32371 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32372 marked to avoid plt entry.
32374 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32377 * Makeconfig (default-abi): New macro.
32378 (abi-includes): Likewise.
32379 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32380 $(abi-$(default-abi)-lib-soname) for soname if defined.
32381 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32383 * Makefile (installed-stubs): Likewise.
32384 * include/stubs-biarch.h: Removed.
32385 * scripts/lib-names.awk: Only handle one library at a time.
32386 * scripts/soversions.awk: Remove WORDSIZE support.
32387 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32389 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32391 (syscall-list-default-condition): Likewise.
32392 (syscall-list-default-condition): Likewise.
32393 (syscall-list-includes): Likewise.
32394 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32395 syscall-list-* with abi-*. Handle undefined abi-variants.
32396 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32397 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32398 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32399 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32400 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32401 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32403 (syscall-list-32-options): Likewise.
32404 (syscall-list-32-condition): Likewise.
32405 (syscall-list-64-options): Likewise.
32406 (syscall-list-64-condition): Likewise.
32407 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32409 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32412 (abi-64-ld-soname): New macro.
32413 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32414 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32417 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32418 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32420 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32422 * sysdeps/unix/sysv/linux/kernel-features.h
32423 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32424 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32425 include <kernel-features.h>.
32426 [!__NR_ftruncate64]: Remove conditional code.
32427 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32428 [__NR_ftruncate64]: Make code unconditional.
32429 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32430 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32431 include <kernel-features.h>.
32432 [!__NR_ftruncate64]: Remove conditional code.
32433 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32434 [__NR_ftruncate64]: Make code unconditional.
32435 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32437 include <kernel-features.h>.
32438 [!__NR_ftruncate64]: Remove conditional code.
32439 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32440 [__NR_ftruncate64]: Make code unconditional.
32441 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32443 include <kernel-features.h>.
32444 [!__NR_ftruncate64]: Remove conditional code.
32445 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32446 [__NR_ftruncate64]: Make code unconditional.
32447 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32449 * configure.in (libc_cv_fpie): Weaken to a compile test using
32450 LIBC_TRY_CC_OPTION.
32451 * configure: Regenerated.
32453 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32468 2012-05-27 David S. Miller <davem@davemloft.net>
32470 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32472 (__Q_simulate_exceptions): Return void. Change to simulate
32473 exceptions by writing into the %fsr.
32474 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32475 (__Qp_handle_exceptions): Likewise.
32477 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32478 __Qp_handle_exceptions.
32479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32480 __Qp_handle_exceptions.
32481 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32482 as unused and give dummy FP_RND_NEAREST initializer.
32483 (FP_INHIBIT_RESULTS): Define.
32484 (___Q_simulate_exceptions): Update declaration.
32485 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32487 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32488 as unused and give dummy FP_RND_NEAREST initializer.
32489 (__Qp_handle_exceptions): Update declaration.
32490 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32493 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32495 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32496 the temporary FPU control word.
32497 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32498 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32499 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32500 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32501 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32502 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32503 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32504 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32505 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32506 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32507 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32509 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32511 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32514 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32516 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32517 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32518 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32519 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32521 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32522 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32525 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32527 * po/h.po: Update from translation team.
32529 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32531 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32533 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32534 handling of denormals.
32535 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32536 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32537 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32538 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32541 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32544 2012-05-26 Marek Polacek <polacek@redhat.com>
32547 * math/libm-test.inc (fma_test): Don't always expect underflow
32550 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32553 * elf/tst-execstack.c: Include stackinfo.h.
32554 (do_test): Adjust test case to ensure that pthread_getattr_np
32555 behaviour remains the same after marking stack executable.
32557 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32559 * sysdeps/unix/sysv/linux/kernel-features.h
32560 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32561 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32563 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32564 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32565 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32567 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32568 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32570 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32572 * configure.in: Define the default includes to being none.
32573 * configure: Regenerated.
32575 2012-05-25 Roland McGrath <roland@hack.frob.com>
32577 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32578 * sysdeps/x86_64/setjmp.S: Likewise.
32579 * sysdeps/i386/bsd-setjmp.S: Likewise.
32580 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32581 * sysdeps/i386/setjmp.S: Likewise.
32582 * sysdeps/i386/__longjmp.S: Likewise.
32583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32584 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32586 * include/stap-probe.h: New file.
32587 * configure.in: Handle --enable-systemtap.
32588 * configure: Regenerated.
32589 * config.h.in (USE_STAP_PROBE): New #undef.
32590 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32591 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32592 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32594 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32597 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32598 to 2.4.0 where earlier.
32599 * sysdeps/unix/sysv/linux/configure: Regenerated.
32600 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32601 <kernel-features.h>.
32602 [__ASSUME_32BITUIDS]: Make code unconditional.
32603 [!__ASSUME_32BITUIDS]: Remove conditional code.
32604 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32605 <kernel-features.h>.
32606 [__ASSUME_32BITUIDS]: Make code unconditional.
32607 [!__ASSUME_32BITUIDS]: Remove conditional code.
32608 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32609 [__ASSUME_32BITUIDS]: Make code unconditional.
32610 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32611 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32612 <kernel-features.h>.
32613 [__ASSUME_32BITUIDS]: Make code unconditional.
32614 [!__ASSUME_32BITUIDS]: Remove conditional code.
32615 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32616 <kernel-features.h>.
32617 [__ASSUME_32BITUIDS]: Make code unconditional.
32618 [!__ASSUME_32BITUIDS]: Remove conditional code.
32619 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32620 <kernel-features.h>.
32621 [__ASSUME_32BITUIDS]: Make code unconditional.
32622 [!__ASSUME_32BITUIDS]: Remove conditional code.
32623 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32624 <kernel-features.h>.
32625 [__ASSUME_32BITUIDS]: Make code unconditional.
32626 [!__ASSUME_32BITUIDS]: Remove conditional code.
32627 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32628 <kernel-features.h>.
32629 [__ASSUME_32BITUIDS]: Make code unconditional.
32630 [!__ASSUME_32BITUIDS]: Remove conditional code.
32631 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32632 <kernel-features.h>.
32633 [__ASSUME_32BITUIDS]: Make code unconditional.
32634 [!__ASSUME_32BITUIDS]: Remove conditional code.
32635 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32636 <kernel-features.h>.
32637 [__ASSUME_32BITUIDS]: Make code unconditional.
32638 [!__ASSUME_32BITUIDS]: Remove conditional code.
32639 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32640 <kernel-features.h>.
32641 [__ASSUME_32BITUIDS]: Make code unconditional.
32642 [!__ASSUME_32BITUIDS]: Remove conditional code.
32643 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32644 <kernel-features.h>.
32645 [__ASSUME_32BITUIDS]: Make code unconditional.
32646 [!__ASSUME_32BITUIDS]: Remove conditional code.
32647 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32648 <kernel-features.h>.
32649 [__ASSUME_32BITUIDS]: Make code unconditional.
32650 [!__ASSUME_32BITUIDS]: Remove conditional code.
32651 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32652 <kernel-features.h>.
32653 [__NR_setresgid] (__setresgid): Do not declare.
32654 [__ASSUME_32BITUIDS]: Make code unconditional.
32655 [!__ASSUME_32BITUIDS]: Remove conditional code.
32656 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32657 <kernel-features.h>.
32658 [__NR_setresuid] (__setresuid): Do not declare.
32659 [__ASSUME_32BITUIDS]: Make code unconditional.
32660 [!__ASSUME_32BITUIDS]: Remove conditional code.
32661 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32662 <kernel-features.h>.
32663 [__ASSUME_32BITUIDS]: Make code unconditional.
32664 [!__ASSUME_32BITUIDS]: Remove conditional code.
32665 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32666 <kernel-features.h>.
32667 [__ASSUME_32BITUIDS]: Make code unconditional.
32668 [!__ASSUME_32BITUIDS]: Remove conditional code.
32669 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32670 <kernel-features.h>.
32671 [__ASSUME_32BITUIDS]: Make code unconditional.
32672 [!__ASSUME_32BITUIDS]: Remove conditional code.
32673 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32674 <kernel-features.h>.
32675 [__ASSUME_32BITUIDS]: Make code unconditional.
32676 [!__ASSUME_32BITUIDS]: Remove conditional code.
32677 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32678 <kernel-features.h>.
32679 [__ASSUME_32BITUIDS]: Make code unconditional.
32680 [!__ASSUME_32BITUIDS]: Remove conditional code.
32681 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32682 <kernel-features.h>.
32683 [__ASSUME_32BITUIDS]: Make code unconditional.
32684 [!__ASSUME_32BITUIDS]: Remove conditional code.
32685 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32686 <kernel-features.h>.
32687 [__ASSUME_32BITUIDS]: Make code unconditional.
32688 [!__ASSUME_32BITUIDS]: Remove conditional code.
32689 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32690 <kernel-features.h>.
32691 [__ASSUME_32BITUIDS]: Make code unconditional.
32692 [!__ASSUME_32BITUIDS]: Remove conditional code.
32693 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32694 <kernel-features.h>.
32695 [__ASSUME_32BITUIDS]: Make code unconditional.
32696 [!__ASSUME_32BITUIDS]: Remove conditional code.
32697 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32698 <kernel-features.h>.
32699 [__ASSUME_32BITUIDS]: Make code unconditional.
32700 [!__ASSUME_32BITUIDS]: Remove conditional code.
32701 * sysdeps/unix/sysv/linux/kernel-features.h
32702 (__ASSUME_SETRESUID_SYSCALL): Remove.
32703 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32704 (__ASSUME_32BITUIDS): Likewise.
32705 (__ASSUME_LDT_WORKS): Likewise.
32706 (__ASSUME_O_DIRECTORY): Likewise.
32707 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32708 architecture but not kernel version.
32709 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32710 (__ASSUME_MMAP2_SYSCALL): Likewise.
32711 (__ASSUME_STAT64_SYSCALL): Likewise.
32712 (__ASSUME_IPC64): Likewise.
32713 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32714 <kernel-features.h>.
32715 [__ASSUME_32BITUIDS]: Make code unconditional.
32716 [!__ASSUME_32BITUIDS]: Remove conditional code.
32717 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32718 <kernel-features.h>.
32719 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32720 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32721 132096]: Remove conditional code.
32722 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32723 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32724 <kernel-features.h>.
32725 [__ASSUME_32BITUIDS]: Make code unconditional.
32726 [!__ASSUME_32BITUIDS]: Remove conditional code.
32727 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32728 <kernel-features.h>.
32729 [__ASSUME_32BITUIDS]: Make code unconditional.
32730 [!__ASSUME_32BITUIDS]: Remove conditional code.
32731 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32732 <kernel-features.h>.
32733 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32735 (__setresgid): Do not declare.
32736 [__ASSUME_32BITUIDS]: Make code unconditional.
32737 [!__ASSUME_32BITUIDS]: Remove conditional code.
32738 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32739 <kernel-features.h>.
32740 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32742 (__setresuid): Do not declare.
32743 [__ASSUME_32BITUIDS]: Make code unconditional.
32744 [!__ASSUME_32BITUIDS]: Remove conditional code.
32745 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32746 <kernel-features.h>.
32747 [__ASSUME_32BITUIDS]: Make code unconditional.
32748 [!__ASSUME_32BITUIDS]: Remove conditional code.
32749 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32750 <kernel-features.h>.
32751 [__ASSUME_32BITUIDS]: Make code unconditional.
32752 [!__ASSUME_32BITUIDS]: Remove conditional code.
32754 2012-05-25 Richard Henderson <rth@twiddle.net>
32756 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32757 dl_hwcap to ifunc resolver.
32758 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32760 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32761 dl_hwcap to ifunc resolver.
32762 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32764 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32767 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32768 for |x| <= 2**-26, not 2**-57.
32769 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32772 2012-05-24 Jeff Law <law@redhat.com>
32774 * stdio-common/Makefile (tests): Add bug25.
32775 * stdio-common/bug25.c: New test.
32777 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32780 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32781 multiple of MALLOC_ALIGNMENT in size.
32782 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32784 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32786 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32788 (FILENAME_MAX): Use macro-int-constant.
32789 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32790 (_IOFBF): Use macro-int-constant.
32791 (_IOLBF): Likewise.
32792 (_IONBF): Likewise.
32793 (SEEK_CUR): Likewise.
32794 (SEEK_END): Likewise.
32795 (SEEK_SET): Likewise.
32796 (TMP_MAX): Likewise.
32797 (EOF): Use macro-int-constant. Require < 0.
32798 (NULL): Use macro-constant. Require == 0.
32799 (stdin): Require type to be FILE *.
32800 (stdout): Likewise.
32801 (stderr): Likewise.
32802 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32803 macro-int-constant.
32804 (EXIT_SUCCESS): Likewise.
32805 (NULL): Use macro-constant. Require == 0.
32806 (RAND_MAX): Use macro-int-constant.
32807 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32808 [C99-based standards] (strtof): Require function.
32809 [C99-based standards] (strtold): Likewise.
32810 [C99-based standards] (strtoll): Likewise.
32811 [C99-based standards] (strtoull): Likewise.
32812 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32813 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32814 [ISO || ISO99 || ISO11] (math.h): Likewise.
32815 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32816 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32819 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32822 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32823 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32824 * intl/dgettext.c (DCGETTEXT): Likewise.
32825 * intl/gettext.c (DCGETTEXT): Likewise.
32826 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32827 * posix/regex_internal.h (gettext): Likewise.
32828 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32829 Remove declaration.
32830 * include/argz.h (__argz_count_internal)
32831 (__argz_stringify_internal): Remove declaration.
32832 (__argz_count, __argz_stringify): Declare hidden proto.
32833 * intl/dcgettext.c: Remove use of INTDEF.
32834 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32835 * string/argz-stringify.c: Likewise.
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/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32840 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32841 Declare hidden proto.
32842 * include/stdio.h (__asprintf_internal): Don't declare.
32843 (__asprintf): Don't define as macro. Declare hidden proto.
32844 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32845 (__fsetlocking): Declare hidden proto.
32846 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32847 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32849 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32850 (_IO_setlinebuf): Remove use of INTUSE.
32851 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32852 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32853 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32854 Remove declaration.
32855 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32856 (_IO_do_flush): Remove use of INTUSE.
32857 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32858 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32859 (_IO_adjust_column, _IO_least_wmarker)
32860 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32861 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32862 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32863 (_IO_default_doallocate, _IO_wdefault_doallocate)
32864 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32865 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32866 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32867 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32868 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32869 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32870 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32871 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32872 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32873 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32874 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32875 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32876 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32878 (_IO_flush_all_internal, _IO_adjust_column_internal)
32879 (_IO_default_uflow_internal, _IO_default_finish_internal)
32880 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32881 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32882 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32883 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32884 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32885 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32886 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32887 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32888 (_IO_file_close_internal, _IO_file_close_it_internal)
32889 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32890 (_IO_file_init_internal, _IO_file_attach_internal)
32891 (_IO_file_fopen_internal, _IO_file_read_internal)
32892 (_IO_file_sync_internal, _IO_file_seek_internal)
32893 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32894 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32895 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32896 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32897 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32898 (_IO_list_all_internal, _IO_link_in_internal)
32899 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32900 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32901 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32902 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32903 (_IO_do_write_internal, _IO_padn_internal)
32904 (_IO_getline_info_internal, _IO_getline_internal)
32905 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32906 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32907 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32908 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32909 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32910 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32911 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32912 with libc_hidden_ver, remove use of INTUSE.
32913 * libio/genops.c: Likewise.
32914 * libio/freopen.c: Likewise.
32915 * libio/freopen64.c: Likewise.
32916 * libio/iofclose.c: Likewise.
32917 * libio/iofdopen.c: Likewise.
32918 * libio/iofflush.c: Likewise.
32919 * libio/iofflush_u.c: Likewise.
32920 * libio/iofgets.c: Likewise.
32921 * libio/iofgets_u.c: Likewise.
32922 * libio/iofopen.c: Likewise.
32923 * libio/iofopncook.c: Likewise.
32924 * libio/iofread.c: Likewise.
32925 * libio/iofread_u.c: Likewise.
32926 * libio/ioftell.c: Likewise.
32927 * libio/iofwrite.c: Likewise.
32928 * libio/iogetline.c: Likewise.
32929 * libio/iogets.c: Likewise.
32930 * libio/iogetwline.c: Likewise.
32931 * libio/iopadn.c: Likewise.
32932 * libio/iopopen.c: Likewise.
32933 * libio/ioseekoff.c: Likewise.
32934 * libio/ioseekpos.c: Likewise.
32935 * libio/iosetbuffer.c: Likewise.
32936 * libio/iosetvbuf.c: Likewise.
32937 * libio/ioungetc.c: Likewise.
32938 * libio/ioungetwc.c: Likewise.
32939 * libio/iovdprintf.c: Likewise.
32940 * libio/iovsprintf.c: Likewise.
32941 * libio/iovsscanf.c: Likewise.
32942 * libio/memstream.c: Likewise.
32943 * libio/obprintf.c: Likewise.
32944 * libio/oldfileops.c: Likewise.
32945 * libio/oldiofclose.c: Likewise.
32946 * libio/oldiofdopen.c: Likewise.
32947 * libio/oldiofopen.c: Likewise.
32948 * libio/oldiopopen.c: Likewise.
32949 * libio/oldstdfiles.c: Likewise.
32950 * libio/putc.c: Likewise.
32951 * libio/setbuf.c: Likewise.
32952 * libio/setlinebuf.c: Likewise.
32953 * libio/stdfiles.c: Likewise.
32954 * libio/strops.c: Likewise.
32955 * libio/vasprintf.c: Likewise.
32956 * libio/vscanf.c: Likewise.
32957 * libio/vsnprintf.c: Likewise.
32958 * libio/vswprintf.c: Likewise.
32959 * libio/wfiledoalloc.c: Likewise.
32960 * libio/wfileops.c: Likewise.
32961 * libio/wgenops.c: Likewise.
32962 * libio/wmemstream.c: Likewise.
32963 * libio/wstrops.c: Likewise.
32964 * libio/__fpurge.c: Likewise.
32965 * libio/__fsetlocking.c: Likewise.
32966 * assert/assert.c: Likewise.
32967 * debug/fgets_chk.c: Likewise.
32968 * debug/fgets_u_chk.c: Likewise.
32969 * debug/fread_chk.c: Likewise.
32970 * debug/fread_u_chk.c: Likewise.
32971 * debug/gets_chk.c: Likewise.
32972 * debug/obprintf_chk.c: Likewise.
32973 * debug/vasprintf_chk.c: Likewise.
32974 * debug/vdprintf_chk.c: Likewise.
32975 * debug/vsnprintf_chk.c: Likewise.
32976 * debug/vsprintf_chk.c: Likewise.
32977 * malloc/mtrace.c: Likewise.
32978 * misc/error.c: Likewise.
32979 * misc/syslog.c: Likewise.
32980 * stdio-common/asprintf.c: Likewise.
32981 * stdio-common/fxprintf.c: Likewise.
32982 * stdio-common/getw.c: Likewise.
32983 * stdio-common/isoc99_fscanf.c: Likewise.
32984 * stdio-common/isoc99_scanf.c: Likewise.
32985 * stdio-common/isoc99_vfscanf.c: Likewise.
32986 * stdio-common/isoc99_vscanf.c: Likewise.
32987 * stdio-common/isoc99_vsscanf.c: Likewise.
32988 * stdio-common/printf-prs.c: Likewise.
32989 * stdio-common/printf_fp.c: Likewise.
32990 * stdio-common/printf_fphex.c: Likewise.
32991 * stdio-common/printf_size.c: Likewise.
32992 * stdio-common/putw.c: Likewise.
32993 * stdio-common/scanf.c: Likewise.
32994 * stdio-common/sprintf.c: Likewise.
32995 * stdio-common/tmpfile.c: Likewise.
32996 * stdio-common/vfprintf.c: Likewise.
32997 * stdio-common/vfscanf.c: Likewise.
32998 * stdlib/strfmon_l.c: Likewise.
32999 * sunrpc/openchild.c: Likewise.
33000 * sunrpc/xdr_stdio.c: Likewise.
33001 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33002 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33004 2012-05-24 Roland McGrath <roland@hack.frob.com>
33006 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33008 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33009 in the third column, to generate for the shared library an IFUNC
33010 that uses _dl_vdso_vsym.
33011 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33012 * Makeconfig (object-suffixes-noshared): New variable.
33014 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33015 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33016 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33017 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33020 * include/sys/time.h (__gettimeofday): Remove macro.
33021 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33022 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33024 (__gettimeofday): Add libc_hidden_def.
33025 (gettimeofday): Add libc_hidden_weak.
33026 * sysdeps/mach/gettimeofday.c: Likewise.
33027 * sysdeps/posix/gettimeofday.c: Likewise.
33028 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33029 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33030 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33031 (__gettimeofday_internal): Remove strong_alias.
33032 (__gettimeofday): Add libc_hidden_def.
33033 (gettimeofday): Add libc_hidden_weak.
33034 * sysdeps/unix/syscalls.list (gettimeofday):
33035 Remove __gettimeofday_internal alias.
33037 2012-05-24 Daniel Jacobowitz <drow@false.org>
33038 H.J. Lu <hongjiu.lu@intel.com>
33041 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33042 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33043 (largebin_index_32_big): New.
33044 (largebin_index): Use it for 16-byte alignment.
33045 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33046 correction with front_misalign.
33048 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33076 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33077 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33079 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33083 * math/libm-test.inc (exp_test): Add test from bug 14036.
33084 (pow_test): Add test from bug 10846.
33086 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33088 (special_function): Do not include flags in test name.
33089 (parse_args): Likewise.
33090 * sysdeps/i386/fpu/libm-test-ulps: Update.
33091 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33092 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33093 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33096 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33098 * math/libm-test.inc ("Philosophy"): Update comment about
33100 (UNDERFLOW_EXCEPTION): New macro.
33101 (UNDERFLOW_EXCEPTION_OK): Likewise.
33102 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33103 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33104 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33105 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33106 (INVALID_EXCEPTION_OK): Update value.
33107 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33108 (OVERFLOW_EXCEPTION_OK): Likewise.
33109 (IGNORE_ZERO_INF_SIGN): Likewise.
33110 (test_exceptions): Handle underflow exceptions.
33111 (acos_test): Update for underflow exception expectations.
33112 (cexp_test): Likewise.
33113 (clog_test): Likewise.
33114 (clog10_test): Likewise.
33115 (csqrt_test): Likewise.
33116 (ctan_test): Likewise.
33117 (ctanh_test): Likewise.
33118 (exp_test): Likewise.
33119 (exp10_test): Likewise.
33120 (exp2_test): Likewise.
33121 (expm1_test): Likewise.
33122 (fma_test): Likewise.
33123 (j0_test): Likewise.
33124 (jn_test): Likewise.
33125 (nexttoward_test): Likewise.
33126 (pow_test): Likewise.
33127 (scalbn_test): Likewise.
33128 (scalbln_test): Likewise.
33129 (tan_test): Likewise.
33130 (y1_test): Likewise.
33131 * sysdeps/i386/fpu/libm-test-ulps: Update.
33132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33134 2012-05-23 David S. Miller <davem@davemloft.net>
33136 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33137 (__libc_sigaction): Remove unused local variables.
33139 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33141 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33143 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33145 mktime: avoid signed integer overflow
33146 * time/mktime.c (__mktime_internal): Do not mishandle the case
33147 where diff == INT_MIN.
33149 mktime: simplify computation of average
33150 * time/mktime.c (ranged_convert): Use new time_t_avg function
33151 instead of rolling our own (probably-slower) code.
33153 mktime: do not assume signed right shift propagates sign bit
33154 * time/mktime.c (isdst_differ): New static function.
33155 (__mktime_internal): No need to normalize tm_isdst now.
33156 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33159 mktime: merge another wrapv change from gnulib
33160 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33161 from some compilers.
33163 mktime: remove incorrect attempt at unusual arithmetics
33164 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33165 The code didn't really work on such machines anyway.
33166 (TYPE_MINIMUM): Assume two's complement.
33167 (twos_complement_arithmetic): Verify that long_int and time_t
33168 are two's complement (or unsigned, in the latter case).
33170 mktime: check signed shifts on long_int and time_t, too
33171 * time/mktime.c (SHR): Check that shifts work as desired
33172 on the types long_int and time_t too, as SHR is used on
33175 mktime: do not assume 'long' is wide enough
33176 * time/mktime.c (verify): Move decl up.
33177 (long_int): New type.
33178 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33179 to remove assumption in the code that 'long' is wide enough to
33180 store year values. This assumption is not true on x32 and on
33181 some non-glibc platforms.
33183 mktime: merge wrapv change from gnulib
33184 * time/mktime.c (WRAPV): New macro.
33185 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33186 (guess_time_tm, __mktime_internal): Do not assume that signed
33187 integer overflow wraps around; modern compilers generate code
33188 where this assumption is no longer valid.
33190 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33192 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33193 Replace "jmp L(pseudo_end)" with "ret".
33194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33197 2012-05-23 Andreas Jaeger <aj@suse.de>
33199 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33200 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33202 2012-05-23 Andreas Jaeger <aj@suse.de>
33203 Maximilian Attems <max@stro.at>
33205 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33208 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33210 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33211 code so that pseudo_end is just ret and the stack pointer is
33212 correct also for static library in error case.
33214 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33216 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33217 move to syscalls.list.
33218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33223 * manual/install.texi (Running make install): Do not mention Linux
33224 kernel version for which pt_chown is not needed.
33225 (Linux): Do not mention problems with nscd with 2.0 kernels.
33226 * INSTALL: Regenerated.
33228 2012-05-23 Andreas Jaeger <aj@suse.de>
33230 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33231 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33233 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33234 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33235 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33236 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33237 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33238 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33239 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33240 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33241 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33242 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33243 * sysdeps/unix/sysv/linux/bits/in.h
33244 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33246 2012-05-22 Roland McGrath <roland@hack.frob.com>
33248 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33249 (PREPARE_VERSION): Just use assert instead, it will be elided
33250 under [NDEBUG] anyway.
33252 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33254 * sysdeps/unix/sysv/linux/Makefile: Include
33255 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33256 (sysdep_routines): Remove sysctl.
33257 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33258 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33259 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33260 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33261 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33263 2012-05-22 Andreas Jaeger <aj@suse.de>
33265 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33266 that pseudo_end is just ret and the stack pointer is correct also
33267 for static library in error case.
33269 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33272 * nss/nsswitch.c (defconfig_entries): New variable.
33273 (__nss_database_lookup): Don't leak defconfig entries.
33274 (nss_parse_service_list): Don't leak on error paths.
33275 (free_database_entries): New function.
33276 (free_defconfig): New function.
33277 (free_mem): Move common code to free_database_entries.
33279 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33281 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33283 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33285 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33286 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33287 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33289 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33290 (INTERNAL_SYSCALL_TYPES): Likewise.
33291 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33292 (LOAD_REGS_TYPES_[1-6]): Likewise.
33293 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33294 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33296 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33298 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33299 copysignl for GLIBC_2_0.
33300 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33301 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33303 logbl for GLIBC_2_0.
33304 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33305 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33307 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33309 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33310 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33312 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33315 * time/mktime.c: Update copyright years.
33317 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33319 mktime: merge comment-quoting-style change from gnulib
33320 * time/mktime.c: Quote 'like this' in comments.
33321 The GNU coding standards suggest that we no longer quote `like this',
33322 as "`" and "'" are typically rendered asymmetrically nowadays.
33323 The typical gnulib style is to quote 'like this' when quoting
33324 code, and "like this" when quoting English.
33326 * time/mktime.c (compile-command): Add "-I.".
33328 mktime: merge mktime-internal.h change from gnulib
33329 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33331 mktime: merge time_r change from gnulib
33332 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33334 mktime: merge DEBUG change from gnulib
33335 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33336 case system <time.h> has a #define.
33338 mktime: merge <sys/types.h> change from gnulib
33339 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33340 since <time.t> is now guaranteed to define time_t.
33342 mktime: merge HAVE_CONFIG_H change from gnulib
33343 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33345 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33350 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33352 (struct rusage): Use anonymous union to pad each field to
33355 2012-05-21 David S. Miller <davem@davemloft.net>
33357 * Makefules (o-iterator): Remove .s cases.
33358 (compile-command.s): Delete.
33359 (COMPILE.s): Delete.
33360 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33362 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33364 * configure.in (libc_cv_predef_stack_protector): Only consider
33365 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33366 * configure: Regenerated.
33368 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33370 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33371 New macro. Use R*LP on int and pointer.
33372 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33373 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33374 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33375 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33377 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33378 [__WORDSIZE_TIME64_COMPAT32] instead of
33379 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33380 (struct utmp): Likewise.
33381 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33382 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33384 (__WORDSIZE_TIME64_COMPAT32): This.
33385 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33386 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33387 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33388 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33389 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33390 (__WORDSIZE_TIME64_COMPAT32): New macro.
33392 2012-05-21 Andreas Jaeger <aj@suse.de>
33394 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33395 only if [SHARED]. Add prototype for __wcschr_ia32.
33397 2012-05-21 Roland McGrath <roland@hack.frob.com>
33399 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33400 of %rbp unmolested in the jmp_buf while mangling the low bits.
33401 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33402 unmolested high bits of %rbp while demangling the low bits.
33403 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33405 2012-05-21 Andreas Jaeger <aj@suse.de>
33407 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33408 * sunrpc/svc_simple.c: Use it for registerrpc.
33409 * sunrpc/xcrypt.c: Use it for passwd2des.
33411 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33413 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33415 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33416 Don't define if [__SYSCALL_WORDSIZE != 32].
33417 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33420 2012-05-21 Bruno Haible <bruno@clisp.org>
33421 Andreas Jaeger <aj@suse.de>
33423 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33424 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33425 inptr and inend for must_buffer_ch.
33426 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33427 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33428 * stdio-common/Makefile (tests): Remove bug15.
33429 (bug15-ENV): Remove macro.
33430 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33433 2012-05-19 Andreas Jaeger <aj@suse.de>
33434 Roland McGrath <roland@hack.frob.com>
33436 * manual/contrib.texi: Completely rewritten. It contains now an
33437 alphabetical list of contributors and their contributions.
33439 2012-05-21 Richard Henderson <rth@twiddle.net>
33441 * misc/getauxval.c (__getauxval): Use unsigned long int.
33442 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33443 (getauxval): Use unsigned long int.
33445 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33447 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33449 2012-05-21 Roland McGrath <roland@hack.frob.com>
33451 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33452 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33453 __alignof__ (long double).
33455 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33459 2012-05-20 Richard Henderson <rth@twiddle.net>
33461 * misc/getauxval.c: New file.
33462 * misc/sys/auxv.h: New file.
33463 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33464 (routines): Add getauxval.
33465 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33466 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33467 * elf/dl-sysdep.c (_dl_auxv): Remove.
33468 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33469 * elf/dl-support.c (_dl_auxv): New variable.
33470 (_dl_aux_init): Initialize it.
33471 * manual/startup.texi (Auxiliary Vector): New node.
33472 * sysdeps/generic/bits/hwcap.h: New file.
33473 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33474 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33475 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33476 * sysdeps/sparc/sysdep.h: ... here. Include it.
33477 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33478 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33484 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33490 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33494 2012-05-19 David S. Miller <davem@davemloft.net>
33496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33498 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33501 * math/s_ccosh.c: Include <float.h>
33502 (__ccosh): Avoid internal overflow calculating sinh and cosh
33503 values before multiplying by sin and cos values.
33504 * math/s_ccoshf.c: Likewise.
33505 * math/s_ccoshl.c: Likewise.
33506 * math/s_csin.c: Likewise.
33507 * math/s_csinf.c: Likewise.
33508 * math/s_csinl.c: Likewise.
33509 * math/s_csinh.c: Likewise.
33510 * math/s_csinhf.c: Likewise.
33511 * math/s_csinhl.c: Likewise.
33512 * math/libm-test.inc (ccos_test): Add more tests.
33513 (ccosh_test): Likewise.
33514 (csin_test): Likewise.
33515 (csinh_test): Likewise.
33516 * sysdeps/i386/fpu/libm-test-ulps: Update.
33517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33519 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33521 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33522 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33524 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33526 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33528 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33529 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33530 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33531 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33532 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33533 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33534 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33535 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33536 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33537 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33538 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33539 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33540 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33541 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33542 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33543 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33544 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33545 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33546 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33547 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33548 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33549 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33550 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33551 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33552 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33553 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33554 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33555 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33556 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33557 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33558 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33560 2012-05-18 Andreas Jaeger <aj@suse.de>
33562 * csu/.gitignore: Delete.
33564 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33566 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33567 (timex): Use __syscall_slong_t.
33569 2012-05-18 Andreas Jaeger <aj@suse.de>
33570 Carlos O'Donell <carlos_odonell@mentor.com>
33572 * manual/install.texi (Configuring and compiling): Update
33573 description about files modified in the source directory.
33574 * INSTALL: Regenerated.
33576 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33578 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33579 value. Use "or" to set return value to -1.
33580 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33581 negate return value.
33583 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33585 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33586 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33587 failure if the compiler has Graphite support disabled.
33588 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33590 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33591 (CFLAGS-memmove.c): Likewise.
33592 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33595 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33597 * sysdeps/x86_64/x32/_itoa.h: New file.
33599 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33600 getdents system call only if kernel and user dirents have the
33601 same d_ino and d_off.
33603 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33604 LLONG_MAX != LONG_MAX.
33605 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33606 (_fitoa_word): Likewise.
33608 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33610 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33611 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33612 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33614 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33615 include <bits/wordsize.h>. Check __x86_64__ instead of
33617 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33618 if __x86_64__ is defined. Use anonymous union on fpstate.
33620 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33623 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33625 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33626 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33627 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33628 Refer to _rtld_local_ro instead of _rtld_global_ro.
33629 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33631 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33633 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33635 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33636 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33637 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33639 * sysdeps/powerpc/powerpc32/dl-machine.c
33640 (__elf_machine_runtime_setup) [PROF]: Don't reference
33643 2012-05-18 Andreas Jaeger <aj@suse.de>
33645 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33646 function only available for GCCs before 3.4 since GCC 3.4
33647 introduced a builtin.
33649 (llrintf): Likewise.
33650 (llrint): Likewise.
33657 (nearbyint): Likewise.
33658 (nearbyintf): Likewise.
33662 (floorf): Likewise.
33664 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33666 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33667 on both fields and cast pointer to __syscall_ulong_t.
33669 * bits/types.h (__fsword_t): New type.
33670 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33671 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33672 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33673 (__FSWORD_T_TYPE): Likewise.
33674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33675 (__FSWORD_T_TYPE): Likewise.
33676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33677 (__FSWORD_T_TYPE): Likewise.
33678 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33679 (__FSWORD_T_TYPE): Likewise.
33680 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33681 __SWORD_TYPE with __fsword_t.
33682 (statfs64): Likewise.
33684 2012-05-17 David S. Miller <davem@davemloft.net>
33686 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33688 2012-05-17 Andreas Jaeger <aj@suse.de>
33690 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33693 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33695 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33697 2012-05-17 Andreas Jaeger <aj@suse.de>
33699 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33702 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33704 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33706 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33708 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33709 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33711 2012-05-17 Andreas Jaeger <aj@suse.de>
33712 Carlos O'Donell <carlos_odonell@mentor.com>
33715 * sysdeps/x86_64/multiarch/init-arch.h
33716 (bit_YMM_Usable): Rename to...
33717 (bit_AVX_Usable): ... this.
33718 (bit_FMA4_Usable): New macro.
33719 (bit_XMM_state): New macro.
33720 (bit_YMM_state): New macro.
33721 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33722 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33723 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33724 (CPUID_OSXSAVE): New macro.
33725 (CPUID_AVX): New macro.
33726 (CPUID_FMA4): New macro.
33727 (index_YMM_Usable): Rename to...
33728 (index_AVX_Usable): ... this.
33729 (HAS_AVX): Use HAS_ARCH_FEATURE.
33730 (HAS_FMA4): Likewise.
33731 (HAS_YMM_USABLE): Remove.
33732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33733 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33735 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33736 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33737 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33738 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33739 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33741 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33743 * math/libm-test.c: Support platforms without multiple rounding modes.
33744 * math/bug-nextafter.c: Support platforms without FP exceptions.
33745 * math/bug-nexttoward.c: Likewise.
33746 * math/test-fenv.c: Likewise.
33747 * math/test-misc.c: Likewise.
33748 * stdlib/bug-getcontext.c: Likewise.
33750 2012-05-17 Andreas Jaeger <aj@suse.de>
33752 * manual/examples/search.c (critter_cmp): Change signature to
33754 * manual/string.texi (Collation Functions): Likewise.
33756 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33758 * bits/types.h: Fold copyright years.
33759 * bits/typesizes.h: Likewise.
33760 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33762 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33763 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33764 * time/time.h: Likewise.
33766 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33769 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33770 in instead of returning them. Return void.
33771 (__libc_mallinfo): Accumulate over all arenas.
33772 (__malloc_stats): Adjust for change in int_mallinfo interface.
33774 2012-05-16 Roland McGrath <roland@hack.frob.com>
33777 * configure.in (NM): Add AC_CHECK_TOOL for it.
33778 (libc_extra_cflags): New substituted variable.
33779 Check for -fstack-protector being used implicitly.
33780 * configure: Regenerated.
33781 * config.make.in (config-extra-cflags): New variable,
33782 gets @libc_extra_cflags@.
33783 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33786 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33787 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33788 * configure: Regenerated.
33789 * config.make.in (CPPUNDEFS): New substituted variable.
33790 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33791 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33792 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33794 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33796 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33797 (mq_attr): Use __syscall_slong_t.
33799 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33801 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33802 Check __x86_64__ instead of __WORDSIZE.
33803 (_STAT_VER_LINUX): Likewise.
33804 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33805 __syscall_ulong_t and __syscall_slong_t.
33806 (stat64): Likewise.
33808 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33810 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33812 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33814 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33816 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33818 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33821 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33822 include <bits/wordsize.h>. Check __x86_64__ instead of
33824 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33826 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33828 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33829 include <bits/wordsize.h>. Check __x86_64__ instead of
33831 (user_regs_struct): Use "__extension__ unsigned long long"
33832 instead of "unsigned long" if __x86_64__ is defined.
33833 (user): Likewise. Pad after pointer field if __ILP32__ is
33836 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33838 * configure.in (makeinfo): Require version 4.5 or later. Allow
33840 * configure: Regenerated.
33841 * manual/install.texi (texinfo): Increase version requirement to
33843 * INSTALL: Regenerated.
33845 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33847 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33849 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33851 * sysdeps/x86_64/x32/ffs.c: New file.
33853 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33855 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33856 defined. Use __syscall_ulong_t.
33857 (shminfo): Use __syscall_ulong_t.
33858 (shm_info): Likewise.
33860 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33863 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33865 (msgqnum_t): Use __syscall_ulong_t.
33866 (msglen_t): Likewise.
33867 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33870 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33871 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33873 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33875 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33876 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33878 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33881 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33882 include <bits/wordsize.h>. Check __x86_64__ instead of
33885 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33886 "unsigned long long int" if __x86_64__ is defined.
33887 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33889 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33890 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33891 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33893 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33895 (GET_PC): Cast to uintptr_t first.
33896 (GET_FRAME): Likewise.
33897 (GET_STACK): Likewise.
33899 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33900 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33901 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33902 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33903 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33904 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33905 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33906 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33907 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33908 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33909 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33910 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33911 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33912 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33913 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33914 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33915 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33916 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33917 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33918 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33919 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33920 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33921 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33922 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33923 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33924 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33925 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33926 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33927 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33929 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33931 * Makerules (+depfiles): Also collect depfiles from .oS in
33933 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33934 .oS, $(libnldbl-routines)).
33936 * Makerules (native-compile-mkdep-flags): Define.
33937 * sunrpc/Makefile (extra-objs): Add $(addprefix
33938 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33939 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33940 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33941 calling $(make-target-directory).
33943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33945 * bits/types.h (__snseconds_t): Removed.
33946 * time/time.h (struct timespec): Replace __snseconds_t with
33948 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33949 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33951 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33952 (__SNSECONDS_T_TYPE): Likewise.
33953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33954 (__SNSECONDS_T_TYPE): Likewise.
33955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33956 (__SNSECONDS_T_TYPE): Likewise.
33958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33960 * sysdeps/mach/hurd/bits/typesizes.h
33961 (__SYSCALL_SLONG_TYPE): New macro.
33962 (__SYSCALL_ULONG_TYPE): Likewise.
33964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33966 * bits/types.h (__syscall_slong_t): New type.
33967 (__syscall_ulong_t): Likewise.
33969 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33970 (__SYSCALL_ULONG_TYPE): Likewise.
33971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33972 (__SYSCALL_SLONG_TYPE): Likewise.
33973 (__SYSCALL_ULONG_TYPE): Likewise.
33974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33975 (__SYSCALL_SLONG_TYPE): Likewise.
33976 (__SYSCALL_ULONG_TYPE): Likewise.
33977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33978 (__SYSCALL_SLONG_TYPE): Likewise.
33979 (__SYSCALL_ULONG_TYPE): Likewise.
33981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33983 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33984 Add sigaltstack-offsets.sym.
33985 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33986 <sigaltstack-offsets.h>.
33987 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33988 longjmp_msg pointer.
33989 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33990 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33992 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33994 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33996 * elf/stackguard-macros.h: Remove file.
33997 * sysdeps/generic/stackguard-macros.h: New file.
33998 * sysdeps/i386/stackguard-macros.h: Likewise.
33999 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34000 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34001 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34002 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34003 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34004 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34005 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34006 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34007 <elf/stackguard-macros.h>.
34010 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34011 __aligned__ in attribute.
34012 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34013 (gregset_t): Likewise.
34015 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34017 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34018 * sysdeps/x86_64/64/Implies-after: Here. New file.
34019 * sysdeps/x86_64/x32/Implies-after: New file.
34021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34023 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34024 and access return value for _dl_profile_fixup. Use R10_LP to
34027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34029 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34033 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34034 * sysdeps/x86_64/x32/sysdep.h: New file.
34036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34038 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34039 * sysdeps/x86_64/setjmp.S: Likewise.
34041 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34043 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34044 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34045 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34046 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34047 remove unused global constant.
34049 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34051 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34052 include of <not-cancel.h>.
34054 2012-05-15 Roland McGrath <roland@hack.frob.com>
34056 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34058 2012-05-15 Jeff Law <law@redhat.com>
34059 Andreas Jaeger <aj@suse.de>
34062 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34064 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34065 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34066 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34067 code changing __hst_map_handle.map.
34069 2012-05-15 Roland McGrath <roland@hack.frob.com>
34071 * configure.in (sysnames): Look for Implies-before and Implies-after
34073 * configure: Regenerated.
34075 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34077 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34078 8-byte data alignment with LP_SIZE alignment.
34080 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34082 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34087 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34091 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34092 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34093 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34095 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34099 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34100 (stackinfo_sub_sp): Likewise.
34102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34104 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34109 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34114 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34119 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34123 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34124 into R11_LP and load __x86_64_shared_cache_size_half into
34127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34129 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34132 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34136 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34138 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34140 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34141 powerpc32/power7/fpu/s_logb.c via #include.
34142 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34143 powerpc32/power7/fpu/s_logbf.c via #include.
34144 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34145 powerpc32/power7/fpu/s_logbl.c via #include.
34147 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34149 * README.libm: Remove file.
34151 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34153 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34154 count for x32. Use R*_LP and omit operand-size suffix.
34156 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34158 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34159 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34160 * sysdeps/x86_64/x32/shlib-versions: New file.
34162 2012-05-14 Roland McGrath <roland@hack.frob.com>
34164 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34165 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34166 Use _dl_fatal_printf instead.
34168 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34170 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34171 set if not set by the user. Do not allow for being unset.
34172 * sysdeps/unix/sysv/linux/configure: Regenerated.
34174 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34176 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34177 the `q' suffix from lea and replace .quad with ASM_ADDR.
34179 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34182 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34184 (PTR_DEMANGLE): Likewise.
34186 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34188 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34190 (ASM_ADDR): Likewise.
34191 (RAX_LP): Likewise.
34192 (RBP_LP): Likewise.
34193 (RBX_LP): Likewise.
34194 (RCX_LP): Likewise.
34195 (RDI_LP): Likewise.
34196 (RSI_LP): Likewise.
34197 (RSP_LP): Likewise.
34200 (R10_LP): Likewise.
34201 (R10_LP): Likewise.
34202 (R11_LP): Likewise.
34203 (R12_LP): Likewise.
34204 (R13_LP): Likewise.
34205 (R14_LP): Likewise.
34206 (R15_LP): Likewise.
34208 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34210 * sysdeps/x86_64/x32/dl-machine.h: New file.
34212 2012-05-14 Andreas Jaeger <aj@suse.de>
34214 * manual/Makefile (subdir): Remove export of subdir.
34215 (all): Remove target.
34216 (.PHONY): Remove all from list.
34217 (mkinstalldirs): Remove.
34218 (.PHONY): Remove installdirs from list.
34219 ($(inst_infodir)/libc.info): Use make-target-directory.
34220 (installdirs): Remove.
34221 (subdir_%): Remove.
34222 (glibc-targets): Remove.
34225 ($(objpfx)stubs ../po/manual.pot): Remove.
34226 ($(objpfx)stamp%): Remove.
34227 (make-target-directory): Remove.
34228 (subdir_install): Remove.
34229 (routines): Remove.
34236 * manual/.gitignore: Remove, it's not needed anymore.
34237 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34239 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34241 (texis): Renamed to $(objpfx)texis.
34242 (texis-path): New, contains path to generated files.
34243 (chapters.%): Use texis-path for complete path, add extra argument
34245 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34246 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34247 (summary,texi, stamp-summary): Use complete path of
34248 files. Generate files in build dir.
34249 (dir-add.texi): Build in build dir.
34250 (libm-err.texi,stamp-libm-err): Likewise.
34251 (version.texi, stamp-version): Likewise.
34252 (.%c.texi): Likewise.
34253 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34254 (mostlyclean): Remove target.
34255 (realclean): Remove target.
34256 (generated): Add new variable with contents from mostlyclean and
34257 realclean, remove entries duplicated in common-mostlyclean, add
34258 stamp-libm-err and stamp-version.
34259 (generated-dirs): Add libc directory.
34260 ($(inst_infodir)/libc.info): Install files from build dir.
34262 * manual/install.texi (Configuring and compiling): Adjust since
34263 the info files are not part of the tar ball anymore.
34265 2012-05-14 Andreas Jaeger <aj@suse.de>
34267 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34270 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34274 to 2.2.0 where earlier.
34275 * sysdeps/unix/sysv/linux/configure: Regenerated.
34276 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34277 Remove conditional code.
34278 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34279 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34280 Remove conditional code.
34281 [!__NR_lchown]: Likewise.
34282 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34283 [__NR_lchown]: Likewise.
34284 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34285 comment referencing __ASSUME_LCHOWN_SYSCALL.
34286 * sysdeps/unix/sysv/linux/i386/sigaction.c
34287 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34288 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34289 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34290 Remove conditional code.
34291 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34292 (__protocol_available): Remove #if 0 code.
34293 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34295 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34296 * sysdeps/unix/sysv/linux/kernel-features.h
34297 (__ASSUME_GETCWD_SYSCALL): Don't define.
34298 (__ASSUME_REALTIME_SIGNALS): Likewise.
34299 (__ASSUME_PREAD_SYSCALL): Likewise.
34300 (__ASSUME_PWRITE_SYSCALL): Likewise.
34301 (__ASSUME_POLL_SYSCALL): Likewise.
34302 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34303 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34305 (__ASSUME_SIOCGIFNAME): Don't define.
34306 (__ASSUME_MSG_NOSIGNAL): Likewise.
34307 (__ASSUME_SENDFILE): Define unconditionally.
34308 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34309 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34311 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34312 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34313 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34314 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34315 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34316 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34317 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34319 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34322 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34325 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34328 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34331 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34334 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34337 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34340 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34341 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34342 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34343 Remove conditional code.
34344 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34345 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34346 Remove conditional code.
34347 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34348 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34349 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34350 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34351 Remove conditional code.
34352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34353 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34354 Remove conditional code.
34355 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34356 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34357 Remove conditional code.
34358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34359 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34360 Remove conditional code.
34361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34362 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34363 Remove conditional code.
34364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34365 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34366 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34367 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34368 * sysdeps/unix/sysv/linux/sigaction.c
34369 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34370 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34371 * sysdeps/unix/sysv/linux/sigpending.c
34372 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34373 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34374 * sysdeps/unix/sysv/linux/sigprocmask.c
34375 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34376 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34377 * sysdeps/unix/sysv/linux/sigsuspend.c
34378 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34379 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34380 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34381 (__libc_missing_rt_sigs): Remove.
34382 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34383 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34384 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34385 Remove conditional code.
34386 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34387 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34389 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34390 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34391 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34392 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34394 2012-05-14 Andreas Jaeger <aj@suse.de>
34396 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34397 it's not used in glibc.
34398 (__coshm1): Likewise.
34399 (__acosh1p): Likewise.
34402 * manual/string.texi (Copying and Concatenation): Add missing
34403 variable in concat example.
34404 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34406 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34409 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34410 __builtin_clzl with __builtin_clzll.
34412 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34415 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34418 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34420 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34421 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34422 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34423 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34425 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34427 * NEWS: Update ia64 info.
34429 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34431 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34434 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34436 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34437 * sysdeps/unix/syscalls.list (dup3): Likewise.
34438 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34439 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34441 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34443 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34444 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34446 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34448 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34450 (TLS_IE): Use mov/add instead of movq/addq to load thread
34452 (TLS_GD_PREFIX): New.
34455 2012-05-11 David S. Miller <davem@davemloft.net>
34457 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34458 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34459 (_FPU_SETCW): Likewise.
34461 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34463 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34464 is 32-byte aligned.
34466 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34469 * iconvdata/gb18030.c: Update tables.
34470 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34471 characters specially.
34472 (BODY for TO_LOOP): Add encoding of missing ranges.
34474 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34477 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34478 * sysdeps/mach/hurd/dup3.c: Likewise.
34479 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34480 * sysdeps/powerpc/memmove.c:: Likewise.
34482 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34484 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34485 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34487 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34489 * elf/elf.h (R_X86_64_RELATIVE64): New.
34490 (R_X86_64_NUM): Updated.
34491 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34492 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34493 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34494 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34495 tst-quad1pie tst-quad2pie
34496 (modules-names): Add tst-quadmod1 tst-quadmod2.
34497 ($(objpfx)tst-quad1): New dependency.
34498 ($(objpfx)tst-quad2): Likewise.
34499 ($(objpfx)tst-quad1pie): Likewise.
34500 ($(objpfx)tst-quad2pie): Likewise.
34501 * sysdeps/x86_64/tst-quad1.c: New file.
34502 * sysdeps/x86_64/tst-quad1pie.c: New file.
34503 * sysdeps/x86_64/tst-quad2.c: Likewise.
34504 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34505 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34506 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34507 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34508 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34510 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34512 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34513 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34514 * streams/stropts.h (t_scalar_t): Define type.
34516 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34517 (_PATH_PRESERVE): Set to "/var/lib".
34518 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34520 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34523 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34524 if __dir_mkfile succeeded.
34526 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34527 checking for _hurd_dtablesize. Unlock it right after having
34528 finished _hurd_dtable allocation.
34530 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34532 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34533 * sysdeps/mach/hurd/configure: Regenerated.
34534 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34535 special-casing to...
34536 * sysdeps/gnu/configure.in: ... this new file.
34537 * sysdeps/unix/sysv/linux/configure: Regenerated.
34538 * sysdeps/gnu/configure: New generated file.
34540 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34541 for Linux: use nsec instead of usec, as well as:
34542 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34543 members of type struct timespec.
34544 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34546 (struct stat64): Likewise.
34547 (_STATBUF_ST_NSEC): New macro.
34548 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34550 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34551 __strtoul_internal rather than strtoul.
34553 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34555 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34558 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34560 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34561 which preserves existing values.
34562 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34564 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34566 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34567 TIMEOUT values. Return EINVAL for NFDS values either negative or
34568 greater than FD_SETSIZE.
34570 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34572 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34573 allocated, call __vm_protect to finish enabling the existing space, and
34574 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34575 allocate the remainder.
34577 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34579 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34580 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34582 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34584 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34585 sysdeps/mach/hurd/readlink.c.
34587 * posix/tst-sysconf.c (posix_options): Only use
34588 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34589 _POSIX_SYNCHRONIZED_IO when they are defined
34590 * sysdeps/mach/hurd/bits/posix_opt.h:
34591 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34592 (_XOPEN_REALTIME): Undefine macro.
34593 (_XOPEN_REALTIME_THREADS): Undefine macro.
34594 (_XOPEN_SHM): Undefine macro.
34595 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34597 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34599 (_POSIX_ASYNC_IO): Undefine macro.
34600 (_POSIX_PRIORITIZED_IO): Undefine macro.
34601 (_POSIX_SPIN_LOCKS): Define macro to -1.
34603 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34604 SA_NODEFER, SA_RESETHAND.
34605 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34606 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34609 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34611 * elf/Makefile (pldd-modules): Define unconditionally.
34613 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34615 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34617 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34619 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34620 Return ENOENT when name is empty.
34621 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34623 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34625 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34627 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34629 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34631 Fix mlock in all cases except non-readable pages.
34632 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34633 instead of VM_PROT_ALL as parameter to __vm_wire function.
34635 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34636 (__mkdir): When path is `/', just fail with EEXIST.
34637 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34639 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34641 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34642 <sys/uio.h> (for writev).
34643 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34644 and <sys/param.h> (for MIN).
34646 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34648 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34649 REQUESTED_TIME. Properly set the remaining time and return EINTR
34652 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34654 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34655 Depend on against $(link-rpcuserlibs).
34657 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34659 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34660 (__libc_stack_end): Do not use attribute_relro.
34661 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34662 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34663 to libthread-provided value.
34664 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34667 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34670 * bits/libc-lock.h (__libc_once_get): New macro.
34671 * sysdeps/mach/bits/libc-lock.h: Likewise.
34672 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34673 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34674 instead of using implementation details.
34676 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34677 * libio/freopen.c: Likewise.
34678 * libio/freopen64.c: Likewise.
34679 * misc/syslog.c: Likewise.
34680 * nscd/connections.c: Likewise.
34681 * nscd/netgroupcache.c: Likewise.
34682 * sysdeps/posix/getcwd.c: Likewise.
34684 2012-05-10 Roland McGrath <roland@hack.frob.com>
34686 * math/w_ilogbf.c: Add #include <limits.h>.
34688 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34690 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34691 path instead of returning without unlocking.
34693 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34694 immediate-write ioctls.
34695 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34697 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34699 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34700 __builtin_frame_address instead of making assumptions about the
34701 location of the return address relative to DATA. Force early load of
34702 the return address.
34703 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34704 __builtin_frame_address.
34707 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34708 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34709 implement dup3 and do some further code clean-ups.
34710 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34711 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34713 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34715 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34717 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34718 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34719 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34720 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34721 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34724 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34725 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34726 when handler == SIG_ERR, not when handler != SIG_ERR.
34728 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34730 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34731 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34734 accept4 for GNU Hurd.
34735 * include/sys/socket.h (__libc_accept4): New prototype.
34736 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34737 to implement __libc_accept4.
34738 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34740 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34742 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34743 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34744 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34745 signal-defines.sym.
34747 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34749 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34751 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34753 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34754 assertion on O_CLOEXEC flag.
34755 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34756 * hurd/intern-fd.c: Likewise.
34757 * hurd/port2fd.c: Likewise.
34759 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34762 * bits/in.h (IPV6_PKTINFO): Define new macro.
34763 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34765 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34770 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34771 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34772 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34773 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34774 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34775 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34776 * math/libm-test.inc (logb_test) : Additional logb tests.
34778 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34779 Andreas Jaeger <aj@suse.de>
34781 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34782 * configure: Regenerated.
34783 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34784 * config.make.in (link-obsolete-rpc): New substituted variable.
34785 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34786 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34787 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34788 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34789 so that libc.a contains the symbols.
34790 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34791 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34792 * sunrpc/auth_none.c: Likewise.
34793 * sunrpc/auth_unix.c: Likewise.
34794 * sunrpc/authdes_prot.c: Likewise.
34795 * sunrpc/authuxprot.c: Likewise.
34796 * sunrpc/clnt_gen.c: Likewise.
34797 * sunrpc/clnt_perr.c: Likewise.
34798 * sunrpc/clnt_raw.c: Likewise.
34799 * sunrpc/clnt_simp.c: Likewise.
34800 * sunrpc/clnt_tcp.c: Likewise.
34801 * sunrpc/clnt_udp.c: Likewise.
34802 * sunrpc/clnt_unix.c: Likewise.
34803 * sunrpc/des_crypt.c: Likewise.
34804 * sunrpc/des_soft.c: Likewise.
34805 * sunrpc/get_myaddr.c: Likewise.
34806 * sunrpc/key_call.c: Likewise.
34807 * sunrpc/key_prot.c: Likewise.
34808 * sunrpc/netname.c: Likewise.
34809 * sunrpc/pm_getmaps.c: Likewise.
34810 * sunrpc/pm_getport.c: Likewise.
34811 * sunrpc/pmap_clnt.c: Likewise.
34812 * sunrpc/pmap_prot.c: Likewise.
34813 * sunrpc/pmap_prot2.c: Likewise.
34814 * sunrpc/pmap_rmt.c: Likewise.
34815 * sunrpc/publickey.c: Likewise.
34816 * sunrpc/rpc_cmsg.c: Likewise.
34817 * sunrpc/rpc_common.c: Likewise.
34818 * sunrpc/rpc_dtable.c: Likewise.
34819 * sunrpc/rpc_prot.c: Likewise.
34820 * sunrpc/rpc_thread.c: Likewise.
34821 * sunrpc/rtime.c: Likewise.
34822 * sunrpc/svc.c: Likewise.
34823 * sunrpc/svc_auth.c: Likewise.
34824 * sunrpc/svc_raw.c: Likewise.
34825 * sunrpc/svc_run.c: Likewise.
34826 * sunrpc/svc_tcp.c: Likewise.
34827 * sunrpc/svc_udp.c: Likewise.
34828 * sunrpc/svc_unix.c: Likewise.
34829 * sunrpc/svcauth_des.c: Likewise.
34830 * sunrpc/xcrypt.c: Likewise.
34831 * sunrpc/xdr.c: Likewise.
34832 * sunrpc/xdr_array.c: Likewise.
34833 * sunrpc/xdr_float.c: Likewise.
34834 * sunrpc/xdr_intXX_t.c: Likewise.
34835 * sunrpc/xdr_mem.c: Likewise.
34836 * sunrpc/xdr_rec.c: Likewise.
34837 * sunrpc/xdr_ref.c: Likewise.
34838 * sunrpc/xdr_sizeof.c: Likewise.
34839 * sunrpc/xdr_stdio.c: Likewise.
34841 2012-05-10 Roland McGrath <roland@hack.frob.com>
34843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34844 change. Update copyright years.
34846 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34848 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34850 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34851 Joseph Myers <joseph@codesourcery.com>
34852 Paul Pluzhnikov <ppluzhnikov@google.com>
34855 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34857 [cross-compiling] (extra-libs): Likewise.
34858 [cross-compiling] (extra-libs-others): Likewise.
34859 [cross-compiling] (librpcsvc-routines): Likewise.
34860 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34861 [cross-compiling] (omit-deps): Likewise.
34862 (sunrpc-CPPFLAGS): New variable.
34863 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34864 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34865 (cross-rpcgen-objs): New variable.
34866 (extra-objs): Append $(cross-rpcgen-objs).
34867 ($(cross-rpcgen-objs)): New rule.
34868 ($(objpfx)cross-rpcgen): Likewise.
34869 (rpcgen-cmd): Define to use $(built-program-file). Expand
34871 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34872 ($(objpfx)x%.stmp): Likewise.
34873 * sunrpc/proto.h [IS_IN_build] (_): Define.
34874 [IS_IN_build] (_libc_intl_domainname): Likewise.
34876 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34879 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34880 and R_X86_64_TPOFF64.
34882 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34884 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34885 sysdeps/unix/sysv/syscalls.list.
34888 * sysdeps/unix/sysv/syscalls.list: Remove file.
34890 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34893 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34894 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34895 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34896 (__LC_IDENTIFICATION): Make these macros useful in #if
34897 expressions, as required by C99.
34899 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34901 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34902 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34905 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34907 * stdlib/longlong.h: Updated from GCC.
34909 2012-05-09 Andreas Jaeger <aj@suse.de>
34911 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34912 default is first entry.
34913 (run_mode): Set type.
34914 (main): Remove informal message about syslog.
34915 (options): Fix typo.
34918 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34921 (llrintf): Likewise.
34922 (llrint): Likewise.
34925 (nearbyint): Likewise.
34926 (nearbyintf): Likewise.
34928 2012-05-09 Andreas Jaeger <aj@suse.de>
34929 Pedro Alves <palves@redhat.com>
34931 * nscd/nscd.c (run_mode): Use enum.
34932 (main): Cleanup coding style issue.
34934 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34935 Andreas Jaeger <aj@suse.de>
34937 * nscd/nscd.c (go_background): Replaced with...
34938 (run_mode): ... this.
34939 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34940 (options): Add -F --foreground.
34941 (main): Implement it.
34942 (parse_opt): Parse it.
34944 2012-05-09 Andreas Jaeger <aj@suse.de>
34947 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34948 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34949 -Wconversion warning.
34950 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34953 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34955 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34957 (LC_ALL): Use macro-int-constant.
34958 (LC_COLLATE): Likewise.
34959 (LC_CTYPE): Likewise.
34960 (LC_MESSAGES): Likewise.
34961 (LC_MONETARY): Likewise.
34962 (LC_NUMERIC): Likewise.
34963 (LC_TIME): Likewise.
34964 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34965 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34966 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34967 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34969 [C99-based standards] (float_t): Expect type.
34970 [C99-based standards] (double_t): Expect type.
34971 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34973 [C99-based standards] (HUGE_VALL): Likewise.
34974 [C99-based standards] (INFINITY): Likewise.
34975 [C99-based standards] (NAN): Likewise.
34976 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34977 [C99-based standards] (FP_NAN): Likewise.
34978 [C99-based standards] (FP_NORMAL): Likewise.
34979 [C99-based standards] (FP_SUBNORMAL): Likewise.
34980 [C99-based standards] (FP_ZERO): Likewise.
34981 [C99-based standards] (FP_FAST_FMA): Use
34982 optional-macro-int-constant. Specify type. Require == 1.
34983 [C99-based standards] (FP_FAST_FMAF): Likewise.
34984 [C99-based standards] (FP_FAST_FMAL): Likewise.
34985 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34986 [C99-based standards] (FP_ILOGBNAN): Likewise.
34987 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34989 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34990 [C99-based standards] (math_errhandling): Specify type.
34991 [ISO99 || ISO11] (signgam): Do not allow.
34992 [non-C99-based standards] (copysignf): Do not allow.
34993 [non-C99-based standards] (exp2f): Likewise.
34994 [non-C99-based standards] (log2f): Likewise.
34995 [non-C99-based standards] (modff): Allow.
34996 [non-C99-based standards] (erff): Do not allow.
34997 [non-C99-based standards] (erfcf): Likewise.
34998 [non-C99-based standards] (gammaf): Likewise.
34999 [non-C99-based standards] (hypotf): Likewise.
35000 [non-C99-based standards] (j0f): Likewise.
35001 [non-C99-based standards] (j1f): Likewise.
35002 [non-C99-based standards] (jnf): Likewise.
35003 [non-C99-based standards] (lgammaf): Likewise.
35004 [non-C99-based standards] (tgammaf): Likewise.
35005 [non-C99-based standards] (y0f): Likewise.
35006 [non-C99-based standards] (y1f): Likewise.
35007 [non-C99-based standards] (ynf): Likewise.
35008 [non-C99-based standards] (isnanf): Likewise.
35009 [non-C99-based standards] (acoshf): Likewise.
35010 [non-C99-based standards] (asinhf): Likewise.
35011 [non-C99-based standards] (atanhf): Likewise.
35012 [non-C99-based standards] (cbrtf): Likewise.
35013 [non-C99-based standards] (expm1f): Likewise.
35014 [non-C99-based standards] (ilogbf): Likewise.
35015 [non-C99-based standards] (log1pf): Likewise.
35016 [non-C99-based standards] (logbf): Likewise.
35017 [non-C99-based standards] (nextafterf): Likewise.
35018 [non-C99-based standards] (remainderf): Likewise.
35019 [non-C99-based standards] (rintf): Likewise.
35020 [non-C99-based standards] (scalbf): Likewise.
35021 [non-C99-based standards] (copysignl): Likewise.
35022 [non-C99-based standards] (exp2l): Likewise.
35023 [non-C99-based standards] (log2l): Likewise.
35024 [non-C99-based standards] (modfl): Allow.
35025 [non-C99-based standards] (erfl): Do not allow.
35026 [non-C99-based standards] (erfcl): Likewise.
35027 [non-C99-based standards] (gammal): Likewise.
35028 [non-C99-based standards] (hypotl): Likewise.
35029 [non-C99-based standards] (j0l): Likewise.
35030 [non-C99-based standards] (j1l): Likewise.
35031 [non-C99-based standards] (jnl): Likewise.
35032 [non-C99-based standards] (lgammal): Likewise.
35033 [non-C99-based standards] (tgammal): Likewise.
35034 [non-C99-based standards] (y0l): Likewise.
35035 [non-C99-based standards] (y1l): Likewise.
35036 [non-C99-based standards] (ynl): Likewise.
35037 [non-C99-based standards] (isnanl): Likewise.
35038 [non-C99-based standards] (acoshl): Likewise.
35039 [non-C99-based standards] (asinhl): Likewise.
35040 [non-C99-based standards] (atanhl): Likewise.
35041 [non-C99-based standards] (cbrtl): Likewise.
35042 [non-C99-based standards] (expm1l): Likewise.
35043 [non-C99-based standards] (ilogbl): Likewise.
35044 [non-C99-based standards] (log1pl): Likewise.
35045 [non-C99-based standards] (logbl): Likewise.
35046 [non-C99-based standards] (nextafterl): Likewise.
35047 [non-C99-based standards] (remainderl): Likewise.
35048 [non-C99-based standards] (rintl): Likewise.
35049 [non-C99-based standards] (scalbl): Likewise.
35050 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35051 [non-C99-based standards] (FP_*): Do not allow.
35052 [C99-based standards] (FP_*): Change to
35053 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35054 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35056 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35057 (SIG_ERR): Likewise.
35058 [X/Open-based standards] (SIG_HOLD): Likewise.
35059 (SIG_IGN): Likewise.
35060 (SIGABRT): Use macro-int-constant. Specify type. Require
35062 (SIGFPE): Likewise.
35063 (SIGILL): Likewise.
35064 (SIGINT): Likewise.
35065 (SIGSEGV): Likewise.
35066 (SIGTER): Likewise.
35067 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35068 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35069 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35070 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35071 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35072 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35073 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35074 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35075 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35076 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35077 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35078 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35079 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35080 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35081 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35082 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35083 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35084 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35085 [X/Open-based standards] (SIGTRAP): Likewise.
35086 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35087 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35088 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35089 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35090 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35093 2012-05-08 Ian Wienand <ianw@vmware.com>
35096 * time/tzset.c (__tzset_parse_tz): Update default rules for
35097 daylight time changes in the Energy Policy Act of 2005.
35099 2012-05-09 Andreas Jaeger <aj@suse.de>
35102 * elf/ldconfig.c (parse_conf): Change string to make clear that
35103 ldconfig only issued a warning if ld.so.conf does not exist.
35105 2012-05-08 David S. Miller <davem@davemloft.net>
35107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35108 movxtod instead of popping the value on the stack.
35110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35112 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35114 * config.h.in: Add HAVE_ARM_PCS_VFP.
35116 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35119 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35120 checking but the checks are disabled for any reason.
35122 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35124 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35125 and ELF64_R_TYPE with ELFW(R_TYPE).
35127 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35129 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35130 (ulimit): Likewise.
35132 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35133 (settimeofday): Likewise.
35135 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35137 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35138 a struct th_u2 inside the union, and move tu_block/tu_code into
35139 a new th_u3 union of tu_block/tu_code inside of that. Move
35140 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35141 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35142 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35143 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35144 (th_stuff): Change to th_u1.tu_stuff.
35146 (th_msg): Change to th_u1.th_u2.tu_data.
35148 2012-05-07 David S. Miller <davem@davemloft.net>
35150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35153 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35154 (SETUP_PIC_REG): Use it.
35155 (SETUP_PIC_REG_LEAF): Use it.
35157 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35161 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35163 (EXPL_FINITE): Likewise.
35164 (FLDLOG): Likewise.
35165 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35166 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35168 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35170 (EXPL_FINITE): Likewise.
35171 (FLDLOG): Likewise.
35172 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35173 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35175 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35176 test of -max_value argument for long double.
35177 * sysdeps/i386/fpu/libm-test-ulps: Update.
35178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35180 2012-05-06 David S. Miller <davem@davemloft.net>
35182 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35183 quad soft-float symbols whose references which are compiler
35185 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35187 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35191 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35193 (EXPL_FINITE): Likewise.
35194 (FLDLOG): Likewise.
35197 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35198 Adjust comments for base varying.
35199 (__expl_finite): Change alias to EXPL_FINITE.
35200 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35202 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35203 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35205 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35206 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35208 (EXPL_FINITE): Likewise.
35209 (FLDLOG): Likewise.
35212 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35213 Adjust comments for base varying.
35214 (__expl_finite): Change alias to EXPL_FINITE.
35215 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35220 * math/libm-test.inc (check_float_internal): Correct ulp
35221 calculation for subnormal expected results.
35223 2012-05-06 Andreas Jaeger <aj@suse.de>
35225 * Makeconfig (+math-flags): New, set to -frounding-math.
35226 (+cflags): Add +math-flags so that all of glibc gets compiled with
35229 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35231 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35233 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35239 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35240 (__ieee754_expl): Allow for and saturate large arguments.
35241 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35242 (u_threshold): Likewise.
35243 (__exp): Call __ieee754_exp before checking for overflow and
35245 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35246 (u_threshold): Likewise.
35247 (__expf): Call __ieee754_expf before checking for overflow and
35249 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35250 (u_threshold): Likewise.
35251 (__expl): Call __ieee754_expl before checking for overflow and
35253 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35254 (__ieee754_expl): Allow for and saturate large arguments.
35255 * math/libm-test.inc (exp_test): Add another test. Do not allow
35256 missing overflow exception on overflow.
35257 (expm1_test): Do not allow missing overflow exception on overflow.
35259 * sysdeps/i386/fpu/e_expl.c: Move to ...
35260 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35261 rather than using inline asm.
35262 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35263 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35264 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35266 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35269 (signal): Likewise.
35273 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35275 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35276 sysdeps/unix/common/syscalls.list.
35277 (fchmod): Likewise.
35278 (fchown): Likewise.
35279 (ftruncate): Likewise.
35280 (getrusage): Likewise.
35281 (gettimeofday): Likewise.
35282 (setpgid): Likewise.
35283 (setregid): Likewise.
35284 (setreuid): Likewise.
35285 (sigaction): Likewise.
35286 (truncate): Likewise.
35287 (vhangup): Likewise.
35288 * sysdeps/unix/common/syscalls.list: Remove file.
35289 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35290 * sysdeps/unix/sysv/linux/Implies: Likewise.
35292 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35294 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35296 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35300 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35303 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35306 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35309 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35312 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35315 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35318 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35322 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35326 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35329 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35333 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35337 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35339 * sysdeps/unix/common/bits/dirent.h: Remove file.
35340 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35342 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35343 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35344 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35345 * sysdeps/unix/bsd/isatty.c: Likewise.
35346 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35347 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35348 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35350 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35353 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35354 long double comparison inaccuracies.
35355 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35358 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35360 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35361 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35363 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35366 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35367 nonzero digits before rounding a hex value.
35368 * stdlib/tst-strtod.c (tests): Add another test.
35370 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35372 * sysdeps/s390/fpu/libm-test-ulps: Update.
35374 2012-05-03 Andreas Jaeger <aj@suse.de>
35376 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35377 does not get optimized out.
35378 (malloc_opt_barrier): New.
35380 2012-05-03 Andreas Jaeger <aj@suse.de>
35381 Roland McGrath <roland@hack.frob.com>
35383 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35384 intermediate file deletion.
35385 (generated): Add .symlist files.
35387 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35390 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35391 Redirect under this condition.
35392 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35393 [__USE_GNU] (__dprintf_chk): Not under this condition.
35394 [__USE_GNU] (__vdprintf_chk): Likewise.
35395 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35396 under this condition.
35397 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35398 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35399 [__USE_XOPEN2K8] (vdprintf): Likewise.
35400 [__USE_GNU] (__dprintf_chk): Not under this condition.
35401 [__USE_GNU] (__vdprintf_chk): Likewise.
35402 [__USE_GNU] (dprintf): Likewise.
35403 [__USE_GNU] (vdprintf): Likewise.
35405 2012-05-03 Roland McGrath <roland@hack.frob.com>
35407 * elf/Makefile (common-generated): Set this instead of generated for
35408 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35409 $(all-built-dso)-derived lists.
35411 2012-05-03 Andreas Jaeger <aj@suse.de>
35413 * sysdeps/i386/fpu/libm-test-ulps: Update.
35416 * FAQ.in: Likewise.
35417 * scripts/gen-FAQ.pl: Likewise.
35418 * manual/install.texi (Installation): Point to online location of
35420 * Makefile (files-for-dist): Remove FAQ.
35423 2012-05-02 Allan McRae <allan@archlinux.org>
35425 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35426 (LDFLAGS-reldepmod5.so): Likewise.
35427 (LDFLAGS-reldep6mod1.so): Likewise.
35428 (LDFLAGS-reldep6mod4.so): Likewise.
35429 (LDFLAGS-reldep8mod3.so): Likewise.
35430 (LDFLAGS-unload4mod1.so): Likewise.
35431 (LDFLAGS-unload4mod2.so): Likewise.
35432 (LDFLAGS-tst-initorder): Likewise.
35433 (LDFLAGS-tst-initordera2.so): Likewise.
35434 (LDFLAGS-tst-initordera3.so): Likewise.
35435 (LDFLAGS-tst-initordera4.so): Likewise.
35436 (LDFLAGS-tst-initorderb2.so): Likewise.
35437 (LDFLAGS-noload): Likewise.
35438 (LDFLAGS-next): Likewise.
35439 (LDFLAGS-order2mod1.so): Likewise.
35440 (LDFLAGS-order2mod2.so): Likewise.
35441 (LDFLAGS-tst-initorder2): Likewise.
35442 (LDFLAGS-tst-initorder2a.so): Likewise.
35443 (LDFLAGS-tst-initorder2b.so): Likewise.
35444 (LDFLAGS-tst-initorder2c.so): Likewise.
35445 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35447 2012-05-02 David S. Miller <davem@davemloft.net>
35449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35451 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35454 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35456 2012-05-02 Andreas Jaeger <aj@suse.de>
35458 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35459 since we manipulate rounding mode.
35460 (CPPFLAGS-test-idouble.c): Likewise.
35461 (CPPFLAGS-test-ifloat.c): Likewise.
35462 (CFLAGS-test-ldouble.c): Likewise.
35463 (CFLAGS-test-double.c): Likewise.
35464 (CFLAGS-test-float.c): Likewise.
35465 (CFLAGS-test-misc.c): Likewise.
35466 (CFLAGS-test-test-fenv.c): Likewise.
35468 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35472 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35473 comparisons to determine direction to adjust input.
35475 2012-05-01 Roland McGrath <roland@hack.frob.com>
35477 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35478 output to the target.
35480 * scripts/localplt.awk: New file.
35481 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35482 (check-localplt-CFLAGS): Variable removed.
35483 ($(all-built-dso:=.jmprel)): New static pattern rule.
35484 (generated): Add those targets.
35485 (localplt-built-dso): New variable.
35486 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35488 * elf/check-localplt.c: File removed.
35490 * scripts/check-execstack.awk: New file.
35491 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35492 (check-execstack-CFLAGS): Variable removed.
35493 ($(objpfx)check-execstack.h): Target removed.
35494 ($(objpfx)execstack-default): New target.
35495 (generated): Add that instead of check-execstack.h.
35496 ($(all-built-dso:=.phdr)): New static pattern rule.
35497 (generated): Add those targets.
35498 * elf/check-execstack.c: File removed.
35500 * scripts/check-textrel.awk: New file.
35501 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35502 (check-textrel-CFLAGS): Variable removed.
35503 (all-built-dso): Use := to define.o
35504 ($(all-built-dso:=.dyn)): New static pattern rule.
35505 (generated): Add those targets.
35506 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35507 * config.make.in (READELF): New substituted variable.
35508 * elf/check-textrel.c: File removed.
35510 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35512 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35514 * conform/data/ctype.h-data [C99-based standards] (isblank):
35516 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35517 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35518 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35519 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35520 Specify type. Require positive value.
35521 (EILSEQ): Likewise.
35522 (ERANGE): Likewise.
35523 [ISO || POSIX] (EILSEQ): Do not expect.
35524 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35525 Specify type. Require positive value.
35526 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35527 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35528 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35529 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35530 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35531 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35532 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35533 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35534 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35535 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35536 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35537 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35538 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35539 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35540 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35541 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35542 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35543 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35544 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35545 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35546 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35547 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35548 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35549 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35550 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35551 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35552 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35553 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35554 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35555 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35556 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35557 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35558 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35559 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35560 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35561 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35562 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35563 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35564 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35565 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35566 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35567 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35568 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35569 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35570 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35571 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35572 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35573 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35574 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35575 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35576 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35577 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35578 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35579 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35580 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35581 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35582 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35583 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35584 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35585 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35586 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35587 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35588 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35589 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35590 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35591 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35592 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35593 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35594 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35595 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35596 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35597 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35598 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35599 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35600 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35601 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35602 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35604 (FLT_ROUNDS): Expect as macro, not constant.
35605 (FLT_MANT_DIG): Use macro-int-constant.
35606 (DBL_MANT_DIG): Likewise.
35607 (LDBL_MANT_DIG): Likewise.
35608 (FLT_DIG): Likewise.
35609 (DBL_DIG): Likewise.
35610 (LDBL_DIG): Likewise.
35611 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35612 (DBL_MIN_EXP): Likewise.
35613 (LDBL_MIN_EXP): Likewise.
35614 (FLT_MAX_EXP): Use macro-int-constant.
35615 (DBL_MAX_EXP): Likewise.
35616 (LDBL_MAX_EXP): Likewise.
35617 (FLT_MAX_10_EXP): Likewise.
35618 (DBL_MAX_10_EXP): Likewise.
35619 (LDBL_MAX_10_EXP): Likewise.
35620 (FLT_MAX): Use macro-constant.
35621 (DBL_MAX): Likewise.
35622 (LDBL_MAX): Likewise.
35623 (FLT_EPSILON): Use macro-constant. Give upper bound.
35624 (DBL_EPSILON): Likewise.
35625 (LDBL_EPSILON): Likewise.
35626 (FLT_MIN): Likewise.
35627 (DBL_MIN): Likewise.
35628 (LDBL_MIN): Likewise.
35629 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35630 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35631 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35632 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35633 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35634 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35635 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35636 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35637 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35638 [ISO11] (FLT_TRUE_MIN): Likewise.
35639 [ISO11] (LDBL_TRUE_MIN): Likewise.
35640 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35641 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35642 (SCHAR_MIN): Use macro-int-constant. Specify type.
35643 (SCHAR_MAX): Likewise.
35644 (UCHAR_MAX): Likewise.
35645 (CHAR_MIN): Likewise.
35646 (CHAR_MAX): Likewise.
35647 (MB_LEN_MAX): Use macro-int-constant.
35648 (SHRT_MIN): Use macro-int-constant. Specify type.
35649 (SHRT_MAX): Likewise.
35650 (USHRT_MAX): Likewise.
35651 (INT_MAX): Likewise.
35652 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35654 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35656 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35658 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35659 bound negative. Suffix upper bound with "L".
35660 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35662 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35664 [C99-based standards] (LLONG_MAX): Likewise.
35665 [C99-based standards] (ULLONG_MAX): Likewise.
35666 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35668 [ISO11] (max_align_t): Require type.
35669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35671 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35672 from $CFLAGS, without defining away __attribute__ calls.
35673 (checknamespace): Use $CFLAGS_namespace.
35675 * conform/conformtest.pl (@keywords): Only include C99 keywords
35676 for standards based on C99 or C11.
35678 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35680 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35683 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35684 usability of symbols in #if.
35686 * conform/conformtest.pl: If macro or constant types start
35687 "promoted:", expect the symbol to be of the following type
35688 promoted by the integer promotions.
35690 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35691 in one place. Also handle "macro-constant".
35693 * conform/conformtest.pl: Only accept expected macro values with
35694 "==". Parse all "macro" lines in one place.
35695 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35697 * conform/conformtest.pl: Handle braced types on "constant" lines
35698 instead of handling "typed-constant".
35699 * conform/data/signal.h-data: Use "constant" instead of
35702 * conform/conformtest.pl: Handle "optional-" at start of lines in
35703 one place rather than duplicating several cases. Handle each
35704 format of "macro" line with initial "optional-".
35706 * conform/conformtest.pl: Only accept expected constant or
35707 optional-constant values with "==". Parse all "constant" lines in
35708 one place. Parse all "optional-constant" lines in one place.
35709 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35710 * conform/data/fmtmsg.h-data: Likewise.
35711 * conform/data/netinet/in.h-data: Likewise.
35712 * conform/data/tar.h-data: Likewise.
35713 * conform/data/limits.h-data: Use "==" form on "constant" and
35714 "optional-constant" lines.
35716 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35717 Use -std=c99 for XOPEN2K.
35718 (@knownproblems): Remove.
35719 (newtoken): Don't check %isknown.
35721 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35722 Do not expect macro.
35723 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35724 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35725 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35726 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35727 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35728 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35729 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35730 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35731 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35732 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35733 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35734 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35735 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35736 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35737 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35738 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35739 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35740 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35741 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35742 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35743 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35744 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35745 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35746 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35747 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35748 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35749 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35750 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35751 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35752 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35753 [XPG3] (acosh): Likewise.
35754 [XPG3] (asinh): Likewise.
35755 [XPG3] (atanh): Likewise.
35756 [XPG3] (cbrt): Likewise.
35757 [XPG3] (expm1): Likewise.
35758 [XPG3] (ilogb): Likewise.
35759 [XPG3] (log1p): Likewise.
35760 [XPG3] (logb): Likewise.
35761 [XPG3] (nextafter): Likewise.
35762 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35763 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35764 [XPG3] (remainder): Likewise.
35765 [XPG3] (rint): Likewise.
35766 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35767 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35768 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35769 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35770 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35771 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35772 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35773 [UNIX98 || XOPEN2K] (scalb): Expect.
35774 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35775 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35776 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35777 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35778 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35779 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35780 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35781 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35782 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35783 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35784 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35785 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35786 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35787 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35788 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35789 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35790 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35791 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35792 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35793 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35794 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35795 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35796 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35797 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35798 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35799 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35800 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35801 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35802 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35803 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35804 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35805 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35806 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35807 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35808 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35809 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35810 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35811 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35812 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35813 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35814 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35815 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35816 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35817 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35818 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35819 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35820 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35821 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35822 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35823 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35824 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35825 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35826 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35827 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35828 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35829 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35830 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35831 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35832 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35833 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35834 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35835 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35836 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35837 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35838 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35839 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35840 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35841 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35842 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35843 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35844 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35845 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35846 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35847 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35848 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35849 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35850 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35851 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35852 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35853 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35854 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35855 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35856 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35857 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35858 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35859 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35860 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35861 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35862 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35863 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35864 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35865 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35866 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35867 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35868 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35869 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35870 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35871 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35872 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35873 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35874 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35875 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35876 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35877 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35878 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35879 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35880 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35881 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35882 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35883 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35884 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35885 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35886 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35887 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35888 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35889 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35890 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35891 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35892 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35893 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35894 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35895 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35896 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35897 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35898 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35899 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35900 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35901 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35902 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35903 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35904 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35905 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35906 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35907 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35908 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35909 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35910 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35912 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35913 _XOPEN_SOURCE_EXTENDED for XPG4.
35915 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35917 * Makeconfig (localtime): Remove variable.
35918 (inst_localtime-file): Likewise.
35920 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35941 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35945 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35946 comparisons to determine direction to adjust input.
35947 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35948 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35949 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35951 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35953 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35955 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35956 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35958 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35960 * math/libm-test.inc (nexttoward_test): Add more tests.
35962 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35965 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35966 in version GLIBC_2.1, not GLIBC_2.0.
35967 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35970 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35973 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35975 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35976 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35977 * math/libm-test.inc (acos_test): Add more tests.
35978 (asin_test): Likewise.
35979 * sysdeps/i386/fpu/libm-test-ulps: Update.
35980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35983 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35985 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35986 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35987 * math/libm-test.inc (acos_test_tonearest): New function.
35988 (acos_test_towardzero): Likewise.
35989 (acos_test_downward): Likewise.
35990 (acos_test_upward): Likewise.
35991 (asin_test_tonearest): Likewise.
35992 (asin_test_towardzero): Likewise.
35993 (asin_test_downward): Likewise.
35994 (asin_test_upward): Likewise.
35995 (main): Call the new functions.
35996 * sysdeps/i386/fpu/libm-test-ulps: Update.
35997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36001 * math/e_exp10.c: Include <float.h>.
36002 (__ieee754_exp10): Handle underflow here rather than multiplying
36003 large negative argument by M_LN10.
36004 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36006 * math/e_exp10l.c: Include <float.h>.
36007 (__ieee754_exp10l): Handle underflow here rather than multiplying
36008 large negative argument by M_LN10l.
36009 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36010 spurious overflow exception on underflow.
36012 2012-04-29 Marek Polacek <polacek@redhat.com>
36014 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36015 (__fortify_function): New macro.
36016 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36017 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36018 __extern_always_inline.
36019 * libio/bits/stdio2.h: Likewise.
36020 * libio/bits/stdio.h: Likewise.
36021 * string/string.h: Likewise.
36022 * string/bits/string3.h: Likewise.
36023 * include/stdio.h: Likewise.
36024 * stdlib/bits/stdlib.h: Likewise.
36025 * stdlib/stdlib.h: Likewise.
36026 * rt/bits/mqueue2.h: Likewise.
36027 * rt/mqueue.h: Likewise.
36028 * posix/bits/unistd.h: Likewise.
36029 * posix/unistd.h: Likewise.
36030 * io/bits/poll2.h: Likewise.
36031 * io/bits/fcntl2.h: Likewise.
36032 * io/fcntl.h: Likewise.
36033 * io/sys/poll.h: Likewise.
36034 * misc/bits/syslog.h: Likewise.
36035 * misc/bits/syslog-ldbl.h: Likewise.
36036 * misc/sys/syslog.h: Likewise.
36037 * socket/bits/socket2.h: Likewise.
36038 * socket/sys/socket.h: Likewise.
36039 * debug/tst-chk1.c: Likewise.
36040 * wcsmbs/bits/wchar2.h: Likewise.
36041 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36042 * wcsmbs/wchar.h: Likewise.
36044 2012-04-29 Andreas Jaeger <aj@suse.de>
36046 * Makerules (tests): Remove enable-check-abi protection.
36047 (check-abi-warn): Remove.
36048 (check-abi-%): Remove check-abi-warn usage.
36050 * configure.in: Remove check-abi configure option.
36051 * configure: Regenerated.
36052 * config.make.in (enable-check-abi): Remove.
36054 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36057 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36058 double functions to double *_finite functions.
36061 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36062 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36064 * stdio-common/Makefile (tests): Add tst-sprintf3.
36065 * stdio-common/tst-sprintf3.c: New file.
36067 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36068 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36070 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36072 * conform/conformtest.pl: Remove duplicate typed-constant
36075 2012-04-28 David S. Miller <davem@davemloft.net>
36077 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36078 (check-abi-%): Remove AWK script prerequisite and explicit
36080 (check-abi): Rewrite to just diff the symlist with the abilist.
36081 (config-tls, config-abi-config): Delete, no longer used.
36082 (update-abi-%): Remove AWK script and explicit abilist directory.
36083 (update-abi): Rewrite to simply compare and conditionally copy the
36084 symlist and the sysdep abilist file. Remove update-abi-config
36086 * abilist/ld.abilist: Remove.
36087 * abilist/libBrokenLocale.abilist: Remove.
36088 * abilist/libanl.abilist: Remove.
36089 * abilist/libcrypt.abilist: Remove.
36090 * abilist/libdl.abilist: Remove.
36091 * abilist/librt.abilist: Remove.
36092 * abilist/libthread_db.abilist: Remove.
36093 * abilist/libutil.abilist: Remove.
36094 * scripts/extract-abilist.awk: Remove.
36095 * scripts/merge-abilist.awk: Remove.
36096 * sysdeps/generic/libcidn.abilist: New file.
36097 * sysdeps/generic/libnss_compat.abilist: New file.
36098 * sysdeps/generic/libnss_db.abilist: New file.
36099 * sysdeps/generic/libnss_dns.abilist: New file.
36100 * sysdeps/generic/libnss_files.abilist: New file.
36101 * sysdeps/generic/libnss_hesiod.abilist: New file.
36102 * sysdeps/generic/libnss_nis.abilist: New file.
36103 * sysdeps/generic/libnss_nisplus.abilist: New file.
36104 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36105 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36106 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36108 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36109 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36110 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36111 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36112 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36113 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36114 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36115 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36116 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36118 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36119 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36120 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36121 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36123 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36124 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36125 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36126 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36127 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36128 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36130 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36131 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36132 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36134 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36237 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36238 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36239 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36241 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36242 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36243 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36244 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36245 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36246 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36247 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36248 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36249 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36250 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36302 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36304 * conform/conformtest.pl: Fix typo in handling typed-constant from
36307 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36309 * README: Cut down references to pre-2.6 Linux kernels and
36310 Linuxthreads. Update lists of configurations in libc and ports
36311 and sort alphabetically. Say "or newer" with Linux kernel version
36314 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36316 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36319 * math/libm-test.inc (logb_test_downward): New test to expose
36320 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36323 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36326 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36328 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36329 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36331 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36333 * sysdeps/unix/i386/brk.S: Remove file.
36334 * sysdeps/unix/i386/dl-brk.S: Likewise.
36335 * sysdeps/unix/i386/pipe.S: Likewise.
36336 * sysdeps/unix/i386/sigreturn.S: Likewise.
36337 * sysdeps/unix/i386/syscall.S: Likewise.
36338 * sysdeps/unix/i386/vfork.S: Likewise.
36339 * sysdeps/unix/i386/wait.S: Likewise.
36341 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36342 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36344 * configure.in (arm*-none*): Do not allow without
36345 --enable-hacker-mode.
36346 (netbsd*): Remove case setting base_os.
36347 (386bsd*): Likewise.
36348 (freebsd*): Likewise.
36351 (sunos*): Likewise.
36352 (ultrix*): Likewise.
36353 (newsos*): Likewise.
36354 (dynix*): Likewise.
36360 (minix*): Likewise.
36361 (irix4*): Likewise.
36362 (irix6*): Likewise.
36363 (solaris[2-9]*): Likewise.
36365 * configure: Regenerated.
36367 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36370 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36371 overflow or cancellation in calculating denominator.
36372 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36373 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36374 down expression to avoid unexpected rounding in newer GCCs.
36375 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36377 2012-04-26 David S. Miller <davem@davemloft.net>
36379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36380 long-double compat symbols.
36381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36395 2012-04-25 David S. Miller <davem@davemloft.net>
36397 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36398 HWCAP_* values only after the memory barriers have been defined.
36399 (atomic_full_barrier): Define.
36400 (atomic_read_barrier): Define.
36401 (atomic_write_barrier): Define.
36403 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36405 * shlib-versions: Add libgcc_s version information.
36406 * sysdeps/generic/libgcc_s.h: Remove.
36407 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36409 * sysdeps/gnu/unwind-resume.c: Likewise.
36410 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36412 2012-04-25 David S. Miller <davem@davemloft.net>
36414 * sysdeps/unix/sparc/brk.S: Delete.
36415 * sysdeps/unix/sparc/dl-brk.S: Delete.
36416 * sysdeps/unix/sparc/pipe.S: Delete.
36417 * sysdeps/unix/sparc/sysdep.S: Delete.
36418 * sysdeps/unix/sparc/sysdep.h: Delete.
36419 * sysdeps/unix/sparc/vfork.S: Delete.
36420 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36421 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36422 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36423 (ret_ERRVAL, r0, r1, MOVE): Define.
36424 (JUMPTARGET): Remove.
36425 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36426 sysdeps/unix/sparc/sysdep.h
36427 (ENTRY, END): Remove.
36428 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36430 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36432 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36433 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36436 * timezone/README: Update upstream location and email address for
36438 * timezone/zdump.c: Update from tzcode 2012b.
36439 * timezone/zic.c: Likewise.
36441 * configure.in (libc_cv_as_needed): Remove test.
36442 * configure: Regenerated.
36443 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36444 conditional definition.
36445 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36446 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36447 * config.make.in (have-as-needed): Remove variable.
36449 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36450 Paul Pluzhnikov <ppluzhnikov@google.com>
36452 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36455 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36457 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36458 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36459 * sysdeps/sh/strlen.S: Likewise.
36461 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36463 * sysdeps/unix/fork.S: Remove file.
36464 * sysdeps/unix/i386/fork.S: Likewise.
36465 * sysdeps/unix/sparc/fork.S: Likewise.
36467 * sysdeps/unix/system.c: Remove file.
36468 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36470 * sysdeps/unix/getegid.S: Remove file.
36471 * sysdeps/unix/geteuid.S: Likewise.
36473 2012-04-24 Roland McGrath <roland@hack.frob.com>
36475 * scripts/check-localplt.awk: New file.
36476 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36478 * scripts/data/localplt-generic.data: Add a comment.
36480 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36481 NODE when __dir_mkfile failed.
36482 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36483 Reported by Ludovic Courtès <ludo@gnu.org>.
36485 2012-04-24 Andreas Jaeger <aj@suse.de>
36487 * Makerules (common-clean): Also remove gen-as-const-headers
36490 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36492 * Makerules (native-compile): Do not change working directory for
36493 build. Use $(OUTPUT_OPTION) in command.
36494 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36496 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36499 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36500 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36501 * math/libm-test.inc (floor_test): Add more tests.
36502 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36504 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36506 * sysdeps/unix/getdents.c: Remove file.
36507 * sysdeps/unix/sysv/getdents.c: Likewise.
36508 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36510 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36511 sysdeps/unix/mman/syscalls.list.
36513 (mprotect): Likewise.
36515 (munmap): Likewise.
36516 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36517 * sysdeps/unix/mman/syscalls.list: Remove.
36518 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36520 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36521 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36522 * configure: Regenerated.
36523 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36524 $(libgcc_s_suffix).
36525 * config.make.in (libgcc_s_suffix): Remove variable.
36527 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36529 * sysdeps/unix/sysv/gethostname.c: Move to ...
36530 * sysdeps/posix/gethostname.c: ... here.
36532 * sysdeps/unix/execve.S: Remove file.
36534 * sysdeps/unix/_exit.S: Remove file.
36536 2012-04-23 Andreas Jaeger <aj@suse.de>
36539 * manual/Makefile: Remove make dist support, there's no
36540 need for a stand-alone documentation tar ball.
36541 (TEXI2DVI): Define always, it's not in Makeconfig.
36544 (edition): Removed.
36545 (glibc-doc-$(edition).tar): Removed
36549 (ETAGS): Remove, it's in Makeconfig.
36550 (move-if-change): Remove, it's in Makeconfig.
36552 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36555 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36556 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36557 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36558 (strtod_l, strtof_l, strtold_l): Remove __wur.
36559 It is not necessarily an error to ignore strtol's return value.
36560 One can reliably look at the stored endptr to decide whether
36561 the number had valid syntax.
36563 2012-04-21 Andreas Jaeger <aj@suse.de>
36566 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36568 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36570 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36571 * sysdeps/unix/sysv/Versions: Remove file.
36573 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36578 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36581 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36582 version from __vm86.
36584 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36586 * sysdeps/unix/common/lxstat.c: Remove file.
36587 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36589 * sysdeps/unix/sysv/Makefile: Remove file.
36591 * sysdeps/unix/sysv/direct.h: Remove file.
36593 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36594 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36595 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36596 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36597 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36598 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36599 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36601 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36603 * sysdeps/unix/xmknod.c: Remove file.
36604 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36606 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36608 * sysdeps/unix/sysv/i386/time.S: Remove file.
36610 * sysdeps/unix/fxstat.c: Remove file.
36611 * sysdeps/unix/xstat.c: Likewise.
36612 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36614 * sysdeps/unix/sysv/sigaction.c: Remove file.
36616 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36617 (sysdep_headers): Remove variable.
36618 [termio.h not in sysdep_headers] (generated): Likewise.
36619 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36620 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36621 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36622 * sysdeps/unix/sysv/tcflow.c: Likewise.
36623 * sysdeps/unix/sysv/tcflush.c: Likewise.
36624 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36625 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36626 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36627 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36628 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36630 * sysdeps/unix/siglist.c: Remove file.
36632 * sysdeps/unix/getppid.S: Remove file.
36634 * sysdeps/unix/mkdir.c: Remove file.
36635 * sysdeps/unix/rmdir.c: Likewise.
36637 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36639 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36641 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36642 errlist-compat value.
36644 2012-04-18 David S. Miller <davem@davemloft.net>
36646 * sysdeps/generic/memcopy.h (reg_char): Delete.
36647 * debug/strcat_chk.c: Use char, not reg_char.
36648 * debug/strcpy_chk.c: Likewise.
36649 * debug/strncat_chk.c: Likewise.
36650 * debug/strncpy_chk.c: Likewise.
36651 * string/memchr.c: Likewise.
36652 * string/memrchr.c: Likewise.
36653 * string/rawmemchr.c: Likewise.
36654 * string/strcat.c: Likewise.
36655 * string/strchr.c: Likewise.
36656 * string/strchrnul.c: Likewise.
36657 * string/strcmp.c: Likewise.
36658 * string/strcpy.c: Likewise.
36659 * string/strncat.c: Likewise.
36660 * string/strncmp.c: Likewise.
36661 * string/strncpy.c: Likewise.
36663 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36665 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36666 __builtin_memcopy is called when src and dest ranges are known to not
36669 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36671 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36672 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36673 fwd_align_merge macro call.
36674 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36675 bwd_align_merge macro call.
36676 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36678 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36680 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36681 bwd_align_merge macros.
36682 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36683 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36684 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36686 2012-04-18 David S. Miller <davem@davemloft.net>
36688 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36690 2012-04-18 Andreas Jaeger <aj@suse.de>
36693 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36694 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36695 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36697 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36698 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36699 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36701 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36702 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36703 Adjust for changed ldbl-128 files.
36705 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36706 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36707 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36709 2012-04-17 David S. Miller <davem@davemloft.net>
36711 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36713 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36715 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36716 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36717 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36718 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36719 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36720 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36722 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36725 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36726 * math/libm-test.inc: Add ilogb errno and exception tests.
36727 * math/w_ilogb.c: New file: ilogb wrapper.
36728 * math/w_ilogbf.c: New file: ilogbf wrapper.
36729 * math/w_ilogbl.c: New file: ilogbl wrapper.
36730 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36731 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36732 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36733 exception being thrown with 0.0 as argument.
36734 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36735 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36736 exception being thrown with 0.0 as argument.
36737 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36738 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36739 exception being thrown with 0.0 as argument.
36740 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36741 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36742 exception being thrown with 0.0 as argument.
36743 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36744 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36745 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36746 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36747 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36748 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36749 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36750 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36751 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36753 2012-04-17 Petr Baudis <pasky@ucw.cz>
36755 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36758 2012-04-16 Marek Polacek <polacek@redhat.com>
36760 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36762 2012-04-16 Marek Polacek <polacek@redhat.com>
36764 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36765 operands of fdivp instruction.
36767 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36769 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36770 * elf/tst-auditmod3b.c: Likewise.
36771 * elf/tst-auditmod4b.c: Likewise.
36772 * elf/tst-auditmod5b.c: Likewise.
36773 * elf/tst-auditmod6b.c: Likewise.
36774 * elf/tst-auditmod6c.c: Likewise.
36775 * elf/tst-auditmod7b.c: Likewise.
36776 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36777 * sysdeps/x86_64/preconfigure.in: Likewise.
36778 * sysdeps/x86_64/preconfigure: Regenerated.
36780 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36782 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36785 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36787 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36788 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36790 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36793 * locale/iso-639.def: Fix gl language name. Spotted by
36796 2012-04-12 Roland McGrath <roland@hack.frob.com>
36799 * libio/libio.h (__io_write_fn): Update comment.
36801 2012-04-12 Petr Baudis <pasky@ucw.cz>
36804 * stdio.texi (Hook Functions): The user provided writer function
36805 is not allowed to return -1.
36807 2012-04-11 David S. Miller <davem@davemloft.net>
36809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36811 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36813 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36814 Add a leading slash to rtkaio.
36816 2012-04-11 Jim Meyering <meyering@redhat.com>
36819 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36820 It is not necessarily an error to ignore fwrite's return
36821 value. One can reliably use ferror to test for errors after
36824 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36826 * bits/types.h (__snseconds_t): New type.
36827 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36829 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36831 (__SNSECONDS_T_TYPE): Likewise.
36832 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36833 (__SNSECONDS_T_TYPE): Likewise.
36834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36835 (__SNSECONDS_T_TYPE): Likewise.
36837 2012-04-10 Andreas Jaeger <aj@suse.de>
36840 * manual/time.texi (Processor Time): Return type of times is
36841 elapsed real time since an arbitrary point in the past.
36842 (CPU Time): Move CLK_TCK from here...
36843 (Processor Time): ...to here. Correct description.
36844 * manual/conf.texi (Constants for Sysconf): Correct description of
36847 2012-04-10 David S. Miller <davem@davemloft.net>
36850 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36851 where the is a gap between DT_REL(A) and DT_JMPREL.
36853 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36855 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36856 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36857 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36859 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36861 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36862 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36863 (dl_main): Handle --inhibit-cache.
36864 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36866 * elf/dl-load.c (_dl_map_object): Use it.
36867 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36869 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36872 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36873 (__ieee754_powl): Saturate large exponents rather than testing for
36874 overflow of y*log2(x).
36875 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36876 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36880 * math/s_ctan.c: Include <float.h>.
36881 (__ctan): Avoid internal overflow or cancellation in calculating
36883 * math/s_ctanf.c: Likewise.
36884 * math/s_ctanl.c: Likewise.
36885 * math/s_ctanh.c: Likewise.
36886 * math/s_ctanhf.c: Likewise.
36887 * math/s_ctanhl.c: Likewise.
36888 * math/libm-test.inc (ctan_test): Add more tests.
36889 (ctanh_test): Likewise.
36890 * sysdeps/i386/fpu/libm-test-ulps: Update.
36891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36893 2012-04-09 Andreas Jaeger <aj@suse.de>
36896 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36897 is an optional BSD extension.
36900 * manual/stdio.texi (Opening Streams): Document additional fopen
36903 2012-04-09 Roland McGrath <roland@hack.frob.com>
36905 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36906 %eax without telling the compiler.
36908 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36911 * manual/install.texi: Use sourceware.org.
36913 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36916 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36917 (__ieee754_pow): Generate overflow and underflow using huge*huge
36918 and tiny*tiny rather than just returning constant infinity or zero
36919 for large exponents.
36920 * math/libm-test.inc (pow_test): Require overflow exceptions for
36921 applicable cases of large exponents.
36924 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36925 (__ieee754_pow): Use iterative multiplication algorithm only for
36926 integer exponents with absolute value below 1024. Check for odd
36927 integer exponents when using algorithm for real exponents.
36928 * math/libm-test.inc (pow_test): Add more tests.
36929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36931 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36934 * math/libm-test.inc (exp_test): Do not allow overflow exception
36937 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36940 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36941 instead of __kernel_standard_f.
36943 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36945 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36946 * sysdeps/x86_64/memset_chk.S: Likewise.
36948 2012-04-08 Andreas Jaeger <aj@suse.de>
36951 * manual/startup.texi (Environment Access): Describe return value
36952 for putenv and setenv.
36955 * manual/filesys.texi (Directory Entries): Add description for
36959 * manual/filesys.texi (Directory Entries): Clarify that it's file
36960 system not operating system in the description of DT_UNKNOWN.
36963 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36965 2012-04-08 Stephen Compall <s11@member.fsf.org>
36968 * manual/llio.texi (Opening and Closing Files): Add cross
36969 reference to explain mode argument.
36971 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36973 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36974 * sysdeps/x86_64/memset_chk.S: Likewise.
36976 2012-04-07 David S. Miller <davem@davemloft.net>
36978 * elf/elf.h (R_SPARC_WDISP10): Define.
36979 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36981 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36982 R_SPARC_SIZE64 and R_SPARC_H34.
36984 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36986 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36987 conditions and remove no longer applicable assertion.
36989 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36991 * bits/byteswap.h: Include <features.h>.
36992 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36993 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36995 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36997 * bits/byteswap.h (__bswap_16): Removed.
36998 Include <bits/byteswap-16.h> to get __bswap_16.
36999 * sysdeps/i386/bits/byteswap.h: Likewise.
37000 * sysdeps/s390/bits/byteswap.h: Likewise.
37001 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37002 * bits/byteswap-16.h: New file.
37003 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37004 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37005 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37006 * string/Makefile (headers): Add bits/byteswap-16.h.
37008 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37011 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37013 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37014 * nss/tst-nss-static.c: New.
37016 2012-04-06 Robert Millan <rmh@gnu.org>
37019 * manual/llio.texi (File Position Primitive): lseek
37020 refers to WHENCE when it really means OFFSET.
37022 2012-04-06 Andreas Jaeger <aj@suse.de>
37024 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37025 strncmp declarations.
37027 * abilist/libc.abilist: Add __poll and __ppoll.
37029 2012-04-05 David S. Miller <davem@davemloft.net>
37031 * scripts/check-local-headers.sh: Accept a host triplet in the
37032 path matched by the exclude regexp.
37034 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37036 * sysdeps/powerpc/powerpc32/dl-machine.h
37037 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37038 * sysdeps/s390/s390-32/dl-machine.h
37039 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37040 * sysdeps/sparc/sparc32/dl-machine.h
37041 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37042 * sysdeps/sparc/sparc64/dl-machine.h
37043 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37045 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37047 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37048 undefined symbol errors.
37050 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37053 2012-04-05 Michael Matz <matz@suse.de>
37056 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37058 2012-04-05 Andreas Jaeger <aj@suse.de>
37061 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37064 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37066 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37067 which ROUND is no valid rounding mode.
37069 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37071 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37073 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37075 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37077 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37078 an exception using FPU order intentionally.
37080 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37082 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37083 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37084 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37085 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37087 2012-04-05 Simon Josefsson <simon@josefsson.org>
37090 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37091 EINVAL when BUFLEN is too smal.
37093 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37096 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37097 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37099 2012-04-03 Andreas Jaeger <aj@suse.de>
37102 * manual/setjmp.texi (System V contexts): Fix sentence.
37105 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37106 New macro for this case.
37107 [!__GNUC__] (__bswap_64): New inline function for this case.
37108 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37109 * bits/byteswap.h: Likewise.
37110 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37111 ull, guard with __GLIBC_HAVE_LONG_LONG.
37113 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37114 __GLIBC_HAVE_LONG_LONG.
37116 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37117 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37119 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37122 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37123 inptr and inend, rather than using last_ch.
37125 2012-04-02 David S. Miller <davem@davemloft.net>
37127 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37128 * stdio-common/printf-parse.h (read_int): Change return type to
37129 'int', return -1 on INT_MAX overflow.
37130 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37131 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37132 overflows INT_MAX. Check for overflow of in-format-string precision
37133 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37134 SIZE_MAX not INT_MAX for integer overflow test.
37135 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37136 skip the construct in the format string but do not record anything.
37137 * stdio-common/bug22.c: Adjust to test both width/prevision
37138 INT_MAX overflow as well as total length INT_MAX overflow. Check
37139 explicitly for proper errno values.
37141 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37143 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37145 * string/test-strcmp.c [! WIDE]: Likewise.
37146 * time/tst-mktime2.c: Likewise for INT_MAX.
37147 * string/test-string.h: #include <sys/param.h> for MIN.
37149 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37150 * sysdeps/i386/init-first.c (init): Likewise.
37151 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37152 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37153 * sysdeps/sh/init-first.c (init): Likewise.
37155 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37157 * po/ru.po: Update from translation team.
37158 * po/vi.po: Likewise.
37160 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37162 * resolv/nss_dns/dns-host.c: Merge copyright years.
37164 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37166 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37167 Optimize memcpy with prefetch if
37168 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37169 src, dst pointers have unequal 16 byte alignments.
37171 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37174 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37175 from a CNAME entry and return the minimum ttl for the query.
37176 (gaih_getanswer_slice): Likewise.
37178 2012-03-30 Jeff Law <law@redhat.com>
37180 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37182 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37183 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37185 * resolv/nss_dns/dns-host.c: Update copyright year.
37187 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37189 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37190 requests to save a system call. Fix check that all bytes are sent.
37192 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37193 comments for sendmmsg.
37195 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37198 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37199 with only 1 character between 0x0041 and 0x01b0.
37200 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37201 * wcsmbs/tst-mbsnrtowcs.c: New file.
37203 2012-03-29 David S. Miller <davem@davemloft.net>
37205 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37206 small copies by hand.
37208 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37211 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37212 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37215 2012-03-28 David S. Miller <davem@davemloft.net>
37217 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37218 that branches into memcpy.
37219 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37220 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37222 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37223 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37225 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37226 implementation too.
37227 * sysdeps/sparc/mempcpy.S: New file.
37229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37230 the IFUNC routine in the libc case.
37231 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37233 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37234 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37235 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37236 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37237 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37238 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37239 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37240 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37242 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37243 loop to 256 bytes instead of 64 bytes and fix test signedness.
37245 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37246 * sysdeps/sparc/sparc32/Makefile: rather than here...
37247 * sysdeps/sparc/sparc64/Makefile: and here.
37249 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37251 * malloc/mallocbug.c: Avoid warnings about unused variables.
37253 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37256 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37257 in the right place. Discard and retry query if response is
37258 larger than input buffer size.
37260 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37265 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37266 x for large integer exponent.
37267 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37268 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37269 sign of result as needed afterwards.
37270 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37271 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37272 result for underflowing pow the same as for overflow.
37273 (__kernel_standard_l): Handle powl overflow and underflow here
37274 rather than calling __kernel_standard.
37275 * math/libm-test.inc (pow_test): Add more tests.
37290 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37291 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37292 (__kernel_standard_l): New function.
37293 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37295 * math/w_acosl.c (__acosl): Likewise.
37296 * math/w_asinl.c (__asinl): Likewise.
37297 * math/w_atan2l.c (__atan2l): Likewise.
37298 * math/w_atanhl.c (__atanhl): Likewise.
37299 * math/w_coshl.c (__coshl): Likewise.
37300 * math/w_exp10l.c (__exp10l): Likewise.
37301 * math/w_exp2l.c (__exp2l): Likewise.
37302 * math/w_fmodl.c (__fmodl): Likewise.
37303 * math/w_hypotl.c (__hypotl): Likewise.
37304 * math/w_j0l.c (__j0l, __y0l): Likewise.
37305 * math/w_j1l.c (__j1l, __y1l): Likewise.
37306 * math/w_jnl.c (__jnl, __ynl): Likewise.
37307 * math/w_lgammal.c (__lgammal): Likewise.
37308 * math/w_log10l.c (__log10l): Likewise.
37309 * math/w_log2l.c (__log2l): Likewise.
37310 * math/w_logl.c (__logl): Likewise.
37311 * math/w_powl.c (__powl): Likewise.
37312 * math/w_remainderl.c (__remainderl): Likewise.
37313 * math/w_scalbl.c (sysv_scalbl): Likewise.
37314 * math/w_sinhl.c (__sinhl): Likewise.
37315 * math/w_sqrtl.c (__sqrtl): Likewise.
37316 * math/w_tgammal.c (__tgammal): Likewise.
37317 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37318 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37319 * math/libm-test.inc (acos_test): Add more tests.
37320 (acosh_test): Likewise.
37321 (asin_test): Likewise.
37322 (atanh_test): Likewise.
37323 (exp_test): Likewise.
37324 (exp10_test): Likewise.
37325 (exp2_test): Likewise.
37326 (expm1_test): Likewise.
37327 (lgamma_test): Likewise.
37328 (log_test): Likewise.
37329 (log10_test): Likewise.
37330 (log1p_test): Likewise.
37331 (log2_test): Likewise.
37332 (pow_test): Do not allow some spurious overflow exceptions.
37333 (sqrt_test): Add more tests.
37334 (tgamma_test): Likewise.
37335 (y0_test): Likewise.
37336 (y1_test): Likewise.
37337 (yn_test): Likewise.
37339 2012-03-27 Anton Blanchard <anton@samba.org>
37341 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37343 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37344 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37345 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37347 2012-03-27 David S. Miller <davem@davemloft.net>
37349 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37351 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37352 have-as-vis3 check.
37354 2012-03-27 Andreas Jaeger <aj@suse.de>
37356 * sysdeps/x86_64/elf/configure.in: Moved to ...
37357 * sysdeps/x86_64/configure.in: ... here.
37358 * sysdeps/x86_64/elf/start.S: Moved to ...
37359 * sysdeps/x86_64/start.S: ... here.
37360 * sysdeps/x86_64/elf/configure: Delete.
37362 * sysdeps/x86_64/configure.in: Merge contents from
37363 sysdeps/i386/configure.in (without i686 check).
37365 * sysdeps/i386/elf/Versions: Merge into ...
37366 * sysdeps/i386/Versions: ... this.
37367 * sysdeps/i386/elf/Versions: Delete file.
37368 * sysdeps/i386/elf/start.S: Moved to ...
37369 * sysdeps/i386/start.S: ...here.
37370 * sysdeps/i386/elf/configure.in: Merge into...
37371 * sysdeps/i386/configure.in: ...here.
37372 * sysdeps/i386/elf/configure.in: Delete file.
37373 * sysdeps/i386/elf/configure: Delete file.
37375 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37376 * debug/backtracesyms.c: ... here.
37377 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37378 * debug/backtracesymsfd.c: ... here.
37379 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37380 * sysdeps/generic/ifunc-sel.h: ... here.
37382 * sysdeps/unix/i386/start.c: Delete file.
37383 * sysdeps/unix/sparc/start.c: Delete file.
37384 * sysdeps/unix/start.c: Delete file.
37386 * sysdeps/sh/elf/configure.in: Moved to ...
37387 * sysdeps/sh/configure.in: ... here.
37388 * sysdeps/sh/elf/start.S: Moved to ...
37389 * sysdeps/sh/start.S: ... here.
37390 * sysdeps/sh/elf/configure: Delete file.
37392 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37393 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37394 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37395 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37396 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37397 * sysdeps/powerpc/powerpc64/start.S: here.
37398 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37399 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37400 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37401 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37402 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37404 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37405 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37406 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37407 * sysdeps/powerpc/powerpc32/start.S: ... here.
37408 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37409 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37410 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37412 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37413 * sysdeps/powerpc/ifunc-sel.h: ... here.
37414 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37415 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37417 * sysdeps/sparc/elf/configure.in: Moved to ...
37418 * sysdeps/sparc/configure.in: ... here.
37419 * sysdeps/sparc/elf/configure: Delete file.
37420 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37421 * sysdeps/sparc/sparc32/start.S: ... here.
37422 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37423 * sysdeps/sparc/sparc64/start.S: ... here.
37424 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37425 * sysdeps/sparc/sparc32/Makefile: ... this.
37426 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37427 * sysdeps/sparc/sparc64/Makefile: ... this.
37429 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37430 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37431 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37432 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37433 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37434 * sysdeps/s390/s390-32/setjmp.S: ... here.
37435 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37436 * sysdeps/s390/s390-32/configure.in: ... here.
37437 * sysdeps/s390/s390-32/elf/configure: Delete file.
37438 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37439 * sysdeps/s390/s390-32/start.S: ... here.
37441 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37442 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37443 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37444 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37445 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37446 * sysdeps/s390/s390-64/setjmp.S: ... here.
37447 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37448 * sysdeps/s390/s390-64/configure.in: ... here
37449 * sysdeps/s390/s390-64/elf/configure: Delete file.
37450 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37451 * sysdeps/s390/s390-64/start.S: ... here.
37452 * sysdeps/s390/s390-64/elf/configure: Delete.
37454 * configure.in: Remove support for elf directories in sysdeps.
37456 * configure: Regenerated.
37457 * sysdeps/i386/configure: Regenerated.
37458 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37459 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37460 * sysdeps/s390/s390-32/configure: Regenerated.
37461 * sysdeps/s390/s390-64/configure: Regenerated.
37462 * sysdeps/sh/configure: Regenerated.
37463 * sysdeps/sparc/configure: Regenerated.
37464 * sysdeps/x86_64/configure: Regenerated.
37466 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37470 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37471 denormal result into account.
37473 2012-03-25 Roland McGrath <roland@hack.frob.com>
37475 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37476 Reported by Allan McRae <allan@archlinux.org>.
37478 2012-03-23 Jeff Law <law@redhat.com>
37480 * nss/getnssent.c (__nss_getent): Fix typo.
37482 2012-03-23 David S. Miller <davem@davemloft.net>
37484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37486 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37488 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37489 to pad to uint64_t for each field.
37490 (dl_tls_index): Replace unsigned long with uint64_t.
37492 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37493 Paul Pluzhnikov <ppluzhnikov@google.com>
37496 * grp/Makefile (otherlibs): Don't set it.
37497 * inet/Makefile (otherlibs): Likewise.
37498 * login/Makefile (otherlibs): Likewise.
37499 * nscd/Makefile (otherlibs): Likewise.
37500 * posix/Makefile (otherlibs): Likewise.
37501 * pwd/Makefile (otherlibs): Likewise.
37502 * rt/Makefile (otherlibs): Likewise.
37503 * sunrpc/Makefile (otherlibs): Likewise.
37504 * nss/Makefile (otherlibs): Likewise.
37505 Add libnss_files to routines and static-only-routines.
37506 ($(objpfx)getent): Remove rule.
37507 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37508 static-only-routines.
37510 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37513 * math/s_cexp.c: Include <float.h>.
37514 (__cexp): Handle exp result overflowing not necessarily
37515 overflowing both real and imaginary parts of result.
37516 * math/s_cexpf.c: Likewise.
37517 * math/s_cexpl.c: Likewise.
37518 * math/libm-test.inc (cexp_test): Add more tests.
37519 * sysdeps/i386/fpu/libm-test-ulps: Update.
37520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37522 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37524 * include/link.h (ELFW): New macro.
37525 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37526 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37528 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37530 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37533 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37535 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37537 (struct La_x32_retval): Likewise.
37539 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37541 * sysdeps/x86_64/preconfigure.in: New file.
37542 * sysdeps/x86_64/preconfigure: New generated file.
37544 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37547 * math/e_exp2l.c: Include <float.h>.
37548 (__ieee754_exp2l): Handle overflow and underflow cases
37549 separately. Only pass fractional part of argument to
37551 * math/libm-test.inc (exp2_test): Add more tests.
37553 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37554 negating x to take absolute value.
37555 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37557 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37558 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37560 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37561 computing low part if x was negated.
37562 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37564 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37566 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37567 la_x32_gnu_pltexit.
37568 (pltexit): Cast int_retval to ptrdiff_t.
37569 * elf/tst-auditmod3b.c: Likewise.
37570 * elf/tst-auditmod4b.c: Likewise.
37571 * elf/tst-auditmod5b.c: Likewise.
37572 * elf/tst-auditmod6b.c: Likewise.
37573 * elf/tst-auditmod6c.c: Likewise.
37574 * elf/tst-auditmod7b.c: Likewise.
37576 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37577 and x32_gnu_pltexit.
37579 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37580 __ELF_NATIVE_CLASS.
37581 (La_x32_regs): New macro.
37582 (La_x32_retval): Likewise.
37583 (la_x32_gnu_pltenter): New function prototype.
37584 (la_x32_gnu_pltexit): Likewise.
37586 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37588 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37593 * configure.in (libc_cv_cc_nofma): Check for option to disable
37594 generation of FMA instructions.
37595 * configure: Regenerate.
37596 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37597 * sysdeps/ieee754/dbl-64/Makefile: New file.
37598 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37599 Remove brandred-fma4.
37600 (CFLAGS-brandred-fma4.c): Remove.
37601 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37602 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37604 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37607 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37609 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37610 LLONG_MAX != LONG_MAX.
37611 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37612 (_fitoa_word): Likewise.
37613 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37614 LLONG_MAX != LONG_MAX.
37615 * stdio-common/_itowa.h: Include <_itoa.h>.
37616 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37617 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37618 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37619 only if not defined.
37620 (_ITOA_WORD_TYPE): Likewise.
37621 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37622 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37624 2012-03-21 David S. Miller <davem@davemloft.net>
37626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37628 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37630 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37631 of x86_64 when setting libc_cv_slibdir, libdir and
37633 * sysdeps/unix/sysv/linux/configure: Regenerated.
37635 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37637 * manual/lang.texi (Old Varargs): Remove section.
37638 (How Variadic): Update menu.
37639 (va_start): Do not mention varargs.h.
37641 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37642 Joseph Myers <joseph@codesourcery.com>
37644 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37646 * configure: Regenerated.
37648 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37650 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37651 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37654 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37657 * Makefile (files-for-dist): Remove NOTES.
37658 (NOTES): Remove rule.
37659 * README: Don't refer to NOTES.
37660 * manual/creature.texi: Don't include macros.texi.
37661 * manual/intro.texi (creature.texi): Remove comment referring to
37664 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37665 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37666 * configure: Regenerated.
37667 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37668 LIBC_TRY_CC_OPTION.
37669 (libc_cv_as_i686): Likewise.
37670 (libc_cv_cc_avx): Likewise.
37671 (libc_cv_cc_sse2avx): Likewise.
37672 (libc_cv_cc_fma4): Likewise.
37673 (libc_cv_cc_novzeroupper): Likewise.
37674 * sysdeps/i386/configure: Regenerated.
37677 * sysdeps/i386/fpu/s_cexp.S: Remove.
37678 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37679 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37680 * math/libm-test.inc (cexp_test): Add more tests.
37681 * sysdeps/i386/fpu/libm-test-ulps: Update.
37682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37684 2012-03-21 Allan McRae <allan@archlinux.org>
37686 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37688 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37691 * math/w_exp2.c: Do not include <float.h>.
37692 (o_threshold, u_threshold): Remove.
37693 (__exp2): Calculate result before checking finiteness and calling
37695 * math/w_exp2f.c: Likewise.
37696 * math/w_exp2l.c: Likewise.
37697 * math/libm-test.inc (exp2_test): Require overflow exception for
37701 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37702 range of signed 64-bit integers before using fistpll. Remove
37703 checks for whether integers fit in mantissa bits.
37704 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37705 the range of signed 32-bit integers before using fistpl. Remove
37706 checks for whether integers fit in mantissa bits.
37707 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37708 (__ieee754_powl): Test for y outside the range of signed 64-bit
37709 integers before using fistpll. Reduce 64-bit values to 63-bit
37711 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37712 divide-by-zero is raised for zero to large negative powers.
37713 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37714 (__ieee754_powl): Test for y outside the range of signed 64-bit
37715 integers before using fistpll. Reduce 64-bit values to 63-bit
37717 * math/libm-test.inc (pow_test): Add more tests.
37719 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37721 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37722 <stdio-common/_itoa.h>.
37723 * debug/segfault.c: Likewise.
37724 * elf/dl-cache.c: Likewise.
37725 * elf/dl-minimal.c: Likewise.
37726 * elf/dl-misc.c: Likewise.
37727 * elf/dl-sysdep.c: Likewise.
37728 * elf/dl-version.c: Likewise.
37729 * elf/rtld.c: Likewise.
37730 * hurd/hurdsock.c: Likewise.
37731 * hurd/lookup-retry.c: Likewise.
37732 * malloc/malloc.c: Likewise.
37733 * malloc/mtrace.c: Likewise.
37734 * nscd/nscd_getgr_r.c: Likewise.
37735 * nscd/nscd_getpw_r.c: Likewise.
37736 * nscd/nscd_getserv_r.c: Likewise.
37737 * posix/getopt_init.c: Likewise.
37738 * posix/wordexp.c: Likewise.
37739 * stdio-common/_itoa.c: Likewise.
37740 * stdio-common/printf_fphex.c: Likewise.
37741 * stdio-common/vfprintf.c: Likewise.
37742 * string/_strerror.c: Likewise.
37743 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37744 * sysdeps/i386/i686/hp-timing.h: Likewise.
37745 * sysdeps/mach/_strerror.c: Likewise.
37746 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37747 * sysdeps/mach/hurd/sethostid.c: Likewise.
37748 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37749 * sysdeps/mach/xpg-strerror.c: Likewise.
37750 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37751 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37752 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37753 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37754 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37755 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37756 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37757 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37758 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37759 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37760 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37761 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37762 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37763 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37764 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37765 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37766 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37767 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37768 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37769 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37770 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37772 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37774 * stdio-common/_itoa.h: Moved to ...
37775 * sysdeps/generic/_itoa.h: Here.
37777 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37779 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37780 instead of "_itoa.h" and "_itowa.h".
37781 * stdio-common/vfprintf.: Likewise.
37783 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37785 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37787 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37788 (__signbit): Likwise.
37789 (llrintf): Likwise.
37792 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37794 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37797 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37799 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37800 OVERFLOW_EXCEPTION_OK.
37801 * math/libm-test.inc ("Philosophy"): Update comment about
37803 (OVERFLOW_EXCEPTION): Define.
37804 (OVERFLOW_EXCEPTION_OK): Likewise.
37805 (INVALID_EXCEPTION_OK): Renumber.
37806 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37807 (IGNORE_ZERO_INF_SIGN): Likewise.
37808 (test_exceptions): Handle FE_OVERFLOW.
37809 (exp10_test): Expect overflow exceptions.
37810 (exp2_test): Likewise.
37811 (expm1_test): Likewise.
37812 (nextafter_test): Likewise.
37813 (pow_test): Likewise.
37814 (scalbn_test): Likewise.
37815 (scalbln_test): Likewise.
37817 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37819 * sysdeps/x86_64/bits/atomic.h
37820 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37822 (atomic_exchange_acq): Likewise.
37823 (__arch_exchange_and_add_body): Likewise.
37824 (__arch_add_body): Likewise.
37825 (atomic_add_negative): Likewise.
37826 (atomic_add_zero): Likewise.
37828 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37830 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37831 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37833 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37835 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37836 Check __x86_64__ instead of __WORDSIZE.
37838 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37840 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37842 2012-03-19 David S. Miller <davem@davemloft.net>
37844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37846 * sysdeps/sparc/fpu/fenv_private.h: New file.
37847 * sysdeps/sparc/fpu/math_private.h: Use it.
37848 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37850 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37851 (libc_feholdexcept_setroundl): Remove.
37852 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37854 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37855 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37857 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37859 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37860 int64_t instead of long int.
37861 (INSERT_WORDS64): Likwise.
37863 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37865 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37866 _Unwind_GetCFA return to _Unwind_Ptr first.
37868 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37871 * math/s_clog.c: Include <float.h>.
37872 (__clog): Scale large or subnormal inputs.
37873 * math/s_clogf.c: Likewise.
37874 * math/s_clogl.c: Likewise.
37875 * math/s_clog10.c: Include <float.h>.
37876 (M_LOG10_2): Define.
37877 (__clog10): Scale large or subnormal inputs.
37878 * math/s_clog10f.c: Likewise.
37879 * math/s_clog10l.c: Likewise.
37880 * math/libm-test.inc (clog_test): Add more tests.
37881 (clog10_test): Likewise.
37882 * sysdeps/i386/fpu/libm-test-ulps: Update.
37883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37886 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37888 * math/libm-test.inc (atan2_test): Add another test.
37890 * Makerules (common-objdir-compile): Remove.
37891 * sysdeps/unix/Makefile (config-generated): Do not add
37892 $(unix-generated) to variable.
37893 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37894 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37896 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37898 [generic bits/local_lim.h] (before-compile): Do not append to
37900 [generic bits/local_lim.h] (common-generated): Likewise.
37901 [generic sys/param.h] (before-compile): Do not append to variable.
37902 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37903 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37904 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37905 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37907 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37908 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37909 [generic sys/param.h] ($(addprefix
37910 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37911 [generic sys/param.h] (common-generated): Do not append to
37913 [generic sys/param.h] (sysdep_headers): Likewise.
37914 [generic bits/errno.h] (before-compile): Do not append to
37916 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37918 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37919 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37920 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37921 [generic bits/errno.h] (common-generated): Do not append to
37923 [generic bits/ioctls.h] (before-compile): Do not append to
37925 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37927 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37928 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37929 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37931 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37932 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37933 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37934 [generic bits/ioctls.h] (common-generated): Do not append to
37936 [generic sys/syscall.h] (syscall.h): Remove variable.
37937 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37939 [generic sys/syscall.h] (before-compile): Do not append to
37941 [generic sys/syscall.h] (common-generated): Likewise.
37942 * sysdeps/unix/errnos-tmpl.c: Remove file.
37943 * sysdeps/unix/errnos.awk: Likewise.
37944 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37945 * sysdeps/unix/ioctls.awk: Likewise.
37946 * sysdeps/unix/mk-local_lim.c: Likewise.
37947 * sysdeps/unix/snarf-ioctls: Likewise.
37949 2012-03-19 Richard Henderson <rth@twiddle.net>
37951 * sysdeps/i386/fpu/fenv_private.h: New file.
37952 * sysdeps/i386/fpu/math_private.h: Use it.
37953 (math_opt_barrier, math_force_eval): Remove.
37954 (libc_feholdexcept_setround_53bit): Remove.
37955 (libc_feupdateenv_53bit): Remove.
37956 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37957 (math_opt_barrier, math_force_eval): Remove.
37958 (libc_feholdexcept): Remove.
37959 (libc_feholdexcept_setround): Remove.
37960 (libc_fetestexcept, libc_fesetenv): Remove.
37961 (libc_feupdateenv_test): Remove.
37962 (libc_feupdateenv, libc_feholdsetround): Remove.
37963 (libc_feresetround): Remove.
37965 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37966 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37968 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37969 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37970 (libc_feupdateenv_testl): New.
37971 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37972 (libc_feupdateenv_testf): New.
37973 (libc_feupdateenv): Use libc_feupdateenv_test.
37974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37975 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37977 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37978 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37979 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37980 (libc_feresetround_noex): New.
37981 (libc_feresetround_noexf): New.
37982 (libc_feresetround_noexl): New.
37983 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37984 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37985 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37986 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37988 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37989 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37991 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37992 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37993 SET_RESTORE_ROUND_NOEX.
37994 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37995 SET_RESTORE_ROUND_NOEXF.
37996 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37997 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37998 (libc_feholdsetroundf): New.
37999 (libc_feresetround, libc_feresetroundf): New.
38001 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38002 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38003 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38005 * sysdeps/generic/math_private.h: Include <fenv.h>.
38006 (default_libc_feholdexcept): New.
38007 (default_libc_feholdexcept_setround): New.
38008 (default_libc_fesetenv, default_libc_feupdateenv): New.
38009 (libc_feholdexcept): Only define if undefined.
38010 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38011 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38012 (libc_feholdexcept_setroundl): Likewise.
38013 (libc_feholdexcept_setround_53bit): Likewise.
38014 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38015 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38016 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38017 (libc_feupdateenv_53bit): Likewise.
38018 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38019 (libc_feholdexcept): Convert from macro to inline function.
38020 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38021 (libc_fesetenv, libc_feupdateenv): Likewise.
38023 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38024 not previously defined.
38025 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38026 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38027 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38028 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38029 * sysdeps/ieee754/flt-32/math_private.h: New file.
38030 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38031 math_private.h below SET_FLOAT_WORD.
38032 (__isnan, __isinf_ns, __finite): Remove.
38033 (__isnanf, __isinf_nsf, __finitef): Remove.
38035 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38039 2012-03-17 David S. Miller <davem@davemloft.net>
38042 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38045 2012-03-16 David S. Miller <davem@davemloft.net>
38047 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38051 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38053 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38054 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38055 sysdep_routines when subdir is sysvipc.
38056 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38057 __getshmlba helper.
38059 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38061 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38063 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38066 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38068 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38069 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38070 (__lround): Renamed to ...
38071 (__llround): This. Replace long int with long long int.
38072 Define lround functions as aliases of llround functions.
38073 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38075 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38077 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38078 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38079 adresses to uintptr_t. Replace "long int" and "unsigned long
38080 int" with "greg_t" on va_arg.
38082 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38084 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38085 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38087 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38088 Move e_machine check before EI_CLASS check. Handle x32
38089 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38090 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38091 SKIP_EM_IA_64 and include
38092 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38094 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38095 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38096 (add_system_dir): New macro.
38098 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38099 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38101 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38112 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38114 * math/w_j0f.c (j0f): Likewise.
38116 * math/w_j0l.c (__j0l): Likewise.
38118 * math/w_j1.c (j1): Likewise.
38120 * math/w_j1f.c (j1f): Likewise.
38122 * math/w_j1l.c (__j1l): Likewise.
38124 * math/w_jn.c (jn): Likewise.
38126 * math/w_jnf.c (jnf): Likewise.
38128 * math/w_jnl.c (__jnl): Likewise.
38130 * math/libm-test.inc (j0_test): Add more tests.
38131 (j1_test): Likewise.
38132 (jn_test): Likewise. Add trailing semicolon to existing test.
38133 (y0_test): Likewise.
38134 (y1_test): Likewise.
38135 * sysdeps/i386/fpu/libm-test-ulps: Update.
38136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38140 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38141 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38142 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38143 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38144 (__tanl): Set errno for infinite argument.
38145 * sysdeps/i386/fpu/mptan.c: Remove.
38146 * sysdeps/i386/fpu/s_tan.S: Likewise.
38147 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38148 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38149 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38150 * math/libm-test.inc (tan_test): Add more tests and enable more
38151 tests for double and long double.
38152 * sysdeps/i386/fpu/libm-test-ulps: Update.
38153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38155 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38157 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38158 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38160 2012-03-16 Roland McGrath <roland@hack.frob.com>
38162 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38163 * configure.in: Use it for both main tree and add-ons.
38164 * configure: Regenerated.
38166 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38168 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38170 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38172 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38176 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38177 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38178 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38179 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38180 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38182 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38184 != 0 for prec == 2.
38185 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38186 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38187 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38188 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38189 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38190 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38191 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38192 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38193 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38194 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38195 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38196 * math/libm-test.inc (cos_test): Add more tests and enable more
38197 tests for long double.
38198 (sin_test): Likewise.
38199 (sincos_test): Likewise.
38200 * sysdeps/i386/fpu/libm-test-ulps: Update.
38201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38203 2012-03-16 David S. Miller <davem@davemloft.net>
38205 * sysdeps/sparc/fpu/math_private.h: New file.
38207 2012-03-15 David S. Miller <davem@davemloft.net>
38209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38223 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38224 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38226 * sysdeps/sparc/sparc-ifunc.h: New file.
38227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38253 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38254 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38269 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38270 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38272 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38274 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38278 2012-03-15 Andreas Jaeger <aj@suse.de>
38281 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38282 ieee754/flt-32 implementation for sin, cos and sincos.
38283 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38284 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38285 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38286 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38287 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38288 ieee754/flt-32 implementation for tan.
38290 * math/libm-test.inc (cos_test): Enable some large input tests for
38292 (sin_test): Likewise.
38293 (sincos_test): Likewise.
38294 (tan_test): Add tests for large input.
38296 * sysdeps/i386/fpu/libm-test-ulps: Update.
38298 2012-03-15 Andreas Jaeger <aj@suse.de>
38301 * math/libm-test.inc (cos_test): Add more test cases.
38302 (sin_test): Likewise.
38303 (sincos_test): Likewise.
38305 2012-03-15 Andreas Jaeger <aj@suse.de>
38308 * math/libm-test.inc (cos_test): Add a test case for large input
38310 (sin_test): Likewise.
38311 (sincos_test): Likewise.
38313 2012-03-15 Andreas Jaeger <aj@suse.de>
38314 Joseph Myers <joseph@codesourcery.com>
38317 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38318 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38319 * sysdeps/i386/fpu/branred.c: Likewise.
38320 * sysdeps/i386/fpu/dosincos.c: Likewise.
38321 * sysdeps/i386/fpu/mpa.c: Likewise.
38322 * sysdeps/i386/fpu/s_cos.S: Likewise.
38323 * sysdeps/i386/fpu/s_sin.S: Likewise.
38324 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38325 * sysdeps/i386/fpu/sincos32.c: Likewise.
38327 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38329 (libc_feupdateenv_53bit): Define.
38330 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38332 (libc_feupdateenv_53bit): Define.
38334 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38335 53 bit (without extend i386 double precision).
38337 * math/libm-test.inc (sincos_test): Add tests for large input.
38341 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38343 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38347 2012-03-15 David S. Miller <davem@davemloft.net>
38349 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38350 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38351 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38352 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38377 fmin/fmax sysdep routines.
38378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38380 2012-03-14 David S. Miller <davem@davemloft.net>
38382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38386 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38387 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38388 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38389 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38402 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38403 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38454 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38459 * sysdeps/sparc/configure.in: New file.
38460 * sysdeps/sparc/configure: Generate.
38461 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38462 * configure: Regenerate.
38463 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38464 * config.make.in (have-as-vis3): New.
38465 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38466 available use -Av9d instead of -Av9a.
38467 * sysdeps/sparc/sparc64/Makefile: Likewise.
38468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38477 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38478 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38479 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38480 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38481 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38483 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38484 fzeros/fnegs to load 0x80000000 into a float register instead of
38486 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38488 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38492 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38493 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38494 ($(inst_includedir)/bits/syscall.h): Remove rule.
38495 ($(objpfx)bits/syscall.d): Include instead of
38496 $(objpfx)syscall-list.d.
38497 (generated): Change syscall-list.h and syscall-list.d to
38498 bits/syscall.h and bits/syscall.d.
38500 2012-03-14 Roland McGrath <roland@hack.frob.com>
38503 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38505 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38508 * math/s_csqrt.c: Include <float.h>.
38509 (__csqrt): Scale large or subnormal inputs.
38510 * math/s_csqrtf.c: Likewise.
38511 * math/s_csqrtl.c: Likewise.
38512 * math/libm-test.inc (csqrt_test): Add more tests.
38513 * sysdeps/i386/fpu/libm-test-ulps: Update.
38514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38517 * math/libm-test.inc (hypot_test): Add more tests.
38519 2012-03-13 David S. Miller <davem@davemloft.net>
38522 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38523 double-precision for the calculation instead of scaling.
38525 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38527 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38528 manipulate bits before adding and subtracting TWO52[sx].
38529 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38530 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38532 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38534 2012-03-13 David S. Miller <davem@davemloft.net>
38536 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38537 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38539 rtld-global-offsets.h
38540 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38542 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38545 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38547 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38548 'err' in the ifdef scope in which it is actually used.
38550 * nss/nss_db/db-init.c: Include string.h
38552 2012-03-12 David S. Miller <davem@davemloft.net>
38554 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38555 masking out of the most significant byte of random value used.
38556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38557 Fix coding style in previous change.
38559 * sysdeps/unix/sysv/linux/kernel-features.h
38560 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38561 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38563 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38566 2012-03-11 David S. Miller <davem@davemloft.net>
38568 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38569 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38570 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38571 for 'resultvar' otherwise things get truncated on 64-bit.
38573 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38574 Fix masking out of the most significant byte of random value used.
38576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38578 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38582 2012-03-09 David S. Miller <davem@davemloft.net>
38584 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38585 variables with appropriate CPP guards.
38586 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38587 from the frame pointer, not the stack pointer. Correct layout
38588 comments. Fix test on resulting framesize and the management of
38589 the outregs buffer for pltexit. Preserve floating point return
38590 values across _dl_call_pltexit call.
38591 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38592 framesize and the management of the outregs buffer for pltexit.
38593 Preserve floating point return values across _dl_call_pltexit
38595 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38596 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38597 (la_sparc64_gnu_pltexit): New functions.
38598 (print_exit): Fix format string for return register value.
38600 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38602 * sunrpc/Makefile (others): Add rpcgen.
38603 ($(objpfx)rpcgen): Remove special build rule and dependency on
38605 * sunrpc/rpcgen.c: New file.
38607 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38610 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38611 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38612 * sysdeps/i386/crti.S: Likewise.
38613 * sysdeps/i386/crtn.S: Likewise.
38614 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38615 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38616 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38617 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38618 * sysdeps/sh/crti.S: Likewise.
38619 * sysdeps/sh/crtn.S: Likewise.
38620 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38623 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38625 * locale/programs/locfile-kw.gperf: Likewise.
38626 * locale/programs/charmap-kw.h: Regenerated.
38627 * locale/programs/locfile-kw.h: Likewise.
38630 * intl/plural.y: Replace FSF snail mail address with URL.
38631 * intl/plural.c: Regenerated.
38633 2012-03-09 Richard Henderson <rth@twiddle.net>
38635 * include/math_private.h: Remove file.
38636 * math/math_private.h: Move file ...
38637 * sysdeps/generic/math_private.h: ... here.
38639 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38640 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38641 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38643 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38644 and <math_private.h>.
38645 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38646 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38647 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38648 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38649 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38650 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38651 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38653 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38654 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38656 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38657 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38658 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38659 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38660 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38661 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38662 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38668 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38669 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38670 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38671 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38672 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38673 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38674 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38675 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38676 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38677 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38678 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38679 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38680 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38681 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38682 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38683 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38684 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38685 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38686 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38687 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38688 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38689 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38690 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38691 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38692 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38693 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38694 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38695 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38696 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38697 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38698 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38699 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38700 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38701 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38702 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38703 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38704 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38705 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38706 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38707 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38708 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38709 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38710 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38711 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38712 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38713 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38714 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38715 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38716 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38717 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38718 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38720 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38724 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38725 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38726 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38727 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38728 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38729 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38732 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38733 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38734 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38735 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38736 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38737 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38738 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38739 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38740 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38741 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38742 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38743 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38744 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38745 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38746 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38747 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38748 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38749 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38750 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38751 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38752 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38753 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38754 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38755 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38756 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38757 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38758 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38759 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38760 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38761 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38762 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38763 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38764 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38765 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38766 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38767 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38768 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38769 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38770 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38771 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38772 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38773 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38774 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38775 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38776 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38777 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38778 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38779 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38780 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38781 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38782 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38783 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38784 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38785 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38786 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38787 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38788 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38789 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38790 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38791 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38792 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38793 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38794 * sysdeps/ieee754/k_standard.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38798 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38799 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38800 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38801 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38802 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38803 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38804 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38805 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38806 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38807 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38808 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38809 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38810 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38812 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38815 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38816 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38817 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38818 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38819 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38820 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38821 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38822 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38823 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38824 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38825 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38826 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38827 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38828 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38829 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38830 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38831 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38832 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38833 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38834 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38835 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38836 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38837 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38838 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38839 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38840 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38841 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38842 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38843 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38844 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38845 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38846 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38847 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38848 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38849 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38850 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38851 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38852 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38853 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38854 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38855 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38856 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38857 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38858 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38859 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38860 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38861 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38862 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38863 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38864 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38866 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38867 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38868 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38869 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38870 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38871 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38872 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38873 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38875 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38876 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38877 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38879 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38880 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38881 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38882 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38883 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38884 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38885 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38886 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38890 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38891 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38896 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38897 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38898 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38899 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38910 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38911 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38914 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38915 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38917 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38922 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38923 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38925 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38926 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38927 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38930 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38933 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38935 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38936 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38938 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38939 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38940 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38941 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38942 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38943 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38944 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38945 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38946 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38947 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38948 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38949 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38950 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38951 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38952 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38953 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38954 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38955 * sysdeps/ieee754/s_lib_version.c: Likewise.
38956 * sysdeps/ieee754/s_matherr.c: Likewise.
38957 * sysdeps/ieee754/s_signgam.c: Likewise.
38958 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38959 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38960 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38961 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38962 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38963 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38964 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38965 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38966 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38967 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38968 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38969 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38970 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38971 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38972 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38973 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38974 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38975 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38976 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38980 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38982 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38983 * sunrpc/rpc_main.c: Likewise.
38984 * sunrpc/rpc_svcout.c: Likewise.
38986 2012-03-09 David S. Miller <davem@davemloft.net>
38988 * include/math_private.h: New file.
38990 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38992 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38993 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38994 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38995 from <bits/socket_type.h>.
38996 (enum __socket_type): Don't define here.
38997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38999 bits/socket_type.h.
39002 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39003 checking __USE_GNU.
39005 * Makerules ($(inst_includedir)/%.h): New rule.
39006 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39007 (install-others): Remove variable setting.
39008 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39010 2012-03-08 Richard Henderson <rth@twiddle.net>
39012 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39013 from macro to inline function; merge with the
39014 !__LIBC_INTERNAL_MATH_INLINES version.
39015 (__ieee754_sqrtf): Likewise.
39017 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39018 to inline function.
39019 (__rintf, __floor, __floorf): Likewise.
39021 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39022 macro to inline function.
39023 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39025 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39026 not <math/math_private.h>.
39028 2012-03-08 David S. Miller <davem@davemloft.net>
39030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39032 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39034 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39036 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39038 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39039 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39041 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39043 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39044 be defined individually, they must be defined as a block. Define
39045 S for printing a string instead of hidint the different by using a
39046 macro for adding the 'l'.
39047 * stdio-common/tst-fphex-wide.c: Adjust.
39049 2012-03-07 Marek Polacek <polacek@redhat.com>
39051 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39053 2012-03-08 Marek Polacek <polacek@redhat.com>
39056 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39057 * stdio-common/tst-fphex.c: Define a few macros to make the
39058 test reusable. Use them.
39059 * stdio-common/tst-fphex-wide.c: New file.
39061 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39064 * manual/macros.texi (gnusystems): New macro.
39065 (nongnusystems): Likewise.
39066 (gnulinuxhurdsystems): Likewise.
39067 (gnuhurdsystems): Likewise..
39068 (gnulinuxsystems): Likewise.
39069 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39070 variants of the GNU system, not "GNU system".
39071 * manual/conf.texi: Likewise.
39072 * manual/errno.texi: Likewise. Update example of errno macro
39074 * manual/filesys.texi: Likewise.
39075 (getumask): Document as specific to GNU/Hurd.
39076 * manual/install.texi: Likewise. Reword some references to
39078 * manual/intro.texi: Likewise.
39079 * manual/io.texi: Likewise.
39080 (File Name Portability): Detail which constraints are inapplicable
39081 to all GNU systems and which are only inapplicable to GNU/Hurd.
39082 * manual/job.texi: Likewise.
39083 * manual/llio.texi: Likewise.
39084 (O_NOCTTY): Document as present on GNU/Linux.
39085 * manual/maint.texi: Likewise.
39086 * manual/memory.texi: Likewise.
39087 * manual/pattern.texi: Likewise.
39088 * manual/pipe.texi: Likewise.
39089 * manual/process.texi: Likewise.
39090 * manual/resource.texi: Likewise.
39091 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39093 * manual/setjmp.texi: Likewise.
39094 * manual/signal.texi: Likewise.
39095 * manual/startup.texi: Likewise.
39096 * manual/stdio.texi: Likewise.
39097 * manual/terminal.texi: Likewise.
39098 (ONLCR): Document as POSIX.
39099 (OXTABS): Document availability on GNU/Linux as XTABS.
39100 (ONOEOT): Document availability separately from other bits.
39101 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39102 * manual/time.texi: Likewise.
39103 * manual/users.texi: Likewise.
39104 * INSTALL: Regenerated.
39105 * sysdeps/gnu/errlist.c: Regenerated.
39107 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39108 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39109 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39111 * configure: Regenerated.
39113 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39115 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39116 default includes instead of AC_HEADER_CHECK.
39117 * sysdeps/i386/configure: Regenerated.
39120 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39121 * math/s_cacoshf.c (__cacoshf): Likewise.
39122 * math/s_cacoshl.c (__cacoshl): Likewise.
39123 * math/s_casinh.c (__casinh): Set signs of result from argument.
39124 * math/s_casinhf.c (__casinhf): Likewise.
39125 * math/s_casinhl.c (__casinhl): Likewise.
39126 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39127 (casinh_test): Add more tests.
39128 * sysdeps/i386/fpu/libm-test-ulps: Update.
39129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39131 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39133 * po/zh_TW.po: Update from translation team.
39135 * login/Makefile (distribute): Remove variable.
39136 * catgets/Makefile: Likewise.
39137 * mach/Makefile: Likewise.
39138 * malloc/Makefile: Likewise.
39139 * misc/Makefile: Likewise.
39140 * iconv/Makefile: Likewise.
39141 * nscd/Makefile: Likewise.
39142 * hurd/Makefile: Likewise.
39143 * manual/Makefile: Likewise.
39144 * locale/Makefile: Likewise.
39145 * intl/Makefile: Likewise.
39146 * conform/Makefile: Likewise.
39147 * nss/Makefile: Likewise.
39148 * time/Makefile: Likewise.
39149 * soft-fp/Makefile: Likewise.
39150 * dirent/Makefile: Likewise.
39151 * gmon/Makefile: Likewise.
39152 * po/Makefile: Likewise.
39153 * rt/Makefile: Likewise.
39154 * socket/Makefile: Likewise.
39155 * math/Makefile: Likewise.
39156 * signal/Makefile: Likewise.
39157 * debug/Makefile: Likewise.
39158 * elf/Makefile: Likewise.
39159 * timezone/Makefile: Likewise.
39160 * stdlib/Makefile: Likewise.
39161 * iconvdata/Makefile: Likewise.
39162 * sunrpc/Makefile: Likewise.
39163 * io/Makefile: Likewise.
39164 * argp/Makefile: Likewise.
39165 * inet/Makefile: Likewise.
39166 * hesiod/Makefile: Likewise.
39167 * grp/Makefile: Likewise.
39168 * csu/Makefile: Likewise.
39169 * wctype/Makefile: Likewise.
39170 * crypt/Makefile: Likewise.
39171 * libio/Makefile: Likewise.
39172 * string/Makefile: Likewise.
39173 * nis/Makefile: Likewise.
39174 * resolv/Makefile: Likewise.
39175 * stdio-common/Makefile: Likewise.
39176 * wcsmbs/Makefile: Likewise.
39177 * dlfcn/Makefile: Likewise.
39178 * posix/Makefile: Likewise.
39181 * timezone/Makefile: Don't install timezone files, just the programs
39184 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39186 * nss/databases.def: Add missing gshadow entry.
39188 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39190 2012-03-06 Marek Polacek <polacek@redhat.com>
39193 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39194 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39195 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39196 * stdio-common/tst-long-dbl-fphex.c: New file.
39198 2012-03-06 David S. Miller <davem@davemloft.net>
39200 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39201 (set_obp_int): New function.
39202 (get_obp_int): New function.
39203 (__get_clockfreq_via_dev_openprom): Likewise.
39204 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39205 Avoid unused variable warnings on 'val' and use builtin_expect.
39206 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39208 (INLINE_CLONE_SYSCALL): Likewise.
39210 2012-03-05 David S. Miller <davem@davemloft.net>
39212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39214 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39218 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39219 only for |x| >= 40.
39220 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39222 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39225 Replace gettimeofday with __vdso_gettimeofday.
39227 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39228 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39229 __vdso_clock_gettime and __vdso_getcpu.
39231 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39232 time with __vdso_time.
39234 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39236 * manual/lang.texi (size_t): Note types to which size_t may be
39237 equivalent with the GNU C Library, but do not describe when
39238 differences between them are significant.
39240 2012-03-05 Andreas Jaeger <aj@suse.de>
39242 * sysdeps/i386/fpu/libm-test-ulps: Update.
39244 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39247 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39248 (__ieee754_pow): Save and restore rounding mode and use
39249 round-to-nearest for main computations.
39250 * math/libm-test.inc (pow_test_tonearest): New function.
39251 (pow_test_towardzero): Likewise.
39252 (pow_test_downward): Likewise.
39253 (pow_test_upward): Likewise.
39254 (main): Call the new functions.
39255 * sysdeps/i386/fpu/libm-test-ulps: Update.
39256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39259 * math/libm-test.inc (cosh_test_tonearest): New function.
39260 (cosh_test_towardzero): Likewise.
39261 (cosh_test_downward): Likewise.
39262 (cosh_test_upward): Likewise.
39263 (sinh_test_tonearest): Likewise.
39264 (sinh_test_towardzero): Likewise.
39265 (sinh_test_downward): Likewise.
39266 (sinh_test_upward): Likewise.
39267 (main): Call the new functions.
39268 * sysdeps/i386/fpu/libm-test-ulps: Update.
39269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39271 2012-03-05 Tom de Vries <tom@codesourcery.com>
39273 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39274 default stack guard is set in last bytes.
39275 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39277 2012-03-05 Kees Cook <keescook@chromium.org>
39279 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39282 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39283 possibly allocate from heap instead of stack.
39284 * stdio-common/bug-vfprintf-nargs.c: New file.
39285 * stdio-common/Makefile (tests): Add nargs overflow test.
39287 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39291 2012-03-03 Marek Polacek <polacek@redhat.com>
39293 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39294 * math/math_private.h: Likewise.
39295 * stdlib/tst-strtod.c: Likewise.
39296 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39297 * sysdeps/x86_64/bits/atomic.h: Likewise.
39299 2012-03-02 David S. Miller <davem@davemloft.net>
39301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39305 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39306 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39307 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39308 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39310 2012-03-02 Roland McGrath <roland@hack.frob.com>
39313 * manual/examples/README: New file, says the example source files
39314 can be used under GPL>=2.
39315 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39316 line containing just "*/".
39317 * manual/examples/add.c: Add copyright header (GPL>=2).
39318 * manual/examples/argp-ex1.c: Likewise.
39319 * manual/examples/argp-ex2.c: Likewise.
39320 * manual/examples/argp-ex3.c: Likewise.
39321 * manual/examples/argp-ex4.c: Likewise.
39322 * manual/examples/atexit.c: Likewise.
39323 * manual/examples/db.c: Likewise.
39324 * manual/examples/dir.c: Likewise.
39325 * manual/examples/dir2.c: Likewise.
39326 * manual/examples/execinfo.c: Likewise.
39327 * manual/examples/filecli.c: Likewise.
39328 * manual/examples/filesrv.c: Likewise.
39329 * manual/examples/fmtmsgexpl.c: Likewise.
39330 * manual/examples/genpass.c: Likewise.
39331 * manual/examples/inetcli.c: Likewise.
39332 * manual/examples/inetsrv.c: Likewise.
39333 * manual/examples/isockad.c: Likewise.
39334 * manual/examples/longopt.c: Likewise.
39335 * manual/examples/memopen.c: Likewise.
39336 * manual/examples/memstrm.c: Likewise.
39337 * manual/examples/mkfsock.c: Likewise.
39338 * manual/examples/mkisock.c: Likewise.
39339 * manual/examples/mygetpass.c: Likewise.
39340 * manual/examples/pipe.c: Likewise.
39341 * manual/examples/popen.c: Likewise.
39342 * manual/examples/rprintf.c: Likewise.
39343 * manual/examples/search.c: Likewise.
39344 * manual/examples/select.c: Likewise.
39345 * manual/examples/setjmp.c: Likewise.
39346 * manual/examples/sigh1.c: Likewise.
39347 * manual/examples/sigusr.c: Likewise.
39348 * manual/examples/stpcpy.c: Likewise.
39349 * manual/examples/strdupa.c: Likewise.
39350 * manual/examples/strftim.c: Likewise.
39351 * manual/examples/strncat.c: Likewise.
39352 * manual/examples/subopt.c: Likewise.
39353 * manual/examples/swapcontext.c: Likewise.
39354 * manual/examples/termios.c: Likewise.
39355 * manual/examples/testopt.c: Likewise.
39356 * manual/examples/testpass.c: Likewise.
39357 * manual/examples/timeval_subtract.c: Likewise.
39360 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39362 * manual/timeval_subtract.c.texi: ... here, new file.
39364 2012-03-02 David S. Miller <davem@davemloft.net>
39366 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39368 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39371 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39372 (__sin): Save and restore rounding mode and use round-to-nearest
39373 for all computations.
39374 (__cos): Save and restore rounding mode and use round-to-nearest
39375 for all computations.
39376 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39378 (tan): Save and restore rounding mode and use round-to-nearest for
39380 * math/libm-test.inc (cos_test_tonearest): New function.
39381 (cos_test_towardzero): Likewise.
39382 (cos_test_downward): Likewise.
39383 (cos_test_upward): Likewise.
39384 (sin_test_tonearest): Likewise.
39385 (sin_test_towardzero): Likewise.
39386 (sin_test_downward): Likewise.
39387 (sin_test_upward): Likewise.
39388 (tan_test_tonearest): Likewise.
39389 (tan_test_towardzero): Likewise.
39390 (tan_test_downward): Likewise.
39391 (tan_test_upward): Likewise.
39392 (main): Call the new functions.
39393 * sysdeps/i386/fpu/libm-test-ulps: Update.
39394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39397 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39398 small n, then large n, before computing and testing k+n.
39399 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39404 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39405 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39406 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39407 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39408 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39409 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39410 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39411 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39412 * math/libm-test.inc (scalbn_test): Add more tests.
39413 (scalbln_test): Likewise.
39415 * manual/filesys.texi (mode_t): Describe constraints on size and
39416 signedness, not exact equivalence to a particular type.
39418 (ino64_t): Likewise.
39420 (nlink_t): Likewise.
39421 (blkcnt_t): Likewise.
39422 (blkcnt64_t): Likewise.
39423 * manual/llio.texi (off_t): Likewise.
39426 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39427 (__ieee754_exp): Save and restore rounding mode and use
39428 round-to-nearest for all computations.
39429 * math/libm-test.inc (exp_test_tonearest): New function.
39430 (exp_test_towardzero): Likewise.
39431 (exp_test_downward): Likewise.
39432 (exp_test_upward): Likewise.
39433 (main): Call the new functions.
39434 * sysdeps/i386/fpu/libm-test-ulps: Update.
39435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39437 2012-03-01 Chris Demetriou <cgd@google.com>
39439 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39440 have predictable order.
39442 2012-03-01 David S. Miller <davem@davemloft.net>
39444 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39446 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39447 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39448 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39449 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39451 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39452 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39453 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39455 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39456 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39457 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39458 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39459 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39463 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39464 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39465 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39467 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39468 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39469 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39470 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39471 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39473 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39474 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39475 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39476 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39477 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39478 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39480 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39481 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39483 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39484 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39485 * sysdeps/sparc/elf/configure: Regenerated.
39487 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39489 * configure.in (AS, LD): Require binutils 2.20 or later.
39490 * configure: Regenerated.
39491 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39492 as required minimum version.
39493 * INSTALL: Regenerated.
39497 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39498 before squaring exponent.
39499 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39500 bottom long double and 27 bits of top long double before squaring
39502 * math/libm-test.inc (erfc_test): Add more tests.
39503 * sysdeps/i386/fpu/libm-test-ulps: Update.
39504 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39507 2012-03-01 Kai Tietz <ktietz@redhat.com>
39509 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39510 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39511 containing bit-fields.
39512 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39513 * soft-fp/single.h (_FP_UNION_S): Likewise.
39514 * soft-fp/double.h (_FP_UNION_D): Likewise.
39516 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39519 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39520 not include ../strcmp.S.
39521 [USE_AS_STRNCASECMP_L]: Likewise.
39522 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39523 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39524 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39525 (__strncasecmp_l_ia32): Define as alias to
39526 __strncasecmp_l_nonascii.
39529 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39530 * sysdeps/i386/fpu/libm-test-ulps: Update.
39531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39533 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39536 2012-02-29 Jeff Law <law@redhat.com>
39538 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39539 out of bounds read.
39541 2012-02-29 Marek Polacek <polacek@redhat.com>
39544 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39545 * elf/Makefile: Add rules to run tst-unused-dep.out.
39547 2012-02-28 David S. Miller <davem@davemloft.net>
39549 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39550 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39551 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39552 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39553 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39554 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39556 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39558 * math/libm-test.inc (llround_test): Move one test from
39559 lround_test. Use TEST_f_L in moved test.
39560 (lround_test): Move misplaced test to llround_test. Add testcase
39563 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39565 * sysdeps/x86_64/fpu/e_expf.S: New file.
39566 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39568 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39571 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39572 of remain_len that may cause incomplete multi-byte character and
39574 * posix/bug-regex33.c: New file.
39575 * posix/Makefile (tests): Add bug-regex33.
39577 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39579 * manual/macros.texi: New file.
39580 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39581 * manual/libc.texinfo: Include macros.texi.
39582 * manual/creatute.texi: Likewise.
39583 * manual/install.texi: Likewise.
39584 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39585 @glibcadj{} in references to the GNU C Library.
39586 * manual/charset.texi: Likewise.
39587 * manual/conf.texi: Likewise.
39588 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39589 when not using those macros.
39590 * manual/creature.texi: Likewise.
39591 * manual/crypt.texi: Likewise.
39592 * manual/errno.texi: Likewise.
39593 * manual/filesys.texi: Likewise.
39594 * manual/header.texi: Likewise.
39595 * manual/install.texi: Likewise.
39596 * manual/intro.texi: Likewise.
39597 * manual/io.texi: Likewise.
39598 * manual/job.texi: Likewise.
39599 * manual/lang.texi: Likewise.
39600 * manual/libc.texiinfo: Likewise.
39601 * manual/llio.texi: Likewise.
39602 * manual/locale.texi: Likewise.
39603 * manual/maint.texi: Likewise.
39604 * manual/math.texi: Likewise.
39605 * manual/memory.texi: Likewise.
39606 * manual/message.texi: Likewise.
39607 * manual/nss.texi: Likewise.
39608 * manual/pattern.texi: Likewise.
39609 * manual/process.texi: Likewise.
39610 * manual/resource.texi: Likewise.
39611 * manual/search.texi: Likewise.
39612 * manual/setjmp.texi: Likewise.
39613 * manual/signal.texi: Likewise.
39614 * manual/socket.texi: Likewise.
39615 * manual/startup.texi: Likewise.
39616 * manual/stdio.texi: Likewise.
39617 * manual/string.texi: Likewise.
39618 * manual/sysinfo.texi: Likewise.
39619 * manual/syslog.texi: Likewise.
39620 * manual/terminal.texi: Likewise.
39621 * manual/time.texi: Likewise.
39622 * manual/users.texi: Likewise.
39623 * INSTALL: Regenerated.
39624 * NOTES: Regenerated.
39625 * sysdeps/gnu/errlist.c: Regenerated.
39627 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39629 * include/dirent.h: Include <dirstream.h> before
39632 2012-02-28 David S. Miller <davem@davemloft.net>
39634 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39635 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39636 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39637 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39639 2012-02-27 David S. Miller <davem@davemloft.net>
39641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39643 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39644 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39647 frame pointer instead of stack pointer relative arg slot.
39648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39649 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39650 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39652 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39655 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39657 2012-02-27 David S. Miller <davem@davemloft.net>
39659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39663 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39664 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39665 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39666 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39668 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39670 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39671 later. Allow versions 5-9.
39672 * configure: Regenerated.
39673 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39674 required minimum version and 4.6 as recommended version. Do not
39675 mention bugs in GCC 2.7 and 2.8.
39676 * INSTALL: Regenerated.
39678 2012-02-27 David S. Miller <davem@davemloft.net>
39680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39684 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39685 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39686 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39687 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39689 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39690 manipulate bits before adding and subtracting TWO112[sx].
39691 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39693 2012-02-27 Roland McGrath <roland@hack.frob.com>
39696 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39697 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39698 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39699 being in POSIX, because they are in 1003.1-2008.
39701 * rt/tst-aio.c: Include <fcntl.h>.
39702 * rt/tst-aio7.c: Likewise.
39703 * rt/tst-aio64.c: Likewise.
39705 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39707 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39709 * manual/install.texi (--with-headers): Describe headers as
39710 interface headers, not private headers.
39711 (Specific advice for GNU/Linux systems): Describe use of headers
39712 from "make headers_install", not private headers from older
39714 * INSTALL: Regenerated.
39715 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39717 * sysdeps/unix/sysv/linux/configure: Regenerated.
39719 * manual/llio.texi (fclean): Remove documentation.
39721 * manual/Makefile (libc-texi-generated): New variable. Include
39723 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39724 $(libc-texi-generated), not duplicated list of files.
39725 (version.texi, stamp-version): New rules.
39726 (realclean): Remove $(libc-texi-generated), not individual files
39727 from that list. Do not remove dir-add.texinfo.
39728 * manual/libc.texinfo: Comment out uses of edition numbers and
39729 references to printed manual. Remove last-updated dates.
39730 (EDITION): Comment out.
39732 (VERSION, UPDATED): Remove.
39733 (version.texi): Include.
39735 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39737 * sysdeps/posix/spawni.c: Include <signal.h>.
39738 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39739 * sysdeps/pthread/aio_fsync.c: Likewise.
39741 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39743 * conform/Makefile (tests): Run only when not cross-compiling and
39744 when fast-check is not defined.
39746 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39747 * conform/data/limits.h-data: Fixes for POSIX2008.
39748 * conform/run-conformtest.sh: Run all tests.
39749 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39751 * include/bits/dlfcn.h: Likewise.
39752 * include/langinfo.h: Likewise.
39753 * include/monetary.h: Likewise.
39754 * include/sys/poll.h: Likewise.
39756 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39758 * posix/spawn.h: Define __need_sigset_t.
39759 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39760 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39761 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39762 to get sigevent_t only.
39763 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39764 only for __USE_GNU.
39765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39766 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39767 process_vm_writev only for __USE_GNU.
39768 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39770 * conform/Makefile: For now ignore errors from run-conformtest.
39771 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39772 POSIX to avoid namespace pollution. Don't prepend headers.
39773 * conform/data/aio.h-data: Fixes for POSIX testing.
39774 * conform/data/fcntl.h-data: Likewise.
39775 * conform/data/glob.h-data: Likewise.
39776 * conform/data/grp.h-data: Likewise.
39777 * conform/data/pthread.h-data: Likewise.
39778 * conform/data/pwd.h-data: Likewise.
39779 * conform/data/signal.h-data: Likewise.
39780 * conform/data/spawn.h-data: Likewise.
39781 * conform/data/stdio.h-data: Likewise.
39782 * conform/data/stdlib.h-data: Likewise.
39783 * conform/data/stropts.h-data: Likewise.
39784 * conform/data/sys/mman.h-data: Likewise.
39785 * conform/data/sys/stat.h-data: Likewise.
39786 * conform/data/sys/types.h-data: Likewise.
39787 * conform/data/sys/wait.h-data: Likewise.
39788 * conform/data/time.h-data: Likewise.
39789 * conform/data/unistd.h-data: Likewise.
39790 * conform/data/utime.h-data: Likewise.
39792 * io/sys/stat.h: fchmod was always in POSIX.
39793 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39794 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39795 * rt/aio.h: Define __need_timespec before including <time.h>.
39796 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39797 struct. Add forward declaration of pthread_attr_t and use it in
39799 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39800 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39801 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39802 always remove CLK_TCK definition.
39804 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39806 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39808 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39810 * conform/run-conformtest.sh: New file.
39811 * conform/Makefile: Run run-conformtest for tests.
39812 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39815 * conform/data/uchar.h-data: New file.
39816 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39817 * conform/data/arpa/inet.h-data: Likewise.
39818 * conform/data/assert.h-data: Likewise.
39819 * conform/data/complex.h-data: Likewise.
39820 * conform/data/cpio.h-data: Likewise.
39821 * conform/data/ctype.h-data: Likewise.
39822 * conform/data/dirent.h-data: Likewise.
39823 * conform/data/dlfcn.h-data: Likewise.
39824 * conform/data/errno.h-data: Likewise.
39825 * conform/data/fcntl.h-data: Likewise.
39826 * conform/data/float.h-data: Likewise.
39827 * conform/data/fmtmsg.h-data: Likewise.
39828 * conform/data/fnmatch.h-data: Likewise.
39829 * conform/data/ftw.h-data: Likewise.
39830 * conform/data/glob.h-data: Likewise.
39831 * conform/data/grp.h-data: Likewise.
39832 * conform/data/iconv.h-data: Likewise.
39833 * conform/data/inttypes.h-data: Likewise.
39834 * conform/data/langinfo.h-data: Likewise.
39835 * conform/data/libgen.h-data: Likewise.
39836 * conform/data/limits.h-data: Likewise.
39837 * conform/data/locale.h-data: Likewise.
39838 * conform/data/math.h-data: Likewise.
39839 * conform/data/monetary.h-data: Likewise.
39840 * conform/data/mqueue.h-data: Likewise.
39841 * conform/data/ndbm.h-data: Likewise.
39842 * conform/data/net/if.h-data: Likewise.
39843 * conform/data/netdb.h-data: Likewise.
39844 * conform/data/netinet/in.h-data: Likewise.
39845 * conform/data/nl_types.h-data: Likewise.
39846 * conform/data/poll.h-data: Likewise.
39847 * conform/data/pthread.h-data: Likewise.
39848 * conform/data/pwd.h-data: Likewise.
39849 * conform/data/regex.h-data: Likewise.
39850 * conform/data/sched.h-data: Likewise.
39851 * conform/data/search.h-data: Likewise.
39852 * conform/data/semaphore.h-data: Likewise.
39853 * conform/data/setjmp.h-data: Likewise.
39854 * conform/data/signal.h-data: Likewise.
39855 * conform/data/spawn.h-data: Likewise.
39856 * conform/data/stdarg.h-data: Likewise.
39857 * conform/data/stdio.h-data: Likewise.
39858 * conform/data/stdlib.h-data: Likewise.
39859 * conform/data/string.h-data: Likewise.
39860 * conform/data/strings.h-data: Likewise.
39861 * conform/data/stropts.h-data: Likewise.
39862 * conform/data/sys/ipc.h-data: Likewise.
39863 * conform/data/sys/mman.h-data: Likewise.
39864 * conform/data/sys/msg.h-data: Likewise.
39865 * conform/data/sys/resource.h-data: Likewise.
39866 * conform/data/sys/select.h-data: Likewise.
39867 * conform/data/sys/sem.h-data: Likewise.
39868 * conform/data/sys/shm.h-data: Likewise.
39869 * conform/data/sys/socket.h-data: Likewise.
39870 * conform/data/sys/stat.h-data: Likewise.
39871 * conform/data/sys/statvfs.h-data: Likewise.
39872 * conform/data/sys/time.h-data: Likewise.
39873 * conform/data/sys/timeb.h-data: Likewise.
39874 * conform/data/sys/times.h-data: Likewise.
39875 * conform/data/sys/types.h-data: Likewise.
39876 * conform/data/sys/uio.h-data: Likewise.
39877 * conform/data/sys/un.h-data: Likewise.
39878 * conform/data/sys/utsname.h-data: Likewise.
39879 * conform/data/sys/wait.h-data: Likewise.
39880 * conform/data/syslog.h-data: Likewise.
39881 * conform/data/tar.h-data: Likewise.
39882 * conform/data/termios.h-data: Likewise.
39883 * conform/data/utime.h-data: Likewise.
39884 * conform/data/utmpx.h-data: Likewise.
39885 * conform/data/varargs.h-data: Likewise.
39886 * conform/data/wchar.h-data: Likewise.
39887 * conform/data/wctype.h-data: Likewise.
39888 * conform/data/wordexp.h-data: Likewise.
39890 * include/stropts.h: New file.
39891 * include/uchar.h: New file.
39892 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39893 * include/assert.h: Likewise.
39894 * include/ctype.h: Likewise.
39895 * include/dirent.h: Likewise.
39896 * include/dlfcn.h: Likewise.
39897 * include/fcntl.h: Likewise.
39898 * include/fnmatch.h: Likewise.
39899 * include/glob.h: Likewise.
39900 * include/grp.h: Likewise.
39901 * include/libio.h: Likewise.
39902 * include/locale.h: Likewise.
39903 * include/math.h: Likewise.
39904 * include/net/if.h: Likewise.
39905 * include/netdb.h: Likewise.
39906 * include/netinet/in.h: Likewise.
39907 * include/pthread.h: Likewise.
39908 * include/pwd.h: Likewise.
39909 * include/regex.h: Likewise.
39910 * include/sched.h: Likewise.
39911 * include/search.h: Likewise.
39912 * include/setjmp.h: Likewise.
39913 * include/signal.h: Likewise.
39914 * include/stdio.h: Likewise.
39915 * include/stdlib.h: Likewise.
39916 * include/string.h: Likewise.
39917 * include/sys/cdefs.h: Likewise.
39918 * include/sys/mman.h: Likewise.
39919 * include/sys/msg.h: Likewise.
39920 * include/sys/resource.h: Likewise.
39921 * include/sys/select.h: Likewise.
39922 * include/sys/socket.h: Likewise.
39923 * include/sys/stat.h: Likewise.
39924 * include/sys/statvfs.h: Likewise.
39925 * include/sys/time.h: Likewise.
39926 * include/sys/times.h: Likewise.
39927 * include/sys/uio.h: Likewise.
39928 * include/sys/utsname.h: Likewise.
39929 * include/sys/wait.h: Likewise.
39930 * include/termios.h: Likewise.
39931 * include/time.h: Likewise.
39932 * include/ulimit.h: Likewise.
39933 * include/unistd.h: Likewise.
39934 * include/utime.h: Likewise.
39935 * include/wchar.h: Likewise.
39936 * include/wctype.h: Likewise.
39937 * include/wordexp.h: Likewise.
39939 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39941 * time/time.h: TIME_UTC must be a macro.
39942 Make timespec_get available for ISO C11 only as well.
39944 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39946 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39947 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39949 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39951 * configure.in: Use -o not -a in test for unsupported multi-arch.
39953 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39955 * manual/texinfo.tex: Update to version 2012-01-19.16.
39957 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39959 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39961 2012-02-24 Roland McGrath <roland@hack.frob.com>
39964 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39965 * manual/fdl-1.3.texi: New file.
39966 * manual/fdl-1.1.texi: File removed.
39969 * manual/libc.texinfo (FDL_VERSION): New @set.
39970 Use it for mention of FDL in cover text.
39971 (Documentation License): Use it in @include file name.
39973 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39974 Roland McGrath <roland@hack.frob.com>
39977 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39978 (not LONG_LONG_MAX and LONG_LONG_MIN.
39979 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39980 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39982 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39984 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39988 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39989 manipulate bits before adding and subtracting TWO23[sx].
39990 * math/libm-test.inc (nearbyint_test): Add more tests.
39992 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39995 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39996 bits before adding and subtracting TWO23[sx].
39997 * math/libm-test.inc (rint_test): Add more tests.
39998 (rint_test_tonearest): Likewise.
39999 (rint_test_towardzero): Likewise.
40000 (rint_test_downward): Likewise.
40001 (rint_test_upward: Likewise.
40003 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40006 * include/stdc-predef.h: New file. Extracted from features.h.
40007 * include/features.h: Include stdc-predef.h.
40008 * Makefile (headers): Add stdc-predef.h.
40009 * CONFORMANCE (Compiler limitations): Update.
40011 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40013 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40015 2012-02-21 David S. Miller <davem@davemloft.net>
40017 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40018 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40020 2012-02-20 David S. Miller <davem@davemloft.net>
40022 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40023 using a normal save/restore sequence, rather than allocating a
40024 dummy stack frame just to store a frame pointer and restore.
40025 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40027 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40029 * manual/install.texi: Fix stray word in line-wrapped comment.
40031 2012-02-20 David S. Miller <davem@davemloft.net>
40033 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40034 both binutils and gcc support GOTDATA.
40036 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40037 "rd %pc" in the PIC register setup sequences.
40039 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40040 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40041 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40042 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40043 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40044 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40045 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40046 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40048 (SYSCALL_ERROR_HANDLER): Likewise.
40049 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40050 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40051 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40052 (SYSCALL_ERROR_HANDLER): Likewise.
40054 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40055 (HAVE_GCC_GOTDATA): New.
40056 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40057 relocation support in both binutils and gcc.
40058 * sysdeps/sparc/elf/configure: Regenerate.
40060 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40061 * sysdeps/sparc/sparc32/elf/configure: Delete.
40062 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40063 * sysdeps/sparc/sparc64/elf/configure: Delete.
40064 * sysdeps/sparc/elf/configure.in: New file.
40065 * sysdeps/sparc/elf/configure: Generate.
40067 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40068 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40069 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40070 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40071 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40073 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40075 * manual/install.texi: Do not mention specific glibc version
40077 * manual/libc.texinfo (VERSION, UPDATED): Update.
40078 (@copying): Use @copyright{} and range of years.
40080 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40083 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40084 [crti.S not in sysdirs] (generated): Do not append.
40085 [crti.S not in sysdirs] (omit-deps): Likewise.
40086 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40087 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40088 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40089 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40090 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40092 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40093 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40094 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40095 * csu/defs.awk: Remove file.
40096 * sysdeps/generic/initfini.c: Likewise.
40097 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40099 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40102 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40104 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40105 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40106 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40107 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40108 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40109 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40111 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40112 (__EPOLL_PACKED): Define to empty if not defined by
40114 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40118 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40120 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40121 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40122 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40123 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40125 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40129 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40131 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40133 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40134 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40135 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40138 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40140 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40141 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40143 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40145 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40146 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40148 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40150 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40153 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40155 * math/w_acos.c: Use non-signaling floating-point comparisons.
40156 * math/w_acosf.c: Likewise.
40157 * math/w_acosh.c: Likewise.
40158 * math/w_acoshf.c: Likewise.
40159 * math/w_acoshl.c: Likewise.
40160 * math/w_acosl.c: Likewise.
40161 * math/w_asin.c: Likewise.
40162 * math/w_asinf.c: Likewise.
40163 * math/w_asinl.c: Likewise.
40164 * math/w_atanh.c: Likewise.
40165 * math/w_atanhf.c: Likewise.
40166 * math/w_atanhl.c: Likewise.
40167 * math/w_exp2.c: Likewise.
40168 * math/w_exp2f.c: Likewise.
40169 * math/w_exp2l.c: Likewise.
40170 * math/w_j0.c: Likewise.
40171 * math/w_j0f.c: Likewise.
40172 * math/w_j0l.c: Likewise.
40173 * math/w_j1.c: Likewise.
40174 * math/w_j1f.c: Likewise.
40175 * math/w_j1l.c: Likewise.
40176 * math/w_jn.c: Likewise.
40177 * math/w_jnf.c: Likewise.
40178 * math/w_log.c: Likewise.
40179 * math/w_log10.c: Likewise.
40180 * math/w_log10f.c: Likewise.
40181 * math/w_log10l.c: Likewise.
40182 * math/w_log2.c: Likewise.
40183 * math/w_log2f.c: Likewise.
40184 * math/w_log2l.c: Likewise.
40185 * math/w_logf.c: Likewise.
40186 * math/w_logl.c: Likewise.
40187 * math/w_sqrt.c: Likewise.
40188 * math/w_sqrtf.c: Likewise.
40189 * math/w_sqrtl.c: Likewise.
40190 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40191 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40192 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40193 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40194 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40196 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40199 * manual/string.texi (strnlen): Use correct parameter name in
40200 equivalent expression.
40202 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40205 * manual/users.texi (seteuid): Consistently use neweuid for
40208 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40211 * manual/nss.texi (Services in the NSS configuration): Correct
40212 list of services in example configuration file.
40214 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40217 * manual/arith.texi: Remove statements about negative zero
40218 behaving identically to zero.
40220 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40223 * manual/install.texi: Do not document upgrading from libc5.
40225 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40228 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40230 2012-02-18 David S. Miller <davem@davemloft.net>
40232 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40233 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40234 %o7 across the call.
40235 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40238 SETUP_PIC_REG_LEAF.
40239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40240 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40241 * sysdeps/sparc/crtn.S: Likewise.
40243 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40245 * aout/Makefile: Remove.
40247 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40250 * manual/examples/argp-ex1.c (main): Format definition in GNU
40252 * manual/examples/argp-ex2.c (main): Likewise.
40253 * manual/examples/argp-ex3.c (main): Likewise.
40254 * manual/examples/argp-ex4.c (main): Likewise.
40255 * manual/examples/longopt.c (main): Use new-style prototype
40257 * manual/examples/strncat.c (main): Specify return type and use
40258 (void) for arguments.
40259 * manual/examples/subopt.c (main): Use char **argv argument.
40261 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40264 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40267 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40270 * manual/string.texi (strchr): Change when strchrnul is
40273 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40276 * manual/locale.texi (setlocale): Document LOCPATH.
40278 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40281 * manual/process.texi (execle): Move @dots{} before last argument.
40283 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40286 * manual/charset.texi (Generic Charset Conversion): Fix typo
40287 (LC_TYPE -> LC_CTYPE).
40289 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40292 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40293 (scalbnf): Likewise.
40294 (scalbnl): Likewise.
40295 (scalbln): Likewise.
40296 (scalblnf): Likewise.
40297 (scalblnl): Likewise.
40298 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40299 (vwarnx): Likewise.
40302 * manual/filesys.texi (telldir): Use braces around return type.
40303 * manual/llio.texi (mmap): Add space after comma.
40304 (mmap64): Likewise.
40305 * manual/math.texi (jn): Use @var{} on parameter names.
40311 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40313 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40315 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40316 (sched_get_priority_max): Likewise.
40317 * manual/signal.texi (sigvec): Add space after comma.
40318 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40320 (if_indextoname): Likewise.
40321 (if_freenameindex): Likewise.
40322 (sendto): Use ',' instead of '.' in prototype.
40323 * manual/startup.texi (syscall): Use @dots{} instead of literal
40325 * manual/stdio.texi (__fpending): Separate initial words of
40326 paragraph from @deftypefun line.
40327 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40329 (vsyslog): Use @var{} on parameter names.
40330 * manual/terminal.texi (stty): Use @var{} on parameter names.
40331 * manual/users.texi (getutmp): Use @var{} on parameter names.
40332 (getutmpx): Likewise.
40334 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40337 * manual/stdio.texi (fopen): Fix typos in description of
40340 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40343 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40344 get clock_id definition.
40346 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40349 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40350 (madvise): Cast every argument to void on its own.
40352 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40355 * manual/startup.texi (Exit Status): Fix typo.
40357 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40360 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40361 * manual/examples/argp-ex2.c: Likewise.
40362 * manual/examples/argp-ex3.c: Likewise.
40364 2012-02-16 Richard Henderson <rth@redhat.com>
40366 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40367 * sysdeps/s390/s390-32/initfini.c: Remove.
40368 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40369 * sysdeps/s390/s390-64/initfini.c: Remove.
40371 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40373 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40374 compiler output for sysdeps/generic/initfini.c.
40375 * sysdeps/sh/elf/initfini.c: Remove file.
40377 2012-02-16 David S. Miller <davem@davemloft.net>
40380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40382 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40383 * sysdeps/sparc/crti.S: New file.
40384 * sysdeps/sparc/crtn.S: New file.
40385 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40386 * sysdeps/sparc/sparc64/Makefile: Likewise.
40388 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40391 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40393 2012-02-15 Roland McGrath <roland@hack.frob.com>
40396 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40398 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40399 (write, read, close): Likewise.
40400 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40402 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40404 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40405 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40406 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40407 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40409 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40413 2012-02-14 Marek Polacek <polacek@redhat.com>
40415 * sysdeps/x86_64/crti.S: New file.
40416 * sysdeps/x86_64/crtn.S: New file.
40417 * sysdeps/x86_64/elf/initfini.c: Remove file.
40419 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40421 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40422 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40423 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40424 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40426 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40430 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40432 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40433 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40434 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40435 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40437 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40441 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40443 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40444 __feraiseexcept instead of feraiseexcept.
40446 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40447 nanosleep invocations.
40448 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40449 strings, and add error checking for a nanosleep invocations.
40451 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40453 Replace FSF snail mail address with URLs, as per GNU coding standards.
40454 Most of the snail mail addresses were wrong anyway, and omitting
40455 them makes the source code easier to maintain. Almost all of the
40456 changes are to license notices and to locale LC_IDENTIFICATION
40457 addresses, except for this one:
40458 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40459 not its snail mail address.
40461 2012-02-09 Richard Henderson <rth@twiddle.net>
40463 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40464 of kernel-features.h.
40466 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40468 2012-02-08 Marek Polacek <polacek@redhat.com>
40470 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40471 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40472 * sysdeps/gnu/_G_config.h: Likewise.
40473 * sysdeps/generic/_G_config.h: Likewise.
40475 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40477 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40481 * sysdeps/powerpc/powerpc32/crti.S: New file.
40482 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40483 * sysdeps/powerpc/powerpc64/crti.S: New file.
40484 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40486 * Makeconfig (have-initfini): Don't set.
40487 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40488 * configure.in (nopic_initfini): Don't substitute.
40489 * config.h.in (HAVE_INITFINI): Don't #undef.
40490 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40491 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40493 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40495 Support crti.S and crtn.S provided directly by architectures.
40496 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40497 [crti.S in sysdirs] (omit-deps): Likewise.
40498 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40499 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40500 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40501 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40502 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40503 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40504 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40505 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40506 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40507 compiler output for sysdeps/generic/initfini.c.
40508 * sysdeps/i386/elf/Makefile: Remove file.
40509 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40511 2012-02-07 Marek Polacek <polacek@redhat.com>
40513 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40514 * sysdeps/gnu/_G_config.h: Likewise.
40515 * sysdeps/mach/hurd/_G_config.h: Likewise.
40517 2012-02-07 Marek Polacek <polacek@redhat.com>
40519 * math/Makefile (tests): Add tst-CMPLX2.
40520 * math/tst-CMPLX2.c: New file.
40522 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40524 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40526 * math/libm-test.inc (jn_test): Add missing L suffix.
40528 2012-02-06 Marek Polacek <polacek@redhat.com>
40530 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40531 * sysdeps/i386/fpu/e_powf.S: Likewise.
40532 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40533 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40534 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40535 * sysdeps/i386/fpu/e_pow.S: Likewise.
40536 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40537 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40538 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40539 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40540 * sysdeps/i386/fpu/e_log2.S: Likewise.
40541 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40542 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40543 * sysdeps/i386/fpu/e_powl.S: Likewise.
40544 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40545 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40546 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40547 * sysdeps/i386/fpu/e_logl.S: Likewise.
40548 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40549 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40550 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40551 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40552 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40553 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40554 * sysdeps/i386/fpu/e_log.S: Likewise.
40555 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40556 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40557 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40558 * sysdeps/i386/fpu/e_logf.S: Likewise.
40559 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40560 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40561 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40562 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40563 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40564 * sysdeps/i386/fpu/e_log10.S: Likewise.
40565 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40566 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40567 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40568 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40569 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40570 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40571 * sysdeps/i386/asm-syntax.h: Likewise.
40572 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40573 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40574 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40575 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40576 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40577 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40578 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40579 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40580 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40581 * sysdeps/powerpc/sysdep.h: Likewise.
40582 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40583 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40585 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40588 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40590 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40592 * sysdeps/i386/sysdep.h: Include <features.h>.
40593 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40596 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40598 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40600 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40603 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40605 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40606 (SETUP_PIC_REG): Use GET_PC_THUNK.
40607 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40610 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40612 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40613 for non-PIC compilation.
40614 (SETUP_PIC_REG): Add .p2align directive.
40615 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40616 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40617 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40618 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40619 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40620 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40621 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40622 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40623 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40624 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40625 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40626 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40627 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40628 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40629 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40630 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40631 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40632 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40633 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40634 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40635 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40636 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40637 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40638 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40639 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40641 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40642 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40643 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40644 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40645 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40646 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40647 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40648 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40649 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40650 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40651 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40652 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40653 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40654 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40655 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40657 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40659 * math/tst-CMPLX.c: Include <stdio.h>.
40661 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40663 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40665 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40666 * sysdeps/sparc/bits/mathdef.h: Likewise.
40668 2012-01-31 Marek Polacek <polacek@redhat.com>
40670 * libio/libio.h: Don't define _PARAMS.
40671 * locale/programs/config.h: Don't define PARAMS.
40672 * stdlib/strtol_l.c: Likewise.
40673 (__strtol_l): Remove PARAMS from the prototype.
40675 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40677 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40678 names. Just use the correct names. Remove unnecessary wrapper
40680 * malloc/arena.c: Likewise.
40681 * malloc/hooks.c: Likewise.
40683 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40684 ARENA_TEST says not to. Simplify test for creation of a new arena.
40685 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40687 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40689 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40691 (update_get_addr): New function.
40692 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40693 GET_ADDR_MODULE parameter.
40695 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40697 * crypt/cert.c: Remove __STDC__ conditionals.
40698 * crypt/crypt-entry.c: Likewise.
40699 * crypt/crypt_util.c: Likewise.
40700 * libio/filedoalloc.c: Likewise.
40701 * libio/fileops.c: Likewise.
40702 * libio/genops.c: Likewise.
40703 * libio/iofclose.c: Likewise.
40704 * libio/iofdopen.c: Likewise.
40705 * libio/iofopen.c: Likewise.
40706 * libio/iofopen64.c: Likewise.
40707 * libio/iogetdelim.c: Likewise.
40708 * libio/iopopen.c: Likewise.
40709 * libio/obprintf.c: Likewise.
40710 * libio/oldfileops.c: Likewise.
40711 * libio/oldiofclose.c: Likewise.
40712 * libio/oldiofdopen.c: Likewise.
40713 * libio/oldiofopen.c: Likewise.
40714 * libio/oldiopopen.c: Likewise.
40715 * libio/wfiledoalloc.c: Likewise.
40716 * libio/wgenops.c: Likewise.
40717 * locale/programs/xmalloc.c: Likewise.
40718 * misc/syslog.c: Likewise.
40719 * stdio-common/xbug.c: Likewise.
40720 * string/memchr.c: Likewise.
40721 * string/memcmp.c: Likewise.
40722 * string/memrchr.c: Likewise.
40723 * string/rawmemchr.c: Likewise.
40724 * sysdeps/posix/getcwd.c: Likewise.
40725 * time/strftime_l.c: Likewise.
40727 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40729 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40730 * config.make.in (config-cflags-sse2avx): Define.
40731 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40734 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40736 * scripts/config.guess: Update from upstream config git repository.
40737 * scripts/config.sub: Likewise.
40739 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40741 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40743 (R_TILEPRO_*, R_TILEGX_*): New macros.
40745 * scripts/firstversions.awk: Fix bug in version range handling.
40747 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40749 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40751 * include/sys/epoll.h: New file.
40752 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40755 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40757 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40758 Avoid unnecessary __WORDSIZE == 64 test.
40759 (fmaxf): Use VEX format if possible.
40764 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40765 * math/math_private.h: Remove libc_fegetround* and
40767 * sysdeps/i386/configure.in: Check for -msse2avx.
40768 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40769 also if SSE2AVX is defined.
40770 Remove libc_fegetround* and libc_fesetround*.
40771 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40772 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40773 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40775 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40776 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40777 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40778 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40779 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40781 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40783 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40785 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40787 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40789 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40792 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40794 * Makeconfig (libm): Define.
40795 * elf/Makefile: Add rules to build and run tst-relsort1.
40796 * elf/tst-relsort1.c: New file.
40797 * elf/tst-relsort1mod1.c: New file.
40798 * elf/tst-relsort1mod2.c: New file.
40800 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40802 * math/s_ldexp.c: Remove __STDC__ conditionals.
40803 * math/s_ldexpf.c: Likewise.
40804 * math/s_ldexpl.c: Likewise.
40805 * math/s_nextafter.c: Likewise.
40806 * math/s_nexttowardf.c: Likewise.
40807 * math/s_significand.c: Likewise.
40808 * math/s_significandf.c: Likewise.
40809 * math/s_significandl.c: Likewise.
40810 * math/w_jnl.c: Likewise.
40811 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40812 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40813 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40814 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40815 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40816 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40817 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40818 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40819 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40820 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40821 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40822 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40823 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40824 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40825 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40826 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40827 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40828 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40829 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40830 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40831 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40832 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40833 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40834 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40835 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40836 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40837 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40838 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40839 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40840 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40841 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40842 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40843 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40844 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40845 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40846 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40847 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40848 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40849 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40850 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40851 * sysdeps/ieee754/k_standard.c: Likewise.
40852 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40853 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40854 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40855 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40856 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40857 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40858 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40859 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40860 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40861 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40862 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40863 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40864 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40865 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40866 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40867 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40868 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40869 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40871 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40874 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40875 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40876 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40877 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40878 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40879 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40880 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40881 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40882 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40883 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40884 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40885 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40886 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40887 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40888 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40889 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40890 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40891 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40892 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40893 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40894 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40895 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40896 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40897 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40898 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40899 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40900 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40901 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40902 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40903 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40904 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40905 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40906 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40907 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40908 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40909 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40910 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40911 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40912 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40913 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40914 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40915 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40916 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40917 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40918 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40919 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40920 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40921 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40922 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40923 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40924 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40925 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40926 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40927 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40928 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40929 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40930 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40931 * sysdeps/ieee754/s_matherr.c: Likewise.
40932 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40933 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40935 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40937 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40939 * crypt/md5.h: Remove __STDC__ conditionals.
40940 * libio/libioP.h: Likewise.
40941 * locale/programs/config.h: Likewise.
40942 * sysdeps/generic/sysdep.h: Likewise.
40943 * sysdeps/i386/asm-syntax.h: Likewise.
40944 * sysdeps/s390/asm-syntax.h: Likewise.
40945 * sysdeps/unix/sysdep.h: Likewise.
40946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40949 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40951 * libio/libio.h: Remove __STDC__ conditionals.
40952 * malloc/obstack.h: Likewise.
40953 * math/complex.h: Likewise.
40954 * math/math.h: Likewise.
40955 * sysdeps/generic/_G_config.h: Likewise.
40956 * sysdeps/gnu/_G_config.h: Likewise.
40957 * sysdeps/mach/hurd/_G_config.h: Likewise.
40958 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40959 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40960 * sysdeps/sparc/bits/mathdef.h: Likewise.
40962 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40965 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40966 Clean up HAS_* macros.
40967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40968 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40970 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40972 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40973 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40974 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40975 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40976 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40978 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40980 * elf/tst-unique3.cc (gets): Remove declaration.
40981 * elf/tst-unique3lib.cc (gets): Likewise.
40982 * elf/tst-unique3lib2.cc (gets): Likewise.
40983 * elf/tst-unique4.cc (gets): Likewise.
40985 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40987 * include/stdio.h: Add C++ protection. Add gets declarations and
40989 * debug/tst-chk1.c: Don't declare gets here.
40990 * stdio-common/tst-gets.c: Likewise.
40992 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40994 * posix/glob: Remove directory.
40996 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40998 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41000 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41002 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41003 of the non-standard EPFNOSUPPORT.
41005 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41007 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41008 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41009 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41011 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41013 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41015 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41017 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41019 * nscd/grpcache.c (cache_addgr): Likewise.
41020 * nscd/hstcache.c (cache_addhst): Likewise.
41021 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41022 * nscd/pwdcache.c (cache_addpw): Likewise.
41023 * nscd/servicescache.c (cache_addserv): Likewise.
41025 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41027 * malloc/malloc.c: Various cleanups.
41028 * malloc/hooks.c: Likewise.
41030 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41031 * stdlib/bug-fmtmsg1.c: New file.
41033 * stdlib/fmtmsg.c (init): Add missing unlock.
41034 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41036 2012-01-12 Marek Polacek <polacek@redhat.com>
41038 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41041 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41043 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41044 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41045 macro to ensure uniqueness of label name.
41046 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41047 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41049 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41051 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41053 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41054 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41055 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41058 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41060 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41062 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41063 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41064 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41066 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41068 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41069 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41070 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41071 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41073 * math/bits/math-finite.h: Add ldexp support.
41075 2012-01-10 Marek Polacek <polacek@redhat.com>
41077 * locale/programs/localedef.h (show_archive_content): Add noreturn
41080 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41082 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41084 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41086 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41088 * io/Makefile (headers): Add bits/poll2.h.
41090 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41093 typo #include statement.
41095 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41097 * include/sys/cdefs.h: Define __attribute_alloc_size.
41098 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41099 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41100 * elf/pldd.c: Likewise.
41101 * iconv/iconv_charmap.c: Likewise.
41102 * iconv/iconvconfig.c: Likewise.
41103 * iconv/strtab.c: Likewise.
41104 * locale/programs/locale.c: Likewise.
41105 * locale/programs/localedef.h: Likewise.
41106 * locale/programs/simple-hash.c: Likewise.
41107 * nscd/nscd.h: Likewise.
41108 * nss/makedb.c: Likewise.
41109 * sysdeps/generic/ldconfig.h: Likewise.
41110 * locale/programs/localedef.c: Remove xmalloc prototype.
41111 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41113 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41115 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41118 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41120 * math/Makefile (tests): Add tst-CMPLX.
41121 * math/tst-CMPLX.c: New file.
41123 * math/complex.h (CMPLXL): Fix typo.
41125 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41126 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41128 * debug/tst-chk1.c: Add poll and ppoll tests.
41129 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41130 * include/sys/poll.h: Add hidden proto for ppoll.
41131 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41132 * sysdeps/mach/hurd/ppoll.c: Likewise.
41133 * io/ppoll.c: Likewise.
41134 * debug/poll_chk.c: New file.
41135 * debug/ppoll_chk.c: New file.
41136 * include/bits/poll2.h: New file.
41137 * io/bits/poll2.h: New file.
41140 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41142 * configure.in: static is always set to yes. Remove.
41143 * config.make.in: Don't set build-static.
41144 * Makeconfig: Remove use of build-static.
41145 * dlfcn/Makefile: Likewise.
41146 * elf/Makefile: Likewise.
41147 * math/Makefile: Likewise.
41148 * misc/Makefile: Likewise.
41149 * nptl/Makefile: Likewise.
41150 * sysdeps/mach/hurd/Makefile: Likewise.
41152 * configure.in: PWD_P is not used anymore.
41153 * config.make.in: Remove PWD_P entry.
41155 * configure.in: Remove last remnants of RANLIB.
41156 No need to check for signed size_t anymore.
41157 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41159 Remove __builtin_expect test because we require at least gcc 3.4.
41160 * aclocal.m4: Likewise.
41162 * wcsmbs/mbrtoc16.c: Implement using towc function.
41163 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41164 * wcsmbs/wcsmbsload.c: Likewise.
41165 * iconv/gconv_simple.c: Likewise.
41166 * iconv/gconv_int.h: Likewise.
41167 * iconv/gconv_builtin.h: Likewise.
41168 * iconv/iconv_prog.c: Remove CHAR16 handling.
41170 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41172 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41174 * configure.in: Remove --with-elf and --enable-bounded options.
41175 Dont set base_machine for ia64. More non-ELF conditions removed.
41176 Remove testing and setting of leading underscore information.
41177 * config.make.in (build-bounded): Set to no.
41178 * config.h.in: Remove NO_UNDERSCORES entry.
41179 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41181 * csu/start.c: Remove !NO_UNDERSCORE code.
41182 * locale/localeinfo.h: Likewise.
41183 * sysdeps/generic/machine-gmon.h: Likewise.
41184 * sysdeps/generic/sysdep.h: Likewise.
41185 * sysdeps/i386/sysdep.h: Likewise.
41186 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41187 * sysdeps/mach/sysdep.h: Likewise.
41188 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41189 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41190 * sysdeps/sh/sysdep.h: Likewise.
41191 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41192 * sysdeps/unix/i386/sysdep.S: Likewise.
41193 * sysdeps/unix/sparc/start.c: Likewise.
41194 * sysdeps/unix/sparc/sysdep.S: Likewise.
41195 * sysdeps/unix/sparc/sysdep.h: Likewise.
41196 * sysdeps/unix/start.c: Likewise.
41197 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41198 * sysdeps/x86_64/sysdep.h: Likewise.
41200 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41203 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41205 * argp/argp-fmtstream.h: Use const instead __const.
41206 * argp/argp.h: Likewise.
41207 * assert/assert.h: Likewise.
41208 * bits/fenv.h: Likewise.
41209 * bits/sched.h: Likewise.
41210 * bits/sigset.h: Likewise.
41211 * bits/sigthread.h: Likewise.
41212 * catgets/nl_types.h: Likewise.
41213 * conform/data/pthread.h-data: Likewise.
41214 * crypt/crypt-private.h: Likewise.
41215 * crypt/crypt.h: Likewise.
41216 * crypt/crypt_util.c: Likewise.
41217 * ctype/ctype.h: Likewise.
41218 * debug/execinfo.h: Likewise.
41219 * debug/mbsnrtowcs_chk.c: Likewise.
41220 * debug/mbsrtowcs_chk.c: Likewise.
41221 * debug/wcsnrtombs_chk.c: Likewise.
41222 * debug/wcsrtombs_chk.c: Likewise.
41223 * debug/wcstombs_chk.c: Likewise.
41224 * dirent/dirent.h: Likewise.
41225 * dlfcn/dlfcn.h: Likewise.
41226 * elf/neededtest4.c: Likewise.
41227 * grp/grp.h: Likewise.
41228 * gshadow/gshadow.h: Likewise.
41229 * iconv/gconv.h: Likewise.
41230 * iconv/gconv_int.h: Likewise.
41231 * iconv/gconv_simple.c: Likewise.
41232 * iconv/iconv.h: Likewise.
41233 * iconv/loop.c: Likewise.
41234 * iconv/skeleton.c: Likewise.
41235 * include/aio.h: Likewise.
41236 * include/aliases.h: Likewise.
41237 * include/argz.h: Likewise.
41238 * include/arpa/inet.h: Likewise.
41239 * include/assert.h: Likewise.
41240 * include/dirent.h: Likewise.
41241 * include/dlfcn.h: Likewise.
41242 * include/execinfo.h: Likewise.
41243 * include/fcntl.h: Likewise.
41244 * include/fenv.h: Likewise.
41245 * include/glob.h: Likewise.
41246 * include/grp.h: Likewise.
41247 * include/libintl.h: Likewise.
41248 * include/mntent.h: Likewise.
41249 * include/netdb.h: Likewise.
41250 * include/pwd.h: Likewise.
41251 * include/rpc/netdb.h: Likewise.
41252 * include/sched.h: Likewise.
41253 * include/search.h: Likewise.
41254 * include/shadow.h: Likewise.
41255 * include/signal.h: Likewise.
41256 * include/stdio.h: Likewise.
41257 * include/stdlib.h: Likewise.
41258 * include/string.h: Likewise.
41259 * include/sys/socket.h: Likewise.
41260 * include/sys/stat.h: Likewise.
41261 * include/sys/statfs.h: Likewise.
41262 * include/sys/statvfs.h: Likewise.
41263 * include/sys/syslog.h: Likewise.
41264 * include/sys/time.h: Likewise.
41265 * include/sys/uio.h: Likewise.
41266 * include/time.h: Likewise.
41267 * include/unistd.h: Likewise.
41268 * include/utmp.h: Likewise.
41269 * include/wchar.h: Likewise.
41270 * include/wctype.h: Likewise.
41271 * inet/aliases.h: Likewise.
41272 * inet/arpa/inet.h: Likewise.
41273 * inet/netinet/ether.h: Likewise.
41274 * inet/netinet/in.h: Likewise.
41275 * intl/libintl.h: Likewise.
41276 * io/bits/fcntl2.h: Likewise.
41277 * io/fcntl.h: Likewise.
41278 * io/ftw.h: Likewise.
41279 * io/sys/poll.h: Likewise.
41280 * io/sys/stat.h: Likewise.
41281 * io/sys/statfs.h: Likewise.
41282 * io/sys/statvfs.h: Likewise.
41283 * io/utime.h: Likewise.
41284 * libio/bits/stdio.h: Likewise.
41285 * libio/bits/stdio2.h: Likewise.
41286 * libio/libio.h: Likewise.
41287 * libio/libioP.h: Likewise.
41288 * libio/stdio.h: Likewise.
41289 * locale/lc-ctype.c: Likewise.
41290 * locale/locale.h: Likewise.
41291 * login/utmp.h: Likewise.
41292 * malloc/arena.c: Likewise.
41293 * malloc/malloc.c: Likewise.
41294 * malloc/malloc.h: Likewise.
41295 * malloc/mcheck.c: Likewise.
41296 * malloc/mtrace.c: Likewise.
41297 * math/bits/mathcalls.h: Likewise.
41298 * math/fenv.h: Likewise.
41299 * math/math_private.h: Likewise.
41300 * misc/bits/error.h: Likewise.
41301 * misc/bits/syslog.h: Likewise.
41302 * misc/err.h: Likewise.
41303 * misc/error.h: Likewise.
41304 * misc/fstab.h: Likewise.
41305 * misc/mntent.h: Likewise.
41306 * misc/regexp.h: Likewise.
41307 * misc/search.h: Likewise.
41308 * misc/sgtty.h: Likewise.
41309 * misc/sys/mman.h: Likewise.
41310 * misc/sys/syslog.h: Likewise.
41311 * misc/sys/uio.h: Likewise.
41312 * misc/sys/xattr.h: Likewise.
41313 * misc/ttyent.h: Likewise.
41314 * nis/rpcsvc/ypclnt.h: Likewise.
41315 * nss/nss.h: Likewise.
41316 * posix/bits/unistd.h: Likewise.
41317 * posix/fnmatch.h: Likewise.
41318 * posix/glob.h: Likewise.
41319 * posix/sched.h: Likewise.
41320 * posix/spawn.h: Likewise.
41321 * posix/sys/wait.h: Likewise.
41322 * posix/unistd.h: Likewise.
41323 * posix/wordexp.h: Likewise.
41324 * pwd/pwd.h: Likewise.
41325 * resolv/netdb.h: Likewise.
41326 * resource/sys/resource.h: Likewise.
41327 * rt/aio.h: Likewise.
41328 * rt/bits/mqueue2.h: Likewise.
41329 * rt/mqueue.h: Likewise.
41330 * shadow/shadow.h: Likewise.
41331 * signal/signal.h: Likewise.
41332 * socket/send.c: Likewise.
41333 * socket/sendto.c: Likewise.
41334 * socket/sys/socket.h: Likewise.
41335 * stdio-common/printf.h: Likewise.
41336 * stdlib/bits/stdlib.h: Likewise.
41337 * stdlib/fmtmsg.h: Likewise.
41338 * stdlib/monetary.h: Likewise.
41339 * stdlib/stdlib.h: Likewise.
41340 * stdlib/ucontext.h: Likewise.
41341 * streams/stropts.h: Likewise.
41342 * string/argz.h: Likewise.
41343 * string/bits/string2.h: Likewise.
41344 * string/string.h: Likewise.
41345 * string/strings.h: Likewise.
41346 * sunrpc/rpc/auth.h: Likewise.
41347 * sunrpc/rpc/auth_des.h: Likewise.
41348 * sunrpc/rpc/clnt.h: Likewise.
41349 * sunrpc/rpc/netdb.h: Likewise.
41350 * sunrpc/rpc/pmap_clnt.h: Likewise.
41351 * sunrpc/rpc/xdr.h: Likewise.
41352 * sysdeps/generic/inttypes.h: Likewise.
41353 * sysdeps/generic/net/if.h: Likewise.
41354 * sysdeps/generic/sys/swap.h: Likewise.
41355 * sysdeps/gnu/net/if.h: Likewise.
41356 * sysdeps/gnu/utmpx.h: Likewise.
41357 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41358 * sysdeps/i386/i486/bits/string.h: Likewise.
41359 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41360 * sysdeps/s390/bits/string.h: Likewise.
41361 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41362 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41363 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41364 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41365 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41366 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41367 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41368 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41369 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41370 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41371 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41372 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41373 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41374 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41375 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41376 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41377 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41378 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41379 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41380 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41381 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41382 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41383 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41384 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41385 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41386 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41387 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41388 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41389 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41390 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41391 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41392 * sysvipc/sys/ipc.h: Likewise.
41393 * sysvipc/sys/msg.h: Likewise.
41394 * sysvipc/sys/sem.h: Likewise.
41395 * sysvipc/sys/shm.h: Likewise.
41396 * termios/termios.h: Likewise.
41397 * time/sys/time.h: Likewise.
41398 * time/time.h: Likewise.
41399 * wcsmbs/bits/wchar2.h: Likewise.
41400 * wcsmbs/uchar.h: Likewise.
41401 * wcsmbs/wchar.h: Likewise.
41402 * wctype/wctype.h: Likewise.
41405 * Makeconfig: Remove all but ELF support including AIX support.
41406 * Makerules: Likewise.
41407 * config.h.in: Likewise.
41408 * config.make.in: Likewise.
41409 * configure: Likewise.
41410 * configure.in: Likewise.
41411 * csu/Makefile: Likewise.
41412 * csu/version.c: Likewise.
41413 * debug/Makefile: Likewise.
41414 * dlfcn/Makefile: Likewise.
41415 * elf/Makefile: Likewise.
41416 * extra-lib.mk: Likewise.
41417 * iconv/Makefile: Likewise.
41418 * include/libc-symbols.h: Likewise.
41419 * include/shlib-compat.h: Likewise.
41420 * resolv/Makefile: Likewise.
41421 * resolv/res_libc.c: Likewise.
41422 * rt/Makefile: Likewise.
41423 * sysdeps/i386/asm-syntax.h: Likewise.
41424 * sysdeps/i386/sysdep.h: Likewise.
41425 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41426 * sysdeps/mach/sysdep.h: Likewise.
41427 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41428 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41429 * sysdeps/s390/asm-syntax.h: Likewise.
41430 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41431 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41432 * sysdeps/sh/sysdep.h: Likewise.
41433 * sysdeps/unix/sparc/sysdep.h: Likewise.
41434 * sysdeps/wordsize-32/divdi3.c: Likewise.
41435 * sysdeps/x86_64/sysdep.h: Likewise.
41437 * argp/Versions: Remove _argp_unlock_xxx.
41440 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41441 * abilist/libBrokenLocale.abilist: Likewise.
41442 * abilist/libanl.abilist: Likewise.
41443 * abilist/libc.abilist: Likewise.
41444 * abilist/libcrypt.abilist: Likewise.
41445 * abilist/libdl.abilist: Likewise.
41446 * abilist/libm.abilist: Likewise.
41447 * abilist/libnsl.abilist: Likewise.
41448 * abilist/libpthread.abilist: Likewise.
41449 * abilist/libresolv.abilist: Likewise.
41450 * abilist/librt.abilist: Likewise.
41451 * abilist/libthread_db.abilist: Likewise.
41452 * abilist/libutil.abilist: Likewise.
41453 * abilist/libnss_db.abilist: New file.
41455 * scripts/abilist.awk: Add support for indirect functions.
41457 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41459 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41461 * shlib-versions: Remove entries for ports architectures.
41463 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41465 * elf/stackguard-macros.h: Remove support for IA-64.
41466 * elf/tst-auditmod1.c: Likewise.
41467 * sysdeps/generic/ldsodefs.h: Likewise.
41469 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41470 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41474 * configure.in: Remove --enable-omitfp support.
41476 * config.make.in: Likewise.
41477 * Makeconfig: Likewise.
41478 * manual/install.texi: Likewise.
41480 In case anyone cares, the IA-64 architecture could move to ports.
41481 * sysdeps/ia64/*: Removed.
41482 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41483 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41486 * configure.in: Remove entries for unsupported architectures.
41489 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41490 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41492 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41493 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41494 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41495 fall back to using wcrtomb.
41496 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41497 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41499 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41500 * wcsmbs/tst-c16c32-1.c: New file.
41502 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41505 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41507 * elf/tst-unique3.cc: Add explicit declaration of gets.
41508 * elf/tst-unique3lib.cc: Likewise.
41509 * elf/tst-unique3lib2.cc: Likewise.
41510 * elf/tst-unique4.cc: Likewise.
41512 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41514 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41517 * assert/assert.h (static_assert): Don't define for C++.
41518 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41519 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41521 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41523 * iconv/loop.c (single loop): Fix assertion in storing of
41526 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41528 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41530 * posix/getconf.c: Update copyright year.
41531 * nss/getent.c: Likewise.
41532 * nss/makedb.c: Likewise.
41533 * iconv/iconvconfig.c: Likewise.
41534 * iconv/iconv_prog.c: Likewise.
41535 * elf/ldconfig.c: Likewise.
41536 * elf/pldd.c: Likewise.
41537 * elf/sotruss.ksh: Likewise.
41538 * catgets/gencat.c: Likewise.
41539 * csu/version.c: Likewise.
41540 * elf/ldd.bash.in: Likewise.
41541 * elf/sprof.c (print_version): Likewise.
41542 * locale/programs/locale.c: Likewise.
41543 * locale/programs/localedef.c: Likewise.
41544 * login/programs/pt_chown.c: Likewise.
41545 * nscd/nscd.c (print_version): Likewise.
41546 * debug/xtrace.sh: Likewise.
41547 * malloc/memusage.sh: Likewise.
41548 * malloc/mtrace.pl: Likewise.
41549 * debug/catchsegv.sh: Likewise.
41551 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41553 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41556 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41559 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41560 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41562 * iconv/gconv_int.h: Likewise.
41563 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41564 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41565 from libc for GLIBC_2.16.
41566 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41567 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41568 * wcsmbs/uchar.h: Really define mbstate_t.
41569 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41570 * wcsmbs/c16rtomb.c: New file.
41571 * wcsmbs/mbrtoc16.c: New file.
41572 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41573 for C/POSIX locale.
41574 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41575 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41577 * wcsmbs/wchar.h: Add missing __restrict.
41579 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41582 * time/Makefile (routines): Add timespec_get.
41583 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41584 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41585 timespec for ISO C11.
41586 * time/timespec_get.c: New file.
41587 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41588 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41591 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41592 * stdlib/stdlib.h: Declare aligned_alloc.
41593 * Versions.def: Add GLIBC_2.16 for libc.
41594 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41597 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41600 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41604 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41607 * assert/assert.h (static_assert): Define.
41609 * version.h: Update for 2.16 development version.
41612 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41615 * version.h (RELEASE): Bump for 2.15 release.
41616 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41618 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41619 Patch by Marek Polacek <mpolacek@redhat.com>.
41621 * bits/byteswap.h: Protect long long constants with __extension__.
41622 * sysdeps/i386/bits/byteswap.h: Likewise.
41623 * sysdeps/ia64/bits/byteswap.h: Likewise.
41624 * sysdeps/s390/bits/byteswap.h: Likewise.
41625 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41627 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41630 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41631 destination buffer.
41632 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41634 2011-12-23 Marek Polacek <polacek@redhat.com>
41636 * elf/dl-addr.c (determine_info): Add inline keyword.
41637 * elf/tst-auditmod4b.c (check_avx): Likewise.
41638 * elf/tst-auditmod6b.c (check_avx): Likewise.
41639 * elf/tst-auditmod6c.c (check_avx): Likewise.
41640 * elf/tst-auditmod7b.c (check_avx): Likewise.
41642 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41644 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41647 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41650 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41651 processing for last bytes.
41653 2011-08-06 Bruno Haible <bruno@clisp.org>
41656 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41657 U+0385, not to U+1FEE.
41660 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41661 entry for U+00A5 U+0301.
41663 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41666 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41667 buffer for the output is too small.
41669 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41673 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41674 SSE flags if possible.
41676 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41679 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41680 processing for last bytes.
41682 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41684 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41685 (syscall-list-default-options, syscall-list-default-condition)
41686 (syscall-list-includes): Define.
41687 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41688 list of ABIs and options and #if conditions for each ABI. Do not
41689 handle common syscalls between ABIs specially.
41690 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41692 (syscall-list-variants, syscall-list-32bit-options)
41693 (syscall-list-32bit-condition, syscall-list-64bit-options)
41694 (syscall-list-64bit-condition): Define.
41695 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41696 (syscall-list-variants, syscall-list-32bit-options)
41697 (syscall-list-32bit-condition, syscall-list-64bit-options)
41698 (syscall-list-64bit-condition): Define.
41699 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41701 (syscall-list-variants, syscall-list-32bit-options)
41702 (syscall-list-32bit-condition, syscall-list-64bit-options)
41703 (syscall-list-64bit-condition): Define.
41704 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41706 (syscall-list-variants, syscall-list-32bit-options)
41707 (syscall-list-32bit-condition, syscall-list-64bit-options)
41708 (syscall-list-64bit-condition): Define.
41710 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41712 * locale/iso-639.def: Add brx entry.
41715 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41716 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41718 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41719 __feraiseexcept_renamed.
41721 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41724 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41725 EPOLLET with unsigned values.
41726 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41727 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41729 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41730 to large cancellation.
41731 * math/s_cacoshf.c: Likewise.
41732 * math/s_cacoshl.c: Likewise.
41734 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41738 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41739 * math/s_cacoshf.c: Likewise.
41740 * math/s_cacoshl.c: Likewise.
41742 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41745 * iconv/gconv.h: Define __GCONV_SWAP.
41746 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41747 * iconvdata/utf-16.c: Likewise.
41748 * iconvdata/utf-32.c: Likewise.
41750 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41753 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41754 numerator after shifting it by one limb.
41756 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41758 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41759 under [__USE_EXTERN_INLINES].
41761 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41764 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41766 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41768 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41769 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41771 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41772 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41773 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41774 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41775 for strncasecmp/strncasecmp_l compilation.
41776 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41777 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41779 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41782 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41785 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41788 * time/tzfile.c (__tzfile_read): Check values from file header.
41790 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41792 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41793 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41794 * powerpc/powerpc32/dl-start.S: Likewise.
41795 * powerpc/powerpc32/elf/start.S: Likewise.
41796 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41797 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41798 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41799 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41800 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41801 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41802 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41803 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41804 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41805 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41806 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41807 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41808 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41809 * powerpc/powerpc32/memset.S: Likewise.
41810 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41811 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41812 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41813 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41814 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41815 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41816 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41817 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41818 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41819 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41820 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41821 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41822 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41824 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41826 * math/libm-test.inc: Added more nearbyint tests.
41827 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41828 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41829 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41830 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41832 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41834 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41837 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41839 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41840 Add wcscpy-ssse3 wcscpy-c.
41841 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41842 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41843 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41844 * sysdeps/x86_64/wcschr.S: New file.
41845 * sysdeps/x86_64/wcsrchr.S: New file.
41846 * string/test-strcmp.c: Remove checking of wcscmp function for
41848 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41849 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41850 wcsrchr-sse2 wcsrchr-c.
41851 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41852 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41853 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41854 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41855 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41856 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41857 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41858 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41859 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41860 * wcsmbc/wcschr.c (WCSCHR): New macro.
41862 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41864 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41865 * wcsmbs/test-wcsrchr.c: New file.
41866 * string/test-strrchr.c: Add wcsrchr support.
41868 * wcsmbs/test-wcscpy.c: New file.
41869 * string/test-strcpy.c: Add wcscpy support.
41872 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41874 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41877 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41880 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41882 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41884 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41885 Minor optimizations.
41887 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41888 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41889 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41891 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41893 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41894 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41895 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41896 for gcc to avoid warnings.
41897 * inet/Makefile (tests): Add tst-checks.
41898 * inet/tst-checks.c: New file.
41900 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41903 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41906 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41907 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41909 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41911 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41913 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41916 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41918 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41920 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41921 conditional on GCC version.
41922 (__arch_compare_and_exchange_val_8_acq)
41923 (__arch_compare_and_exchange_val_16_acq)
41924 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41925 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41926 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41928 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41930 * sysdeps/sh/backtrace.c: New file.
41932 2011-12-02 Andreas Schwab <schwab@redhat.com>
41934 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41937 2011-12-01 Andreas Schwab <schwab@redhat.com>
41939 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41940 falling back to utime.
41942 2011-11-30 Andreas Schwab <schwab@redhat.com>
41944 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41945 expectations for float.
41947 2011-11-29 Andreas Schwab <schwab@redhat.com>
41949 * locale/weight.h (findidx): Add parameter len.
41950 * locale/weightwc.h (findidx): Likewise.
41951 * posix/fnmatch_loop.c (FCT): Adjust caller.
41952 * posix/regcomp.c (build_equiv_class): Likewise.
41953 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41954 * posix/regexec.c (check_node_accept_bytes): Likewise.
41955 * string/strcoll_l.c (STRCOLL): Likewise.
41956 * string/strxfrm_l.c (STRXFRM): Likewise.
41958 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41960 * Makefile.in: Remove CVSOPT handling.
41961 * configure.in: Remove use of AC_REVISION.
41962 * iconvdata/Makefile (distribute): No need to filter out CVS.
41963 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41966 2011-11-16 Andreas Schwab <schwab@redhat.com>
41968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41969 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41970 [USE_AS_STRNCASECMP_L]: Likewise.
41971 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41972 NO_TLS_DIRECT_SEG_REFS.
41973 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41974 Fix argument offsets for non-PIC.
41975 [USE_AS_STRNCASECMP_L]: Likewise.
41976 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41977 NO_TLS_DIRECT_SEG_REFS.
41979 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41981 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41983 * locale/loadlocale.c (_nl_load_locale): Likewise.
41985 2011-11-15 Andreas Schwab <schwab@redhat.com>
41987 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41988 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41989 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41990 (SYSCALL_GETTIME): Set errno on error.
41992 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41993 count references to noai6ai_cached.
41995 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41997 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41999 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42000 FD_CLOEXEC for /proc/self/maps.
42002 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42003 FD_CLOEXEC for /proc/meminfo.
42005 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42008 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42009 FD_CLOEXEC for given file.
42011 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42013 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42014 FD_CLOEXEC for /etc/hosts.
42015 (_gethtent): Likewise.
42017 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42019 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42020 cancellation and set FD_CLOEXEC for /etc/netgroup.
42022 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42023 reading /etc/publickey.
42025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42026 allow cancellation when reading /etc/group.
42028 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42030 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42032 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42033 when using data file.
42035 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42037 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42038 (write_nis_obj): Use "c" and "e" in fopen.
42040 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42042 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42044 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42046 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42048 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42051 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42053 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42055 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42057 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42058 file parsing and set FD_CLOEXEC.
42060 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42062 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42064 2011-11-14 Andreas Schwab <schwab@redhat.com>
42066 * malloc/arena.c (arena_get2): Don't call reused_arena when
42067 _int_new_arena failed.
42069 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42071 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42072 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42073 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42074 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42075 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42076 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42077 to compile strcasecmp and strncasecmp.
42078 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42079 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42081 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42083 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42085 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42086 locale-defines.sym to gen-as-const-headers.
42087 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42088 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42090 to compile strcasecmp and strncasecmp.
42091 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42092 strcasecmp_l and strncasecmp_l.
42093 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42094 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42095 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42096 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42097 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42098 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42099 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42100 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42101 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42102 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42103 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42105 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42107 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42108 result of SYSDEP_GETTIME_CPU to retval.
42109 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42110 parameter list to macro. Remove trailing semicolon. Adjust users.
42112 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42115 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42117 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42119 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42120 from unused variable.
42122 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42124 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42127 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42130 * sunrpc/rpc_prot.c (rejected): Fix case value.
42132 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42133 unsigned long long int to avoid warnings in shift.
42135 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42137 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42140 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42141 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42142 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42144 * nis/nis_table.c (nis_list): Use variable of correct type for
42145 result of __follow_path call.
42147 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42149 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42150 of math functions ceil, trunc, floor, round, and sqrt, when
42151 avaliable on the platform.
42152 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42154 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42155 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42156 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42158 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42160 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42161 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42163 2011-11-11 Roland McGrath <roland@hack.frob.com>
42165 * include/unistd.h: Fix __readlink return type.
42166 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42168 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42170 * stdlib/ucontext.h: Undo last change for makecontext.
42172 2011-11-11 Andreas Schwab <schwab@redhat.com>
42174 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42176 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42177 * setjmp/setjmp.h: Mark functions as non-leaf.
42178 * setjmp/bits/setjmp2.h: Likewise.
42179 * stdlib/ucontext.h: Likewise.
42181 2011-11-10 Andreas Schwab <schwab@redhat.com>
42183 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42184 (reused_arena): Don't check arena limit.
42185 (arena_get2): Atomically check arena limit.
42187 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42189 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42190 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42192 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42195 2011-11-07 Andreas Schwab <schwab@redhat.com>
42197 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42198 handler when locking.
42200 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42201 Fix size of allocated buffer.
42203 2011-11-04 Andreas Schwab <schwab@redhat.com>
42206 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42207 declarations for long double functions.
42208 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42210 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42212 2011-11-03 Andreas Schwab <schwab@redhat.com>
42214 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42217 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42220 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42222 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42224 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42226 * include/alloca.h (stackinfo_alloca_round): Define.
42227 (extend_alloca): Use it.
42228 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42229 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42232 * scripts/check-local-headers.sh: Ignore libaudit.h.
42234 * nscd/Makefile (extra-objs): Make recursively expanded.
42236 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42238 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42239 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42241 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42242 * posix/tst-rfc3484-2.c: Likewise.
42243 * posix/tst-rfc3484-3.c: Likewise.
42245 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42247 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42249 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42250 process_vm_writev from libc using GLIBC_2.15 version.
42252 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42254 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42256 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42259 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42262 * nss/getent.c (initgroups_keys): Show error message in case no group
42265 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42266 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42267 __bump_nl_timestamp.
42268 * nscd/connections (nscd_init): When host database is served open
42269 netlink socket and request notification about configuration changes.
42270 (main_loop_poll): Track netlink file descriptor and bump timestamp
42271 in case data becomes available.
42272 (main_loop_epoll): Likewise.
42273 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42274 (database_pers_head): Add extra_data fileds.
42275 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42276 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42277 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42279 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42280 in6ai data, call __free_in6ai.
42281 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42282 Add -DHAVE_NETLINK.
42283 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42284 interface information. Reuse previous data if netlink timestamp
42286 (__bump_nl_timestamp): New function.
42287 (__free_in6ai): New function.
42289 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42291 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42292 close_not_cancel_no_status here.
42293 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42295 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42298 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42301 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42302 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42303 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42305 2011-07-03 Andreas Jaeger <aj@suse.de>
42308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42309 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42310 * math/libm-test.inc (sin_test): Add test case.
42312 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42315 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42316 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42318 * elf/chroot_canon.c (chroot_canon): Cleanups.
42320 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42323 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42324 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42326 * string/test-strchr.c: Make usable for strchrnul testing.
42327 * string/test-strchrnul.c: New file.
42328 * string/Makefile (strop-tests): Add strchrnul.
42330 * po/it.po: Update from translation team.
42331 * po/es.po: Likewise.
42333 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42335 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42336 the three constants needed as parameters. Drop the others.
42337 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42338 __m128i_strloadu_tolower.
42339 Create and initialize variable zero and use it in all the places
42340 where _mm_setzero_si128 was used.
42342 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42343 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42344 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42345 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42347 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42348 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42349 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42350 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42351 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42352 __mpranred, __mptan.
42353 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42354 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42355 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42356 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42357 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42358 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42359 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42360 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42361 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42363 2011-10-28 Andreas Schwab <schwab@redhat.com>
42365 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42366 redefine if SHARED.
42367 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42370 wide char related routines to wcsmbs subdir.
42372 2011-10-27 Andreas Schwab <schwab@redhat.com>
42375 * misc/sys/cdefs.h (__THROWNL): Define.
42376 * posix/unistd.h: Use __THREADNL instead of __THREAD
42377 for memory synchronization functions.
42379 2011-10-26 Roland McGrath <roland@hack.frob.com>
42382 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42384 * manual/stdio.texi (Obstack Streams): Node removed.
42386 2011-10-26 Andreas Schwab <schwab@redhat.com>
42388 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42389 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42390 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42392 * math/math_private.h (math_force_eval): Allow non-addressable
42394 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42396 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42398 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42399 file is not needed.
42401 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42402 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42403 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42404 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42405 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42406 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42407 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42408 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42410 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42411 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42412 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42413 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42414 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42415 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42416 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42417 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42418 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42419 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42420 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42421 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42422 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42423 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42424 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42425 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42426 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42427 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42428 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42430 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42431 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42433 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42434 place. Use VEX encoding when compiling for AVX.
42436 2011-10-25 Andreas Schwab <schwab@redhat.com>
42438 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42439 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42441 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42443 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42445 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42446 useless if() expression.
42447 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42448 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42449 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42450 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42451 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42452 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42453 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42454 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42455 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42456 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42457 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42458 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42459 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42460 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42461 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42462 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42463 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42464 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42465 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42467 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42469 2011-10-25 Andreas Schwab <schwab@redhat.com>
42471 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42473 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42475 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42477 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42478 .text section. Avoid duplicate constants.
42479 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42480 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42481 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42482 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42483 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42484 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42485 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42486 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42487 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42488 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42489 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42490 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42491 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42492 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42493 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42494 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42495 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42496 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42497 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42498 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42499 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42500 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42501 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42502 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42503 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42504 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42505 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42506 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42507 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42508 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42509 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42510 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42511 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42512 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42513 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42514 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42515 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42516 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42517 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42518 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42519 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42520 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42521 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42522 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42523 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42525 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42527 * sysdeps/x86_64/dla.h: Move to ...
42528 * sysdeps/x86_64/fpu/dla.h: ...here.
42529 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42530 situations. Use __builtin_fma only for gcc 4.6 and up.
42532 * config.make.in: Add have-mfma4 entry.
42533 * configure.in: Substitute libc_cv_cc_fma4.
42534 * math/Makefile (dbl-only-routines): Add sincostab.
42535 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42536 Use __sincostab not sincos.
42537 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42539 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42544 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42545 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42546 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42547 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42549 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42550 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42552 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42553 define aliases when function name is a macro.
42554 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42555 sysdeps/ieee754/dbl-64/sincos.tbl.
42556 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42557 fma4-enabled routines.
42558 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42559 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42560 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42561 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42562 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42563 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42564 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42565 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42566 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42567 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42568 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42569 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42570 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42571 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42572 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42573 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42574 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42575 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42576 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42577 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42578 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42579 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42580 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42581 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42582 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42583 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42584 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42585 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42586 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42587 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42589 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42591 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42597 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42598 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42600 2011-10-24 Andreas Schwab <schwab@redhat.com>
42602 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42604 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42606 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42608 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42610 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42612 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42613 Remove unused variable magic_bits.
42614 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42616 * string/strnlen.c: Define and use STRNLEN macro.
42617 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42618 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42619 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42620 * wcsmbs/wcslen.c: Define and use WCSLEN.
42621 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42622 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42623 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42624 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42625 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42626 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42627 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42629 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42632 strnlen-sse2-no-bsf.
42633 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42634 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42635 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42636 Add strnlen support.
42637 (USE_AS_STRNLEN): New macro.
42638 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42639 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42640 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42641 * sysdeps/x86_64/wcslen.S: New file.
42643 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42645 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42646 XMM-moves are used for copying on small sizes.
42648 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42650 * wcsmbs/Makefile (strop-tests): Add wcschr.
42651 * wcsmbs/test-wcschr.c: New file.
42652 * string/test-strchr.c: Update.
42653 Add wcschr support.
42656 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42658 * wcsmbs/Makefile (strop-tests): Add wcslen.
42659 * wcsmbs/test-wcslen.c: New file.
42660 * string/test-strlen.c: Update.
42661 Add wcslen support.
42664 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42666 * po/it.po: Update from translation team.
42668 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42670 * sysdeps/x86_64/wcscmp.S: Update.
42671 Fix wrong comparison semantics.
42672 wcscmp shall use signed comparison not unsigned.
42673 Don't use substraction to avoid overflow bug.
42674 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42675 * wcsmbc/wcscmp.c: Likewise.
42676 * string/test-strcmp.c: Likewise.
42677 Add new tests to check cases with negative values.
42679 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42681 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42682 * sysdeps/x86_64/dla.h: ...here. New file.
42683 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42684 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42688 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42689 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42690 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42691 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42693 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42695 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42696 __ynl_finite aliases.
42698 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42702 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42704 [DLA_FMA] (EMULV): Use DLA_FMA.
42705 [DLA_FMA] (MUL12): Use EMULV.
42706 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42707 that are not needed.
42708 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42712 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42713 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42714 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42716 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42718 * math/s_nan.c: Undef __nan.
42719 * math/s_nanf.c: Undef __nanf.
42720 * math/s_nanl.c: Undef __nanl.
42721 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42724 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42726 * math/s_catan.c: Add branch predictions.
42727 * math/s_catanf.c: Likewise.
42728 * math/s_catanh.c: Likewise.
42729 * math/s_catanhf.c: Likewise.
42730 * math/s_catanhl.c: Likewise.
42731 * math/s_catanl.c: Likewise.
42732 * math/s_cexp.c: Likewise.
42733 * math/s_cexpf.c: Likewise.
42734 * math/s_cexpl.c: Likewise.
42735 * math/s_clog.c: Likewise.
42736 * math/s_clog10.c: Likewise.
42737 * math/s_clog10f.c: Likewise.
42738 * math/s_clog10l.c: Likewise.
42739 * math/s_clogf.c: Likewise.
42740 * math/s_clogl.c: Likewise.
42741 * math/s_csqrt.c: Likewise.
42742 * math/s_csqrtf.c: Likewise.
42743 * math/s_csqrtl.c: Likewise.
42744 * math/s_ctanf.c: Likewise.
42745 * math/s_ctanh.c: Likewise.
42746 * math/s_ctanhf.c: Likewise.
42747 * math/s_ctanhl.c: Likewise.
42748 * math/s_ctanl.c: Likewise.
42750 * math/math_private.h: Define __nan, __nanf, __nanl.
42751 * math/s_cacosh.c: Include <math_private.h>.
42752 * math/s_cacoshl.c: Likewise.
42753 * math/s_casinh.c: Likewise.
42754 * math/s_casinhf.c: Likewise.
42755 * math/s_casinhl.c: Likewise.
42756 * math/s_ccos.c: Rely entire on ccosh.
42757 * math/s_ccosf.c: Rely entire on ccoshf.
42758 * math/s_ccosl.c: Rely entirely on ccoshl.
42759 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42760 Remove tests for FE_INVALID.
42761 * math/s_ccoshf.c: Likewise.
42762 * math/s_ccoshl.c: Likewise.
42763 * math/s_csin.c: Likewise.
42764 * math/s_csinf.c: Likewise.
42765 * math/s_csinh.c Likewise.
42766 * math/s_csinhf.c: Likewise.
42767 * math/s_csinhl.c: Likewise.
42768 * math/s_csinl.c: Likewise.
42769 * math/s_ctan.c: Likewise.
42770 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42771 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42772 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42774 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42777 compilation problems.
42779 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42782 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42784 * sysdeps/i386/configure.in: Test for -mfma4 option.
42785 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42786 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42787 COMMON_CPUID_INDEX_80000001.
42788 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42789 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42790 use it if FMA3 is not supported.
42791 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42793 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42794 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42796 2011-10-20 Andreas Schwab <schwab@redhat.com>
42799 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42800 it would create a cycle with a link time dependency.
42802 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42804 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42806 * string/Makefile (strop-tests): Add rawmemchr.
42807 * string/test-rawmemchr.c: New file.
42809 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42810 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42811 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42812 when compiling str{,n}casecmp and when AVX is available. Hook up
42813 new optimized code in initializers.
42815 2011-10-19 Andreas Schwab <schwab@redhat.com>
42817 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42818 __feraiseexcept instead of feraiseexcept.
42820 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42822 * math/math_private.h: Define defaults for libc_fetestexcept and
42824 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42825 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42826 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42827 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42828 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42829 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42830 libc_fetestexcept and libc_feupdateenv.
42832 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42833 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42834 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42835 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42836 libc_feholdexcept_setround.
42838 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42839 Add s_nearbyint-c and s_nearbyintf-c.
42840 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42841 nearbyintf inlines.
42842 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42843 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42844 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42845 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42847 * math/math_private.h: Define defaults for libc_fegetround,
42848 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42849 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42850 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42851 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42852 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42853 standard functions.
42854 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42855 Remove comments and hacks for old compiler versions.
42856 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42857 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42858 libc_feholdexceptl.
42860 2011-10-18 Andreas Schwab <schwab@redhat.com>
42862 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42863 (__feraiseexcept_renamed): Add __NTH.
42864 (feraiseexcept): Add __NTH. Rename local variables to fix
42865 namespace violations.
42867 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42869 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42871 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42873 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42874 recently added interfaces.
42875 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42877 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42878 about macro parameter expansion.
42880 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42881 __NO_MATH_INLINES is defined. Cleanups.
42883 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42884 and __floorf is target has SSE4.1.
42885 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42886 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42887 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42888 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42890 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42892 (floorf): Likewise.
42894 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42896 2011-10-17 Andreas Schwab <schwab@redhat.com>
42898 * misc/sys/cdefs.h: Fix last change.
42900 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42903 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42905 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42907 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42908 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42909 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42910 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42911 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42912 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42913 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42914 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42915 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42916 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42917 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42918 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42919 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42920 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42921 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42922 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42923 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42924 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42925 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42926 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42927 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42928 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42930 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42931 ceil, ceilf, floor, floorf.
42933 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42934 Perform IRELATIVE relocations last.
42936 * elf/do-rel.h: Add another parameter nrelative, replacing the
42937 local variable with the same name. Change name of the function
42938 to end in Rel or Rela (uppercase).
42939 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42940 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42941 elf_dynamic_do_##reloc function.
42943 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42945 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42946 is sufficient, at least on modern CPUs.
42948 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42950 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42951 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42953 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42955 * math/bits/math-finite.h: Add entries for exp.
42956 * math/e_expl.c: Add __*_finite alias.
42957 * sysdeps/i386/fpu/e_exp.S: Likewise.
42958 * sysdeps/i386/fpu/e_expf.S: Likewise.
42959 * sysdeps/i386/fpu/e_expl.c: Likewise.
42960 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42961 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42962 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42963 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42964 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42965 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42966 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42968 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42969 is sufficient, at least on modern CPUs.
42971 * ctype/ctype-info.c (__ctype_init): Define.
42972 * include/ctype.h (__ctype_init): Declare.
42973 (__ctype_b_loc): The variable is always initialized.
42974 (__ctype_toupper_loc): Likewise.
42975 (__ctype_tolower_loc): Likewise.
42976 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42977 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42979 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42981 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42983 * configure.in: Also look in $cxxmachine/include for C++ system
42986 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42988 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42989 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42990 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42991 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42992 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42993 (USE_AS_WMEMCMP): New macro.
42995 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42996 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42997 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42998 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43000 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43001 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43002 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43003 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43004 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43005 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43006 (USE_AS_WMEMCMP): New macro.
43007 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43008 * sysdeps/string/test-memcmp.c: Update.
43009 Fix simple_wmemcmp.
43011 * wcsmbs/wmemcmp.c: Update.
43012 (WMEMCMP): New macro.
43015 2011-10-12 Andreas Jaeger <aj@suse.de>
43018 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43020 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43022 * libio/iofwide.c (do_length): Avoid warning.
43024 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43026 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43028 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43030 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43031 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43032 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43033 * sysdeps/i386/i686/fpu/e_log.S: New file.
43034 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43035 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43037 * ctype/ctype.h: Add support for inlined isXXX functions when
43038 compiling C++ code.
43040 2011-10-14 Andreas Schwab <schwab@redhat.com>
43042 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43044 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43046 2011-10-13 Roland McGrath <roland@hack.frob.com>
43049 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43051 2011-10-13 Andreas Schwab <schwab@redhat.com>
43053 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43054 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43057 * sysdeps/x86_64/memrchr.S: Check for zero size.
43059 * string/stratcliff.c: Add memrchr tests.
43061 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43064 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43065 rawmemchr-sse2 rawmemchr-sse2-bsf.
43066 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43067 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43068 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43069 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43070 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43071 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43072 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43073 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43074 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43075 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43076 * string/memrchr.c (MEMRCHR): New macro.
43078 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43080 Add integration with gcc's -ffinite-math-only and optimize wrapper
43082 * Versions.def: Define GLIBC_2.15 version for libm.
43083 * math/Makefile (headers): Add bits/math-finite.h.
43084 * math/bits/math-finite.h: New file.
43085 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43086 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43087 * math/e_acoshl.c: Add __*_finite alias.
43088 * math/e_acosl.c: Likewise.
43089 * math/e_asinl.c: Likewise.
43090 * math/e_atan2l.c: Likewise.
43091 * math/e_atanhl.c: Likewise.
43092 * math/e_coshl.c: Likewise.
43093 * math/e_exp10.c: Likewise.
43094 * math/e_exp10f.c: Likewise.
43095 * math/e_exp10l.c: Likewise.
43096 * math/e_exp2l.c: Likewise.
43097 * math/e_fmodl.c: Likewise.
43098 * math/e_gammal_r.c: Likewise.
43099 * math/e_hypotl.c: Likewise.
43100 * math/e_j0l.c: Likewise.
43101 * math/e_j1l.c: Likewise.
43102 * math/e_jnl.c: Likewise.
43103 * math/e_lgammal_r.c: Likewise.
43104 * math/e_log10l.c: Likewise.
43105 * math/e_log2l.c: Likewise.
43106 * math/e_logl.c: Likewise.
43107 * math/e_powl.c: Likewise.
43108 * math/e_sinhl.c: Likewise.
43109 * math/e_sqrtl.c: Likewise.
43110 * math/e_scalb.c: Completely rewritten and optimized.
43111 * math/e_scalbf.c: Likewise.
43112 * math/e_scalbl.c: Likewise.
43113 * math/w_acos.c: Likewise.
43114 * math/w_acosf.c: Likewise.
43115 * math/w_acosl.c: Likewise.
43116 * math/w_acosh.c: Likewise.
43117 * math/w_acoshf.c: Likewise.
43118 * math/w_acoshl.c: Likewise.
43119 * math/w_asin.c: Likewise.
43120 * math/w_asinf.c: Likewise.
43121 * math/w_asinl.c: Likewise.
43122 * math/w_atan2.c: Likewise.
43123 * math/w_atan2f.c: Likewise.
43124 * math/w_atan2l.c: Likewise.
43125 * math/w_atanh.c: Likewise.
43126 * math/w_atanhf.c: Likewise.
43127 * math/w_atanhl.c: Likewise.
43128 * math/w_exp10.c: Likewise.
43129 * math/w_exp10f.c: Likewise.
43130 * math/w_exp10l.c: Likewise.
43131 * math/w_fmod.c: Likewise.
43132 * math/w_fmodf.c: Likewise.
43133 * math/w_fmodl.c: Likewise.
43134 * math/w_j0.c: Likewise.
43135 * math/w_j0f.c: Likewise.
43136 * math/w_j0l.c: Likewise.
43137 * math/w_j1.c: Likewise.
43138 * math/w_j1f.c: Likewise.
43139 * math/w_j1l.c: Likewise.
43140 * math/w_jn.c: Likewise.
43141 * math/w_jnf.c: Likewise.
43142 * math/w_log.c: Likewise.
43143 * math/w_logf.c: Likewise.
43144 * math/w_logl.c: Likewise.
43145 * math/w_log10.c: Likewise.
43146 * math/w_log10f.c: Likewise.
43147 * math/w_log10l.c: Likewise.
43148 * math/w_log2.c: Likewise.
43149 * math/w_log2f.c: Likewise.
43150 * math/w_log2l.c: Likewise.
43151 * math/w_pow.c: Likewise.
43152 * math/w_powf.c: Likewise.
43153 * math/w_powl.c: Likewise.
43154 * math/w_remainder.c: Likewise.
43155 * math/w_remainderf.c: Likewise.
43156 * math/w_remainderl.c: Likewise.
43157 * math/w_scalb.c: Likewise.
43158 * math/w_scalbf.c: Likewise.
43159 * math/w_scalbl.c: Likewise.
43160 * math/w_sqrt.c: Likewise.
43161 * math/w_sqrtf.c: Likewise.
43162 * math/w_sqrtl.c: Likewise.
43163 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43164 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43166 * math/math_private.h: Declare __kernel_standard_f.
43167 * math/w_cosh.c: Remove cruft and optimize a bit.
43168 * math/w_coshf.c: Likewise.
43169 * math/w_coshl.c: Likewise.
43170 * math/w_exp2.c: Likewise.
43171 * math/w_exp2f.c: Likewise.
43172 * math/w_exp2l.c: Likewise.
43173 * math/w_hypot.c: Likewise.
43174 * math/w_hypotf.c: Likewise.
43175 * math/w_hypotl.c: Likewise.
43176 * math/w_lgamma.c: Likewise.
43177 * math/w_lgamma_r.c: Likewise.
43178 * math/w_lgammaf.c: Likewise.
43179 * math/w_lgammaf_r.c: Likewise.
43180 * math/w_lgammal.c: Likewise.
43181 * math/w_lgammal_r.c: Likewise.
43182 * math/w_sinh.c: Likewise.
43183 * math/w_sinhf.c: Likewise.
43184 * math/w_sinhl.c: Likewise.
43185 * math/w_tgamma.c: Likewise.
43186 * math/w_tgammaf.c: Likewise.
43187 * math/w_tgammal.c: Likewise.
43188 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43189 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43190 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43191 Minor optimizations. Pretty printing. Remove cruft.
43192 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43193 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43194 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43195 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43196 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43197 * sysdeps/i386/fpu/e_asin.S: Likewise.
43198 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43199 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43200 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43201 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43202 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43203 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43204 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43205 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43206 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43207 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43208 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43209 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43210 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43211 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43212 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43213 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43214 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43215 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43216 * sysdeps/i386/fpu/e_log.S: Likewise.
43217 * sysdeps/i386/fpu/e_log10.S: Likewise.
43218 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43219 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43220 * sysdeps/i386/fpu/e_log2.S: Likewise.
43221 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43222 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43223 * sysdeps/i386/fpu/e_logf.S: Likewise.
43224 * sysdeps/i386/fpu/e_logl.S: Likewise.
43225 * sysdeps/i386/fpu/e_pow.S: Likewise.
43226 * sysdeps/i386/fpu/e_powf.S: Likewise.
43227 * sysdeps/i386/fpu/e_powl.S: Likewise.
43228 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43229 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43230 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43231 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43232 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43233 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43234 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43235 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43236 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43237 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43238 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43240 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43241 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43242 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43243 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43244 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43245 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43246 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43247 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43248 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43249 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43250 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43251 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43253 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43254 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43255 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43256 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43257 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43258 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43259 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43260 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43261 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43262 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43263 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43264 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43265 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43266 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43267 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43268 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43269 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43270 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43271 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43272 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43273 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43274 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43275 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43276 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43277 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43278 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43279 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43280 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43281 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43282 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43283 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43284 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43285 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43286 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43287 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43288 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43289 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43290 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43291 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43292 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43293 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43294 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43295 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43296 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43297 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43298 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43299 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43300 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43301 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43302 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43303 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43304 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43305 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43306 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43307 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43308 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43309 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43311 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43312 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43313 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43314 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43315 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43316 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43317 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43318 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43319 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43320 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43321 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43322 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43323 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43324 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43325 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43326 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43327 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43328 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43329 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43330 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43331 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43332 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43333 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43334 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43335 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43336 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43337 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43338 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43339 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43340 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43341 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43342 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43343 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43344 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43345 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43346 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43347 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43348 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43349 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43350 (__isnanf): Likewise.
43351 (__isinf_ns): Likewise.
43352 (__isinf_nsf): Likewise.
43353 (__finite): Likewise.
43354 (__finitef): Likewise.
43355 (__ieee754_sqrt): Define as macro.
43356 (__ieee754_sqrtf): Define as macro.
43357 (__ieee754_sqrtl): Define as macro.
43358 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43360 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43361 __FINITE_MATH_ONLY__ consistent.
43362 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43364 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43366 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43369 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43371 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43373 * po/ja.po: Update from translation team.
43375 2011-10-08 Roland McGrath <roland@hack.frob.com>
43377 * locale/programs/locarchive.c (prepare_address_space): New function.
43378 (create_archive, enlarge_archive, open_archive): Use it.
43380 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43381 inside [SHARED], where it is used.
43383 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43385 * nss/getent.c (netgroup_keys): Remove unused variable.
43386 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43388 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43390 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43391 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43393 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43394 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43395 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43396 * math/Makefile (libm-calls): Add s_isinf_ns.
43397 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43398 * math/multc3.c: Likewise.
43399 * math/s_casin.c: Likewise.
43400 * math/s_casinf.c: Likewise.
43401 * math/s_casinl.c: Likewise.
43402 * math/s_ccos.c: Likewise.
43403 * math/s_ccosf.c: Likewise.
43404 * math/s_ccosl.c: Likewise.
43405 * math/s_ctan.c: Likewise.
43406 * math/s_ctanf.c: Likewise.
43407 * math/s_ctanh.c: Likewise.
43408 * math/s_ctanhf.c: Likewise.
43409 * math/s_ctanhl.c: Likewise.
43410 * math/s_ctanl.c: Likewise.
43411 * math/w_fmod.c: Likewise.
43412 * math/w_fmodf.c: Likewise.
43413 * math/w_fmodl.c: Likewise.
43414 * math/w_remainder.c: Likewise.
43415 * math/w_remainderf.c: Likewise.
43416 * math/w_remainderl.c: Likewise.
43417 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43418 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43419 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43420 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43421 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43422 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43423 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43424 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43426 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43428 * stdio-common/printf_fphex.c: Likewise.
43429 * stdio-common/printf_size.c: Likewise.
43431 * math/e_exp10.c: Include math_private.h using <...> not "...".
43432 * math/e_exp10f.c: Likewise.
43433 * math/e_exp10l.c: Likewise.
43434 * math/e_exp2l.c: Likewise.
43435 * math/e_j0l.c: Likewise.
43436 * math/e_j1l.c: Likewise.
43437 * math/e_jnl.c: Likewise.
43438 * math/e_lgammal_r.c: Likewise.
43439 * math/e_rem_pio2l.c: Likewise.
43440 * math/e_scalb.c: Likewise.
43441 * math/e_scalbf.c: Likewise.
43442 * math/e_scalbl.c: Likewise.
43443 * math/k_cosl.c: Likewise.
43444 * math/k_sinl.c: Likewise.
43445 * math/k_tanl.c: Likewise.
43446 * math/s_cacoshf.c: Likewise.
43447 * math/s_catan.c: Likewise.
43448 * math/s_catanf.c: Likewise.
43449 * math/s_catanh.c: Likewise.
43450 * math/s_catanhf.c: Likewise.
43451 * math/s_catanhl.c: Likewise.
43452 * math/s_catanl.c: Likewise.
43453 * math/s_ccosh.c: Likewise.
43454 * math/s_ccoshf.c: Likewise.
43455 * math/s_ccoshl.c: Likewise.
43456 * math/s_cexp.c: Likewise.
43457 * math/s_cexpf.c: Likewise.
43458 * math/s_cexpl.c: Likewise.
43459 * math/s_clog.c: Likewise.
43460 * math/s_clog10.c: Likewise.
43461 * math/s_clog10f.c: Likewise.
43462 * math/s_clog10l.c: Likewise.
43463 * math/s_clogf.c: Likewise.
43464 * math/s_clogl.c: Likewise.
43465 * math/s_csin.c: Likewise.
43466 * math/s_csinf.c: Likewise.
43467 * math/s_csinh.c: Likewise.
43468 * math/s_csinhf.c: Likewise.
43469 * math/s_csinhl.c: Likewise.
43470 * math/s_csinl.c: Likewise.
43471 * math/s_csqrt.c: Likewise.
43472 * math/s_csqrtf.c: Likewise.
43473 * math/s_csqrtl.c: Likewise.
43474 * math/s_ctan.c: Likewise.
43475 * math/s_ctanf.c: Likewise.
43476 * math/s_ctanh.c: Likewise.
43477 * math/s_ctanhf.c: Likewise.
43478 * math/s_ctanhl.c: Likewise.
43479 * math/s_ctanl.c: Likewise.
43480 * math/s_ldexp.c: Likewise.
43481 * math/s_ldexpf.c: Likewise.
43482 * math/s_ldexpl.c: Likewise.
43483 * math/s_significand.c: Likewise.
43484 * math/s_significandf.c: Likewise.
43485 * math/s_significandl.c: Likewise.
43486 * math/w_acos.c: Likewise.
43487 * math/w_acosf.c: Likewise.
43488 * math/w_acosh.c: Likewise.
43489 * math/w_acoshf.c: Likewise.
43490 * math/w_acoshl.c: Likewise.
43491 * math/w_acosl.c: Likewise.
43492 * math/w_asin.c: Likewise.
43493 * math/w_asinf.c: Likewise.
43494 * math/w_asinl.c: Likewise.
43495 * math/w_atan2.c: Likewise.
43496 * math/w_atan2f.c: Likewise.
43497 * math/w_atan2l.c: Likewise.
43498 * math/w_atanh.c: Likewise.
43499 * math/w_atanhf.c: Likewise.
43500 * math/w_atanhl.c: Likewise.
43501 * math/w_cosh.c: Likewise.
43502 * math/w_coshf.c: Likewise.
43503 * math/w_coshl.c: Likewise.
43504 * math/w_dremf.c: Likewise.
43505 * math/w_exp10.c: Likewise.
43506 * math/w_exp10f.c: Likewise.
43507 * math/w_exp10l.c: Likewise.
43508 * math/w_exp2.c: Likewise.
43509 * math/w_exp2f.c: Likewise.
43510 * math/w_fmod.c: Likewise.
43511 * math/w_fmodf.c: Likewise.
43512 * math/w_fmodl.c: Likewise.
43513 * math/w_hypot.c: Likewise.
43514 * math/w_hypotf.c: Likewise.
43515 * math/w_hypotl.c: Likewise.
43516 * math/w_j0.c: Likewise.
43517 * math/w_j0f.c: Likewise.
43518 * math/w_j0l.c: Likewise.
43519 * math/w_j1.c: Likewise.
43520 * math/w_j1f.c: Likewise.
43521 * math/w_j1l.c: Likewise.
43522 * math/w_jn.c: Likewise.
43523 * math/w_jnf.c: Likewise.
43524 * math/w_jnl.c: Likewise.
43525 * math/w_lgamma.c: Likewise.
43526 * math/w_lgamma_r.c: Likewise.
43527 * math/w_lgammaf.c: Likewise.
43528 * math/w_lgammaf_r.c: Likewise.
43529 * math/w_lgammal.c: Likewise.
43530 * math/w_lgammal_r.c: Likewise.
43531 * math/w_log.c: Likewise.
43532 * math/w_log10.c: Likewise.
43533 * math/w_log10f.c: Likewise.
43534 * math/w_log10l.c: Likewise.
43535 * math/w_log2.c: Likewise.
43536 * math/w_log2f.c: Likewise.
43537 * math/w_log2l.c: Likewise.
43538 * math/w_logf.c: Likewise.
43539 * math/w_logl.c: Likewise.
43540 * math/w_pow.c: Likewise.
43541 * math/w_powf.c: Likewise.
43542 * math/w_powl.c: Likewise.
43543 * math/w_remainder.c: Likewise.
43544 * math/w_remainderf.c: Likewise.
43545 * math/w_remainderl.c: Likewise.
43546 * math/w_scalb.c: Likewise.
43547 * math/w_scalbf.c: Likewise.
43548 * math/w_scalbl.c: Likewise.
43549 * math/w_sinh.c: Likewise.
43550 * math/w_sinhf.c: Likewise.
43551 * math/w_sinhl.c: Likewise.
43552 * math/w_sqrt.c: Likewise.
43553 * math/w_sqrtf.c: Likewise.
43554 * math/w_sqrtl.c: Likewise.
43555 * math/w_tgamma.c: Likewise.
43556 * math/w_tgammaf.c: Likewise.
43557 * math/w_tgammal.c: Likewise.
43559 * po/ja.po: Update from translation team.
43561 2011-09-29 Andreas Jaeger <aj@suse.de>
43564 * sunrpc/netname.c (netname2host): Fix logic.
43568 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43570 * math/w_remainder.c (__remainder): Likewise.
43571 * math/w_remainderf.c (__remainderf): Likewise.
43572 * math/libm-test.inc (remainder_test): Add test cases.
43574 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43576 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43579 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43581 * string/test-memcmp.c: Avoid unncessary #defines.
43582 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43584 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43586 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43587 Use new sse2 version for core i3 - i7 as it's faster
43588 than sse42 version.
43589 (bit_Prefer_PMINUB_for_stringop): New.
43590 * sysdeps/x86_64/rawmemchr.S: Update.
43591 Replace with faster SSE2 version.
43592 * sysdeps/x86_64/memrchr.S: New file.
43593 * sysdeps/x86_64/memchr.S: Update.
43594 Replace with faster SSE2 version.
43596 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43598 * elf/dl-load.c (lose): Add cast to avoid warning.
43600 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43602 * po/ca.po: Update from translation team.
43604 * inet/getnetgrent_r.c: Hook up nscd.
43605 * nscd/Makefile (routines): Add nscd_netgroup.
43606 (nscd-modules): Add netgroupcache.
43607 (CFLAGS-netgroupcache.c): Define.
43608 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43609 (cache_search): Add const to second parameter.
43610 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43612 (dbs): Add netgrdb entry.
43613 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43614 (verify_persistent_db): Handle netgrdb.
43615 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43616 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43618 (netgroup_response_header): Define.
43619 (innetgroup_response_header): Define.
43620 (datahead): Add netgroup_response_header and innetgroup_response_header
43622 * nscd/nscd.conf: Add entries for netgroup cache.
43623 * nscd/nscd.h (dbtype): Add netgrdb.
43624 (_PATH_NSCD_NETGROUP_DB): Define.
43625 (netgroup_iov_disabled): Declare.
43626 (xmalloc, xcalloc, xrealloc): Move declarations here.
43627 (cache_search): Adjust prototype.
43628 Add netgroup-related prototypes.
43629 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43630 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43631 (__nscd_innetgr): Declare.
43632 * nscd/selinux.c (perms): Use access_vector_t as element type and
43633 add netgroup-related initializers.
43634 * nscd/netgroupcache.c: New file.
43635 * nscd/nscd_netgroup.c: New file.
43636 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43637 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43638 For four parameters use innetgr.
43639 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43640 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43641 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43642 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43644 * nscd/connections.c (register_traced_file): Don't register file
43645 for disabled databases.
43647 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43649 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43651 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43652 from tree and freeing node.
43654 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43656 * nss/nsswitch.c (__nss_database_lookup): Handle
43657 nss_parse_service_list out of memory case.
43659 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43661 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43662 out of memory case.
43664 2011-10-04 Andreas Schwab <schwab@redhat.com>
43666 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43667 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43669 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43670 elf_machine_rela, elf_machine_lazy_rel.
43671 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43672 (ELF_DYNAMIC_DO_REL): Likewise.
43673 (ELF_DYNAMIC_DO_RELA): Likewise.
43674 (ELF_DYNAMIC_RELOCATE): Likewise.
43675 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43676 to ELF_DYNAMIC_DO_REL.
43677 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43678 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43679 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43681 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43682 skip_ifunc, don't call ifunc function if non-zero.
43683 (elf_machine_rela): Likewise.
43684 (elf_machine_lazy_rel): Likewise.
43685 (elf_machine_lazy_rela): Likewise.
43686 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43687 (elf_machine_lazy_rel): Likewise.
43688 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43690 (elf_machine_lazy_rel): Likewise.
43691 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43693 (elf_machine_lazy_rel): Likewise.
43694 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43695 (elf_machine_lazy_rel): Likewise.
43696 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43697 (elf_machine_lazy_rel): Likewise.
43698 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43699 (elf_machine_lazy_rel): Likewise.
43700 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43701 (elf_machine_lazy_rel): Likewise.
43702 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43703 (elf_machine_lazy_rel): Likewise.
43704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43705 (elf_machine_lazy_rel): Likewise.
43707 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43709 * nss/nss_files/files-init.c (_nss_files_init): Use static
43710 initialization for all the *_traced_file variables.
43712 2011-09-28 Andreas Schwab <schwab@redhat.com>
43714 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43716 2011-09-27 Roland McGrath <roland@hack.frob.com>
43719 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43721 2011-09-27 Andreas Schwab <schwab@redhat.com>
43723 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43724 Reread the line before reparsing it.
43726 2011-09-26 Andreas Schwab <schwab@redhat.com>
43728 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43730 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43731 Maxim Kuvyrkov <maxim@codesourcery.com>
43732 Joseph Myers <joseph@codesourcery.com>
43734 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43735 if needed for __stack_chk_guard.
43737 2011-09-19 Roland McGrath <roland@hack.frob.com>
43739 * sysdeps/posix/spawni.c (script_execute): Always define it.
43740 It will be optimized away if unused.
43741 (maybe_script_execute): New function.
43742 (__spawni): Call it.
43744 * Makerules: Don't include tls.make.
43745 (config-tls): Always set to thread.
43746 * tls.make.c: File removed.
43748 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43750 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43751 * config.make.in (CPPFLAGS-config): New substituted variable.
43753 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43755 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43758 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43759 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43761 2011-09-15 Roland McGrath <roland@hack.frob.com>
43763 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43764 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43765 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43766 (CALL_FAIL): Likewise.
43767 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43768 (CALL_FAIL): Macro removed.
43769 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43771 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43773 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43774 for __FINITE_MATH_ONLY__ == 1.
43776 2011-09-15 Andreas Schwab <schwab@redhat.com>
43778 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43779 __ieee754_sqrt instead of sqrt.
43780 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43781 __ieee754_sqrtf instead of sqrtf.
43782 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43783 __floorf instead of floorf.
43784 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43785 __floorf, __truncf instead of floorf, truncf.
43787 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43789 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43791 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43792 __extern_always_inline.
43793 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43796 2011-09-14 Andreas Schwab <schwab@redhat.com>
43798 * elf/rtld.c (dl_main): Also relocate in dependency order when
43799 doing symbol dependency testing.
43801 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43803 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43804 Always define `refsym'.
43806 2011-09-13 Andreas Schwab <schwab@redhat.com>
43808 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43809 (__FD_ELT): Renamed from __FDELT.
43810 * misc/bits/select2.h (__FD_ELT): Likewise.
43811 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43812 __FD_MASK instead of __FDELT, __FDMASK.
43813 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43815 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43818 * elf/Makefile (gen-ldd): Fix pattern.
43820 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43821 (init_tls): Likewise.
43823 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43825 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43827 2011-09-12 Andreas Schwab <schwab@redhat.com>
43829 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43830 `struct cmsghdr *' instead of `void *'.
43831 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43834 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43836 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43838 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43839 ldd_rewrite_script.
43841 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43843 * configure.in: Remove --with-tls option.
43844 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43845 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43846 out in case it is missing.
43847 * sysdeps/ia64/elf/configure.in: Likewise.
43848 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43849 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43850 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43851 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43852 * sysdeps/sh/elf/configure.in: Likewise.
43853 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43854 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43855 * sysdeps/x86_64/elf/configure.in: Likewise.
43856 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43857 * sysdeps/mach/hurd/tls.h: Likewise.
43860 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43863 * configure.in: Fix use of AC_INIT.
43865 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43867 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43869 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43871 * malloc/hooks.c: Likewise.
43874 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43875 variables statically.
43876 (narenas): Initialize.
43877 (list_lock): Initialize.
43878 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43879 initializtion of main_arena and list_lock. Small cleanups.
43880 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43881 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43882 Add initializers to main_arena and mp_.
43883 (malloc_state): Remove pagesize member. Change all users to use
43886 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43887 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43888 is always initialized.
43890 * malloc/malloc.c: Removed unused configurations and dead code.
43891 * malloc/arena.c: Likewise.
43892 * malloc/hooks.c: Likewise.
43893 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43895 * include/tls.h: Removed. USE___THREAD must always be defined.
43896 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43897 * elf/dl-libc.c: Likewise.
43898 * elf/dl-tsd.c: Likewise.
43899 * include/errno.h: Likewise.
43900 * include/netdb.h: Likewise.
43901 * include/resolv.h: Likewise.
43902 * inet/herrno-loc.c: Likewise.
43903 * inet/herrno.c: Likewise.
43904 * malloc/arena.c: Likewise.
43905 * malloc/hooks.c: Likewise.
43906 * malloc/malloc.c: Likewise.
43907 * resolv/res-state.c: Likewise.
43908 * resolv/res_libc.c: Likewise.
43909 * sysdeps/i386/dl-machine.h: Likewise.
43910 * sysdeps/ia64/dl-machine.h: Likewise.
43911 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43912 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43913 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43914 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43915 * sysdeps/sh/dl-machine.h: Likewise.
43916 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43917 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43918 * sysdeps/unix/i386/sysdep.S: Likewise.
43919 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43920 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43921 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43922 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43923 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43925 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43928 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43929 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43930 * sysdeps/x86_64/dl-machine.h: Likewise.
43931 * tls.make.c: Likewise.
43933 * configure.in: Remove --with-__thread option. Make tests for
43934 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43935 tls_model attribute fail if no support is available. Remove
43937 * Makeconfig: Adjust for dropped configure option. All features are
43939 * Makerules: Likewise.
43940 * Versions.def: Likewise.
43941 * argp/argp-fmtstream.c: Likewise.
43942 * argp/argp-fmtstream.h: Likewise.
43943 * argp/argp-help.c: Likewise.
43944 * assert/assert.c: Likewise.
43945 * config.h.in: Likewise.
43946 * config.make.in: Likewise.
43947 * configure: Likewise.
43948 * configure.in: Likewise.
43949 * csu/Versions: Likewise.
43950 * csu/init.c: Likewise.
43951 * elf/tst-audit2.c: Likewise.
43952 * elf/tst-tls10.c: Likewise.
43953 * elf/tst-tls10.h: Likewise.
43954 * elf/tst-tls11.c: Likewise.
43955 * elf/tst-tls12.c: Likewise.
43956 * elf/tst-tls14.c: Likewise.
43957 * elf/tst-tlsmod11.c: Likewise.
43958 * elf/tst-tlsmod12.c: Likewise.
43959 * elf/tst-tlsmod13.c: Likewise.
43960 * elf/tst-tlsmod13a.c: Likewise.
43961 * elf/tst-tlsmod14a.c: Likewise.
43962 * elf/tst-tlsmod15b.c: Likewise.
43963 * elf/tst-tlsmod16a.c: Likewise.
43964 * elf/tst-tlsmod16b.c: Likewise.
43965 * elf/tst-tlsmod7.c: Likewise.
43966 * elf/tst-tlsmod8.c: Likewise.
43967 * elf/tst-tlsmod9.c: Likewise.
43968 * gmon/gmon.c: Likewise.
43969 * grp/fgetgrent_r.c: Likewise.
43970 * grp/putgrent.c: Likewise.
43971 * hurd/fopenport.c: Likewise.
43972 * include/libc-symbols.h: Likewise.
43973 * include/tls.h: Likewise.
43974 * intl/gettextP.h: Likewise.
43975 * intl/loadinfo.h: Likewise.
43976 * locale/global-locale.c: Likewise.
43977 * locale/localeinfo.h: Likewise.
43978 * mach/devstream.c: Likewise.
43979 * malloc/arena.c: Likewise.
43980 * malloc/set-freeres.c: Likewise.
43981 * misc/err.c: Likewise.
43982 * misc/getttyent.c: Likewise.
43983 * misc/mntent_r.c: Likewise.
43984 * posix/getopt.c: Likewise.
43985 * posix/wordexp.c: Likewise.
43986 * pwd/fgetpwent_r.c: Likewise.
43987 * resolv/Versions: Likewise.
43988 * resolv/res_hconf.c: Likewise.
43989 * shadow/fgetspent_r.c: Likewise.
43990 * shadow/putspent.c: Likewise.
43991 * stdio-common/printf_fphex.c: Likewise.
43992 * stdio-common/tmpfile.c: Likewise.
43993 * stdlib/abort.c: Likewise.
43994 * stdlib/fmtmsg.c: Likewise.
43995 * sunrpc/auth_unix.c: Likewise.
43996 * sunrpc/clnt_perr.c: Likewise.
43997 * sunrpc/clnt_tcp.c: Likewise.
43998 * sunrpc/clnt_udp.c: Likewise.
43999 * sunrpc/clnt_unix.c: Likewise.
44000 * sunrpc/openchild.c: Likewise.
44001 * sunrpc/svc_simple.c: Likewise.
44002 * sunrpc/svc_tcp.c: Likewise.
44003 * sunrpc/svc_udp.c: Likewise.
44004 * sunrpc/svc_unix.c: Likewise.
44005 * sunrpc/xdr.c: Likewise.
44006 * sunrpc/xdr_array.c: Likewise.
44007 * sunrpc/xdr_rec.c: Likewise.
44008 * sunrpc/xdr_ref.c: Likewise.
44009 * sunrpc/xdr_stdio.c: Likewise.
44011 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44013 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44015 2011-07-03 Andreas Jaeger <aj@suse.de>
44017 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44018 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44019 regenerate with gen-libm-tests.pl.
44021 2010-05-12 Petr Baudis <pasky@suse.cz>
44024 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44025 around j0() zero points by switching to j1().
44026 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44027 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44029 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44031 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44033 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44035 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44038 Patch in part by Pavel Roskin <proski@gnu.org>.
44041 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44043 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44044 Free memory block if necessary.
44047 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44048 be NULL. Don't lock in this case.
44050 2011-09-09 Roland McGrath <roland@hack.frob.com>
44052 * elf/elf.h (ELFOSABI_GNU): New macro.
44053 (ELFOSABI_LINUX): Define to that.
44055 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44057 * string/strncat.c (strncat): Undef the symbol in case it has been
44058 defined in bits/string.h.
44060 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44062 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44064 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44067 2011-08-17 Andreas Jaeger <aj@suse.de>
44069 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44071 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44072 Ian Lance Taylor <iant@google.com>
44074 * math/libm-test.inc (lround_test): New testcase.
44075 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44077 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44079 * Makefile: Remove support for automatic cvs check-ins.
44080 * Makerules: Likewise.
44081 * config.make.in: Likewise.
44082 * configure.in: Likewise.
44083 * intl/Makefile: Likewise.
44084 * locale/Makefile: Likewise.
44085 * po/Makefile: Likewise.
44086 * posix/Makefile: Likewise.
44087 * sysdeps/gnu/Makefile: Likewise.
44088 * sysdeps/mach/hurd/Makefile: Likewise.
44089 * sysdeps/sparc/sparc32/Makefile: Likewise.
44092 * posix/Makefile (bug-regex32-ENV): Define.
44093 Patch by John Stanley <jpsinthemix@verizon.net>.
44095 * misc/Makefile (headers): Add bits/select2.h.
44096 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44097 * misc/bits/select2.h: New file.
44098 * include/bits/select2.h: New file.
44099 * debug/Makefile (routines): Add fdelt_chk.
44100 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44101 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44103 * debug/fdelt_chk.c: New file.
44105 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44106 * wcsmbs/test-wmemcmp.c: Likewise.
44107 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44108 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44110 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44112 * string/Makefile (strop-tests): Add memcmp.
44113 * string/test-wmemcmp.c: New file.
44114 * string/test-memcmp.c: Add wmemcmp support.
44116 2011-09-08 Roland McGrath <roland@hack.frob.com>
44119 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44122 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44123 garbage value in a __mach_port_mod_refs call in the cases of the
44124 task-self and thread-self ports.
44126 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44128 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44130 2011-09-08 Andreas Schwab <schwab@redhat.com>
44132 * elf/dl-load.c (lose): Check for non-null L.
44134 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44136 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44138 * elf/dl-libc.c (dlerror_run): Pass back error code from
44142 * elf/dl-load.c (lose): Free l_origin if it is valid.
44144 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44146 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44147 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44148 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44149 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44150 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44151 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44153 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44155 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44156 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44157 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44158 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44159 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44160 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44161 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44162 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44163 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44164 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44166 2011-08-15 Alan Modra <amodra@gmail.com>
44169 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44170 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44171 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44172 ppc_mcount to static-only-routines.
44173 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44175 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44176 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44178 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44180 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44181 for finite and infinity parameters.
44183 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44185 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44186 and add nop instructions for throughput optimization.
44187 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44189 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44191 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44192 aligned copy for power7 with vector-scalar instructions.
44193 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44195 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44197 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44200 2011-09-07 Andreas Schwab <schwab@redhat.com>
44203 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44206 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44208 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44209 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44210 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44211 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44214 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44216 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44217 Forgot to demangle the pointer.
44219 * sysdeps/i386/sysdep.h: Define atom_text_section.
44220 * sysdeps/x86_64/sysdep.h: Likewise.
44221 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44222 section with atom_text_section.
44223 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44224 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44225 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44226 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44227 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44229 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44230 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44231 already be defined. Change to take two parameters and don't assign
44232 result to variable. Adjust all users.
44233 Define INTERNAL_GETTIME if not already defined.
44234 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44237 HAVE_CLOCK_GETTIME_VSYSCALL.
44238 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44241 gettimeofday vsyscall, just use time.
44243 2011-09-06 Andreas Schwab <schwab@redhat.com>
44245 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44248 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44250 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44252 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44254 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44255 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44256 syscall if possible.
44258 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44260 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44261 e_ident. Don't pass to find_mapsXX.
44262 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44264 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44267 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44268 * sysdeps/x86_64/multiarch/strchr.S: Update.
44269 Check bit_slow_BSF bit.
44270 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44271 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44272 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44274 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44277 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44279 (tryshell): Define.
44280 (__spawni): Change last parameter to be flag. Test
44281 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44282 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44283 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44284 * posix/spawni.c: Likewise.
44285 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44286 * posix/spawnp.c: Likewise. Change normal version to use
44287 SPAWN_XFLAGS_USE_PATH.
44288 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44289 SPAWN_XFLAGS_TRY_SHELL.
44292 * posix/glob.h: Remove gcc 1.x support.
44295 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44297 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44300 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44302 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44303 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44304 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44305 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44306 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44307 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44309 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44311 * sysdeps/x86_64/wcscmp.S: New file.
44313 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44314 wcscmp-c wcscmp-sse2
44315 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44316 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44317 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44318 * wcsmbs/wcscmp.c: Allow renaming.
44320 2011-09-05 David S. Miller <davem@davemloft.net>
44322 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44323 stack slot, rather than the struct return pointer slot.
44324 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44325 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44327 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44329 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44331 * po/ja.po: Update from translation team.
44334 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44335 kernel in 64-bit binaries.
44337 2011-09-01 David S. Miller <davem@davemloft.net>
44339 * elf/elf.h (HWCAP_SPARC_*): Move to..
44340 * sysdeps/sparc/sysdep.h: this new file and add new values.
44341 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44342 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44343 _DL_HWCAP_COUNT to 24.
44344 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44346 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44347 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44348 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44350 instead of magic constants.
44351 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44353 2011-08-31 David S. Miller <davem@davemloft.net>
44355 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44356 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44357 Reimplement to do errno handling inline.
44358 (SYSCALL_ERROR_HANDLER): New macro.
44359 (__SYSCALL_STRING): Do not do errno handling in asm.
44360 (__CLONE_SYSCALL_STRING): Delete.
44361 (__INTERNAL_SYSCALL_STRING): Delete.
44362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44363 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44364 (PSEUDO): Reimplement to do errno handling inline.
44365 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44366 (SYSCALL_ERROR_HANDLER): New macro.
44367 (__SYSCALL_STRING): Do not do errno handling in asm.
44368 (__CLONE_SYSCALL_STRING): Delete.
44369 (__INTERNAL_SYSCALL_STRING): Delete.
44370 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44371 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44373 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44374 (inline_syscall*): Add 'err' argument.
44375 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44376 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44377 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44378 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44380 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44381 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44383 2011-08-30 Andreas Schwab <schwab@redhat.com>
44385 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44387 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44389 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44392 2011-08-24 David S. Miller <davem@davemloft.net>
44394 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44396 2011-08-24 Andreas Schwab <schwab@redhat.com>
44398 * elf/Makefile: Add rules to build and run unload8 test.
44399 * elf/unload8.c: New file.
44400 * elf/unload8mod1.c: New file.
44401 * elf/unload8mod1x.c: New file.
44402 * elf/unload8mod2.c: New file.
44403 * elf/unload8mod3.c: New file.
44405 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44408 2011-08-23 David S. Miller <davem@davemloft.net>
44410 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44411 subtract stack bias.
44412 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44413 %sp not %fp in calculations.
44414 (_JMPBUF_UNWINDS_ADJ): Likewise.
44416 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44417 (aio_suspend): Call it to force an exception region around the
44418 AIO_MISC_WAIT() invocation.
44420 2011-08-23 Andreas Schwab <schwab@redhat.com>
44422 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44425 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44427 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44429 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44430 and <dl-machine.h>.
44431 (Elf64_FuncDesc): Remove.
44433 2011-08-22 David S. Miller <davem@davemloft.net>
44435 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44436 sigaltstack check, add missing cfi directives.
44437 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44438 missing cfi directives, and sigaltstack handling.
44440 2011-08-16 Andreas Schwab <schwab@redhat.com>
44443 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44444 object is seen twice.
44445 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44447 * elf/Makefile (distribute): Add tst-initorder2.c.
44448 (tests): Add tst-initorder2.
44449 (modules-names): Add tst-initorder2a tst-initorder2b
44450 tst-initorder2c tst-initorder2d. Add rules to build them.
44451 ($(objpfx)tst-initorder2.out): New rule.
44452 * elf/tst-initorder2.c: New file.
44453 * elf/tst-initorder2.exp: New file.
44455 2011-08-22 Andreas Schwab <schwab@redhat.com>
44457 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44459 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44460 dependencies back to end of function.
44462 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44463 $(elfobjdir)/ld.so.
44465 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44467 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44468 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44469 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44470 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44471 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44472 of __vdso_gettimeofday.
44473 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44474 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44476 (_libc_vdso_platform_setup): Remove initialization of
44477 __vdso_gettimeofday and __vdso_time.
44479 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44481 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44482 and fgetc_unlocked.
44483 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44486 * elf/dl-open.c (add_to_global): Report additions to the global scope
44487 for LD_DEBUG=scopes.
44488 (dl_open_worker): Also print scope of newly loaded dependencies.
44489 (_dl_show_scope): Indicate if there is no scope.
44492 * stdio-common/Makefile (tests): Add bug24.
44493 * stdio-common/bug24.c: New file.
44495 2011-08-19 Andreas Jaeger <aj@suse.de>
44498 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44499 non-existant file when using close-on-exec mode.
44501 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44503 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44504 the very first instruction.
44506 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44507 the CFI state in the end.
44508 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44509 inclusion of dl-trampoline.h.
44510 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44512 2011-08-19 Andreas Schwab <schwab@redhat.com>
44514 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44515 expectations for long double.
44517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44518 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44520 2011-08-14 David S. Miller <davem@davemloft.net>
44522 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44523 artificual limit depends upon the system page size.
44525 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44527 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44528 * resolv/Makefile: Define CFLAGS-libresolv.
44530 2011-08-17 Andreas Schwab <schwab@redhat.com>
44532 * nss/makedb.c (compute_tables): Make variables used in nested
44535 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44537 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44538 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44539 if buffer was too small.
44541 * elf/pldd.c (main): Attach to all threads in the process.
44542 Rewrite /proc handling to use *at functions.
44544 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44546 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44547 specifies first scope to show.
44548 (dl_open_worker): Update callers. Move printing scope of new
44549 object to before the relocation.
44550 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44551 * sysdeps/generic/ldsodefs.h: Update declaration.
44553 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44554 string for the scope number.
44556 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44558 * nscd/servicescache.c (cache_addserv): Make sure written is always
44561 2011-08-14 Roland McGrath <roland@hack.frob.com>
44563 * sysdeps/i386/i486/bits/atomic.h
44564 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44565 statement expression, so as to suppress "set but not used" warning.
44566 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44568 * string/strncat.c (STRNCAT): Use prototype definition.
44570 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44571 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44573 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44574 (localedef-modules): Add localedef.
44575 (locale-modules): Add locale.
44577 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44578 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44579 to avoid a warning.
44581 2011-08-14 David S. Miller <davem@davemloft.net>
44583 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44584 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44586 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44588 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44589 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44590 * elf/rtld.c (dl_main): Set l_name of vDSO.
44591 Call _dl_show_scope when DL_DEBUG_SCOPES.
44592 (process_dl_debug): Recognize scopes flag and also set it for all.
44593 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44594 Declare _dl_show_scope.
44596 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44597 (do_dlopen): Pass caller_dlopen to dl_open.
44598 (__libc_dlopen_mode): Initialize caller_dlopen.
44600 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44601 of libc. Make tolower call locale-independent. Optimize a bit by
44602 using isdigit instead of isalnum.
44603 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44605 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44607 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44608 was a dependency or dynamically loaded.
44610 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44612 * intl/l10nflist.c: Allow architecture-specific pop function.
44613 * sysdeps/x86_64/l10nflist.c: New file.
44615 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44618 2011-08-10 Andreas Schwab <schwab@redhat.com>
44620 * include/dirent.h: Add libc_hidden_proto for scandirat and
44621 scandirat64. Don't declare __scandirat64.
44622 * dirent/scandirat.c: Add libc_hidden_def.
44623 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44624 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44626 2011-08-10 David S. Miller <davem@davemloft.net>
44628 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44630 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44631 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44632 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44634 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44636 * Versions.def [libc]: Add GLIBC_2.15.
44637 * dirent/Makefile (routines): Add scandirat and scandirat64.
44638 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44640 * dirent/dirent.h: Declare scandirat and scandirat64.
44641 * dirent/scandirat.c: New file.
44642 * dirent/scandirat64.c: New file.
44643 * sysdeps/wordsize-64/scandirat.c: New file.
44644 * sysdeps/wordsize-64/scandirat64.c: New file.
44645 * dirent/opendir.c: Define opendirat.
44646 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44648 * dirent/scandir64.c: Adjust for scandir.c change.
44649 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44650 __scandirat64, and __scandir_cancel_handler.
44651 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44652 additional parameter and use openat instead of open (outside of ld.so).
44653 Add new __opendir as wrapper around __opendirat.
44654 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44655 here without requiring old scandirat implementation.
44657 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44659 * dirent/scandir.c (cancel_handler): Renamed to
44660 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44661 defined. Adjust users.
44662 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44663 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44665 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44667 * string/test-string.h (IMPL): Use __STRING to expand name and then
44670 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44673 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44675 * string/Makefile: Update.
44676 (strop-tests): Append strncat.
44677 * string/test-wcscmp.c: New file.
44678 New comprehensive test for wcscmp.
44679 * string/test-strcmp.c: Update.
44680 (WIDE): New define.
44682 2011-07-22 Andreas Schwab <schwab@redhat.com>
44684 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44687 2011-07-26 Andreas Schwab <schwab@redhat.com>
44689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44690 encoding to ACE if AI_IDN.
44692 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44694 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44695 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44697 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44699 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44700 Fix overflow bug in strncat.
44701 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44703 * string/test-strncat.c: Update.
44704 Add new tests for checking overflow bugs.
44706 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44709 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44710 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44711 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44712 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44713 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44714 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44715 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44716 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44718 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44719 (USE_AS_STRCAT): Define.
44720 Add strcat and strncat support.
44721 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44723 2011-07-25 Andreas Schwab <schwab@redhat.com>
44725 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44726 __n bigger than INT_MAX+1.
44727 (__strncmp_g): Likewise.
44729 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44731 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44732 * libio/stido.h: Likewise.
44734 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44739 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44740 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44741 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44742 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44743 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44746 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44749 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44751 (_dl_x86_64_save_sse): Likewise.
44753 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44755 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44757 (_dl_x86_64_save_sse): Likewise.
44759 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44761 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44763 2011-07-21 Andreas Schwab <schwab@redhat.com>
44765 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44767 (_dl_x86_64_save_sse): Use correct AVX check.
44769 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44771 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44772 bug in strncpy/strncat.
44773 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44775 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44777 * string/tester.c (test_strcat): Add tests for different alignments
44778 of source and destination.
44779 (test_strncat): Likewise.
44781 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44784 * posix/glob.c (glob): Check passed in values before using them in
44785 expressions to avoid some overflows.
44786 (glob_in_dir): Likewise.
44789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44790 check for AVX enablement so that we don't crash with old kernels and
44792 * elf/tst-audit4.c: Add same checks here.
44793 * elf/tst-audit6.c: Likewise.
44795 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44797 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44799 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44801 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44803 * po/cs.po: Update from translation team.
44804 * po/bg.po: Likewise.
44806 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44808 * misc/sys/cdefs.h: Add support for const attribute.
44809 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44810 to gnu_dev_{major,minor,makedev} functions.
44812 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44814 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44816 2011-07-20 Andreas Schwab <schwab@redhat.com>
44818 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44821 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44824 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44825 register in order to avoid conflicts with the soft frame pointer
44826 being held in r11 when necessary.
44827 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44828 (INTERNAL_VSYSCALL_NCS): Likewise.
44830 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44832 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44833 * elf/dl-fini.c (_dl_fini): Adjust caller.
44834 * elf/dl-close.c (_dl_close_worker): Likewise.
44835 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44837 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44839 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44840 "aux_cache->nlibs < 0".
44842 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44843 in the reload-count case.
44845 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44848 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44849 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44850 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44851 * sysdeps/x86_64/multiarch/strcat.S: New file.
44852 * sysdeps/x86_64/multiarch/strncat.S: New file.
44853 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44854 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44855 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44856 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44857 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44858 (USE_AS_STRCAT): Define.
44859 Add strcat and strncat support.
44860 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44861 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44862 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44863 * string/strncat.c: Update.
44864 (USE_AS_STRNCAT): Define.
44865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44866 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44868 * sysdeps/x86_64/multiarch/init-arch.h
44869 (bit_Prefer_PMINUB_for_stringop): New.
44870 (index_Prefer_PMINUB_for_stringop): Likewise.
44871 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44872 bit_Prefer_PMINUB_for_stringop.
44874 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44876 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44878 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44879 of casting of buffer.
44880 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44881 buffer32 and buffer64.
44882 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44883 writes instead of casting of buffer.
44884 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44886 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44889 2011-07-19 Andreas Schwab <schwab@redhat.com>
44891 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44893 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44895 * nscd/nscd.c (termination_handler): Don't do anything for a database
44896 if it has not yet been initialized.
44898 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44900 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44902 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44904 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44906 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44908 * po/nl.po: Update from translation team.
44909 * po/sv.po: Likewise.
44911 2011-07-16 Roland McGrath <roland@hack.frob.com>
44913 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44914 now disallowed by GCC.
44916 * configure.in (use-default-link): Default to yes if a test -shared
44917 link meets our qualifications.
44918 * configure: Regenerated.
44920 * config.make.in (output-format): New variable.
44921 * configure.in: Check for ld --print-output-format support.
44922 * configure: Regenerated.
44923 * Makerules ($(common-objpfx)format.lds)
44924 [$(output-format) != unknown]: Just use $(output-format),
44925 instead of the linker-script munging.
44927 2011-07-14 Roland McGrath <roland@hack.frob.com>
44929 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44930 of $(common-objpfx)shlib.lds.
44931 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44933 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44934 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44936 * configure.in (-z relro check): Adjust test code to add a large
44937 writable data section after it.
44938 * configure: Regenerated.
44940 2011-07-11 Roland McGrath <roland@hack.frob.com>
44942 * configure.in (-z relro check): Fix test code to make the variable
44944 * configure: Regenerated.
44946 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44948 * nscd/nscd.h (struct traced_file): Define.
44949 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44950 elements. Add traced_files.
44951 (inotify_fd): Declare.
44952 (register_traced_file): Declare.
44953 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44954 (inotify_fd): Export.
44955 (resolv_conf_descr): Remove.
44956 (nscd_init): Move inotify descriptor creation to main.
44957 Don't register files for notification here.
44958 (register_traced_file): New function.
44959 (invalidate_cache): Don't use reset_res to determine whether to call
44960 res_init, go through the list of registered files.
44961 (main_loop_poll): The inotify descriptors are now stored in the
44962 structures for the traced files.
44963 (main_loop_epoll): Likewise
44964 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44965 to __nss_disable_nscd.
44966 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44967 for a database anymore. Check the records for all the registered
44969 * nss/Makefile (libnss_files-routines): Add files-init.
44970 (libnss_db-routines): Add db-init.
44971 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44972 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44973 * nss/nss_db/db-init.c: New file.
44974 * nss/nss_files/files-init.c: New file.
44975 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44976 __nss_lookup_function.
44977 (__nss_lookup_function): Call nss_load_library.
44978 (nss_load_all_libraries): New function.
44979 (__nss_disable_nscd): Take parameter with callback function for files
44980 to register. Set is_nscd. Load all the DSOs for the NSS modules
44981 used for the cached services.
44982 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44983 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44984 options for features to all the files in nscd.
44986 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44988 2011-07-10 Roland McGrath <roland@hack.frob.com>
44990 * csu/elf-init.c (__libc_csu_init): Comment typo.
44992 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44994 * po/pl.po: Update from translation team.
44995 * po/ja.po: Likewise.
44996 * po/ru.po: Likewise.
44997 * po/ko.po: Likewise.
44998 * po/fr.po: Likewise.
45000 2011-07-09 Roland McGrath <roland@hack.frob.com>
45002 * configure.in (.ctors/.dtors header and trailer check):
45003 Use an empirical test on a built program.
45004 * configure: Regenerated.
45006 * configure.in (-z relro check): Use an empirical test on a built DSO.
45007 Detect, but do not require, on ia64.
45008 * configure: Regenerated.
45010 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45011 Update tests that use readelf to use $READELF instead.
45012 * configure: Regenerated.
45014 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45016 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45017 if the result is not used.
45019 2011-07-05 Andreas Jaeger <aj@suse.de>
45022 * stdlib/tst-strtod.c: Add testcase.
45024 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45026 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45027 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45028 The latter has a higher limit. Take additional parameter to pass to
45030 (__pathconf): Pass file to __statfs_link_max.
45031 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45033 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45037 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45038 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45040 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45041 (__statfs_filesize_max): Likewise.
45042 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45044 2011-07-05 Andreas Jaeger <aj@suse.de>
45046 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45048 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45050 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45052 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45055 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45057 * Makefile (strop-tests): Add strncat.
45058 * string/test-strncat.c: New file.
45060 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45062 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45064 2011-06-21 Andreas Jaeger <aj@suse.de>
45066 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45067 Copy rule from iconvdata/Makefile.
45069 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45072 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45073 but no long options are defined, just return 'W'.
45075 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45078 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45080 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45082 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45084 (innetgr): Likewise.
45086 2011-07-05 Roland McGrath <roland@hack.frob.com>
45088 * config.make.in (install_root): Default to $(DESTDIR).
45090 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45092 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45094 2011-07-02 Roland McGrath <roland@hack.frob.com>
45096 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45098 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45099 containing directory rather than embedding absolute directory names.
45101 * scripts/check-local-headers.sh: Rewritten using awk.
45102 Match by word, not by line. Print error messages for matches.
45103 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45105 * Makerules [shlib-lds-flags empty]:
45106 ($(common-objpfx)libc_pic.opts): New target.
45107 ($(common-objpfx)libc_pic.os.clean): New target.
45108 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45110 * config.make.in (OBJCOPY): New variable.
45111 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45112 * configure: Regenerated.
45114 * config.make.in (use-default-link): New variable.
45115 * configure.in (use_default_link): Grok --with-default-link to set it.
45116 * configure: Regenerated.
45117 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45118 (shlib-lds, shlib-lds-flags): Define to empty.
45120 * Makerules (shlib-lds): New variable.
45121 (shlib-lds-flags): New variable.
45122 (build-shlib, build-moduile, build-module-asneeded): Use it.
45123 ($(common-objpfx)libc.so): Use $(shlib-lds).
45124 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45125 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45127 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45128 DT_FLAGS/DT_FLAGS_1 with zero flags.
45130 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45131 linker script munging.
45133 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45135 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45137 * crypt/sha512.c (sha512_process_block): Perform total addition using
45138 128-bit if possible.
45139 (__sha512_finish_ctx): Likewise.
45140 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45142 * crypt/sha256.c (SWAP64): Define.
45143 (sha256_process_block): Perform total addition using 64-bit if
45145 (__sha256_finish_ctx): Likewise.
45147 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45149 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45151 * nscd/hstcache.c (cache_addhst): Likewise.
45152 * nscd/grpcache.c (cache_addgr): Likewise.
45153 * nscd/aicache.c (addhstaiX): Likewise
45154 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45156 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45158 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45159 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45160 * nscd/hstcache.c (cache_addhst): Likewise.
45161 * nscd/grpcache.c (cache_addgr): Likewise.
45162 * nscd/aicache.c (addhstaiX): Likewise
45164 2011-07-01 Andreas Schwab <schwab@redhat.com>
45166 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45167 domain only when needed.
45169 2011-06-30 Andreas Schwab <schwab@redhat.com>
45171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45172 is always restored.
45174 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45176 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45177 are re-adding the entry.
45178 * nscd/servicescache.c (cache_addserv): Likewise.
45180 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45182 * sysdeps/generic/dl-irel.h: fix protection against multiple
45184 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45186 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45189 * malloc/memusage.sh: Fix quoting in message.
45190 * debug/xtrace.sh: Likewise.
45192 * configure.in: Remove support for --experimental-malloc option, make
45194 * config.make.in: Likewise.
45195 * malloc/Makefile: Likewise.
45197 2011-06-27 Andreas Schwab <schwab@redhat.com>
45199 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45200 two-byte characters.
45202 2011-06-27 Roland McGrath <roland@hack.frob.com>
45204 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45205 AC_CACHE_CHECK invocation.
45206 * configure: Regenerated.
45208 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45210 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45213 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45214 bit from old_res_options.
45216 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45218 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45219 value type for setfct.
45221 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45224 __gettimeofday instead of gettimeofday.
45226 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45228 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45230 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45232 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45234 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45237 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45240 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45241 strcpy-sse2-unaligned strncpy-sse2-unaligned
45242 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45243 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45244 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45245 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45246 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45247 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45248 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45249 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45250 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45251 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45252 (STRCPY): Support SSE2 and SSSE3 versions.
45254 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45257 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45258 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45259 kernels which artificially limit size of requests.
45261 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45264 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45265 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45266 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45267 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45268 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45269 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45270 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45271 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45272 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45273 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45274 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45275 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45276 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45277 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45279 Enable unaligned load optimization for Intel Core i3, i5 and i7
45281 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45283 (index_Fast_Unaligned_Load): Define.
45284 (HAS_FAST_UNALIGNED_LOAD): Define.
45286 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45288 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45290 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45293 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45294 until it is clear that the information is realy needed.
45295 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45297 2011-06-22 Andreas Schwab <schwab@redhat.com>
45299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45301 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45303 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45304 /sys/devices/system/cpu/online if it is usable.
45306 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45307 reading the information from the /proc filesystem to once a second.
45309 2011-06-21 Andreas Jaeger <aj@suse.de>
45311 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45312 NULL after inclusion of kernel headers.
45314 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45316 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45317 calls to internal_setent.
45320 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45321 addresses using gethostbyname4_r ignore IPv4 addresses.
45323 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45324 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45326 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45328 2011-06-20 David S. Miller <davem@davemloft.net>
45330 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45332 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45334 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45335 (elf_irel): Use it.
45336 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45337 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45338 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45339 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45340 * sysdeps/x86_64/dl-irel.h: Likewise.
45342 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45343 * elf/dl-sym.c: Likewise.
45345 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45347 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45348 need to dereference resplen2.
45350 2011-06-14 Andreas Schwab <schwab@redhat.com>
45352 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45354 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45356 * Makeconfig: Define vardbdir and inst_vardbdir.
45357 * nss/Makefile: Add rules to install db-Makefile.
45359 * nss/nss_db/db-XXX.c: Cleanup.
45361 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45362 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45364 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45365 * nss/makedb.c: Implement -g option to specify that value strings
45366 are generated and should not be added to table iterated over for
45368 * nss/nss_db/db-initgroups.c: New file.
45370 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45373 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45374 (internal_getgrouplist): Adjust to name change.
45375 Update use_initgroups_entry if this is not the first call.
45376 * nss/databases.def: Add initgroups entry.
45378 * nss/makedb.c (compute_tables): Check result of multiple hash table
45379 sizes to minimize maximum chain length.
45381 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45383 * Versions.def: Add entry for libnss_db.
45384 * shlib-versions: Likewise.
45385 * nss/Makefile: Add rules to build libnss_db.
45386 * nss/Versions: Add libnss_db information. Organize libnss_files
45388 * nss/db-Makefile: Add gshadow support. Change rules for the new
45389 makedb progra. Some minor improvements to generate smaller files.
45390 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45392 * nss/makedb.c: ...here.
45393 Improve database format to be smaller and require less memory at
45395 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45397 * nss/nss_db/db-netgrp.c: Likewise.
45398 * nss/nss_db/db-open.c: Likewise.
45399 * nss/nss_files/flies-XXX.x: Adjust comments.
45400 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45401 * nss/nss_files/files-grp.c: Likewise.
45402 * nss/nss_files/files-hosts.c: Likewise.
45403 * nss/nss_files/files-network.c: Likewise.
45404 * nss/nss_files/files-proto.c: Likewise.
45405 * nss/nss_files/files-pwd.c: Likewise.
45406 * nss/nss_files/files-rpc.c: Likewise.
45407 * nss/nss_files/files-service.c: Likewise.
45408 * nss/nss_files/files-sgrp.c: Likewise.
45409 * nss/nss_files/files-spwd.c: Likewise.
45410 * nss/nss_db/db-alias.c: Removed.
45411 * nss/nss_db/dummy-db.h: Removed.
45413 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45415 * nss/makedb.c: Rewritten to not use database library.
45416 * nss/Makefile: Update to build new makedb program.
45418 2011-06-14 Andreas Jaeger <aj@suse.de>
45420 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45421 memset declaration.
45423 2011-06-10 Andreas Schwab <schwab@redhat.com>
45425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45428 2011-06-10 Roland McGrath <roland@hack.frob.com>
45430 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45431 * elf/Makefile ($(objpfx)ld.so): Likewise.
45433 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45434 Don't list ld.so twice in dependencies.
45436 * posix/bug-regex31.c: Include <stdlib.h>.
45438 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45440 * nis/nss_compat/compat-spwd.c
45441 (getspent_next_nss_netgr): Remove unused variable.
45442 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45444 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45445 nonmembers" output to use the right array.
45447 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45449 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45451 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45452 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45453 * catgets/gencat.c (read_input_file): Likewise.
45454 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45456 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45457 variable definition inside #if's controlling its use.
45459 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45461 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45463 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45465 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45468 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45470 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45471 * configure: Regenerated.
45473 * Makerules: Revert last change.
45474 * elf/Makefile: Likewise.
45476 2011-06-09 Roland McGrath <roland@hack.frob.com>
45478 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45479 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45480 (reloc-link): Likewise.
45482 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45484 * elf/Makefile: Add rules to build pldd.
45485 * elf/pldd.c: New file.
45486 * elf/pldd-xx.c: New file.
45488 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45490 * version.h: Update for 2.15 development version.
45492 2011-06-07 David S. Miller <davem@davemloft.net>
45494 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45496 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45497 elf_machine_lazy_rel): Likewise.
45498 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45499 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45500 elf_machine_lazy_rel): Likewise.
45501 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45502 dl_hwcap via passed in argument.
45503 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45506 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45508 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45510 2011-06-06 Roland McGrath <roland@hack.frob.com>
45513 * manual/fdl-1.1.texi: New file, verbatim from:
45514 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45515 * manual/lgpl-2.1.texi: New file, verbatim from:
45516 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45517 * manual/Makefile (licenses): New variable, list those new file names.
45519 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45521 * manual/fdl.texi: File removed.
45522 * manual/lesser.texi: File removed.
45523 * manual/libc.texinfo (Copying, Documentation License):
45524 Use new @include file names, put @appendix directive before @include.
45526 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45529 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45530 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45531 (mq_open): Add __NTH.
45533 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45536 Assume Intel Core i3/i5/i7 processor if AVX is available.
45538 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45540 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45543 2011-05-31 Andreas Schwab <schwab@redhat.com>
45545 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45546 memory. Use alloca_account. Fix memory leak when retrying.
45548 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45550 * version.h (RELEASE): Bump for 2.14 release.
45551 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45553 * config.make.in (RANLIB): Remove entry.
45555 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45557 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45558 (libc.pot): Work around missing support for .ksh extension in xgettext.
45561 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45562 if both request failed.
45563 (send_dg): In case of server errors clear resplen or *resplen2.
45566 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45567 when there are multiple maps.
45568 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45569 (_dl_fini): Remove test here.
45571 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45573 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45576 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45577 bit from old_res_options.
45578 (gaih_inet): Likewise.
45581 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45584 * resolv/res_init.c (res_setoptions): Make the code more compact.
45587 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45591 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45593 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45596 * malloc/malloc.h: Declare malloc hook variables as volatile.
45598 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45602 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45603 raise in the comment.
45604 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45605 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45606 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45608 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45611 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45612 grow the buffers more if it already has to be sufficient.
45613 (build_wcs_upper_buffer): Likewise.
45614 * posix/regexec.c (check_matching): Likewise.
45615 (clean_state_log_if_needed): Likewise.
45616 (extend_buffers): Don't enlarge buffers beyond size of the input
45618 Patches mostly by Emil Wojak <emil@wojak.eu>.
45619 * posix/bug-regex32.c: New file.
45620 * posix/Makefile (tests): Add bug-regex32.
45622 * locale/findlocale.c (_nl_find_locale): Return right away if
45623 _nl_explode_name failed.
45624 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45626 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45628 * debug/xtrace.sh: Unify messages.
45629 * malloc/memusage.sh: Likewise.
45632 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45633 time symbol from vDSO. Substitute with vsyscall if not available.
45634 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45637 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45638 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45639 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45640 Add sendmmsg and internal_sendmmsg.
45641 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45642 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45643 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45645 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45646 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45647 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45649 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45652 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45653 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45655 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45659 * iconvdata/Makefile (tests): Add bug-iconv9.
45660 * iconvdata/bug-iconv9.c: New file.
45662 2011-05-27 Andreas Schwab <schwab@redhat.com>
45665 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45667 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45669 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45670 (struct user_regs_struct): Change intcs field back to cs.
45672 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45674 * po/ja.po: Update from translation team.
45676 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45679 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45680 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45682 2011-05-20 Andreas Schwab <schwab@redhat.com>
45684 * stdlib/longlong.h: Update from GCC.
45686 2011-05-23 Andreas Schwab <schwab@redhat.com>
45688 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45690 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45691 Add parameter name.
45692 (__sysconf): Pass it down.
45694 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45697 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45699 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45700 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45701 add in in __libc_use_alloca calls. Adjust callers.
45702 (glob): Use malloc in some situations.
45704 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45705 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45708 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45710 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45711 and CLOCK_BOOTTIME_ALARM.
45714 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45717 * string/_strerror.c (__strerror_r): Print negative errors as signed
45721 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45722 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45723 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45725 * configure.in: Fix typo in redirection and correct removal of test
45726 files in two cases.
45729 * locale/setlocale.c (new_composite_name): Fix test to check for
45730 identical name of all categories.
45733 * libio/filedoalloc.c (local_isatty): New function.
45734 (_IO_file_doallocate): Use local_isatty.
45735 * stdio-common/perror.c (perror): In case a new stream is used
45736 forward the stream error.
45737 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45740 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45745 * include/alloca.h (extend_alloca_account): Define.
45748 * posix/regex.h: Fix comments with documentation of user-accessible
45749 fields after compilation and describe correct free'ing of pattern
45750 after re_compile_pattern.
45751 Patch by Reuben Thomas <rrt@sc3d.org>.
45753 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45755 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45756 and -mno-altivec to prevent the compiler from using Altivec and/or
45757 VSX instructions when the corresponding registers are not available.
45759 2011-05-19 Andreas Schwab <schwab@redhat.com>
45761 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45763 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45765 * libio/freopen.c (freopen): Use __dup2, not dup2.
45766 * libio/freopen64.c (freopen64): Likewise.
45768 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45771 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45772 * math/Makefile (tests): Add test-powl.
45773 (CFLAGS-test-powl.c): Define.
45774 * math/test-powl.c: New file.
45776 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45778 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45780 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45783 * iconvdata/gb18030.c: Update to GB18020-2005.
45785 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45787 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45788 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45789 Patch by Aharon Robbins <arnold@skeeve.com>.
45792 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45796 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45797 through underflows.
45800 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45801 point to strings before performing equality test for error_one_per_line
45805 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45809 (struct user_fpregs_struct): Avoid __uint*_t types.
45812 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45813 symbol info. Use it instead of calling _dl_addr locally.
45814 (lock_and_info): New function.
45815 (tr_freehook): Call lock_and_info and pass symbol info as additional
45816 parameter to tr_where.
45817 (tr_mallochook): Likewise.
45818 (tr_reallochook): Likewise.
45819 (tr_memalignhook): Likewise.
45821 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45822 used and couldn't be at all thread-safe.
45824 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45826 * libio/freopen.c (freopen): Don't close old file descriptor
45827 before the new one is opened. Instead dup the new file descriptor
45828 to the old one after the new stream is created.
45829 * libio/freopen64.c (freopen64): Likewise.
45830 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45831 * libio/fileops.c (_IO_new_file_close_it): Handle new
45832 _IO_FLAGS2_NOCLOSE flag.
45833 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45834 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45835 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45836 _IO_FLAGS2_NOCLOSE flag.
45837 * include/unistd.h: Add hidden_proto for dup3.
45838 Define __have_dup3.
45839 * io/dup3.c: Define hidden symbol.
45840 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45843 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45844 when an incomplete long option is used.
45845 * posix/tst-getopt_long1.c: New file.
45846 * posix/Makefile (tests): Add tst-getopt_long1.
45849 * scripts/config.guess: Update from autoconf-2.68.
45850 * scripts/config.sub: Likewise.
45853 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45855 (has_cpuclock): ...this. New function.
45856 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45857 macro here based on has_cpuclock code.
45860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45861 First byte (not low byte) is now always NUL.
45862 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45864 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45865 Use non-cancelable interfaces.
45868 * locale/iso-639.def: Add entry for Sorani.
45871 * include/stdlib.h: Move include protection to the right place.
45872 Define abort_msg_s. Declare __abort_msg with it.
45873 * stdlib/abort.c (__abort_msg): Adjust type.
45874 * assert/assert.c (__assert_fail_base): New function. Majority
45875 of code from __assert_fail. Allocate memory for __abort_msg with
45877 (__assert_fail): Now call __assert_fail_base.
45878 * assert/assert-perr.c: Remove bulk of implementation. Use
45879 __assert_fail_base.
45880 * include/assert.hL Declare __assert_fail_base.
45881 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45883 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45885 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45889 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45890 until all modules are registered in the DTV.
45891 * elf/Makefile: Add rules to build and run tst-tls19.
45892 * elf/tst-tls19.c: New file.
45893 * elf/tst-tls19mod1.c: New file.
45894 * elf/tst-tls19mod2.c: New file.
45895 * elf/tst-tls19mod3.c: New file.
45896 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45899 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45903 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45904 two-byte sequence errors.
45905 * iconvdata/Makefile (tests): Add bug-iconv8.
45906 * iconvdata/bug-iconv8.c: New file.
45909 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45912 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45915 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45916 (dummy_getcfa): New function.
45917 (init): Get _Unwind_GetCFA address, use dummy if not found.
45918 (backtrace_helper): In recursion check, also check whether CFA changes.
45919 (__backtrace): Completely initialize arg.
45921 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45922 storing incomplete byte sequence in state object. Avoid testing for
45923 guaranteed too small input if we know there is enough data available.
45925 2011-05-11 Andreas Schwab <schwab@redhat.com>
45927 * Makeconfig (+link-pie): Indent.
45928 * Rules (binaries-pie): Define if $(have-fpie) and
45930 (binaries-shared): Also filter out $(binaries-pie).
45931 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45932 * nscd/Makefile (others-pie): Add nscd.
45933 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45934 ($(objpfx)nscd): Remove command override.
45935 * login/Makefile (others-pie): Add pt_chown.
45936 ($(objpfx)pt_chown): Remove command override.
45937 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45938 remove command overrides.
45940 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45942 * libio/tst_putwc.c: Fix error messages.
45945 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45946 currently writing and seek to current position when not.
45947 * libio/Makefile (tests): Add bug-fclose1.
45948 * libio/bug-fclose1.c: New file.
45950 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45953 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45954 don't set DF_1_NODELETE here.
45955 (do_lookup_x): When entering new entry test for copy relocation
45956 and if necessary set DF_1_NODELETE flag.
45957 * elf/tst-unique4.cc: New file.
45958 * elf/tst-unique4.h: New file.
45959 * elf/tst-unique4lib.cc: New file.
45960 * elf/Makefile: Add rules to build and run tst-unique4.
45961 Patch by Piotr Bury <pbury@goahead.com>.
45963 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45966 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45969 * misc/mntent_r.c (addmntent): Flush the stream after the output
45972 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45973 (is_trusted_path_normalize): Skip initial colon. Append slash
45974 to empty buffer. Duplicate is_trusted_path code but allow
45975 constructed patch to be prefix.
45976 (is_dst): Allow $ORIGIN followed by /.
45977 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45978 Correct testing of result of is_trusted_path_normalize
45979 (decompose_rpath): Fix warning.
45981 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45984 * grp/initgroups.c (internal_getgrouplist): When we found the service
45985 list through the initgroups entry in nsswitch.conf do not always
45986 continue on a successful lookup. Don't always use the
45987 __nss_group_database value if it is set.
45988 * nss/nsswitch.conf (initgroups): Change action for successful db
45989 lookup to continue for compatibility.
45991 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45994 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45996 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45998 * iconvdata/tst-tables.sh: Likewise.
45999 * iconvdata/cp770.c: New file.
46000 * iconvdata/cp771.c: New file.
46001 * iconvdata/cp772.c: New file.
46002 * iconvdata/cp773.c: New file.
46003 * iconvdata/cp774.c: New file.
46004 * iconvdata/testdata/CP770: New file.
46005 * iconvdata/testdata/CP770..UTF8: New file.
46006 * iconvdata/testdata/CP771: New file.
46007 * iconvdata/testdata/CP771..UTF8: New file.
46008 * iconvdata/testdata/CP772: New file.
46009 * iconvdata/testdata/CP772..UTF8: New file.
46010 * iconvdata/testdata/CP773: New file.
46011 * iconvdata/testdata/CP773..UTF8: New file.
46012 * iconvdata/testdata/CP774: New file.
46013 * iconvdata/testdata/CP774..UTF8: New file.
46015 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46017 * iconvdata/gen-8bit-gap.sh: Likewise.
46018 * iconvdata/gen-8bit.sh: Likewise.
46020 * locale/iso-639.def: Add ary entry.
46023 * locale/C-translit.h.in: Add U20A1 transliteration.
46026 * locale/iso-639.def: Add wae entry.
46027 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46030 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46034 * locale/C-translit.h.in: Add entry for U20B9.
46035 Patch by pravin.d.s@gmail.com.
46037 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46040 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46041 ENAMETOOLONG use generic getcwd.
46042 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46043 in rtld. Use *stat64.
46044 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46045 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46046 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46047 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46048 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46049 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46050 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46051 __fstatat64 macros.
46052 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46053 * dirent/rewinddir.c: Add libc_hidden_def.
46054 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46055 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46057 * include/dirent.h (__alloc_dir): Add flags parameter.
46058 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46059 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46061 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46062 from fdopendir if O_CLOEXEC is already set.
46064 2011-03-15 Alan Modra <amodra@gmail.com>
46066 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46067 l_tls_firstbyte_offset non-zero. Save padding offset in
46068 l_tls_firstbyte_offset for later use.
46069 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46070 freeing static tls block.
46072 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46074 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46075 where #ifdef was intended. The intent is to prevent ARG_MAX from
46076 being defined by the kernel headers.
46078 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46081 * resolv/resolv.h: Define RES_NOTLDQUERY.
46082 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46083 no-tld-query and set RES_NOTLDQUERY.
46084 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46085 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46086 modern BIND to search name as TLD unless forbidden.
46088 2011-05-07 Petr Baudis <pasky@suse.cz>
46089 Ulrich Drepper <drepper@gmail.com>
46092 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46093 (is_trusted_path): ...to here.
46094 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46095 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46096 using is_trusted_path_normalize() in setuid scripts.
46098 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46100 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46101 __BEGIN/__END_DECLS.
46103 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46105 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46106 NSS_STATUS_NOTFOUND if no record was found.
46108 2011-05-05 Andreas Schwab <schwab@redhat.com>
46110 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46111 (headers-not-in-tirpc): Remove rpc/netdb.h
46112 * resolv/netdb.h: Revert last change.
46114 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46116 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46117 circular dependency between libgcc.a and libc.a.
46119 2011-05-05 Andreas Schwab <schwab@redhat.com>
46121 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46122 * nis/Makefile: Don't install rpcsvc/*.
46123 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46124 instead of <rpc/types.h>.
46125 (MAXHOSTNAMELEN): Define.
46127 2011-05-03 Andreas Schwab <schwab@redhat.com>
46129 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46131 2011-04-28 Maciej Babinski <mbabinski@google.com>
46134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46135 gethostbyname4_r when IPv6 results are possible.
46137 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46140 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46141 _PC_PIPE_BUF handling.
46143 2011-04-30 Bruno Haible <bruno@clisp.org>
46146 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46147 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46149 * inet/getnameinfo.c (getnameinfo): Likewise.
46151 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46153 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46154 to groups setting in database lookup.
46155 * nss/nsswitch.conf: Add initgroups entry.
46157 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46160 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46162 Patch by Eric Blake <eblake@redhat.com>.
46164 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46166 * sunrpc/Makefile (need-export-routines): Add svc_run.
46167 (routines): Remove svc_run.
46168 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46169 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46170 * sunrpc/svc_run.c (svc_run): Likewise.
46171 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46173 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46175 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46176 problem in reallocation in last patch.
46178 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46180 * sunrpc/Makefile: Move inclusion of Rules.
46182 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46184 * nss/nss_files/files-initgroups.c: New file.
46185 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46186 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46187 _nss_files_initgroups_dyn.
46189 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46191 * elf/elf.h (R_ARM_IRELATIVE): Define.
46193 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46195 * po/ru.po: Update from translation team.
46197 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46199 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46202 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46205 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46206 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46207 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46208 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46209 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46211 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46213 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46215 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46216 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46217 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46219 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46222 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46224 * stdlib/bug-getcontext.c: New file.
46225 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46227 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46229 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46230 instructions into .machine "z9-109".
46231 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46232 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46234 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46236 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46237 between environment variables and auxiliary vector.
46239 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46241 * Makefile: Add rules to build linkobj/libc.so.
46242 * include/libc-symbols.h: Define libc_hidden_nolink.
46243 * include/rpc/auth.h: Mark functions which are to be hidden.
46244 * include/rpc/auth_des.h: Likewise.
46245 * include/rpc/auth_unix.h: Likewise.
46246 * include/rpc/clnt.h: Likewise.
46247 * include/rpc/des_crypt.h: Likewise.
46248 * include/rpc/key_prot.h: Likewise.
46249 * include/rpc/pmap_clnt.h: Likewise.
46250 * include/rpc/pmap_prot.h: Likewise.
46251 * include/rpc/pmap_rmt.h: Likewise.
46252 * include/rpc/rpc_msg.h: Likewise.
46253 * include/rpc/svc.h: Likewise.
46254 * include/rpc/svc_auth.h: Likewise.
46255 * include/rpc/xdr.h: Likewise.
46256 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46257 * nss/Makefile: Likewise.
46258 * sunrpc/Makefile: Don't install headers. Build library with normal
46259 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46260 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46261 for the compat linking library. Remove use of INTDEF/INTUSE.
46262 * sunrpc/auth_none.c: Likewise.
46263 * sunrpc/auth_unix.c: Likewise.
46264 * sunrpc/authdes_prot.c: Likewise.
46265 * sunrpc/authuxprot.c: Likewise.
46266 * sunrpc/clnt_gen.c: Likewise.
46267 * sunrpc/clnt_perr.c: Likewise.
46268 * sunrpc/clnt_raw.c: Likewise.
46269 * sunrpc/clnt_simp.c: Likewise.
46270 * sunrpc/clnt_tcp.c: Likewise.
46271 * sunrpc/clnt_udp.c: Likewise.
46272 * sunrpc/clnt_unix.c: Likewise.
46273 * sunrpc/des_crypt.c: Likewise.
46274 * sunrpc/des_soft.c: Likewise.
46275 * sunrpc/get_myaddr.c: Likewise.
46276 * sunrpc/key_call.c: Likewise.
46277 * sunrpc/key_prot.c: Likewise.
46278 * sunrpc/netname.c: Likewise.
46279 * sunrpc/pm_getmaps.c: Likewise.
46280 * sunrpc/pm_getport.c: Likewise.
46281 * sunrpc/pmap_clnt.c: Likewise.
46282 * sunrpc/pmap_prot.c: Likewise.
46283 * sunrpc/pmap_prot2.c: Likewise.
46284 * sunrpc/pmap_rmt.c: Likewise.
46285 * sunrpc/publickey.c: Likewise.
46286 * sunrpc/rpc_cmsg.c: Likewise.
46287 * sunrpc/rpc_common.c: Likewise.
46288 * sunrpc/rpc_dtable.c: Likewise.
46289 * sunrpc/rpc_prot.c: Likewise.
46290 * sunrpc/rpc_thread.c: Likewise.
46291 * sunrpc/rtime.c: Likewise.
46292 * sunrpc/svc.c: Likewise.
46293 * sunrpc/svc_auth.c: Likewise.
46294 * sunrpc/svc_authux.c: Likewise.
46295 * sunrpc/svc_raw.c: Likewise.
46296 * sunrpc/svc_run.c: Likewise.
46297 * sunrpc/svc_simple.c: Likewise.
46298 * sunrpc/svc_tcp.c: Likewise.
46299 * sunrpc/svc_udp.c: Likewise.
46300 * sunrpc/svc_unix.c: Likewise.
46301 * sunrpc/svcauth_des.c: Likewise.
46302 * sunrpc/xcrypt.c: Likewise.
46303 * sunrpc/xdr.c: Likewise.
46304 * sunrpc/xdr_array.c: Likewise.
46305 * sunrpc/xdr_float.c: Likewise.
46306 * sunrpc/xdr_intXX_t.c: Likewise.
46307 * sunrpc/xdr_mem.c: Likewise.
46308 * sunrpc/xdr_rec.c: Likewise.
46309 * sunrpc/xdr_ref.c: Likewise.
46310 * sunrpc/xdr_sizeof.c: Likewise.
46311 * sunrpc/xdr_stdio.c: Likewise.
46313 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46316 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46317 * sysdeps/ia64/dl-tls.h: Likewise.
46318 * sysdeps/powerpc/dl-tls.h: Likewise.
46319 * sysdeps/s390/dl-tls.h: Likewise.
46320 * sysdeps/sh/dl-tls.h: Likewise.
46321 * sysdeps/sparc/dl-tls.h: Likewise.
46322 * sysdeps/x86_64/dl-tls.h: Likewise.
46323 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46325 2011-03-14 Andreas Schwab <schwab@redhat.com>
46327 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46328 rpath element also skip the following colon.
46329 (expand_dynamic_string_token): Add is_path parameter and pass
46330 down to DL_DST_REQUIRED and _dl_dst_substitute.
46331 (decompose_rpath): Call expand_dynamic_string_token with
46332 non-zero is_path. Ignore empty rpaths.
46333 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46336 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46341 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46344 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46345 Patch by Filipe David Manana <fdmanana@apache.org>.
46347 2011-04-07 Andreas Schwab <schwab@redhat.com>
46349 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46350 Maintain aligned stack.
46351 (CHECK_RSP): Remove unused macro.
46353 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46355 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46356 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46358 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46360 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46362 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46364 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46367 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46368 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46369 * sysdeps/x86_64/memmove.c: New file.
46370 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46371 (memcpy): Renamed to ...
46372 (__new_memcpy): This.
46373 (memcpy): Provide GLIBC_2_14 memcpy.
46374 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46375 (memcpy): Provide GLIBC_2_2_5 memcpy.
46377 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46380 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46382 2011-03-30 Andreas Schwab <schwab@redhat.com>
46384 * misc/syncfs.c: New file.
46385 * misc/Makefile (routines): Add syncfs.
46386 * posix/unistd.h: Declare syncfs.
46387 * sysdeps/unix/syscalls.list: Add syncfs.
46389 2011-04-01 Andreas Schwab <schwab@redhat.com>
46391 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46393 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46394 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46395 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46396 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46398 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46399 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46401 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46403 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46404 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46405 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46407 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46409 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46411 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46412 sync_file_range.c with -fexceptions.
46413 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46414 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46415 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46416 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46417 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46418 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46419 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46420 sync_file_range as cancellation point
46421 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46422 now a wrapper around __call_sync_file_range with cancellation handling.
46423 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46424 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46425 function name to __call_sync_file_range.
46426 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46427 Add call_sync_file_range.
46429 2011-04-01 Andreas Schwab <schwab@redhat.com>
46431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46434 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46436 * iconv/iconv.h: Fix typo in comment.
46437 * io/fcntl.h: Likewise.
46438 * libio/stdio.h: Likewise.
46439 * posix/spawn.h: Likewise.
46440 * posix/unistd.h: Likewise.
46441 * stdlib/stdlib.h: Likewise.
46442 * time/time.h: Likewise.
46443 * wcsmbs/wchar.h: Likewise.
46445 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46446 open_by_handle): Add.
46447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46448 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46449 Augment a few comments.
46450 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46451 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46452 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46453 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46454 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46455 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46458 * io/fcntl.h (AT_EMPTY_PATH): Define.
46460 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46462 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46463 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46464 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46466 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46467 * Versions.def: Add GLIBC_2.14.
46468 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46471 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46473 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46475 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46477 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46480 * string/test-strncmp.c (do_page_test): New function.
46481 (check2): Likewise.
46482 (test_main): Call check2.
46483 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46485 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46488 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46489 Handle cache information in CPU leaf 4.
46490 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46492 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46495 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46496 character representation.
46497 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46499 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46501 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46502 END(__isnan) to END(__isnanf) to match function entry point/label
46503 EALIGN(__isnanf,...).
46505 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46507 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46509 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46512 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46513 copy from the symbol referenced in the relocation to initialize the
46515 Patch by Piotr Bury <pbury@goahead.com>.
46516 * elf/Makefile: Add rules to build and tst-unique3.
46517 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46518 * elf/tst-unique3.cc: New file.
46519 * elf/tst-unique3.h: New file.
46520 * elf/tst-unique3lib.cc: New file.
46521 * elf/tst-unique3lib2.cc: New file.
46523 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46525 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46527 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46528 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46531 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46533 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46534 to-be-loaded object along a path to loader is ld.so.
46536 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46537 Ulrich Drepper <drepper@gmail.com>
46539 * sysdeps/x86_64/memset.S: After aligning destination, code
46540 branches to different locations depending on the value of
46541 misalignment, when multiarch is enabled. Fix this.
46543 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46545 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46546 Set _x86_64_preferred_memory_instruction for AMD processsors.
46547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46548 Set bit_Prefer_SSE_for_memop for AMD processors.
46550 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46552 * libio/fmemopen.c (fmemopen): Optimize a bit.
46554 2011-03-03 Andreas Schwab <schwab@redhat.com>
46556 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46558 2011-03-03 Roland McGrath <roland@redhat.com>
46560 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46562 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46564 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46565 __bzero_ultra1 instead of __memset_ultra1.
46567 2011-02-23 Andreas Schwab <schwab@redhat.com>
46568 Ulrich Drepper <drepper@gmail.com>
46571 * include/link.h (struct link_map): Add l_orig_initfini.
46572 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46573 returning unsuccessfully.
46574 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46575 close of a file loaded at startup, restore the original l_initfini
46577 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46578 list, store the pointer.
46579 * elf/Makefile ($(objpfx)noload-mem): New rule.
46580 (noload-ENV): Define.
46581 (tests): Add $(objpfx)noload-mem.
46582 * elf/noload.c: Include <memcheck.h>.
46583 (main): Call mtrace. Close all opened handles.
46585 2011-02-17 Andreas Schwab <schwab@redhat.com>
46588 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46589 dependencies are missing.
46591 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46593 Fix __if_freereq crash: Unlike the generic version which uses free,
46595 * sysdeps/mach/hurd/ifreq.h: New file.
46597 2011-01-27 Petr Baudis <pasky@suse.cz>
46598 Ulrich Drepper <drepper@gmail.com>
46601 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46602 to extend_alloca().
46603 * stdio-common/bug23.c: New file.
46604 * stdio-common/Makefile (tests): Add bug23.
46606 2010-09-28 Andreas Schwab <schwab@redhat.com>
46607 Ulrich Drepper <drepper@gmail.com>
46610 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46611 before performing relro protection. At old place add assertion
46612 to make sure nothing changed.
46614 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46615 Glauber de Oliveira Costa <glommer@gmail.com>
46617 * elf/elf.h: Add new ARM TLS relocs.
46619 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46622 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46624 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46626 * sysdeps/wordsize-64/tst-writev.c: New file.
46628 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46630 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46631 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46632 insns in _dl_start to prevent a TOC reference before relocs are
46635 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46638 * Makeconfig: Remove RANLIB definition.
46639 * Makerules: Don't use RANLIB.
46640 * aclocal.m4: Remove ranlib test.
46641 * configure.in: No need to check for ranlib.
46642 * elf/rtld-Rules: Don't use RANLIB.
46644 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46646 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46648 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46649 inclusion protection macro.
46651 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46652 SIGRTMIN and SIGRTMAX and print information in that case only when
46653 SIGRTMIN is defined.
46655 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46657 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46658 arginfo fn returning -1.
46660 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46661 and thousands string is zero terminated.
46663 2011-02-03 Andreas Schwab <schwab@redhat.com>
46665 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46666 sysdeps/unix/sysv/linux/bits/socket.h.
46668 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46670 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46671 (__CPU_COUNT): Remove old macros.
46672 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46673 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46674 (__CPU_ALLOC, __CPU_FREE): Add macros.
46675 (__sched_cpualloc, __sched_cpufree): Add declarations.
46677 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46679 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46680 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46681 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46682 (readdhstai): Return value of addhstaiX call.
46683 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46684 (addgrbyX): Return value returned by cache_addgr.
46685 (readdgrbyname): Return value returned by addgrbyX.
46686 (readdgrbygid): Likewise.
46687 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46688 (addpwbyX): Return value returned by cache_addpw.
46689 (readdpwbyname): Return value returned by addhstbyX.
46690 (readdpwbyuid): Likewise.
46691 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46692 (addservbyX): Return value returned by cache_addserv.
46693 (readdservbyname): Return value returned by addservbyX:
46694 (readdservbyport): Likewise.
46695 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46696 (addhstbyX): Return value returned by cache_addhst.
46697 (readdhstbyname): Return value returned by addhstbyX.
46698 (readdhstbyaddr): Likewise.
46699 (readdhstbynamev6): Likewise.
46700 (readdhstbyaddrv6): Likewise.
46701 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46702 (readdinitgroups): Return value returned by addinitgroupsX.
46703 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46704 (prune_cache): Keep track of timeout value of re-added entries.
46705 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46706 * nscd/nscd.h: Adjust prototypes of readd* functions.
46708 2011-02-04 Roland McGrath <roland@redhat.com>
46710 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46711 (nis_stats): Likewise.
46712 * nis/nis_modify.c (nis_modify): Likewise.
46713 * nis/nis_remove.c (nis_remove): Likewise.
46714 * nis/nis_add.c (nis_add): Likewise.
46716 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46718 * posix/fnmatch_loop.c: Add some consts.
46720 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46722 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46725 * config.make.in (config-cflags-novzeroupper): Define.
46726 * configure.in: Substitute libc_cv_cc_novzeroupper.
46727 * elf/Makefile (AVX-CFLAGS): Define.
46728 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46729 (CFLAGS-tst-auditmod4a.c): Likewise.
46730 (CFLAGS-tst-auditmod4b.c): Likewise.
46731 (CFLAGS-tst-auditmod6b.c): Likewise.
46732 (CFLAGS-tst-auditmod6c.c): Likewise.
46733 (CFLAGS-tst-auditmod7b.c): Likewise.
46734 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46736 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46738 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46739 function to the callback.
46740 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46742 2011-02-02 Andreas Schwab <schwab@redhat.com>
46744 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46747 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46750 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46752 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46754 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46757 * elf/Makefile: Add rules to build and run new test.
46758 * elf/tst-initorder.c: New file.
46759 * elf/tst-initorder.exp: New file.
46760 * elf/tst-initordera1.c: New file.
46761 * elf/tst-initordera2.c: New file.
46762 * elf/tst-initordera3.c: New file.
46763 * elf/tst-initordera4.c: New file.
46764 * elf/tst-initorderb1.c: New file.
46765 * elf/tst-initorderb2.c: New file.
46766 * elf/tst-order-a1.c: New file.
46767 * elf/tst-order-a2.c: New file.
46768 * elf/tst-order-a3.c: New file.
46769 * elf/tst-order-a4.c: New file.
46770 * elf/tst-order-b1.c: New file.
46771 * elf/tst-order-b2.c: New file.
46772 * elf/tst-order-main.c: New file.
46773 New test case by George Gensure <werkt0@gmail.com>.
46775 2010-10-01 Andreas Schwab <schwab@redhat.com>
46777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46778 decoding ACE if AI_CANONIDN.
46780 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46782 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46784 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46786 * version.h (RELEASE): Bump for 2.13 release.
46787 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46789 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46791 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46793 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46794 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46795 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46796 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46797 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46798 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46800 * posix/getconf.c: Update copyright year.
46801 * catgets/gencat.c: Likewise.
46802 * csu/version.c: Likewise.
46803 * debug/catchsegv.sh: Likewise.
46804 * debug/xtrace.sh: Likewise.
46805 * elf/ldconfig.c: Likewise.
46806 * elf/ldd.bash.in: Likewise.
46807 * elf/sprof.c (print_version): Likewise.
46808 * iconv/iconv_prog.c: Likewise.
46809 * iconv/iconvconfig.c: Likewise.
46810 * locale/programs/locale.c: Likewise.
46811 * locale/programs/localedef.c: Likewise.
46812 * malloc/memusage.sh: Likewise.
46813 * malloc/mtrace.pl: Likewise.
46814 * nscd/nscd.c (print_version): Likewise.
46815 * nss/getent.c: Likewise.
46817 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46818 PF_CAIF, and PF_ALG.
46819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46821 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46823 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46824 (modules-names): Use them.
46825 (ifunc-test-modules, ifunc-pie-tests): Define.
46826 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46827 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46828 (test-extras): Likewise.
46829 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46830 $(compile-command.c).
46831 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46832 (all-built-dso): Define.
46833 (check-textrel.out, check-execstack.out): Depend on it.
46835 * configure.in: Don't override --enable-multi-arch.
46837 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46840 * nscd/hstcache.c (tryagain): Define.
46841 (cache_addhst): Return tryagain not notfound for temporary errors.
46842 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46845 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46848 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46849 to make the syscall.
46850 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46853 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46854 and fall back to matching as normal character if the string ends before
46855 the matching ']' is found. This is what POSIX requires.
46856 * posix/testfnm.c: Adjust test result.
46857 * posix/globtest.sh: Adjust test result. Add new test.
46858 * posix/tst-fnmatch.input: Likewise.
46859 * posix/tst-fnmatch2.c: Add new test.
46861 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46863 * elf/Makefile (check-execstack): Revert last change. Depend on
46865 (check-execstack.h): New target.
46866 (generated): Add check-execstack.h.
46867 * elf/check-execstack.c: Include "check-execstack.h".
46868 (main): Revert last change.
46869 (handle_file): Return zero if GNU_STACK is absent and
46870 DEFAULT_STACK_PERMS doesn't include PF_X.
46872 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46874 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46875 in child fails because the descriptor is already closed.
46876 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46877 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46878 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46881 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46885 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46886 temporary buffer used to handle multi lookups locally.
46887 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46889 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46891 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46894 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46896 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46897 alignment for SSE2.
46899 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46902 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46903 characters. When rounding increased number of integer digits recompute
46905 * stdio-common/tst-grouping.c: New file.
46906 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46908 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46910 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46911 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46913 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46915 * bits/select.h: Likewise.
46917 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46919 * po/ja.po: Update from translation team.
46921 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46924 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46925 implementation just like for lxstat, fxstatat, et al.
46927 2010-12-27 Jim Meyering <meyering@redhat.com>
46930 * posix/regexec.c (build_trtable): Return failure indication upon
46931 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46933 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46936 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46937 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46938 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46939 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46942 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46945 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46946 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46948 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46950 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46951 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46952 script has SORT_BY_INIT_PRIORITY.
46953 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46954 NO_CTORS_DTORS_SECTIONS is defined.
46955 * elf/soinit.c: Likewise.
46956 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46957 NO_CTORS_DTORS_SECTIONS is defined.
46958 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46959 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46960 * sysdeps/sh/init-first.c: Likewise.
46961 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46963 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46965 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46966 always use the slow path.
46968 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46970 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46971 similar rule which adds the sysdep directories to the header search in
46972 order to pick up the correct platform stackinfo.h.
46973 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46974 perform test if it is, otherwise return successfully without testing.
46975 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46976 DEFAULT_STACK_PERMS define in stackinfo.h.
46977 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46978 defined in stackinfo.h.
46979 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46980 DEFAULT_STACK_PERMS defined in stackinfo.h.
46981 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46982 * sysdeps/ia64/stackinfo.h: Likewise.
46983 * sysdeps/s390/stackinfo.h: Likewise.
46984 * sysdeps/sh/stackinfo.h: Likewise.
46985 * sysdeps/sparc/stackinfo.h: Likewise.
46986 * sysdeps/x86_64/stackinfo.h: Likewise.
46987 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46988 PF_X for powerpc64. Retain PF_X for powerpc32.
46990 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46992 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46994 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46995 GETDENTS_64BIT_ALIGNED.
46997 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46999 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47001 2010-12-10 Andreas Schwab <schwab@redhat.com>
47003 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47006 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47007 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47009 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47010 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47012 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47015 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47018 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47020 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47022 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47024 * po/it.po: Update from translation team.
47026 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47028 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47031 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47033 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47035 2010-11-24 Andreas Schwab <schwab@redhat.com>
47037 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47039 (gaih_getanswer_slice): Likewise.
47041 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47045 2010-05-31 Petr Baudis <pasky@suse.cz>
47048 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47049 silently even in the chroot mode.
47051 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47053 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47054 last patch a bit. Pretty printing
47056 2010-05-31 Petr Baudis <pasky@suse.cz>
47059 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47060 initialization of skip_initgroups_dyn.
47062 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47064 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47065 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47067 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47069 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47071 2010-11-11 Andreas Schwab <schwab@redhat.com>
47073 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47074 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47075 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47076 ($(objpfx)tst-fnmatch-mem): New rule.
47077 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47078 * posix/tst-fnmatch.c (main): Call mtrace.
47080 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47083 Support Intel processor model 6 and model 0x2c.
47085 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47087 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47090 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47093 * string/test-strncasecmp.c (check_result): New function.
47094 (do_one_test): Use it.
47095 (check1): New function.
47096 (test_main): Use it.
47097 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47098 Support strcasecmp and strncasecmp.
47100 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47103 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47104 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47106 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47108 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47112 * sysdeps/x86_64/multiarch/bzero.S: New file.
47113 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47114 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47115 * sysdeps/x86_64/multiarch/memset.S: New file.
47116 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47118 Set bit_Prefer_SSE_for_memop for Intel processors.
47119 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47121 (index_Prefer_SSE_for_memop): Define.
47122 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47124 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47126 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47127 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47129 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47132 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47133 (__x86_64_raw_data_cache_size_half): Likewise.
47134 (__x86_64_raw_shared_cache_size): Likewise.
47135 (__x86_64_raw_shared_cache_size_half): Likewise.
47137 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47138 (__x86_64_raw_data_cache_size_half): Likewise.
47139 (__x86_64_raw_shared_cache_size): Likewise.
47140 (__x86_64_raw_shared_cache_size_half): Likewise.
47141 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47142 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47143 and __x86_64_raw_shared_cache_size_half. Round
47144 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47145 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47146 to multiple of 256 bytes.
47148 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47151 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47152 of inacessible symlinks. Verify result of symlink before returning it.
47153 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47154 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47156 2010-10-28 Erich Ritz <erichritz@gmail.com>
47158 * math/math.h (isinf): Fix typo in comment.
47160 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47162 * po/da.po: Update from translation team.
47164 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47166 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47167 is added to the list.
47169 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47170 Ulrich Drepper <drepper@gmail.com>
47172 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47173 the global list here. Move code to...
47174 (_dl_add_to_namespace_list): ...here. New function.
47175 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47176 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47177 * elf/dl-load.c (lose): Don't remove the element from the list.
47178 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47179 (_dl_map_object): Likewise.
47181 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47184 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47185 into all bytes of SSE register.
47186 Patch by Richard Li <richardpku@gmail.com>.
47188 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47191 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47194 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47196 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47197 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47198 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47199 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47204 2010-10-22 Andreas Schwab <schwab@redhat.com>
47206 * include/dlfcn.h (__RTLD_SECURE): Define.
47207 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47208 mode & __RTLD_SECURE instead.
47209 (open_path): Rename preloaded parameter to secure.
47210 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47211 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47212 * elf/dl-deps.c (openaux): Likewise.
47213 * elf/rtld.c (struct map_args): Remove is_preloaded.
47214 (map_doit): Don't use it.
47215 (dl_main): Likewise.
47216 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47217 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47219 2010-09-09 Andreas Schwab <schwab@redhat.com>
47221 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47222 (sysd-rules-targets): Remove duplicates.
47223 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47224 rtld-%.$o dependency.
47226 2010-10-18 Andreas Schwab <schwab@redhat.com>
47228 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47229 _dl_map_object do it.
47231 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47233 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47234 fast fma builtins, define the macros in the C99 standard.
47235 (FP_FAST_FMAF): Likewise.
47236 (FP_FAST_FMAL): Likewise.
47237 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47239 * bits/mathdef.h: Update copyright year.
47240 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47242 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47244 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47245 builtins, define the macros in the C99 standard.
47246 (FP_FAST_FMAF): Likewise.
47247 (FP_FAST_FMAL): Likewise.
47248 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47250 (FP_FAST_FMAF): Likewise.
47252 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47255 * math/libm-test.inc (fma_test): Some new testcases.
47256 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47257 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47258 y and infinite z. Do multiplication by C already in long double.
47259 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47261 y and infinite z. Do bitwise or of inexact bit into u.d.
47262 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47263 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47264 * sysdeps/i386/fpu/s_fma.S: Removed.
47265 * sysdeps/i386/fpu/s_fmal.S: Removed.
47267 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47270 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47271 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47272 computation is not scheduled after fetestexcept. Fix value
47273 of minimum denormal long double.
47275 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47278 * math/libm-test.inc (fma_test): Add some more tests.
47279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47282 2010-10-15 Andreas Schwab <schwab@redhat.com>
47284 * scripts/data/localplt-s390-linux-gnu.data: New file.
47285 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47287 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47290 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47291 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47293 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47295 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47297 if one of x and y is very large and the other is subnormal.
47298 * sysdeps/s390/fpu/s_fmaf.c: New file.
47299 * sysdeps/s390/fpu/s_fma.c: New file.
47300 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47301 * sysdeps/powerpc/fpu/s_fma.S: New file.
47302 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47303 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47304 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47306 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47309 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47311 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47312 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47313 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47314 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47315 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47316 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47317 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47319 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47322 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47323 * posix/bug-regex31.input: Add test case.
47325 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47327 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47328 * posix/bug-regex31.input: New file.
47331 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47332 (parse_sub_exp): Fix last change, use postorder.
47334 * posix/bug-regex31.c: New file.
47335 * posix/Makefile: Add rules to build and run bug-regex31.
47337 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47340 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47343 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47344 to have entries in sys_siglist.
47347 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47350 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47353 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47354 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47355 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47356 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47357 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47358 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47359 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47360 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47361 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47362 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47363 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47364 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47365 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47366 * math/ftestexcept.c (fetestexcept): Likewise.
47367 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47368 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47369 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47370 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47371 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47372 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47373 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47375 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47378 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47381 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47383 * string/bug-strstr1.c: New file.
47384 * string/Makefile: Add rules to build and run bug-strstr1.
47386 2010-10-05 Eric Blake <eblake@redhat.com>
47389 * string/str-two-way.h (two_way_long_needle): Always clear memory
47390 when skipping input due to the shift table.
47392 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47395 * malloc/mcheck.c: Handle large requests.
47398 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47399 for strncmp and strncasecmp.
47400 * string/stratcliff.c: Add tests for strcmp and strncmp.
47401 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47403 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47405 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47408 2010-09-30 Andreas Jaeger <aj@suse.de>
47410 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47411 (CGROUP_SUPER_MAGIC): Define.
47412 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47413 Handle btrfs and cgroup file systems.
47414 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47417 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47419 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47420 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47422 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47425 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47426 trying to locate the ELF header.
47428 2010-09-27 Andreas Schwab <schwab@redhat.com>
47431 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47432 Mask out sign-bit copies when constructing f_fsid.
47434 2010-09-24 Petr Baudis <pasky@suse.cz>
47436 * debug/stack_chk_fail_local.c: Add missing licence exception.
47437 * debug/warning-nop.c: Likewise.
47439 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47441 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47442 implementing getdents64 using getdents syscall, set d_type if
47443 __ASSUME_GETDENTS32_D_TYPE.
47445 2010-09-16 Andreas Schwab <schwab@redhat.com>
47447 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47448 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47450 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47453 * posix/unistd.h: Undo change of feature selection for ftruncate from
47456 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47458 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47461 2010-09-20 Andreas Schwab <schwab@redhat.com>
47463 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47465 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47467 2010-09-14 Andreas Schwab <schwab@redhat.com>
47469 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47470 variables after CHECK_SP call.
47471 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47473 2010-09-13 Andreas Schwab <schwab@redhat.com>
47474 Ulrich Drepper <drepper@redhat.com>
47476 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47477 re-relocationg ld.so.
47478 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47479 _dl_init_paths call.
47480 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47483 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47485 * resolv/res_init.c (__res_vinit): Count the default server we added.
47487 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47488 Ulrich Drepper <drepper@redhat.com>
47491 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47492 (____longjmp_chk): Use %ebx for saving value across system call.
47495 2010-09-06 Andreas Schwab <schwab@redhat.com>
47497 * manual/Makefile: Don't mix pattern rules with normal rules.
47499 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47501 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47503 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47504 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47505 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47506 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47507 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47510 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47513 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47514 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47516 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47518 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47519 * sysdeps/x86_64/addmul_1.S: Likewise.
47520 * sysdeps/x86_64/lshift.S: Likewise.
47521 * sysdeps/x86_64/mul_1.S: Likewise.
47522 * sysdeps/x86_64/rshift.S: Likewise.
47523 * sysdeps/x86_64/sub_n.S: Likewise.
47524 * sysdeps/x86_64/submul_1.S: Likewise.
47526 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47528 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47529 Define __sched_param instead of SCHED_* and sched_param when
47530 <bits/sched.h> is included with __need_schedparam defined.
47531 * bits/sched.h [__need_schedparam]
47532 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47533 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47534 (__defined_schedparam): Define to 1.
47535 (__sched_param): New structure, identical to sched_param.
47536 (__need_schedparam): Undefine.
47538 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47540 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47541 (epoll_create1): Declare.
47543 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47545 2010-08-31 Andreas Schwab <schwab@redhat.com>
47548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47549 shifting retval into place.
47551 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47553 * nis/rpcsvc/nis.h: Update copyright notice.
47554 * nis/rpcsvc/nis.x: Likewise.
47555 * nis/rpcsvc/nis_callback.h: Likewise.
47556 * nis/rpcsvc/nis_callback.x: Likewise.
47557 * nis/rpcsvc/nis_object.x: Likewise.
47558 * nis/rpcsvc/nis_tags.h: Likewise.
47559 * nis/rpcsvc/yp.h: Likewise.
47560 * nis/rpcsvc/yp.x: Likewise.
47561 * nis/rpcsvc/ypupd.h: Likewise.
47562 * nis/yp_xdr.c: Likewise.
47563 * nis/ypupdate_xdr.c: Likewise.
47565 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47566 mainly the body of pmap_getport. Add parameters to specify timeouts.
47567 (pmap_getport): Use __libc_rpc_getport.
47568 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47569 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47570 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47572 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47577 2010-08-27 Roland McGrath <roland@redhat.com>
47579 * sysdeps/i386/i686/multiarch/Makefile
47580 (CFLAGS-varshift.c): New variable.
47582 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47584 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47585 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47587 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47589 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47591 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47593 * sysdeps/x86_64/strlen.S: Unroll the loop.
47594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47595 strlen-sse2 strlen-sse2-bsf.
47596 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47597 __strlen_no_bsf if bit_Slow_BSF is set.
47598 (__strlen_sse42): Removed.
47599 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47600 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47602 2010-08-25 Roland McGrath <roland@redhat.com>
47604 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47605 * sysdeps/x86_64/multiarch/varshift.c: New file.
47606 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47607 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47608 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47609 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47611 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47613 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47614 strlen-sse2 strlen-sse2-bsf.
47615 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47616 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47617 (__strlen_sse2): Removed.
47618 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47619 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47621 bit_Slow_BSF for Atom.
47622 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47623 (index_Slow_BSF): Define.
47624 (HAS_SLOW_BSF): Define.
47626 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47629 * resolv/res_init.c (__res_vinit): When no server address at all
47630 is given default to loopback.
47632 2010-08-24 Roland McGrath <roland@redhat.com>
47634 * configure.in: Remove config-name.h generation.
47635 * configure: Regenerated.
47636 * config-name.in: File removed.
47637 * scripts/config-uname.sh: New file.
47638 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47639 ($(objdir)config-name.h): New target.
47641 * sunrpc/rpc_parse.h: Avoid nested comment.
47643 2010-08-24 Richard Henderson <rth@redhat.com>
47644 Ulrich Drepper <drepper@redhat.com>
47645 H.J. Lu <hongjiu.lu@intel.com>
47647 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47649 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47650 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47651 _mm_alignr_epi8 with _mm_loadu_si128.
47652 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47653 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47654 (__m128i_shift_right): Removed.
47655 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47656 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47657 * sysdeps/x86_64/multiarch/varshift.h: New file.
47658 * sysdeps/x86_64/multiarch/varshift.S: New file.
47660 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47662 * configure.in: Move assembler checks to before sysdep dir checking.
47664 2010-08-20 Petr Baudis <pasky@suse.cz>
47666 * LICENSES: Sync the sunrpc license.
47668 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47670 * sunrpc/auth_des.c: Update copyright notice once again.
47671 * sunrpc/auth_none.c: Likewise.
47672 * sunrpc/auth_unix.c: Likewise.
47673 * sunrpc/authdes_prot.c: Likewise.
47674 * sunrpc/authuxprot.c: Likewise.
47675 * sunrpc/bindrsvprt.c: Likewise.
47676 * sunrpc/clnt_gen.c: Likewise.
47677 * sunrpc/clnt_perr.c: Likewise.
47678 * sunrpc/clnt_raw.c: Likewise.
47679 * sunrpc/clnt_simp.c: Likewise.
47680 * sunrpc/clnt_tcp.c: Likewise.
47681 * sunrpc/clnt_udp.c: Likewise.
47682 * sunrpc/clnt_unix.c: Likewise.
47683 * sunrpc/des_crypt.c: Likewise.
47684 * sunrpc/des_soft.c: Likewise.
47685 * sunrpc/get_myaddr.c: Likewise.
47686 * sunrpc/getrpcport.c: Likewise.
47687 * sunrpc/key_call.c: Likewise.
47688 * sunrpc/key_prot.c: Likewise.
47689 * sunrpc/openchild.c: Likewise.
47690 * sunrpc/pm_getmaps.c: Likewise.
47691 * sunrpc/pm_getport.c: Likewise.
47692 * sunrpc/pmap_clnt.c: Likewise.
47693 * sunrpc/pmap_prot.c: Likewise.
47694 * sunrpc/pmap_prot2.c: Likewise.
47695 * sunrpc/pmap_rmt.c: Likewise.
47696 * sunrpc/rpc/auth.h: Likewise.
47697 * sunrpc/rpc/auth_unix.h: Likewise.
47698 * sunrpc/rpc/clnt.h: Likewise.
47699 * sunrpc/rpc/des_crypt.h: Likewise.
47700 * sunrpc/rpc/key_prot.h: Likewise.
47701 * sunrpc/rpc/netdb.h: Likewise.
47702 * sunrpc/rpc/pmap_clnt.h: Likewise.
47703 * sunrpc/rpc/pmap_prot.h: Likewise.
47704 * sunrpc/rpc/pmap_rmt.h: Likewise.
47705 * sunrpc/rpc/rpc.h: Likewise.
47706 * sunrpc/rpc/rpc_des.h: Likewise.
47707 * sunrpc/rpc/rpc_msg.h: Likewise.
47708 * sunrpc/rpc/svc.h: Likewise.
47709 * sunrpc/rpc/svc_auth.h: Likewise.
47710 * sunrpc/rpc/types.h: Likewise.
47711 * sunrpc/rpc/xdr.h: Likewise.
47712 * sunrpc/rpc_clntout.c: Likewise.
47713 * sunrpc/rpc_cmsg.c: Likewise.
47714 * sunrpc/rpc_common.c: Likewise.
47715 * sunrpc/rpc_cout.c: Likewise.
47716 * sunrpc/rpc_dtable.c: Likewise.
47717 * sunrpc/rpc_hout.c: Likewise.
47718 * sunrpc/rpc_main.c: Likewise.
47719 * sunrpc/rpc_parse.c: Likewise.
47720 * sunrpc/rpc_parse.h: Likewise.
47721 * sunrpc/rpc_prot.c: Likewise.
47722 * sunrpc/rpc_sample.c: Likewise.
47723 * sunrpc/rpc_scan.c: Likewise.
47724 * sunrpc/rpc_scan.h: Likewise.
47725 * sunrpc/rpc_svcout.c: Likewise.
47726 * sunrpc/rpc_tblout.c: Likewise.
47727 * sunrpc/rpc_util.c: Likewise.
47728 * sunrpc/rpc_util.h: Likewise.
47729 * sunrpc/rpcinfo.c: Likewise.
47730 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47731 * sunrpc/rpcsvc/key_prot.x: Likewise.
47732 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47733 * sunrpc/rpcsvc/mount.x: Likewise.
47734 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47735 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47736 * sunrpc/rpcsvc/rex.x: Likewise.
47737 * sunrpc/rpcsvc/rstat.x: Likewise.
47738 * sunrpc/rpcsvc/rusers.x: Likewise.
47739 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47740 * sunrpc/rpcsvc/spray.x: Likewise.
47741 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47742 * sunrpc/rtime.c: Likewise.
47743 * sunrpc/svc.c: Likewise.
47744 * sunrpc/svc_auth.c: Likewise.
47745 * sunrpc/svc_authux.c: Likewise.
47746 * sunrpc/svc_raw.c: Likewise.
47747 * sunrpc/svc_run.c: Likewise.
47748 * sunrpc/svc_simple.c: Likewise.
47749 * sunrpc/svc_tcp.c: Likewise.
47750 * sunrpc/svc_udp.c: Likewise.
47751 * sunrpc/svc_unix.c: Likewise.
47752 * sunrpc/svcauth_des.c: Likewise.
47753 * sunrpc/xcrypt.c: Likewise.
47754 * sunrpc/xdr.c: Likewise.
47755 * sunrpc/xdr_array.c: Likewise.
47756 * sunrpc/xdr_float.c: Likewise.
47757 * sunrpc/xdr_mem.c: Likewise.
47758 * sunrpc/xdr_rec.c: Likewise.
47759 * sunrpc/xdr_ref.c: Likewise.
47760 * sunrpc/xdr_sizeof.c: Likewise.
47761 * sunrpc/xdr_stdio.c: Likewise.
47763 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47766 2010-08-19 Andreas Schwab <schwab@redhat.com>
47768 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47770 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47772 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47773 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47774 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47775 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47776 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47777 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47778 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47779 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47780 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47781 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47782 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47783 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47784 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47785 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47787 2010-07-26 Anton Blanchard <anton@samba.org>
47789 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47790 * malloc/arena.c (heap_trim): Likewise.
47792 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47794 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47797 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47799 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47801 * sysdeps/i386/elf/Makefile: New file.
47803 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47805 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47806 from fanotify_init.
47807 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47808 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47810 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47812 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47814 * sysdeps/multiarch/strcmp.S: Likewise.
47816 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47818 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47819 strncase_l-nonascii.
47820 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47821 Add strncase_l-ssse3.
47822 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47823 * sysdeps/x86_64/strcmp.S: Likewise.
47824 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47825 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47826 * sysdeps/x86_64/strncase.S: New file.
47827 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47828 * sysdeps/x86_64/strncase_l.S: New file.
47829 * string/Makefile (strop-tests): Add strncasecmp.
47830 * string/test-strncasecmp.c: New file.
47832 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47835 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47836 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47838 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47840 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47842 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47844 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47845 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47846 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47848 2010-05-01 Alan Modra <amodra@gmail.com>
47850 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47851 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47852 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47853 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47854 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47855 tidying. Don't tail-call __sigjmp_save for static lib.
47856 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47858 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47859 (CALL_MCOUNT): Add eh info, and nop after bl.
47860 (TAIL_CALL_SYSCALL_ERROR): New macro.
47861 (PSEUDO_RET): Use it.
47862 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47863 Correct save location of integer regs and cr.
47864 (_dl_profile_resolve): Correct cr save location. Delete nops
47865 after bl when SHARED. Reduce cfi size a little by better
47866 placement of cfi directives.
47867 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47868 make a stack frame. Instead use parm save area as a temp.
47869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47870 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47872 Don't make a stack frame for parent, use parm save area.
47873 Increase child stack frame to 112 bytes. Don't save unused reg,
47874 and adjust reg usage. Set up cfi on error recovery and
47875 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47877 (__makecontext): Add dummy nop after jump to exit.
47878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47879 Use correct parm save area and cr save, reduce stack frame.
47880 Correct cfi for possible PSEUDO_RET frame setup.
47881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47882 Branch to local label emitted by PSEUDO_RET rather than
47885 2010-08-12 Andreas Schwab <schwab@redhat.com>
47888 * locale/programs/locale.c (print_assignment): New function.
47889 (show_locale_vars): Use it.
47891 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47893 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47895 (struct statfs64): Likewise.
47896 (_STATFS_F_FLAGS): Define.
47897 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47898 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47899 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47900 (ST_VALID): Define locally.
47901 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47902 __statvfs_getflags, use the provided value.
47903 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47904 __ASSUME_STATFS_F_FLAGS.
47906 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47908 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47909 Add sys/fanotify.h.
47910 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47911 fanotify_mask for GLIBC_2.13.
47912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47913 fanotify_init and fanotify_mark.
47914 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47915 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47917 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47919 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47920 prlimit64 for GLIBC_2.13.
47921 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47923 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47926 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47927 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47928 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47929 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47931 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47934 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47935 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47937 * nss/Makefile: Add rules to build and run tst-nss-test1.
47938 * shlib-versions: Add entry for libnss_test1.
47939 * nss/nss_test1.c: New file.
47940 * nss/tst-nss-test1.c: New file.
47942 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47943 (__nss_configure_lookup): Set appropriate entry in
47944 __nss_configure_lookup to true.
47945 * nss/nsswitch.h: Define enum with indeces of databases in
47946 databases and __nss_database_custom arrays. Declare
47947 __nss_database_custom.
47948 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47949 to avoid using nscd when custom rules are installed.
47950 * nss/getXXbyYY_r.c: Likewise.
47951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47953 * nss/nss_files/files-parse.c: Whitespace fixes.
47955 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47958 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47959 * posix/fnmatch_loop.c: Likewise.
47961 2010-07-17 Andi Kleen <ak@linux.intel.com>
47963 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47964 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47965 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47966 * Versions.def [GLIBC_2.13]: Add.
47968 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47970 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47971 Also fail if tpwd after pwuid call is NULL.
47973 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47975 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47976 when converting to ms.
47978 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47980 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47981 EOPNOTSUPP errors with ENOTTY.
47982 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47983 EOPNOTSUPP errors with ENOTTY.
47985 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47987 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47988 Add strcasecmp_l-ssse3.
47989 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47991 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47992 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47993 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47995 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47997 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47999 * string/Makefile (strop-tests): Add strcasecmp.
48000 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48001 strcasecmp_l-nonascii.
48002 (gen-as-const-headers): Add locale-defines.sym.
48003 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48004 * sysdeps/x86_64/strcasecmp.S: New file.
48005 * sysdeps/x86_64/strcasecmp_l.S: New file.
48006 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48007 * sysdeps/x86_64/locale-defines.sym: New file.
48008 * string/test-strcasecmp.c: New file.
48010 * string/test-strcasestr.c: Test both ends of the range of characters.
48011 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48013 2010-07-29 Roland McGrath <roland@redhat.com>
48016 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48018 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48020 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48023 2010-07-27 Andreas Schwab <schwab@redhat.com>
48025 * manual/memory.texi (Malloc Tunable Parameters): Document
48028 2010-07-26 Roland McGrath <roland@redhat.com>
48031 * configure.in (-fgnu89-inline check): Set and substitute
48032 gnu89_inline, not libc_cv_gnu89_inline.
48033 * configure: Regenerated.
48034 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48036 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48038 * string/test-strnlen.c: New file.
48039 * string/Makefile (strop-tests): Add strnlen.
48040 * string/tester.c (test_strnlen): Add a few more test cases.
48041 * string/tst-strlen.c: Better error reporting.
48043 * sysdeps/x86_64/strnlen.S: New file.
48045 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48047 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48048 lower-latency instructions.
48050 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48052 * string/test-strcasestr.c: New file.
48053 * string/test-strstr.c: New file.
48054 * string/Makefile (strop-tests): Add strstr and strcasestr.
48055 * string/str-two-way.h: Don't undefine MAX.
48056 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48058 2010-07-21 Andreas Schwab <schwab@redhat.com>
48060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48061 strcasestr-nonascii.
48062 (CFLAGS-strcasestr-nonascii.c): Define.
48063 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48064 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48065 Remove unused attribute.
48067 2010-07-20 Roland McGrath <roland@redhat.com>
48069 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48070 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48071 ld.so.cache was broken. With it, there is no way to disable dsocaps
48072 like LD_HWCAP_MASK can disable hwcaps.
48074 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48076 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48078 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48080 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48081 call in strcasestr.
48082 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48083 __strcasestr_sse42_nonascii.
48084 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48085 strcasestr-nonascii.c.
48086 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48088 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48090 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48091 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48092 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48093 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48095 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48097 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48100 2010-07-06 Andreas Schwab <schwab@redhat.com>
48103 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48106 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48108 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48109 _PC_PIPE_BUF using F_GETPIPE_SZ.
48111 2010-07-05 Roland McGrath <roland@redhat.com>
48113 * manual/arith.texi (Rounding Functions): Fix rint description
48114 implicit in round description.
48116 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48118 * elf/Makefile: Fix linking for a few tests to make recent linker
48121 2010-06-30 Andreas Schwab <schwab@redhat.com>
48123 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48124 $(common-objpfx)libc_nonshared.a.
48126 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48128 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48129 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48130 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48131 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48132 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48133 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48134 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48135 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48150 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48151 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48152 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48153 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48154 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48155 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48156 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48157 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48158 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48159 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48160 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48161 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48177 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48179 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48180 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48181 * string/memmove.c (memmove): Renamed to ...
48182 (MEMMOVE): ...this. Default to memmove.
48183 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48184 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48187 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48188 mempcpy-ssse3-back memmove-ssse3-back.
48189 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48190 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48191 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48192 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48193 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48194 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48195 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48196 * sysdeps/x86_64/multiarch/memmove.c: New file.
48197 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48198 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48199 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48200 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48201 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48202 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48204 (index_Fast_Copy_Backward): Define.
48205 (HAS_ARCH_FEATURE): Define.
48206 (HAS_FAST_REP_STRING): Define.
48207 (HAS_FAST_COPY_BACKWARD): Define.
48209 2010-06-21 Andreas Schwab <schwab@redhat.com>
48211 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48212 Restore proper fallback handling.
48214 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48217 * posix/group_member.c (__group_member): Correct checking loop.
48219 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48220 OOM in getpwuid_r correctly. Return error number when the caller
48221 should return, otherwise -1.
48222 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48223 call returning > 0 value.
48224 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48226 2010-06-07 Andreas Schwab <schwab@redhat.com>
48228 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48229 libc_nonshared.a from targets in modules-names.
48231 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48233 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48236 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48238 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48239 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48240 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48241 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48243 2010-06-02 Andreas Schwab <schwab@redhat.com>
48245 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48247 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48249 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48251 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48252 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48253 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48255 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48256 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48258 2010-06-14 Roland McGrath <roland@redhat.com>
48260 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48262 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48264 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48265 __REDIRECT followed by __THROW.
48266 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48267 * posix/getopt.h (getopt): Likewise.
48269 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48271 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48272 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48273 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48275 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48276 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48278 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48280 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48282 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48286 Properly check family and model.
48288 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48290 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48292 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48294 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48296 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48298 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48301 2010-05-19 Andreas Schwab <schwab@redhat.com>
48303 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48306 2010-05-21 Andreas Schwab <schwab@redhat.com>
48308 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48309 and internal_recvmmsg.
48310 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48311 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48312 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48313 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48315 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48316 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48317 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48319 2010-05-20 Andreas Schwab <schwab@redhat.com>
48321 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48323 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48325 POWER7 optimizations.
48326 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48327 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48329 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48331 * version.h: Update for 2.13 development version.
48333 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48335 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48336 exceptions. Return 0.
48338 2010-05-07 Roland McGrath <roland@redhat.com>
48340 * elf/ldconfig.c (main): Add a const.
48342 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48344 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48345 (args_options): Add no-idn option.
48346 (ahosts_keys_int): Add idn_flags to ai_flags.
48347 (parse_option): Handle 'i' option to clear idn_flags.
48349 * malloc/malloc.c (_int_free): Possible race in the most recently
48350 added check. Only act on the data if no current modification
48353 See ChangeLog.17 for earlier changes.